{"action":"closed","issue":{"url":"https://api.github.com/repos/pingcap/tidb/issues/1380","repository_url":"https://api.github.com/repos/pingcap/tidb","labels_url":"https://api.github.com/repos/pingcap/tidb/issues/1380/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/1380/comments","events_url":"https://api.github.com/repos/pingcap/tidb/issues/1380/events","html_url":"https://github.com/pingcap/tidb/issues/1380","id":163417792,"number":1380,"title":"seems builtin greatest not implement","user":{"login":"tiancaiamao","id":1420062,"avatar_url":"https://avatars.githubusercontent.com/u/1420062?v=3","gravatar_id":"","url":"https://api.github.com/users/tiancaiamao","html_url":"https://github.com/tiancaiamao","followers_url":"https://api.github.com/users/tiancaiamao/followers","following_url":"https://api.github.com/users/tiancaiamao/following{/other_user}","gists_url":"https://api.github.com/users/tiancaiamao/gists{/gist_id}","starred_url":"https://api.github.com/users/tiancaiamao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiancaiamao/subscriptions","organizations_url":"https://api.github.com/users/tiancaiamao/orgs","repos_url":"https://api.github.com/users/tiancaiamao/repos","events_url":"https://api.github.com/users/tiancaiamao/events{/privacy}","received_events_url":"https://api.github.com/users/tiancaiamao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pingcap/tidb/labels/easy","name":"easy","color":"bfe5bf"},{"url":"https://api.github.com/repos/pingcap/tidb/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/pingcap/tidb/labels/todo","name":"todo","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-01T15:19:10Z","updated_at":"2016-08-09T08:08:48Z","closed_at":"2016-08-09T08:08:48Z","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n1. What version of Go are you using (`go version`)?\r\n\r\n\r\n2. What operating system and processor architecture are you using (`go env`)?\r\n\r\n\r\n3. What did you do?\r\nIf possible, provide a recipe for reproducing the error.\r\nA complete runnable program is good.\r\n\r\n```sql\r\nCREATE TABLE t1 (a INT PRIMARY KEY AUTO_INCREMENT);\r\n\r\nINSERT INTO t1 VALUES (), (), ();\r\n\r\nSELECT 1 AS c1\r\nFROM t1\r\nORDER BY (\r\n  SELECT 1 AS c2\r\n  FROM t1\r\n  GROUP BY GREATEST(LAST_INSERT_ID(), t1.a) ASC\r\n  LIMIT 1);\r\n```\r\n\r\n4. What did you expect to see?\r\n\r\n```\r\nc1\r\n1\r\n1\r\n1\r\n```\r\n\r\n\r\n5. What did you see instead?\r\n\r\nERROR 1105 (HY000): line 6 column 20 near \"(\""}}
{"actor":{"display_login":"tiancaiamao"}}