Skip to content

Commit

Permalink
Add function in static hive registry (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
phd3 authored Jul 19, 2024
1 parent f93b1c3 commit 96e24e0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,8 @@ public boolean isOptional(int i) {
family(SqlTypeFamily.BOOLEAN, SqlTypeFamily.ANY, SqlTypeFamily.STRING, SqlTypeFamily.ANY));
createAddUserDefinedFunction("com.linkedin.groot.runtime.udf.spark.RedactSecondarySchemaFieldIfUDF", ARG1, family(
SqlTypeFamily.BOOLEAN, SqlTypeFamily.ANY, SqlTypeFamily.ARRAY, SqlTypeFamily.STRING, SqlTypeFamily.STRING));
createAddUserDefinedFunction("com.linkedin.groot.runtime.udf.spark.GetMappedValueUDF", FunctionReturnTypes.STRING,
family(SqlTypeFamily.STRING, SqlTypeFamily.STRING));

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

0 comments on commit 96e24e0

Please sign in to comment.