Skip to content

[spark] Support catalog-qualified CREATE TABLE LIKE#7924

Open
kerwin-zk wants to merge 1 commit into
apache:masterfrom
kerwin-zk:support-catalog-qualified-create-table-like
Open

[spark] Support catalog-qualified CREATE TABLE LIKE#7924
kerwin-zk wants to merge 1 commit into
apache:masterfrom
kerwin-zk:support-catalog-qualified-create-table-like

Conversation

@kerwin-zk
Copy link
Copy Markdown
Contributor

@kerwin-zk kerwin-zk commented May 21, 2026

Purpose

This allows CREATE TABLE LIKE to resolve source and target tables through Paimon catalogs when either side uses a catalog-qualified identifier.

Examples:

-- target and source are both catalog-qualified
CREATE TABLE paimon.default.target_tbl LIKE paimon.default.source_tbl;

-- only the target table is catalog-qualified
CREATE TABLE paimon.default.target_tbl LIKE source_tbl;

-- only the source table is catalog-qualified
CREATE TABLE target_tbl LIKE paimon.default.source_tbl;

Tests

CI

@kerwin-zk kerwin-zk force-pushed the support-catalog-qualified-create-table-like branch 4 times, most recently from 9f4aed2 to bb1121e Compare May 21, 2026 11:46
@kerwin-zk kerwin-zk force-pushed the support-catalog-qualified-create-table-like branch from eceaf35 to d0202fe Compare May 21, 2026 13:23
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.

1 participant