Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[ASTERIXDB-2687][RT] Issue a warning when incomparable types are compared

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Issue a warning when NULL was returned as the result of a comparison

of 2 incomparable types.

- added error/warning code 49

- refactored dot format plans generator

- removed some AQL tests that are already covered in SQL++ tests

Change-Id: Iad3127e4db775315817a7819feea6aa12e4de2ea

Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/4464

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

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

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

    • -24
    • +0
    ./issue363_inequality_circle/issue363_inequality_circle.1.ddl.aql
    • -24
    • +0
    ./issue363_inequality_circle/issue363_inequality_circle.2.update.aql
    • -29
    • +0
    ./issue363_inequality_circle/issue363_inequality_circle.3.query.aql
    • -24
    • +0
    ./issue363_inequality_duration/issue363_inequality_duration.1.ddl.aql
    • -24
    • +0
    ./issue363_inequality_duration/issue363_inequality_duration.2.update.aql
    • -29
    • +0
    ./issue363_inequality_duration/issue363_inequality_duration.3.query.aql
    • -24
    • +0
    ./issue363_inequality_interval/issue363_inequality_interval.1.ddl.aql
    • -24
    • +0
    ./issue363_inequality_interval/issue363_inequality_interval.2.update.aql
    • -29
    • +0
    ./issue363_inequality_interval/issue363_inequality_interval.3.query.aql
    • -24
    • +0
    ./issue363_inequality_line/issue363_inequality_line.1.ddl.aql
    • -24
    • +0
    ./issue363_inequality_line/issue363_inequality_line.2.update.aql
    • -29
    • +0
    ./issue363_inequality_line/issue363_inequality_line.3.query.aql
    • -24
    • +0
    ./issue363_inequality_point/issue363_inequality_point.1.ddl.aql
    • -24
    • +0
    ./issue363_inequality_point/issue363_inequality_point.2.update.aql
  1. … 25 more files in changeset.
[ASTERIXDB-2516][RT] add support for deep comparison 1

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Add support for deep comparison.

- add interface ILogicalBinaryComparator

- switch EQ,LT,GT and other functions to use ILogicalBinaryComparator

instead of ComparisonHelper

Change-Id: I623662861e6f3b1fdcff78f8edc0e3216ca10fe1

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

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

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

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

Contrib: Michael Blow <mblow@apache.org>

Integration-Tests: Michael Blow <mblow@apache.org>

Tested-by: Michael Blow <mblow@apache.org>

  1. … 32 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
    • +28
    ./binary_null/binary_null.1.query.aql
    • -0
    • +18
    ./date_order/date_order.2.update.aql
    • -0
    • +30
    ./date_order/date_order.3.query.aql
    • -0
    • +22
    ./datetime_order/datetime_order.1.ddl.aql
    • -0
    • +18
    ./datetime_order/datetime_order.2.update.aql
    • -0
    • +35
    ./datetime_order/datetime_order.3.query.aql
    • -0
    • +34
    ./datetime_range/datetime_range.1.ddl.aql
    • -0
    • +24
    ./datetime_range/datetime_range.2.update.aql
    • -0
    • +24
    ./datetime_range/datetime_range.3.query.aql
    • -0
    • +22
    ./datetime_tzeq/datetime_tzeq.1.ddl.aql
    • -0
    • +18
    ./datetime_tzeq/datetime_tzeq.2.update.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>

    • -28
    • +0
    ./binary_null/binary_null.1.query.aql
    • -18
    • +0
    ./date_order/date_order.2.update.aql
    • -30
    • +0
    ./date_order/date_order.3.query.aql
    • -22
    • +0
    ./datetime_order/datetime_order.1.ddl.aql
    • -18
    • +0
    ./datetime_order/datetime_order.2.update.aql
    • -35
    • +0
    ./datetime_order/datetime_order.3.query.aql
    • -34
    • +0
    ./datetime_range/datetime_range.1.ddl.aql
    • -24
    • +0
    ./datetime_range/datetime_range.2.update.aql
    • -24
    • +0
    ./datetime_range/datetime_range.3.query.aql
    • -22
    • +0
    ./datetime_tzeq/datetime_tzeq.1.ddl.aql
    • -18
    • +0
    ./datetime_tzeq/datetime_tzeq.2.update.aql
  1. … 4537 more files in changeset.
ASTERIXDB-1327, ASTERIXDB-1362 Fixed circle-point intersect function

Change-Id: I2512c73c9dcd593dc7e6690435da67f8086ff0db

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

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

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

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

Reviewed-by: Jianfeng Jia <jianfeng.jia@gmail.com>

    • -0
    • +44
    ./circle-point/circle-point.1.ddl.aql
    • -0
    • +28
    ./circle-point/circle-point.2.update.aql
    • -0
    • +27
    ./circle-point/circle-point.3.query.aql
    • -0
    • +27
    ./circle-point/circle-point.4.query.aql
    • -0
    • +28
    ./circle-point/circle-point.5.query.aql
    • -0
    • +25
    ./circle-point/circle-point.6.query.aql
  1. … 5 more files in changeset.
Unify runtime type exceptions by using error code and message template.

-- fixed string_join to be able to handle self-described list;

-- fixed the input arity of day_of_week;

-- added tests for exceptions.

RuntimeDataException is a newly added super class for errors in the data in the runtime.

It has the following subclasses:

-- IncompatibleTypeException, e.g., 1 + "2"

-- InvalidDataFormatException, e.g., boolean(1)

-- OverflowException, e.g., int8(1024)

-- TypeMismatchException, e.g., substr(1, 2)

-- UnderflowException, e.g., int8(-1024)

-- UnsupportedItemTypeException, e.g., string_concat(["a", 1, "c"])

-- UnsupportedTypeException, e.g., rectangle("1,2 3,4") + rectangle("2,5 7,8")

All "root-cause" exceptions thrown from runtime functions have an error code.

Going forward, all "root-cause" exceptions thrown from asterixdb

should have an error code.

Change-Id: Ie4fff8f5e64ffb027910a4899c0246b37ed5bce7

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

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

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

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

  1. … 434 more files in changeset.
HTTP API++: Threaddumps / CC / INI, Misc

- Thread dump returned in JSON format.

e.g. http://localhost:19002/admin/cluster/node/asterix_nc2/threaddump

- Add CC config, stats, threaddumps

- Add CC / NC ini settings under config endpoints

- Wrap doGet implementations for cluster APIs to fix SonarQube issues

- Avoid boxing arrays & lists for JSONObject.put()

Change-Id: I536606a1fbc394c6c70bb8ce14791cc411691617

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

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

Reviewed-by: Michael Blow <mblow@apache.org>

    • -10
    • +12
    ./deep_equal/DeepEqualQueries.xml
  1. … 32 more files in changeset.
Supports Left Outer Join and Left Outer Unnest in SQL++.

- change record format to allow MISSING value for an optional field;

- support roundtrips of MISSING valued closed fields for load and insert;

- suppress fields with MISSING values in result printer;

- fix ByNameToByIndexFieldAccessRule and LoadRecordFieldsRule;

- update test queries and results.

Change-Id: Ie0caea9c1842d93541b067a1193d117af30d8dfc

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

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

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

    • -20
    • +0
    ./binary_null/binary_null.1.ddl.aql
    • -0
    • +28
    ./binary_null/binary_null.1.query.aql
    • -18
    • +0
    ./binary_null/binary_null.2.update.aql
    • -30
    • +0
    ./binary_null/binary_null.3.query.aql
    • -21
    • +0
    ./double_null/double_null.1.ddl.aql
    • -0
    • +28
    ./double_null/double_null.1.query.aql
    • -18
    • +0
    ./double_null/double_null.2.update.aql
    • -30
    • +0
    ./double_null/double_null.3.query.aql
    • -0
    • +28
    ./float_null/float_null.1.query.aql
    • -18
    • +0
    ./float_null/float_null.2.update.aql
    • -30
    • +0
    ./float_null/float_null.3.query.aql
    • -0
    • +28
    ./int16_null/int16_null.1.query.aql
    • -18
    • +0
    ./int16_null/int16_null.2.update.aql
  1. … 571 more files in changeset.
Normalize XML Whitespace

Normalize whitespace in project XML files (e.g. pom.xml), to two-spaces

per indentation level.

Cleanup rewriter error messages for user-defined functions

Change-Id: Ic06e3ff4431508d878e0cc614fbf957887a3c682

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

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

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

  1. … 166 more files in changeset.