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/06/05 20:12:00 UTC

[jira] [Assigned] (ASTERIXDB-2391) IntroduceDynamicTypeCastRule doesn't propagate through insert

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Jacobs reassigned ASTERIXDB-2391:
----------------------------------------

    Assignee: Steven Jacobs

> IntroduceDynamicTypeCastRule doesn't propagate through insert
> -------------------------------------------------------------
>
>                 Key: ASTERIXDB-2391
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2391
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>            Reporter: Steven Jacobs
>            Assignee: Steven Jacobs
>            Priority: Major
>
> This makes it so returning clauses refer to non-existent variables. Can be reproduced buy the following:
>  
> drop dataverse channels if exists;
>  create dataverse channels;
>  use channels;
> create type sub as
> { subscriptionId: uuid }
> ;
> create dataset subscriptions(sub) primary key subscriptionId;
> upsert into subscriptions as record(
>  [\{"subscriptionId":create_uuid()}]
> ) returning record.subscriptionId;
>  



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