You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "linliu-code (via GitHub)" <gi...@apache.org> on 2026/07/13 20:59:05 UTC
[PR] Fix Debezium Postgres TOASTed-column fill dropped by HoodieAvroRecordMerger [hudi]
linliu-code opened a new pull request, #19280:
URL: https://github.com/apache/hudi/pull/19280
### Change Logs
Reading a Merge-on-Read table on **table version < 9** returns unchanged Postgres TOASTed columns
(ingested via Debezium) as the `__debezium_unavailable_value` placeholder instead of the prior base
value.
`PostgresDebeziumAvroPayload#combineAndGetUpdateValue` fills the sentinel columns from the base record
by mutating the incoming Avro record **in place** and returning that same reference.
`HoodieAvroRecordMerger#merge` short-circuited `updatedRecord == newerAvroRecord` by returning the
original engine-backed `newer` `BufferedRecord` — a *separate* object from the mutated `newerAvroRecord`
— which discarded the fill. Table version 9 is unaffected because it applies toasted handling through
the `FILL_UNAVAILABLE` partial-update path, not the payload merger.
This removes the short-circuit so the (possibly mutated) `updatedRecord` is always converted back via
the existing fall-through. Adds `TestDebeziumToastedValue` covering table versions 6, 8 and 9.
### Impact
Correct TOASTed-column values for Debezium Postgres MOR reads on table versions 6/8. No behavior change
for payloads that do not mutate in place (the merger rebuilds from the same result); the only cost is
one extra record conversion on the custom (payload-based) merge path.
### Risk level: low
Covered by a new functional test (`TestDebeziumToastedValue`) across table versions 6, 8 and 9.
### Documentation Update
N/A
### Contributor's checklist
- [ ] Read through the [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
- [ ] Change Logs and Impact described above
- [ ] (JIRA to be linked)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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
Re: [PR] fix: Fix Debezium Postgres TOASTed-column fill dropped by HoodieAvroRecordMerger [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19280:
URL: https://github.com/apache/hudi/pull/19280#issuecomment-4962685168
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "2b9be8afbce9ffe6284311fcdfe9cb37a4326141",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "2b9be8afbce9ffe6284311fcdfe9cb37a4326141",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 2b9be8afbce9ffe6284311fcdfe9cb37a4326141 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
Re: [PR] fix(debezium): keep Postgres toasted columns on MOR read (v6/v8) [hudi]
Posted by "hudi-agent (via GitHub)" <gi...@apache.org>.
hudi-agent commented on code in PR #19280:
URL: https://github.com/apache/hudi/pull/19280#discussion_r3575402067
##########
hudi-common/src/main/java/org/apache/hudi/common/model/debezium/PostgresDebeziumAvroPayload.java:
##########
@@ -96,22 +95,31 @@ public Option<IndexedRecord> combineAndGetUpdateValue(IndexedRecord currentValue
Option<IndexedRecord> insertOrDeleteRecord = super.combineAndGetUpdateValue(currentValue, schema);
if (insertOrDeleteRecord.isPresent()) {
- mergeToastedValuesIfPresent(insertOrDeleteRecord.get(), currentValue);
+ return Option.of(mergeToastedValuesIfPresent(insertOrDeleteRecord.get(), currentValue));
}
return insertOrDeleteRecord;
}
- private void mergeToastedValuesIfPresent(IndexedRecord incomingRecord, IndexedRecord currentRecord) {
- List<Schema.Field> fields = incomingRecord.getSchema().getFields();
-
- fields.forEach(field -> {
+ /**
+ * Fills any TOASTed sentinel columns in {@code incomingRecord} with the value from
+ * {@code currentRecord}. Returns a NEW record when a fill occurs, so a caller (e.g. the record
+ * merger) does not mistake the result for the unchanged incoming record and discard the fill;
+ * returns {@code incomingRecord} unchanged when there is nothing to fill.
+ */
+ private IndexedRecord mergeToastedValuesIfPresent(IndexedRecord incomingRecord, IndexedRecord currentRecord) {
+ GenericData.Record filled = null;
+ for (Schema.Field field : incomingRecord.getSchema().getFields()) {
// There are only four avro data types that have unconstrained sizes, which are
// NON-NULLABLE STRING, NULLABLE STRING, NON-NULLABLE BYTES, NULLABLE BYTES
if (((GenericRecord) incomingRecord).get(field.name()) != null
&& (containsStringToastedValues(incomingRecord, field) || containsBytesToastedValues(incomingRecord, field))) {
- ((GenericRecord) incomingRecord).put(field.name(), ((GenericData.Record) currentRecord).get(field.name()));
+ if (filled == null) {
+ filled = new GenericData.Record((GenericData.Record) incomingRecord, false);
Review Comment:
🤖 Could `incomingRecord` here ever be a `SerializableIndexedRecord` rather than a `GenericData.Record`? `BaseAvroPayload.getRecord()` returns a `SerializableIndexedRecord` when the stored record's schema isn't reference-equal to the requested schema, and in the avro file-group-reader path `AvroRecordContext.convertToAvroRecord` just casts `newer.getRecord()`. If so, `new GenericData.Record((GenericData.Record) incomingRecord, false)` would throw a ClassCastException on a toasted fill. The old in-place code used only the `GenericRecord` interface for STRING columns, so it was immune — building the copy from `incomingRecord.getSchema()` and copying via the interface might be safer.
<sub><i>⚠️ AI-generated; verify before applying. React 👍/👎 to flag quality.</i></sub>
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestDebeziumToastedValue.scala:
##########
@@ -0,0 +1,116 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.functional
+
+import org.apache.hudi.DataSourceWriteOptions
+import org.apache.hudi.DataSourceWriteOptions.{OPERATION, ORDERING_FIELDS, RECORDKEY_FIELD, TABLE_TYPE}
+import org.apache.hudi.common.config.HoodieMetadataConfig
+import org.apache.hudi.common.model.HoodieTableType
+import org.apache.hudi.common.model.debezium.{DebeziumConstants, PostgresDebeziumAvroPayload}
+import org.apache.hudi.common.table.HoodieTableMetaClient
+import org.apache.hudi.config.{HoodieCompactionConfig, HoodieWriteConfig}
+import org.apache.hudi.testutils.SparkClientFunctionalTestHarness
+
+import org.apache.spark.sql.SaveMode
+import org.junit.jupiter.api.Assertions.assertEquals
+import org.junit.jupiter.params.ParameterizedTest
+import org.junit.jupiter.params.provider.ValueSource
+
+/**
+ * Functional test for [[PostgresDebeziumAvroPayload]]'s toasted / unavailable-value handling on a
+ * Merge-on-Read table.
+ *
+ * Postgres TOAST semantics: when a Debezium UPDATE cannot capture a large STRING/BYTES column that
+ * did not change, it ships the sentinel [[PostgresDebeziumAvroPayload.DEBEZIUM_TOASTED_VALUE]]
+ * (`__debezium_unavailable_value`) for that column. When the base file and delta log are merged at
+ * read time, such columns must KEEP the prior (base) value rather than be overwritten with the
+ * sentinel.
+ *
+ * Covers table versions 6, 8 and 9.
+ */
+class TestDebeziumToastedValue extends SparkClientFunctionalTestHarness {
+
+ private val sentinel = PostgresDebeziumAvroPayload.DEBEZIUM_TOASTED_VALUE
+ private val columns = Seq(
+ "id",
+ "name",
+ "city",
+ DebeziumConstants.FLATTENED_OP_COL_NAME,
+ DebeziumConstants.FLATTENED_LSN_COL_NAME)
+
+ @ParameterizedTest
+ @ValueSource(strings = Array("6", "8", "9"))
+ def testToastedColumnKeepsPriorValueOnRead(tableVersion: String): Unit = {
+ val opts = Map(
+ HoodieWriteConfig.WRITE_PAYLOAD_CLASS_NAME.key() -> classOf[PostgresDebeziumAvroPayload].getName,
+ HoodieMetadataConfig.ENABLE.key() -> "false",
+ // Preserve the table version across writes: disable auto-upgrade and pin the write version so
+ // a later write cannot migrate the table to a newer version mid-test.
+ HoodieWriteConfig.AUTO_UPGRADE_VERSION.key() -> "false",
+ HoodieWriteConfig.WRITE_TABLE_VERSION.key() -> tableVersion)
+
+ // 1. Base records at LSN 10.
+ val base = Seq(
+ (1, "alice", "NYC", "c", 10L),
+ (2, "bob", "LA", "c", 10L))
+ spark.createDataFrame(base).toDF(columns: _*).write.format("hudi")
+ .option(RECORDKEY_FIELD.key(), "id")
+ .option(ORDERING_FIELDS.key(), DebeziumConstants.FLATTENED_LSN_COL_NAME)
+ .option(TABLE_TYPE.key(), HoodieTableType.MERGE_ON_READ.name())
+ .option(DataSourceWriteOptions.TABLE_NAME.key(), "toasted_table")
+ .option(OPERATION.key(), DataSourceWriteOptions.BULK_INSERT_OPERATION_OPT_VAL)
+ .option(HoodieCompactionConfig.INLINE_COMPACT.key(), "false")
+ .options(opts)
+ .mode(SaveMode.Overwrite)
+ .save(basePath)
+
+ // 2. Newer log records at LSN 20, each carrying the toasted sentinel in one column:
+ // id=1 -> name updated, `city` toasted (must keep base "NYC")
+ // id=2 -> name toasted (must keep base "bob"), `city` updated
+ val update = Seq(
Review Comment:
🤖 nit: `val update` is a singular/verb form for what is actually a sequence of records — could you rename it to `val updates` or `val logRecords` to make it read as a collection?
<sub><i>⚠️ AI-generated; verify before applying. React 👍/👎 to flag quality.</i></sub>
--
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
Re: [PR] fix(debezium): keep Postgres toasted columns on MOR read (v6/v8) [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19280:
URL: https://github.com/apache/hudi/pull/19280#issuecomment-5030819212
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "2b9be8afbce9ffe6284311fcdfe9cb37a4326141",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15471",
"triggerID" : "2b9be8afbce9ffe6284311fcdfe9cb37a4326141",
"triggerType" : "PUSH"
}, {
"hash" : "02e915d9b4e83a0c2bb708af1e1bf0f3575d6d53",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15565",
"triggerID" : "02e915d9b4e83a0c2bb708af1e1bf0f3575d6d53",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 02e915d9b4e83a0c2bb708af1e1bf0f3575d6d53 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15565)
<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
Re: [PR] fix: Fix Debezium Postgres TOASTed-column fill dropped by HoodieAvroRecordMerger [hudi]
Posted by "hudi-agent (via GitHub)" <gi...@apache.org>.
hudi-agent commented on code in PR #19280:
URL: https://github.com/apache/hudi/pull/19280#discussion_r3574143515
##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroRecordMerger.java:
##########
@@ -71,10 +71,12 @@ public <T> BufferedRecord<T> merge(BufferedRecord<T> older, BufferedRecord<T> ne
if (updatedRecord == previousAvroData || updatedRecord == HoodieRecord.SENTINEL) {
return older;
}
- if (updatedRecord == newerAvroRecord) {
- // simply return the newer record instead of creating a new record
- return newer;
- }
+ // Do NOT short-circuit `updatedRecord == newerAvroRecord` here. A payload may mutate the
+ // incoming avro record IN PLACE and return that same reference (e.g.
+ // PostgresDebeziumAvroPayload fills the __debezium_unavailable_value sentinel for TOASTed
+ // columns from the base value). Returning the original engine-backed `newer` in that case
+ // would drop the mutation, because `newerAvroRecord` is a separate avro conversion of
+ // `newer.getRecord()`. Always rebuild from `updatedRecord` so an in-place mutation survives.
// Construct a new BufferedRecord with updated value
T resultRecord = recordContext.convertAvroRecord(updatedRecord);
return BufferedRecords.fromEngineRecord(resultRecord, updatedValue
Review Comment:
🤖 With the short-circuit gone, this path now rebuilds via `fromEngineRecord(..., updatedValue.isEmpty())`, which sets the result's `HoodieOperation` to null (isEmpty() is always false here). The old `return newer` preserved `newer`'s operation. Could that matter if `newer` carries an UPDATE_BEFORE/-U operation (isDelete() would flip from true to false)? For the Debezium/OverwriteWithLatest case it looks harmless, but I wanted to confirm no CDC merge path relies on the operation being carried through.
<sub><i>⚠️ AI-generated; verify before applying. React 👍/👎 to flag quality.</i></sub>
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestDebeziumToastedValue.scala:
##########
@@ -0,0 +1,117 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.functional
+
+import org.apache.hudi.DataSourceWriteOptions
+import org.apache.hudi.DataSourceWriteOptions.{OPERATION, ORDERING_FIELDS, RECORDKEY_FIELD, TABLE_TYPE}
+import org.apache.hudi.common.config.HoodieMetadataConfig
+import org.apache.hudi.common.model.HoodieTableType
+import org.apache.hudi.common.model.debezium.{DebeziumConstants, PostgresDebeziumAvroPayload}
+import org.apache.hudi.common.table.HoodieTableMetaClient
+import org.apache.hudi.config.{HoodieCompactionConfig, HoodieWriteConfig}
+import org.apache.hudi.testutils.SparkClientFunctionalTestHarness
+
+import org.apache.spark.sql.SaveMode
+import org.junit.jupiter.api.Assertions.assertEquals
+import org.junit.jupiter.params.ParameterizedTest
+import org.junit.jupiter.params.provider.ValueSource
+
+/**
+ * Functional test for [[PostgresDebeziumAvroPayload]]'s toasted / unavailable-value handling on a
+ * Merge-on-Read table.
+ *
+ * Postgres TOAST semantics: when a Debezium UPDATE cannot capture a large STRING/BYTES column that
+ * did not change, it ships the sentinel [[PostgresDebeziumAvroPayload.DEBEZIUM_TOASTED_VALUE]]
+ * (`__debezium_unavailable_value`) for that column. When the base file and delta log are merged at
+ * read time, such columns must KEEP the prior (base) value rather than be overwritten with the
+ * sentinel.
+ *
+ * Covers table versions 6, 8 and 9.
+ */
+class TestDebeziumToastedValue extends SparkClientFunctionalTestHarness {
+
+ private val sentinel = PostgresDebeziumAvroPayload.DEBEZIUM_TOASTED_VALUE
+ private val columns = Seq(
+ "id",
+ "name",
+ "city",
+ DebeziumConstants.FLATTENED_OP_COL_NAME,
+ DebeziumConstants.FLATTENED_LSN_COL_NAME)
+
+ @ParameterizedTest
+ @ValueSource(strings = Array("6", "8", "9"))
+ def testToastedColumnKeepsPriorValueOnRead(tableVersion: String): Unit = {
+ val opts = Map(
+ HoodieWriteConfig.WRITE_PAYLOAD_CLASS_NAME.key() -> classOf[PostgresDebeziumAvroPayload].getName,
+ HoodieMetadataConfig.ENABLE.key() -> "false",
+ // Preserve the table version across writes: disable auto-upgrade and pin the write version so
+ // a later write cannot migrate the table to a newer version mid-test.
+ HoodieWriteConfig.AUTO_UPGRADE_VERSION.key() -> "false",
+ HoodieWriteConfig.WRITE_TABLE_VERSION.key() -> tableVersion)
+
+ // 1. Base records at LSN 10.
+ val base = Seq(
+ (1, "alice", "NYC", "c", 10L),
+ (2, "bob", "LA", "c", 10L))
+ spark.createDataFrame(base).toDF(columns: _*).write.format("hudi")
+ .option(RECORDKEY_FIELD.key(), "id")
+ .option(ORDERING_FIELDS.key(), DebeziumConstants.FLATTENED_LSN_COL_NAME)
+ .option(TABLE_TYPE.key(), HoodieTableType.MERGE_ON_READ.name())
+ .option(DataSourceWriteOptions.TABLE_NAME.key(), "toasted_table")
+ .option(OPERATION.key(), DataSourceWriteOptions.BULK_INSERT_OPERATION_OPT_VAL)
+ .option(HoodieCompactionConfig.INLINE_COMPACT.key(), "false")
+ .option(HoodieWriteConfig.WRITE_TABLE_VERSION.key(), tableVersion)
Review Comment:
🤖 nit: `WRITE_TABLE_VERSION` is already included in `opts` (line 66) and applied by `.options(opts)` on the next line — could you drop this redundant `.option(...)` call?
<sub><i>⚠️ AI-generated; verify before applying. React 👍/👎 to flag quality.</i></sub>
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestDebeziumToastedValue.scala:
##########
@@ -0,0 +1,117 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.functional
+
+import org.apache.hudi.DataSourceWriteOptions
+import org.apache.hudi.DataSourceWriteOptions.{OPERATION, ORDERING_FIELDS, RECORDKEY_FIELD, TABLE_TYPE}
+import org.apache.hudi.common.config.HoodieMetadataConfig
+import org.apache.hudi.common.model.HoodieTableType
+import org.apache.hudi.common.model.debezium.{DebeziumConstants, PostgresDebeziumAvroPayload}
+import org.apache.hudi.common.table.HoodieTableMetaClient
+import org.apache.hudi.config.{HoodieCompactionConfig, HoodieWriteConfig}
+import org.apache.hudi.testutils.SparkClientFunctionalTestHarness
+
+import org.apache.spark.sql.SaveMode
+import org.junit.jupiter.api.Assertions.assertEquals
+import org.junit.jupiter.params.ParameterizedTest
+import org.junit.jupiter.params.provider.ValueSource
+
+/**
+ * Functional test for [[PostgresDebeziumAvroPayload]]'s toasted / unavailable-value handling on a
+ * Merge-on-Read table.
+ *
+ * Postgres TOAST semantics: when a Debezium UPDATE cannot capture a large STRING/BYTES column that
+ * did not change, it ships the sentinel [[PostgresDebeziumAvroPayload.DEBEZIUM_TOASTED_VALUE]]
+ * (`__debezium_unavailable_value`) for that column. When the base file and delta log are merged at
+ * read time, such columns must KEEP the prior (base) value rather than be overwritten with the
+ * sentinel.
+ *
+ * Covers table versions 6, 8 and 9.
+ */
+class TestDebeziumToastedValue extends SparkClientFunctionalTestHarness {
+
+ private val sentinel = PostgresDebeziumAvroPayload.DEBEZIUM_TOASTED_VALUE
+ private val columns = Seq(
+ "id",
+ "name",
+ "city",
+ DebeziumConstants.FLATTENED_OP_COL_NAME,
+ DebeziumConstants.FLATTENED_LSN_COL_NAME)
+
+ @ParameterizedTest
+ @ValueSource(strings = Array("6", "8", "9"))
+ def testToastedColumnKeepsPriorValueOnRead(tableVersion: String): Unit = {
+ val opts = Map(
+ HoodieWriteConfig.WRITE_PAYLOAD_CLASS_NAME.key() -> classOf[PostgresDebeziumAvroPayload].getName,
+ HoodieMetadataConfig.ENABLE.key() -> "false",
+ // Preserve the table version across writes: disable auto-upgrade and pin the write version so
+ // a later write cannot migrate the table to a newer version mid-test.
+ HoodieWriteConfig.AUTO_UPGRADE_VERSION.key() -> "false",
+ HoodieWriteConfig.WRITE_TABLE_VERSION.key() -> tableVersion)
+
+ // 1. Base records at LSN 10.
+ val base = Seq(
+ (1, "alice", "NYC", "c", 10L),
+ (2, "bob", "LA", "c", 10L))
+ spark.createDataFrame(base).toDF(columns: _*).write.format("hudi")
+ .option(RECORDKEY_FIELD.key(), "id")
+ .option(ORDERING_FIELDS.key(), DebeziumConstants.FLATTENED_LSN_COL_NAME)
+ .option(TABLE_TYPE.key(), HoodieTableType.MERGE_ON_READ.name())
+ .option(DataSourceWriteOptions.TABLE_NAME.key(), "toasted_table")
+ .option(OPERATION.key(), DataSourceWriteOptions.BULK_INSERT_OPERATION_OPT_VAL)
+ .option(HoodieCompactionConfig.INLINE_COMPACT.key(), "false")
+ .option(HoodieWriteConfig.WRITE_TABLE_VERSION.key(), tableVersion)
+ .options(opts)
+ .mode(SaveMode.Overwrite)
+ .save(basePath)
+
+ // 2. Newer log records at LSN 20, each carrying the toasted sentinel in one column:
+ // id=1 -> name updated, `city` toasted (must keep base "NYC")
+ // id=2 -> name toasted (must keep base "bob"), `city` updated
+ val update = Seq(
+ (1, "alice2", sentinel, "u", 20L),
+ (2, sentinel, "SF", "u", 20L))
+ spark.createDataFrame(update).toDF(columns: _*).write.format("hudi")
+ .option(OPERATION.key(), "upsert")
Review Comment:
🤖 nit: the base write on line 77 uses `DataSourceWriteOptions.BULK_INSERT_OPERATION_OPT_VAL` — could you use `DataSourceWriteOptions.UPSERT_OPERATION_OPT_VAL` here instead of the bare string `"upsert"` for consistency?
<sub><i>⚠️ AI-generated; verify before applying. React 👍/👎 to flag quality.</i></sub>
--
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
Re: [PR] fix(debezium): keep Postgres toasted columns on MOR read (v6/v8) [hudi]
Posted by "hudi-agent (via GitHub)" <gi...@apache.org>.
hudi-agent commented on code in PR #19280:
URL: https://github.com/apache/hudi/pull/19280#discussion_r3624702730
##########
hudi-common/src/main/java/org/apache/hudi/common/model/debezium/PostgresDebeziumAvroPayload.java:
##########
@@ -96,22 +95,31 @@ public Option<IndexedRecord> combineAndGetUpdateValue(IndexedRecord currentValue
Option<IndexedRecord> insertOrDeleteRecord = super.combineAndGetUpdateValue(currentValue, schema);
if (insertOrDeleteRecord.isPresent()) {
- mergeToastedValuesIfPresent(insertOrDeleteRecord.get(), currentValue);
+ return Option.of(mergeToastedValuesIfPresent(insertOrDeleteRecord.get(), currentValue));
}
return insertOrDeleteRecord;
}
- private void mergeToastedValuesIfPresent(IndexedRecord incomingRecord, IndexedRecord currentRecord) {
- List<Schema.Field> fields = incomingRecord.getSchema().getFields();
-
- fields.forEach(field -> {
+ /**
+ * Fills any TOASTed sentinel columns in {@code incomingRecord} with the value from
+ * {@code currentRecord}. Returns a NEW record when a fill occurs, so a caller (e.g. the record
+ * merger) does not mistake the result for the unchanged incoming record and discard the fill;
+ * returns {@code incomingRecord} unchanged when there is nothing to fill.
+ */
+ private IndexedRecord mergeToastedValuesIfPresent(IndexedRecord incomingRecord, IndexedRecord currentRecord) {
+ GenericData.Record filled = null;
+ for (Schema.Field field : incomingRecord.getSchema().getFields()) {
// There are only four avro data types that have unconstrained sizes, which are
// NON-NULLABLE STRING, NULLABLE STRING, NON-NULLABLE BYTES, NULLABLE BYTES
if (((GenericRecord) incomingRecord).get(field.name()) != null
&& (containsStringToastedValues(incomingRecord, field) || containsBytesToastedValues(incomingRecord, field))) {
- ((GenericRecord) incomingRecord).put(field.name(), ((GenericData.Record) currentRecord).get(field.name()));
+ if (filled == null) {
+ filled = new GenericData.Record((GenericData.Record) incomingRecord, false);
Review Comment:
🤖 I think this concern is well-founded. `BaseAvroPayload.getRecord()` does `record = SerializableIndexedRecord.fromAvroBytes(schema, recordBytes)` whenever the stored record's schema isn't reference-equal to the requested one (the `record.getSchema() == schema` check is identity, not `.equals()`), so `super.combineAndGetUpdateValue(...).get()` really can hand back a `SerializableIndexedRecord`. Worth noting the same casts already exist on the bytes path — `containsBytesToastedValues` casts to `(GenericData.Record)` and line 112 casts `currentRecord` to `(GenericData.Record)` — so a copy-constructor cast wouldn't be the only exposure. Building the copy from `incomingRecord.getSchema()` and copying field-by-field through the `GenericRecord`/`IndexedRecord` interface would sidestep all of these. Might be worth a test that forces the schema-mismatch deserialization path to confirm.
##########
hudi-common/src/main/java/org/apache/hudi/common/model/debezium/PostgresDebeziumAvroPayload.java:
##########
@@ -96,22 +95,31 @@ public Option<IndexedRecord> combineAndGetUpdateValue(IndexedRecord currentValue
Option<IndexedRecord> insertOrDeleteRecord = super.combineAndGetUpdateValue(currentValue, schema);
if (insertOrDeleteRecord.isPresent()) {
- mergeToastedValuesIfPresent(insertOrDeleteRecord.get(), currentValue);
+ return Option.of(mergeToastedValuesIfPresent(insertOrDeleteRecord.get(), currentValue));
}
return insertOrDeleteRecord;
}
- private void mergeToastedValuesIfPresent(IndexedRecord incomingRecord, IndexedRecord currentRecord) {
- List<Schema.Field> fields = incomingRecord.getSchema().getFields();
-
- fields.forEach(field -> {
+ /**
+ * Fills any TOASTed sentinel columns in {@code incomingRecord} with the value from
+ * {@code currentRecord}. Returns a NEW record when a fill occurs, so a caller (e.g. the record
+ * merger) does not mistake the result for the unchanged incoming record and discard the fill;
+ * returns {@code incomingRecord} unchanged when there is nothing to fill.
+ */
+ private IndexedRecord mergeToastedValuesIfPresent(IndexedRecord incomingRecord, IndexedRecord currentRecord) {
Review Comment:
🤖 nit: the method was `void` before and mutated in place; now it returns a new record, but `mergeToastedValuesIfPresent` still reads like a void side-effect call. Could you rename it to something like `withToastedValuesFilled` or `fillToastedValues` to make the return-value contract obvious to a future reader at the call site?
<sub><i>⚠️ AI-generated; verify before applying. React 👍/👎 to flag quality.</i></sub>
--
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
Re: [PR] fix(debezium): keep Postgres toasted columns on MOR read (v6/v8) [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19280:
URL: https://github.com/apache/hudi/pull/19280#issuecomment-5027058928
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "2b9be8afbce9ffe6284311fcdfe9cb37a4326141",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15471",
"triggerID" : "2b9be8afbce9ffe6284311fcdfe9cb37a4326141",
"triggerType" : "PUSH"
}, {
"hash" : "02e915d9b4e83a0c2bb708af1e1bf0f3575d6d53",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "02e915d9b4e83a0c2bb708af1e1bf0f3575d6d53",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 2b9be8afbce9ffe6284311fcdfe9cb37a4326141 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15471)
* 02e915d9b4e83a0c2bb708af1e1bf0f3575d6d53 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
Re: [PR] fix(debezium): keep Postgres toasted columns on MOR read (v6/v8) [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19280:
URL: https://github.com/apache/hudi/pull/19280#issuecomment-5026964665
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "2b9be8afbce9ffe6284311fcdfe9cb37a4326141",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15471",
"triggerID" : "2b9be8afbce9ffe6284311fcdfe9cb37a4326141",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 2b9be8afbce9ffe6284311fcdfe9cb37a4326141 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15471)
<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
Re: [PR] [MINOR] Keep Postgres toasted columns on merge-on-read snapshot read [hudi]
Posted by "linliu-code (via GitHub)" <gi...@apache.org>.
linliu-code commented on code in PR #19280:
URL: https://github.com/apache/hudi/pull/19280#discussion_r3574272441
##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroRecordMerger.java:
##########
@@ -71,10 +71,12 @@ public <T> BufferedRecord<T> merge(BufferedRecord<T> older, BufferedRecord<T> ne
if (updatedRecord == previousAvroData || updatedRecord == HoodieRecord.SENTINEL) {
return older;
}
- if (updatedRecord == newerAvroRecord) {
- // simply return the newer record instead of creating a new record
- return newer;
- }
+ // Do NOT short-circuit `updatedRecord == newerAvroRecord` here. A payload may mutate the
+ // incoming avro record IN PLACE and return that same reference (e.g.
+ // PostgresDebeziumAvroPayload fills the __debezium_unavailable_value sentinel for TOASTed
+ // columns from the base value). Returning the original engine-backed `newer` in that case
+ // would drop the mutation, because `newerAvroRecord` is a separate avro conversion of
+ // `newer.getRecord()`. Always rebuild from `updatedRecord` so an in-place mutation survives.
// Construct a new BufferedRecord with updated value
T resultRecord = recordContext.convertAvroRecord(updatedRecord);
return BufferedRecords.fromEngineRecord(resultRecord, updatedValue
Review Comment:
Good catch — this was exactly the concern that made me move off the merger-side fix. The merger is now reverted to upstream: the `updatedRecord == newerAvroRecord` short-circuit is restored, so `return newer` still fires for every normal merge and `newer`'s HoodieOperation is preserved. The fix now lives entirely in `PostgresDebeziumAvroPayload`, which returns a *distinct* record only when it actually fills a toasted column — so only that case falls through to rebuild, and the operation-carrying short-circuit is untouched for everything else.
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestDebeziumToastedValue.scala:
##########
@@ -0,0 +1,117 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.functional
+
+import org.apache.hudi.DataSourceWriteOptions
+import org.apache.hudi.DataSourceWriteOptions.{OPERATION, ORDERING_FIELDS, RECORDKEY_FIELD, TABLE_TYPE}
+import org.apache.hudi.common.config.HoodieMetadataConfig
+import org.apache.hudi.common.model.HoodieTableType
+import org.apache.hudi.common.model.debezium.{DebeziumConstants, PostgresDebeziumAvroPayload}
+import org.apache.hudi.common.table.HoodieTableMetaClient
+import org.apache.hudi.config.{HoodieCompactionConfig, HoodieWriteConfig}
+import org.apache.hudi.testutils.SparkClientFunctionalTestHarness
+
+import org.apache.spark.sql.SaveMode
+import org.junit.jupiter.api.Assertions.assertEquals
+import org.junit.jupiter.params.ParameterizedTest
+import org.junit.jupiter.params.provider.ValueSource
+
+/**
+ * Functional test for [[PostgresDebeziumAvroPayload]]'s toasted / unavailable-value handling on a
+ * Merge-on-Read table.
+ *
+ * Postgres TOAST semantics: when a Debezium UPDATE cannot capture a large STRING/BYTES column that
+ * did not change, it ships the sentinel [[PostgresDebeziumAvroPayload.DEBEZIUM_TOASTED_VALUE]]
+ * (`__debezium_unavailable_value`) for that column. When the base file and delta log are merged at
+ * read time, such columns must KEEP the prior (base) value rather than be overwritten with the
+ * sentinel.
+ *
+ * Covers table versions 6, 8 and 9.
+ */
+class TestDebeziumToastedValue extends SparkClientFunctionalTestHarness {
+
+ private val sentinel = PostgresDebeziumAvroPayload.DEBEZIUM_TOASTED_VALUE
+ private val columns = Seq(
+ "id",
+ "name",
+ "city",
+ DebeziumConstants.FLATTENED_OP_COL_NAME,
+ DebeziumConstants.FLATTENED_LSN_COL_NAME)
+
+ @ParameterizedTest
+ @ValueSource(strings = Array("6", "8", "9"))
+ def testToastedColumnKeepsPriorValueOnRead(tableVersion: String): Unit = {
+ val opts = Map(
+ HoodieWriteConfig.WRITE_PAYLOAD_CLASS_NAME.key() -> classOf[PostgresDebeziumAvroPayload].getName,
+ HoodieMetadataConfig.ENABLE.key() -> "false",
+ // Preserve the table version across writes: disable auto-upgrade and pin the write version so
+ // a later write cannot migrate the table to a newer version mid-test.
+ HoodieWriteConfig.AUTO_UPGRADE_VERSION.key() -> "false",
+ HoodieWriteConfig.WRITE_TABLE_VERSION.key() -> tableVersion)
+
+ // 1. Base records at LSN 10.
+ val base = Seq(
+ (1, "alice", "NYC", "c", 10L),
+ (2, "bob", "LA", "c", 10L))
+ spark.createDataFrame(base).toDF(columns: _*).write.format("hudi")
+ .option(RECORDKEY_FIELD.key(), "id")
+ .option(ORDERING_FIELDS.key(), DebeziumConstants.FLATTENED_LSN_COL_NAME)
+ .option(TABLE_TYPE.key(), HoodieTableType.MERGE_ON_READ.name())
+ .option(DataSourceWriteOptions.TABLE_NAME.key(), "toasted_table")
+ .option(OPERATION.key(), DataSourceWriteOptions.BULK_INSERT_OPERATION_OPT_VAL)
+ .option(HoodieCompactionConfig.INLINE_COMPACT.key(), "false")
+ .option(HoodieWriteConfig.WRITE_TABLE_VERSION.key(), tableVersion)
Review Comment:
Done — dropped the redundant `.option(WRITE_TABLE_VERSION, ...)`; it is already in `opts`.
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestDebeziumToastedValue.scala:
##########
@@ -0,0 +1,117 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.functional
+
+import org.apache.hudi.DataSourceWriteOptions
+import org.apache.hudi.DataSourceWriteOptions.{OPERATION, ORDERING_FIELDS, RECORDKEY_FIELD, TABLE_TYPE}
+import org.apache.hudi.common.config.HoodieMetadataConfig
+import org.apache.hudi.common.model.HoodieTableType
+import org.apache.hudi.common.model.debezium.{DebeziumConstants, PostgresDebeziumAvroPayload}
+import org.apache.hudi.common.table.HoodieTableMetaClient
+import org.apache.hudi.config.{HoodieCompactionConfig, HoodieWriteConfig}
+import org.apache.hudi.testutils.SparkClientFunctionalTestHarness
+
+import org.apache.spark.sql.SaveMode
+import org.junit.jupiter.api.Assertions.assertEquals
+import org.junit.jupiter.params.ParameterizedTest
+import org.junit.jupiter.params.provider.ValueSource
+
+/**
+ * Functional test for [[PostgresDebeziumAvroPayload]]'s toasted / unavailable-value handling on a
+ * Merge-on-Read table.
+ *
+ * Postgres TOAST semantics: when a Debezium UPDATE cannot capture a large STRING/BYTES column that
+ * did not change, it ships the sentinel [[PostgresDebeziumAvroPayload.DEBEZIUM_TOASTED_VALUE]]
+ * (`__debezium_unavailable_value`) for that column. When the base file and delta log are merged at
+ * read time, such columns must KEEP the prior (base) value rather than be overwritten with the
+ * sentinel.
+ *
+ * Covers table versions 6, 8 and 9.
+ */
+class TestDebeziumToastedValue extends SparkClientFunctionalTestHarness {
+
+ private val sentinel = PostgresDebeziumAvroPayload.DEBEZIUM_TOASTED_VALUE
+ private val columns = Seq(
+ "id",
+ "name",
+ "city",
+ DebeziumConstants.FLATTENED_OP_COL_NAME,
+ DebeziumConstants.FLATTENED_LSN_COL_NAME)
+
+ @ParameterizedTest
+ @ValueSource(strings = Array("6", "8", "9"))
+ def testToastedColumnKeepsPriorValueOnRead(tableVersion: String): Unit = {
+ val opts = Map(
+ HoodieWriteConfig.WRITE_PAYLOAD_CLASS_NAME.key() -> classOf[PostgresDebeziumAvroPayload].getName,
+ HoodieMetadataConfig.ENABLE.key() -> "false",
+ // Preserve the table version across writes: disable auto-upgrade and pin the write version so
+ // a later write cannot migrate the table to a newer version mid-test.
+ HoodieWriteConfig.AUTO_UPGRADE_VERSION.key() -> "false",
+ HoodieWriteConfig.WRITE_TABLE_VERSION.key() -> tableVersion)
+
+ // 1. Base records at LSN 10.
+ val base = Seq(
+ (1, "alice", "NYC", "c", 10L),
+ (2, "bob", "LA", "c", 10L))
+ spark.createDataFrame(base).toDF(columns: _*).write.format("hudi")
+ .option(RECORDKEY_FIELD.key(), "id")
+ .option(ORDERING_FIELDS.key(), DebeziumConstants.FLATTENED_LSN_COL_NAME)
+ .option(TABLE_TYPE.key(), HoodieTableType.MERGE_ON_READ.name())
+ .option(DataSourceWriteOptions.TABLE_NAME.key(), "toasted_table")
+ .option(OPERATION.key(), DataSourceWriteOptions.BULK_INSERT_OPERATION_OPT_VAL)
+ .option(HoodieCompactionConfig.INLINE_COMPACT.key(), "false")
+ .option(HoodieWriteConfig.WRITE_TABLE_VERSION.key(), tableVersion)
+ .options(opts)
+ .mode(SaveMode.Overwrite)
+ .save(basePath)
+
+ // 2. Newer log records at LSN 20, each carrying the toasted sentinel in one column:
+ // id=1 -> name updated, `city` toasted (must keep base "NYC")
+ // id=2 -> name toasted (must keep base "bob"), `city` updated
+ val update = Seq(
+ (1, "alice2", sentinel, "u", 20L),
+ (2, sentinel, "SF", "u", 20L))
+ spark.createDataFrame(update).toDF(columns: _*).write.format("hudi")
+ .option(OPERATION.key(), "upsert")
Review Comment:
Done — the update write now uses `DataSourceWriteOptions.UPSERT_OPERATION_OPT_VAL` instead of the bare string.
--
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
Re: [PR] fix(debezium): keep Postgres toasted columns on MOR read (v6/v8) [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19280:
URL: https://github.com/apache/hudi/pull/19280#issuecomment-5027152679
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "2b9be8afbce9ffe6284311fcdfe9cb37a4326141",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15471",
"triggerID" : "2b9be8afbce9ffe6284311fcdfe9cb37a4326141",
"triggerType" : "PUSH"
}, {
"hash" : "02e915d9b4e83a0c2bb708af1e1bf0f3575d6d53",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15565",
"triggerID" : "02e915d9b4e83a0c2bb708af1e1bf0f3575d6d53",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 2b9be8afbce9ffe6284311fcdfe9cb37a4326141 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15471)
* 02e915d9b4e83a0c2bb708af1e1bf0f3575d6d53 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15565)
<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