Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-2919] [SQL] Basic support for analyze command in HiveQl #1848

Closed
wants to merge 2 commits into from
Closed

[SPARK-2919] [SQL] Basic support for analyze command in HiveQl #1848

wants to merge 2 commits into from

Conversation

yhuai
Copy link
Contributor

@yhuai yhuai commented Aug 8, 2014

The command we will support is

ANALYZE TABLE tablename COMPUTE STATISTICS noscan

Other cases shown in https://cwiki.apache.org/confluence/display/Hive/StatsDev#StatsDev-ExistingTables will still be treated as Hive native commands.

JIRA: https://issues.apache.org/jira/browse/SPARK-2919

@SparkQA
Copy link

SparkQA commented Aug 8, 2014

QA tests have started for PR 1848. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18183/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 8, 2014

QA results for PR 1848:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18183/consoleFull

// Analyze partitions will be treated as a Hive native command.
NativePlaceholder
} else if (isNoscan.isEmpty) {
// If users do not specific "noscan", it will be treated as a Hive native command.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: "specify"

@SparkQA
Copy link

SparkQA commented Aug 8, 2014

QA tests have started for PR 1848. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18214/consoleFull

@marmbrus
Copy link
Contributor

marmbrus commented Aug 8, 2014

Thanks! Merged to master and 1.1

asfgit pushed a commit that referenced this pull request Aug 8, 2014
The command we will support is
```
ANALYZE TABLE tablename COMPUTE STATISTICS noscan
```
Other cases shown in https://cwiki.apache.org/confluence/display/Hive/StatsDev#StatsDev-ExistingTables will still be treated as Hive native commands.

JIRA: https://issues.apache.org/jira/browse/SPARK-2919

Author: Yin Huai <huai@cse.ohio-state.edu>

Closes #1848 from yhuai/sqlAnalyze and squashes the following commits:

0b79d36 [Yin Huai] Typo and format.
c59d94b [Yin Huai] Support "ANALYZE TABLE tableName COMPUTE STATISTICS noscan".

(cherry picked from commit 45d8f4d)
Signed-off-by: Michael Armbrust <michael@databricks.com>
@asfgit asfgit closed this in 45d8f4d Aug 8, 2014
@SparkQA
Copy link

SparkQA commented Aug 8, 2014

QA results for PR 1848:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18214/consoleFull

xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
The command we will support is
```
ANALYZE TABLE tablename COMPUTE STATISTICS noscan
```
Other cases shown in https://cwiki.apache.org/confluence/display/Hive/StatsDev#StatsDev-ExistingTables will still be treated as Hive native commands.

JIRA: https://issues.apache.org/jira/browse/SPARK-2919

Author: Yin Huai <huai@cse.ohio-state.edu>

Closes apache#1848 from yhuai/sqlAnalyze and squashes the following commits:

0b79d36 [Yin Huai] Typo and format.
c59d94b [Yin Huai] Support "ANALYZE TABLE tableName COMPUTE STATISTICS noscan".
@yhuai yhuai deleted the sqlAnalyze branch October 6, 2014 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants