You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT
"NAME", <------ here the column is doubled
"NAME",
max("ID") AS "LATEST_ID"
FROM ( SELECT * FROM (SELECT * FROM (test_table)) WHERE ("STATUS" = 'ready') )
GROUP BY "NAME"
Snowpark version 1.6.2 works fine, "NAME" is present only once.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
DataFrame.agg() duplicates columns
SNOW-859832: DataFrame.agg() duplicates columns
Jul 10, 2023
The code is the same in both versions but the resulting query is from 1.8.0. When run in 1.6.2, the query will have one "NAME" replaced by autogenerated name as a result of rename of conflicting column name.
With following Java code:
I get query:
Snowpark version 1.6.2 works fine, "NAME" is present only once.
The text was updated successfully, but these errors were encountered: