-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LOAD
statement
#1908
Comments
LOAD
statement
Greetings.
|
Can you provide more SQL statement and more infomation like which db or which db version? @LeBronChen1 |
In general I am not a big fan of implementing and/or maintaining such very specific DDL statements because I don't understand why its AST was needed. In which scenario would you like to traverse the AST of this statement? |
See |
Hi:
when use JSqlParser to parse sql then occur exception
Test load data into table code like below:
@test
public void testLoadDataTable() throws JSQLParserException {
String sqlString = “load data hdfs bulkload into table dbtest.HTTP options('inpath'='..')";
Statement statement = CCJSqlParserUtil.parse(sqlString);
}
Exception like blew:
Caused by: java.util.concurrent.ExecutionException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "load" <S_IDENTIFIER> at line 1, column 1.
Was expecting one of:
"("
"ALTER"
"CALL"
"COMMENT"
"COMMIT"
"CREATE"
"DECLARE"
"DELETE"
...
The text was updated successfully, but these errors were encountered: