Clone Tools
  • last updated 24 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[ASTERIXDB-2671][FUN] Fix handling nullable inputs in OBJECT_*()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The input record to OBJECT_*() functions can be nullable/missable

record.

- fixed the type inferrer to take care of that when inferring

the input record type.

Change-Id: Ic7e86598eda03f5aeb3c0e4457127c99bdbed0e4

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

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>

  1. … 75 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>

    • -0
    • +38
    ./object_unwarp.1.ddl.sqlpp
  1. … 10 more files in changeset.