carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QiangCai <>
Subject [GitHub] incubator-carbondata pull request #715: [CARBONDATA-782]support SORT_COLUMNS...
Date Thu, 30 Mar 2017 20:46:31 GMT
GitHub user QiangCai opened a pull request:


    The tasks of SORT_COLUMNS:
    Support create table with sort_columns property.
    e.g. tblproperties('sort_columns' = 'col7,col3')
    The table with SORT_COLUMNS property will be sorted by SORT_COLUMNS. The order of columns
is decided by SORT_COLUMNS.
    Change the encoding rule of SORT_COLUMNS
    Firstly, the rule of column encoding will keep consistent with previous.
    Secondly, if a column of SORT_COLUMNS is a measure before, now this column will be created
as a dimension. And this dimension is a no-dicitonary column(Better to use other direct-dictionary).
    Thirdly, the dimension of SORT_COLUMNS have RLE and ROWID page, other dimension have only
RLE(not sorted).
    The start/end key should be composed of SORT_COLUMNS.
    Using SORT_COLUMNS to build start/end key during data loading and select query.

You can merge this pull request into a Git repository by running:

    $ git pull sort_columns

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #715
commit 287337170650e6ed19fb8d45e32df953d3a1d166
Author: QiangCai <>
Date:   2017-03-02T09:48:54Z

    sort columns


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message