Skip to content

SNOW-1518075: Support ilike #513

@ryanhaarmann

Description

@ryanhaarmann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurestatus-triage_doneInitial triage done, will be further handled by the driver team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions