jackwener opened a new issue, #6589:
URL: https://github.com/apache/arrow-datafusion/issues/6589

   ### Describe the bug
   
   I'm working for `type coercion`. I find
   
   now
   ```sql
   tests/sqllogictests/test_files/scalar.slt:914
   
   query BB
   SELECT not(1), not(0)
   ----
   -2 -1
   ```
   
   I don't know whether we should allow it. it break `type system`.
   
   pg
   
   ```sql
   psql:commands.sql:15: ERROR:  argument of NOT must be type boolean, not type 
integer
   LINE 1: SELECT not(1), not(0);
   ```
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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

Reply via email to