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] Support SHALLOW CLONVERT on Iceberg Tables #1516

Closed
1 of 3 tasks
jackierwzhang opened this issue Dec 8, 2022 · 1 comment
Closed
1 of 3 tasks

[Feature Request] Support SHALLOW CLONVERT on Iceberg Tables #1516

jackierwzhang opened this issue Dec 8, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@jackierwzhang
Copy link
Contributor

jackierwzhang commented Dec 8, 2022

Feature request

Overview

As a followup to the SHALLOW CLONE support for Delta Lake, it would be great if we could enable SHALLOW CLONE on an Iceberg table as well. This will be a CLONVERT (CLONE + CONVERT) operation, in which we will create a Delta catalog table with files pointing to the original Iceberg table in one transaction.

Motivation

  1. It allows users to quickly experiment with Delta Lake without modifying the original Iceberg table's data.
  2. It simplifies the user flow by combining a Delta catalog table creation with an Iceberg conversion.

Further details

Similar to SHALLOW CLONE, it will work as follows:

  1. Clone a Iceberg catalog table (after the setup here)
CREATE TABLE [IF NOT EXISTS] delta SHALLOW CLONE iceberg.db.table [TBLPROPERTIES clause] [LOCATION path]
  1. Clone a path-based Iceberg table
CREATE TABLE [IF NOT EXISTS] delta SHALLOW CLONE iceberg.`/path/to/iceberg/table`[TBLPROPERTIES clause] [LOCATION path]

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.
@jackierwzhang jackierwzhang added the enhancement New feature or request label Dec 8, 2022
@allisonport-db
Copy link
Collaborator

Closed by #1522

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

No branches or pull requests

2 participants