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

SNOW-1518075: Support ilike #513

Open
ryanhaarmann opened this issue Jul 3, 2024 · 1 comment
Open

SNOW-1518075: Support ilike #513

ryanhaarmann opened this issue Jul 3, 2024 · 1 comment
Labels
feature status-triage_done Initial triage done, will be further handled by the driver team

Comments

@ryanhaarmann
Copy link

What is the current behavior?

colB.ilike('%value%') produces lower(colB) LIKE lower('%value%')

What is the desired behavior?

`colB ILIKE '%value%'

How would this improve snowflake-connector-python?

Keeps consistent behavior between SQLA API and snowflake SQL.

References, Other Background

Snowflake SQL reference: https://docs.snowflake.com/en/sql-reference/functions/ilike

SQLA reference:
https://docs.sqlalchemy.org/en/20/core/sqlelement.html#sqlalchemy.sql.expression.ColumnElement.ilike
https://docs.sqlalchemy.org/en/20/core/sqlelement.html#sqlalchemy.sql.expression.ColumnOperators.ilike

@github-actions github-actions bot changed the title Support ilike SNOW-1518075: Support ilike Jul 3, 2024
@sfc-gh-dszmolka sfc-gh-dszmolka added the status-triage_done Initial triage done, will be further handled by the driver team label Jul 5, 2024
@sfc-gh-dszmolka
Copy link
Contributor

hey; thanks for filing this enhancement request with us !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature status-triage_done Initial triage done, will be further handled by the driver team
Projects
None yet
Development

No branches or pull requests

2 participants