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

PLA-4862 Add materialized argument to with_ #4036

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

max-muoto
Copy link
Contributor

@max-muoto max-muoto commented Sep 2, 2024

Add materialized argument when building a CTE with with_. It's supported in both Postgres and DuckDB:

See Slack thread here.

@@ -7,6 +7,7 @@ install-dev-rs-release:
cd sqlglotrs/ && python -m maturin develop -r

install-dev-rs:
@unset CONDA_PREFIX && \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to add this, as I had a conda prefix set, it's not totally uncommon for makefiles to set this to make things easier. For example, Polars does this: https://github.com/pola-rs/polars/blob/main/Makefile

Let me know if we're fine with keeping it.

Copy link
Owner

Choose a reason for hiding this comment

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

as long as this doesn't break my setup

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It shouldn't! haha

@max-muoto max-muoto marked this pull request as ready for review September 2, 2024 19:31
@max-muoto max-muoto force-pushed the support-materialized-ctes branch from fc182cc to 4a76a13 Compare September 2, 2024 19:32
@tobymao tobymao merged commit aa83ba6 into tobymao:main Sep 2, 2024
6 checks passed
@max-muoto max-muoto changed the title Add materialized argument to with_ PLA-4862 Add materialized argument to with_ Sep 11, 2024
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