{"record":{"id":"7faaca34374ac127","repo":"apache/flink","slug":"unknown-literal-type","errorCode":null,"errorMessage":"Unknown literal type {}","messagePattern":"Unknown literal type (.+?)","errorType":"validation","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"flink-formats/flink-orc/src/main/java/org/apache/flink/orc/OrcFilters.java","lineNumber":478,"sourceCode":"                        throw new IllegalArgumentException(\n                                \"A predicate on a DATE column requires a java.sql.Date literal.\");\n                    }\n                case TIMESTAMP:\n                    if (literal instanceof Timestamp) {\n                        return literal;\n                    } else {\n                        throw new IllegalArgumentException(\n                                \"A predicate on a TIMESTAMP column requires a java.sql.Timestamp literal.\");\n                    }\n                case DECIMAL:\n                    if (literal instanceof BigDecimal) {\n                        return new HiveDecimalWritable(HiveDecimal.create((BigDecimal) literal));\n                    } else {\n                        throw new IllegalArgumentException(\n                                \"A predicate on a DECIMAL column requires a BigDecimal literal.\");\n                    }\n                default:\n                    throw new IllegalArgumentException(\"Unknown literal type \" + literalType);\n            }\n        }\n    }\n\n    abstract static class BinaryPredicate extends ColumnPredicate {\n        final Serializable literal;\n\n        BinaryPredicate(String columnName, PredicateLeaf.Type literalType, Serializable literal) {\n            super(columnName, literalType);\n            this.literal = literal;\n        }\n    }\n\n    /** An EQUALS predicate that can be evaluated by the OrcInputFormat. */\n    public static class Equals extends BinaryPredicate {\n        /**\n         * Creates an EQUALS predicate.\n         *","sourceCodeStart":460,"sourceCodeEnd":496,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-formats/flink-orc/src/main/java/org/apache/flink/orc/OrcFilters.java#L460-L496","documentation":"Error \"Unknown literal type {}\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Unknown literal type the reported value.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Unknown literal type the reported value.","solutions":["Address the cause reported by the error message: Unknown literal type the reported value","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Unknown literal 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"}