Skip to content

Commit

Permalink
[CORE] Fix schema mismatch between ReadRelNode and LocalFilesNode
Browse files Browse the repository at this point in the history
  • Loading branch information
蒋添 authored and 蒋添 committed Aug 7, 2024
1 parent d1eca82 commit afdb55f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private NamedStruct buildNamedStruct() {
for (StructField field : fileSchema.fields()) {
structBuilder.addTypes(
ConverterUtils.getTypeNode(field.dataType(), field.nullable()).toProtobuf());
namedStructBuilder.addNames(field.name());
namedStructBuilder.addNames(ConverterUtils.normalizeColName(field.name()));
}
namedStructBuilder.setStruct(structBuilder.build());
}
Expand Down

0 comments on commit afdb55f

Please sign in to comment.