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

refactor(duckdb): use replace to generate less sql #9713

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Jul 29, 2024

Refactors the duckdb output to geospatial to use * REPLACE syntax to generate less code when replacing a small number of geospatial columns (usually one) among an otherwise large set of columns. Additionally, we now only need to loop over expression columns once.

@cpcloud cpcloud added refactor Issues or PRs related to refactoring the codebase geospatial Geospatial related functionality duckdb The DuckDB backend labels Jul 29, 2024
Copy link
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.

nice!

@gforsyth gforsyth merged commit f89aa32 into ibis-project:main Jul 29, 2024
89 checks passed
@cpcloud cpcloud added this to the 9.3 milestone Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duckdb The DuckDB backend geospatial Geospatial related functionality refactor Issues or PRs related to refactoring the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants