[
https://issues.apache.org/jira/browse/ASTERIXDB-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404119#comment-17404119
]
ASF subversion and git services commented on ASTERIXDB-2954:
------------------------------------------------------------
Commit 81578f901bdfccbff09bf3618b462374fca64580 in asterixdb's branch
refs/heads/master from Dmitry Lychagin
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=81578f9 ]
[ASTERIXDB-2954][COMP] Support PRIMARY KEY declaration in CREATE VIEW
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Allow not-enforced primary key to be specified in
CREATE VIEW for typed views
- Primary key fields must be declared as "not unknown"
in the type definition
- If a type cast operation produces NULL for a primary key
field then the whole tuple is excluded from the view
- Add testcases
Change-Id: I7ad08dcb0e1437c1e791daab4ee8eadd9c8135e1
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/12963
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Dmitry Lychagin <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
> Support PRIMARY KEY declaration in CREATE VIEW for typed views
> --------------------------------------------------------------
>
> Key: ASTERIXDB-2954
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2954
> Project: Apache AsterixDB
> Issue Type: Improvement
> Components: COMP - Compiler
> Reporter: Dmitry Lychagin
> Assignee: Dmitry Lychagin
> Priority: Major
>
> We need to extend CREATE VIEW declaration to support PRIMARY KEY ... NOT
> ENFORCED for typed views.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)