SNOW-3083544: Support PERMISSIVE mode for TRY_CAST#4078
Draft
sfc-gh-joshi wants to merge 2 commits intomainfrom
Draft
SNOW-3083544: Support PERMISSIVE mode for TRY_CAST#4078sfc-gh-joshi wants to merge 2 commits intomainfrom
sfc-gh-joshi wants to merge 2 commits intomainfrom
Conversation
sfc-gh-fhe
approved these changes
Feb 23, 2026
Contributor
sfc-gh-fhe
left a comment
There was a problem hiding this comment.
LGTM. I think we can add an error test to be sure
9 tasks
07842a1 to
c6b8baf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes SNOW-3083544
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Adds support for a new PERMISSIVE mode in TRY_CAST, which nulls individual mismatched fields instead of erroring out (SNOW-2146233). The server-side work for this is still in-progress, so this PR will remain in draft mode until it is merged.
AST generation appears to not support the existing RENAME FIELDS/ADD FIELDS arguments for CAST either, so I left AST untouched for the time being.