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

[Feature Request] In-place migration from unpartitioned table to clustered table #2460

Closed
2 of 8 tasks
zedtang opened this issue Jan 9, 2024 · 0 comments · Fixed by #3174
Closed
2 of 8 tasks

[Feature Request] In-place migration from unpartitioned table to clustered table #2460

zedtang opened this issue Jan 9, 2024 · 0 comments · Fixed by #3174
Labels
enhancement New feature or request

Comments

@zedtang
Copy link
Collaborator

zedtang commented Jan 9, 2024

Feature request

Which Delta project/connector is this regarding?

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

Overview

Uber issue: #1874

We should allow in-place migration from unpartitioned table to clustered table. We can use ALTER TABLE CLUSTER BY to achieve this.

Motivation

This is a highly desired feature that will help users migrate their existing unpartitioned table.

Willingness to contribute

The Delta Lake Community encourages new feature contributions. Would you or another member of your organization be willing to contribute an implementation of this feature?

  • Yes. I can contribute this feature independently.
  • Yes. I would be willing to contribute this feature with guidance from the Delta Lake community.
  • No. I cannot contribute this feature at this time.
@zedtang zedtang added the enhancement New feature or request label Jan 9, 2024
vkorukanti pushed a commit that referenced this issue May 31, 2024
…red table (#3174)

## Description
Support in-place migration from unpartitioned table to clustered table.
If the table is an unpartitioned table and users run `ALTER TABLE
CLUSTER BY` on it, it will now create a clustered table with
ClusteringMetadataDomain.

Resolves #2460 

## How was this patch tested?
New UTs.
richardc-db pushed a commit to richardc-db/delta that referenced this issue Jun 5, 2024
…red table (delta-io#3174)

## Description
Support in-place migration from unpartitioned table to clustered table.
If the table is an unpartitioned table and users run `ALTER TABLE
CLUSTER BY` on it, it will now create a clustered table with
ClusteringMetadataDomain.

Resolves delta-io#2460 

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

Successfully merging a pull request may close this issue.

1 participant