{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9929","labels_url":"https://api.github.com/repos/apache/spark/issues/9929/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9929/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9929/events","html_url":"https://github.com/apache/spark/pull/9929","id":118553979,"number":9929,"title":"[SPARK-11946][SQL] Audit pivot API for 1.6.","user":{"login":"rxin","id":323388,"avatar_url":"https://avatars.githubusercontent.com/u/323388?v=3","gravatar_id":"","url":"https://api.github.com/users/rxin","html_url":"https://github.com/rxin","followers_url":"https://api.github.com/users/rxin/followers","following_url":"https://api.github.com/users/rxin/following{/other_user}","gists_url":"https://api.github.com/users/rxin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxin/subscriptions","organizations_url":"https://api.github.com/users/rxin/orgs","repos_url":"https://api.github.com/users/rxin/repos","events_url":"https://api.github.com/users/rxin/events{/privacy}","received_events_url":"https://api.github.com/users/rxin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-24T08:03:58Z","updated_at":"2015-11-24T08:22:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9929","html_url":"https://github.com/apache/spark/pull/9929","diff_url":"https://github.com/apache/spark/pull/9929.diff","patch_url":"https://github.com/apache/spark/pull/9929.patch"},"body":"Currently pivot's signature looks like\r\n\r\n```scala\r\n@scala.annotation.varargs\r\ndef pivot(pivotColumn: Column, values: Column*): GroupedData\r\n\r\n@scala.annotation.varargs\r\ndef pivot(pivotColumn: String, values: Any*): GroupedData\r\n```\r\n\r\nI think we can remove the one that takes \"Column\" types, since callers should always be passing in literals. It'd also be more clear if the values are not varargs, but rather Seq or java.util.List.\r\n\r\nI also made similar changes for Python.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/159192664","html_url":"https://github.com/apache/spark/pull/9929#issuecomment-159192664","issue_url":"https://api.github.com/repos/apache/spark/issues/9929","id":159192664,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T08:22:49Z","updated_at":"2015-11-24T08:22:49Z","body":"Merged build finished. Test FAILed."}}