dataframe写入impala出现语法错误,错误:
Exception in thread "main" java.sql.SQLException: [Simba]ImpalaJDBCDriver ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:AnalysisException: Syntax error in line 1:
CREATE TABLE wh ("mse" TEXT )
^
Encountered: STRING LITERAL
Expected: DEFAULT, IDENTIFIER
CAUSED BY: Exception: Syntax error
), Query: CREATE TABLE wh ("mse" TEXT ).
Caused by: com.cloudera.support.exceptions.GeneralException: [Simba]ImpalaJDBCDriver ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:AnalysisException: Syntax error in line 1:
CREATE TABLE wh ("mse" TEXT )
^
Encountered: STRING LITERAL
Expected: DEFAULT, IDENTIFIER
CAUSED BY: Exception: Syntax error
), Query: CREATE TABLE wh ("mse" TEXT ).
... 17 more