findepi commented on issue #11282:
URL: https://github.com/apache/datafusion/issues/11282#issuecomment-2211173292

   Indeed, from SQL 2016 spec
   
   ```
   <boolean test> ::=
     <boolean primary> [ IS [ NOT ] <truth value> ]
   
   <truth value> ::=
       TRUE
     | FALSE
     | UNKNOWN
   ```
   
   I didn't know about this syntax. 
   
   Thanks @alamb @jonahgao . So we don't want to unify. Just make sure the `IS 
[NOT] ( TRUE | FALSE | UNKNOWN )` is applicable to booleans only.


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