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

GitHub | ljhabc1982 | 3 months ago
  1. 0

    不支持mysql truncate函数

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

    DB2 view sql detail的时候报错。

    GitHub | 3 years ago | uniquejava
    com.alibaba.druid.sql.parser.ParserException: syntax error, IDENTIFIER UR, pos 63
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    0.2.9 SQL中带行注释解析报错

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

    “SELECT 1 INTERVAL FROM DUAL” Not supported by druid 0.2.26.

    GitHub | 3 years ago | bingoohuang
    com.alibaba.druid.sql.parser.ParserException: TODO : INTERVAL INTERVAL

    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