Skip to content

Conversation

Mytherin
Copy link
Collaborator

Fixes #9763
Fixes #11636

Previously the hive auto-type detection would only look at the first file, which provided inconsistent behavior. We now look at all files and merge the types during auto-detection, falling back to VARCHAR if the types cannot be merged.

@Mytherin Mytherin requested review from samansmink and hawkfish and removed request for hawkfish April 16, 2024 12:58
Copy link
Contributor

@samansmink samansmink left a comment

Choose a reason for hiding this comment

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

LGTM

@Mytherin Mytherin merged commit 1253581 into duckdb:main Apr 16, 2024
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Apr 16, 2024
Merge pull request duckdb/duckdb#11676 from Mytherin/hivetypesautocast
@Mytherin Mytherin deleted the hivetypesautocast branch June 7, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression with inferring data type of partitions Error when a parquet partition key contains numbers and alphabetics characters
2 participants