alibaba / druid

阿里云计算平台DataWorks(https://help.aliyun.com/document_detail/137663.html) 团队出品,为监控而生的数据库连接池
https://github.com/alibaba/druid/wiki
Apache License 2.0
27.98k stars 8.59k forks source link

clickhouse cast not support #4421

Open zengqiyan opened 3 years ago

zengqiyan commented 3 years ago

such as : select CAST(data_day,'String') as dt

Exception in thread "main" com.alibaba.druid.sql.parser.ParserException: syntax error, expect AS, actual , pos 17276, line 350, column 39, token ,

wengieeee commented 3 years ago

select CAST(data_day as 'String') as dt 这个可以