You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "xushiyan (via GitHub)" <gi...@apache.org> on 2023/09/08 23:19:58 UTC
[GitHub] [hudi] xushiyan opened a new pull request, #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
xushiyan opened a new pull request, #9665:
URL: https://github.com/apache/hudi/pull/9665
### Change Logs
When users explicitly defines primaryKey and preCombineField when `CREATE TABLE`, subsequent `INSERT INTO` will deduce the operation as `UPSERT`.
### Impact
Spark `INSERT INTO` semantics.
### Risk level
Medium
### Documentation Update
NA
### Contributor's checklist
- [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
- [ ] Change Logs and Impact were stated clearly
- [ ] Adequate tests were added if applicable
- [ ] CI passed
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] xushiyan commented on a diff in pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "xushiyan (via GitHub)" <gi...@apache.org>.
xushiyan commented on code in PR #9665:
URL: https://github.com/apache/hudi/pull/9665#discussion_r1320425108
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/AutoRecordKeyGenerationUtils.scala:
##########
@@ -32,29 +31,29 @@ object AutoRecordKeyGenerationUtils {
private val log = LoggerFactory.getLogger(getClass)
def mayBeValidateParamsForAutoGenerationOfRecordKeys(parameters: Map[String, String], hoodieConfig: HoodieConfig): Unit = {
- val autoGenerateRecordKeys = isAutoGenerateRecordKeys(parameters)
- // hudi will auto generate.
- if (autoGenerateRecordKeys) {
Review Comment:
diff here is just for early return
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] xushiyan commented on a diff in pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "xushiyan (via GitHub)" <gi...@apache.org>.
xushiyan commented on code in PR #9665:
URL: https://github.com/apache/hudi/pull/9665#discussion_r1322242940
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/ProvidesHoodieConfig.scala:
##########
@@ -208,19 +211,22 @@ trait ProvidesHoodieConfig extends Logging {
val isPartitionedTable = hoodieCatalogTable.partitionFields.nonEmpty
val combineBeforeInsert = hoodieCatalogTable.preCombineKey.nonEmpty && hoodieCatalogTable.primaryKeys.nonEmpty
- // try to use sql write operation instead of legacy insert mode. If only insert mode is explicitly specified, w/o specifying
- // any value for sql write operation, leagcy configs will be honored. But on all other cases (i.e when neither of the configs is set,
- // or when both configs are set, or when only sql write operation is set), we honor sql write operation and ignore
- // the insert mode.
+ /*
+ * The sql write operation has higher precedence than the legacy insert mode.
+ * Only when the legacy insert mode is explicitly set, without setting sql write operation,
+ * legacy configs will be honored. On all other cases (i.e when both are set, either is set,
+ * or when only the sql write operation is set), we honor the sql write operation.
+ */
val useLegacyInsertModeFlow = insertModeSet && !sqlWriteOperationSet
var operation = combinedOpts.getOrElse(OPERATION.key,
if (useLegacyInsertModeFlow) {
// NOTE: Target operation could be overridden by the user, therefore if it has been provided as an input
// we'd prefer that value over auto-deduced operation. Otherwise, we deduce target operation type
deduceOperation(enableBulkInsert, isOverwritePartition, isOverwriteTable, dropDuplicate,
- isNonStrictMode, isPartitionedTable, combineBeforeInsert, insertMode, autoGenerateRecordKeys)
+ isNonStrictMode, isPartitionedTable, combineBeforeInsert, insertMode, shouldAutoKeyGen)
} else {
- deduceSparkSqlInsertIntoWriteOperation(isOverwritePartition, isOverwriteTable, sqlWriteOperation)
+ deduceSparkSqlInsertIntoWriteOperation(isOverwritePartition, isOverwriteTable,
+ shouldAutoKeyGen, preCombineField, sqlWriteOperation)
Review Comment:
yup `combinedOpts` should be used for deriving logic.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] xushiyan commented on a diff in pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "xushiyan (via GitHub)" <gi...@apache.org>.
xushiyan commented on code in PR #9665:
URL: https://github.com/apache/hudi/pull/9665#discussion_r1322239472
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/AutoRecordKeyGenerationUtils.scala:
##########
@@ -54,7 +51,9 @@ object AutoRecordKeyGenerationUtils {
}
}
- def isAutoGenerateRecordKeys(parameters: Map[String, String]): Boolean = {
- !parameters.contains(KeyGeneratorOptions.RECORDKEY_FIELD_NAME.key()) // if record key is not configured,
+ def shouldAutoGenerateRecordKeys(parameters: Map[String, String]): Boolean = {
+ val recordKeyFromTableConfig = parameters.getOrElse(HoodieTableConfig.RECORDKEY_FIELDS.key(), "")
+ val recordKeyFromWriterConfig = parameters.getOrElse(KeyGeneratorOptions.RECORDKEY_FIELD_NAME.key(), "")
+ recordKeyFromTableConfig.isEmpty && recordKeyFromWriterConfig.isEmpty
Review Comment:
this gives more flexibility without assuming `parameters`, right?
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1712359057
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
}, {
"hash" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b134855bf923e5932c76b3a5117515cd3e49afe7 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762)
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
* 18d03141e69fc59e700e9abf9b14ba4028ce307d UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1712355980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b134855bf923e5932c76b3a5117515cd3e49afe7 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762)
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1714910012
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
}, {
"hash" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763",
"triggerID" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"triggerType" : "PUSH"
}, {
"hash" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780",
"triggerID" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"triggerType" : "PUSH"
}, {
"hash" : "01cbf0b100b12327dace2925e0a74fca9aca9586",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19824",
"triggerID" : "01cbf0b100b12327dace2925e0a74fca9aca9586",
"triggerType" : "PUSH"
}, {
"hash" : "3bba27161033b723abe445bb1bb62596d0040d84",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "1714900388",
"triggerType" : "MANUAL"
}, {
"hash" : "",
"status" : "CANCELED",
"url" : "TBD",
"triggerID" : "1714900388",
"triggerType" : "MANUAL"
}, {
"hash" : "3bba27161033b723abe445bb1bb62596d0040d84",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "3bba27161033b723abe445bb1bb62596d0040d84",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
* 01cbf0b100b12327dace2925e0a74fca9aca9586 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19824)
* Unknown: [CANCELED](TBD)
* 3bba27161033b723abe445bb1bb62596d0040d84 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1715158291
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
}, {
"hash" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763",
"triggerID" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"triggerType" : "PUSH"
}, {
"hash" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780",
"triggerID" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"triggerType" : "PUSH"
}, {
"hash" : "01cbf0b100b12327dace2925e0a74fca9aca9586",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19824",
"triggerID" : "01cbf0b100b12327dace2925e0a74fca9aca9586",
"triggerType" : "PUSH"
}, {
"hash" : "3bba27161033b723abe445bb1bb62596d0040d84",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19829",
"triggerID" : "1714900388",
"triggerType" : "MANUAL"
}, {
"hash" : "3bba27161033b723abe445bb1bb62596d0040d84",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19829",
"triggerID" : "3bba27161033b723abe445bb1bb62596d0040d84",
"triggerType" : "PUSH"
}, {
"hash" : "",
"status" : "DELETED",
"url" : "TBD",
"triggerID" : "1714900388",
"triggerType" : "MANUAL"
} ]
}-->
## CI report:
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
* 3bba27161033b723abe445bb1bb62596d0040d84 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19829)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1712767783
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
}, {
"hash" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763",
"triggerID" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"triggerType" : "PUSH"
}, {
"hash" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
* 18d03141e69fc59e700e9abf9b14ba4028ce307d Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763)
* b41052b9733e2f24aa17f743a5ddf98cc1b5e81c UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1712813576
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
}, {
"hash" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763",
"triggerID" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"triggerType" : "PUSH"
}, {
"hash" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780",
"triggerID" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
* b41052b9733e2f24aa17f743a5ddf98cc1b5e81c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] nsivabalan commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1714900388
@hudi-bot run azure
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] lokeshj1703 commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "lokeshj1703 (via GitHub)" <gi...@apache.org>.
lokeshj1703 commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1715153010
<img width="978" alt="image" src="https://github.com/apache/hudi/assets/9255455/67b287ba-64ef-4b57-b20b-cc3c6ff97302">
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] codope merged pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "codope (via GitHub)" <gi...@apache.org>.
codope merged PR #9665:
URL: https://github.com/apache/hudi/pull/9665
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1712361720
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
}, {
"hash" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763",
"triggerID" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
* 18d03141e69fc59e700e9abf9b14ba4028ce307d Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] lokeshj1703 commented on a diff in pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "lokeshj1703 (via GitHub)" <gi...@apache.org>.
lokeshj1703 commented on code in PR #9665:
URL: https://github.com/apache/hudi/pull/9665#discussion_r1321161861
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/ProvidesHoodieConfig.scala:
##########
@@ -208,19 +211,22 @@ trait ProvidesHoodieConfig extends Logging {
val isPartitionedTable = hoodieCatalogTable.partitionFields.nonEmpty
val combineBeforeInsert = hoodieCatalogTable.preCombineKey.nonEmpty && hoodieCatalogTable.primaryKeys.nonEmpty
- // try to use sql write operation instead of legacy insert mode. If only insert mode is explicitly specified, w/o specifying
- // any value for sql write operation, leagcy configs will be honored. But on all other cases (i.e when neither of the configs is set,
- // or when both configs are set, or when only sql write operation is set), we honor sql write operation and ignore
- // the insert mode.
+ /*
+ * The sql write operation has higher precedence than the legacy insert mode.
+ * Only when the legacy insert mode is explicitly set, without setting sql write operation,
+ * legacy configs will be honored. On all other cases (i.e when both are set, either is set,
+ * or when only the sql write operation is set), we honor the sql write operation.
+ */
val useLegacyInsertModeFlow = insertModeSet && !sqlWriteOperationSet
var operation = combinedOpts.getOrElse(OPERATION.key,
if (useLegacyInsertModeFlow) {
// NOTE: Target operation could be overridden by the user, therefore if it has been provided as an input
// we'd prefer that value over auto-deduced operation. Otherwise, we deduce target operation type
deduceOperation(enableBulkInsert, isOverwritePartition, isOverwriteTable, dropDuplicate,
- isNonStrictMode, isPartitionedTable, combineBeforeInsert, insertMode, autoGenerateRecordKeys)
+ isNonStrictMode, isPartitionedTable, combineBeforeInsert, insertMode, shouldAutoKeyGen)
} else {
- deduceSparkSqlInsertIntoWriteOperation(isOverwritePartition, isOverwriteTable, sqlWriteOperation)
+ deduceSparkSqlInsertIntoWriteOperation(isOverwritePartition, isOverwriteTable,
+ shouldAutoKeyGen, preCombineField, sqlWriteOperation)
Review Comment:
Should we also deduce preCombineField from combinedOpts? I see we specify preCombineField in `TestInsertTable` insert into tests.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1714915060
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
}, {
"hash" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763",
"triggerID" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"triggerType" : "PUSH"
}, {
"hash" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780",
"triggerID" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"triggerType" : "PUSH"
}, {
"hash" : "01cbf0b100b12327dace2925e0a74fca9aca9586",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19824",
"triggerID" : "01cbf0b100b12327dace2925e0a74fca9aca9586",
"triggerType" : "PUSH"
}, {
"hash" : "",
"status" : "CANCELED",
"url" : "TBD",
"triggerID" : "1714900388",
"triggerType" : "MANUAL"
}, {
"hash" : "3bba27161033b723abe445bb1bb62596d0040d84",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19829",
"triggerID" : "1714900388",
"triggerType" : "MANUAL"
}, {
"hash" : "3bba27161033b723abe445bb1bb62596d0040d84",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19829",
"triggerID" : "3bba27161033b723abe445bb1bb62596d0040d84",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
* Unknown: [CANCELED](TBD)
* 3bba27161033b723abe445bb1bb62596d0040d84 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19829)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] xushiyan commented on a diff in pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "xushiyan (via GitHub)" <gi...@apache.org>.
xushiyan commented on code in PR #9665:
URL: https://github.com/apache/hudi/pull/9665#discussion_r1320425108
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/AutoRecordKeyGenerationUtils.scala:
##########
@@ -32,29 +31,29 @@ object AutoRecordKeyGenerationUtils {
private val log = LoggerFactory.getLogger(getClass)
def mayBeValidateParamsForAutoGenerationOfRecordKeys(parameters: Map[String, String], hoodieConfig: HoodieConfig): Unit = {
- val autoGenerateRecordKeys = isAutoGenerateRecordKeys(parameters)
- // hudi will auto generate.
- if (autoGenerateRecordKeys) {
Review Comment:
diff here is just for early return
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1714833137
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
}, {
"hash" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763",
"triggerID" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"triggerType" : "PUSH"
}, {
"hash" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780",
"triggerID" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"triggerType" : "PUSH"
}, {
"hash" : "01cbf0b100b12327dace2925e0a74fca9aca9586",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "01cbf0b100b12327dace2925e0a74fca9aca9586",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
* b41052b9733e2f24aa17f743a5ddf98cc1b5e81c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780)
* 01cbf0b100b12327dace2925e0a74fca9aca9586 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] nsivabalan commented on a diff in pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on code in PR #9665:
URL: https://github.com/apache/hudi/pull/9665#discussion_r1322266556
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/ProvidesHoodieConfig.scala:
##########
@@ -193,7 +196,7 @@ trait ProvidesHoodieConfig extends Logging {
DataSourceWriteOptions.SQL_ENABLE_BULK_INSERT.defaultValue()).toBoolean
val dropDuplicate = sparkSession.conf
.getOption(INSERT_DROP_DUPS.key).getOrElse(INSERT_DROP_DUPS.defaultValue).toBoolean
- val autoGenerateRecordKeys : Boolean = !combinedOpts.contains(KeyGeneratorOptions.RECORDKEY_FIELD_NAME.key());
+ val shouldAutoKeyGen: Boolean = shouldAutoGenerateRecordKeys(combinedOpts)
Review Comment:
thnx for this fix
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/ProvidesHoodieConfig.scala:
##########
@@ -208,19 +211,22 @@ trait ProvidesHoodieConfig extends Logging {
val isPartitionedTable = hoodieCatalogTable.partitionFields.nonEmpty
val combineBeforeInsert = hoodieCatalogTable.preCombineKey.nonEmpty && hoodieCatalogTable.primaryKeys.nonEmpty
- // try to use sql write operation instead of legacy insert mode. If only insert mode is explicitly specified, w/o specifying
- // any value for sql write operation, leagcy configs will be honored. But on all other cases (i.e when neither of the configs is set,
- // or when both configs are set, or when only sql write operation is set), we honor sql write operation and ignore
- // the insert mode.
+ /*
+ * The sql write operation has higher precedence than the legacy insert mode.
+ * Only when the legacy insert mode is explicitly set, without setting sql write operation,
+ * legacy configs will be honored. On all other cases (i.e when both are set, either is set,
+ * or when only the sql write operation is set), we honor the sql write operation.
+ */
val useLegacyInsertModeFlow = insertModeSet && !sqlWriteOperationSet
var operation = combinedOpts.getOrElse(OPERATION.key,
if (useLegacyInsertModeFlow) {
// NOTE: Target operation could be overridden by the user, therefore if it has been provided as an input
// we'd prefer that value over auto-deduced operation. Otherwise, we deduce target operation type
deduceOperation(enableBulkInsert, isOverwritePartition, isOverwriteTable, dropDuplicate,
- isNonStrictMode, isPartitionedTable, combineBeforeInsert, insertMode, autoGenerateRecordKeys)
+ isNonStrictMode, isPartitionedTable, combineBeforeInsert, insertMode, shouldAutoKeyGen)
Review Comment:
we should try to align variable names to config keys.
we should fix the naming of "sqlWriteOperation" -> "sparkSqlInsertIntoOperation".
if we are going to push any additional fixes to this patch, lets do that.
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestInsertTable.scala:
##########
@@ -1727,25 +1727,26 @@ class TestInsertTable extends HoodieSparkSqlTestBase {
}
/**
- * When neither of strict mode nor sql.write.operation is set, sql write operation takes precedence and default value is chosen.
+ * When neither of strict mode nor sql.write.operation is set, sql write operation is deduced as UPSERT
+ * due to presence of preCombineField.
Review Comment:
do we have a similar test where preCombine is not set.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1712334697
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b134855bf923e5932c76b3a5117515cd3e49afe7 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1712776443
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
}, {
"hash" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763",
"triggerID" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"triggerType" : "PUSH"
}, {
"hash" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780",
"triggerID" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
* 18d03141e69fc59e700e9abf9b14ba4028ce307d Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763)
* b41052b9733e2f24aa17f743a5ddf98cc1b5e81c Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] danny0405 commented on a diff in pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on code in PR #9665:
URL: https://github.com/apache/hudi/pull/9665#discussion_r1320910435
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/AutoRecordKeyGenerationUtils.scala:
##########
@@ -54,7 +51,9 @@ object AutoRecordKeyGenerationUtils {
}
}
- def isAutoGenerateRecordKeys(parameters: Map[String, String]): Boolean = {
- !parameters.contains(KeyGeneratorOptions.RECORDKEY_FIELD_NAME.key()) // if record key is not configured,
+ def shouldAutoGenerateRecordKeys(parameters: Map[String, String]): Boolean = {
+ val recordKeyFromTableConfig = parameters.getOrElse(HoodieTableConfig.RECORDKEY_FIELDS.key(), "")
+ val recordKeyFromWriterConfig = parameters.getOrElse(KeyGeneratorOptions.RECORDKEY_FIELD_NAME.key(), "")
+ recordKeyFromTableConfig.isEmpty && recordKeyFromWriterConfig.isEmpty
Review Comment:
There is no need to check two times, the `parameters` is inferred and merged from hoodie table config already.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9665: [HUDI-6478] Deduce op as upsert for INSERT INTO
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9665:
URL: https://github.com/apache/hudi/pull/9665#issuecomment-1714838893
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19762",
"triggerID" : "b134855bf923e5932c76b3a5117515cd3e49afe7",
"triggerType" : "PUSH"
}, {
"hash" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "867f25a6378b6e522a35e11f7e4e622efc6e360a",
"triggerType" : "PUSH"
}, {
"hash" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19763",
"triggerID" : "18d03141e69fc59e700e9abf9b14ba4028ce307d",
"triggerType" : "PUSH"
}, {
"hash" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780",
"triggerID" : "b41052b9733e2f24aa17f743a5ddf98cc1b5e81c",
"triggerType" : "PUSH"
}, {
"hash" : "01cbf0b100b12327dace2925e0a74fca9aca9586",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19824",
"triggerID" : "01cbf0b100b12327dace2925e0a74fca9aca9586",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 867f25a6378b6e522a35e11f7e4e622efc6e360a UNKNOWN
* b41052b9733e2f24aa17f743a5ddf98cc1b5e81c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19780)
* 01cbf0b100b12327dace2925e0a74fca9aca9586 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19824)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org