{"push_id":2190329658,"size":1,"distinct_size":1,"ref":"refs/heads/distinct-on","head":"ffec33995ca68a379b87ac8e6a87e78a149dcfcd","before":"a72d9cf0bacccf752dbe5de9fc367614c857f460","commits":[{"sha":"ffec33995ca68a379b87ac8e6a87e78a149dcfcd","author":{"name":"Richard Wu","email":"26d57fc3248b50b328b8e433ab103ef582587e20@gmail.com"},"message":"sql, distsql: support DISTINCT ON clause in SELECT\n\nRelease notes (feature): the DISTINCT ON clause was introduced for\nSELECT statements.\n\nSyntax\n```sql\nSELECT DISTINCT ON (<distinct-on-exprs>) <select-exprs> FROM x ...\n```\n\nWhich will retrieve an arbitrary row of <select-exprs> for every distinct\ncombination of <distinct-on-exprs>.\n\nIf the ORDER BY clause is specified in the SELECT statement, DISTINCT ON\nwill respect that ordering when choosing the \"arbitrary row\" (that is:\nit will choose to first row based on the ordering).\n\nThis patch also propagates weak keys for DISTINCT node in general.","distinct":true,"url":"https://api.github.com/repos/richardwu/cockroach/commits/ffec33995ca68a379b87ac8e6a87e78a149dcfcd"}]}
{"actor":{"display_login":"richardwu"}}