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

    https://github.com/apache/spark/pull/12036#discussion_r57958471
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala ---
    @@ -175,13 +176,49 @@ case class DescribeDatabase(
       }
     }
     
    +/**
    + * 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)],
         isTemp: Boolean)(sql: String)
    -  extends NativeDDLCommand(sql) with Logging
    +  extends NativeDDLCommand(sql) with Logging {
    --- End diff --
    
    this should extend `RunnableCommand` now right? Also we don't need the 
Logging.


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