Commit 7687b15
committed
Fix for handling NUMBER scale correctly when use_high_precision is false :
When use_high_precision is false, NUMBER columns with non-zero scale are incorrectly returned as Int64 instead of Float64, causing data descrepency.
This fix checks the scale value to determine the appropriate Arrow type (Int64 vs Float64) to set the behaviour per documentation at https://arrow.apache.org/adbc/main/driver/snowflake.html1 parent fe23d35 commit 7687b15
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
355 | 360 | | |
356 | 361 | | |
357 | 362 | | |
| |||
0 commit comments