wForget commented on PR #5161:
URL: https://github.com/apache/kyuubi/pull/5161#issuecomment-1680784711

   sql syntax error:
   
   ```
   09:49:40.433 JdbcTBinaryFrontendHandler-Pool: Thread-87 INFO 
ExecuteStatement: Processing runner's 
query[4bda9ddb-e5f3-4a75-ae3f-6726949eedfe]: PENDING_STATE -> RUNNING_STATE, 
statement:
   select e1 from (select 1 k1) as t lateral view explode([0,1]) tmp1 as e1
   09:49:40.458 JdbcTBinaryFrontendHandler-Pool: Thread-87 ERROR 
ExecuteStatement: Error operating ExecuteStatement: java.sql.SQLException: 
errCode = 2, detailMessage = Syntax error in line 1:
   ...as t lateral view explode([0,1]) tmp1 as e1
                                ^
   Encountered: [
   Expected: IDENTIFIER
   
        at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
        at 
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
        at 
com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:763)
        at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:648)
        at 
org.apache.kyuubi.engine.jdbc.operation.ExecuteStatement.org$apache$kyuubi$engine$jdbc$operation$ExecuteStatement$$executeStatement(ExecuteStatement.scala:64)
        at 
org.apache.kyuubi.engine.jdbc.operation.ExecuteStatement.runInternal(ExecuteStatement.scala:55)
        at 
org.apache.kyuubi.operation.AbstractOperation.run(AbstractOperation.scala:171)
        at 
org.apache.kyuubi.session.AbstractSession.runOperation(AbstractSession.scala:101)
        at 
org.apache.kyuubi.session.AbstractSession.$anonfun$executeStatement$1(AbstractSession.scala:131)
        at 
org.apache.kyuubi.session.AbstractSession.withAcquireRelease(AbstractSession.scala:82)
        at 
org.apache.kyuubi.session.AbstractSession.executeStatement(AbstractSession.scala:128)
        at 
org.apache.kyuubi.service.AbstractBackendService.executeStatement(AbstractBackendService.scala:67)
        at 
org.apache.kyuubi.service.TFrontendService.ExecuteStatement(TFrontendService.scala:252)
        at 
org.apache.hive.service.rpc.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1557)
        at 
org.apache.hive.service.rpc.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1542)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
        at 
org.apache.kyuubi.service.authentication.TSetIpAddressProcessor.process(TSetIpAddressProcessor.scala:36)
        at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:750)
   
   java.sql.SQLException: errCode = 2, detailMessage = Syntax error in line 1:
   ...as t lateral view explode([0,1]) tmp1 as e1
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to