lil-winga opened a new issue #4033:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4033


   execute sql error
   com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Invalid JSON path 
expression. The error is around character position 1.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
        at com.mysql.jdbc.Util.getInstance(Util.java:408)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3933)
        at com.mysql.jdbc.MysqlIO.nextRowFast(MysqlIO.java:2111)
        at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1985)
        at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:3358)
        at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:464)
        at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:3070)
        at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2338)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2725)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
        at 
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1912)
        at 
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2020)
        at 
org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:231)
        at 
org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.handle(SqlTask.java:139)
        at 
org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:129)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        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:748)
   [ERROR] 2020-11-06 14:54:20.698  - [taskAppId=TASK-11-33-52]:[145] - sql 
task error
   java.lang.RuntimeException: execute sql error
        at 
org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:243)
        at 
org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.handle(SqlTask.java:139)
        at 
org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:129)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        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:748)
   
   
![image](https://user-images.githubusercontent.com/33838619/98337921-52908500-2044-11eb-99f4-0d07ebeaceb1.png)
   
   


----------------------------------------------------------------
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.

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


Reply via email to