-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
version: 4.5
sql
select * from [a].[dbo].[b]
net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "from" "FROM"
at line 1, column 10.
Was expecting one of:
";"
"CONNECT"
"EMIT"
"GROUP"
"HAVING"
"INTO"
"START"
"WINDOW"
<EOF>
[wrapped] java.util.concurrent.ExecutionException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "from" "FROM"
at line 1, column 10.
Was expecting one of:
";"
"CONNECT"
"EMIT"
"GROUP"
"HAVING"
"INTO"
"START"
"WINDOW"
<EOF>
[wrapped] net.sf.jsqlparser.JSQLParserException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "from" "FROM"
at line 1, column 10.
Was expecting one of:
";"
"CONNECT"
"EMIT"
"GROUP"
"HAVING"
"INTO"
"START"
"WINDOW"
<EOF>
at line 1, column 10.
test code:
public static void main(String[] args) throws JSQLParserException {
Statement parse = CCJSqlParserUtil.parse(
"select * from [a].[dbo].[b]");
System.out.println(parse);
}
Metadata
Metadata
Assignees
Labels
No labels