Clone Tools
  • last updated 24 mins 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>

    • -3
    • +3
    ./AbstractScalarAggregateDescriptor.java
    • -2
    • +2
    ./AbstractScalarDistinctAggregateDescriptor.java
    • -2
    • +2
    ./GenericScalarDistinctAggregateFunction.java
  1. … 686 more files in changeset.
[ASTERIXDB-2598][RT] Add Support For Runtime Warnings

- user model changes: yes

- storage format changes: no

- interface changes: yes

Details:

- Add the ability to add runtime warnings per task

and return the generated warnings as part of the

task profile on task completion.

- On successful job completion, aggregate warnings

from all task profiles of a job.

- Return the generated warnings in the query service

response as an array of "warnings" each with a code,

which is currently hard-coded to 1, and a message.

- Fix propagating source location to scalar aggregate

functions.

- Add a flag in test cases definition to indicate whether

or not to check for expected warnings and default it to

false.

- Generate warnings when min/max functions encounter

incomparable type or unsupported input.

- Add support in test framework to extract warnings

along with extracting the result field.

- Add support in test framework to validate generated

and expected warnings.

- Add test cases for min/max generated warnings.

Change-Id: I52fa5b807799487d62e67a8861068e1547aa629a

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

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

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

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

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

    • -0
    • +7
    ./AbstractScalarAggregateDescriptor.java
  1. … 33 more files in changeset.
[ASTERIXDB-2574][COMP] Fix min/max functions

- user model changes: no

- storage format changes: no

- interface changes: no

This change is mainly for 2 things. The first thing is to not throw

an exception when the type of the aggregated field is invalid for min/max

(e.g. record or rectange) or min/max get incompatible data like string

and int. The result in this case would be NULL. The second thing is to

enable comparing ARRAYs correctly by using logical comparison. When

a partition runs into type invalidity, it will output NULL. The global

aggregator interprets NULL received from a partition as type invalidity

and outputs NULL as the final result. Both SQL and SQL++ will do that.

Special treatment is needed for scalar and distinct version of SQL since

SQL min/max ignores NULL values and continue aggregation and the scalar

and distinct version of SQL are normally setup as a global aggregator

since they behave like the global aggregator in a two-step aggregation.

Currently, there is only a local min and max functions. The other

min/max functions are used for everything, the global function of

two-step aggregation, and for scalar and distinct min/max. In order to

differentiate, a global min/max functions are added that will be used

for the two-step aggregation.

Details:

- fixed listify to open up elements when adding them to the collection

and the collection item type is of type ANY and changed the type inferer

of listify to enable that.

- fixed AbstractCollectionType to make sure itemType is never null.

- changed MinMaxAggTypeComputer to not throw an exception but return

NULL for invalid types.

- changed min/max descriptors to implement inferer to propagate the

type of the field and pass that when getting a comparator.

- switched min/max comparison to the logical comparison.

- refactored method inequalityUndefined to be shared by logical comparison

and min/max functions.

- added global max/min functions to enable differentiating between

scalar min/max, distinct min/max and two-step min/max (global & local).

- code clean-up for LogicalScalarBinaryComparator; created two INSTANCES

and re-used.

Change-Id: I1231cfe558099d167bae0b2fa7fc4879b756baf0

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

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

    • -0
    • +9
    ./AbstractScalarAggregateDescriptor.java
    • -9
    • +0
    ./AbstractScalarDistinctAggregateDescriptor.java
    • -1
    • +1
    ./ScalarArrayAggAggregateDescriptor.java
    • -1
    • +1
    ./ScalarArrayAggDistinctAggregateDescriptor.java
    • -3
    • +7
    ./ScalarMaxDistinctAggregateDescriptor.java
    • -3
    • +7
    ./ScalarMinDistinctAggregateDescriptor.java
    • -5
    • +11
    ./ScalarSqlMaxAggregateDescriptor.java
    • -4
    • +8
    ./ScalarSqlMaxDistinctAggregateDescriptor.java
    • -4
    • +10
    ./ScalarSqlMinAggregateDescriptor.java
    • -3
    • +7
    ./ScalarSqlMinDistinctAggregateDescriptor.java
  1. … 140 more files in changeset.
[NO ISSUE][FUN] Add ARRAY_AGG() SQL aggregate function

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Implement support for ARRAY_AGG() aggregate function.

- Add new testcases and update documentation

- Add AbstractScalarDistinctAggregateDescriptor.createDescriptorFactory()

to uniformly set required type inferer for all distinct scalar aggregates

- Propagate correct item type to GenericScalarDistinctAggregateFunction

Change-Id: I704e031a1252493e83ad8d45c38b75e0b15c1896

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

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
    • +8
    ./AbstractScalarAggregateDescriptor.java
    • -3
    • +12
    ./AbstractScalarDistinctAggregateDescriptor.java
    • -0
    • +54
    ./ScalarArrayAggAggregateDescriptor.java
    • -0
    • +50
    ./ScalarArrayAggDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarAvgDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarCountDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarKurtosisDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarMaxDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarMinDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarSkewnessDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarSqlAvgDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarSqlCountDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarSqlKurtosisDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarSqlMaxDistinctAggregateDescriptor.java
    • -4
    • +2
    ./ScalarSqlMinDistinctAggregateDescriptor.java
  1. … 33 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
    ./AbstractScalarDistinctAggregateDescriptor.java
    • -3
    • +4
    ./GenericScalarDistinctAggregateFunction.java
    • -1
    • +4
    ./ScalarAvgDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarCountDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarKurtosisDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarMaxDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarMinDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarSkewnessDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarSqlAvgDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarSqlCountDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarSqlKurtosisDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarSqlMaxDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarSqlMinDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarSqlStddevDistinctAggregateDescriptor.java
    • -1
    • +4
    ./ScalarSqlStddevPopDistinctAggregateDescriptor.java
  1. … 94 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
    ./AbstractScalarAggregateDescriptor.java
  1. … 3 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
    ./AbstractScalarAggregateDescriptor.java
    • -0
    • +43
    ./AbstractScalarDistinctAggregateDescriptor.java
    • -6
    • +24
    ./GenericScalarAggregateFunction.java
    • -0
    • +82
    ./GenericScalarDistinctAggregateFunction.java
    • -10
    • +4
    ./ScalarAvgAggregateDescriptor.java
    • -0
    • +43
    ./ScalarAvgDistinctAggregateDescriptor.java
    • -10
    • +4
    ./ScalarCountAggregateDescriptor.java
    • -0
    • +43
    ./ScalarCountDistinctAggregateDescriptor.java
    • -11
    • +4
    ./ScalarKurtosisAggregateDescriptor.java
    • -0
    • +43
    ./ScalarKurtosisDistinctAggregateDescriptor.java
    • -10
    • +4
    ./ScalarMaxAggregateDescriptor.java
    • -0
    • +43
    ./ScalarMaxDistinctAggregateDescriptor.java
    • -10
    • +4
    ./ScalarMinAggregateDescriptor.java
    • -0
    • +43
    ./ScalarMinDistinctAggregateDescriptor.java
    • -11
    • +4
    ./ScalarSkewnessAggregateDescriptor.java
  1. … 116 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
    ./ScalarKurtosisAggregateDescriptor.java
    • -0
    • +49
    ./ScalarSkewnessAggregateDescriptor.java
    • -0
    • +49
    ./ScalarSqlKurtosisAggregateDescriptor.java
    • -0
    • +49
    ./ScalarSqlSkewnessAggregateDescriptor.java
    • -1
    • +1
    ./ScalarSqlStddevAggregateDescriptor.java
    • -1
    • +1
    ./ScalarSqlVarAggregateDescriptor.java
    • -1
    • +1
    ./ScalarStddevAggregateDescriptor.java
  1. … 1337 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
    ./AbstractScalarAggregateDescriptor.java
  1. … 1 more file 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>

    • -9
    • +3
    ./ScalarSqlSumAggregateDescriptor.java
  1. … 171 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
    • +48
    ./ScalarSqlVarAggregateDescriptor.java
    • -0
    • +49
    ./ScalarSqlVarPopAggregateDescriptor.java
    • -0
    • +48
    ./ScalarVarAggregateDescriptor.java
    • -0
    • +48
    ./ScalarVarPopAggregateDescriptor.java
  1. … 499 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>

    • -0
    • +49
    ./ScalarSqlStddevPopAggregateDescriptor.java
    • -0
    • +49
    ./ScalarStddevPopAggregateDescriptor.java
  1. … 308 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>

    • -0
    • +49
    ./ScalarSqlStddevAggregateDescriptor.java
    • -0
    • +48
    ./ScalarStddevAggregateDescriptor.java
  1. … 470 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>

    • -1
    • +1
    ./AbstractScalarAggregateDescriptor.java
  1. … 680 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>

    • -2
    • +2
    ./AbstractScalarAggregateDescriptor.java
  1. … 984 more files in changeset.
[ASTERIXDB-2154][COMP] Extensible built-in function management

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Support for augmenting built-in functions in ILangExtension

- Move function type inferers from NonTaggedDataFormat to

FunctionTypeInferers, exposed through IFunctionDescriptorFactory

and IFunctionManager

- Cleanup: obtain IFunctionManager/IDataFormat from MetadataProvider

Change-Id: Iafbf7e4e298fb7af6cb84b402cb00cfa2e90b5ce

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

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: Ian Maxon <imaxon@apache.org>

    • -8
    • +6
    ./AbstractScalarAggregateDescriptor.java
    • -1
    • +9
    ./ScalarSqlAvgAggregateDescriptor.java
    • -1
    • +10
    ./ScalarSqlCountAggregateDescriptor.java
    • -1
    • +9
    ./ScalarSqlMaxAggregateDescriptor.java
    • -1
    • +9
    ./ScalarSqlMinAggregateDescriptor.java
    • -1
    • +9
    ./ScalarSqlSumAggregateDescriptor.java
  1. … 49 more files in changeset.
[ASTERIXDB-1980][FUNC] Cleanup FunctionManager lifecycle

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Moved FunctionCollection

from asterix-algebra/org.apache.asterix.translator.util

to asterix-runtime/org.apache.asterix.runtime.functions

- Moved FunctionManagerHolder

from asterix-om/org.apache.asterix.om.functions

to asterix-runtime/org.apache.asterix.runtime.functions

- Removed IDataFormat.registerRuntimeFunctions()

Change-Id: If96e425a096bc0312a68d81b04686d7165f1a1fd

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

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

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: Yingyi Bu <buyingyi@gmail.com>

    • -1
    • +1
    ./AbstractScalarAggregateDescriptor.java
  1. … 14 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>

    • -2
    • +2
    ./AbstractScalarAggregateDescriptor.java
    • -2
    • +2
    ./ScalarSqlAvgAggregateDescriptor.java
    • -2
    • +2
    ./ScalarSqlCountAggregateDescriptor.java
    • -2
    • +2
    ./ScalarSqlMaxAggregateDescriptor.java
    • -2
    • +2
    ./ScalarSqlMinAggregateDescriptor.java
    • -2
    • +2
    ./ScalarSqlSumAggregateDescriptor.java
  1. … 560 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>

    • -2
    • +2
    ./AbstractScalarAggregateDescriptor.java
  1. … 433 more files in changeset.