Skip to content

[Code Refactor] ArrayCopyUtils 2D Array for Transform Functions#9324

Merged
siddharthteotia merged 3 commits intoapache:masterfrom
SabrinaZhaozyf:refactorCopy
Sep 6, 2022
Merged

[Code Refactor] ArrayCopyUtils 2D Array for Transform Functions#9324
siddharthteotia merged 3 commits intoapache:masterfrom
SabrinaZhaozyf:refactorCopy

Conversation

@SabrinaZhaozyf
Copy link
Contributor

This PR refactored code in BaseTransformFunction to use the newly added helper functions in ArrayCopyUtils.
Related PR: #9296

@codecov-commenter
Copy link

codecov-commenter commented Sep 1, 2022

Codecov Report

Merging #9324 (0238bc9) into master (e5ad87c) will decrease coverage by 41.29%.
The diff coverage is 10.46%.

@@              Coverage Diff              @@
##             master    #9324       +/-   ##
=============================================
- Coverage     69.73%   28.44%   -41.30%     
+ Complexity     4772       53     -4719     
=============================================
  Files          1873     1863       -10     
  Lines         99616    99393      -223     
  Branches      15168    15128       -40     
=============================================
- Hits          69471    28276    -41195     
- Misses        25210    68385    +43175     
+ Partials       4935     2732     -2203     
Flag Coverage Δ
integration1 26.26% <10.46%> (+0.07%) ⬆️
integration2 24.82% <10.46%> (-0.07%) ⬇️
unittests1 ?
unittests2 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ava/org/apache/pinot/spi/utils/ArrayCopyUtils.java 0.00% <0.00%> (-88.58%) ⬇️
...ator/transform/function/BaseTransformFunction.java 20.91% <25.00%> (-27.95%) ⬇️
...ator/transform/function/CastTransformFunction.java 43.58% <54.54%> (-40.42%) ⬇️
...in/java/org/apache/pinot/spi/utils/BytesUtils.java 0.00% <0.00%> (-100.00%) ⬇️
.../java/org/apache/pinot/spi/utils/BooleanUtils.java 0.00% <0.00%> (-100.00%) ⬇️
...java/org/apache/pinot/spi/trace/BaseRecording.java 0.00% <0.00%> (-100.00%) ⬇️
...java/org/apache/pinot/spi/trace/NoOpRecording.java 0.00% <0.00%> (-100.00%) ⬇️
...ava/org/apache/pinot/spi/config/table/FSTType.java 0.00% <0.00%> (-100.00%) ⬇️
...ava/org/apache/pinot/spi/config/user/RoleType.java 0.00% <0.00%> (-100.00%) ⬇️
...ava/org/apache/pinot/spi/data/MetricFieldSpec.java 0.00% <0.00%> (-100.00%) ⬇️
... and 1289 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@somandal somandal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for the cleanup!

@siddharthteotia siddharthteotia merged commit 0af226d into apache:master Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants