Skip to content

Conversation

lverdoes
Copy link

@lverdoes lverdoes commented May 3, 2023

This PR introduces auto detection for hive_partitioning.

If the provided files appear to have the same schema and match a hive structure eg: '/year=x/month=y/file.parquet', then the hive_partitioning flag will be enabled automatically for that query.

Setting hive_partitioning= manually will turn off auto detection.

@samansmink

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.

Thanks for the PR @lverdoes, looks very cool! I added a few comments

@Mytherin Mytherin merged commit 94cc6fa into duckdb:master May 5, 2023
@Mytherin
Copy link
Collaborator

Mytherin commented May 5, 2023

Thanks for the PR! LGTM

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.

3 participants