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

Split a SQL in a correct way

    XMLWordPrintableJSON

Details

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

    Description

      First:

      ./build/mvn -Phive-thriftserver -DskipTests package

       

      Then:

      $ bin/spark-sql

       

      18/12/10 19:35:02 INFO SparkSQLCLIDriver: Time taken: 4.483 seconds, Fetched 1 row(s)
      spark-sql> select "1;2";
      Error in query:
      no viable alternative at input 'select "'(line 1, pos 7)

      == SQL ==
      select "1
      -------^^^

      Attachments

        Issue Links

          Activity

            People

              yumwang Yuming Wang
              sadhen Darcy Shen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: