[Bug][Vectorized] Support array function in where pre in volap_scan_node (#10467)

Co-authored-by: lihaopeng <lihaopeng@baidu.com>
Support array function in where pre in volap_scan_node
This commit is contained in:
HappenLee
2022-07-09 16:22:01 +08:00
committed by GitHub
parent 24d824a783
commit 1f08f2d144
3 changed files with 11 additions and 0 deletions

View File

@ -1265,6 +1265,11 @@ public class FunctionSet<T> {
boolean varArgs, Type ... args) {
ArrayList<Type> argsType = new ArrayList<Type>();
for (Type type : args) {
// only to prevent olap scan node use array expr to find a fake symbol
// TODO: delete the code after we remove origin exec engine
if (type.isArrayType()) {
symbol = "_ZN5doris19array_fake_functionEPN9doris_udf15FunctionContextE";
}
argsType.add(type);
}
addBuiltinBothScalaAndVectorized(ScalarFunction.createBuiltin(