{"record":{"id":"5b0f0dfe7d14fd5b","repo":"apache/seatunnel","slug":"table-s-does-not-exist-in-catalog-s-tablenotexi","errorCode":null,"errorMessage":"Table %s does not exist in catalog %s (TableNotExistException)","messagePattern":"Table (.+?) does not exist in catalog (.+?) \\(TableNotExistException\\)","errorType":"exception","errorClass":"TableNotExistException","httpStatus":null,"severity":"error","filePath":"seatunnel-connectors-v2/connector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java","lineNumber":248,"sourceCode":"        try (PreparedStatement ps =\n                conn.prepareStatement(DorisCatalogUtil.TABLES_QUERY_WITH_IDENTIFIER_QUERY)) {\n            ps.setString(1, tablePath.getDatabaseName());\n            ps.setString(2, tablePath.getTableName());\n            try (ResultSet rs = ps.executeQuery()) {\n                return rs.next();\n            }\n        } catch (SQLException e) {\n            throw new CatalogException(\n                    String.format(\"check table [%s] exists failed\", tablePath.getFullName()), e);\n        }\n    }\n\n    @Override\n    public CatalogTable getTable(TablePath tablePath)\n            throws CatalogException, TableNotExistException {\n\n        if (!tableExists(tablePath)) {\n            throw new TableNotExistException(catalogName, tablePath);\n        }\n        TableSchema.Builder builder = TableSchema.builder();\n        try (PreparedStatement ps = conn.prepareStatement(DorisCatalogUtil.TABLE_SCHEMA_QUERY)) {\n            ps.setString(1, tablePath.getDatabaseName());\n            ps.setString(2, tablePath.getTableName());\n            try (ResultSet rs = ps.executeQuery()) {\n                Map<String, String> options = connectorOptions();\n                buildTableSchemaWithErrorCheck(\n                        tablePath, rs, builder, options, Collections.emptyList());\n                return CatalogTable.of(\n                        TableIdentifier.of(\n                                catalogName, tablePath.getDatabaseName(), tablePath.getTableName()),\n                        builder.build(),\n                        options,\n                        Collections.emptyList(),\n                        \"\",\n                        catalogName);\n            }","sourceCodeStart":230,"sourceCodeEnd":266,"githubUrl":"https://github.com/apache/seatunnel/blob/cf67b549a7a6c35fa0beb12d83c62892427ea919/seatunnel-connectors-v2/connector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java#L230-L266","documentation":"DorisCatalog.getTable verifies existence first and throws TableNotExistException(catalogName, tablePath) when the requested db.table is absent from the Doris cluster — the standard catalog signal that the caller referenced a non-existent table.","triggerScenarios":"Thrown at seatunnel-connectors-v2/connector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java:248 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check database and table names in the job config (case sensitivity, catalog prefix)","Create the table first or enable auto-create if applicable","List existing tables to confirm the expected name"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"cf67b549a7a6c35fa0beb12d83c62892427ea919","analyzedAt":"2026-09-10T21:44:55.265Z","contentChangedAt":"2026-09-10T21:44:55.265Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}