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

Add a starter relational DB source implementation #590

Conversation

chisholm
Copy link
Contributor

@chisholm chisholm commented Apr 1, 2024

This PR does some foundational work to move some aspects of table schema creation out of the sink and into external functions which can be called by source, sink, or store, whoever needs it. This is necessary to write the source. Also update the store implementation to do schema creation once and pass the table metadata to source/sink, to avoid duplicating work. The source/sink retain the ability to do this themselves, if they are used independently of the store.

source/sink so they aren't duplicating work.  Change the source
sink constructor signatures to make this possible.

Also change docstrings to help readers understand the
constructor interfaces.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.39%. Comparing base (ef399fe) to head (32ccec0).

Additional details and impacted files
@@                  Coverage Diff                  @@
##           relational-data-sink     #590   +/-   ##
=====================================================
  Coverage                 87.39%   87.39%           
=====================================================
  Files                       155      155           
  Lines                     18107    18107           
=====================================================
  Hits                      15824    15824           
  Misses                     2283     2283           

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

@rpiazza rpiazza merged commit ac72888 into oasis-open:relational-data-sink Apr 2, 2024
5 of 6 checks passed
@chisholm chisholm deleted the relational-data-sink-chisholm branch April 9, 2024 21:21
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.

3 participants