{"record":{"id":"dafc7d56174a0d49","repo":"apache/flink","slug":"row-type-information-expected","errorCode":null,"errorMessage":"Row type information expected.","messagePattern":"Row type information expected\\.","errorType":"exception","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/RowCsvInputFormat.java","lineNumber":348,"sourceCode":"    /** A builder for creating a {@link RowCsvInputFormat}. */\n    public static class Builder implements Serializable {\n\n        private final Path[] filePaths;\n        private final TypeInformation[] fieldTypes;\n        private CsvSchema csvSchema;\n        private boolean ignoreParseErrors;\n        private int[] selectedFields;\n\n        /**\n         * Creates a row CSV input format for the given {@link TypeInformation} and file paths with\n         * optional parameters.\n         */\n        private Builder(TypeInformation<Row> typeInfo, Path... filePaths) {\n            checkNotNull(filePaths, \"File paths must not be null.\");\n            checkNotNull(typeInfo, \"Type information must not be null.\");\n\n            if (!(typeInfo instanceof RowTypeInfo)) {\n                throw new IllegalArgumentException(\"Row type information expected.\");\n            }\n\n            this.filePaths = filePaths;\n            this.fieldTypes = ((RowTypeInfo) typeInfo).getFieldTypes();\n            this.csvSchema = CsvRowSchemaConverter.convert((RowTypeInfo) typeInfo);\n        }\n\n        public Builder setFieldDelimiter(char delimiter) {\n            this.csvSchema = this.csvSchema.rebuild().setColumnSeparator(delimiter).build();\n            return this;\n        }\n\n        public Builder setAllowComments(boolean allowComments) {\n            this.csvSchema = this.csvSchema.rebuild().setAllowComments(allowComments).build();\n            return this;\n        }\n\n        public Builder setArrayElementDelimiter(String delimiter) {","sourceCodeStart":330,"sourceCodeEnd":366,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/RowCsvInputFormat.java#L330-L366","documentation":"Error \"Row type information expected.\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Row type information expected.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Row type information expected.","solutions":["Address the cause reported by the error message: Row type information expected.","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Row type information expected.\") 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"}