Skip to content

[SPARK-16036][SPARK-16037][SPARK-16034][SQL] Follow up code clean up and improvement - #13766

Closed
yhuai wants to merge 4 commits into
apache:masterfrom
yhuai:caseSensitivity
Closed

[SPARK-16036][SPARK-16037][SPARK-16034][SQL] Follow up code clean up and improvement#13766
yhuai wants to merge 4 commits into
apache:masterfrom
yhuai:caseSensitivity

Conversation

@yhuai

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR is the follow-up PR for https://github.com/apache/spark/pull/13754/files and #13749. I will comment inline to explain my changes.

How was this patch tested?

Existing tests.

@yhuaiyhuai changed the title [SPARK-16036][SPARK-16037][SPARK-16034][SQL] Follow up clean up and [SPARK-16036][SPARK-16037][SPARK-16034][SQL] Follow up code clean up and improvementJun 19, 2016
None
} else {
// Note: The parser (visitPartitionSpec in AstBuilder) already turns
// keys in partition to their lowercase forms.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

@SparkQA

Copy link
Copy Markdown

Test build #60794 has finished for PR 13766 at commit 1300813.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan

Copy link
Copy Markdown
Contributor

LGTM

@yhuai

Copy link
Copy Markdown
ContributorAuthor

Thanks. I am merging this to master and branch 2.0.

asfgit pushed a commit that referenced this pull request Jun 20, 2016
…and improvement
## What changes were proposed in this pull request?
This PR is the follow-up PR for https://github.com/apache/spark/pull/13754/files and #13749. I will comment inline to explain my changes.
## How was this patch tested?
Existing tests.
Author: Yin Huai <yhuai@databricks.com>
Closes#13766 from yhuai/caseSensitivity.
(cherry picked from commit 6d0f921)
Signed-off-by: Yin Huai <yhuai@databricks.com>
ghost pushed a commit to dbtsai/spark that referenced this pull request Jun 20, 2016
…to data source tables
## What changes were proposed in this pull request?
This PR adds the static partition support to INSERT statement when the target table is a data source table.
## How was this patch tested?
New tests in InsertIntoHiveTableSuite and DataSourceAnalysisSuite.
**Note: This PR is based on apache#13766. The last commit is the actual change.**
Author: Yin Huai <yhuai@databricks.com>
Closesapache#13769 from yhuai/SPARK-16030-1.
asfgit pushed a commit that referenced this pull request Jun 20, 2016
…to data source tables
## What changes were proposed in this pull request?
This PR adds the static partition support to INSERT statement when the target table is a data source table.
## How was this patch tested?
New tests in InsertIntoHiveTableSuite and DataSourceAnalysisSuite.
**Note: This PR is based on #13766. The last commit is the actual change.**
Author: Yin Huai <yhuai@databricks.com>
Closes#13769 from yhuai/SPARK-16030-1.
(cherry picked from commit 905f774)
Signed-off-by: Cheng Lian <lian@databricks.com>
ghost pushed a commit to dbtsai/spark that referenced this pull request Jun 21, 2016
…ases for by position resolution
## What changes were proposed in this pull request?
This PR migrates some test cases introduced in apache#12313 as a follow-up of apache#13754 and apache#13766. These test cases cover `DataFrameWriter.insertInto()`, while the former two only cover SQL `INSERT` statements.
Note that the `testPartitionedTable` utility method tests both Hive SerDe tables and data source tables.
## How was this patch tested?
N/A
Author: Cheng Lian <lian@databricks.com>
Closesapache#13810 from liancheng/spark-16037-follow-up-tests.
asfgit pushed a commit that referenced this pull request Jun 21, 2016
…ases for by position resolution
## What changes were proposed in this pull request?
This PR migrates some test cases introduced in #12313 as a follow-up of #13754 and #13766. These test cases cover `DataFrameWriter.insertInto()`, while the former two only cover SQL `INSERT` statements.
Note that the `testPartitionedTable` utility method tests both Hive SerDe tables and data source tables.
## How was this patch tested?
N/A
Author: Cheng Lian <lian@databricks.com>
Closes#13810 from liancheng/spark-16037-follow-up-tests.
(cherry picked from commit f4a3d45)
Signed-off-by: Yin Huai <yhuai@databricks.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@yhuai@SparkQA@cloud-fan