Forum Discussion
Data Wrangler Aggregation does not work properly for Spark Data Frames
Hi Team,
When we are creating a Spark Data Frame and open Data Wrangler and if we try to add "Group by and aggregate" operation under "aggregation" section when we select a particular column it does not show all the aggregation options for the selected column. It just shows 5 aggregations i.e. count, first value, last value, number of distinct values and mode.
I think this is a bug. I hope you are able to understand the issue.
- Anonymous2 years ago
Hi manavnayak ,
I tried to reproduce your error, and my environment is as shown below:
After I run the cell, I open Data Wrangler and use the Group by and aggregate options.
When the data type is numeric, all options are displayed, including sum, max, min, etc. in addition to your options.
I reproduce your error when the data type is text.
So I think your error is caused by incorrect value type.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
2 Replies
- manavnayakFrequent Visitor
Hi Anonymous understood.
Thank you for providing detailed explanation fro the same.
- AnonymousNot applicable
Hi manavnayak ,
I tried to reproduce your error, and my environment is as shown below:
After I run the cell, I open Data Wrangler and use the Group by and aggregate options.
When the data type is numeric, all options are displayed, including sum, max, min, etc. in addition to your options.
I reproduce your error when the data type is text.
So I think your error is caused by incorrect value type.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!