[
https://issues.apache.org/jira/browse/ASTERIXDB-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17386576#comment-17386576
]
ASF subversion and git services commented on ASTERIXDB-2932:
------------------------------------------------------------
Commit d80b5de2615d74106d17f72bf93a4cdb0439b8a4 in asterixdb's branch
refs/heads/master from ggalvizo
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=d80b5de ]
[ASTERIXDB-2932][IDX] Fixing open type building for array indexes.
- user mode changes: no
- storage format changes: no
- interface changes: no
Fix to allow for more complex nesting structures for array indexes
(partially typed indexes + records that hold subrecords that hold
arrays). This also fixes the open type names to be more consistent
with the closed types.
Change-Id: If6cf7d13081a6f58457ceefed5c090208fedf8a0
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/12403
Tested-by: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Glenn Galvizo <[email protected]>
Reviewed-by: Dmitry Lychagin <[email protected]>
> Failing to create open array indexes of multiple UNNESTs + record types.
> ------------------------------------------------------------------------
>
> Key: ASTERIXDB-2932
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2932
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: IDX - Indexes
> Reporter: Glenn Justo Galvizo
> Assignee: Glenn Justo Galvizo
> Priority: Major
>
> The following CREATE INDEX throws an error:
> {code:java}
> DROP DATAVERSE TestDataverse IF EXISTS;
> CREATE DATAVERSE TestDataverse;
> USE TestDataverse;
> CREATE TYPE TestType AS {
> _id: uuid
> };
> CREATE DATASET Dataset1 (TestType)
> PRIMARY KEY _id AUTOGENERATED;
> CREATE INDEX d1Idx
> ON Dataset1 ( UNNEST f1.f2
> SELECT f3 : bigint );
> {code}
> An CREATE INDEX like "UNNEST f1.f2" works, but adding the SELECT throws an
> error.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)