You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SNOW-4075338: numpy scalar binding coverage
## Summary
- Ports the legacy connector `test_numpy_datatype_binding` matrix into
`python/tests/e2e/query/test_numpy_binding.py` (numpy integers, floats,
bools, and `datetime64` into NTZ/DATE/LTZ/TZ).
- Adds unit converter cases for those numpy scalar widths and the legacy
`datetime64` values.
- Adds a pyformat e2e case for the SNOW-4075338 nanosecond
`numpy.datetime64` bind.
These tests currently fail on `datetime64` with `ProgrammingError
255001` (the 5.x regression). Numeric and bool numpy binds already pass.
No production fix in this PR.
## Test plan
- [ ] Confirm unit `TestClientSideBindingConverterNumpy` /
`TestJsonBindingConverterNumpy` run locally.
- [ ] Confirm e2e `test_numpy_binding.py` and
`test_should_bind_numpy_datetime64_with_positional_pyformat` fail only
on datetime64 until the converter is fixed.
- [ ] After the converter fix, re-run the same tests and expect them to
pass.
Made with [Cursor](https://cursor.com)
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
GitOrigin-RevId: f5b76662f83f2f8c43a0eea5ccefdde25cb6b003