Skip to content

Commit

Permalink
3 can not go into error in A.A.A, should be 2
Browse files Browse the repository at this point in the history
  • Loading branch information
daobing zhu committed Jul 11, 2022
1 parent 99b77fb commit a99880b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private void visitBasicCall(SqlBasicCall sqlCall) {

private QueryTables validateTableName(QueryTables tableNames) {
for (String tableName : tableNames.tableNames) {
if (tableName.split("\\.", -1).length > 3) {
if (tableName.split("\\.", -1).length > 2) {
throw new ParseException("Qsql only support structure like dbName.tableName,"
+ " and there is a unsupported tableName here: " + tableName);
}
Expand Down

0 comments on commit a99880b

Please sign in to comment.