Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[NO ISSUE][FUN] Introduce IEvaluatorContext

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Introduce IEvaluatorContext - a context for evaluators

that is available both at runtime and during constant

folding at compile time

- IEvaluatorContext provides access to IHyracksTaskContext

which is only available at runtime. At compile time this

accessor returns null

- Instantiate evaluators with IEvaluatorContext

instead of IHyracksTaskContext

Change-Id: Iff90c7739e46d6602fcd0609e67f6a8cd9714ca5

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

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

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

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

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

    • -2
    • +2
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -2
    • +2
    ./std/AbstractSerializableCountAggregateFunction.java
    • -2
    • +2
    ./std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -2
    • +2
    ./std/AbstractSerializableSumAggregateFunction.java
    • -2
    • +2
    ./std/SerializableAvgAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableAvgAggregateFunction.java
    • -2
    • +2
    ./std/SerializableCountAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableCountAggregateFunction.java
    • -2
    • +2
    ./std/SerializableGlobalAvgAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableGlobalAvgAggregateFunction.java
    • -2
    • +2
    ./std/SerializableGlobalKurtosisAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableGlobalKurtosisAggregateFunction.java
    • -2
    • +2
    ./std/SerializableGlobalSkewnessAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableGlobalSkewnessAggregateFunction.java
    • -2
    • +2
    ./std/SerializableGlobalSqlAvgAggregateDescriptor.java
  1. … 675 more files in changeset.
[NO ISSUE][OTR] GlobalConfig Cleanup

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Remove usage of DEBUG flag in GlobalConfig.

- Remove unused methods/constants in GlobalConfig.

- Move storage constants from GlobalConfig to StorageConstants.

Change-Id: Ie59a646d7d2eedaf1360c97c355f827d80917adf

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

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>

    • -4
    • +0
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -4
    • +0
    ./std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -5
    • +0
    ./std/AbstractSerializableSumAggregateFunction.java
  1. … 11 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
    ./std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -1
    • +6
    ./std/AbstractSerializableSumAggregateFunction.java
  1. … 8 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
    ./std/AbstractSerializableCountAggregateFunction.java
    • -5
    • +5
    ./std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -3
    • +3
    ./std/AbstractSerializableSumAggregateFunction.java
    • -1
    • +1
    ./std/SerializableAvgAggregateDescriptor.java
    • -1
    • +1
    ./std/SerializableAvgAggregateFunction.java
    • -1
    • +1
    ./std/SerializableCountAggregateFunction.java
    • -1
    • +1
    ./std/SerializableGlobalAvgAggregateFunction.java
    • -2
    • +2
    ./std/SerializableGlobalKurtosisAggregateFunction.java
    • -2
    • +2
    ./std/SerializableGlobalSkewnessAggregateFunction.java
    • -1
    • +1
    ./std/SerializableGlobalSqlAvgAggregateDescriptor.java
    • -1
    • +1
    ./std/SerializableGlobalSqlAvgAggregateFunction.java
    • -2
    • +2
    ./std/SerializableGlobalSqlKurtosisAggregateFunction.java
    • -2
    • +2
    ./std/SerializableGlobalSqlSkewnessAggregateFunction.java
    • -2
    • +2
    ./std/SerializableGlobalSqlStddevAggregateFunction.java
    • -3
    • +3
    ./std/SerializableGlobalSqlSumAggregateFunction.java
  1. … 611 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>

    • -12
    • +90
    ./std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalKurtosisAggregateDescriptor.java
    • -0
    • +83
    ./std/SerializableGlobalKurtosisAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalSkewnessAggregateDescriptor.java
    • -0
    • +83
    ./std/SerializableGlobalSkewnessAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalSqlKurtosisAggregateDescriptor.java
    • -0
    • +74
    ./std/SerializableGlobalSqlKurtosisAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalSqlSkewnessAggregateDescriptor.java
    • -0
    • +74
    ./std/SerializableGlobalSqlSkewnessAggregateFunction.java
    • -1
    • +1
    ./std/SerializableGlobalSqlStddevAggregateDescriptor.java
    • -1
    • +10
    ./std/SerializableGlobalSqlStddevAggregateFunction.java
    • -1
    • +1
    ./std/SerializableGlobalSqlVarAggregateDescriptor.java
    • -1
    • +10
    ./std/SerializableGlobalSqlVarAggregateFunction.java
    • -1
    • +1
    ./std/SerializableGlobalStddevAggregateDescriptor.java
    • -1
    • +10
    ./std/SerializableGlobalStddevAggregateFunction.java
  1. … 1330 more files in changeset.
[ASTERIXDB-2460][FUN] Fix sum() overflow bug

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Fixed the sum() overflow problem. Now the sum() function will

return either bigint or double based on the input types.

- Added sum() aggregate local, intermediate and global classes.

Currently, it is using the same class for the three steps and

checking the type using an if statement. Although the three

steps all have a very similar behavior, having them in split

classes makes it cleaner and easier to read and maintain in the

future.

- Added sum() aggregate local, intermediate and global for serialized

classes.

- Added sum() and serial sum() test cases and modified test cases

to cause the reported overflow issue.

- Added sum() and serial sum() test cases that cause a

Long.MAX_VALUE type overflow.

- Valid data type check is now part of the sum calculation to

avoid redundant steps.

Change-Id: I987417770b3bfbda6af29a27acc8c96dc8a99eb8

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

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>

    • -114
    • +144
    ./std/AbstractSerializableSumAggregateFunction.java
    • -0
    • +55
    ./std/SerializableGlobalSqlSumAggregateDescriptor.java
    • -0
    • +79
    ./std/SerializableGlobalSqlSumAggregateFunction.java
    • -0
    • +54
    ./std/SerializableGlobalSumAggregateDescriptor.java
    • -0
    • +81
    ./std/SerializableGlobalSumAggregateFunction.java
    • -0
    • +55
    ./std/SerializableIntermediateSqlSumAggregateDescriptor.java
    • -0
    • +79
    ./std/SerializableIntermediateSqlSumAggregateFunction.java
    • -0
    • +55
    ./std/SerializableIntermediateSumAggregateDescriptor.java
    • -0
    • +81
    ./std/SerializableIntermediateSumAggregateFunction.java
    • -8
    • +2
    ./std/SerializableLocalSqlSumAggregateDescriptor.java
    • -0
    • +82
    ./std/SerializableLocalSqlSumAggregateFunction.java
    • -9
    • +3
    ./std/SerializableLocalSumAggregateDescriptor.java
    • -0
    • +84
    ./std/SerializableLocalSumAggregateFunction.java
    • -8
    • +2
    ./std/SerializableSqlSumAggregateDescriptor.java
    • -29
    • +37
    ./std/SerializableSqlSumAggregateFunction.java
  1. … 158 more files in changeset.
[ASTERIXDB-2459][FUN] Add var() and var_pop() aggregate function

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

1. Add variance and variance population aggregation function and test cases

2. Add var() and var_pop() distinct functions

3. Add documentation for var() and var_pop()

4. Removed some empty tests cases from parser tests

Change-Id: If736c94146f1d6ee4dfa46a67737b1abd29c8e2d

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

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
    • +17
    ./std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalSqlVarAggregateDescriptor.java
    • -0
    • +77
    ./std/SerializableGlobalSqlVarAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalSqlVarPopAggregateDescriptor.java
    • -0
    • +62
    ./std/SerializableGlobalVarAggregateDescriptor.java
    • -0
    • +86
    ./std/SerializableGlobalVarAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalVarPopAggregateDescriptor.java
    • -0
    • +63
    ./std/SerializableIntermediateSqlVarAggregateDescriptor.java
    • -0
    • +70
    ./std/SerializableIntermediateSqlVarAggregateFunction.java
    • -0
    • +63
    ./std/SerializableIntermediateSqlVarPopAggregateDescriptor.java
    • -0
    • +63
    ./std/SerializableIntermediateVarAggregateDescriptor.java
    • -0
    • +80
    ./std/SerializableIntermediateVarAggregateFunction.java
    • -0
    • +63
    ./std/SerializableIntermediateVarPopAggregateDescriptor.java
    • -0
    • +62
    ./std/SerializableLocalSqlVarAggregateDescriptor.java
    • -0
    • +70
    ./std/SerializableLocalSqlVarAggregateFunction.java
  1. … 488 more files in changeset.
[ASTERIXDB-2459][FUN] Add sttdev_pop() aggregate function

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

1. Add stddev_pop aggregation function and test cases

2. Add stddev and stddev_pop distinct functions

3. Fix some stddev test case comments

4. Add documentation for stddev_pop

Change-Id: I1732d8d70eba26e12a6e68d0e0c621491ed6b3ae

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

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>

    • -2
    • +2
    ./std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -1
    • +1
    ./std/SerializableGlobalSqlStddevAggregateDescriptor.java
    • -3
    • +16
    ./std/SerializableGlobalSqlStddevAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalSqlStddevPopAggregateDescriptor.java
    • -1
    • +1
    ./std/SerializableGlobalStddevAggregateDescriptor.java
    • -3
    • +16
    ./std/SerializableGlobalStddevAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalStddevPopAggregateDescriptor.java
    • -1
    • +1
    ./std/SerializableIntermediateSqlStddevAggregateDescriptor.java
    • -2
    • +9
    ./std/SerializableIntermediateSqlStddevAggregateFunction.java
    • -0
    • +63
    ./std/SerializableIntermediateSqlStddevPopAggregateDescriptor.java
    • -1
    • +1
    ./std/SerializableIntermediateStddevAggregateDescriptor.java
    • -2
    • +9
    ./std/SerializableIntermediateStddevAggregateFunction.java
    • -0
    • +63
    ./std/SerializableIntermediateStddevPopAggregateDescriptor.java
    • -1
    • +1
    ./std/SerializableLocalSqlStddevAggregateDescriptor.java
    • -2
    • +9
    ./std/SerializableLocalSqlStddevAggregateFunction.java
  1. … 295 more files in changeset.
[ASTERIXDB-2459][FUN] Add sttdev() aggregate function

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

1. Added stddev aggregation function and test cases

2. Added stddev to documentation and fixed some typos

3. Added serializable aggregate optimizer test

4. Change IncompatibleTypeException in aggregates to be deterministic

commit 26edb576f55a3d2308996f054a58ad43ab910f9b

Author: James Fang <jfang003@ucr.edu>

Date: Fri Oct 5 15:10:37 2018 -0700

Change-Id: Ia709669a9d20358f11ad28f453ae8ad8551f6334

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

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
    • +7
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -0
    • +296
    ./std/AbstractSerializableSingleVariableStatisticsAggregateFunction.java
    • -1
    • +7
    ./std/AbstractSerializableSumAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalSqlStddevAggregateDescriptor.java
    • -0
    • +64
    ./std/SerializableGlobalSqlStddevAggregateFunction.java
    • -0
    • +63
    ./std/SerializableGlobalStddevAggregateDescriptor.java
    • -0
    • +73
    ./std/SerializableGlobalStddevAggregateFunction.java
    • -0
    • +63
    ./std/SerializableIntermediateSqlStddevAggregateDescriptor.java
    • -0
    • +63
    ./std/SerializableIntermediateSqlStddevAggregateFunction.java
    • -0
    • +63
    ./std/SerializableIntermediateStddevAggregateDescriptor.java
    • -0
    • +73
    ./std/SerializableIntermediateStddevAggregateFunction.java
    • -0
    • +63
    ./std/SerializableLocalSqlStddevAggregateDescriptor.java
    • -0
    • +63
    ./std/SerializableLocalSqlStddevAggregateFunction.java
    • -0
    • +62
    ./std/SerializableLocalStddevAggregateDescriptor.java
    • -0
    • +72
    ./std/SerializableLocalStddevAggregateFunction.java
  1. … 457 more files in changeset.
[ASTERIXDB-2393][COMP][RT] Add source location to error messages

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Add source locations to compiler and runtime error messages

- Add source location enforcement to the test framework

and enable it for SqlppExecutionTest

Change-Id: Ie279ce345d1edcb5dea8e55cdb0233151c7bfd66

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

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: Till Westmann <tillw@apache.org>

    • -0
    • +31
    ./std/AbstractSerializableAggregateFunction.java
    • -7
    • +8
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -4
    • +5
    ./std/AbstractSerializableCountAggregateFunction.java
    • -7
    • +8
    ./std/AbstractSerializableSumAggregateFunction.java
    • -1
    • +1
    ./std/SerializableAvgAggregateDescriptor.java
    • -3
    • +4
    ./std/SerializableAvgAggregateFunction.java
    • -1
    • +1
    ./std/SerializableCountAggregateDescriptor.java
    • -3
    • +4
    ./std/SerializableCountAggregateFunction.java
    • -1
    • +1
    ./std/SerializableGlobalAvgAggregateDescriptor.java
    • -3
    • +4
    ./std/SerializableGlobalAvgAggregateFunction.java
    • -1
    • +1
    ./std/SerializableGlobalSqlAvgAggregateDescriptor.java
    • -3
    • +4
    ./std/SerializableGlobalSqlAvgAggregateFunction.java
    • -1
    • +1
    ./std/SerializableIntermediateAvgAggregateDescriptor.java
    • -3
    • +4
    ./std/SerializableIntermediateAvgAggregateFunction.java
    • -1
    • +1
    ./std/SerializableIntermediateSqlAvgAggregateDescriptor.java
  1. … 666 more files in changeset.
[NO ISSUE] Incremental cleanup of deprecated exception ctors

Change-Id: I1e7c3655828fc6530cef83ea502a6cfbf41acddf

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

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>

    • -3
    • +3
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -2
    • +2
    ./std/AbstractSerializableCountAggregateFunction.java
    • -2
    • +2
    ./std/AbstractSerializableSumAggregateFunction.java
  1. … 238 more files in changeset.
[ASTERIXDB-2256] Reformat sources using code format template

Change-Id: I4faa141c1a8c9700d5e9ac50b839acc9d1eede73

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

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>

    • -6
    • +6
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -6
    • +6
    ./std/AbstractSerializableCountAggregateFunction.java
    • -2
    • +1
    ./std/SerializableSqlSumAggregateFunction.java
    • -2
    • +1
    ./std/SerializableSumAggregateFunction.java
  1. … 981 more files in changeset.
[ASTERIXDB-1564][CONF] Consistently Use Log4j2

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Replace java.util.logging by Log4j2.

- Excluded classes due to their tests:

- IoUtil

- Tracer

Change-Id: Ic137571292f45de1f1994c61d328b97185012197

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

Sonar-Qube: 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>

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

    • -1
    • +1
    ./std/AbstractSerializableAvgAggregateFunction.java
  1. … 390 more files in changeset.
Rename several type tags to improve error messages:

- orderedlist -> array

- unorderedlist -> multiset

- record -> object

- int8 -> tinyint

- int16 -> smallint

- int32 -> integer

- int64 -> bigint

Change-Id: I5a2eb6534f80af102832f079dfcb92fab5fc34fa

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

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

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

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

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

    • -5
    • +5
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -8
    • +8
    ./std/AbstractSerializableSumAggregateFunction.java
  1. … 160 more files in changeset.
ASTERIXDB-1711: remove more mentions of Asterix

Change-Id: I21666fd54075ac56de8aab76bb7d5cdbec020121

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

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

Reviewed-by: Steven Jacobs <sjaco002@ucr.edu>

    • -4
    • +4
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -4
    • +4
    ./std/AbstractSerializableSumAggregateFunction.java
    • -2
    • +2
    ./std/SerializableAvgAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableCountAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableGlobalAvgAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableGlobalSqlAvgAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableIntermediateAvgAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableIntermediateSqlAvgAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableLocalAvgAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableLocalSqlAvgAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableLocalSqlSumAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableLocalSumAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableSqlAvgAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableSqlCountAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableSqlSumAggregateDescriptor.java
  1. … 556 more files in changeset.
ASTERIXDB-1711: remove some more Aql-prefixes

Change-Id: I041341fe76e9338b7c568a9eacaf826f8fa0ed46

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

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

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

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

    • -4
    • +4
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -3
    • +3
    ./std/AbstractSerializableCountAggregateFunction.java
    • -8
    • +8
    ./std/AbstractSerializableSumAggregateFunction.java
    • -2
    • +2
    ./std/SerializableSqlSumAggregateFunction.java
    • -2
    • +2
    ./std/SerializableSumAggregateFunction.java
  1. … 228 more files in changeset.
Unify runtime type exceptions by using error code and message template.

-- fixed string_join to be able to handle self-described list;

-- fixed the input arity of day_of_week;

-- added tests for exceptions.

RuntimeDataException is a newly added super class for errors in the data in the runtime.

It has the following subclasses:

-- IncompatibleTypeException, e.g., 1 + "2"

-- InvalidDataFormatException, e.g., boolean(1)

-- OverflowException, e.g., int8(1024)

-- TypeMismatchException, e.g., substr(1, 2)

-- UnderflowException, e.g., int8(-1024)

-- UnsupportedItemTypeException, e.g., string_concat(["a", 1, "c"])

-- UnsupportedTypeException, e.g., rectangle("1,2 3,4") + rectangle("2,5 7,8")

All "root-cause" exceptions thrown from runtime functions have an error code.

Going forward, all "root-cause" exceptions thrown from asterixdb

should have an error code.

Change-Id: Ie4fff8f5e64ffb027910a4899c0246b37ed5bce7

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

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

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

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

    • -26
    • +22
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -8
    • +8
    ./std/AbstractSerializableCountAggregateFunction.java
    • -17
    • +16
    ./std/AbstractSerializableSumAggregateFunction.java
    • -1
    • +2
    ./std/SerializableAvgAggregateDescriptor.java
    • -5
    • +5
    ./std/SerializableAvgAggregateFunction.java
    • -3
    • +3
    ./std/SerializableCountAggregateDescriptor.java
    • -2
    • +2
    ./std/SerializableCountAggregateFunction.java
    • -3
    • +3
    ./std/SerializableGlobalAvgAggregateDescriptor.java
    • -5
    • +5
    ./std/SerializableGlobalAvgAggregateFunction.java
    • -3
    • +3
    ./std/SerializableGlobalSqlAvgAggregateDescriptor.java
    • -5
    • +5
    ./std/SerializableGlobalSqlAvgAggregateFunction.java
    • -3
    • +3
    ./std/SerializableIntermediateAvgAggregateDescriptor.java
    • -5
    • +5
    ./std/SerializableIntermediateAvgAggregateFunction.java
    • -3
    • +3
    ./std/SerializableIntermediateSqlAvgAggregateDescriptor.java
    • -5
    • +5
    ./std/SerializableIntermediateSqlAvgAggregateFunction.java
  1. … 420 more files in changeset.
ASTERIXDB-1228: Add MISSING into the data model.

1. MISSING repsents the value of a non-existing field in a record

or an out-of-bound index access of a collection;

2. NULL represents that the value of an optional field in a record

is unknown or the value of existing collection entry is unknown.

3. Unit tests for all missing/null-in-missing/null-out scalar functions.

Change-Id: Ia49ed8474bfc5d6604231819065117468c5b0897

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

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

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

    • -2
    • +2
    ./std/AbstractSerializableAvgAggregateFunction.java
    • -2
    • +2
    ./std/AbstractSerializableCountAggregateFunction.java
    • -2
    • +2
    ./std/AbstractSerializableSumAggregateFunction.java
    • -1
    • +1
    ./std/SerializableAvgAggregateFunction.java
    • -1
    • +1
    ./std/SerializableGlobalAvgAggregateFunction.java
    • -1
    • +1
    ./std/SerializableIntermediateAvgAggregateFunction.java
    • -1
    • +1
    ./std/SerializableLocalAvgAggregateFunction.java
    • -1
    • +1
    ./std/SerializableSumAggregateFunction.java
  1. … 544 more files in changeset.