Skip to content

Commit a9baad2

Browse files
authored
Minor typo using "is" instead of "==" (#2908)
<!--- Please answer these questions before creating your pull request. Thanks! ---> 1. Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR. <!--- In this section, please add a Snowflake Jira issue number. Note that if a corresponding GitHub issue exists, you should still include the Snowflake Jira issue number. For example, for GitHub issue #1400, you should add "SNOW-1335071" here. ---> Fixes SNOW-NNNNNNN 2. Fill out the following pre-review checklist: - [ ] 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. - [x] I acknowledge that I have ensured my changes to be thread-safe. Follow the link for more information: [Thread-safe Developer Guidelines](https://github.com/snowflakedb/snowpark-python/blob/main/CONTRIBUTING.md#thread-safe-development) 3. Please describe how your code solves the related issue. Please write a short description of how your code change solves the related issue.
1 parent 1381dc3 commit a9baad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ast/decoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ def decode_expr(self, expr: proto.Expr, **kwargs) -> Any:
706706
][1]
707707
)
708708
case "call_table_function_expr" | "indirect_table_fn_name_ref":
709-
if source is "sp_session_table_function":
709+
if source == "sp_session_table_function":
710710
return self.session.table_function(
711711
fn_name, *pos_args, **named_args
712712
)

0 commit comments

Comments
 (0)