Hi,可以贴一下log目录下的sql 
client日志吗?<br/>另外问一下,你是用的jdbc的connector嘛?你select的表名是`origin_object_data_61`?
在 2022-09-01 20:18:05,"RS" <tinyshr...@163.com> 写道:
>Hi,
>环境:
>flink-1.15.1
>TiDB-v6.1.0
>
>
>现象:
>Flink SQL> select count(*) from t1;
>
>[ERROR] Could not execute SQL statement. Reason:
>
>java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check 
>the manual that corresponds to your TiDB version for the right syntax to use 
>line 1 column 12 near "FROM `origin_object_data_61`" 
>
>执行失败了
>
>
>Flink SQL> select * from t1 limit 3;
>执行成功了,有结果返回
>
>
>请教下各位,为什么count不能执行,select字段就可以执行??
>
>
>Thanks
>
>
>

回复