findepi commented on issue #12272: URL: https://github.com/apache/datafusion/issues/12272#issuecomment-2326193214
The `CAST` syntax is already supported by datafusion: ``` > SELECT CAST('123' AS bigint) / 10 AS n, CAST(00345 AS varchar(10)) AS s; +----+-----+ | n | s | +----+-----+ | 12 | 345 | +----+-----+ ``` What i am looking for with this issue, is the ability to check what is the SQL type of an expression to be used in such `CAST` (`bigint` or `varchar(10)` in the example above). -- 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