Skip to content

Commit

Permalink
Change return type to address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiang Fu committed Sep 19, 2024
1 parent 27ce9d9 commit 40d7ad1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ public boolean isOptional(int i) {
createAddUserDefinedFunction("com.linkedin.groot.runtime.udf.spark.GetMappedValueUDF", FunctionReturnTypes.STRING,
family(SqlTypeFamily.STRING, SqlTypeFamily.STRING));
createAddUserDefinedFunction("com.linkedin.groot.runtime.udf.spark.ExtractCollectionUDF",
FunctionReturnTypes.arrayOfType(SqlTypeName.ANY, true), family(SqlTypeFamily.ANY, SqlTypeFamily.STRING));
FunctionReturnTypes.arrayOfType(SqlTypeName.VARCHAR, true), family(SqlTypeFamily.ANY, SqlTypeFamily.STRING));

// UDTFs
addFunctionEntry("explode", new CoralSqlUnnestOperator(false));
Expand Down

0 comments on commit 40d7ad1

Please sign in to comment.