Skip to content

Commit

Permalink
Add additional SQL for validation with SAP HANA (#122)
Browse files Browse the repository at this point in the history
Fixes #103
  • Loading branch information
marcosci authored Jan 10, 2023
1 parent 4a9ef53 commit cfe18af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# pool (development version)

* Added support for SAP HANA databases (@marcosci, #103).

# pool 0.1.6

* `left_join()` and friends once again work with pool objects (#111).
Expand Down
4 changes: 3 additions & 1 deletion R/DBI-pool.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ setMethod("onValidate", "DBIConnection", function(object) {
"SELECT * FROM INFORMATION_SCHEMA.TABLES",
"VALUES 1",
"SELECT 1 FROM SYSIBM.SYSDUMMY1",
"select count(*) from systables"
"select count(*) from systables",
"select count(*) from SYS_TABLES",
"select count(*) from SYS.TABLES"
)

## Iterates through the possible validation queries:
Expand Down

0 comments on commit cfe18af

Please sign in to comment.