Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[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 <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

    • -25
    • +0
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.1.ddl.aql
    • -25
    • +0
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.2.update.aql
    • -27
    • +0
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.3.query.aql
    • -34
    • +0
    ./open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.1.ddl.aql
    • -28
    • +0
    ./open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.2.update.aql
    • -28
    • +0
    ./open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.3.query.aql
    • -34
    • +0
    ./open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.1.ddl.aql
    • -27
    • +0
    ./open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.2.update.aql
    • -28
    • +0
    ./open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.3.query.aql
  1. … 44 more files in changeset.
Revert "[ASTERIXDB-2454] Remove non-unique AQL tests"

This reverts commit f372c96ddb3414e7f4f54b13059b065310157d65.

Change-Id: Ie8c4c9b50ed3daf528c75168b6d9c2d675cd04a5

Reviewed-on: https://asterix-gerrit.ics.uci.edu/3001

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

    • -0
    • +78
    ./access-nested-fields/access-nested-fields.1.ddl.aql
    • -0
    • +29
    ./access-nested-fields/access-nested-fields.10.query.aql
    • -0
    • +29
    ./access-nested-fields/access-nested-fields.11.query.aql
    • -0
    • +29
    ./access-nested-fields/access-nested-fields.12.query.aql
    • -0
    • +28
    ./access-nested-fields/access-nested-fields.2.update.aql
    • -0
    • +30
    ./access-nested-fields/access-nested-fields.3.query.aql
    • -0
    • +30
    ./access-nested-fields/access-nested-fields.4.query.aql
    • -0
    • +30
    ./access-nested-fields/access-nested-fields.5.query.aql
    • -0
    • +30
    ./access-nested-fields/access-nested-fields.6.query.aql
    • -0
    • +30
    ./access-nested-fields/access-nested-fields.7.query.aql
    • -0
    • +29
    ./access-nested-fields/access-nested-fields.8.query.aql
    • -0
    • +29
    ./access-nested-fields/access-nested-fields.9.query.aql
    • -0
    • +25
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.1.ddl.aql
    • -0
    • +25
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.2.update.aql
    • -0
    • +27
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.3.query.aql
  1. … 4537 more files in changeset.
[ASTERIXDB-2454] Remove non-unique AQL tests

Change-Id: I13f676e9322f8b94e8c9686b261e8752a7100722

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2979

Reviewed-by: Taewoo Kim <wangsaeu@gmail.com>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

    • -78
    • +0
    ./access-nested-fields/access-nested-fields.1.ddl.aql
    • -29
    • +0
    ./access-nested-fields/access-nested-fields.10.query.aql
    • -29
    • +0
    ./access-nested-fields/access-nested-fields.11.query.aql
    • -29
    • +0
    ./access-nested-fields/access-nested-fields.12.query.aql
    • -28
    • +0
    ./access-nested-fields/access-nested-fields.2.update.aql
    • -30
    • +0
    ./access-nested-fields/access-nested-fields.3.query.aql
    • -30
    • +0
    ./access-nested-fields/access-nested-fields.4.query.aql
    • -30
    • +0
    ./access-nested-fields/access-nested-fields.5.query.aql
    • -30
    • +0
    ./access-nested-fields/access-nested-fields.6.query.aql
    • -30
    • +0
    ./access-nested-fields/access-nested-fields.7.query.aql
    • -29
    • +0
    ./access-nested-fields/access-nested-fields.8.query.aql
    • -29
    • +0
    ./access-nested-fields/access-nested-fields.9.query.aql
    • -25
    • +0
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.1.ddl.aql
    • -25
    • +0
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.2.update.aql
    • -27
    • +0
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.3.query.aql
  1. … 4537 more files in changeset.
[NO ISSUE][FAIL] Use Formatted Exception For Duplicate Fields

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Use formatted duplicate field name exception

instead of illegal state exception.

Change-Id: I7ef04b8723c027aa3b43d35bfe96ecaf575ccc4c

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2852

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

Reviewed-by: Till Westmann <tillw@apache.org>

  1. … 2 more files in changeset.
[ASTERIXDB-2332][RT] Fix concurrency issue with RecordMerge and RecordRemoveFields

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Removed shared instance of PointableHelper.STRING_BINARY_COMPARATOR

which was not thread safe.

Change-Id: I4c5db58184235474f7aed7e5a4b91b6b5685fc06

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2492

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

  1. … 3 more files in changeset.
[ASTERIXDB-2287][SQL] Support SELECT variable.* in SQL++

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Support SELECT variable.* in SQL++

- Include variables defined by LET clauses in the

output record created by SELECT *

- Add object_concat() function

- Add tests for these new features

- Fail testcase if its source directory is missing

- Fix testcases that did not run previously because

their source directories were incorrectly specified

Change-Id: I058dc0f45072a1398f6431e0c73ce680c4d8cdc7

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2394

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Till Westmann <tillw@apache.org>

  1. … 136 more files in changeset.
Documentation cleanup.

1. "record"->"object",

2. JSONify sqlpp/3_query.md.

Change-Id: Idcb2be81d1bfa37dd876cd36a7a5bb824bc3ab86

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1295

Reviewed-by: Till Westmann <tillw@apache.org>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

    • -0
    • +184
    ./ObjectsQueries.xml
    • -0
    • +78
    ./access-nested-fields/access-nested-fields.1.ddl.aql
    • -0
    • +29
    ./access-nested-fields/access-nested-fields.10.query.aql
    • -0
    • +29
    ./access-nested-fields/access-nested-fields.11.query.aql
    • -0
    • +29
    ./access-nested-fields/access-nested-fields.12.query.aql
    • -0
    • +28
    ./access-nested-fields/access-nested-fields.2.update.aql
    • -0
    • +30
    ./access-nested-fields/access-nested-fields.3.query.aql
    • -0
    • +30
    ./access-nested-fields/access-nested-fields.4.query.aql
    • -0
    • +30
    ./access-nested-fields/access-nested-fields.5.query.aql
    • -0
    • +30
    ./access-nested-fields/access-nested-fields.6.query.aql
    • -0
    • +30
    ./access-nested-fields/access-nested-fields.7.query.aql
    • -0
    • +29
    ./access-nested-fields/access-nested-fields.8.query.aql
    • -0
    • +29
    ./access-nested-fields/access-nested-fields.9.query.aql
    • -0
    • +25
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.1.ddl.aql
    • -0
    • +25
    ./closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.2.update.aql
  1. … 798 more files in changeset.