ASTERIXDB-1404 [1] has been created based on the conversation with @Ildar. Best, Yingyi
[1] https://issues.apache.org/jira/browse/ASTERIXDB-1404 On Mon, Apr 18, 2016 at 4:57 PM, Yingyi Bu <[email protected]> wrote: > Why does loading an enforced secondary index need to cast records [1] [2] > [3]? > It doesn't seem to be efficient, since what really needs to be checked is > only the type of the indexed fields. > Any thoughts? > > Best, > Yingyi > > [1] > https://github.com/apache/incubator-asterixdb/blob/master/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryBTreeOperationsHelper.java#L148 > [2] > https://github.com/apache/incubator-asterixdb/blob/master/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryInvertedIndexOperationsHelper.java#L253 > [3] > https://github.com/apache/incubator-asterixdb/blob/master/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryRTreeOperationsHelper.java#L310 > >
