[
https://issues.apache.org/jira/browse/ASTERIXDB-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steven Jacobs resolved ASTERIXDB-2391.
--------------------------------------
Resolution: Fixed
> 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)