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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by erichwang
, 1 year ago
com.facebook.presto.sql.tree.SymbolReference cannot be cast to com.facebook.presto.sql.tree.FunctionCall
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(QueryPlanner.java:617)
at com.facebook.presto.sql.planner.QueryPlanner.plan(QueryPlanner.java:140)
at com.facebook.presto.sql.planner.RelationPlanner.visitQuerySpecification(RelationPlanner.java:443)
at com.facebook.presto.sql.tree.QuerySpecification.accept(QuerySpecification.java:125)
at com.facebook.presto.sql.planner.QueryPlanner.planQueryBody(QueryPlanner.java:220)
at com.facebook.presto.sql.planner.QueryPlanner.plan(QueryPlanner.java:113)
at com.facebook.presto.sql.planner.RelationPlanner.visitQuery(RelationPlanner.java:436)
at com.facebook.presto.sql.tree.Query.accept(Query.java:103)
at com.facebook.presto.sql.planner.LogicalPlanner.createRelationPlan(LogicalPlanner.java:358)
at com.facebook.presto.sql.planner.LogicalPlanner.planStatement(LogicalPlanner.java:150)
at com.facebook.presto.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:112)
at com.facebook.presto.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:107)
at com.facebook.presto.execution.SqlQueryExecution.doAnalyzeQuery(SqlQueryExecution.java:291)
at com.facebook.presto.execution.SqlQueryExecution.analyzeQuery(SqlQueryExecution.java:270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.