Dremio query bug
select ‘1111’ || nullif(‘a’,‘a’) as test1
result is null , Correct results is ‘1111’
the code com/dremio/exec/expr/fn/impl/StringFunctions.java
@FunctionTemplate(name = “concatOperator”, scope = FunctionScope.SIMPLE, nulls = NullHandling.NULL_IF_NULL)
public static class ConcatOperator implements SimpleFunction {
Param VarCharHolder left; ---------changeto------------> NullableVarCharHolder
Param VarCharHolder right; ----------changeto-----------> NullableVarCharHolder
Output VarCharHolder out;
Inject ArrowBuf buffer;