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-1043119: Add upper/lower/length/initcap support to local testing #1246

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

sfc-gh-jrose
Copy link
Contributor

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes #1043119

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am adding new credentials
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    This PR adds support for string operations upper, lower, length, and initcap to local testing. I also added additional testing examples to check a few more cases that I wanted.

@sfc-gh-jrose sfc-gh-jrose marked this pull request as ready for review February 13, 2024 16:59
@sfc-gh-jrose sfc-gh-jrose requested a review from a team as a code owner February 13, 2024 16:59
@@ -3256,17 +3257,71 @@ def test_ascii(session, col_B):
)


@pytest.mark.parametrize("col_A", ["A", col("A")])
Copy link
Collaborator

Choose a reason for hiding this comment

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

NIT: I feel like it's not necessary to test "A" vs "col("A") 🤷‍♀️

@sfc-gh-jrose sfc-gh-jrose merged commit d0612c9 into main Feb 20, 2024
55 checks passed
@sfc-gh-jrose sfc-gh-jrose deleted the jrose_snow_1043119_add_upper_lower_support branch February 20, 2024 17:22
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants