{"action":"created","issue":{"url":"https://api.github.com/repos/apache/carbondata/issues/1496","repository_url":"https://api.github.com/repos/apache/carbondata","labels_url":"https://api.github.com/repos/apache/carbondata/issues/1496/labels{/name}","comments_url":"https://api.github.com/repos/apache/carbondata/issues/1496/comments","events_url":"https://api.github.com/repos/apache/carbondata/issues/1496/events","html_url":"https://github.com/apache/carbondata/pull/1496","id":273778068,"number":1496,"title":"[CARBONDATA-1709][DataFrame] Support sort_columns option in dataframe writer","user":{"login":"xuchuanyin","id":10445758,"avatar_url":"https://avatars1.githubusercontent.com/u/10445758?v=4","gravatar_id":"","url":"https://api.github.com/users/xuchuanyin","html_url":"https://github.com/xuchuanyin","followers_url":"https://api.github.com/users/xuchuanyin/followers","following_url":"https://api.github.com/users/xuchuanyin/following{/other_user}","gists_url":"https://api.github.com/users/xuchuanyin/gists{/gist_id}","starred_url":"https://api.github.com/users/xuchuanyin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuchuanyin/subscriptions","organizations_url":"https://api.github.com/users/xuchuanyin/orgs","repos_url":"https://api.github.com/users/xuchuanyin/repos","events_url":"https://api.github.com/users/xuchuanyin/events{/privacy}","received_events_url":"https://api.github.com/users/xuchuanyin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-11-14T12:39:41Z","updated_at":"2017-11-24T02:16:30Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/carbondata/pulls/1496","html_url":"https://github.com/apache/carbondata/pull/1496","diff_url":"https://github.com/apache/carbondata/pull/1496.diff","patch_url":"https://github.com/apache/carbondata/pull/1496.patch"},"body":"Be sure to do all of the following checklist to help us incorporate \r\nyour contribution quickly and easily:\r\n\r\n - [X] Any interfaces changed?\r\n `NO`\r\n - [X] Any backward compatibility impacted?\r\n `NO`\r\n - [X] Document update required?\r\n `NO`\r\n - [X] Testing done\r\n        Please provide details on \r\n        - Whether new unit test cases have been added or why no new tests are required?\r\n        `ADDED NEW TESTS`\r\n        - How it is tested? Please attach test report.\r\n        `TEST THE CORRECTNESS OF SORT_COLUMNS OPTION`\r\n        - Is it a performance related change? Please attach the performance test report.\r\n        `NO`\r\n        - Any additional information to help reviewers in testing this change.\r\n        `NO`\r\n - [X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. \r\n        `UNRELATED`\r\n\r\nCOPY FROM JIRA\r\n===\r\n\r\nWhile creating carbondata table from dataframe, `sort_column` property is not specified, which by default will use all string columns as `sort_column`. So an option is required to specify it as below:\r\n```scala\r\ndf.write\r\n  .format(\"carbondata\")\r\n  .options(...)\r\n  .option(\"sort_columns\", \"c1,c2\")\r\n  .save\r\n```"},"comment":{"url":"https://api.github.com/repos/apache/carbondata/issues/comments/346725313","html_url":"https://github.com/apache/carbondata/pull/1496#issuecomment-346725313","issue_url":"https://api.github.com/repos/apache/carbondata/issues/1496","id":346725313,"user":{"login":"xuchuanyin","id":10445758,"avatar_url":"https://avatars1.githubusercontent.com/u/10445758?v=4","gravatar_id":"","url":"https://api.github.com/users/xuchuanyin","html_url":"https://github.com/xuchuanyin","followers_url":"https://api.github.com/users/xuchuanyin/followers","following_url":"https://api.github.com/users/xuchuanyin/following{/other_user}","gists_url":"https://api.github.com/users/xuchuanyin/gists{/gist_id}","starred_url":"https://api.github.com/users/xuchuanyin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuchuanyin/subscriptions","organizations_url":"https://api.github.com/users/xuchuanyin/orgs","repos_url":"https://api.github.com/users/xuchuanyin/repos","events_url":"https://api.github.com/users/xuchuanyin/events{/privacy}","received_events_url":"https://api.github.com/users/xuchuanyin/received_events","type":"User","site_admin":false},"created_at":"2017-11-24T02:16:30Z","updated_at":"2017-11-24T02:16:30Z","author_association":"CONTRIBUTOR","body":"retest this please"}}
{"actor":{"display_login":"xuchuanyin"}}