Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/12036#issuecomment-203111573
  
    @viirya I took a look at the existing code in `HiveFunctionRegistry` and I 
think there's some cleanup we need to do before we can implement these DDLs. In 
particular, temporary functions should not go through Hive (SPARK-14253). 
Instead, we should just create a function builder ourselves every time we get 
`CREATE TEMPORARY FUNCTION` and use that to call 
`sessionState.catalog.createTempFunction`. This ensures all temporary 
functions, even the ones extending Hive UDF classes, are maintained only in 
Spark. THEN it will be much easier to implement the DDLs in a clean way.
    
    I would recommend putting this task on hold in the mean time.


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