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.planner.RelationPlanner.visitQuerySpecification(RelationPlanner.java:94)	at com.facebook.presto.sql.tree.QuerySpecification.accept(QuerySpecification.java:125)	at com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22)	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.planner.RelationPlanner.visitQuery(RelationPlanner.java:94)	at com.facebook.presto.sql.tree.Query.accept(Query.java:103)	at com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22)	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 com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:228)	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)