java.lang.ClassCastException: com.facebook.presto.sql.tree.SymbolReference cannot be cast to com.facebook.presto.sql.tree.FunctionCall

GitHub | erichwang | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Planning Class cast exception

    GitHub | 5 months ago | erichwang
    java.lang.ClassCastException: com.facebook.presto.sql.tree.SymbolReference cannot be cast to com.facebook.presto.sql.tree.FunctionCall

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.facebook.presto.sql.tree.SymbolReference cannot be cast to com.facebook.presto.sql.tree.FunctionCall

      at com.facebook.presto.sql.planner.QueryPlanner.window()
    2. presto-main
      RelationPlanner.visitQuerySpecification
      1. com.facebook.presto.sql.planner.QueryPlanner.window(QueryPlanner.java:617)
      2. com.facebook.presto.sql.planner.QueryPlanner.plan(QueryPlanner.java:140)
      3. com.facebook.presto.sql.planner.RelationPlanner.visitQuerySpecification(RelationPlanner.java:443)
      4. com.facebook.presto.sql.planner.RelationPlanner.visitQuerySpecification(RelationPlanner.java:94)
      4 frames
    3. presto-parser
      AstVisitor.process
      1. com.facebook.presto.sql.tree.QuerySpecification.accept(QuerySpecification.java:125)
      2. com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22)
      2 frames
    4. presto-main
      RelationPlanner.visitQuery
      1. com.facebook.presto.sql.planner.QueryPlanner.planQueryBody(QueryPlanner.java:220)
      2. com.facebook.presto.sql.planner.QueryPlanner.plan(QueryPlanner.java:113)
      3. com.facebook.presto.sql.planner.RelationPlanner.visitQuery(RelationPlanner.java:436)
      4. com.facebook.presto.sql.planner.RelationPlanner.visitQuery(RelationPlanner.java:94)
      4 frames
    5. presto-parser
      AstVisitor.process
      1. com.facebook.presto.sql.tree.Query.accept(Query.java:103)
      2. com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22)
      2 frames
    6. presto-main
      SqlQueryExecution.start
      1. com.facebook.presto.sql.planner.LogicalPlanner.createRelationPlan(LogicalPlanner.java:358)
      2. com.facebook.presto.sql.planner.LogicalPlanner.planStatement(LogicalPlanner.java:150)
      3. com.facebook.presto.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:112)
      4. com.facebook.presto.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:107)
      5. com.facebook.presto.execution.SqlQueryExecution.doAnalyzeQuery(SqlQueryExecution.java:291)
      6. com.facebook.presto.execution.SqlQueryExecution.analyzeQuery(SqlQueryExecution.java:270)
      7. com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:228)
      7 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames