{"record":{"id":"b78a1291d1b54a2a","repo":"apache/flink","slug":"not-support-other-binary-type","errorCode":null,"errorMessage":"Not support other binary type: {}","messagePattern":"Not support other binary type: (.+?)","errorType":"validation","errorClass":"UnsupportedOperationException","httpStatus":null,"severity":"error","filePath":"flink-formats/flink-orc/src/main/java/org/apache/flink/orc/OrcSplitReaderUtil.java","lineNumber":172,"sourceCode":"    public static TypeDescription logicalTypeToOrcType(LogicalType type) {\n        type = type.copy(true);\n        switch (type.getTypeRoot()) {\n            case CHAR:\n                return TypeDescription.createChar().withMaxLength(((CharType) type).getLength());\n            case VARCHAR:\n                int len = ((VarCharType) type).getLength();\n                if (len == VarCharType.MAX_LENGTH) {\n                    return TypeDescription.createString();\n                } else {\n                    return TypeDescription.createVarchar().withMaxLength(len);\n                }\n            case BOOLEAN:\n                return TypeDescription.createBoolean();\n            case VARBINARY:\n                if (type.equals(DataTypes.BYTES().getLogicalType())) {\n                    return TypeDescription.createBinary();\n                } else {\n                    throw new UnsupportedOperationException(\n                            \"Not support other binary type: \" + type);\n                }\n            case DECIMAL:\n                DecimalType decimalType = (DecimalType) type;\n                return TypeDescription.createDecimal()\n                        .withScale(decimalType.getScale())\n                        .withPrecision(decimalType.getPrecision());\n            case TINYINT:\n                return TypeDescription.createByte();\n            case SMALLINT:\n                return TypeDescription.createShort();\n            case INTEGER:\n                return TypeDescription.createInt();\n            case BIGINT:\n                return TypeDescription.createLong();\n            case FLOAT:\n                return TypeDescription.createFloat();\n            case DOUBLE:","sourceCodeStart":154,"sourceCodeEnd":190,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-formats/flink-orc/src/main/java/org/apache/flink/orc/OrcSplitReaderUtil.java#L154-L190","documentation":"Error \"Not support other binary type: {}\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Not support other binary type: the reported value.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Not support other binary type: the reported value.","solutions":["Address the cause reported by the error message: Not support other binary type: the reported value","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Not support other binary type: the reported value\") and rerun the job or command.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2f3c205e9266cb30240eb7f4fdab15cad629a70f","analyzedAt":"2026-08-14T08:48:24.518Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}