abhioncbr commented on code in PR #10514:
URL: https://github.com/apache/pinot/pull/10514#discussion_r1162208779


##########
pinot-query-planner/src/main/java/org/apache/pinot/query/planner/logical/RexExpression.java:
##########
@@ -49,6 +50,10 @@ static RexExpression toRexExpression(RexNode rexNode) {
     } else if (rexNode instanceof RexLiteral) {
       RexLiteral rexLiteral = ((RexLiteral) rexNode);
       FieldSpec.DataType dataType = 
RelToStageConverter.convertToFieldSpecDataType(rexLiteral.getType());
+      //Added to set the DataType as UNKNOWN

Review Comment:
   @walterddr do you think your 
[PR](https://github.com/apache/pinot/pull/10423) is required here to merge 
before your change? Right now, it's failing because null is getting set as 
'null' literal.



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