Skip to content

Commit 2b52b22

Browse files
committed
change sql compose part
1 parent 84248d2 commit 2b52b22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/snowflake/snowpark/_internal/analyzer/analyzer_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,8 +1132,8 @@ def cast_expression(
11321132
+ child
11331133
+ AS
11341134
+ convert_sp_to_sf_type(datatype)
1135-
+ (RENAME_FIELDS if is_rename and not is_add else "")
1136-
+ (ADD_FIELDS if is_add and not is_rename else "")
1135+
+ (RENAME_FIELDS if is_rename else "")
1136+
+ (ADD_FIELDS if is_add else "")
11371137
+ RIGHT_PARENTHESIS
11381138
)
11391139

0 commit comments

Comments
 (0)