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(backends): remove singledispatchmethod from the sql backends #8338

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Feb 13, 2024

Description of changes

This pull request does two things:

  1. Removes use of singledispatchmethod in the SQL compilers
  2. Fixes the support matrix accuracy for SQL backends

Follow-ups:

  • Deal with filtering out RisingWave geospatial Handled here
  • __init_subclass__ for SIMPLE_OPS handled here
  • Fix coverage accuracy for the non-SQL backends

Issues closed

Fixes #8283.

Thanks to @jcrist for the __init_subclass__ tip, that saved N backends duplication of filling in undefined operations.

@cpcloud cpcloud added this to the 9.0 milestone Feb 13, 2024
@cpcloud cpcloud added refactor Issues or PRs related to refactoring the codebase docs Documentation related issues or PRs labels Feb 13, 2024
@cpcloud cpcloud requested review from kszucs and jcrist February 13, 2024 19:58
@cpcloud cpcloud added the sql Backends that generate SQL label Feb 13, 2024
@cpcloud cpcloud force-pushed the cleanup-sql-support-matrix branch 3 times, most recently from 2b0466a to f986a1e Compare February 14, 2024 00:17
@cpcloud cpcloud added the docs-preview Add this label to trigger a docs preview label Feb 14, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Feb 14, 2024
@cpcloud cpcloud force-pushed the cleanup-sql-support-matrix branch from f986a1e to 6524e90 Compare February 14, 2024 10:29
@cpcloud cpcloud added the docs-preview Add this label to trigger a docs preview label Feb 14, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Feb 14, 2024
@cpcloud cpcloud force-pushed the cleanup-sql-support-matrix branch from 6524e90 to b71bc5b Compare February 14, 2024 10:50
@ibis-docs-bot
Copy link

ibis-docs-bot bot commented Feb 14, 2024

@cpcloud cpcloud force-pushed the cleanup-sql-support-matrix branch from b71bc5b to d64e078 Compare February 14, 2024 11:20
@cpcloud cpcloud added the ci-run-cloud Run BigQuery, Snowflake, Databricks, and Athena backend tests label Feb 14, 2024
@ibis-docs-bot ibis-docs-bot bot removed the ci-run-cloud Run BigQuery, Snowflake, Databricks, and Athena backend tests label Feb 14, 2024
@cpcloud cpcloud force-pushed the cleanup-sql-support-matrix branch from d64e078 to 1b0a137 Compare February 14, 2024 11:55
@cpcloud cpcloud added the ci-run-cloud Run BigQuery, Snowflake, Databricks, and Athena backend tests label Feb 14, 2024
@ibis-docs-bot ibis-docs-bot bot removed the ci-run-cloud Run BigQuery, Snowflake, Databricks, and Athena backend tests label Feb 14, 2024
Copy link
Member

@kszucs kszucs left a comment

Choose a reason for hiding this comment

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

Nice!

@kszucs kszucs merged commit 78dc393 into ibis-project:main Feb 14, 2024
88 checks passed
kszucs pushed a commit that referenced this pull request Feb 14, 2024
Follow up to #8338 to clean up the SIMPLE_OPS boilerplate.
ncclementi pushed a commit to ncclementi/ibis that referenced this pull request Feb 21, 2024
…ibis-project#8338)

## Description of changes

This pull request does two things:

1. Removes use of `singledispatchmethod` in the SQL compilers
1. Fixes the support matrix accuracy for SQL backends

Follow-ups:

* ~Deal with filtering out RisingWave geospatial~ Handled here
* `__init_subclass__` for `SIMPLE_OPS` handled here
* Fix coverage accuracy for the non-SQL backends

## Issues closed

Fixes ibis-project#8283.

Thanks to @jcrist for the `__init_subclass__` tip, that saved N backends
duplication of filling in undefined operations.
ncclementi pushed a commit to ncclementi/ibis that referenced this pull request Feb 21, 2024
@cpcloud cpcloud deleted the cleanup-sql-support-matrix branch July 16, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related issues or PRs refactor Issues or PRs related to refactoring the codebase sql Backends that generate SQL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore(docs): verify the accuracy of the support matrix in the-epic-split
2 participants