Skip to content
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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

livinlefevreloca
Copy link
Owner

No description provided.


// 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 {
Copy link
Owner Author

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.
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant