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

Parquet: update PruneColumns to inherit from TypeWithSchemaVisitor to have Iceberg type #11179

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aihuaxu
Copy link

@aihuaxu aihuaxu commented Sep 20, 2024

Currently PruneColumns inherits from ParquetTypeVisitor which will only pass Parquet types. Later when we add the support for Variant type, we need to know the column is a Variant type during column pruning. Before logical Variant type is added to Parquet, we can change to inherit from TypeWithSchemaVisitor to have the Iceberg type. #11178

Existing tests in TestPruneColumns should provide the test coverage so no tests are added.

@aihuaxu
Copy link
Author

aihuaxu commented Sep 20, 2024

cc @rdblue and @RussellSpitzer

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

Successfully merging this pull request may close these issues.

1 participant