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

After the metadata.json file of the Iceberg table was accidentally deleted, the drop table failed. How can I delete this table from the metadata? #12016

Closed
SGITLOGIN opened this issue Jan 21, 2025 · 1 comment
Labels
question Further information is requested

Comments

@SGITLOGIN
Copy link

SGITLOGIN commented Jan 21, 2025

Query engine

Iceberg 1.6.1

Spark 3.4.2

Spark configuration:

spark.sql.catalog.spark_catalog = org.apache.iceberg.spark.SparkSessionCatalog
spark.sql.catalog.spark_catalog.type = hive
spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions

Question

After the metadata.json file is accidentally deleted, drop table fails and a NotFoundException is reported. How should I delete the table from the metadata?

Image
@SGITLOGIN SGITLOGIN added the question Further information is requested label Jan 21, 2025
@SGITLOGIN SGITLOGIN changed the title Iceberg表的metadata.json文件被误删后,drop table失败,应该如何才能从元数据中删除这张表 After the metadata.json file of the Iceberg table was accidentally deleted, the drop table failed. How can I delete this table from the metadata? Jan 21, 2025
@Fokko
Copy link
Contributor

Fokko commented Jan 24, 2025

Thanks for reporting this @SGITLOGIN. I'm going to close this one as it is a duplicate of #12062.

@Fokko Fokko closed this as completed Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants