Clone Tools
  • last updated 13 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[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.
[ASTERIXDB-2516][RT] add support for array deep comparison

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

Add support for array deep comparison.

- modified LogicalComplexBinaryComparator.java to allow array comparison

- added test cases for array comparison

- changed interface IObjectPool.java to allow freeing a specific object

Change-Id: I2fef48d7c6189362f44786b8d89d89c5f91d4b10

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

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

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

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

Contrib: Michael Blow <mblow@apache.org>

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

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

    • -1
    • +1
    ./evaluators/comparisons/AbstractValueComparisonEvaluator.java
  1. … 51 more files in changeset.
[NO ISSUE][OTH] Do not send cancellation on null clientContextId

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Currently when a query is cancelled or times out, a cancellation

request is sent even if the clientContextId is null, which results

in NPE when trying to get the job. This change skips sending the

cancellation when the clientContextId is null.

Change-Id: I4ec6d2596cc345aa0f6b9910248807d6a95a3aee

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

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

Integration-Tests: Murtadha Hubail <mhubail@apache.org>

Tested-by: Ian Maxon <imaxon@uci.edu>

  1. … 1 more file in changeset.
[ASTERIXDB-2518][RT] Introduce Request Tracker

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Introduce IReceptionist to generate request references.

- Track all requests by uuid.

- Add more information to active_requests response.

- Replace StatementExecutorContext by RequestTracker.

- Deprecate StatementExecutorContext (to be removed)

- Allow extensions to set optional parameters in query service.

- Return forbidden when a cancellation is attempt on a request

that is not cancellable.

Change-Id: If08ecd91c55881743b2ecf40a628fa3d4166c554

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

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

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

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

    • -0
    • +97
    ./utils/RequestTracker.java
  1. … 39 more files in changeset.
[ASTERIXDB-2516][RT] add support for deep comparison 1

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Add support for deep comparison.

- add interface ILogicalBinaryComparator

- switch EQ,LT,GT and other functions to use ILogicalBinaryComparator

instead of ComparisonHelper

Change-Id: I623662861e6f3b1fdcff78f8edc0e3216ca10fe1

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

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

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

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

Contrib: Michael Blow <mblow@apache.org>

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

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

    • -0
    • +35
    ./evaluators/comparisons/AbstractComparisonDescriptor.java
    • -32
    • +96
    ./evaluators/comparisons/AbstractComparisonEvaluator.java
    • -55
    • +22
    ./evaluators/comparisons/AbstractValueComparisonEvaluator.java
    • -10
    • +14
    ./evaluators/comparisons/GreaterThanOrEqualsDescriptor.java
    • -10
    • +14
    ./evaluators/comparisons/LessThanOrEqualsDescriptor.java
  1. … 18 more files in changeset.
Merge commit '2dc111d' from 'stabilization-f69489' into 'master'

Change-Id: I84505e94bdfc916d389288b36612081e778b1e53

    • -1
    • +1
    ./evaluators/functions/AbstractNumericArithmeticEval.java
  1. … 5 more files in changeset.
[NO ISSUE] Ensure serialVersionUIDs are present

Serializable classes should define a serialVersionUID; define those

where missing. For classes present in 0.9.4.x, initialize the value

to the auto-configured serialVersionUID on those versions of the class

Change-Id: Ia92d0c81f3681dce7ec0f643e2edf77e2ac4dbc5

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

Tested-by: Michael Blow <mblow@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>

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

    • -1
    • +1
    ./evaluators/functions/AbstractNumericArithmeticEval.java
    • -0
    • +1
    ./exceptions/IncompatibleTypeException.java
    • -0
    • +1
    ./exceptions/InvalidDataFormatException.java
    • -0
    • +1
    ./exceptions/TypeMismatchException.java
    • -0
    • +1
    ./exceptions/UnsupportedItemTypeException.java
    • -0
    • +1
    ./exceptions/UnsupportedTypeException.java
  1. … 42 more files in changeset.
[NO ISSUE][HYR] Binary compatibility enhancements

Infrastructure & changes to enable binary compatibility with 0.9.4

Change-Id: I77d4919be4853d9afe9b0137861cff3b1d751e20

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

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: Murtadha Hubail <mhubail@apache.org>

    • -1
    • +12
    ./aggregates/std/SqlSumAggregateDescriptor.java
  1. … 33 more files in changeset.
[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>

    • -65
    • +72
    ./evaluators/functions/AbstractArrayAddRemoveEval.java
    • -34
    • +37
    ./evaluators/functions/AbstractArrayProcessArraysEval.java
    • -32
    • +37
    ./evaluators/functions/ArrayFlattenDescriptor.java
    • -122
    • +153
    ./evaluators/functions/ArrayIntersectDescriptor.java
    • -29
    • +38
    ./evaluators/functions/ArrayReplaceDescriptor.java
    • -28
    • +111
    ./evaluators/functions/ArrayStarDescriptor.java
  1. … 4 more files in changeset.
[NO ISSUE][OTH] Support log redaction

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Support log redaction.

Change-Id: I602c833ba2a055da8fbe8782ec62be683ff4581b

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

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: Murtadha Hubail <mhubail@apache.org>

  1. … 29 more files in changeset.
[ASTERIXDB-2509][FUN] Implement CUME_DIST() and RATIO_TO_REPORT()

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Implement CUME_DIST() and RATIO_TO_REPORT() window functions

- Add internal WIN_PARTITION_LENGTH() window function

- Fixed typos in javadocs

Change-Id: I921d3e0488b3ca277cffed3b99a9a8e770ac9a24

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

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

    • -1
    • +1
    ./runningaggregates/std/DenseRankRunningAggregateDescriptor.java
    • -1
    • +1
    ./runningaggregates/std/NtileRunningAggregateDescriptor.java
    • -1
    • +1
    ./runningaggregates/std/NtileRunningAggregateEvaluator.java
    • -1
    • +1
    ./runningaggregates/std/PercentRankRunningAggregateDescriptor.java
    • -1
    • +1
    ./runningaggregates/std/PercentRankRunningAggregateEvaluator.java
    • -1
    • +1
    ./runningaggregates/std/RankRunningAggregateDescriptor.java
    • -1
    • +1
    ./runningaggregates/std/RowNumberRunningAggregateDescriptor.java
    • -0
    • +55
    ./runningaggregates/std/WinPartitionLenRunningAggregateDescriptor.java
    • -0
    • +62
    ./runningaggregates/std/WinPartitionLenRunningAggregateEvaluator.java
  1. … 21 more files in changeset.
[ASTERIXDB-2507][RT] Objects Creation in ARecordSerializerDeserializer

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Reuse UTF8 hash function and comparator from

evaluators when extracting a field's offset.

Change-Id: Icdb47db9e909e49d65ebf1cd667e27e2467e4085

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

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

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

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

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

  1. … 1 more file in changeset.