alibaba / druid

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

[BUG] 1.2.23 解析odps-sql select * except(xxx) from xxx 时 丢失了 except(xxx) #6232

Open roy526 opened 1 week ago

roy526 commented 1 week ago

Database Type

ODPS

Database Version

ODPS

Druid Version

1.2.23

JDK Version

1.8

Error SQL

select * except(pt) from t_a

Testcase Code

List<SQLStatement> sqlStatements = SQLUtils.parseStatements("select * except(pt) from t_a", DbType.odps, false);
System.out.println(sqlStatements);

Stacktrace Info

No response

Error Info

No response