{"record":{"id":"cdc80bf9b2c2b477","repo":"apache/flink","slug":"schema-evolution-not-supported","errorCode":null,"errorMessage":"Schema evolution not supported.","messagePattern":"Schema evolution not supported\\.","errorType":"validation","errorClass":"UnsupportedOperationException","httpStatus":null,"severity":"error","filePath":"flink-formats/flink-parquet/src/main/java/org/apache/flink/formats/parquet/ParquetVectorizedInputFormat.java","lineNumber":259,"sourceCode":"        return Types.buildMessage().addFields(types).named(\"flink-parquet\");\n    }\n\n    private void checkSchema(MessageType fileSchema, MessageType requestedSchema)\n            throws IOException, UnsupportedOperationException {\n        if (projectedFields.length != requestedSchema.getFieldCount()) {\n            throw new RuntimeException(\n                    \"The quality of field type is incompatible with the request schema!\");\n        }\n\n        /*\n         * Check that the requested schema is supported.\n         */\n        for (int i = 0; i < requestedSchema.getFieldCount(); ++i) {\n            String[] colPath = requestedSchema.getPaths().get(i);\n            if (fileSchema.containsPath(colPath)) {\n                ColumnDescriptor fd = fileSchema.getColumnDescription(colPath);\n                if (!fd.equals(requestedSchema.getColumns().get(i))) {\n                    throw new UnsupportedOperationException(\"Schema evolution not supported.\");\n                }\n            } else {\n                if (requestedSchema.getColumns().get(i).getMaxDefinitionLevel() == 0) {\n                    // Column is missing in data but the required data is non-nullable. This file is\n                    // invalid.\n                    throw new IOException(\n                            \"Required column is missing in data file. Col: \"\n                                    + Arrays.toString(colPath));\n                }\n            }\n        }\n    }\n\n    private Pool<ParquetReaderBatch<T>> createPoolOfBatches(\n            SplitT split, MessageType requestedSchema, int numBatches) {\n        final Pool<ParquetReaderBatch<T>> pool = new Pool<>(numBatches);\n\n        for (int i = 0; i < numBatches; i++) {","sourceCodeStart":241,"sourceCodeEnd":277,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-formats/flink-parquet/src/main/java/org/apache/flink/formats/parquet/ParquetVectorizedInputFormat.java#L241-L277","documentation":"Error \"Schema evolution not supported.\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Schema evolution not supported.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Schema evolution not supported.","solutions":["Address the cause reported by the error message: Schema evolution not supported.","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Schema evolution not supported.\") 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"}