vamshikrishnakyatham commented on code in PR #14046:
URL: https://github.com/apache/hudi/pull/14046#discussion_r2400639197
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/ProvidesHoodieConfig.scala:
##########
@@ -215,7 +215,11 @@ trait ProvidesHoodieConfig extends Logging {
val insertDupPolicy = combinedOpts.getOrElse(INSERT_DUP_POLICY.key(),
INSERT_DUP_POLICY.defaultValue())
val isNonStrictMode = insertMode == InsertMode.NON_STRICT
val isPartitionedTable = hoodieCatalogTable.partitionFields.nonEmpty
- val combineBeforeInsert = !hoodieCatalogTable.orderingFields.isEmpty &&
hoodieCatalogTable.primaryKeys.nonEmpty
+ val combineBeforeInsert = if (sparkSqlInsertIntoOperationSet &&
sparkSqlInsertIntoOperation == "insert") {
Review Comment:
By default the user override will have the priority right? we will honor the
user provided conf as we do for rest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]