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-1568022: Add optional parameters argument to Column.regexp and Column.rlike #2011

Open
sfc-gh-ncrouch opened this issue Jul 31, 2024 · 2 comments
Assignees
Labels
feature New feature or request status-triage_done Initial triage done, will be further handled by the driver team

Comments

@sfc-gh-ncrouch
Copy link

sfc-gh-ncrouch commented Jul 31, 2024

What is the current behavior?

snowflake.snowpark.Column.regexp and its alias snowflake.snowpark.Column.rlike both have a signature of Column.regexp(pattern: Union[Column, str]) but the SQL REGEXP also accepts the optional argument parameters: Union[Column, str].

What is the desired behavior?

Optional argument parameters added to Python API.

How would this improve snowflake-snowpark-python?

Add easy access to case-sensitivity controls, multi-line mode and sub-match extraction

References, Other Background

https://docs.snowflake.com/en/sql-reference/functions/rlike

@sfc-gh-ncrouch sfc-gh-ncrouch added the feature New feature or request label Jul 31, 2024
@github-actions github-actions bot changed the title Add optional parameters argument to Column.regexp and Column.rlike SNOW-1568022: Add optional parameters argument to Column.regexp and Column.rlike Jul 31, 2024
@sfc-gh-sghosh sfc-gh-sghosh self-assigned this Aug 16, 2024
@sfc-gh-sghosh
Copy link

Hello @sf-gh-ncrouch ,

Thanks for raising the concern, I will check if there are any plans to support it, will update

Regards,
Sujan

@sfc-gh-sghosh
Copy link

Hello @sf-gh-ncrouch ,

We are working on it, the fix has been merged.

Regards,
Sujan

@sfc-gh-sghosh sfc-gh-sghosh added the status-triage_done Initial triage done, will be further handled by the driver team label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request status-triage_done Initial triage done, will be further handled by the driver team
Projects
None yet
Development

No branches or pull requests

4 participants