Initial-neko opened a new issue #4192:
URL: https://github.com/apache/iceberg/issues/4192


   when I call SparkAction 
   `SparkActions
                   .get()
                   .deleteOrphanFiles(table)
                   .olderThan(System.currentTimeMillis() - 1000000)
                   .execute();`
   it throws
   
   `Exception in thread "main" java.lang.IllegalArgumentException: Cannot find 
the metadata table for xxxx of type ALL_MANIFESTS
        at 
org.apache.iceberg.spark.actions.BaseSparkAction.loadMetadataTable(BaseSparkAction.java:191)
        at 
org.apache.iceberg.spark.actions.BaseSparkAction.buildValidDataFileDF(BaseSparkAction.java:121)
        at 
org.apache.iceberg.spark.actions.BaseDeleteOrphanFilesSparkAction.doExecute(BaseDeleteOrphanFilesSparkAction.java:154)
        at 
org.apache.iceberg.spark.actions.BaseSparkAction.withJobGroupInfo(BaseSparkAction.java:101)
        at 
org.apache.iceberg.spark.actions.BaseDeleteOrphanFilesSparkAction.execute(BaseDeleteOrphanFilesSparkAction.java:141)
        at 
org.apache.iceberg.spark.actions.BaseDeleteOrphanFilesSparkAction.execute(BaseDeleteOrphanFilesSparkAction.java:76)
        `
   
   So what exactly is a metadata table? Why don't I find it in my data file and 
metadata file
   thanks~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to