ryanschneider commented on issue #1920:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/issues/1920#issuecomment-3028207785

   Ah, FWIW this passes:
   
   ```
   WITH t AS (SELECT NULL AS x) SELECT COUNT(CASE WHEN x = 1 THEN 1 END) AS x 
FROM t
   ```
   
   So the issue is specifically w/ the ` NOT NULL` not being included in the 
expression.  I'll dig deeper when I have a chance.


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to