Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-10902

Hive UDF current_database() does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.6.0
    • SQL
    • None

    Description

      Hive UDF current_database() is foldable, it need to access the SessionState in metadataHive to evaluate it, but this not accessible while optimizing the query plan.

      Attachments

        Activity

          People

            davies Davies Liu
            davies Davies Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: