com.alibaba.druid.sql.parser.ParserException: ERROR. token : TRUNCATE, pos : 15

GitHub | ljhabc1982 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    不支持mysql truncate函数

    GitHub | 7 months ago | ljhabc1982
    com.alibaba.druid.sql.parser.ParserException: ERROR. token : TRUNCATE, pos : 15
  2. 0

    oracle sql 解析出错. order by 中使用replace函数出错

    GitHub | 4 years ago | michealpwanted
    com.alibaba.druid.sql.parser.ParserException: ERROR. token : REPLACE, pos : 37
  3. 0

    DB2 view sql detail的时候报错。

    GitHub | 4 years ago | uniquejava
    com.alibaba.druid.sql.parser.ParserException: syntax error, IDENTIFIER UR, pos 63
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    druid-1.0.1 sql解析异常, druid-0.2.25正常

    GitHub | 3 years ago | michealpwanted
    com.alibaba.druid.sql.parser.ParserException: syntax error, expect FROM, actual RPAREN 999999999999999999999999999990.99
  6. 0

    0.2.9 SQL中带行注释解析报错

    GitHub | 4 years ago | sodarfish
    com.alibaba.druid.sql.parser.ParserException: TODO : LINE_COMMENT -

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.alibaba.druid.sql.parser.ParserException

      ERROR. token : TRUNCATE, pos : 15

      at com.alibaba.druid.sql.parser.SQLExprParser.primary()
    2. druid
      SQLStatementParser.parseStatementList
      1. com.alibaba.druid.sql.parser.SQLExprParser.primary(SQLExprParser.java:578)
      2. com.alibaba.druid.sql.dialect.mysql.parser.MySqlExprParser.primary(MySqlExprParser.java:168)
      3. com.alibaba.druid.sql.parser.SQLExprParser.expr(SQLExprParser.java:124)
      4. com.alibaba.druid.sql.parser.SQLExprParser.parseSelectItem(SQLExprParser.java:1885)
      5. com.alibaba.druid.sql.parser.SQLSelectParser.parseSelectList(SQLSelectParser.java:359)
      6. com.alibaba.druid.sql.dialect.mysql.parser.MySqlSelectParser.query(MySqlSelectParser.java:131)
      7. com.alibaba.druid.sql.parser.SQLSelectParser.select(SQLSelectParser.java:62)
      8. com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser.parseSelect(MySqlStatementParser.java:229)
      9. com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:180)
      10. com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:145)
      11. com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:140)
      11 frames
    3. com.tcl.kuyu
      SqlParserTest.test0
      1. com.tcl.kuyu.kdt.test.SqlParserTest.test0(SqlParserTest.java:43)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      13 frames
    6. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames