Skip to content

SNOW-2390752 - Series replace fails with KeyError ( Test Only )#3929

Merged
sfc-gh-jkew merged 7 commits intomainfrom
jkew/replace-bug
Oct 22, 2025
Merged

SNOW-2390752 - Series replace fails with KeyError ( Test Only )#3929
sfc-gh-jkew merged 7 commits intomainfrom
jkew/replace-bug

Conversation

@sfc-gh-jkew
Copy link
Contributor

@sfc-gh-jkew sfc-gh-jkew commented Oct 21, 2025

Additional tests for a reported issue involving series replace. In the original issue; a Series['some idx'].replace('str', 'str2') failed with a KeyError, but ultimately we were not able to replicate this behavior on any engine. This CL adds tests for the scenario in the expectation that there may be some other cause for the issue.

Related to: SNOW-2390752

  • I am adding a new automated test(s) to verify correctness of my new code
    • If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing
  • I am adding new logging messages
  • I am adding a new telemetry message
  • I am adding new credentials
  • I am adding a new dependency
  • If this is a new feature/behavior, I'm adding the Local Testing parity changes.
  • I acknowledge that I have ensured my changes to be thread-safe. Follow the link for more information: Thread-safe Developer Guidelines
  • If adding any arguments to public Snowpark APIs or creating new public Snowpark APIs, I acknowledge that I have ensured my changes include AST support. Follow the link for more information: AST Support Guidelines

@sfc-gh-jkew sfc-gh-jkew changed the title SNOW-2390752 - Series replace fails with KeyError SNOW-2390752 - Series replace fails with KeyError ( Test Only ) Oct 21, 2025
@sfc-gh-jkew sfc-gh-jkew added NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md NO-PANDAS-CHANGEDOC-UPDATES This PR does not update Snowpark pandas docs labels Oct 21, 2025
@sfc-gh-jkew sfc-gh-jkew marked this pull request as ready for review October 21, 2025 20:49
@sfc-gh-jkew sfc-gh-jkew requested a review from a team as a code owner October 21, 2025 20:49
@sfc-gh-jkew sfc-gh-jkew merged commit 30fa5f3 into main Oct 22, 2025
26 of 28 checks passed
@sfc-gh-jkew sfc-gh-jkew deleted the jkew/replace-bug branch October 22, 2025 23:47
@github-actions github-actions bot locked and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md NO-PANDAS-CHANGEDOC-UPDATES This PR does not update Snowpark pandas docs snowpark-pandas

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants