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

2016-10-25 Thread Dongjoon Hyun (JIRA)

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

Dongjoon Hyun edited comment on SPARK-18106 at 10/26/16 4:31 AM:
-

Thank you for reporting this bug.
I'll make a PR to fix this.



was (Author: dongjoon):
Thank you for reporting this bug, [~srinathc]
I'll make a PR to fix this.


> 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



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

2016-10-25 Thread Dongjoon Hyun (JIRA)

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

Dongjoon Hyun edited comment on SPARK-18106 at 10/26/16 4:30 AM:
-

Thank you for reporting this bug, [~srinathc]
I'll make a PR to fix this.



was (Author: dongjoon):
Thank you for reporting this bug, [~skomatir].
I'll make a PR to fix this.


> 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