.setMessage("Concatenation does not support "+ type +" in expression" + node).build().buildException();
}
}
ImmutableBytesWritable ptr = context.getTempPtr();
if (expression.isStateless()) {
if (!expression.evaluate(null,ptr) || ptr.getLength() == 0) {
return LiteralExpression.newConstant(null, expression.getDataType(), expression.isDeterministic());
}
return LiteralExpression.newConstant(expression.getDataType().toObject(ptr), expression.getDataType(), expression.isDeterministic());
}
return wrapGroupByExpression(expression);