fix(base-driver): Handle NULL values in readOnly type detection (#11094)#11245
Conversation
|
Claude finished @ovr's task in 2m 5s —— View job PR ReviewVerdict: 1 medium, 2 low. Overall the refactor is a clean extraction and the NULL-handling fix is correct. One behavior change relative to master worth flagging. Review details
Medium — Reduced sampling changes type detection for large result sets
The old inline code iterated every row for each column when finding a matching type ( Consequences:
If the intent is really "sample a few rows for speed," that's a reasonable tradeoff, but it should be a deliberate, documented change (probably called out in the commit / CHANGELOG) since it can change pre-aggregation column types in Low —
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #11245 +/- ##
===========================================
- Coverage 83.77% 59.44% -24.34%
===========================================
Files 257 216 -41
Lines 79559 17474 -62085
Branches 0 3539 +3539
===========================================
- Hits 66650 10387 -56263
+ Misses 12909 6581 -6328
- Partials 0 506 +506
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
696f62e to
1d02097
Compare
|
Claude finished @ovr's task in 1m 18s —— View job PR Review (re-check after sync)Verdict: Prior review still applies — no changes to the base-driver files since the last review. 1 medium, 2 low re-affirmed. Review detailsChecked Medium — Reduced sampling changes type detection for large result sets
The old inline code iterated every row for each column when finding a matching type. The new code stops as soon as every column has at least one non-null value ( Consequences:
If the intent is "sample a few rows for speed," that's a reasonable tradeoff — but it should be a deliberate, documented change (called out in the commit / CHANGELOG) since it can change pre-aggregation column types in Low —
|
refs #11094