comphead commented on PR #16798:
URL: https://github.com/apache/datafusion/pull/16798#issuecomment-3084693715

   > what about using explicit casting in applications? For example:
   > 
   > ```shell
   > > select not(arrow_cast(1, 'Boolean'));
   > +------------------------------------------+
   > | NOT arrow_cast(Int64(1),Utf8("Boolean")) |
   > +------------------------------------------+
   > | false                                    |
   > +------------------------------------------+
   > ```
   > 
   > IIRC, PostgreSQL doesn't support such comparisons
   
   Just tried PG
   ```
   select not(cast(1 as boolean)) as a 
   
   
      a
   ----
   false
   ```
   
   Am I missing something? 🤔 
   
   


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