You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/12/12 10:12:31 UTC
[GitHub] [hudi] lokeshj1703 opened a new pull request, #7432: HUDI-5374. Use KeyGeneratorFactory class for instantiating a KeyGenerator
lokeshj1703 opened a new pull request, #7432:
URL: https://github.com/apache/hudi/pull/7432
### Change Logs
Currently the configs hoodie.datasource.write.keygenerator.class and hoodie.datasource.write.keygenerator.type are used in multiple areas to create a key generator. The idea is to reuse the *KeyGeneratorFactory classes for instantiating KeyGenerator.
The Jira adds a KeyGeneratorFactory base class and HoodieSparkKeyGeneratorFactory, HoodieAvroKeyGeneratorFactory extends this base class. These classes are then used in code for creating KeyGenerator.
Based on Github issue: https://github.com/apache/hudi/issues/7291
### Impact
NA
### Risk level (write none, low medium or high below)
low
### Documentation Update
NA
### Contributor's checklist
- [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
- [ ] Change Logs and Impact were stated clearly
- [ ] Adequate tests were added if applicable
- [ ] CI passed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #7432: [HUDI-5374] Use KeyGeneratorFactory class for instantiating a KeyGenerator
Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7432:
URL: https://github.com/apache/hudi/pull/7432#issuecomment-1346683042
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "f077dd13e35742553cbff125b45a2e7b316a91d5",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=13642",
"triggerID" : "f077dd13e35742553cbff125b45a2e7b316a91d5",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* f077dd13e35742553cbff125b45a2e7b316a91d5 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=13642)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] lokeshj1703 commented on pull request #7432: [HUDI-5374] Use KeyGeneratorFactory class for instantiating a KeyGenerator
Posted by GitBox <gi...@apache.org>.
lokeshj1703 commented on PR #7432:
URL: https://github.com/apache/hudi/pull/7432#issuecomment-1348050037
#### Classes Affected - Old behavior
KafkaConnectTransactionServices - Uses type config if available else defaults to SIMPLE
HoodieDatasetBulkInsertHelper - Uses class config if available
SqlKeyGenerator - Uses class config if available
New behavior - first class is checked, then type config with default value of SIMPLE.
Azure CI test is failing because TestHoodieDatasetBulkInsertHelper#testNoPropsSet expects an exception since class config is not set and new behavior allows SIMPLE by default in HoodieDatasetBulkInsertHelper.
--
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-5374] Use KeyGeneratorFactory class for instantiating a KeyGenerator [hudi]
Posted by "lokeshj1703 (via GitHub)" <gi...@apache.org>.
lokeshj1703 closed pull request #7432: [HUDI-5374] Use KeyGeneratorFactory class for instantiating a KeyGenerator
URL: https://github.com/apache/hudi/pull/7432
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #7432: [HUDI-5374] Use KeyGeneratorFactory class for instantiating a KeyGenerator
Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7432:
URL: https://github.com/apache/hudi/pull/7432#issuecomment-1346297134
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "f077dd13e35742553cbff125b45a2e7b316a91d5",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=13642",
"triggerID" : "f077dd13e35742553cbff125b45a2e7b316a91d5",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* f077dd13e35742553cbff125b45a2e7b316a91d5 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=13642)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #7432: [HUDI-5374] Use KeyGeneratorFactory class for instantiating a KeyGenerator
Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7432:
URL: https://github.com/apache/hudi/pull/7432#issuecomment-1346287459
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "f077dd13e35742553cbff125b45a2e7b316a91d5",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "f077dd13e35742553cbff125b45a2e7b316a91d5",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* f077dd13e35742553cbff125b45a2e7b316a91d5 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