From 2e35d7d493ac5ac38a8da699935a9e78fd1a214b Mon Sep 17 00:00:00 2001 From: jiefli_LinkedIn Date: Wed, 31 Jul 2024 20:34:26 -0400 Subject: [PATCH] Modify java doc --- .../coral/spark/transformers/HiveUDFTransformer.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/coral-spark/src/main/java/com/linkedin/coral/spark/transformers/HiveUDFTransformer.java b/coral-spark/src/main/java/com/linkedin/coral/spark/transformers/HiveUDFTransformer.java index f05eb01b8..38406f942 100644 --- a/coral-spark/src/main/java/com/linkedin/coral/spark/transformers/HiveUDFTransformer.java +++ b/coral-spark/src/main/java/com/linkedin/coral/spark/transformers/HiveUDFTransformer.java @@ -23,11 +23,9 @@ /** - * After failing to transform UDF with {@link TransportUDFTransformer}, - * we use this transformer to fall back to the original Hive UDF defined in - * {@link com.linkedin.coral.hive.hive2rel.functions.StaticHiveFunctionRegistry}. - * This is reasonable since Spark understands and has ability to run Hive UDF. - * Check `CoralSparkTest#testHiveUDFTransformer()` for an example. + * This transformer converts the Hive UDF SqlCall name from the UDF class name (e.g., `com.linkedin.HiveUDF`) + * to the corresponding view-dependent UDF name in the view text. It also adds the UDF information to `sparkUDFInfos`. + * Refer to `CoralSparkTest#testHiveUDFTransformer()` for an example. */ public class HiveUDFTransformer extends SqlCallTransformer { private static final Logger LOG = LoggerFactory.getLogger(HiveUDFTransformer.class);