Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
yaooqinn committed Sep 29, 2020
1 parent c0643f6 commit 40e2ffd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ case class RelationConversions(
plan resolveOperators {
// Write path
case InsertIntoStatement(
r: HiveTableRelation, partition, query, overwrite, ifPartitionNotExists)
r: HiveTableRelation, partition, cols, query, overwrite, ifPartitionNotExists)
if query.resolved && DDLUtils.isHiveTable(r.tableMeta) &&
(!r.isPartitioned || SQLConf.get.getConf(HiveUtils.CONVERT_INSERTING_PARTITIONED_TABLE))
&& isConvertible(r) =>
InsertIntoStatement(metastoreCatalog.convert(r), partition,
InsertIntoStatement(metastoreCatalog.convert(r), partition, cols,
query, overwrite, ifPartitionNotExists)

// Read path
Expand Down

0 comments on commit 40e2ffd

Please sign in to comment.