Github user gatorsmile commented on the pull request:

    https://github.com/apache/spark/pull/12081#issuecomment-208108264
  
    No clue... In my local environment, it is not using Hive's UDF. 
    ```
    == Parsed Logical Plan ==
    'Project [unresolvedalias('current_database(), None)]
    +- OneRowRelation$
    
    == Analyzed Logical Plan ==
    currentdatabase(): string
    Project [currentdatabase(org.apache.spark.sql.hive.test.TestHive$@62de70e2) 
AS currentdatabase()#5]
    +- OneRowRelation$
    
    == Optimized Logical Plan ==
    Project [default AS currentdatabase()#5]
    +- OneRowRelation$
    
    == Physical Plan ==
    WholeStageCodegen
    :  +- Project [default AS currentdatabase()#5]
    :     +- INPUT
    +- Scan OneRowRelation[]
    ```
    Will continue the investigation. 


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