[
https://issues.apache.org/jira/browse/CARBONDATA-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xuchuanyin resolved CARBONDATA-1709.
------------------------------------
Resolution: Fixed
> Support sort_columns option in dataframe writer
> -----------------------------------------------
>
> Key: CARBONDATA-1709
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-1709> Project: CarbonData
> Issue Type: Improvement
> Components: sql
> Reporter: xuchuanyin
> Assignee: xuchuanyin
> Fix For: 1.3.0
>
> Time Spent: 5h 20m
> Remaining Estimate: 0h
>
> While 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:
> ```scala
> df.write
> .format("carbondata")
> .options(...)
> .option("sort_columns", "c1,c2")
> .save
> ```
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)