fix(connectors): unify extract_column_value into single free function#3199
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (38.61%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #3199 +/- ##
=============================================
- Coverage 74.17% 49.02% -25.15%
Complexity 943 943
=============================================
Files 1237 1233 -4
Lines 112607 97283 -15324
Branches 89167 74183 -14984
=============================================
- Hits 83521 47691 -35830
- Misses 26294 47068 +20774
+ Partials 2792 2524 -268
🚀 New features to boost your workflow:
|
6a3e441 to
08153c5
Compare
|
@atharvalade Also remeber about #3196 where you also add Date |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you need a review, please ensure CI is green and the PR is rebased on the latest master. Don't hesitate to ping the maintainers - either @core on Discord or by mentioning them directly here on the PR. Thank you for your contribution! |
|
/author |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you need a review, please ensure CI is green and the PR is rebased on the latest master. Don't hesitate to ping the maintainers - either Thank you for your contribution! |
Good catch, the second copy ( |
08153c5 to
d8fc00e
Compare
|
/ready |
d8fc00e to
18a8b02
Compare
|
/ready |
Which issue does this PR close?
Closes #3172
Rationale
Bug fixes or new type support added to one copy of
extract_column_valuesilently won't apply to the other, causing divergence between sequential and parallel code paths.What changed?
The Postgres source connector had
extract_column_valueas a method onPostgresSource(&self), making it impossible to call from static/parallel contexts without duplicating the function. Any future parallel/chunked path would need its own copy.Converted it to a single free function callable from any context. Added missing
DATE(viachrono::NaiveDate) andBPCHARtype handling that the parallel copy on the benchmark branch had but this version lacked.Local Execution
AI Usage