Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[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.