Commit e7152a3
test(gfql): assert dtype preservation against the input, not a hardcoded ns unit
The new named-fast-path dtype test hardcoded 'datetime64[ns]', but pandas 3.x
(pandas==3.0.5 in the failing CI lanes) infers datetime64[us] from
pd.to_datetime on date strings, so the INPUT itself is [us] and both the served
lane and the policy-forced full path preserve it exactly. Assert what the test
actually means: the served lane's dtype equals the input's and the full path's
(and is a datetime64), pandas-version-agnostic. Verified green under both
pandas 3.0.5 and pandas 2.2.3.
Fixes red test-pandas-compat-gfql (latest, py3.14), test-core-python (3.13),
and test-gfql-core (3.14) on the merge result with master (#1836/#1837).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011AB4RZpph3uSFUpzKnZJcr1 parent 35ea421 commit e7152a3
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
987 | 987 | | |
988 | 988 | | |
989 | 989 | | |
990 | | - | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
991 | 995 | | |
| 996 | + | |
992 | 997 | | |
993 | 998 | | |
994 | 999 | | |
| |||
0 commit comments