Skip to content

Commit

Permalink
place holder
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-yuwang committed Feb 6, 2025
1 parent 61cbd67 commit dcc317c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/snowpark/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ def bitshiftright_unsigned(
bitshiftright(c, n, _emit_ast=False),
_emit_ast=False,
)
col = call_builtin("bitand", unsigned_c, max_bit - 1, _emit_ast=_emit_ast)
col = call_builtin("bitand", unsigned_c, max_bit - 1, _emit_ast=False)
col._ast = ast
return col

Expand Down
2 changes: 2 additions & 0 deletions tests/ast/data/functions2.test
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,8 @@ df314 = df.select(instr("A", "test_str"))

df315 = df.select(nth_value("A", 2, False), nth_value("A", 2, True), nth_value(col("B"), 2, False))

df316 = df.select(bitshiftright_unsigned("A", 2), bitshiftright_unsigned("A", col("B")))

## EXPECTED ENCODED AST

interned_value_table {
Expand Down

0 comments on commit dcc317c

Please sign in to comment.