{"push_id":1259210294,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"9560c8d29542a5dcaaa07b7af9ef5ddcdbb5d14d","before":"31a015572024046f4deaa6cec66bb6fab110f31d","commits":[{"sha":"9560c8d29542a5dcaaa07b7af9ef5ddcdbb5d14d","author":{"name":"petermaxlee","email":"ac6c8937256e5ff211210b88da2643bdd0703390@gmail.com"},"message":"[SPARK-17124][SQL] RelationalGroupedDataset.agg should preserve order and allow multiple aggregates per column\n\n## What changes were proposed in this pull request?\nThis patch fixes a longstanding issue with one of the RelationalGroupedDataset.agg function. Even though the signature accepts vararg of pairs, the underlying implementation turns the seq into a map, and thus not order preserving nor allowing multiple aggregates per column.\n\nThis change also allows users to use this function to run multiple different aggregations for a single column, e.g.\n```\nagg(\"age\" -> \"max\", \"age\" -> \"count\")\n```\n\n## How was this patch tested?\nAdded a test case in DataFrameAggregateSuite.\n\nAuthor: petermaxlee <petermaxlee@gmail.com>\n\nCloses #14697 from petermaxlee/SPARK-17124.","distinct":true,"url":"https://api.github.com/repos/dongjoon-hyun/spark/commits/9560c8d29542a5dcaaa07b7af9ef5ddcdbb5d14d"}]}
{"actor":{"display_login":"dongjoon-hyun"}}