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

Postgres Writer #3 : Move transaction and batching #578

Merged
merged 3 commits into from
Mar 2, 2020
Merged

Conversation

apeksharma
Copy link
Contributor

Detailed description:
Move transaction and batching to PostgresWritingRecordParserItemHandlerTest.

Followups from previous reviews:

  • Add NotImplementedException to methods missing logic
  • share code between two insertFile*() functions

Signed-off-by: Apekshit Sharma [email protected]

Which issue(s) this PR fixes:
Partially fixes #566

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated

Followups from previous reviews:
- Add NotImplementedException to methods missing logic
- share code between two insertFile*() functions

Signed-off-by: Apekshit Sharma <[email protected]>
@apeksharma apeksharma self-assigned this Mar 2, 2020
@apeksharma apeksharma added P2 parser Area: File parsing labels Mar 2, 2020
@apeksharma apeksharma added this to the Mirror 0.7.0 milestone Mar 2, 2020
Signed-off-by: Apekshit Sharma <[email protected]>
Signed-off-by: Apekshit Sharma <[email protected]>
@codecov
Copy link

codecov bot commented Mar 2, 2020

Codecov Report

Merging #578 into master will increase coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #578      +/-   ##
============================================
+ Coverage     64.34%   64.45%   +0.11%     
  Complexity      171      171              
============================================
  Files            99      100       +1     
  Lines          3155     3151       -4     
  Branches        370      368       -2     
============================================
+ Hits           2030     2031       +1     
+ Misses          969      964       -5     
  Partials        156      156              
Impacted Files Coverage Δ Complexity Δ
...r/grpc/retriever/PollingTopicMessageRetriever.java 96.00% <0.00%> (-2.00%) 12.00% <0.00%> (ø%)
...porter/parser/record/PostgresWriterProperties.java 50.00% <0.00%> (ø) 0.00% <0.00%> (?%)

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 1e04dbf...6c14c40. Read the comment docs.

@apeksharma
Copy link
Contributor Author

ready for review.

@apeksharma apeksharma merged commit 740b6f5 into master Mar 2, 2020
@apeksharma apeksharma deleted the parser_23 branch March 2, 2020 23:30
@steven-sheehy steven-sheehy added the enhancement Type: New feature label Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature P2 parser Area: File parsing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[parser refactor] Split PostgresWritingRecordParsedItemHandler out of RecordFileLogger
3 participants