asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pouria (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-425) IX-Join hint not working for left outer join case
Date Fri, 25 Sep 2015 20:51:04 GMT

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

Pouria commented on ASTERIXDB-425:
----------------------------------

Here are the required DDL and query to reproduce the issue:

create type FacebookUserType as {
id: int64,
alias: string, 
name: string,
user_since: datetime,
friend_ids: {{ int64 }},
employment: [EmploymentType]
}

create type FacebookMessageType as {
message_id: int64,
author_id: int64,
in_response_to: int64?,
sender_location: point,
send_time: datetime,
message: string
}

create dataset FacebookUsers(FacebookUserType)
primary key id;    
create dataset FacebookMessages(FacebookMessageType)
primary key message_id;

create index fbmAutIdIx on FacebookMessages(author_id);

and here is the query:

for $user in dataset('FacebookUsers') 
return
{ "uname": $user.name, 
"messages": for $message in dataset('FacebookMessages') 
                     where $message.author-id /*+ indexnl */ = $user.id 
                     return $message.message }

> IX-Join hint not working for left outer join case
> -------------------------------------------------
>
>                 Key: ASTERIXDB-425
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-425
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB
>            Reporter: asterixdb-importer
>
> IX-Join hint not working for left outer join case



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message