Skip to content

Commit ba7223f

Browse files
detulesimonpcouch
andauthored
netezza: boolean column handling (#850)
* netezza: boolean column handling * try dev dbitest * Update NEWS.md Co-authored-by: Simon P. Couch <[email protected]> --------- Co-authored-by: Simon P. Couch <[email protected]>
1 parent d4d5ee5 commit ba7223f

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.github/workflows/db-windows.yml

+10
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,16 @@ jobs:
9191
install.packages(".", repos = NULL, type = "source")
9292
shell: Rscript {0}
9393

94+
- name: Install remotes
95+
run: |
96+
install.packages("remotes")
97+
shell: Rscript {0}
98+
99+
- name: Install dev DBItest
100+
run: |
101+
remotes::install_github("detule/DBItest@test/stale_send_query")
102+
shell: Rscript {0}
103+
94104
- name: Test
95105
run: |
96106
options("odbc.interruptible"=TRUE);testthat::test_local(reporter = testthat::ProgressReporter$new(max_failures = Inf, update_interval = Inf))

NEWS.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# odbc (development version)
22

3-
* Netezza: Improved data type inference for character columns (#847).
3+
* Netezza: Improved data type inference for character and boolean
4+
columns (#847, #850).
45

56
* Added functions `odbcEditDrivers()`, `odbcEditSystemDSN()`, and
67
`odbcEditUserDSN()` to provide a shorthand for

R/driver-netezza.R

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ setMethod("odbcDataType", "NetezzaSQL",
1010
switch_type(
1111
obj,
1212
character = varchar(obj),
13+
logical = "BOOL",
1314
callNextMethod(con, obj, ...)
1415
)
1516
}

0 commit comments

Comments
 (0)