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

Rename ColumnOptions to ParquetColumnOptions #11512

Merged
merged 4 commits into from
Jul 29, 2024

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Jul 17, 2024

Which issue does this PR close?

Part of #11367

Rationale for this change

While reviewing #11444 from @wiedld I was somewhat confused about ColumnOptions were and that they were parquet specific

What changes are included in this PR?

  1. Rename ColumnOptions to ParquetColumnOptions rust structs
  2. Rename the relevant proto fields too

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Jul 17, 2024
@alamb alamb marked this pull request as ready for review July 17, 2024 16:38
@alamb
Copy link
Contributor Author

alamb commented Jul 17, 2024

@metesynnada or @metegenez I wonder if you have any thoughts about this change

@metegenez
Copy link
Contributor

I dont see an issue here, ColumnOptions only belong to Parquet anyway. It is a good clarification.

@@ -1552,7 +1552,7 @@ config_namespace_with_hashmap! {
/// Options controlling parquet format for individual columns.
///
/// See [`ParquetOptions`] for more details
pub struct ColumnOptions {
pub struct ParquetColumnOptions {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could additionally (later) move the Parquet functionality to Parquet-related modules/files.
Perhaps just for organizational purposes.

@alamb alamb added the api change Changes the API exposed to users of the crate label Jul 29, 2024
@alamb
Copy link
Contributor Author

alamb commented Jul 29, 2024

Thanks @findepi and @jonahgao and @metegenez

@alamb alamb merged commit c50fd88 into apache:main Jul 29, 2024
24 checks passed
@alamb alamb deleted the alamb/rename_options branch July 29, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change Changes the API exposed to users of the crate sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants