asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lychagin (Code Review)" <do-not-re...@asterixdb.incubator.apache.org>
Subject Change in asterixdb[master]: Support for non-enforced secondary indexes
Date Wed, 14 Jun 2017 20:27:44 GMT
Dmitry Lychagin has posted comments on this change.

Change subject: Support for non-enforced secondary indexes
......................................................................


Patch Set 7:

> This change seems to be related to my change (support creating
 > secondary index for correlated datasets).
 > 
 > One quick question: if an secondary index is non-enforced for some
 > open type, how would the secondary keys be stored in the index? For
 > example, if we create an index on a open string type, but the
 > actual values contain string, int, long, and even object, how would
 > this case be handled?

Only values of the specified type or promotable to it (for numeric types) would be stored
in the index. So in your case only strings would be in the secondary index.

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/1835
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I8f4abddf047e851d44a5f08fe9a210617d3cd018
Gerrit-PatchSet: 7
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Gerrit-Reviewer: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Gerrit-Reviewer: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Gerrit-Reviewer: Luo Chen <cluo8@uci.edu>
Gerrit-Reviewer: Michael Carey <dtabass@gmail.com>
Gerrit-Reviewer: Till Westmann <tillw@apache.org>
Gerrit-Reviewer: Yingyi Bu <buyingyi@gmail.com>
Gerrit-HasComments: No

Mime
View raw message