You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] 表达式tostring报错了 com.alibaba.druid.sql.visitor.SQLASTOutputVisitor cannot be cast to com.alibaba.druid.sql.dialect.postgresql.visitor.PGASTVisitor
#6292
Open
lanyanhua opened this issue
Dec 17, 2024
· 1 comment
lanyanhua
changed the title
[BUG] 表达式tostring报错了
[BUG] 表达式tostring报错了 com.alibaba.druid.sql.visitor.SQLASTOutputVisitor cannot be cast to com.alibaba.druid.sql.dialect.postgresql.visitor.PGASTVisitor
Dec 17, 2024
Database Type
postgres
Database Version
42.7.3
Druid Version
42.7.3
JDK Version
1.2.15
Error SQL
EXTRACT (DAY FROM current_date - queryopendate) > 14
AND querystatus = '打开质疑'
Testcase Code
SQLUtils.toSQLExpr("CASE WHEN EXTRACT (DAY FROM current_date - queryopendate) > 14 AND querystatus = '打开质疑' THEN 1 ELSE 0 END"
, DbType.postgresql);
Stacktrace Info
No response
Error Info
No response
The text was updated successfully, but these errors were encountered: