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

Allow providing file schema for parquet files #7067

Open
metesynnada opened this issue Jul 24, 2023 · 1 comment
Open

Allow providing file schema for parquet files #7067

metesynnada opened this issue Jul 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@metesynnada
Copy link
Contributor

Is your feature request related to a problem or challenge?

Currently, manually specifying the schema for a Parquet file will error. There is no particular reason for this, we may allow schema providing for parquet files as well.

This is a blocker for the #7036.

Describe the solution you'd like

  • Add schema field in ParquetReadOptions
  • Remove the error message.
  • Add tests when a schema is provided.

Describe alternatives you've considered

NA

Additional context

NA

@metesynnada metesynnada added the enhancement New feature or request label Jul 24, 2023
@alamb
Copy link
Contributor

alamb commented Jul 30, 2023

Another usecase for manually defining a parquet file's schema is to provide constraints like PRIMARY KEY which are not encoded in the parquet file itself

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

No branches or pull requests

2 participants