Skip to content

feat(ddl): support create_schema and implement create_database as an abstract base class#6682

Merged
gforsyth merged 3 commits intoibis-project:masterfrom
cpcloud:database-ddl
Aug 1, 2023
Merged

feat(ddl): support create_schema and implement create_database as an abstract base class#6682
gforsyth merged 3 commits intoibis-project:masterfrom
cpcloud:database-ddl

Conversation

@cpcloud
Copy link
Copy Markdown
Member

@cpcloud cpcloud commented Jul 24, 2023

Adds support for databases and schema creation and listing.

Closes #6331.

@cpcloud cpcloud added this to the 6.1 milestone Jul 24, 2023
@cpcloud cpcloud added feature Features or general enhancements ddl Issues related to creating or altering data definitions backends Issues related to all backends labels Jul 24, 2023
@cpcloud cpcloud changed the title feat: refactor ddl for create_database and add create_schema where relevant feat(ddl): support create_schema and implement create_database as an abstract base class Jul 24, 2023
@cpcloud cpcloud force-pushed the database-ddl branch 6 times, most recently from bf2e1de to fe11004 Compare July 25, 2023 18:49
Copy link
Copy Markdown
Member

@gforsyth gforsyth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implementation looks good and I'm all for making these consistent and available.

not sure what to do about force as a keyword argument.

@cpcloud cpcloud force-pushed the database-ddl branch 3 times, most recently from 85abcf2 to e822529 Compare July 31, 2023 18:14
@cpcloud cpcloud requested a review from gforsyth August 1, 2023 18:28
Copy link
Copy Markdown
Member

@gforsyth gforsyth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation looks good! I flagged a few docstring things that need fixing (I think).

I don't like force, but I think we can change that in a follow-up PR (and possibly following a deprecation cycle).

Copy link
Copy Markdown
Member

@gforsyth gforsyth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@gforsyth gforsyth enabled auto-merge (rebase) August 1, 2023 20:06
@gforsyth gforsyth merged commit f6b698b into ibis-project:master Aug 1, 2023
@cpcloud cpcloud deleted the database-ddl branch July 16, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backends Issues related to all backends ddl Issues related to creating or altering data definitions feature Features or general enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ddl): fill out support for databases and schemas

2 participants