huberylee opened a new pull request, #6677:
URL: https://github.com/apache/hudi/pull/6677
### Change Logs
Introducing a new action type called build to actually perform index data
generation. This action contains two steps as clustering action does:
- Generate action plan to clarify which files and which indexes need to be
built;
- Execute build index according action plan generated by step one;
Call procedure will be implemented as well to show or run build action.
Classes in package ``org.apache.hudi.secondary.index.lucene.hadoop`` were
copied from package ``org.apache.solr.hdfs.store`` in Apache Solr project.
### Impact
User can use ``call show_build(table=> '$table'[, path => $path], limit =>
$limit, show_involved_partition => [true/false])`` to list build commits,
use``call run_build(table => '$table'[, path => $path], predicate =>
'$predicate', show_involved_partition => [true/false])`` to trigger new build
action if conditions are satisfied.
**Risk level: none | low | medium | high**
_Choose one. If medium or high, explain what verification was done to
mitigate the risks._
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]