You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "xuchuanyin (JIRA)" <ji...@apache.org> on 2017/11/14 12:35:00 UTC
[jira] [Created] (CARBONDATA-1709) Support sort_columns option in
dataframe writer
xuchuanyin created CARBONDATA-1709:
--------------------------------------
Summary: 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
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)