jayzhan211 commented on issue #13285:
URL: https://github.com/apache/datafusion/issues/13285#issuecomment-2463803788

   DuckDB doesn't support this...
   
   ```
   D select abs('-1.2');
   Binder Error: Could not choose a best candidate function for the function 
call "abs(STRING_LITERAL)". In order to select one, please add explicit type 
casts.
        Candidate functions:
        abs(SMALLINT) -> SMALLINT
        abs(INTEGER) -> INTEGER
        abs(BIGINT) -> BIGINT
        abs(HUGEINT) -> HUGEINT
        abs(FLOAT) -> FLOAT
        abs(DOUBLE) -> DOUBLE
        abs(UTINYINT) -> UTINYINT
        abs(USMALLINT) -> USMALLINT
        abs(UINTEGER) -> UINTEGER
        abs(UBIGINT) -> UBIGINT
        abs(UHUGEINT) -> UHUGEINT
        abs(TINYINT) -> TINYINT
   
   LINE 1: select abs('-1.2');
                  ^
   
   ```


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