hagerf edited a comment on issue #26087: [SPARK-29427][SQL] Create KeyValueGroupedDataset from existing columns in DataFrame URL: https://github.com/apache/spark/pull/26087#issuecomment-553440561 @cloud-fan yes. My first idea was to convert `RelationalGroupedDataset` to `KeyValueGroupedDataset`. But @viirya was super fast in creating this PR 😊, and the changes seemed to be very small, so I thought maybe this would be easier? I think `df.groupByKey("key").keyAs[String].cogroup(...` is fairly easy to understand as well. I don't really mind which solution, but that the only way to create `KeyValueGroupedDataset` is through a function is unnecessarily limiting.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
