You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Steven Jacobs (JIRA)" <ji...@apache.org> on 2018/03/20 19:53:00 UTC

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

Steven Jacobs created ASTERIXDB-2333:
----------------------------------------

             Summary: 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


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)