Github user yhuai commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12874#discussion_r63096013
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala ---
    @@ -219,20 +219,4 @@ private[sql] class HiveSessionCatalog(
             }
         }
       }
    -
    -  // Pre-load a few commonly used Hive built-in functions.
    -  HiveSessionCatalog.preloadedHiveBuiltinFunctions.foreach {
    -    case (functionName, clazz) =>
    -      val builder = makeFunctionBuilder(functionName, clazz)
    -      val info = new ExpressionInfo(clazz.getCanonicalName, functionName)
    -      createTempFunction(functionName, info, builder, ignoreIfExists = 
false)
    -  }
    -}
    -
    -private[sql] object HiveSessionCatalog {
    -  // This is the list of Hive's built-in functions that are commonly used 
and we want to
    -  // pre-load when we create the FunctionRegistry.
    -  val preloadedHiveBuiltinFunctions =
    -    ("collect_set", 
classOf[org.apache.hadoop.hive.ql.udf.generic.GenericUDAFCollectSet]) ::
    -    ("collect_list", 
classOf[org.apache.hadoop.hive.ql.udf.generic.GenericUDAFCollectList]) :: Nil
    --- End diff --
    
    nice


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to