-
Notifications
You must be signed in to change notification settings - Fork 90
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
add ability to switch off/on generation of Parquet Files #1074
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1074 +/- ##
============================================
- Coverage 51.48% 51.41% -0.07%
+ Complexity 716 715 -1
============================================
Files 95 95
Lines 5909 5916 +7
Branches 787 790 +3
============================================
Hits 3042 3042
- Misses 2578 2582 +4
- Partials 289 292 +3 ☔ View full report in Codecov by Sentry. |
2f13701
to
9ffab3a
Compare
cc @bashir2 |
cc @bashir2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mozzy11 for this change. I had a look and made some comments but in general I feel we need to think deeper about the implications of skipping Parquet file generation; I feel there are still scenarios not covered in your change (beyond what I have commented below) but need to think more about this.
pipelines/batch/src/main/java/com/google/fhir/analytics/FhirEtlOptions.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/FetchSearchPageFn.java
Outdated
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/DataProperties.java
Outdated
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/DataProperties.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Bashir Sadjad <bashir@google.com>
…lOptions.java Co-authored-by: Bashir Sadjad <bashir@google.com>
fab000c
to
ac3c1ff
Compare
72c160f
to
345d321
Compare
cc @bashir2 . i have worked on the review comments |
Hello @bashir2 . I addresed the comments above |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mozzy11 for the changes. Most of the comments below are minor. The main issue that I think is still remaining is the merger pipeline comment.
Do you mind attending the dev. call this week and we discuss this in more details there? I think it might be easier to clarify things that way and try to merge this sooner.
pipelines/controller/src/main/java/com/google/fhir/analytics/DataProperties.java
Outdated
Show resolved
Hide resolved
Thanks @bashir2 , ill attend the dev call this week |
Co-authored-by: Bashir Sadjad <bashir@google.com>
Co-authored-by: Bashir Sadjad <bashir@google.com>
Co-authored-by: Bashir Sadjad <bashir@google.com>
Co-authored-by: Bashir Sadjad <bashir@google.com>
Co-authored-by: Bashir Sadjad <bashir@google.com>
Co-authored-by: Bashir Sadjad <bashir@google.com>
Hello @bashir2 . sorry i missed the dev call. Let me know if you have any other time to have a quick call |
Thanks @bashir2 |
Fixes #1073
Add ability to switch of creation of a parquet DWH in case of syncying betwen FHIR servers
Added a flag to the
createParquetDwh
to the controller to switch off/on creation of parquet DWHE2E test
Adedd e2e tests for synching from a hapi fhir sever to another using the pipeline controller for both FULL and INCREMENTAL modes while swtching on/off creation of parquet DWH
TESTED:
Testes Locally syncying between FHIR server while the parquet DWH is switched off/on
Checklist: I completed these to help reviewers :)
I have read and will follow the review process.
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.
My IDE is configured to follow the Google code styles.
No? Unsure? -> configure your IDE.
I have added tests to cover my changes. (If you refactored existing code that was well tested you do not have to add tests)
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.
My pull request is based on the latest changes of the master branch.
No? Unsure? -> execute command
git pull --rebase upstream master