Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a script to check dpblyr compliance #94

Open
tomuben opened this issue Oct 6, 2021 · 0 comments
Open

Create a script to check dpblyr compliance #94

tomuben opened this issue Oct 6, 2021 · 0 comments
Labels
refactoring Code improvement without behavior change

Comments

@tomuben
Copy link
Collaborator

tomuben commented Oct 6, 2021

Background

Some customers use dplyr/dpblyr with r-exasol. We don't current check if we eventually break the compatibility with those packages.

We can't add this check to the integration test because dbplyr requires DBI >= 1.0.0, but our tests run only with the custom DBI version (0.3.0), compare #89.

Acceptance Criteria

Create a simple script which can be used manually to verify the compliance.
Sample code

library(exasol)
library(dplyr)
library(dbplyr)
library(tidyverse)

exaconn <- function() { con <- exasol::dbConnect( drv = "exa", #
 
EXAdriver object exahost = "192.168.2.15:8563", # IP of database cluster

uid = "sys", # Username pwd = "exasol") # Password return(con) }

db_con <- exaconn()

# Using the function in_schema https://dbplyr.tidyverse.org/reference/in_schema.html) solved the wrong SQL query, however we didn't get data back, so we are now investigating the empty result set. Let us know, if you also get an empty result set or if it works.

bpm_cycle_data <- tbl(db_con, in_schema("TEST","TEST_TABLE"))

dbDisconnect(db_con)

(Of course need to fill table TEST,TEST_TABLE)

@tomuben tomuben added feature Product feature source:exasol labels Oct 6, 2021
@redcatbear redcatbear added refactoring Code improvement without behavior change and removed feature Product feature labels Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code improvement without behavior change
Projects
None yet
Development

No branches or pull requests

3 participants