-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add support for decoding back to parquet #1
base: main
Are you sure you want to change the base?
Conversation
|
||
// If the tuple length is 0xffff we have reached the end of the | ||
// snapshot and we can break the loop and finish the batch. | ||
if tuple_len == 0xffff { |
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.
Add comment explaining this cannot get a false positive since we will never bee mid tuple when we run the code to read the tuple length
// decoder specfied via the schema. | ||
for decoder in self.decoders.iter_mut() { | ||
// If local_buf has been fully consumed and we have not read any rows, | ||
// return a BatchDecodeResult::Incomplete. |
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.
Add comment expaining this is possible if we are mid tuple and we happen to run out of data exactly on the column boundry
No description provided.