asterixdb

Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[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>

[ASTERIXDB-2522][TX] Skip WAIT record during lock conflicts

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- A small optimization to our deadlock-free locking potocol by skipping

the WAIT record. Once the partial frame has been flushed and previous

records are committed, the locks held by the write thread will

eventually be released by the log flusher thread. There is no need to

force the writer thread to wait for the log flusher thread.

Change-Id: I6ef3979d6393d45a6b7b2eb5f09f147299b5cd9f

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

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

[NO ISSUE][DOC] Document "compiler.windowmemory" property

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Add "compiler.windowmemory" property to the documentation

Change-Id: Ia8d67e156bf08608651b40e1bfd6e771940fe642

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

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>

[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>

  1. … 10 more files in changeset.
[NO ISSUE][RT] Window operator runtime optimization

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Improve memory management for window operators

- Add "compiler.windowmemory" property that specifies memory

budget for each window operator (default is 4MB, min is 160KB)

- Consolidated negative window operator testcases into a single one

Change-Id: I6756e92046883f79db339ef490cca8bc8b7b1fb8

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

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. … 44 more files in changeset.
[NO ISSUE][OTH] Make IAType IJsonSerializable

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

This change is to make Asterix types IJsonSerializable.

Change-Id: I26b57494da1c63497b63ceb0d4172b5768d3a614

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

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>

[NO ISSUE][API] Allow Request Cancellation By Request UUID

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Accept UUID as a parameter in query cancellation API.

- Pass request UUID to CC in cancellation requests to

allow cancellation of requests that do not have

clientContextId.

Change-Id: Ic811b2107b71e50ca9c216db39755467c4320fd1

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

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>

[NO ISSUE][OTH] Replace Inner Class By Lambda

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Replace anonymous inner class by lambda in

ApplicationMessageWork.

Change-Id: Ia50f5d51401671c1c10453b20ed84d21c49cfe3a

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

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

[ASTERIXDB-2516][RT] add support for record deep comparison

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Add support for record deep comparison.

- modified LogicalComplexBinaryComparator to allow record comparison

- added test cases for record comparison

- modified PointableAllocator to allow freeing record visitable pointables

Change-Id: I3e8bfbb014b86295749e980d123b0d3edf079beb

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

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

  1. … 25 more files in changeset.
[NO ISSUE][LIC] Fix ASF License typo

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fix a typo in the ASF license in some files.

Change-Id: I8841434bb00f40833eaec73c76f44cb65fcfb3b0

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

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: Ian Maxon <imaxon@uci.edu>

[NO ISSUE][OTH] Introduce Whispered Messages

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Add whispered flag to IMessage API.

- Log whispered messages as trace rather than info level

to avoid filling the info log with high frequency messages.

Change-Id: I5c24205f5c25bf9f6aa245e8f1200b046390a915

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

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>

[NO ISSUE][COMP] Optim rules comments + minor changes

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- CheckFilterExpressionTypeRule checks if the optimization

context has the output type environment before computing it.

- Minor addition/changes to rule comments.

Change-Id: I6f5cb78125657ff2bb4658af40bfc9d9cbff184e

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

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

[NO ISSUE][OTH] Fix ActiveEntityEventsListener toString

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Return proper JSON from ActiveEntityEventsListener toString.

Change-Id: Ifd31bfa71eb79cf4f292c3453cb66523dfba261e

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

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

[NO ISSUE][OTH] Add Creation Time to Client Request

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Add creation time to ClientRequest to identify when the

request was acknowledged by the CC.

- Allow Receptionist extensions to throw exceptions as

specified by the IReceptionist API.

- Allow extensions to set non-json request optional parameters.

- Add convention method in ResourceReference to get the

resource's fully qualified dataset name.

- Fix typo in metadata provider method name.

Change-Id: Ib45b5bec8bb2f127aa1263d4f7ac4f8e2e368208

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

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>

Merge commit 'ee67a43' from 'stabilization-f69489' into 'master'

Change-Id: I2895436bd8a0de9a467409895f5363a7e8109b80

[NO ISSUE][TEST] Only use UTF Accept-Charsets

Fixes intermittent failures when results are not encodable in randomly

selected Charset (e.g. regex results)

Change-Id: Id1b8ff0761b7f43b611bd23efe28b6408689660c

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

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

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

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

Merge commit '5543132' from 'stabilization-f69489' into 'master'

Change-Id: Ic0e77df94ecea518e19b55edb90a2fe8157cac21

Merge "Merge commit 'd9850dc' from 'stabilization-f69489' into 'master'"

[NO ISSUE] Handle Accept-Charset in QueryResultApiServlet

- exercise non-UTF8 Accept-Charset in TestExecutor

- remove double-buffering on http responses

- minor refactoring / cleanup

Change-Id: I8f37eb684bf2457e5ff451bf5c8fbca742d531f2

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

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

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

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

  1. … 10 more files in changeset.
Merge commit 'd9850dc' from 'stabilization-f69489' into 'master'

Change-Id: Ia35c75e8c35720dfd22436f4d08f6986e3aa1b3c

[NO ISSUE][TEST] Use unique directory for external library tests

Enables external library tests on hosts w/ a shared home directory

Change-Id: I575cfc79f4df831783ce6551ae691d73410ca878

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

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

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

[ASTERIXDB-2520][RT] Make Dataset Memory Reservation Idempotent

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Ensure thread-safety of metadata node takeover.

- To account for multiple failures of metadata node, make

dataset memory reservation idempotent.

Change-Id: I360226187e176ce3a0ccdcd7a1b611a01d906394

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

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

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

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

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

Advance version to AsterixDB 0.9.4.2-SNAPSHOT and Hyracks 0.3.4.2-SNAPSHOT

Change-Id:I47827d49e8a589ae885b134bf5c7557fae3b0620

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

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

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

    • -1
    • +1
    /asterixdb/asterix-client-helper/pom.xml
    • -1
    • +1
    /asterixdb/asterix-external-data/pom.xml
  1. … 87 more files in changeset.
Release Apache AsterixDB 0.9.4.1 and 0.3.4.1

Change-Id:I0af32fba00277c516b2671cc3567d61a2765f526

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

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

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

    • -1
    • +1
    /asterixdb/asterix-client-helper/pom.xml
    • -1
    • +1
    /asterixdb/asterix-external-data/pom.xml
  1. … 87 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. … 37 more files in changeset.
[NO ISSUE][OTH] Handle Missing JobId in ClientRequest

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Return null for the job id for ClientRequest json

in case the request job id has not been assigned

yet.

Change-Id: Ida55b4802850e0921d167222f7d072343f84d198

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

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

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

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

Contrib: Murtadha Hubail <mhubail@apache.org>

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

[NO ISSUE] Fix test suite profiles

Change-Id: Ibe3da546a2f32b3945bf051b9cd89e8c6b6cbf35

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

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

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

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

[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>

[NO ISSUE][TEST] rebalance jenkins test distribution

Change-Id: I81bbe02695d4534116ddd6bf3f36b8b5a4977a62

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

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

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

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

[NO ISSUE] Fix logging in NCServiceIT

This test had a strange logging setup; the logging

for the actual IT was not configured to log outside

of /tmp, and the NCService processes had no log4j2

configuration set.

Change-Id: I4a5944891adf6b073dee01e8418b2449e1179949

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

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