You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/03/29 19:08:00 UTC

[jira] [Commented] (ASTERIXDB-2333) Filters don't work with autogenerated keys

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

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

Commit 7dc566bdc0ef575c31d29caa8cfc1749d44f2883 in asterixdb's branch refs/heads/master from [~sjaco002]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=7dc566b ]

[ASTERIXDB-2333][COMP] Allow filters to work alongside autogenerated keys

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

Details: Fixes a bug preventing autogenerated keys from working
when there is a filtering field present.
Added test.

Change-Id: I450b4e20175992414955d59116e672450d442f81
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2504
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Xikui Wang <xk...@gmail.com>


> Filters don't work with autogenerated keys
> ------------------------------------------
>
>                 Key: ASTERIXDB-2333
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2333
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Steven Jacobs
>            Assignee: Ian Maxon
>            Priority: Major
>
> The following example fails (works without the filter). See TODO in IntroduceAutogenerateIDRule
>  
> drop dataverse channels if exists;
> create dataverse channels;
> use channels;
> create type UserLocation as closed {
> recordId: uuid,
> location: circle,
> userName: string
> };
> create dataset UserLocations(UserLocation)
> primary key recordId autogenerated with filter on userName;
>  
> insert into UserLocations(
> {"userName" : "c1121u1" , "location" : circle("4171.58,1083.41 100.0")}
> );



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)