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

Work on DatabaseConnector 7 issues #305

Open
wants to merge 52 commits into
base: develop
Choose a base branch
from
Open

Work on DatabaseConnector 7 issues #305

wants to merge 52 commits into from

Conversation

ablack3
Copy link
Collaborator

@ablack3 ablack3 commented Feb 14, 2025

Adam Black and others added 27 commits August 17, 2024 15:46
…and adding it results in the RedshiftException: This ResultSet is closed.
…s might not be necessary to support these functions after transitioning to dbplyr
@ablack3 ablack3 changed the base branch from main to develop February 14, 2025 12:22
@schuemie
Copy link
Member

Hi @ablack3 . Thanks for all your hard work on this! What is the status? Do you think this PR is ready for full review?

@ablack3
Copy link
Collaborator Author

ablack3 commented Feb 17, 2025

I think it's ready. There is a long tail of small issues that are time consuming to fix. Today we were working on copy_to which is not working on Oracle because the Analyze statement that runs after insertTable doesn't know about temp emulation. But I think the impact of that is quite low and it's better to move forward. I want to see if Cran accepts the approach we're using to import dbplyr's private functions.

I'm also hesitant to remove the depreciated database systems. I know Netezza is still being used which should be nearly the same as Postgres SQL.

Will you start your review @schuemie?

We will get GitHub actions passing.

@ablack3
Copy link
Collaborator Author

ablack3 commented Feb 19, 2025

@schuemie, what do you think about moving rJava to suggests and making it an optional dependency in DatabaseConnector? In the UK there are environments where only R (CRAN) and python are allowed and Java is not.

@schuemie
Copy link
Member

I guess I'm ok with moving rJava to Suggests. There's noting intrinsic to DatabaseConnector that requires it, just some (currently most) of the drivers.

@schuemie
Copy link
Member

On the deprecated platforms: our policy states we try to leave the code, but will not accept issues or PRs related to those. So if we can leave the code without work we should, but if any effort is required we can drop them.

Copy link

codecov bot commented Feb 21, 2025

Codecov Report

Attention: Patch coverage is 94.36620% with 4 lines in your changes missing coverage. Please review.

Project coverage is 59.46%. Comparing base (24ce059) to head (e0e4a2b).
Report is 6 commits behind head on develop.

Files with missing lines Patch % Lines
R/DBI.R 84.61% 2 Missing ⚠️
R/backend-DatabaseConnector.R 95.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #305      +/-   ##
===========================================
+ Coverage    57.46%   59.46%   +2.00%     
===========================================
  Files           15       15              
  Lines         2969     2780     -189     
===========================================
- Hits          1706     1653      -53     
+ Misses        1263     1127     -136     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants