Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/1072#discussion_r13736482
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveStrategies.scala ---
@@ -44,8 +44,9 @@ private[hive] trait HiveStrategies {
def apply(plan: LogicalPlan): Seq[SparkPlan] = plan match {
case logical.InsertIntoTable(table: MetastoreRelation, partition,
child, overwrite) =>
InsertIntoHiveTable(table, partition, planLater(child),
overwrite)(hiveContext) :: Nil
- case
logical.InsertIntoTable(SparkLogicalPlan(InMemoryColumnarTableScan(
- _, HiveTableScan(_, table, _), _)), partition, child, overwrite) =>
+ case logical.InsertIntoTable(
+ InMemoryRelation(_, _,
+ HiveTableScan(_, table, _)), partition, child, overwrite) =>
InsertIntoHiveTable(table, partition, planLater(child),
overwrite)(hiveContext) :: Nil
--- End diff --
We don't invalidate cached table content here. Maybe we should add a link
to the corresponding JIRA ticket to remind that.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---