-
Notifications
You must be signed in to change notification settings - Fork 116
Support MotherDuck views #822
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
Conversation
2d8df06
to
4904c78
Compare
@@ -63,7 +63,7 @@ jobs: | |||
|
|||
# If main or tag, then push to `pgduckdb/pgduckdb` | |||
git fetch --tags --force | |||
if [ "$BRANCH" = "main" ] || git rev-parse --verify $BRANCH^{tag} > /dev/null 2>&1; then | |||
if [ "$BRANCH" = "main" ] || [ "$BRANCH" = "duckdb-views" ] || git rev-parse --verify $BRANCH^{tag} > /dev/null 2>&1; then |
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.
Why this change? You want to publish a docker version for this branch?
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.
Yeah it's so people can test this stuff easily without merging the PR. I'll make sure to remove it before we merge this.
src/pgduckdb_background_worker.cpp
Outdated
return; | ||
} | ||
|
||
elog(WARNING, "AAAA: %s", create_query.c_str()); |
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 assume it's a leftover? :-)
Not sure how to catch these without running MD tests?
…ion after renaming
This adds support for creating, querying and syncing VIEWs from MotherDuck.
Views created by
CREATE VIEW
get created in MotherDuck if one of thefollowing conditions is met:
ddb$
schema.duckdb.force_motherduck_views
is set totrue
.Fixes #474