starocean999 commented on code in PR #64026:
URL: https://github.com/apache/doris/pull/64026#discussion_r3418603500
##########
fe/fe-core/src/main/java/org/apache/doris/analysis/SinglePartitionDesc.java:
##########
@@ -262,8 +262,8 @@ public PartitionDefinition translateToPartitionDefinition()
{
} else if (partitionValue.isMax()) {
return
PartitionDefinition.MaxValue.INSTANCE;
} else {
- String stringValue =
partitionValue.getStringValue();
- return Literal.of(stringValue);
+ return Literal.fromLegacyLiteral(
Review Comment:
可能可以去掉,可以由其他PR单独处理
--
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]