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

feat!: copy_dm_to() uses dm_sql(). Unique keys (#1887) and autoincrement primary keys (#1725) are created on the database. Data models with cyclic references are supported on databases that allow adding constraints in ALTER TABLE statements (at this time, all except DuckDB and SQLite, #664) #2022

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

@krlmlr
Copy link
Collaborator Author

krlmlr commented Oct 9, 2023

@nbenn @TSchiefer @moodymudskipper: Can you please test this branch to see if it works for your projects that use dm? I'd like to send it to CRAN tomorrow.

There are breaking changes to copy_dm_to(), but we gain dm_sql() and friends that allow finer-grained control over the SQL that writes a dm to a database.

@krlmlr krlmlr changed the title Moonshot 3 feat: copy_dm_to() uses dm_sql() internally Oct 9, 2023
@krlmlr krlmlr changed the title feat: copy_dm_to() uses dm_sql() internally feat!: New dm_sql() that is a viable alternative to copy_dm_to(copy_to = ...) and also used internally by copy_dm_to(). Unique keys (#1887) and autoincrement primary keys (#1725) are created on the database. Data models with cyclic references are supported on databases that allow adding constraints in ALTER TABLE statements (at this time, all except DuckDB and SQLite, #664) Oct 9, 2023
@krlmlr
Copy link
Collaborator Author

krlmlr commented Oct 9, 2023

I just realized that this PR doesn't necessarily have to be a part of tomorrow's CRAN release. This buys us a little more time if things go sideways, which they will, one way or another.

@krlmlr krlmlr force-pushed the f-tinker-12 branch 4 times, most recently from c7d995d to ea27da7 Compare October 9, 2023 17:41
@krlmlr krlmlr changed the title feat!: New dm_sql() that is a viable alternative to copy_dm_to(copy_to = ...) and also used internally by copy_dm_to(). Unique keys (#1887) and autoincrement primary keys (#1725) are created on the database. Data models with cyclic references are supported on databases that allow adding constraints in ALTER TABLE statements (at this time, all except DuckDB and SQLite, #664) feat!: copy_dm_to() uses dm_sql(). Unique keys (#1887) and autoincrement primary keys (#1725) are created on the database. Data models with cyclic references are supported on databases that allow adding constraints in ALTER TABLE statements (at this time, all except DuckDB and SQLite, #664) Oct 29, 2023
Copy link
Contributor

aviator-app bot commented Dec 21, 2023

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This pull request is currently open (not queued).

How to merge

To merge this PR, comment /aviator merge or add the mergequeue label.


See the real-time status of this PR on the Aviator webapp.

Use the Aviator Chrome Extension to see the status of your PR within GitHub.

@krlmlr krlmlr force-pushed the f-tinker-12 branch 2 times, most recently from 24ad46e to 9b96fe8 Compare December 21, 2023 20:29
Copy link
Contributor

aviator-app bot commented Dec 21, 2023

This pull request failed to merge: some CI status(es) failed. Remove the blocked label to re-queue.

Failed CI(s): codecov/project

Copy link
Contributor

aviator-app bot commented Dec 21, 2023

This pull request failed to merge: some CI status(es) failed. Remove the blocked label to re-queue.

Failed CI(s): Smoke test: stock R

@krlmlr krlmlr removed the blocked label Dec 22, 2023
Copy link
Contributor

aviator-app bot commented Dec 22, 2023

This pull request failed to merge: some CI status(es) failed. Remove the blocked label to re-queue.

Failed CI(s): ubuntu-22.04 (release) Postgres with covr, ubuntu-22.04 (release) MySQL with covr

Copy link
Contributor

aviator-app bot commented Jan 19, 2024

This pull request can't be queued because it's currently a draft.

@krlmlr krlmlr removed the blocked label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant