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

Implement SESSION_USER function

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL
    • None

    Description

      According to SQL standard SESSION_USER and CURRENT_USER behavior differs for routines:

      • CURRENT_USER inside a routine should return security definer of a routine, e.g. owner identity
      • SESSION_USER inside a routine should return connected user.

      Attachments

        Activity

          People

            vli-databricks Vitalii Li
            vli-databricks Vitalii Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: