Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit 8c7e19a

Browse files
janewangfbgatorsmile
authored andcommitted
[SPARK-4131] Merge HiveTmpFile.scala to SaveAsHiveFile.scala
## What changes were proposed in this pull request? The code is already merged to master: apache#18975 This is a following up PR to merge HiveTmpFile.scala to SaveAsHiveFile. ## How was this patch tested? Build successfully Author: Jane Wang <[email protected]> Closes apache#19221 from janewangfb/merge_savehivefile_hivetmpfile.
1 parent 21c4450 commit 8c7e19a

File tree

4 files changed

+177
-205
lines changed

4 files changed

+177
-205
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveTmpPath.scala

Lines changed: 0 additions & 203 deletions
This file was deleted.

sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveDirCommand.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ case class InsertIntoHiveDirCommand(
5555
isLocal: Boolean,
5656
storage: CatalogStorageFormat,
5757
query: LogicalPlan,
58-
overwrite: Boolean) extends SaveAsHiveFile with HiveTmpPath {
58+
overwrite: Boolean) extends SaveAsHiveFile {
5959

6060
override def children: Seq[LogicalPlan] = query :: Nil
6161

sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ case class InsertIntoHiveTable(
7070
partition: Map[String, Option[String]],
7171
query: LogicalPlan,
7272
overwrite: Boolean,
73-
ifPartitionNotExists: Boolean) extends SaveAsHiveFile with HiveTmpPath {
73+
ifPartitionNotExists: Boolean) extends SaveAsHiveFile {
7474

7575
override def children: Seq[LogicalPlan] = query :: Nil
7676

0 commit comments

Comments
 (0)