kgyrtkirk commented on a change in pull request #970: Hive 23100
URL: https://github.com/apache/hive/pull/970#discussion_r408673898
 
 

 ##########
 File path: ql/src/test/results/clientpositive/vector_case_when_2.q.out
 ##########
 @@ -998,13 +998,13 @@ STAGE PLANS:
                 native: true
                 vectorizationSchemaColumns: [0:q548284:int, 
1:ROW__ID:struct<writeid:bigint,bucketid:int,rowid:bigint>]
             Select Operator
-              expressions: q548284 (type: int), CASE WHEN ((q548284 = 4)) THEN 
(0.8) WHEN ((q548284 = 5)) THEN (1) ELSE (8) END (type: decimal(2,1))
 
 Review comment:
   why is this decimal cast enforced?
   I think this is probably because the CASE was created  with a return type 
explicitylu set - can we let calcite deduce it's type? in case the CASE is 
disassembled it will be reinterpreted anyway
   
   (can be fixed later of course)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to