{"record":{"id":"2aac4559dc867c7d","repo":"apache/druid","slug":"failed-to-load-iceberg-table-with-identifier-s","errorCode":null,"errorMessage":"Failed to load iceberg table with identifier [%s]","messagePattern":"Failed to load iceberg table with identifier \\[(.+?)\\]","errorType":"exception","errorClass":"RE (org.apache.druid.java.util.common.RE)","httpStatus":null,"severity":"error","filePath":"extensions-contrib/druid-iceberg-extensions/src/main/java/org/apache/druid/iceberg/input/IcebergCatalog.java","lineNumber":149,"sourceCode":"            detectedResidual\n        );\n\n        if (residualFilterMode == ResidualFilterMode.FAIL) {\n          throw DruidException.forPersona(DruidException.Persona.DEVELOPER)\n                              .ofCategory(DruidException.Category.RUNTIME_FAILURE)\n                              .build(message);\n        }\n        log.warn(message);\n      }\n\n      long duration = System.currentTimeMillis() - start;\n      log.info(\"Data file scan and fetch took [%d ms] time for [%d] paths\", duration, dataFilePaths.size());\n    }\n    catch (DruidException e) {\n      throw e;\n    }\n    catch (Exception e) {\n      throw new RE(e, \"Failed to load iceberg table with identifier [%s]\", tableIdentifier);\n    }\n    finally {\n      Thread.currentThread().setContextClassLoader(currCtxClassloader);\n    }\n    return dataFilePaths;\n  }\n}\n","sourceCodeStart":131,"sourceCodeEnd":157,"githubUrl":"https://github.com/apache/druid/blob/9b90983fd291f26935af934383ce360473179e4d/extensions-contrib/druid-iceberg-extensions/src/main/java/org/apache/druid/iceberg/input/IcebergCatalog.java#L131-L157","documentation":"extractSnapshotDataFiles catches any failure while loading the Iceberg table or reading its snapshot data files and rethrows with this message naming the table identifier; typical causes are a wrong identifier, missing table, or permission/access errors.","triggerScenarios":"Thrown at extensions-contrib/druid-iceberg-extensions/src/main/java/org/apache/druid/iceberg/input/IcebergCatalog.java:149 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the table identifier (db.table) and the configured catalog type/properties.","Check catalog credentials/permissions and that the table exists at the resolved snapshot."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9b90983fd291f26935af934383ce360473179e4d","analyzedAt":"2026-09-07T13:32:30.957Z","contentChangedAt":"2026-09-07T13:32:30.957Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}