{"record":{"id":"c37a6b9c5748038f","repo":"apache/seatunnel","slug":"common-19-c37a6b","errorCode":"COMMON-19","errorMessage":"'${identifier}' unsupported convert SeaTunnel data type '${dataType}' of '${field}' to connector data type.","messagePattern":"'(.+?)' unsupported convert SeaTunnel data type '(.+?)' of '(.+?)' to connector data type\\.","errorType":"error_code","errorClass":"SeaTunnelRuntimeException","httpStatus":null,"severity":"error","filePath":"seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/internal/dialect/yashandb/YashanDbTypeConverter.java","lineNumber":518,"sourceCode":"                    int tsScale = column.getScale();\n                    if (tsScale > MAX_TIMESTAMP_SCALE) {\n                        tsScale = MAX_TIMESTAMP_SCALE;\n                        log.warn(\n                                \"The timestamp column {} type timestamp({}) is out of range, \"\n                                        + \"which exceeds the maximum scale of {}, \"\n                                        + \"it will be converted to timestamp({})\",\n                                column.getName(),\n                                column.getScale(),\n                                MAX_TIMESTAMP_SCALE,\n                                tsScale);\n                    }\n                    builder.columnType(String.format(\"TIMESTAMP(%s) WITH TIME ZONE\", tsScale));\n                    builder.scale(tsScale);\n                }\n                builder.dataType(TIMESTAMP_WITH_TIME_ZONE);\n                break;\n            default:\n                throw CommonError.convertToConnectorTypeError(\n                        DatabaseIdentifier.YASHANDB,\n                        column.getDataType().getSqlType().name(),\n                        column.getName());\n        }\n        return builder.build();\n    }\n}\n","sourceCodeStart":500,"sourceCodeEnd":526,"githubUrl":"https://github.com/apache/seatunnel/blob/cf67b549a7a6c35fa0beb12d83c62892427ea919/seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/internal/dialect/yashandb/YashanDbTypeConverter.java#L500-L526","documentation":"YashanDB dialect type converter's reconvert() throws this when a SeaTunnel data type has no corresponding YashanDB column type. The default branch of the SqlType switch rejects SeaTunnel types (e.g. TIME, MAP, ROW) that cannot be expressed as a YashanDB column type when generating DDL.","triggerScenarios":"Calling YashanDbTypeConverter.reconvert() on a CatalogColumn whose SeaTunnel SqlType hits the switch default — typically TIME, ARRAY, MAP or ROW types during sink table auto-creation.","commonSituations":"Auto table creation into YashanDB from a source with TIME or nested/complex types; schema evolution propagating an unmapped type to the YashanDB sink.","solutions":["Transform the unsupported column upstream (e.g. convert TIME to TIMESTAMP or string) before writing to YashanDB","Exclude the column from the sink table creation","Extend reconvert() with a mapping for the missing SqlType"],"exampleFix":"// before: sink receives SeaTunnel TIME column\n// after: transform in config\ntransform {\n  Sql {\n    source_table_name = \"src\"\n    result_table_name = \"dst\"\n    query = \"SELECT CAST(time_col AS TIMESTAMP) AS time_col, ... FROM src\"\n  }\n}","handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"try {\n    CatalogColumn col = yashanConverter.reconvert(column);\n} catch (SeaTunnelConvertException e) {\n    LOG.warn(\"SeaTunnel type {} cannot map to YashanDB for column {}\", column.getDataType().getSqlType(), column.getName());\n    // fallback: pre-transform column type before reconvert\n}","preventionTips":["Handle conversion failure per-column so one bad column does not abort the whole table creation"],"tags":["jdbc","yashandb","type-conversion","catalog"],"backgroundTag":"unsupported-dtype","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"}