multiReader := io.MultiReader(mReader)
for {
buf := make([]byte, 1024)
n, err := multiReader.Read(buf)
if err != nil {
if err == io.EOF {
break
}
return nil, err
}
pr, err := pr.NewParquetReader(buf, new(ProcLog), 4)
if err != nil {
return nil, err
}
fmt.Println(string(buf[:n]))
}
now wants to convert only one chunk to string from parquet format.
like converting parquet data in buffer to string or a struct
Any help is highly appreciated .
using multi Reader to read the file in chunks
now wants to convert only one chunk to string from parquet format. like converting parquet data in buffer to string or a struct Any help is highly appreciated .