Alex Behm has posted comments on this change. ( http://gerrit.cloudera.org:8080/9545 )
Change subject: IMPALA-6617: Improve diagnostics for debugging. ...................................................................... Patch Set 1: The new exception message looks like this: ERROR: IllegalStateException: Illegal expr eval result. Expr=NULL < 10 TExpBatch=TExprBatch(exprs:[TExpr(nodes:[TExprNode(node_type:FUNCTION_CALL, type:TColumnType(types:[TTypeNode(type:SCALAR, scalar_type:TScalarType(type:BOOLEAN))]), num_children:2, is_constant:true, fn:TFunction(name:TFunctionName(db_name:_impala_builtins, function_name:lt), binary_type:BUILTIN, arg_types:[TColumnType(types:[TTypeNode(type:SCALAR, scalar_type:TScalarType(type:INT))]), TColumnType(types:[TTypeNode(type:SCALAR, scalar_type:TScalarType(type:INT))])], ret_type:TColumnType(types:[TTypeNode(type:SCALAR, scalar_type:TScalarType(type:BOOLEAN))]), has_var_args:false, signature:lt(INT, INT), scalar_fn:TScalarFunction(symbol:_ZN6impala9Operators16Lt_IntVal_IntValEPN10impala_udf15FunctionContextERKNS1_6IntValES6_), is_persistent:true)), TExprNode(node_type:NULL_LITERAL, type:TColumnType(types:[TTypeNode(type:SCALAR, scalar_type:TScalarType(type:INT))]), num_children:0, is_constant:true), TExprNode(node_type:INT_LITERAL, type:TColumnType(types:[TTypeNode(type:SCALAR, scalar_type:TScalarType(type:INT))]), num_children:0, is_constant:true, int_literal:TIntLiteral(value:10))])]) Result=TResultRow(colVals:[TColumnValue()]) I manually confirmed that the message is also dumped to the impalad log. -- To view, visit http://gerrit.cloudera.org:8080/9545 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I36e2c1185836262759c809632d69d0126af9bdbf Gerrit-Change-Number: 9545 Gerrit-PatchSet: 1 Gerrit-Owner: Alex Behm <alex.b...@cloudera.com> Gerrit-Reviewer: Alex Behm <alex.b...@cloudera.com> Gerrit-Comment-Date: Thu, 08 Mar 2018 00:02:43 +0000 Gerrit-HasComments: No