Clone Tools
  • last updated 17 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[FUN][RT] Objects creation in array functions

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- deallocate caster pointables for array functions using casting

- avoid object creations in:

ArrayIntersectDescriptor, AbstractArrayProcessEval, ArrayPutDescriptor, ArrayStarDescriptor

- avoid iterator creations in:

ArrayIntersectDescriptor, ArrayStarDescriptor, ArraySymDiffEval

- avoid evaluating the lists arguments twice when casting them

- use getOrWriteItem() instead of writeItem() when accessing a serialized list

- fix array_intersect to pick the smallest list as a starting list

Change-Id: Ib6c8c55ed3e0a35e00c5976a46e9ed6e432a6e9f

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

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>

  1. … 17 more files in changeset.
[FUN] fix array functions when args have ANY type

- user model changes: no

- storage format changes: no

- interface changes: no

details:

This is to fix the array functions that use type inferer

in order to infer the types of the arguments at compile time.

In some cases, the args could have ANY type at compile time

but they return the correct required type at runtime. This

patch handles such scenarios.

Change-Id: I4d6cf358f0850e3cdd45f8de9939173b9797c6e8

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

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

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

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

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

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

    • -0
    • +1
    ./array_intersect.3.adm
  1. … 100 more files in changeset.