This is an automated email from the ASF dual-hosted git repository.
zhaokuo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 234e3772f [CORE] Fix schema mismatch between ReadRelNode and
LocalFilesNode (#6746)
234e3772f is described below
commit 234e3772f5386d7f2ff4098a8a208f7131bf6488
Author: jiangjiangtian <[email protected]>
AuthorDate: Thu Aug 8 10:00:38 2024 +0800
[CORE] Fix schema mismatch between ReadRelNode and LocalFilesNode (#6746)
Co-authored-by: 蒋添 <[email protected]>
---
.../src/main/java/org/apache/gluten/substrait/rel/LocalFilesNode.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/gluten-core/src/main/java/org/apache/gluten/substrait/rel/LocalFilesNode.java
b/gluten-core/src/main/java/org/apache/gluten/substrait/rel/LocalFilesNode.java
index 172a6e8cc..04bb9d8cf 100644
---
a/gluten-core/src/main/java/org/apache/gluten/substrait/rel/LocalFilesNode.java
+++
b/gluten-core/src/main/java/org/apache/gluten/substrait/rel/LocalFilesNode.java
@@ -104,7 +104,7 @@ public class LocalFilesNode implements SplitInfo {
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());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]