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

[SQL Parser] Report Error for invalid usage of SET command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • SQL
    • None

    Description

      SET spark.sql.ansi.enabled true

      The above SQL command does not change the conf value and it just tries to display the value of conf "spark.sql.ansi.enabled true".

      We can disallow using the space in the conf name and issue a user friendly error instead. In the error message, we should tell users a workaround to use the quote if they still needs to specify a conf with a space. 

       

      Attachments

        Activity

          People

            maropu Takeshi Yamamuro
            smilegator Xiao Li
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: