Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[NO ISSUE][FUN][COMP] fix ifnan(), ifnanorinf(), ifinf()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

This patch is to fix the mentioned functions. The fix is

to make ifnan() & ifnanorinf() skip the argument being

inspected if it's a missing value and check the next one.

For ifinf(), it should return missing if the argument

being inspected is a missing value. Also, number of args

is checked now.

Change-Id: Ib7cc3d18ca0443857ae271b6e14f2c9e920f1c1f

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

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. … 14 more files in changeset.
[ASTERIXDB-2291][FUN] Implement if_inf,if_nan,if_nan_or_inf

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Implement functions: if_inf(), if_nan(), if_nan_or_inf()

- Add testcases and documentation

- INF to string conversion should produce "INF" instead of "Infinity"

- Move if_missing(), if_null() testcases to 'null-missing' folder

Change-Id: I12dccd848a1d6b4ba102bea3b7602c2cbd8aaef5

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

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>

    • -0
    • +43
    ./ifnanorinf.1.query.sqlpp
  1. … 37 more files in changeset.