Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[NO ISSUE] Fix class name typo

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- CalendarDuartionFromDateDescriptor -> CalendarDurationFromDateDescriptor

typo fix.

Change-Id: Ice71fd27ccf9ffd39e4ff368063c0715e33959db

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

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

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

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

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

    • -0
    • +223
    ./evaluators/functions/temporal/CalendarDurationFromDateDescriptor.java
[ASTERIXDB-2554][HYR] Add UTF8 and byte array comparator factories

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Add comparator factories for UTF8StringPointable, UTF8StringLowercasePointable,

UTF8StringLowercaseTokenPointable and ByteArrayPointable instead of using

PointableBinaryComparatorFactory, a wrapping factory that will create a factory

each time (which also creates a comparator each time).

Change-Id: Ied6a29210a3dc1ba9fd553fb0a67ff4340e4571f

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

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

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. … 42 more files in changeset.
[NO ISSUE][CONF] Introduce ConfigValidator

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Introduce ConfigValidator that can be used to validate

runtime changes to configurations.

- On storage compression scheme configuration changes, ensure

new value is a registered scheme.

Change-Id: I7e9dcde9c93feb2c9e2bdfe790f121b751d4c8ad

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

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

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

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

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

  1. … 8 more files in changeset.
[NO ISSUE][RT] Improve PreclusteredGroupWriter follow up

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fix incorrect import statement

Change-Id: I524ea3bf347b248fcd7850e212c92ac4a82cec2c

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

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

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

    • -1
    • +1
    ./operators/LSMPrimaryInsertOperatorNodePushable.java
[ASTERIXDB-2310][STO]Enforce Key Uniquness using PKIndex

- user model changes: no

- storage format changes: yes. Primary key index

now has bloom filters.

- interface changes: no

Details:

- Add bloom filters to primary key index.

- Introduce LSMPrimaryInsertOperator to separate uniqueness check from

the primary index. When the primary key index is available, it will be

used for uniqueness check. This implementation of this operation is

similar to LSMPrimaryUpsertOperator.

Change-Id: I7a52bb75ee5b14521972999df2f45ba62adc5af1

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

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

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

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

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

    • -0
    • +63
    ./operators/LSMPrimaryInsertOperatorDescriptor.java
    • -0
    • +271
    ./operators/LSMPrimaryInsertOperatorNodePushable.java
  1. … 51 more files in changeset.
[NO ISSUE][RT] Improve PreclusteredGroupWriter

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Modified PreclusteredGroupWriter to only save group fields

from a last tuple in a frame instead of the whole frame

- move PermutingFrameTupleReference and PermutingTupleReference

from 'hyracks-storage-am-common' to 'hyracks-dataflow-common'

Change-Id: Ic75de2e6b64d0aacaf48096ecc9d47fc8e95c9cf

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

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

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
    • +1
    ./operators/LSMPrimaryUpsertOperatorNodePushable.java
    • -2
    • +2
    ./operators/LSMSecondaryIndexBulkLoadNodePushable.java
    • -1
    • +1
    ./operators/LSMSecondaryUpsertOperatorNodePushable.java
  1. … 35 more files in changeset.
[NO ISSUE][FUN] Code generator alternative

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Possible alternative to replace the generated code with a static

method that does the NULL and MISSING checking step.

- Missing and Null check uses static method and helper methods

instead of varargs as a method argument.

- NullMissingTest and ExceptionIT manually add the functions that need

to be tested, this behavior will be changed later, the functions

that need to be tested for the "missing/null in -> missing/null out"

behavior will have their own flagging mechanism (annotation or

a method) indicating that those methods will be tested, and

the manual addition of functions will be removed.

Change-Id: Icca2e2128c4b0f2bfd8675655cf5296cbbaeba88

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

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

Contrib: Michael Blow <mblow@apache.org>

Integration-Tests: Michael Blow <mblow@apache.org>

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

    • -0
    • +6
    ./evaluators/accessors/LineRectanglePolygonAccessor.java
    • -0
    • +6
    ./evaluators/accessors/TemporalIntervalEndDateAccessor.java
    • -0
    • +6
    ./evaluators/accessors/TemporalIntervalEndDatetimeAccessor.java
    • -0
    • +6
    ./evaluators/accessors/TemporalIntervalEndTimeAccessor.java
    • -0
    • +6
    ./evaluators/accessors/TemporalIntervalStartAccessor.java
    • -0
    • +6
    ./evaluators/accessors/TemporalIntervalStartDateAccessor.java
    • -0
    • +6
    ./evaluators/accessors/TemporalIntervalStartDatetimeAccessor.java
    • -0
    • +6
    ./evaluators/accessors/TemporalIntervalStartTimeAccessor.java
  1. … 167 more files in changeset.
[NO ISSUE][COMP][RT] Handle type mismatch in window frame boundaries

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- If window frame boundary is defined as N preceding/following

and the incoming value is not of a numeric or temporal type

then assume that the frame is empty for this value because

its boundaries cannot be computed

- Add tests for NULL/MISSING/complex types for window operator

- Fix typo in the name resolution documentation

Change-Id: I4dc1b010674eb9a8b679039dc68c81163d156956

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

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

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>

    • -0
    • +110
    ./evaluators/functions/IsNumericAddCompatibleDescriptor.java
  1. … 30 more files in changeset.
[NO ISSUE][*DB][CLUS] Add API to return all known nodes atomically

Change-Id: Ie6bb64e331666ef44b07034d430ba2ee563bba82

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

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

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

  1. … 1 more file in changeset.
[NO ISSUE][*DB][CLUS] Add failed nodes API to ClusterStateManager

Change-Id: I1b56b29c38f0bbfe54b30ee5781770e90404c528

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

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

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

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

  1. … 1 more file in changeset.
[ASTERIXDB-2516][RT] Move primitive comparators to Hyracks and make singleton

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- moved 2 comparators, boolean and long comparators from asterix to hyracks.

- added byte, short, integer, float and double comparator

factories to Hyracks to replace PointableBinaryComparatorFactory.

- removed checking lengths of 0 from PointableBinaryComparatorFactory.

- changed tests to use the primitive factories.

Change-Id: If15dc4e0dd0db942a4cadb15abbe56cbfe617b48

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

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>

    • -1
    • +1
    ./evaluators/common/AbstractAsterixListIterator.java
  1. … 52 more files in changeset.
[ASTERIXDB-2516][RT] Modifty range map function of parallel sort

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Currently, the range map function of parallel sort passes "null"

to get a comparator to sort the samples and produce the range map.

The comparator provider will enforce providing a type and prevent

passing "null". The range map function needs to be updated to get

the types of the sort fields and use them to get comparators.

- changed the output type of the local sampling function from

list of list of ANY to binary. The old type computer was removed.

- added null writer aggregate function that just produces null as

an aggregate value. this is needed in order to propagate the type

of the sort fields from the local step to the global step so that

the range map function can know the types of the sort fields.

Change-Id: I7edbb10906cc4464210af87a5b1630ba3aecbde0

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

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
    • +77
    ./aggregates/collections/NullWriterAggregateDescriptor.java
    • -39
    • +41
    ./aggregates/std/LocalSamplingAggregateDescriptor.java
    • -71
    • +63
    ./aggregates/std/RangeMapAggregateDescriptor.java
    • -11
    • +17
    ./functions/FunctionTypeInferers.java
  1. … 9 more files in changeset.
Merge commit '153b2ce970' from 'stabilization-f69489'

Change-Id: I5b0d2756d839b0bc2e7c59723306921e698a7630

    • -4
    • +4
    ./operators/LSMIndexBulkLoadOperatorNodePushable.java
  1. … 6 more files in changeset.
[NO ISSUE][FUN] Modify array functions to allow comparing complex

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

This change is to modify the array functions to compare complex

types like arrays and records. The change also includes a small

fix to IsomorphismVariableMappingVisitor where the

NestedTupleSourceOperator visit method would downcast the args

without checking first they are of the same operator types.

- changed test cases

- changed NullMissingTest to pass the args types for functions

that need them.

Change-Id: I416989cf902eda38224a3b00340e478fc4e3a60c

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

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

    • -1
    • +8
    ./aggregates/scalar/AbstractScalarDistinctAggregateDescriptor.java
    • -3
    • +4
    ./aggregates/scalar/GenericScalarDistinctAggregateFunction.java
    • -1
    • +4
    ./aggregates/scalar/ScalarAvgDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarCountDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarKurtosisDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarMaxDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarMinDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarSkewnessDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarSqlAvgDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarSqlCountDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarSqlKurtosisDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarSqlMaxDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarSqlMinDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarSqlStddevDistinctAggregateDescriptor.java
    • -1
    • +4
    ./aggregates/scalar/ScalarSqlStddevPopDistinctAggregateDescriptor.java
  1. … 94 more files in changeset.
[NO ISSUE][RT] Fail Fast On Request Cancellation After Job Completion

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- If a request is cancelled after its job completion but before

the result written is returned to the caller, fail the request

with request cancelled exception.

- Freeze request elapsed time after the request completes to

make sure archived requests return consistent elapsed time.

- Ensure requests that might be cancelled and completed at the same

time are archived only once.

Change-Id: If4f154f11305e2f8286e0707b5b3adec905633a4

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

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>

  1. … 3 more files in changeset.
[NO ISSUE][RT] Fix Secondary Indexes Bulkload/Upsert

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Prevent null values from being upserted into

secondary indexes.

- Use secondary index tuple filter when bulkloading

to prevent null/missing values from being inserted

into indexes of optional fields.

Change-Id: I7b847aece06a4387cc41389b0566d0c0dc98487d

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

Reviewed-by: Luo Chen <cluo8@uci.edu>

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

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

    • -2
    • +8
    ./operators/LSMIndexBulkLoadOperatorDescriptor.java
    • -4
    • +4
    ./operators/LSMIndexBulkLoadOperatorNodePushable.java
    • -7
    • +9
    ./operators/LSMSecondaryUpsertOperatorNodePushable.java
  1. … 9 more files in changeset.
[NO ISSUE][COMP] Multiple parameters for two-step aggregation functions

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

Hooks to enable aggregate functions have multiple arguments.

Change-Id: Ibaef2c0b2cf858d1aa7dd0f645f773fd04a865b3

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

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

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

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

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

    • -3
    • +11
    ./aggregates/scalar/AbstractScalarAggregateDescriptor.java
  1. … 3 more files in changeset.
[NO ISSUE][FUN] Add Completed_Requests Function

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Add completed_requests to get recently completed

requests.

- Use enum for requests state.

- Add new config to specify the requests archive

size.

- Add test case for completed_requests function.

Change-Id: I3f47d523c683c3879ec52ce5bdaf16ce338e8e46

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

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. … 23 more files in changeset.
[ASTERIXDB-2483][COMP][FUN] Eliminate listify for distinct aggregates

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Move distinct aggregate rewriting from SqlppQueryRewriter

  to RewriteDistinctAggregateRule in the optimizer

- Add runtime for scalar distinct aggregates

- Fix ExtractCommonOperatorsRule handling of binary operators

- Additional tests for distinct aggregates

Change-Id: If13ea2696e9e0a8a639db684656e5642991c1f99

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

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

    • -4
    • +11
    ./aggregates/scalar/AbstractScalarAggregateDescriptor.java
    • -0
    • +43
    ./aggregates/scalar/AbstractScalarDistinctAggregateDescriptor.java
    • -6
    • +24
    ./aggregates/scalar/GenericScalarAggregateFunction.java
    • -0
    • +82
    ./aggregates/scalar/GenericScalarDistinctAggregateFunction.java
    • -10
    • +4
    ./aggregates/scalar/ScalarAvgAggregateDescriptor.java
    • -0
    • +43
    ./aggregates/scalar/ScalarAvgDistinctAggregateDescriptor.java
    • -10
    • +4
    ./aggregates/scalar/ScalarCountAggregateDescriptor.java
    • -0
    • +43
    ./aggregates/scalar/ScalarCountDistinctAggregateDescriptor.java
    • -11
    • +4
    ./aggregates/scalar/ScalarKurtosisAggregateDescriptor.java
    • -0
    • +43
    ./aggregates/scalar/ScalarKurtosisDistinctAggregateDescriptor.java
    • -10
    • +4
    ./aggregates/scalar/ScalarMaxAggregateDescriptor.java
    • -0
    • +43
    ./aggregates/scalar/ScalarMaxDistinctAggregateDescriptor.java
    • -10
    • +4
    ./aggregates/scalar/ScalarMinAggregateDescriptor.java
    • -0
    • +43
    ./aggregates/scalar/ScalarMinDistinctAggregateDescriptor.java
    • -11
    • +4
    ./aggregates/scalar/ScalarSkewnessAggregateDescriptor.java
  1. … 116 more files in changeset.
[NO ISSUE] Prevent .* imports

Change-Id: I00309aa789d2e10ccc7bbe79cb2c0bdfd6e2925c

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

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

    • -3
    • +17
    ./aggregates/serializable/std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -3
    • +17
    ./aggregates/std/AbstractSingleVarStatisticsAggregateFunction.java
    • -1
    • +6
    ./aggregates/std/AbstractSumAggregateFunction.java
  1. … 6 more files in changeset.
[NO ISSUE] Use correct type tag

- user model changes: no

- storage format changes: no

- interface changes: no

Change-Id: I078b22179d62a43904de42e9fdad7995d4a8c864

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

Integration-Tests: Till Westmann <tillw@apache.org>

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

[ASTERIXDB-2516][RT] Make asterix types comparators singleton and stateless

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Avoid creating asterix types comparators when they could be made singleton.

Change-Id: I65972162ed2cf14d1f2654dbf00442aa35dd5c01

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

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

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

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

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

  1. … 23 more files in changeset.
[NO ISSUE] Apply / enforce java import order

The process-sources target will now sort imports as well as

format source code; the source-format job will likewise verify

import order in addition to source code format

Change-Id: I55d976c4df10d9919c6a25683be2a3e3304e65d9

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

Integration-Tests: Michael Blow <mblow@apache.org>

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

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

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

    • -1
    • +1
    ./aggregates/serializable/std/AbstractSerializableCountAggregateFunction.java
    • -5
    • +5
    ./aggregates/serializable/std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -2
    • +2
    ./aggregates/serializable/std/SerializableGlobalKurtosisAggregateFunction.java
    • -2
    • +2
    ./aggregates/serializable/std/SerializableGlobalSkewnessAggregateFunction.java
    • -1
    • +1
    ./aggregates/serializable/std/SerializableGlobalSqlAvgAggregateDescriptor.java
    • -2
    • +2
    ./aggregates/serializable/std/SerializableGlobalSqlKurtosisAggregateFunction.java
    • -2
    • +2
    ./aggregates/serializable/std/SerializableGlobalSqlSkewnessAggregateFunction.java
    • -2
    • +2
    ./aggregates/serializable/std/SerializableGlobalSqlStddevAggregateFunction.java
  1. … 611 more files in changeset.
[NO ISSUE][FUN] Add aliases for stddev_*(), var_*() functions

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Support aliases for SQL aggregate functions

- Add function aliases: stddev() -> stddev_samp(),

variance() -> var_samp(), variance_samp() -> var_samp(),

variance_pop() -> var_pop()

- stddev_pop() and var_pop() must return 0 if input is a single item

Change-Id: I0fe04164164726cfb4e17f951f0fd6c2a823c162

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

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: Ali Alsuliman <ali.al.solaiman@gmail.com>

    • -4
    • +6
    ./aggregates/std/AbstractSingleVarStatisticsAggregateFunction.java
  1. … 33 more files in changeset.
[NO ISSUE][FUN] Cleanup function name reporting in error messages

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Pass function identifier to exception constructors, so function name

can be extracted by the constructor code

- Deprecate exception constructors that expect function name directly

Change-Id: If40e115db5482b255595e1a651b99c5d7b53712a

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

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: Michael Blow <mblow@apache.org>

  1. … 42 more files in changeset.
[ASTERIXDB-2516][COMP] Avoid writing into buffer when comparing numbers

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Avoid writing into buffer when comparing and promoting between numbers.

- made seed the initial hash for arrays and records.

- renamed & refactored LogicalComparatorUtil to share code between logical

and physical comparators

- minor code clean-ups

Change-Id: Ie089d386a9ab8271f2833c05ffdfb0d484937b51

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

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

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

  1. … 7 more files in changeset.
[ASTERIXDB-2459][FUN] Add skewness and kurtosis aggregate function

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

1. Add skewness and kurtosis function and test cases

2. Add skewness and kurtosis distinct functions

3. Add documentation for skewness and kurtosis

4. Cleaned up some files related to the stddev and var tests cases

5. Change stddev() to stddev_samp() and var() to var_samp()

Change-Id: Iae0d7fc9d5ab3676b23b27ad62a730598221d8a5

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

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
    • +49
    ./aggregates/scalar/ScalarKurtosisAggregateDescriptor.java
    • -0
    • +49
    ./aggregates/scalar/ScalarSkewnessAggregateDescriptor.java
    • -0
    • +49
    ./aggregates/scalar/ScalarSqlKurtosisAggregateDescriptor.java
    • -0
    • +49
    ./aggregates/scalar/ScalarSqlSkewnessAggregateDescriptor.java
    • -1
    • +1
    ./aggregates/scalar/ScalarSqlStddevAggregateDescriptor.java
    • -1
    • +1
    ./aggregates/scalar/ScalarSqlVarAggregateDescriptor.java
    • -1
    • +1
    ./aggregates/scalar/ScalarStddevAggregateDescriptor.java
    • -1
    • +1
    ./aggregates/scalar/ScalarVarAggregateDescriptor.java
    • -12
    • +90
    ./aggregates/serializable/std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -0
    • +63
    ./aggregates/serializable/std/SerializableGlobalKurtosisAggregateDescriptor.java
    • -0
    • +83
    ./aggregates/serializable/std/SerializableGlobalKurtosisAggregateFunction.java
    • -0
    • +63
    ./aggregates/serializable/std/SerializableGlobalSkewnessAggregateDescriptor.java
    • -0
    • +83
    ./aggregates/serializable/std/SerializableGlobalSkewnessAggregateFunction.java
    • -0
    • +63
    ./aggregates/serializable/std/SerializableGlobalSqlKurtosisAggregateDescriptor.java
    • -0
    • +74
    ./aggregates/serializable/std/SerializableGlobalSqlKurtosisAggregateFunction.java
  1. … 1330 more files in changeset.
[ASTERIXDB-2516][COMP] Change logical comparator interface

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

Use IPointable instead of bytes, offset, and length.

Change-Id: I8150ccb4b18550fd8fba10ffca9c88d45ebc625b

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

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>

  1. … 5 more files in changeset.
[No Issue] [COMP] Hooks to disable constant folding

- user model changes: no

- storage format changes: no

- interface changes: no

Details: Changes to forward recordType from scalar descriptor to

evaluator descriptor for aggregate functions.

Provided hooks to disable constant folding rules on aggregate functions.

Change-Id: Ic3c19e316e1ebdbab8a38048c1b64b087d95e146

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

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>

    • -1
    • +1
    ./aggregates/scalar/AbstractScalarAggregateDescriptor.java
  1. … 1 more file in changeset.
[ASTERIXDB-2516][RT] prepare physical comparators for deep comparison

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

This change is to make physical comparators type-aware in order to do

deep comparison of complex types like arrays and records. The IAType

is propagated to the comparators.

- added new methods in IBinaryComparatorFactoryProvider to accept the

type of left and right inputs for operations like hash join where

the join key types come from different dataset sources.

- defaulted some arrays functions to use the old comparator behaviour temporarily

until complex comparison is implemented

- modified AObjectAscBinaryComparatorFactory & AObjectDescBinaryComparatorFactory to

create a comparator with IAType information. Changed the serialization/deserialization

of their instances to take care of the newly added fields since they are not

present in old instances.

Change-Id: I02011e7151398d5f5f9ba9c1e1db6518484b9fe5

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

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

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

    • -7
    • +4
    ./aggregates/std/RangeMapAggregateDescriptor.java
  1. … 13 more files in changeset.