Thomas Tauber-Marshall created IMPALA-7419: ----------------------------------------------
Summary: NullPointerException in SimplifyConditionalsRule Key: IMPALA-7419 URL: https://issues.apache.org/jira/browse/IMPALA-7419 Project: IMPALA Issue Type: Bug Components: Frontend Affects Versions: Impala 3.1.0 Reporter: Thomas Tauber-Marshall Assignee: Thomas Tauber-Marshall Found by the query generator: {noformat} SELECT COALESCE((-311) * (NULL), MIN(DISTINCT tinyint_col), 42) FROM functional.alltypes {noformat} {noformat} java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187) at org.apache.impala.analysis.FunctionCallExpr.isAggregateFunction(FunctionCallExpr.java:238) at org.apache.impala.analysis.Expr$1.apply(Expr.java:100) at org.apache.impala.analysis.Expr$1.apply(Expr.java:97) at org.apache.impala.common.TreeNode.contains(TreeNode.java:162) at org.apache.impala.rewrite.SimplifyConditionalsRule.apply(SimplifyConditionalsRule.java:84) at org.apache.impala.rewrite.ExprRewriter.applyRuleBottomUp(ExprRewriter.java:85) at org.apache.impala.rewrite.ExprRewriter.applyRuleRepeatedly(ExprRewriter.java:71) at org.apache.impala.rewrite.ExprRewriter.rewrite(ExprRewriter.java:55) at org.apache.impala.analysis.SelectList.rewriteExprs(SelectList.java:97) at org.apache.impala.analysis.SelectStmt.rewriteExprs(SelectStmt.java:892) at org.apache.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:446) at org.apache.impala.analysis.AnalysisContext.analyzeAndAuthorize(AnalysisContext.java:408) at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1035) at org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:165) {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org