-
Notifications
You must be signed in to change notification settings - Fork 44
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
Make RPresto compatible with new Presto JSON data format and dbplyr 2.5.0 #280
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #280 +/- ##
==========================================
- Coverage 34.27% 33.83% -0.44%
==========================================
Files 46 46
Lines 1777 1800 +23
==========================================
Hits 609 609
- Misses 1168 1191 +23 ☔ View full report in Codecov by Sentry. |
… with dbplyr 2.5.0.
…uoteIdentifier() doesn't have component names since 1.2.0
if (inherits(name, "dbplyr_table_path")) { # dbplyr >= 2.5.0 | ||
name <- dbplyr::table_path_name(name, con) | ||
} else { | ||
name <- DBI::dbQuoteIdentifier(con, name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is still breaking for dbplyr < 2.5.0 and DBI >= 1.2.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you be more specific about the breaking? I ran all the unit tests with dbplyr 2.4.0 and DBI 1.2.3 and all tests passed.
There have been some changes to Presto and
dbplyr
which result in RPresto 1.4.6 having errors. This PR combines a few commits to solve those issues and make RPresto compatible again.This PR should fix #272, #274, and #277.