asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-2203) Secondary Primary index shouldn't sort with existing dataset
Date Wed, 20 Dec 2017 22:33:00 GMT

    [ https://issues.apache.org/jira/browse/ASTERIXDB-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299190#comment-16299190
] 

ASF subversion and git services commented on ASTERIXDB-2203:
------------------------------------------------------------

Commit 4c5fb5c313b60c6b8b0fb0812cec8cc98c0289a0 in asterixdb's branch refs/heads/master from
[~alsuliman]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=4c5fb5c ]

[ASTERIXDB-2203][IDX] Eliminate sort operator for secondary primary index

- user model changes: no
- storage format changes: no
- interface changes: no

details:
This change is intended to remove the sort operator when creating
a secondary primary index. The secondary primary index DDL statement uses
the same code as the one for creating general secondary BTree indexes which
has the sort operator since it needs to sort by SK. The sort operator is
not needed for secondary primary index since there is no SK and PK is already
sorted.

Change-Id: I2287c355204355b7ce306388c85d58d69a1bb64a
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2240
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>


> Secondary Primary index shouldn't sort with existing dataset
> ------------------------------------------------------------
>
>                 Key: ASTERIXDB-2203
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2203
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>            Reporter: Ian Maxon
>
> Right now creating a secondary primary index causes it to sort, like other secondary
indices, however there's no need to sort because the data is of course already in primary
order. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message