ChPi commented on a change in pull request #6846:
URL: https://github.com/apache/incubator-doris/pull/6846#discussion_r731612233



##########
File path: 
fe/fe-core/src/main/java/org/apache/doris/qe/cache/PartitionRange.java
##########
@@ -149,17 +148,26 @@ public void Debug() {
         public Date date;
 
         public boolean init(Type type, String str) {
-            if (type.getPrimitiveType() == PrimitiveType.DATE) {
-                try {
-                    date = df10.parse(str);
-                } catch (Exception e) {
-                    LOG.warn("parse error str{}.", str);
+            switch (type.getPrimitiveType()) {
+                case DATE:

Review comment:
       根据原来设计,datetime是不支持的,partition cache存储key、重写等代码只处理了整型和date




-- 
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]

Reply via email to