Re: [I] Support numeric string argument in functions [datafusion]

2024-11-07 Thread via GitHub
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

Re: [I] Support numeric string argument in functions [datafusion]

2024-11-06 Thread via GitHub
jayzhan211 commented on issue #13285: URL: https://github.com/apache/datafusion/issues/13285#issuecomment-2461366322 Does this mean we need LogicalType::Unknown 🤔 Then we can infer type in the later stage -- This is an automated message from the Apache Git Service. To respond to the messa

[I] Support numeric string argument in functions [datafusion]

2024-11-06 Thread via GitHub
jayzhan211 opened a new issue, #13285: URL: https://github.com/apache/datafusion/issues/13285 # Issue abs() is one of the example that support numeric string In Postgres, the type is determined lately so `-1.2` is not string type but inferred into float type for abs() [doc](