You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "jonvex (via GitHub)" <gi...@apache.org> on 2025/07/07 20:39:35 UTC
[PR] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
jonvex opened a new pull request, #13529:
URL: https://github.com/apache/hudi/pull/13529
### Change Logs
_Describe context and summary for this change. Highlight if any code was copied._
### Impact
_Describe any public API or user-facing feature change or any performance impact._
### Risk level (write none, low medium or high below)
_If medium or high, explain what verification was done to mitigate the risks._
### Documentation Update
_Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none"._
- _The config description must be updated if new configs are added or the default value of the configs are changed_
- _Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the [instruction](https://hudi.apache.org/contribute/developer-setup#website) to make
changes to the website._
### 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
Re: [PR] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "jonvex (via GitHub)" <gi...@apache.org>.
jonvex commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2222955112
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -334,29 +340,13 @@ object DefaultSource {
resolveBaseFileOnlyRelation(sqlContext, globPaths, userSchema, metaClient, parameters)
}
case (COPY_ON_WRITE, QUERY_TYPE_INCREMENTAL_OPT_VAL, _) =>
- if (SparkConfigUtils.containsConfigProperty(parameters, INCREMENTAL_READ_TABLE_VERSION)) {
- val writeTableVersion = Integer.parseInt(parameters(INCREMENTAL_READ_TABLE_VERSION.key))
- if (writeTableVersion >= HoodieTableVersion.EIGHT.versionCode()) {
- if (useNewParquetFileFormat) {
- new HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(
- sqlContext, metaClient, parameters, userSchema, isBootstrappedTable).build()
- } else {
- new IncrementalRelationV2(sqlContext, parameters, userSchema, metaClient, RangeType.CLOSED_CLOSED)
- }
- } else {
- new IncrementalRelationV1(sqlContext, parameters, userSchema, metaClient)
- }
- } else {
- if (metaClient.getTableConfig.getTableVersion.versionCode() >= HoodieTableVersion.EIGHT.versionCode()) {
- if (useNewParquetFileFormat) {
- new HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(
- sqlContext, metaClient, parameters, userSchema, isBootstrappedTable).build()
- } else {
- new IncrementalRelationV2(sqlContext, parameters, userSchema, metaClient, RangeType.CLOSED_CLOSED)
- }
- } else {
- new IncrementalRelationV1(sqlContext, parameters, userSchema, metaClient)
- }
+ (hudiOneTable, useNewParquetFileFormat) match {
+ case (true, true) => new HoodieCopyOnWriteIncrementalHadoopFsRelationFactoryV2(
Review Comment:
I thought it was cleaner this way. In https://github.com/apache/hudi/pull/13503 we use them again
--
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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3105078380
@jonvex : once azure CI succeeds, we are good to land
--
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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3104452115
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
}, {
"hash" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958",
"triggerID" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"triggerType" : "PUSH"
}, {
"hash" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"triggerType" : "PUSH"
}, {
"hash" : "b98e9f41900632ffd9fc2c21371c97718000fb03",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "b98e9f41900632ffd9fc2c21371c97718000fb03",
"triggerType" : "PUSH"
}, {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 14e44e57ba3fce206f488c829bb743aa5e029147 UNKNOWN
* b98e9f41900632ffd9fc2c21371c97718000fb03 UNKNOWN
* 22d6a20e3e2e64f1d1784335795661a6581e9b52 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3103938461
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
}, {
"hash" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958",
"triggerID" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"triggerType" : "PUSH"
}, {
"hash" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"triggerType" : "PUSH"
}, {
"hash" : "b98e9f41900632ffd9fc2c21371c97718000fb03",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "b98e9f41900632ffd9fc2c21371c97718000fb03",
"triggerType" : "PUSH"
}, {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 9c6114b9d7ecdd39b4adac8cd7f5115397b40653 Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958)
* 14e44e57ba3fce206f488c829bb743aa5e029147 UNKNOWN
* b98e9f41900632ffd9fc2c21371c97718000fb03 UNKNOWN
* 22d6a20e3e2e64f1d1784335795661a6581e9b52 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2223705439
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -334,29 +340,13 @@ object DefaultSource {
resolveBaseFileOnlyRelation(sqlContext, globPaths, userSchema, metaClient, parameters)
}
case (COPY_ON_WRITE, QUERY_TYPE_INCREMENTAL_OPT_VAL, _) =>
- if (SparkConfigUtils.containsConfigProperty(parameters, INCREMENTAL_READ_TABLE_VERSION)) {
- val writeTableVersion = Integer.parseInt(parameters(INCREMENTAL_READ_TABLE_VERSION.key))
- if (writeTableVersion >= HoodieTableVersion.EIGHT.versionCode()) {
- if (useNewParquetFileFormat) {
- new HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(
- sqlContext, metaClient, parameters, userSchema, isBootstrappedTable).build()
- } else {
- new IncrementalRelationV2(sqlContext, parameters, userSchema, metaClient, RangeType.CLOSED_CLOSED)
- }
- } else {
- new IncrementalRelationV1(sqlContext, parameters, userSchema, metaClient)
- }
- } else {
- if (metaClient.getTableConfig.getTableVersion.versionCode() >= HoodieTableVersion.EIGHT.versionCode()) {
- if (useNewParquetFileFormat) {
- new HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(
- sqlContext, metaClient, parameters, userSchema, isBootstrappedTable).build()
- } else {
- new IncrementalRelationV2(sqlContext, parameters, userSchema, metaClient, RangeType.CLOSED_CLOSED)
- }
- } else {
- new IncrementalRelationV1(sqlContext, parameters, userSchema, metaClient)
- }
+ (hudiOneTable, useNewParquetFileFormat) match {
+ case (true, true) => new HoodieCopyOnWriteIncrementalHadoopFsRelationFactoryV2(
Review Comment:
gotcha.
--
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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "jonvex (via GitHub)" <gi...@apache.org>.
jonvex commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2202785608
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieCDCFileIndex.scala:
##########
@@ -79,8 +79,4 @@ class HoodieCDCFileIndex (override val spark: SparkSession,
new Path(fileGroupId.getPartitionPath, fileGroupId.getFileId).toString
}.toArray
}
-
- override def getRequiredFilters: Seq[Filter] = {
- Seq.empty
- }
Review Comment:
yeah. Added to the description, but this is ontop of https://github.com/apache/hudi/pull/13527
--
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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3104708729
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
}, {
"hash" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6978",
"triggerID" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 22d6a20e3e2e64f1d1784335795661a6581e9b52 Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966)
* 0d125790146e88f9d1fca92fb42a33af1d493d0c Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6978)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3103850801
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
}, {
"hash" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958",
"triggerID" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"triggerType" : "PUSH"
}, {
"hash" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"triggerType" : "PUSH"
}, {
"hash" : "b98e9f41900632ffd9fc2c21371c97718000fb03",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "b98e9f41900632ffd9fc2c21371c97718000fb03",
"triggerType" : "PUSH"
}, {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 9c6114b9d7ecdd39b4adac8cd7f5115397b40653 Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958)
* 14e44e57ba3fce206f488c829bb743aa5e029147 UNKNOWN
* b98e9f41900632ffd9fc2c21371c97718000fb03 UNKNOWN
* 22d6a20e3e2e64f1d1784335795661a6581e9b52 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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3065750922
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638)
* 0516513891e188554788eff1523d5c71261494b4 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3103624598
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
}, {
"hash" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958",
"triggerID" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b167243121be4e725de9b9cfc870c4c979e56e2e Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953)
* 9c6114b9d7ecdd39b4adac8cd7f5115397b40653 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3103648098
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
}, {
"hash" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958",
"triggerID" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"triggerType" : "PUSH"
}, {
"hash" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b167243121be4e725de9b9cfc870c4c979e56e2e Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953)
* 9c6114b9d7ecdd39b4adac8cd7f5115397b40653 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958)
* 14e44e57ba3fce206f488c829bb743aa5e029147 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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3046459992
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322 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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3092554369
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 04d772b72cd0bbc632c28cc2972cfefdf256bc7e Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "jonvex (via GitHub)" <gi...@apache.org>.
jonvex commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2223026157
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieHadoopFsRelationFactory.scala:
##########
@@ -424,15 +442,16 @@ abstract class BaseHoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override
}
-class HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override val sqlContext: SQLContext,
- override val metaClient: HoodieTableMetaClient,
- override val options: Map[String, String],
- override val schemaSpec: Option[StructType],
- isBootstrap: Boolean)
- extends BaseHoodieCopyOnWriteIncrementalHadoopFsRelationFactory(sqlContext, metaClient, options, schemaSpec, isBootstrap) {
+abstract class HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override val sqlContext: SQLContext,
+ override val metaClient: HoodieTableMetaClient,
+ override val options: Map[String, String],
+ override val schemaSpec: Option[StructType],
+ isBootstrap: Boolean,
+ mergeOnReadIncrementalRelation: MergeOnReadIncrementalRelation)
+ extends HoodieBaseCopyOnWriteIncrementalHadoopFsRelationFactory(sqlContext, metaClient, options, schemaSpec, isBootstrap) {
private val incrementalFileIndex = new HoodieIncrementalFileIndex(
- sparkSession, metaClient, schemaSpec, options, fileStatusCache, false, true)
+ sparkSession, metaClient, schemaSpec, options, fileStatusCache, false, true, mergeOnReadIncrementalRelation)
Review Comment:
https://github.com/apache/hudi/pull/9888 is the pr that adds this. It seems like it is there because it needs to use util methods. The cow incremental relations don't even have this method
--
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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3103298773
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 04d772b72cd0bbc632c28cc2972cfefdf256bc7e Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874)
* b167243121be4e725de9b9cfc870c4c979e56e2e Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3103292170
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 04d772b72cd0bbc632c28cc2972cfefdf256bc7e Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874)
* b167243121be4e725de9b9cfc870c4c979e56e2e 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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3111768027
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
}, {
"hash" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6978",
"triggerID" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"triggerType" : "PUSH"
}, {
"hash" : "a936f8824813bc1197317b428a8bc14445191e40",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7032",
"triggerID" : "a936f8824813bc1197317b428a8bc14445191e40",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* a936f8824813bc1197317b428a8bc14445191e40 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7032)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3114042667
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "a936f8824813bc1197317b428a8bc14445191e40",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7032",
"triggerID" : "a936f8824813bc1197317b428a8bc14445191e40",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* a936f8824813bc1197317b428a8bc14445191e40 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7032)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3114253562
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "a936f8824813bc1197317b428a8bc14445191e40",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7032",
"triggerID" : "a936f8824813bc1197317b428a8bc14445191e40",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* a936f8824813bc1197317b428a8bc14445191e40 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7032)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3114248761
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "a936f8824813bc1197317b428a8bc14445191e40",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "a936f8824813bc1197317b428a8bc14445191e40",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* a936f8824813bc1197317b428a8bc14445191e40 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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3103422739
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
}, {
"hash" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b167243121be4e725de9b9cfc870c4c979e56e2e Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953)
* 9c6114b9d7ecdd39b4adac8cd7f5115397b40653 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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3103411446
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
}, {
"hash" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 04d772b72cd0bbc632c28cc2972cfefdf256bc7e Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874)
* b167243121be4e725de9b9cfc870c4c979e56e2e Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953)
* 9c6114b9d7ecdd39b4adac8cd7f5115397b40653 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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3103659789
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
}, {
"hash" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958",
"triggerID" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"triggerType" : "PUSH"
}, {
"hash" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 9c6114b9d7ecdd39b4adac8cd7f5115397b40653 Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958)
* 14e44e57ba3fce206f488c829bb743aa5e029147 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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3105090035
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
}, {
"hash" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6978",
"triggerID" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 0d125790146e88f9d1fca92fb42a33af1d493d0c Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6978)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3114036986
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "a936f8824813bc1197317b428a8bc14445191e40",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "a936f8824813bc1197317b428a8bc14445191e40",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* a936f8824813bc1197317b428a8bc14445191e40 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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "yihua (via GitHub)" <gi...@apache.org>.
yihua commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2193545557
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -338,24 +338,34 @@ object DefaultSource {
val writeTableVersion = Integer.parseInt(parameters(INCREMENTAL_READ_TABLE_VERSION.key))
if (writeTableVersion >= HoodieTableVersion.EIGHT.versionCode()) {
if (useNewParquetFileFormat) {
- new HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(
- sqlContext, metaClient, parameters, userSchema, isBootstrappedTable).build()
+ new HoodieCopyOnWriteIncrementalHadoopFsRelationFactoryV2(
Review Comment:
nit: there is duplicate code in `case (COPY_ON_WRITE, QUERY_TYPE_INCREMENTAL_OPT_VAL, _)` and `case (MERGE_ON_READ, QUERY_TYPE_INCREMENTAL_OPT_VAL, _)` which was somehow not addressed in the original PR adding this part of logic. We can extract the common logic to simplify it like this:
```
case (COPY_ON_WRITE, QUERY_TYPE_INCREMENTAL_OPT_VAL, _) =>
val tableVersion = if (SparkConfigUtils.containsConfigProperty(parameters, INCREMENTAL_READ_TABLE_VERSION) {
Integer.parseInt(parameters(INCREMENTAL_READ_TABLE_VERSION.key))
} else {
metaClient.getTableConfig.getTableVersion.versionCode()
}
if (tableVersion >= HoodieTableVersion.EIGHT.versionCode()) {
if (useNewParquetFileFormat) {
new HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(
sqlContext, metaClient, parameters, userSchema, isBootstrappedTable).build()
} else {
new IncrementalRelationV2(sqlContext, parameters, userSchema, metaClient, RangeType.CLOSED_CLOSED)
}
} else {
if (useNewParquetFileFormat) {
new HoodieCopyOnWriteIncrementalHadoopFsRelationFactoryV1(
sqlContext, metaClient, parameters, userSchema, isBootstrappedTable).build()
} else {
new IncrementalRelationV1(sqlContext, parameters, userSchema, metaClient)
}
}
```
--
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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "jonvex (via GitHub)" <gi...@apache.org>.
jonvex commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2222691869
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -307,6 +307,12 @@ object DefaultSource {
val useNewParquetFileFormat = parameters.getOrElse(HoodieReaderConfig.FILE_GROUP_READER_ENABLED.key(),
HoodieReaderConfig.FILE_GROUP_READER_ENABLED.defaultValue().toString).toBoolean &&
!metaClient.isMetadataTable && (globPaths == null || globPaths.isEmpty)
+ lazy val tableVersion = if (SparkConfigUtils.containsConfigProperty(parameters, INCREMENTAL_READ_TABLE_VERSION)) {
+ Integer.parseInt(parameters(INCREMENTAL_READ_TABLE_VERSION.key))
+ } else {
+ metaClient.getTableConfig.getTableVersion.versionCode()
+ }
+ lazy val hudiOneTable = tableVersion >= HoodieTableVersion.EIGHT.versionCode()
Review Comment:
Is 8 even the first 1.X table? Maybe there is a better name?
--
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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3092524580
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 220d9411164e5660dabb71294ae0cce345157a2d Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702)
* 04d772b72cd0bbc632c28cc2972cfefdf256bc7e Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2223704479
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -307,6 +307,12 @@ object DefaultSource {
val useNewParquetFileFormat = parameters.getOrElse(HoodieReaderConfig.FILE_GROUP_READER_ENABLED.key(),
HoodieReaderConfig.FILE_GROUP_READER_ENABLED.defaultValue().toString).toBoolean &&
!metaClient.isMetadataTable && (globPaths == null || globPaths.isEmpty)
+ lazy val tableVersion = if (SparkConfigUtils.containsConfigProperty(parameters, INCREMENTAL_READ_TABLE_VERSION)) {
+ Integer.parseInt(parameters(INCREMENTAL_READ_TABLE_VERSION.key))
+ } else {
+ metaClient.getTableConfig.getTableVersion.versionCode()
+ }
+ lazy val hudiOneTable = tableVersion >= HoodieTableVersion.EIGHT.versionCode()
Review Comment:
we can name it as `hoodieTableSupportsCompletionTime`
--
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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "jonvex (via GitHub)" <gi...@apache.org>.
jonvex merged PR #13529:
URL: https://github.com/apache/hudi/pull/13529
--
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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3065777404
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638)
* 0516513891e188554788eff1523d5c71261494b4 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699)
* 220d9411164e5660dabb71294ae0cce345157a2d 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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3065877949
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 0516513891e188554788eff1523d5c71261494b4 Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699)
* 220d9411164e5660dabb71294ae0cce345157a2d Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702)
<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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "yihua (via GitHub)" <gi...@apache.org>.
yihua commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2193501918
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieCDCFileIndex.scala:
##########
@@ -79,8 +79,4 @@ class HoodieCDCFileIndex (override val spark: SparkSession,
new Path(fileGroupId.getPartitionPath, fileGroupId.getFileId).toString
}.toArray
}
-
- override def getRequiredFilters: Seq[Filter] = {
- Seq.empty
- }
Review Comment:
Should this be kept for CDC file index?
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieCDCFileIndex.scala:
##########
@@ -79,8 +79,4 @@ class HoodieCDCFileIndex (override val spark: SparkSession,
new Path(fileGroupId.getPartitionPath, fileGroupId.getFileId).toString
}.toArray
}
-
- override def getRequiredFilters: Seq[Filter] = {
- Seq.empty
- }
Review Comment:
Is it no longer used because of the changes in the relation factory class?
--
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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3046464725
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3111641313
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
}, {
"hash" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6978",
"triggerID" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"triggerType" : "PUSH"
}, {
"hash" : "a936f8824813bc1197317b428a8bc14445191e40",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7032",
"triggerID" : "a936f8824813bc1197317b428a8bc14445191e40",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 0d125790146e88f9d1fca92fb42a33af1d493d0c Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6978)
* a936f8824813bc1197317b428a8bc14445191e40 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7032)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3103759248
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6874",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
}, {
"hash" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6953",
"triggerID" : "b167243121be4e725de9b9cfc870c4c979e56e2e",
"triggerType" : "PUSH"
}, {
"hash" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958",
"triggerID" : "9c6114b9d7ecdd39b4adac8cd7f5115397b40653",
"triggerType" : "PUSH"
}, {
"hash" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "14e44e57ba3fce206f488c829bb743aa5e029147",
"triggerType" : "PUSH"
}, {
"hash" : "b98e9f41900632ffd9fc2c21371c97718000fb03",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "b98e9f41900632ffd9fc2c21371c97718000fb03",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 9c6114b9d7ecdd39b4adac8cd7f5115397b40653 Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6958)
* 14e44e57ba3fce206f488c829bb743aa5e029147 UNKNOWN
* b98e9f41900632ffd9fc2c21371c97718000fb03 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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3104641399
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 22d6a20e3e2e64f1d1784335795661a6581e9b52 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3092523716
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
}, {
"hash" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "04d772b72cd0bbc632c28cc2972cfefdf256bc7e",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 220d9411164e5660dabb71294ae0cce345157a2d Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702)
* 04d772b72cd0bbc632c28cc2972cfefdf256bc7e 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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2220507093
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -307,6 +307,12 @@ object DefaultSource {
val useNewParquetFileFormat = parameters.getOrElse(HoodieReaderConfig.FILE_GROUP_READER_ENABLED.key(),
HoodieReaderConfig.FILE_GROUP_READER_ENABLED.defaultValue().toString).toBoolean &&
!metaClient.isMetadataTable && (globPaths == null || globPaths.isEmpty)
+ lazy val tableVersion = if (SparkConfigUtils.containsConfigProperty(parameters, INCREMENTAL_READ_TABLE_VERSION)) {
+ Integer.parseInt(parameters(INCREMENTAL_READ_TABLE_VERSION.key))
+ } else {
+ metaClient.getTableConfig.getTableVersion.versionCode()
+ }
+ lazy val hudiOneTable = tableVersion >= HoodieTableVersion.EIGHT.versionCode()
Review Comment:
can you add java docs to all out what exactly is `hudiOneTable`.lets not confused developers w/ One table or XTable :)
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -334,29 +340,13 @@ object DefaultSource {
resolveBaseFileOnlyRelation(sqlContext, globPaths, userSchema, metaClient, parameters)
}
case (COPY_ON_WRITE, QUERY_TYPE_INCREMENTAL_OPT_VAL, _) =>
- if (SparkConfigUtils.containsConfigProperty(parameters, INCREMENTAL_READ_TABLE_VERSION)) {
- val writeTableVersion = Integer.parseInt(parameters(INCREMENTAL_READ_TABLE_VERSION.key))
- if (writeTableVersion >= HoodieTableVersion.EIGHT.versionCode()) {
- if (useNewParquetFileFormat) {
- new HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(
- sqlContext, metaClient, parameters, userSchema, isBootstrappedTable).build()
- } else {
- new IncrementalRelationV2(sqlContext, parameters, userSchema, metaClient, RangeType.CLOSED_CLOSED)
- }
- } else {
- new IncrementalRelationV1(sqlContext, parameters, userSchema, metaClient)
- }
- } else {
- if (metaClient.getTableConfig.getTableVersion.versionCode() >= HoodieTableVersion.EIGHT.versionCode()) {
- if (useNewParquetFileFormat) {
- new HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(
- sqlContext, metaClient, parameters, userSchema, isBootstrappedTable).build()
- } else {
- new IncrementalRelationV2(sqlContext, parameters, userSchema, metaClient, RangeType.CLOSED_CLOSED)
- }
- } else {
- new IncrementalRelationV1(sqlContext, parameters, userSchema, metaClient)
- }
+ (hudiOneTable, useNewParquetFileFormat) match {
+ case (true, true) => new HoodieCopyOnWriteIncrementalHadoopFsRelationFactoryV2(
Review Comment:
do we really need 2 factories?
why can't we construct the right `IncrementalRelationV1` or `IncrementalRelationV2` here only and just use one `HoodieCopyOnWriteIncrementalHadoopFsRelationFactory`
just for this one abstraction which can be inferred and constructed here, why do we need to add more factory classes
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieHadoopFsRelationFactory.scala:
##########
@@ -424,15 +442,16 @@ abstract class BaseHoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override
}
-class HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override val sqlContext: SQLContext,
- override val metaClient: HoodieTableMetaClient,
- override val options: Map[String, String],
- override val schemaSpec: Option[StructType],
- isBootstrap: Boolean)
- extends BaseHoodieCopyOnWriteIncrementalHadoopFsRelationFactory(sqlContext, metaClient, options, schemaSpec, isBootstrap) {
+abstract class HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override val sqlContext: SQLContext,
+ override val metaClient: HoodieTableMetaClient,
+ override val options: Map[String, String],
+ override val schemaSpec: Option[StructType],
+ isBootstrap: Boolean,
+ mergeOnReadIncrementalRelation: MergeOnReadIncrementalRelation)
+ extends HoodieBaseCopyOnWriteIncrementalHadoopFsRelationFactory(sqlContext, metaClient, options, schemaSpec, isBootstrap) {
private val incrementalFileIndex = new HoodieIncrementalFileIndex(
- sparkSession, metaClient, schemaSpec, options, fileStatusCache, false, true)
+ sparkSession, metaClient, schemaSpec, options, fileStatusCache, false, true, mergeOnReadIncrementalRelation)
Review Comment:
do you know why we are using `mergeOnReadIncrementalRelation` within HoodieIncrementalFileIndex even for COW table.
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieHadoopFsRelationFactory.scala:
##########
@@ -424,15 +442,16 @@ abstract class BaseHoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override
}
-class HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override val sqlContext: SQLContext,
- override val metaClient: HoodieTableMetaClient,
- override val options: Map[String, String],
- override val schemaSpec: Option[StructType],
- isBootstrap: Boolean)
- extends BaseHoodieCopyOnWriteIncrementalHadoopFsRelationFactory(sqlContext, metaClient, options, schemaSpec, isBootstrap) {
+abstract class HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override val sqlContext: SQLContext,
+ override val metaClient: HoodieTableMetaClient,
+ override val options: Map[String, String],
+ override val schemaSpec: Option[StructType],
+ isBootstrap: Boolean,
+ mergeOnReadIncrementalRelation: MergeOnReadIncrementalRelation)
+ extends HoodieBaseCopyOnWriteIncrementalHadoopFsRelationFactory(sqlContext, metaClient, options, schemaSpec, isBootstrap) {
private val incrementalFileIndex = new HoodieIncrementalFileIndex(
- sparkSession, metaClient, schemaSpec, options, fileStatusCache, false, true)
+ sparkSession, metaClient, schemaSpec, options, fileStatusCache, false, true, mergeOnReadIncrementalRelation)
Review Comment:
shouldn't this be one of `IncrementalRelationV1` or `IncrementalRelationV2`
--
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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3046718540
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638)
<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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2223703475
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieHadoopFsRelationFactory.scala:
##########
@@ -424,15 +442,16 @@ abstract class BaseHoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override
}
-class HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override val sqlContext: SQLContext,
- override val metaClient: HoodieTableMetaClient,
- override val options: Map[String, String],
- override val schemaSpec: Option[StructType],
- isBootstrap: Boolean)
- extends BaseHoodieCopyOnWriteIncrementalHadoopFsRelationFactory(sqlContext, metaClient, options, schemaSpec, isBootstrap) {
+abstract class HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override val sqlContext: SQLContext,
+ override val metaClient: HoodieTableMetaClient,
+ override val options: Map[String, String],
+ override val schemaSpec: Option[StructType],
+ isBootstrap: Boolean,
+ mergeOnReadIncrementalRelation: MergeOnReadIncrementalRelation)
+ extends HoodieBaseCopyOnWriteIncrementalHadoopFsRelationFactory(sqlContext, metaClient, options, schemaSpec, isBootstrap) {
private val incrementalFileIndex = new HoodieIncrementalFileIndex(
- sparkSession, metaClient, schemaSpec, options, fileStatusCache, false, true)
+ sparkSession, metaClient, schemaSpec, options, fileStatusCache, false, true, mergeOnReadIncrementalRelation)
Review Comment:
hmmm, I see. can we clean that up as well since we are fixing class hierarchy anyways as part of this exercise
--
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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3104636962
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 22d6a20e3e2e64f1d1784335795661a6581e9b52 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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "jonvex (via GitHub)" <gi...@apache.org>.
jonvex commented on code in PR #13529:
URL: https://github.com/apache/hudi/pull/13529#discussion_r2223828749
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieHadoopFsRelationFactory.scala:
##########
@@ -424,15 +442,16 @@ abstract class BaseHoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override
}
-class HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override val sqlContext: SQLContext,
- override val metaClient: HoodieTableMetaClient,
- override val options: Map[String, String],
- override val schemaSpec: Option[StructType],
- isBootstrap: Boolean)
- extends BaseHoodieCopyOnWriteIncrementalHadoopFsRelationFactory(sqlContext, metaClient, options, schemaSpec, isBootstrap) {
+abstract class HoodieCopyOnWriteIncrementalHadoopFsRelationFactory(override val sqlContext: SQLContext,
+ override val metaClient: HoodieTableMetaClient,
+ override val options: Map[String, String],
+ override val schemaSpec: Option[StructType],
+ isBootstrap: Boolean,
+ mergeOnReadIncrementalRelation: MergeOnReadIncrementalRelation)
+ extends HoodieBaseCopyOnWriteIncrementalHadoopFsRelationFactory(sqlContext, metaClient, options, schemaSpec, isBootstrap) {
private val incrementalFileIndex = new HoodieIncrementalFileIndex(
- sparkSession, metaClient, schemaSpec, options, fileStatusCache, false, true)
+ sparkSession, metaClient, schemaSpec, options, fileStatusCache, false, true, mergeOnReadIncrementalRelation)
Review Comment:
That will be complex and I think out of scope of this pr. I can create a followup ticket https://issues.apache.org/jira/browse/HUDI-9623
--
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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3104704136
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
}, {
"hash" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 22d6a20e3e2e64f1d1784335795661a6581e9b52 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966)
* 0d125790146e88f9d1fca92fb42a33af1d493d0c 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] [HUDI-9609] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3111638937
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6966",
"triggerID" : "22d6a20e3e2e64f1d1784335795661a6581e9b52",
"triggerType" : "PUSH"
}, {
"hash" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6978",
"triggerID" : "0d125790146e88f9d1fca92fb42a33af1d493d0c",
"triggerType" : "PUSH"
}, {
"hash" : "a936f8824813bc1197317b428a8bc14445191e40",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "a936f8824813bc1197317b428a8bc14445191e40",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 0d125790146e88f9d1fca92fb42a33af1d493d0c Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6978)
* a936f8824813bc1197317b428a8bc14445191e40 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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3065932596
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 220d9411164e5660dabb71294ae0cce345157a2d Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6702)
<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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3065784576
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
}, {
"hash" : "220d9411164e5660dabb71294ae0cce345157a2d",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "220d9411164e5660dabb71294ae0cce345157a2d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 0516513891e188554788eff1523d5c71261494b4 Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6699)
* 220d9411164e5660dabb71294ae0cce345157a2d 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] [NEED TICKET] Add support for V1 incremental queries with fg reader [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13529:
URL: https://github.com/apache/hudi/pull/13529#issuecomment-3065745134
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638",
"triggerID" : "e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322",
"triggerType" : "PUSH"
}, {
"hash" : "0516513891e188554788eff1523d5c71261494b4",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "0516513891e188554788eff1523d5c71261494b4",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* e856ed8c1d2f9d7db0694a68cd2eb66c70ecc322 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=6638)
* 0516513891e188554788eff1523d5c71261494b4 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