| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
⚠️ Please install the Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## master #6950 +/- ##
==========================================
- Coverage 49.08% 49.01% -0.08%
==========================================
Files 433 435 +2
Lines 54320 54501 +181
Branches 7915 7947 +32
==========================================
+ Hits 26663 26712 +49
- Misses 25781 25914 +133
+ Partials 1876 1875 -1
... and 11 files with indirect coverage changes Continue to review full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
mssql_to_feast_value_type mapped bigint to FLOAT, so 64-bit integer columns were inferred as Float32 and lost precision above 2^24. It also mapped float to FLOAT, but SQL Server float defaults to float(53), an 8-byte double. real (float(24)) stays FLOAT. Signed-off-by: LuisFigueroaG <luis.h.figueroa.g@gmail.com>
| Back | FazBrowse Home | New Git URL |
What this PR does / why we need it:
mssql_to_feast_value_type (used by MsSqlServerSource schema inference) had two numeric types narrowed to a 32-bit float:
With the old mapping, bigint ID or count columns were inferred as Float32, which silently loses precision above 2^24, and float columns lost half their precision. This is the same kind of fix as #6629 for Postgres real.
Which issue(s) this PR fixes:
No existing issue.
Checks
Testing Strategy
Added a unit test for the SQL Server numeric mappings in test_type_map.py; it fails on master and passes with this change. ruff format --check, ruff check and mypy pass on the changed files.