Skip to content

Conversation

@yhuai
Copy link
Contributor

@yhuai yhuai commented Jun 19, 2016

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.

@yhuai yhuai 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 improvement Jun 19, 2016
None
} else {
// Note: The parser (visitPartitionSpec in AstBuilder) already turns
// keys in partition to their lowercase forms.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@SparkQA
Copy link

SparkQA commented Jun 19, 2016

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
Contributor

LGTM

@yhuai
Copy link
Contributor Author

yhuai commented Jun 20, 2016

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 <[email protected]>

Closes #13766 from yhuai/caseSensitivity.

(cherry picked from commit 6d0f921)
Signed-off-by: Yin Huai <[email protected]>
@asfgit asfgit closed this in 6d0f921 Jun 20, 2016
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 <[email protected]>

Closes apache#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 <[email protected]>

Closes #13769 from yhuai/SPARK-16030-1.

(cherry picked from commit 905f774)
Signed-off-by: Cheng Lian <[email protected]>
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 <[email protected]>

Closes apache#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 <[email protected]>

Closes #13810 from liancheng/spark-16037-follow-up-tests.

(cherry picked from commit f4a3d45)
Signed-off-by: Yin Huai <[email protected]>
Sign up for free to 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