Skip to content

Conversation

@xiangfu0
Copy link
Contributor

Let expression transformer also honor continueOnError flag.

@xiangfu0 xiangfu0 force-pushed the all_expression_transformer_continue_on_error branch from abaf680 to d459875 Compare September 11, 2022 00:37
@codecov-commenter
Copy link

codecov-commenter commented Sep 11, 2022

Codecov Report

Merging #9376 (d459875) into master (f796de4) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #9376      +/-   ##
============================================
+ Coverage     69.77%   69.80%   +0.03%     
- Complexity     4783     5080     +297     
============================================
  Files          1885     1885              
  Lines        100288   100293       +5     
  Branches      15254    15256       +2     
============================================
+ Hits          69974    70009      +35     
+ Misses        25362    25335      -27     
+ Partials       4952     4949       -3     
Flag Coverage Δ
integration1 26.15% <0.00%> (+<0.01%) ⬆️
integration2 24.82% <0.00%> (-0.12%) ⬇️
unittests1 66.94% <100.00%> (+<0.01%) ⬆️
unittests2 15.30% <0.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
...local/recordtransformer/ExpressionTransformer.java 88.70% <100.00%> (+0.99%) ⬆️
...g/apache/pinot/server/api/resources/ErrorInfo.java 0.00% <0.00%> (-100.00%) ⬇️
...t/server/api/resources/DefaultExceptionMapper.java 0.00% <0.00%> (-75.00%) ⬇️
...ache/pinot/core/operator/docidsets/OrDocIdSet.java 86.36% <0.00%> (-11.37%) ⬇️
.../pinot/server/api/resources/TableSizeResource.java 80.00% <0.00%> (-8.00%) ⬇️
...inot/core/util/SegmentCompletionProtocolUtils.java 57.69% <0.00%> (-7.70%) ⬇️
.../segment/index/readers/OnHeapStringDictionary.java 67.74% <0.00%> (-6.46%) ⬇️
.../predicate/NotEqualsPredicateEvaluatorFactory.java 74.03% <0.00%> (-5.77%) ⬇️
...lix/core/realtime/PinotRealtimeSegmentManager.java 77.48% <0.00%> (-3.15%) ⬇️
...ion/function/DistinctCountAggregationFunction.java 54.26% <0.00%> (-2.25%) ⬇️
... and 21 more

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

@xiangfu0 xiangfu0 merged commit 65e97d2 into apache:master Sep 11, 2022
@xiangfu0 xiangfu0 deleted the all_expression_transformer_continue_on_error branch September 11, 2022 03:59
try {
record.putValue(column, transformFunctionEvaluator.evaluate(record));
} catch (Exception e) {
record.putValue(column, null);
Copy link
Contributor

Choose a reason for hiding this comment

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

This putValue() is redundant. Also we should consider logging something (similar to DataTypeTransformer)

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.

4 participants