You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/10 15:16:00 UTC

[jira] [Commented] (SPARK-26321) Split a SQL in a correct way

    [ https://issues.apache.org/jira/browse/SPARK-26321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714891#comment-16714891 ] 

ASF GitHub Bot commented on SPARK-26321:
----------------------------------------

sadhen opened a new pull request #23276: [SPARK-26321][SQL] Split a SQL in a correct way
URL: https://github.com/apache/spark/pull/23276
 
 
   ## What changes were proposed in this pull request?
   
   Split a SQL in a correct way
   
   ## How was this patch tested?
   Manually tested:
   ```
   $ ./build/mvn -Phive-thriftserver -DskipTests package
   $ bin/spark-sql
   > select "^;^";
   ```
   
   Unit Tests:
   ```
   $ build/sbt -Phive-thriftserver
   > project hive-thriftserver
   > testOnly *SparkSQLCLIDriverSuite
   > project catalyst
   > testOnly *StringUtilsSuite
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Split a SQL in a correct way
> ----------------------------
>
>                 Key: SPARK-26321
>                 URL: https://issues.apache.org/jira/browse/SPARK-26321
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Darcy Shen
>            Priority: Major
>
> 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
>  -------^^^



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org