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

Session variables

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 4.0.0
    • Spark Core
    • None

    Description

      Provide a type-safe, engine controlled session variable:

      CREATE [ OR REPLACE } TEMPORARY VARIABLE [ IF NOT EXISTS ]var_name  [ type ][ DEFAULT expresion ]

      SET {  variable = expression | ( variable [, ...] ) = ( subquery | expression [, ...] )

      DROP VARIABLE  [ IF EXISTS ]variable_name

      Attachments

        Activity

          People

            srielau Serge Rielau
            srielau Serge Rielau
            Wenchen Fan Wenchen Fan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: