Ted-Jiang commented on issue #9566:
URL: 
https://github.com/apache/arrow-datafusion/issues/9566#issuecomment-1990862541

   datafusion keep as pg
   ```
   DataFusion CLI v36.0.0
   ❯ select sum(Null);
   Error during planning: No function matches the given name and argument types 
'SUM(Null)'. You might need to add explicit type casts.
        Candidate functions:
        SUM(Int8/Int16/Int32/Int64/UInt8/UInt16/UInt32/UInt64/Float32/Float64)
   ❯ SELECT SUM(CAST(NULL AS INTEGER));
   +-----------+
   | SUM(NULL) |
   +-----------+
   |           |
   +-----------+
   1 row in set. Query took 0.023 seconds.
   
   ```


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