Skip to content

Commit

Permalink
Revert scope change to statsTrackers
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Vaughan Jr committed Mar 28, 2024
1 parent a07a4db commit 8bea69e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ case class InsertIntoHadoopFsRelationCommand(
qualifiedOutputPath
}

val statsTrackers = Seq(basicWriteJobStatsTracker(hadoopConf))
val updatedPartitionPaths =
FileFormatWriter.write(
sparkSession = sparkSession,
Expand All @@ -186,10 +185,11 @@ case class InsertIntoHadoopFsRelationCommand(
hadoopConf = hadoopConf,
partitionColumns = partitionColumns,
bucketSpec = bucketSpec,
statsTrackers = statsTrackers,
statsTrackers = Seq(basicWriteJobStatsTracker(hadoopConf)),
options = options,
numStaticPartitionCols = staticPartitions.size)


// update metastore partition metadata
if (updatedPartitionPaths.isEmpty && staticPartitions.nonEmpty
&& partitionColumns.length == staticPartitions.size) {
Expand Down

0 comments on commit 8bea69e

Please sign in to comment.