Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the issue that map flatten shouldn't remove the map field from the record #13243

Merged
merged 2 commits into from
May 28, 2024

Conversation

xiangfu0
Copy link
Contributor

@xiangfu0 xiangfu0 commented May 28, 2024

Fix the bug that If a table is configured with complexTypeConfig, during the ingestion ComplexTypeTransformer#flattenMap would remove all the maps inside the payload.

So it's not able to apply transform function on the map field later.

@codecov-commenter
Copy link

codecov-commenter commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.16%. Comparing base (59551e4) to head (1485dae).
Report is 506 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #13243      +/-   ##
============================================
+ Coverage     61.75%   62.16%   +0.41%     
- Complexity      207     1296    +1089     
============================================
  Files          2436     2534      +98     
  Lines        133233   139020    +5787     
  Branches      20636    21541     +905     
============================================
+ Hits          82274    86420    +4146     
- Misses        44911    46132    +1221     
- Partials       6048     6468     +420     
Flag Coverage Δ
custom-integration1 <0.01% <0.00%> (-0.01%) ⬇️
integration <0.01% <0.00%> (-0.01%) ⬇️
integration1 ?
integration2 ?
java-11 62.13% <100.00%> (+0.42%) ⬆️
java-21 62.03% <100.00%> (+0.40%) ⬆️
skip-bytebuffers-false 62.14% <100.00%> (+0.39%) ⬆️
skip-bytebuffers-true 62.01% <100.00%> (+34.29%) ⬆️
temurin 62.16% <100.00%> (+0.41%) ⬆️
unittests 62.15% <100.00%> (+0.41%) ⬆️
unittests1 46.66% <0.00%> (-0.23%) ⬇️
unittests2 27.83% <100.00%> (+0.10%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Co-authored-by: Xiaotian (Jackie) Jiang <[email protected]>
@Jackie-Jiang Jackie-Jiang merged commit be4f740 into apache:master May 28, 2024
19 checks passed
gortiz pushed a commit to gortiz/pinot that referenced this pull request Jun 14, 2024
@xiangfu0 xiangfu0 deleted the fix-unnest-logic branch June 21, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants