Fix to avro reader

This commit is contained in:
Aditya Ujeniya
2025-10-27 20:44:40 +01:00
parent 856ccbb969
commit 44e98e8f2f
5 changed files with 73 additions and 7 deletions

View File

@@ -10,7 +10,6 @@ import (
"context"
"encoding/json"
"errors"
"fmt"
"os"
"os/signal"
"runtime"
@@ -387,8 +386,6 @@ func (m *MemoryStore) Read(selector util.Selector, metric string, from, to, reso
n, data := 0, make([]schema.Float, (to-from)/minfo.Frequency+1)
fmt.Printf("Requested From : %d, To: %d\n", from, to)
err := m.root.findBuffers(selector, minfo.offset, func(b *buffer) error {
cdata, cfrom, cto, err := b.read(from, to, data)
if err != nil {