Skip to content

Commit

Permalink
Restoring existing behavior for Insert Into to deduplicate by default…
Browse files Browse the repository at this point in the history
… (if pre-combine is specified)
  • Loading branch information
Alexey Kudinkin committed Feb 2, 2023
1 parent 8f4a92b commit 4f2eef7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ trait ProvidesHoodieConfig extends Logging {

val defaultOpts = Map(
PAYLOAD_CLASS_NAME.key -> payloadClassName,
// NOTE: By default insert would try to do deduplication in case that pre-combine column is specified
// for the table
HoodieWriteConfig.COMBINE_BEFORE_INSERT.key -> String.valueOf(hasPrecombineColumn),
)

val overridingOpts = Map(
Expand Down

0 comments on commit 4f2eef7

Please sign in to comment.