asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yingyi Bu <buyin...@gmail.com>
Subject Re: why loading an enforced index needs to cast-record?
Date Tue, 19 Apr 2016 00:51:50 GMT
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 <buyingyi@gmail.com> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message