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

    https://github.com/apache/spark/pull/12036#discussion_r57769787
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala ---
    @@ -86,13 +87,50 @@ case class DescribeDatabase(
         extended: Boolean)(sql: String)
       extends NativeDDLCommand(sql) with Logging
     
    +/**
    + * The DDL command that creates a function.
    + * alias: the class name that implements the created function.
    + * resources: Jars, files, or archives which need to be added to the 
environment when the function
    + *            is referenced for the first time by a session.
    + * isTemp: indicates if it is a temporary function.
    + */
     case class CreateFunction(
         databaseName: Option[String],
         functionName: String,
         alias: String,
         resources: Seq[(String, String)],
    --- End diff --
    
    resources is not used here? I think we need to change `CatalogFunction` to 
include resources so we can propagate that to Hive properly.


---
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