java.lang.IllegalArgumentException: Only deterministic expressions may be considered for rewrite

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 martint
, 1 year ago
Only deterministic expressions may be considered for rewrite
via Apache's JIRA Issue Tracker by Alexander Alten-Lorenz, 1 year ago
Directory may not be nullnull
via Apache's JIRA Issue Tracker by Alexander Alten-Lorenz, 1 year ago
Directory may not be nullnull
via JIRA by Damian Jansen, 1 year ago
change before date [2015-03-28T00:00:00.000+10:00] must be after change after date [2015-03-29T00:00:00.000+10:00]: java.lang.IllegalArgumentException: change before date [2015-03-28T00:00:00.000+10:00] must be after change after date [2015-03-29T00:00:00.000+10:00]
via Cask Community Issue Tracker by Alvin Wang, 1 year ago
Target schema must only contain simple fields (boolean, int, long, float, double, bytes, string)
java.lang.IllegalArgumentException: Only deterministic expressions may be considered for rewrite
at com.facebook.presto.sql.planner.EqualityInference.rewriteExpression(EqualityInference.java:101)
at com.facebook.presto.sql.planner.optimizations.PredicatePushDown$Rewriter.rewriteSemiJoin(PredicatePushDown.java:677)
at com.facebook.presto.sql.planner.optimizations.PredicatePushDown$Rewriter.rewriteSemiJoin(PredicatePushDown.java:134)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitSemiJoin(PlanRewriter.java:449)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitSemiJoin(PlanRewriter.java:65)
at com.facebook.presto.sql.planner.plan.SemiJoinNode.accept(SemiJoinNode.java:120)
at com.facebook.presto.sql.planner.plan.PlanRewriter.rewrite(PlanRewriter.java:42)
at com.facebook.presto.sql.planner.optimizations.PredicatePushDown$Rewriter.rewriteFilter(PredicatePushDown.java:219)
at com.facebook.presto.sql.planner.optimizations.PredicatePushDown$Rewriter.rewriteFilter(PredicatePushDown.java:134)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitFilter(PlanRewriter.java:200)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitFilter(PlanRewriter.java:65)
at com.facebook.presto.sql.planner.plan.FilterNode.accept(FilterNode.java:71)
at com.facebook.presto.sql.planner.plan.PlanRewriter.rewrite(PlanRewriter.java:42)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitProject(PlanRewriter.java:244)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitProject(PlanRewriter.java:65)
at com.facebook.presto.sql.planner.plan.ProjectNode.accept(ProjectNode.java:81)
at com.facebook.presto.sql.planner.plan.PlanRewriter.defaultRewrite(PlanRewriter.java:50)
at com.facebook.presto.sql.planner.optimizations.PredicatePushDown$Rewriter.rewriteProject(PredicatePushDown.java:178)
at com.facebook.presto.sql.planner.optimizations.PredicatePushDown$Rewriter.rewriteProject(PredicatePushDown.java:134)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitProject(PlanRewriter.java:238)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitProject(PlanRewriter.java:65)
at com.facebook.presto.sql.planner.plan.ProjectNode.accept(ProjectNode.java:81)
at com.facebook.presto.sql.planner.plan.PlanRewriter.rewrite(PlanRewriter.java:42)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitOutput(PlanRewriter.java:282)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitOutput(PlanRewriter.java:65)
at com.facebook.presto.sql.planner.plan.OutputNode.accept(OutputNode.java:79)
at com.facebook.presto.sql.planner.plan.PlanRewriter.defaultRewrite(PlanRewriter.java:50)
at com.facebook.presto.sql.planner.optimizations.PredicatePushDown$Rewriter.rewriteNode(PredicatePushDown.java:166)
at com.facebook.presto.sql.planner.optimizations.PredicatePushDown$Rewriter.rewriteNode(PredicatePushDown.java:134)
at com.facebook.presto.sql.planner.plan.PlanNodeRewriter.rewriteOutput(PlanNodeRewriter.java:120)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitOutput(PlanRewriter.java:276)
at com.facebook.presto.sql.planner.plan.PlanRewriter$RewritingVisitor.visitOutput(PlanRewriter.java:65)
at com.facebook.presto.sql.planner.plan.OutputNode.accept(OutputNode.java:79)
at com.facebook.presto.sql.planner.plan.PlanRewriter.rewrite(PlanRewriter.java:42)
at com.facebook.presto.sql.planner.plan.PlanRewriter.rewriteWith(PlanRewriter.java:31)
at com.facebook.presto.sql.planner.optimizations.PredicatePushDown.optimize(PredicatePushDown.java:131)
at com.facebook.presto.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:88)
at com.facebook.presto.sql.analyzer.QueryExplainer.getLogicalPlan(QueryExplainer.java:104)
at com.facebook.presto.sql.analyzer.QueryExplainer.getPlan(QueryExplainer.java:66)
at com.facebook.presto.sql.analyzer.StatementAnalyzer.getQueryPlan(StatementAnalyzer.java:510)
at com.facebook.presto.sql.analyzer.StatementAnalyzer.visitExplain(StatementAnalyzer.java:479)
at com.facebook.presto.sql.tree.Explain.accept(Explain.java:54)
at com.facebook.presto.sql.analyzer.Analyzer.analyze(Analyzer.java:52)
at com.facebook.presto.execution.SqlQueryExecution.doAnalyzeQuery(SqlQueryExecution.java:206)
at com.facebook.presto.execution.SqlQueryExecution.analyzeQuery(SqlQueryExecution.java:191)
at com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:152)
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

Once, 2 weeks ago
6 times, 1 month ago
2 times, 1 month ago
Once, 1 month ago
Once, 1 month ago

Write tip

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