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

[Spark] Fall back to zordering when clustering on a single column #3109

Merged
merged 1 commit into from
May 17, 2024

Conversation

zedtang
Copy link
Collaborator

@zedtang zedtang commented May 17, 2024

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

Fall back to zorder when clustering on a single column, because hilbert clustering doesn't support 1 column.

Resolves #3087

How was this patch tested?

New unit test.

Does this PR introduce any user-facing changes?

No.

@zedtang zedtang self-assigned this May 17, 2024
@zedtang zedtang changed the title [Spark] Fall back to sorting when clustering on a single column [Spark] Fall back to zordering when clustering on a single column May 17, 2024
@vkorukanti vkorukanti merged commit e15132b into delta-io:master May 17, 2024
9 of 10 checks passed
@zedtang zedtang deleted the use-single-column-sort branch May 17, 2024 15:15
zedtang added a commit to zedtang/delta that referenced this pull request May 20, 2024
…lta-io#3109)

## Description
Fall back to zorder when clustering on a single column, because hilbert
clustering doesn't support 1 column.

Resolves delta-io#3087 

## How was this patch tested?
New unit test.
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.

[BUG]Optimize command fails when using liquid clustering on local Delta Lake & PySpark
3 participants