Skip to content

Commit

Permalink
add debug info
Browse files Browse the repository at this point in the history
Signed-off-by: zenghua <[email protected]>
  • Loading branch information
zenghua committed Feb 7, 2024
1 parent 890d9fe commit c92a114
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ case class CompactionCommand(snapshotManagement: SnapshotManagement,
if (readPartitionInfo.nonEmpty) {
map.put("partValue", readPartitionInfo.head.range_value)
}
println("map = " + map)


val (newFiles, path) = tc.writeFiles(compactDF, Some(new LakeSoulOptions(map.toMap, spark.sessionState.conf)), isCompaction = true)
tc.commit(newFiles, Seq.empty, readPartitionInfo)
Expand Down

0 comments on commit c92a114

Please sign in to comment.