asterixdb

Clone Tools
  • last updated 12 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[ASTERIXDB-2450][DOC] make docs match implementation

details:

- change site documentation to match function implementation

- add example for ms_from_day_time_duration

Change-Id: Iacd4cd18b232df7845c80bdb6136f28185193905

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

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

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

Reviewed-by: Preston Carman <prestonc@apache.org>

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

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

[NO ISSUE][RT] add support for different date time separators

- user model changes: no

- storage format changes: no

- interface changes: no

Details: Changed interface for dateTime input and output

to keep track of user specified dateTime separator.

By default the separator 'T' is used.

Change-Id: Ic05814c24ecacf5c4e8c2bcfb90808a0ab81110b

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

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>

Merge commit '111dc14' from 'stabilization-f69489' into 'master'

Change-Id: I5963cc6bc2f821d438ff54f836df831dd7c1a6c5

[NO ISSUE] Update notices

Change-Id: I47fae4ec611e7320bde76182cf51fd2026248dc1

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

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

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

Tested-by: Ian Maxon <imaxon@apache.org>

[NO ISSUE] Update notices

Change-Id: I47fae4ec611e7320bde76182cf51fd2026248dc1

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

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

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

Tested-by: Ian Maxon <imaxon@apache.org>

(cherry picked from commit c50db313b4a6ab8472e9cab212d7b0fbd153ab79)

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

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

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

  1. … 18 more files in changeset.
[NO ISSUE][TEST] Test framework refactoring, extract results w/ utf8

Change-Id: Ib7347cd9c94c9377e6b8223ea1aaee59f923a3be

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

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

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

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

[NO ISSUE][TEST] Move compression & SSL tests to new job

Change-Id: I15510e9cba571f5e485364b1218166130ef1cf2b

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

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

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

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

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

[NO ISSUE][RT] Window operator runtime optimization

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Runtime optimization for window operators with accumulating

frames (unbounded preceding to current row or n following)

- Refactor window function properties into generic

builtin function properties

Change-Id: I8d1574defc73076ad960c4067432da29ead160a5

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

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>

  1. … 16 more files in changeset.
[NO ISSUE] Fix logging in NCServiceExecutionIT

- remove GC options not supported by OpenJDK

- don't run HDFSCluster by default (not compatible w/ Java 11)

Change-Id: I17ca6ec4605f6d2ceb2c727e9479e56becc29670

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

Contrib: Michael Blow <mblow@apache.org>

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

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

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

[NO ISSUE][TEST] Log exceptions on test failures

Change-Id: I5a2713a4430eeece3fcb5a9549a6e06b0ce01bec

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

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] Fix log directory initialization

Change-Id: I357805659be133929ab1beea33bc0dcdf4dc896c

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

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>

[NO ISSUE] Compatibility improvements

Change-Id: Idde612dace51121f1e5bc91519e9236b7e4f96a4

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

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>

[NO ISSUE] Remove un-neccessary Jackson printer

During the org.json change we needed this to avoid

changing many test files but it is not really worth

maintaining anymore.

Change-Id: I465d4f0d4352f2bd7eb3ec40062a998de578d8c6

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

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

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

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

Merge "Merge commit '2dc111d' from 'stabilization-f69489' into 'master'"

Merge commit '2dc111d' from 'stabilization-f69489' into 'master'

Change-Id: I84505e94bdfc916d389288b36612081e778b1e53

[NO ISSUE][FUN] Drop fractional millis digits after 3rd precision

- user model changes: no

- storage format changes: no

- interface changes: no

Details: Modified DateFormatUtils reader to accept more

than 3 digits number as millisecond. Only digits upto

3 decimal value is maintained.

Change-Id: I03cfd5501ab14449c4bca74fe51432286e7aa3e5

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

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

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

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

[NO ISSUE] Add internal function jobs() to retrieve job information

- user model changes: added function jobs()

- storage format changes: no

- interface changes: no

Change-Id: I80d786899d6dd5970c8faf24041bc60da881a365

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

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] Factor out date formatting

- user model changes: no

- storage format changes: no

- interface changes: no

Change-Id: Id0b723865141bb7eecf87830537d8310bfe2a5d3

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

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>

Merge commit '04aebfe' from 'stabilization-f69489' into 'master'

Change-Id: I2d6ed58a6f11efff839bacab4bbe552d92eb9371

[ASTERIXDB-2514] Fix BigInt display in formatted JSON

- user model changes: no

- storage format changes: no

- interface changes: no

Javascript treats all numbers as doubles. This causes large BigInt

values cannot be displayed properly in the formatted JSON option, and

the lower digits are replaced with "0". In this patch, we cast the

numbers into strings with special characters, and cast those strings

back after they are parsed by the JSON parser. Also, to make sure future

new data types can be displayed properly, the default JSON display is

set to "literal".

Change-Id: I1bbef349efba0da24d01afb1cb17b4f7d5b7f261

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

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

[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. … 37 more files in changeset.
[ASTERIXDB-2513][FUN] Add Active_Requests Function

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Add a datasource function (active_requests) which

returns the active jobs that the user specified

client_context_id for.

- This function runs on a single NC and uses messaging

to get the currently running jobs from CC.

- Currently, the function returns the following fields:

-- clientContextId: the user specified clientContextId.

-- requestTime: a timestamp at which the request reference

was created.

-- jobId: optionally, the job id that belongs to this request.

- The function may be improved later to return all jobs and it may

return additional fields such as (request uuid, statement,

executionTime, elapsedTime, nodeAddress, userAgent, etc..)

- Add test case.

- Do not allow cancellation test to cancel queries with

clientContextId to avoid intermittent failures.

Change-Id: I95962742161ed18c4cf2e09c8541c8ad3b35356c

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

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

  1. … 10 more files in changeset.
[NO ISSUE] Compatibility improvements, misc cleanup / refactoring

Change-Id: I1839c585b254e5b4252f456b367b3a5db2dd53c8

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

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

[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. … 19 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>

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

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Runtime optimization for window operator with monotonic

frame start expression. In this case continue scanning

from the beginning of the frame that was found in the

previous iteration

- Allow inlining variables into window operator expressions

except PARTITION BY, ORDER BY and frame value expressions

Change-Id: I65bed4092f4fd3622f1525b26ce25e2ac07d7538

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

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. … 9 more files in changeset.
[NO ISSUE][NET] Catch All Network Unexpected Exceptions

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Any case of any unexpected exception during

IPC network operations, close the connection

to allow it to be reestablished.

Change-Id: I57db83faa1d1ecbc4702ca06e64e21fedb186313

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

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>

[NO ISSUE][OTH] Support log redaction 2

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Modify ILogRedactor to enable reversing the redaction

- Redact user data in exceptions thrown in the grammar file

Change-Id: If971d0a913e2b7efe521e2d54646568f789937b5

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

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>

[NO ISSUE][COMP] Window operator runtime optimization

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Add optimized runtime for window operator that computes

nested aggregates over the whole partition (unbounded frame)

- Do not generate unnecessary expressions when compiling

window operator with unbounded frame

Change-Id: If34d8eb05c069257c974f61810bee399136825fa

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

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>