Commit 6e9a401
committed
docs: clarify decimal/timestamp arrow-native flags (Thrift), verified live
Both `_use_arrow_native_decimals` and `_use_arrow_native_timestamps` look like
twin knobs, but behave oppositely when off — confirmed against a live warehouse:
- `_use_arrow_native_decimals=False`: no value-level effect. The wire encoding
becomes an Arrow string, but the connector unconditionally re-casts it back to
`decimal128` (`convert_decimals_in_arrow_table`), so fetches always yield
`Decimal`.
- `_use_arrow_native_timestamps=False`: genuinely returns Python `str` (Arrow
`string`) — there is no re-cast on the Arrow path — while `cursor.description`
still reports `'timestamp'`. The `timestampAsArrow=False` flag also wins over
the always-sent `timestampAsString=false` conf.
Doc-only change.
Co-authored-by: Isaac1 parent 44f6eba commit 6e9a401
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
| 142 | + | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments