You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Srinath (JIRA)" <ji...@apache.org> on 2016/10/26 00:53:58 UTC

[jira] [Updated] (SPARK-18106) Analyze Table accepts a garbage identifier at the end

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org