-
Notifications
You must be signed in to change notification settings - Fork 837
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
Improve ParquetRecordBatchStreamBuilder
docs / examples
#6948
base: main
Are you sure you want to change the base?
Conversation
//! ); | ||
//! # } | ||
//! ``` | ||
//! See example on [`ParquetRecordBatchStreamBuilder`] |
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.
moved examples to ParquetRecordBatchStreamBuilder
/// assert_batches_eq( | ||
/// &results, | ||
/// &[ | ||
/// "+----+----------+-------------+--------------+---------+------------+-----------+------------+------------------+------------+---------------------+", |
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.
made the first example select all columns to make it simpler to understand
/// | ||
/// ``` | ||
/// # use std::fs::metadata; |
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 existing example is less compelling in my mind than what was on the module level docs so I remove the current one)
/// # } | ||
/// ``` | ||
/// | ||
/// # Example configuring options and reading metadata |
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.
Made a more advanced example with projection pushdown
Which issue does this PR close?
ParquetRecordBatchStream
buffering #6947Rationale for this change
While working on the code I found:
What changes are included in this PR?
ParquetRecordBatchStreamBuilder::new
Are there any user-facing changes?
Docs only, no functional chagne