jinxing64 opened a new pull request, #5506:
URL: https://github.com/apache/hudi/pull/5506
## What is the purpose of the pull request
In spark-3.2 (compiling with mvn -P3.2), test of TestTruncateTable("Test
Truncate single-partition table' partitions") fails. The reason is
HoodieSpark3Analysis seems forgot to transform TruncatePartition to
TruncateHoodieTableCommand.
## Brief change log
- Add a branch to transform TruncatePartition to
TruncateHoodieTableCommand in HoodieSpark3Analysis;
- Replace some checking of "isInstance" by case-class pattern matching;
## Verify this pull request
This pull request is already covered by existing tests, such as *(please
describe tests)*.
## 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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]