andygrove commented on issue #6334:
URL: 
https://github.com/apache/datafusion-comet/issues/6334#issuecomment-5896994827

   This is a regression in 1.1.0. In 1.0.0 both queries above ran in Spark. 
Comet declined the map and struct literals and fell back for the whole Project. 
#5452 made complex literals native, and that is what exposes `IF` to this.
   
   The 1.1.0 regression audit (#6399) confirmed it on 1.1.0-rc1 with a map 
column, using `IF(c, m, map('z', 0))` and `IF(m IS NULL, map('z', 0), m)`. Both 
fail on any batch where the predicate is the same for every row, while 1.0.0 
returns Spark's answer. I've added the `regression` label, and it's tracked in 
#6402.
   


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