Skip to content

[BUG] 681: Implement rtrimmed_length function #801

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AmosAidoo
Copy link
Contributor

Which issue does this PR close?

Changes

  • Added a new scalar udf, RTrimmedLengthFunc and implemented logic according to snowflake docs

How was this tested?

  • Added automated test to validate functionality
  • All existing tests pass

Copy link
Contributor

@Vedin Vedin left a comment

Choose a reason for hiding this comment

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

@AmosAidoo Thank you for your contribution! Overall looks good! I asked for one adjustment to make this function work the same as in Snowflake, and add such cases to tests as well.

@Vedin Vedin self-requested a review May 14, 2025 13:22
@AmosAidoo AmosAidoo requested a review from rampage644 May 15, 2025 16:40
Copy link
Contributor

@rampage644 rampage644 left a comment

Choose a reason for hiding this comment

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

looks good - can merge after rebase!

@AmosAidoo AmosAidoo force-pushed the 681/rtrimmed_length branch from 914ed06 to 43a3a38 Compare May 17, 2025 12:23
adds rtrimmed_length implementation according to snowflake spec
@AmosAidoo AmosAidoo force-pushed the 681/rtrimmed_length branch from 43a3a38 to 794b590 Compare May 17, 2025 12:27
@AmosAidoo
Copy link
Contributor Author

@osipovartem I am done with the rebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Missing function: rtrimmed_length
5 participants