h928725721 commented on issue #14237: URL: https://github.com/apache/arrow/issues/14237#issuecomment-1272950604
> For ArrowStreamReader, you must call `loadNextBatch` to load the next chunk of data into the VectorSchemaRoot before using the root. I don't see that in your screenshot. You must do this in a loop, processing the chunk of data, until `loadNextBatch` returns `false`. See the API docs: https://arrow.apache.org/docs/java/reference/index.html > > Also see this example: https://arrow.apache.org/cookbook/java/io.html#id4 Thank you very much,You solved my problem -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
