Skip to content

Commit

Permalink
netezza: boolean column handling (#850)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
detule and simonpcouch authored Sep 30, 2024
1 parent d4d5ee5 commit ba7223f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/db-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,16 @@ jobs:
install.packages(".", repos = NULL, type = "source")
shell: Rscript {0}

- name: Install remotes
run: |
install.packages("remotes")
shell: Rscript {0}

- name: Install dev DBItest
run: |
remotes::install_github("detule/DBItest@test/stale_send_query")
shell: Rscript {0}

- name: Test
run: |
options("odbc.interruptible"=TRUE);testthat::test_local(reporter = testthat::ProgressReporter$new(max_failures = Inf, update_interval = Inf))
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# odbc (development version)

* Netezza: Improved data type inference for character columns (#847).
* Netezza: Improved data type inference for character and boolean
columns (#847, #850).

* Added functions `odbcEditDrivers()`, `odbcEditSystemDSN()`, and
`odbcEditUserDSN()` to provide a shorthand for
Expand Down
1 change: 1 addition & 0 deletions R/driver-netezza.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ setMethod("odbcDataType", "NetezzaSQL",
switch_type(
obj,
character = varchar(obj),
logical = "BOOL",
callNextMethod(con, obj, ...)
)
}
Expand Down

0 comments on commit ba7223f

Please sign in to comment.