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

materialize-motherduck: use the reserved words list from duckdb_keywords() #2084

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

williamhbaker
Copy link
Member

@williamhbaker williamhbaker commented Oct 24, 2024

Description:

This seems to be a more complete list of words that need quoted, since we have found that column names like end don't work without quotes, and that is on the list output from duckdb_keywords().

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

(anything that might help someone review this PR)


This change is Reviewable

Copy link
Contributor

@Alex-Bair Alex-Bair left a comment

Choose a reason for hiding this comment

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

LGTM!

@Alex-Bair
Copy link
Contributor

After I approved, I noticed that the snapshot test failed. It probably just needs updated due to the updated reserved words list.

…ords()`

This seems to be a more complete list of words that need quoted, since we have
found that column names like `end` don't work without quotes, and that is on the
list output from `duckdb_keywords()`.
@williamhbaker
Copy link
Member Author

After I approved, I noticed that the snapshot test failed. It probably just needs updated due to the updated reserved words list.

Those table creation snapshots in the e2e tests get me every time I try to do something like this and assume that there coulnd't possibly be any other snapshots to update after I finish updating the multitudes in the main connector folder...should be fixed now.

@williamhbaker williamhbaker merged commit f5a2e20 into main Oct 24, 2024
53 checks passed
@williamhbaker williamhbaker deleted the wb/md-more-quotes branch October 24, 2024 14:55
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.

2 participants