prashantwason opened a new pull request #2128:
URL: https://github.com/apache/hudi/pull/2128
## What is the purpose of the pull request
1. Use the DAG Node's label from the yaml as its name instead of UUID names
which are not descriptive when debugging issues from logs.
2. Fix CleanNode constructor which is not correctly implemented
3. When generating upsets, allows more granualar control over the number of
inserts and upserts - zero or more inserts and upserts can be specified instead
of always requiring both inserts and upserts.
4. Fixed generation of records of specific size
- The current code was using a class variable "shouldAddMore" which was
reset to false after the first record generation causing subsequent records to
be of minimum size.
- In this change, we pre-calculate the extra size of the complex fields.
When generating records, for complex fields we read the field size from this
map.
5. Refresh the timeline of the DeltaSync service before calling
readFromSource. This ensures that only the newest generated data is read and
data generated in the older Dag Nodes is ignored (as their AVRO files will have
an older timestamp).
6. Making --workload-generator-classname an optional parameter as most
probably the default will be used
## Brief change log
## Verify this pull request
This pull request is a trivial rework / code cleanup without any test
coverage.
## Committer checklist
- [ ] Has a corresponding JIRA in PR title & commit
- [ ] Commit message is descriptive of the change
- [ ] CI is green
- [ ] Necessary doc changes done or have another open PR
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]