spark-instrumented-optimizer/sql/hive
Yin Huai 3eccf29ce0 [SPARK-5595][SPARK-5603][SQL] Add a rule to do PreInsert type casting and field renaming and invalidating in memory cache after INSERT
This PR adds a rule to Analyzer that will add preinsert data type casting and field renaming to the select clause in an `INSERT INTO/OVERWRITE` statement. Also, with the change of this PR, we always invalidate our in memory data cache after inserting into a BaseRelation.

cc marmbrus liancheng

Author: Yin Huai <yhuai@databricks.com>

Closes #4373 from yhuai/insertFollowUp and squashes the following commits:

08237a7 [Yin Huai] Merge remote-tracking branch 'upstream/master' into insertFollowUp
316542e [Yin Huai] Doc update.
c9ccfeb [Yin Huai] Revert a unnecessary change.
84aecc4 [Yin Huai] Address comments.
1951fe1 [Yin Huai] Merge remote-tracking branch 'upstream/master'
c18da34 [Yin Huai] Invalidate cache after insert.
727f21a [Yin Huai] Preinsert casting and renaming.
2015-02-06 12:38:07 -08:00
..
compatibility/src/test/scala/org/apache/spark/sql/hive/execution [SPARK-4508] [SQL] build native date type to conform behavior to Hive 2015-02-03 12:21:45 -08:00
src [SPARK-5595][SPARK-5603][SQL] Add a rule to do PreInsert type casting and field renaming and invalidating in memory cache after INSERT 2015-02-06 12:38:07 -08:00
v0.12.0/src/main/scala/org/apache/spark/sql/hive [SPARK-4508] [SQL] build native date type to conform behavior to Hive 2015-02-03 12:21:45 -08:00
v0.13.1/src/main/scala/org/apache/spark/sql/hive [SPARK-4508] [SQL] build native date type to conform behavior to Hive 2015-02-03 12:21:45 -08:00
pom.xml [SPARK-4048] Enhance and extend hadoop-provided profile. 2015-01-08 17:15:13 -08:00