-
Notifications
You must be signed in to change notification settings - Fork 590
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
Add STARTS_WITH and ENDS_WITH #2790
Comments
|
I don't know any database that has specific functions for those. In SQL this is implemented as |
|
Ah yeah, I thought I checked whether Postgres does it last week but now I can't find it so apparently I didn't 😅 . SQLAlchemy implements it as well. He does the |
|
And maybe there could be an argument made for pandas having it as well? |
|
Anyway, happy to implement it for bigquery specifically if that's the consens. |
|
If SQLAlchemy implements it, happy to take a PR for it. Should be easy to add to all backends. |
|
Is there a way to add the SQLAlchemy implementation? Or is each backend handling it individually? |
|
We have a base SQL backend in |
In ibis-project/ibis-bigquery#61 , I suggested to add the big query functions
STARTS_WITHandENDS_WITHto the BigQuery repo. @tswast, rightfully, pointed out that this could go into the main repo.Should I go ahead and make a PR? Any thing I should look out for?
I understand the operation definitions belong in operations.py. Would a PR also require an implementation for each backend?
My current implementation looks for BigQuery looks like this:
The text was updated successfully, but these errors were encountered: