[ 
https://issues.apache.org/jira/browse/SPARK-18106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Srinath updated SPARK-18106:
----------------------------
    Description: 
{noformat}
scala> sql("create table test(a int)")
res2: org.apache.spark.sql.DataFrame = []

scala> sql("analyze table test compute statistics blah")
res3: org.apache.spark.sql.DataFrame = []
{noformat}

An identifier that is not "noscan" produces an AnalyzeTableCommand with 
noscan=false

  was:
{noformat}
scala> sql("create table test(a int)")
res2: org.apache.spark.sql.DataFrame = []

scala> sql("analyze table test compute statistics blah")
res3: org.apache.spark.sql.DataFrame = []
{noformat}

An identifier that is not noscan produces an AnalyzeTableCommand with 
noscan=false


> Analyze Table accepts a garbage identifier at the end
> -----------------------------------------------------
>
>                 Key: SPARK-18106
>                 URL: https://issues.apache.org/jira/browse/SPARK-18106
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Srinath
>            Priority: Minor
>
> {noformat}
> scala> sql("create table test(a int)")
> res2: org.apache.spark.sql.DataFrame = []
> scala> sql("analyze table test compute statistics blah")
> res3: org.apache.spark.sql.DataFrame = []
> {noformat}
> An identifier that is not "noscan" produces an AnalyzeTableCommand with 
> noscan=false



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to