Skip to content

Refactor getMin/getMax value to IndexCreationContext from Range#8442

Merged
xiangfu0 merged 1 commit intoapache:masterfrom
xiangfu0:move_min_max_value_to_IndexCreationContext
Mar 30, 2022
Merged

Refactor getMin/getMax value to IndexCreationContext from Range#8442
xiangfu0 merged 1 commit intoapache:masterfrom
xiangfu0:move_min_max_value_to_IndexCreationContext

Conversation

@xiangfu0
Copy link
Contributor

@xiangfu0 xiangfu0 commented Mar 30, 2022

Description

Refactor getMin/getMax value to IndexCreationContext from Range

Part of effort to make #8343 smaller.

Upgrade Notes

Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

  • Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

  • Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

  • New configuration options
  • Deprecation of configurations
  • Signature changes to public methods/interfaces
  • New plugins added or old plugins removed
  • Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

@xiangfu0 xiangfu0 force-pushed the move_min_max_value_to_IndexCreationContext branch from 17d43c9 to 99ab07d Compare March 30, 2022 18:52
@codecov-commenter
Copy link

codecov-commenter commented Mar 30, 2022

Codecov Report

Merging #8442 (99ab07d) into master (24cc357) will increase coverage by 2.33%.
The diff coverage is 70.00%.

@@             Coverage Diff              @@
##             master    #8442      +/-   ##
============================================
+ Coverage     67.03%   69.36%   +2.33%     
- Complexity     4196     4284      +88     
============================================
  Files          1259     1662     +403     
  Lines         63519    87227   +23708     
  Branches       9935    13205    +3270     
============================================
+ Hits          42577    60505   +17928     
- Misses        17896    22469    +4573     
- Partials       3046     4253    +1207     
Flag Coverage Δ
integration2 25.79% <0.00%> (?)
unittests1 67.08% <70.00%> (+0.05%) ⬆️
unittests2 14.15% <0.00%> (?)

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

Impacted Files Coverage Δ
...ment/creator/impl/DefaultIndexCreatorProvider.java 64.93% <0.00%> (ø)
...inot/segment/spi/creator/IndexCreationContext.java 96.99% <76.47%> (-1.41%) ⬇️
.../index/loader/invertedindex/RangeIndexHandler.java 49.55% <100.00%> (ø)
...pinot/core/operator/filter/BaseFilterOperator.java 71.42% <0.00%> (-28.58%) ⬇️
...he/pinot/segment/local/segment/store/IndexKey.java 65.00% <0.00%> (-10.00%) ⬇️
...form/function/TimeConversionTransformFunction.java 94.44% <0.00%> (-5.56%) ⬇️
...orm/function/LogicalOperatorTransformFunction.java 91.30% <0.00%> (-4.35%) ⬇️
.../transform/function/AdditionTransformFunction.java 96.00% <0.00%> (-4.00%) ⬇️
...form/function/MultiplicationTransformFunction.java 96.00% <0.00%> (-4.00%) ⬇️
...ingestion/batch/spec/SegmentGenerationJobSpec.java 53.33% <0.00%> (-3.81%) ⬇️
... and 647 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24cc357...99ab07d. Read the comment docs.

@xiangfu0 xiangfu0 merged commit e2053f6 into apache:master Mar 30, 2022
@xiangfu0 xiangfu0 deleted the move_min_max_value_to_IndexCreationContext branch March 30, 2022 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants