starocean999 commented on code in PR #64026:
URL: https://github.com/apache/doris/pull/64026#discussion_r3418640492
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/InPartition.java:
##########
@@ -62,9 +61,15 @@ public AllPartitionDesc translateToCatalogStyle() {
// add a empty list for default value process
values.add(new ArrayList<>());
}
- List<List<PartitionValue>> catalogValues = values.stream().map(l ->
l.stream()
- .map(this::toLegacyPartitionValueStmt)
- .collect(Collectors.toList())).collect(Collectors.toList());
+ List<List<PartitionValue>> catalogValues = new ArrayList<>();
+ for (List<Expression> partitionExpressions : values) {
+ List<PartitionValue> partitionValues = new ArrayList<>();
+ for (int i = 0; i < partitionExpressions.size(); i++) {
+ partitionValues.add(
+
toLegacyPartitionValueStmt(partitionExpressions.get(i).castTo(partitionTypes.get(i))));
+ }
Review Comment:
已处理
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]