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

Fixes the ArrayTypeException in the Bunsen code. #202

Merged
merged 2 commits into from
Aug 23, 2021

Conversation

bashir2
Copy link
Collaborator

@bashir2 bashir2 commented Aug 20, 2021

Description of what I changed

This fixes #156. This was already applied to Bunsen and verified that fixes the issue on real data too (here). We were just waiting for the Bunsen to be forked here to directly apply this change.

E2E test

TESTED:
See here.

Checklist: I completed these to help reviewers :)

  • My IDE is configured to follow the code style of this project.

    No? Unsure? -> configure your IDE, format the code and add the changes with git add . && git commit --amend

  • I am familiar with Google Style Guides for the language I have coded in.

    No? Please take some time and review Java and Python style guides. Note, when in conflict, OpenMRS style guide overrules.

  • I have added tests to cover my changes. (If you refactored existing code that was well tested you do not have to add tests)

    No? -> write tests and add them to this commit git add . && git commit --amend

  • I ran mvn clean package right before creating this pull request and added all formatting changes to my commit.

  • All new and existing tests passed.

    No? -> figure out why and add the fix to your commit. It is your responsibility to make sure your code works.

  • My pull request is based on the latest changes of the master branch.

    No? Unsure? -> execute command git pull --rebase upstream master

@codecov
Copy link

codecov bot commented Aug 20, 2021

Codecov Report

Merging #202 (c9bf7da) into master (2dc82c1) will increase coverage by 0.26%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #202      +/-   ##
============================================
+ Coverage     41.30%   41.56%   +0.26%     
- Complexity      102      104       +2     
============================================
  Files            25       25              
  Lines          1024     1020       -4     
  Branches         97       97              
============================================
+ Hits            423      424       +1     
+ Misses          565      559       -6     
- Partials         36       37       +1     
Impacted Files Coverage Δ
...c/main/java/org/openmrs/analytics/ParquetUtil.java 88.42% <100.00%> (+4.58%) ⬆️

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 2dc82c1...c9bf7da. Read the comment docs.

@bashir2 bashir2 requested a review from kimaina August 20, 2021 20:17
@bashir2 bashir2 changed the title Array index exception Fixes the ArrayTypeException in the Bunsen code. Aug 21, 2021
Copy link
Collaborator

@kimaina kimaina 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 @bashir2

@bashir2 bashir2 merged commit 1009683 into google:master Aug 23, 2021
@bashir2 bashir2 deleted the ArrayIndexException branch August 23, 2021 17:22
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.

AvroTypeException for some edge cases.
2 participants