Skip to content

Conversation

@CTTY
Copy link
Collaborator

@CTTY CTTY commented Dec 30, 2025

Which issue does this PR close?

What changes are included in this PR?

  • Implement register_table in IcebergSchemaProvider
  • Added a new slt: create_table.slt
  • Updated existing slts

Note: This does NOT cover the syntax CREATE TABLE ... AS VALUES

Are these changes tested?

Yes

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @CTTY for this pr, I think we also should create a tracking issue for create external table?

@CTTY
Copy link
Collaborator Author

CTTY commented Jan 12, 2026

I think we also should create a tracking issue for create external table

Yes, I think we currently have IcebergTableProviderFactory that can be used for CREATE EXTERNAL TABLE, but the problem is that it only creates a read-only static table, and we will need some bigger changes for that.

My current thought: we will need to introduce some new catalog props and pass them to IcebergTableProviderFactory and then use CatalogBuilder to load a Catalog, so we switch from using IcebergStaticTableProvider to IcebergTableProvider in IcebergTableProviderFactory.

I haven't thought quite thoroughly yet, and will create a tracking issue later, we can move the discussion there

@CTTY
Copy link
Collaborator Author

CTTY commented Jan 13, 2026

Created an issue to track create external table: #2021

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @CTTY for this fix!

@liurenjie1024 liurenjie1024 merged commit 5cf85da into apache:main Jan 14, 2026
18 checks passed
@CTTY CTTY deleted the ctty/df-cr-tbl branch January 14, 2026 00:00
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.

Support CREATE TABLE for DataFusion

2 participants