Clone Tools
  • last updated 18 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[ASTERIXDB-2451][DOC] Fix object_unwrap() documentation

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fixed the documentation for object_unwrap function.

Change-Id: Id5822a51e49676dcd9aae35455d2e19fb6dfee07

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

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

[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. … 22 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 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.
[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-2340][FUN] Implement object_length(), object_names()

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Implement object_length(), object_names() functions

- Consolidate type inferers for some object accessor functions

Change-Id: I1108466ffe4f6b002fa7dd25f76dd5e8d537b0be

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

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. … 19 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>

  1. … 812 more files in changeset.
Revise builtin function documents.

- splitted the original function document,

- shared all function documents between SQL++ and AQL,

except the aggregation function document.

Change-Id: I4b05108b1bc741585717192b0b721ad00959bd83

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

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

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

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

  1. … 22 more files in changeset.