Skip to content

Commit 814f4b3

Browse files
committed
fixing typos
1 parent 95ca97f commit 814f4b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/snowflake/snowpark/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3430,7 +3430,7 @@ def charindex(
34303430
s = _to_col_if_str(source_expr, "charindex")
34313431
# Build AST here to prevent `position` from being recorded as a literal instead of int/None.
34323432
ast = (
3433-
build_function_expr("char_index", [t, s, position], ignore_null_args=True)
3433+
build_function_expr("charindex", [t, s, position], ignore_null_args=True)
34343434
if _emit_ast
34353435
else None
34363436
)

src/snowflake/snowpark/mock/_udtf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def _do_register_udtf(
7878
ast = with_src_position(stmt.expr.udtf, stmt)
7979
ast_id = stmt.var_id.bitfield1
8080

81-
object_name = kwargs["_registrated_object_name"]
81+
object_name = kwargs["_registered_object_name"]
8282
udtf = MockUserDefinedTableFunction(
8383
handler,
8484
output_schema,

0 commit comments

Comments
 (0)