spark-instrumented-optimizer/sql/catalyst/src/main
Wenchen Fan 3d010c8375 [SPARK-16036][SPARK-16037][SQL] fix various table insertion problems
## What changes were proposed in this pull request?

The current table insertion has some weird behaviours:

1. inserting into a partitioned table with mismatch columns has confusing error message for hive table, and wrong result for datasource table
2. inserting into a partitioned table without partition list has wrong result for hive table.

This PR fixes these 2 problems.

## How was this patch tested?

new test in hive `SQLQuerySuite`

Author: Wenchen Fan <wenchen@databricks.com>

Closes #13754 from cloud-fan/insert2.
2016-06-18 10:32:27 -07:00
..
antlr4/org/apache/spark/sql/catalyst/parser [SPARK-15706][SQL] Fix Wrong Answer when using IF NOT EXISTS in INSERT OVERWRITE for DYNAMIC PARTITION 2016-06-16 22:54:02 -07:00
java/org/apache/spark/sql [SPARK-14851][CORE] Support radix sort with nullable longs 2016-06-11 15:42:58 -07:00
scala/org/apache/spark/sql [SPARK-16036][SPARK-16037][SQL] fix various table insertion problems 2016-06-18 10:32:27 -07:00