Skip to content

Commit

Permalink
Register Coral IR UDF from_utf8() (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
aastha25 authored Jun 26, 2023
1 parent 2782dc5 commit 6a5d8f2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ public boolean isOptional(int i) {
createAddUserDefinedFunction("sha", FunctionReturnTypes.STRING,
or(family(SqlTypeFamily.STRING), family(SqlTypeFamily.BINARY)));
createAddUserDefinedFunction("crc32", BIGINT, or(family(SqlTypeFamily.STRING), family(SqlTypeFamily.BINARY)));
createAddUserDefinedFunction("from_utf8", explicit(SqlTypeName.VARCHAR), or(CHARACTER, BINARY));

// xpath functions
createAddUserDefinedFunction("xpath", FunctionReturnTypes.arrayOfType(SqlTypeName.VARCHAR), STRING_STRING);
Expand Down

0 comments on commit 6a5d8f2

Please sign in to comment.