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

Use File Format quote when inferring the schema for CSVFormat #5729

Open
joao-p-pereira opened this issue May 6, 2024 · 0 comments
Open
Labels
enhancement Any new improvement worthy of a entry in the changelog help wanted

Comments

@joao-p-pereira
Copy link

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

When using ListingOptions to infer the schema of a ListingTableUrl the result schema does not take into account the quote defined in the format.
This will make all the schema columns that have the quote present to be inferred as utf8.

Describe the solution you'd like

Infer_schema should take into account the file format quote when inferring the schemas, so the inferred type can be the more specific possible.

Describe alternatives you've considered

Additional context

@joao-p-pereira joao-p-pereira added the enhancement Any new improvement worthy of a entry in the changelog label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new improvement worthy of a entry in the changelog help wanted
Projects
None yet
Development

No branches or pull requests

2 participants