Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Refactors to replication stream row update/parsing #4954

Merged
merged 4 commits into from
Mar 28, 2019

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Mar 27, 2019

  1. Skip building a ROW_TYPE when building updates: we're about to turn it straight into a JSON object anyway so building a ROW_TYPE is a bit pointless, and reduces flexibility in the update_function.

  2. Add parse_row method to replication stream class: This will allow individual stream classes to override how a row is parsed.

Builds on #4953.

This will allow individual stream classes to override how a row is parsed.
We're about to turn it straight into a JSON object anyway so building a
ROW_TYPE is a bit pointless, and reduces flexibility in the update_function.
@codecov
Copy link

codecov bot commented Mar 27, 2019

Codecov Report

Merging #4954 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #4954      +/-   ##
===========================================
+ Coverage    60.44%   60.44%   +<.01%     
===========================================
  Files          331      331              
  Lines        34100    34102       +2     
  Branches      5627     5627              
===========================================
+ Hits         20612    20614       +2     
  Misses       12017    12017              
  Partials      1471     1471

@richvdh richvdh merged commit d688a51 into develop Mar 28, 2019
@richvdh richvdh deleted the rav/refactor_parse_row branch March 28, 2019 18:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants