Skip to content

Commit

Permalink
Change the signature of UDF registration in Coral (#457)
Browse files Browse the repository at this point in the history
Co-authored-by: Yiqiang Ding
  • Loading branch information
yiqiangin authored Sep 29, 2023
1 parent f282a9c commit 4fb8aa8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ public boolean isOptional(int i) {
createAddUserDefinedFunction("com.linkedin.dali.customudf.date.hive.DateFormatToEpoch", BIGINT_NULLABLE,
STRING_STRING_STRING);
createAddUserDefinedFunction("com.linkedin.policy.decoration.udfs.HasMemberConsent", ReturnTypes.BOOLEAN,
family(SqlTypeFamily.STRING, SqlTypeFamily.ANY, SqlTypeFamily.TIMESTAMP, SqlTypeFamily.BOOLEAN));
family(SqlTypeFamily.STRING, SqlTypeFamily.ANY, SqlTypeFamily.TIMESTAMP));

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

0 comments on commit 4fb8aa8

Please sign in to comment.