Clone Tools
  • last updated 29 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[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-2423][RT] Division by zero should return NULL

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Make DIV, /, MOD operators return NULL if the divisor is 0

- Add test case for if_inf() function

Change-Id: If2a45e842b840f721435b0715945a209e55b9dd4

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

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: Till Westmann <tillw@apache.org>

  1. … 52 more files in changeset.
[ASTERIXDB-2419][COMP] Replacement limit in regexp_replace()

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Support replacement limit parameter in regexp_replace()

Change-Id: I9bcf633ea6af1ade49daffec4784a70355c08a0e

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

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. … 8 more files in changeset.
[ASTERIXDB-2417][COMP] Fix issues with LIMIT clause

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Fixed NPE in optimizer when limit/offset is non-integer

- Allow float/double values that are integers in limit/offset

- Make consistent limit/offset value types (integer) between

runtime and optimizer rules

- Add internal function treat-as-integer() that returns integer

if input number conforms to the integer type or fails otherwise

Change-Id: I986fab3e79b072aa2441af293f3e16c3f37bf508

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

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. … 21 more files in changeset.
[NO ISSUE][FUN] Implement array functions p3

- user model changes: no

- storage format changes: no

- interface changes: no

details:

array_concat(), array_flatten(), array_ifnull(), array_intersect()

array_range(), array_replace(), array_star(), array_symdiff(),

array_symdiffn(), array_union()

Change-Id: Ida0d12d48f8c676d5a93b024c301dd13ef400247

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

  1. … 94 more files in changeset.
[ASTERIXDB-2416][FUN] Remove some internal function names from error messages

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Remove function names from type mismatch error messages

raised by the following functions: field-access-by-index(),

field-access-by-name(), field-access-nested(),

any-collection-member(), scan-collection()

Change-Id: I625faf91a33f981964465cc60b77a27f4aecb6a8

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

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

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

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

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

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

  1. … 9 more files in changeset.
[NO ISSUE][FUN] Implement array functions p2

- user model changes: no

- storage format changes: no

- interface changes: no

details:

This is part of implementing array functions. This patch

includes array_distinct(), array_sort(). It includes

reorganization of array_reverse()

Change-Id: I5e9c4ff6400b7fe93ca2aab0234750dc78f50659

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

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

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

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

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

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

    • -0
    • +34
    ./main/java/org/apache/asterix/builders/ArrayListFactory.java
  1. … 31 more files in changeset.
[ASTERIXDB-1130][STO]: JSON serialization for persisted objects

- user model changes: no

- storage format changes:

This change replaces the use of Java serialization for persisted objects

such as dataset/index metadata, checkpoints, ect...

This will break backward compatibly with any existing AsterixDB instance.

However, the change is needed to enable future backward compatibility support

for persisted objects.

- interface changes:

IJsonSerializable: contains API to serialize a class as a JsonNode.

IPersistedResourceRegistry: contains a mapping between an IJsonSerializable

class and a unique type id. An IPersistedResourceRegistry is responsible

for generating the class identifier in the JSON output.

The class identifier will always contain the following attributes:

@type: a unique type id that identifies the object type.

@version: the version of the serialized class.

@class: the serialized class full name.

Any registered class with PersistedResourceRegistry must provide

a static fromJson(IPersistedResourceRegistry, JsonNode) method for

deserialization. This is ensured during the class registration process.

Change-Id: I5b103e06eab6627dbfe9d531caae1a3ac4b296da

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

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

Integration-Tests: Murtadha Hubail <mhubail@apache.org>

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

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

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

  1. … 114 more files in changeset.
[NO ISSUE][FUN] Implement array functions p1

- user model changes: no

- storage format changes: no

- interface changes: no

details:

This is part of implementing array functions. This patch

includes array_insert(), array_append(), array_prepend()

array_put() and array_remove(). It includes re-organization

of those functions.

Change-Id: I7d9cb80325138daf99fb039793446d109481c94b

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

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

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

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

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

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

  1. … 38 more files in changeset.
[NO ISSUE] small readability improvement

- user model changes: no

- storage format changes: no

- interface changes: no

Change-Id: I398e41d5e127baa71ee6c2bd222a6a42b566fdc7

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

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

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

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

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

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

[ASTERIXDB-2406][FUN] Implement pairs() function

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Implement pairs() function

- Fix object_pairs() function to return null for

non-object input instead of raising type error

- Add documentation for pairs() and object_pairs()

Change-Id: I1d4917a496a2f49679d64109e5f5bf4b05609f01

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

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. … 16 more files in changeset.
[NO ISSUE] add function array_repeat

- user model changes: no

- storage format changes: no

- interface changes: no

Change-Id: Ic5f9e503a81ba86dd873ad61fd35a2f695905dad

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

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. … 5 more files in changeset.
[NO ISSUE]Introduce convenience methods for pointables

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Introduce utils to convert pointables into adm nodes.

- Such functions can be useful for tuple translation of

Metadata entities, reading constant records in with

clauses in DDLs, and for debugging runtime.

Change-Id: I705e75d573a7f2c888dd7d83b4c24a2c7050eb88

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

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>

    • -0
    • +163
    ./main/java/org/apache/asterix/om/utils/AdmNodeUtils.java
  1. … 26 more files in changeset.
[NO ISSUE] small cleanup in type inferencing

Change-Id: I89e74b1f3176d3edd8e41fc63538a3b37326923c

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

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: abdullah alamoudi <bamousaa@gmail.com>

[NO ISSUE][FUN] Implement array_contains() function

- user model changes: no

- storage format changes: no

- interface changes: no

details:

This is part of implementing array functions.

The array_contains() takes an input list and a value

and returns true if the value is present in the list.

array_contains(list, val). An error is thrown if

val is object or list.

Change-Id: Ib0222ebdb4dcaaab696ebe23973be8b2347da64b

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

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. … 12 more files in changeset.
[NO ISSUE][FUN] Implement array_reverse() function

- user model changes: no

- storage format changes: no

- interface changes: no

details:

This is part of implementing array functions.

The array_reverse() takes an input list and returns

a new list with the elements in reverse.

array_reverse(list).

Change-Id: Ib9d9f8e760390a708d67a2cab357bf4722271381

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

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. … 8 more files in changeset.
[NO ISSUE][FUN] Implement array_position function

- user model changes: no

- storage format changes: no

- interface changes: no

details:

This is part of implementing array functions.

The array_position() takes an input list and a value

and returns the index of the value in the array or

-1 if the value is not found.

array_position(list, val). An error is thrown if

val is object or list.

Change-Id: I4604d347a22f98071a68abee43693fca9096b361

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

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. … 14 more files in changeset.
[NO ISSUE][FUN] Implement object-values()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Implement object-values function that returns an array

of values of the fileds in a given object.

- Add new functions to docs.

- Add test cases.

Change-Id: I804fb75d20837ae01b8f34f6389dcb3480ce5548

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

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

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. … 10 more files in changeset.
[NO ISSUE][FUN] Implement object-add(), object-put()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Implement object-add function that adds a new field

to a given object.

- Implement object-put function that adds, removes, or

updates an existing field in a given object.

- Add new functions to docs.

- Add test cases.

Change-Id: I0b0b33f4ea82752ced0b5fc8f54d4474711192fc

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

Sonar-Qube: 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>

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

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

  1. … 18 more files in changeset.
[NO ISSUE][FUN] Implement array_append function

- user model changes: no

- storage format changes: no

- interface changes: no

details:

This is part of implementing array functions.

The array_append takes an input list and values to be

appended and return a new list with all the values.

array_append(list, val1,...)

Change-Id: I0a65549957060beee4579b903e6bd323745fb875

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

  1. … 15 more files in changeset.
[NO ISSUE][FUN] Implement object-replace()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Implement object-replace function that replaces all

occurrences of a value in a given object by a new

value.

- Add new function to docs.

- Add test case.

Change-Id: I2907f827a1dc5bb35f340bfd25d51e1fdd6fde20

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

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

  1. … 15 more files in changeset.
[ASTERIXDB-2401][SQLPP] Support parameterized queries

- user model changes: yes

- storage format changes: no

- interface changes: yes

Details:

- Support statement parameters: named ($name) and positional ($1 or ?)

- Enhance query service API to accept these parameters in the request

- Remove [?] index accessor from SQL++ grammar because it conflicts

with positional parameters ([0] can be used instead)

- Add testcases for parameterized queries

Change-Id: Ia612f731cd2370fccd54c4796bd9787fbea16766

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

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. … 103 more files in changeset.
[NO ISSUE][FUN] Implement object-unwrap()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Implement object-unwrap function that given an object that

has exactly one name-value pair, it will return the value

of this pair.

- Add new function to docs.

- Add test case.

Change-Id: I2af84e72e2cf630afe2430f715c8d40dd075e97e

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

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: Murtadha Hubail <mhubail@apache.org>

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

  1. … 10 more files in changeset.
[NO ISSUE][FUN] Implement object-rename()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Implement object-rename function that renames a field from

a given object.

- Add new function to docs.

- Add test case.

Change-Id: I439255137493e3e8dd2639abff32d7bd316d31e5

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

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

Sonar-Qube: 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>

  1. … 10 more files in changeset.
[NO ISSUE][FUN] Implement object-remove()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Implement object-remove function that removes a field from

a given object.

- Add new function to docs.

- Add test case.

Change-Id: I8d4acfa0ef00ccdcb95e189b989a16f06acf0119

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

Sonar-Qube: 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>

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

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

  1. … 10 more files in changeset.
[ASTERIXDB-2395][COMP] Source location handling cleanup

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Minor cleanup in source location handling

- Created error codes for unknown node group / function / type / index

Change-Id: Ia5e0b67c49f66dd27c67832707f5003892453fc3

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

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: Till Westmann <tillw@apache.org>

  1. … 17 more files in changeset.
[ASTERIXDB-2393][COMP][RT] Add source location to error messages

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Add source locations to compiler and runtime error messages

- Add source location enforcement to the test framework

and enable it for SqlppExecutionTest

Change-Id: Ie279ce345d1edcb5dea8e55cdb0233151c7bfd66

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

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. … 666 more files in changeset.
[NO ISSUE][RT] Eliminate HashMap lookup during comparision

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Eliminate the use of hash map to store type tags. Replace it with a

simple TypeTag[] to improve performance.

Change-Id: Ie5b8efdcb226a8818deaf57a6305a18107544feb

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

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

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

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

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

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

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

[ASTERIXDB-2344] LIMIT pushdown for primary index

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

-Implement LIMIT pushdown for primary index scan/lookup. In case of

a select operator, we also push the select condition to the priamry

search operator to ensure correctness.

Change-Id: I824fcad79995325e12a1a81d629160025294b915

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

  1. … 53 more files in changeset.
[ASTERIXDB-2378][SQL] Add “DIV”, “MOD”, change “/“ for integers

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Make "/" operator return double if both operands are integers

- Add "DIV" operator which is the same as "/" except that

it returns integer if both operands are integers

(as "/" did before this change)

- Add "MOD" operator which is an alias for "%" operator

- Remove "IDIV" operator from the grammar

Change-Id: I7c6b0704ce60a03dd3c10e1c75cb9761acc56536

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

  1. … 40 more files in changeset.