forked from github/dataease
fix: 解析pg sql出错
This commit is contained in:
parent
8257c44540
commit
3e73b13c98
@ -1090,7 +1090,7 @@ public class DataSetTableService {
|
||||
if (!hasVariables && !tmpSql.contains(SubstitutedParams)) {
|
||||
return tmpSql;
|
||||
}
|
||||
CCJSqlParserUtil.parse(tmpSql, parser -> parser.withSquareBracketQuotation(true));
|
||||
|
||||
Statement statement = CCJSqlParserUtil.parse(tmpSql);
|
||||
Select select = (Select) statement;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user