-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make UDTF execution framework batch processing (#12562)
* Add `.putFloats()` to insert multiple rows at the same time. * Complete all batch insert method in `BatchData.java`. * Add overload methods with indexes to avoid copying. * Add Java doc for new methods in `BatchData.java`. * Merge two `BatchDataTest.java` files. * Add `.putColumns()` method to `SerializableRowRecordList.java`. * Finish batch insert method prototype in row record list and tv list. * UDTF execution framework can support running really simple UDTF. * Change TVList to list of columns to avoid copying. * Compile DataNode without error. * Format all files by `mvn splotless:apply`. * Optimize import by using IDEA shortcut. * Fix put data into existing list error. * Generate data in terminate method. * Format again using `mvn spotless:apply`. * Fix some bugs and implement RowWindow UDTF. * Basically pass all UDF-related IT. * Add license header to all newly-added files. * Add memory control strategy for binary list. * Add memory control strategy for row list that contains binary field. * Copy subregion to avoid memory leakage. * Update iterator by recording first data index when apply new memory strategy. * Unify `newXXX` series methods name to `construct`. * Basically refactor storage layer. * Add and update copy method to Column based classes. * Rewrite unit test for ElasticSerializableRowList. * Rewrite unit test for SerializableRowList. * Rewrite unit test for SerializableTVList. * Rewrite unit test for ElasticSerializableTVList. * Sync changes between TVList and RowList. * Refine UT of ESRowList and ESTVList with random size strings. * Do not cache internal list in some situation. * Add forgotten files. * Revert `BatchData.java` relevant files. * Remove redundant `timeHeap.clear()` in MultiInputColumnIntermediateLayer. * Add constant folding in BinaryTransformer. * Refactor computational layer. * Replace origin normal column in constant reader with RLEColumn. * Batch sliding time row window in SingleInputColumnSingleReferenceIntermediateLayer. * Batch other row windows in SingleInputColumnSingleReferenceIntermediateLayer. * Add forgotten `TransformUtils.java` file. * Batch all row windows in SingleInputColumnMultiReferenceIntermediateLayer. * Batch all row windows in all intermediate layer. * Remove code with no usage. * Remove code with no usage agaion. * Remove nonexistent files. * Refactor project's structure. * Optimize when there is only one transformer. * Fix losing data bug in benchmarking. * Refactor UDTF executor. * Skip cache update when getting column size. * Discard TsBlock when there is only one UDF. * Fix transformer IT errors. * Remove unnecessary bitmap in ESRowList. * Update TsFile version. * Fix some IT OOM bugs. * Try to fix UT OOM error. * Apply spotless plugin. * Evict data in UDF output storage. * Revert optimization when there is only one UDTF. * Fix losing data error. * Update internal column count when ESList apply new memory control strategy. * Add new types in SerializableRowList. * Apply mvn spotless plugin. * Fix integration-tests errors. * Modify code according to committer's advices.[Part One] * Modify code according to committer's advices.[Part Two] * Modify code according to committer's advices.[Part Three]
- Loading branch information
Showing
105 changed files
with
7,148 additions
and
6,750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.