We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84248d2 commit 2b52b22Copy full SHA for 2b52b22
src/snowflake/snowpark/_internal/analyzer/analyzer_utils.py
@@ -1132,8 +1132,8 @@ def cast_expression(
1132
+ child
1133
+ AS
1134
+ 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 "")
+ + (RENAME_FIELDS if is_rename else "")
+ + (ADD_FIELDS if is_add else "")
1137
+ RIGHT_PARENTHESIS
1138
)
1139
0 commit comments