xiangfu0 commented on code in PR #11350:
URL: https://github.com/apache/pinot/pull/11350#discussion_r1296871370


##########
pinot-query-planner/src/main/java/org/apache/pinot/query/parser/CalciteRexExpressionParser.java:
##########
@@ -194,6 +196,10 @@ public static Expression toExpression(RexExpression 
rexNode, PinotQuery pinotQue
   private static Expression rexLiteralToExpression(RexExpression.Literal 
rexLiteral) {
     // TODO: currently literals are encoded as strings for V1, remove this and 
use directly literal type when it
     // supports strong-type in V1.
+    if (rexLiteral.getDataType() == FieldSpec.DataType.TIMESTAMP
+        && rexLiteral.getValue() instanceof GregorianCalendar) {

Review Comment:
   done.



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