You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/08/23 20:07:00 UTC

[jira] [Commented] (ASTERIXDB-2626) Ignore duplicate fields in record construction and issue warning

    [ https://issues.apache.org/jira/browse/ASTERIXDB-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16914578#comment-16914578 ] 

ASF subversion and git services commented on ASTERIXDB-2626:
------------------------------------------------------------

Commit 5760e9ee1eef503c51bc70d41e881016d9014bc6 in asterixdb's branch refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=5760e9e ]

[ASTERIXDB-2626][*DB] Ignore dup fields in record construction, issue warning

- user model changes: yes
- storage format changes: no
- interface changes: no

Details:
Change the current behavior of throwing exceptions on duplicates fields
on a record to just picking one and return a warning when possible.

- added source location for auto generated name expressions.
- removed duplicate test cases from AQL test suite since SQL++ alraedy has it.
- updated test cases that used to throw exception on duplicate fields.
- updated an AST test case to reflect the new behaviour of picking one field.
- clean-ups in testsuite_sqlpp:
  moved flwor let33 test case to its proper group.
  moved ObjectsQueries, GeoQueries xml references up to where other xml refs.

Change-Id: I2d773b194f0e0f35720bb3fd63f1997239800762
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3519
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <al...@gmail.com>
Reviewed-by: Dmitry Lychagin <dm...@couchbase.com>


> Ignore duplicate fields in record construction and issue warning
> ----------------------------------------------------------------
>
>                 Key: ASTERIXDB-2626
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2626
>             Project: Apache AsterixDB
>          Issue Type: Task
>          Components: *DB - AsterixDB
>    Affects Versions: 0.9.4
>            Reporter: Ali Alsuliman
>            Assignee: Ali Alsuliman
>            Priority: Major
>             Fix For: 0.9.5
>
>
> Change the current behavior of throwing exceptions on duplicates fields on a record to just picking one and return a warning when possible



--
This message was sent by Atlassian Jira
(v8.3.2#803003)