Skip to content

Commit

Permalink
[Coral-Trino] Map some UDFs to Trino UDF (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljfgem authored Aug 21, 2024
1 parent aa086d1 commit 9e79488
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@ protected SqlCall transform(SqlCall sqlCall) {
"com.linkedin.stdudfs.urnextractor.hive.UrnExtractorFunctionWrapper", 1, "urn_extractor"),
new CoralRegistryOperatorRenameSqlCallTransformer(
"com.linkedin.stdudfs.hive.daliudfs.UrnExtractorFunctionWrapper", 1, "urn_extractor"),
new CoralRegistryOperatorRenameSqlCallTransformer("com.linkedin.groot.runtime.udf.spark.HasMemberConsentUDF", 3,
"has_member_consent"),
new CoralRegistryOperatorRenameSqlCallTransformer("com.linkedin.groot.runtime.udf.spark.RedactFieldIfUDF", 4,
"urn_extractor"),
new CoralRegistryOperatorRenameSqlCallTransformer(
"com.linkedin.groot.runtime.udf.spark.RedactSecondarySchemaFieldIfUDF", 5,
"redact_secondary_schema_field_if"),
new CoralRegistryOperatorRenameSqlCallTransformer("com.linkedin.groot.runtime.udf.spark.GetMappedValueUDF", 2,
"get_mapped_value"),
new GenericCoralRegistryOperatorRenameSqlCallTransformer(),

new ReturnTypeAdjustmentTransformer(configs), new UnnestOperatorTransformer(), new AsOperatorTransformer(),
Expand Down

0 comments on commit 9e79488

Please sign in to comment.