-
Notifications
You must be signed in to change notification settings - Fork 40
feat: add avro reader to registry #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General LGTM
using Data = | ||
std::variant<std::monostate, ArrowArray, std::reference_wrapper<const StructLike>>; | ||
virtual Result<Data> Next() = 0; | ||
/// \return std::nullopt if the reader has no more data, otherwise `ArrowArray`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: can ArrowArray be empty? Does empty array means ending? Or it can have data left?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The contract of ArrowArray
is that data can be empty but it does not mean the end of file.
Uh oh!
There was an error while loading. Please reload this page.