Commit 9365ac8
authored
fix(go/adbc/driver/snowflake): Boolean columns return as string types in an empty recordset schema (#2854)
When the user runs a query that does not return a record set, ie:
```
select * from (SELECT CAST(TRUE as BOOLEAN) as BOOLEANTYPE) as \"_\" where 0 = 1
```
the boolean column was being identified as a string column.
One example of this public issue:
https://www.reddit.com/r/PowerBI/comments/1kqhywe/comment/mttjia5/?context=3&share_id=Wr1PAx4F7KemsyQrCVnDK&utm_content=1&utm_medium=ios_app&utm_name=ioscss&utm_source=share&utm_term=1
Co-authored-by: David Coe <>1 parent 4c036e1 commit 9365ac8
2 files changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1680 | 1680 | | |
1681 | 1681 | | |
1682 | 1682 | | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
1683 | 1700 | | |
1684 | 1701 | | |
1685 | 1702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
346 | 348 | | |
347 | 349 | | |
348 | 350 | | |
| |||
0 commit comments