This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 1554f26ed3c [fix](hudi-catalog) fix hudi catalog code (#27966)
1554f26ed3c is described below
commit 1554f26ed3c7fd3dc47082991fa7b6165dfc2aec
Author: Tiewei Fang <[email protected]>
AuthorDate: Mon Dec 4 22:26:37 2023 +0800
[fix](hudi-catalog) fix hudi catalog code (#27966)
backport: #27963
---
.../main/java/org/apache/doris/planner/external/hudi/HudiScanNode.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/planner/external/hudi/HudiScanNode.java
b/fe/fe-core/src/main/java/org/apache/doris/planner/external/hudi/HudiScanNode.java
index 4b8b5dcef0d..3921eb5cb89 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/planner/external/hudi/HudiScanNode.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/planner/external/hudi/HudiScanNode.java
@@ -223,7 +223,8 @@ public class HudiScanNode extends HiveScanNode {
List<String> columnNames = new ArrayList<>();
List<String> columnTypes = new ArrayList<>();
- List<FieldSchema> allFields =
hmsTable.getRemoteTable().getSd().getCols();
+ List<FieldSchema> allFields = Lists.newArrayList();
+ allFields.addAll(hmsTable.getRemoteTable().getSd().getCols());
allFields.addAll(hmsTable.getRemoteTable().getPartitionKeys());
for (Schema.Field hudiField : hudiSchema.getFields()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]