-
Notifications
You must be signed in to change notification settings - Fork 915
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
Cleanup Parquet chunked writer #13094
Cleanup Parquet chunked writer #13094
Conversation
Compression compression_ = Compression::UNCOMPRESSED; | ||
size_t max_row_group_size = default_row_group_size_bytes; | ||
size_type max_row_group_rows = default_row_group_size_rows; | ||
size_t max_page_size_bytes = default_max_page_size_bytes; | ||
size_type max_page_size_rows = default_max_page_size_rows; | ||
statistics_freq stats_granularity_ = statistics_freq::STATISTICS_NONE; | ||
dictionary_policy dict_policy_ = dictionary_policy::ALWAYS; | ||
size_t max_dictionary_size_ = default_max_dictionary_size; | ||
bool int96_timestamps = false; | ||
int32_t column_index_truncate_length = default_column_index_truncate_length; |
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.
are these defaults defined again in writer options?
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.
These variables are assigned from outside options passed in by user, and never changed after the writer was constructed. Thus we don't need such default values here. These default values are used for writer options construction.
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.
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.
LGTM 👍
/merge |
Similar to #13091, this changes the internal variables of Parquet chunked writer:
_
prefix consistently.const
qualifier to some variables that are writer parameters.There is not any new implementation added. However, the unused parameter
mr
is removed from its interface thus this is flagged as breaking changes.Closes:
cudf::io::detail::parquet::writer::impl
#13079