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

Don't create a snapshot when creating empty Iceberg tables #24275

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ebyhr
Copy link
Member

@ebyhr ebyhr commented Nov 27, 2024

Description

Spark doesn't create a snapshot when creating empty tables.

spark-sql (default)> CREATE TABLE test(a int) USING iceberg;
spark-sql (default)> SELECT * FROM iceberg_test.default.test.snapshots;
Time taken: 0.995 seconds

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Nov 27, 2024
@github-actions github-actions bot added the iceberg Iceberg connector label Nov 27, 2024
@ebyhr ebyhr marked this pull request as draft November 27, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed iceberg Iceberg connector
Development

Successfully merging this pull request may close these issues.

1 participant