asterixdb

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

  1. … 1330 more files in changeset.
Merge "Merge commit 'ac5b498' from 'stabilization-f69489' into 'master'"

[NO ISSUE][FUN] Fix type inference in JListAccessor

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

As the list element type is available, there is no need to deserialize

element types from the data. Doing so, for example, will cause the

object type to be fully open type and closed fields to be recognized as

open fields. This will further cause NPE in UDFs. Modified the upperCase

test case to check this issue.

Change-Id: I4f437857779e5c0af175c695938fbd7208da244d

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

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>

[ASTERIXDB-2529][COMP] Incorrect result with MISSING field value

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fixed StaticTypeCastUtil.staticRecordTypeCast() to

correctly handle MISSING fields in record constructors

Change-Id: I5d3435274ebf0007fe7e63b86264337072fd8305

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

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] Add API to override log level on halt

Change-Id: Ia5574d5f51c23f6972c5f086938f355a0b55d007

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

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

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

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

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

Change-Id: Iaf16894f0628189e3d2de685f2b3f132c65baff3

[NO ISSUE][HTTP] Character encoding fixes

- Support alternate charset for application/x-www-form-urlencoded requests

- Use a random charset in TestExecutor for each query request

Change-Id: I4a982f7c6c34bb32652c1bdd9b546780a2d967d0

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

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

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

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

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

[NO ISSUE][COMP] Refactor function lookup in expression translator

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Move function lookup code in LangExpressionToPlanTranslator

into a separate method so it can be modified by product extensions

Change-Id: I917665fd631b220daa6fe7436288193b0dec60b4

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

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

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

[ASTERIXDB-2516][COMP] Change logical comparator interface

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

Use IPointable instead of bytes, offset, and length.

Change-Id: I8150ccb4b18550fd8fba10ffca9c88d45ebc625b

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

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>

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

Change-Id: I4783b5ee835f3c571bb39c2d7a1de0e3758dfd56

[ASTERIXDB-2551][*DB] Use Ordered Property in range merge POperator

- user model changes: no

- storage format changes: no

- interface changes: no

details:

- Create the IPartitioningProperty using the orderedPartitionedProperty

instead of creating the list to be used in an unorderedPartitionProperty.

Change-Id: I044e2219fff7564864f68fa0df849d1102b4bb20

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

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

[ASTERIXDB-2516][COMP] Change logical comparators handling of null/missing

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Change the result of comparing against null and missing.

For arrays, comparing against null or missing item will result in incomparable.

For records, comparing against a null field will result in incomparable.

- modified test cases accordingly

- moved few object factories to the common place.

- modified compareRecords to avoid string construction for field names

- few code clean-ups.

Change-Id: Id93bea76e13658768e08a98fd373c71a901ceec5

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

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>

[NO ISSUE][OTH] Allow Binding HTTP Server to Specific Address

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Allow binding HTTP server to specific network address

rather than always defaulting it to all network interfaces.

Change-Id: Ie4b6c66502aacf8e0564cc3c6e2fd20c4efac385

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

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>

[ASTERIXDB-2528][COMP] Fix illegal state exception in the compiler

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fix illegal state exception raised by the compiler when

a variable used by SQL aggregate function is not mapped

by GROUP AS clause

Change-Id: I12bab27ad8e25d0bd55c900e559541eff2141fb9

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

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-2527][COMP] Fix illegal state error

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fix Illegal State error raised by the compiler

for a query with a quantified expression

Change-Id: I53046ffd104035e36395e8a0fa4c624ccfdedf09

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

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

[ASTERIXDB-2491][TXN] Recovery fixes

- user model changes: no

- storage format changes: yes[1]

- interface changes: no

Details:

- Change field offset type from integer16 to integer32

- Add recovery test

- Add version to log entries

[1] LogRecord format change with this patch; old LogRecord format can still

be processed, however old instances cannot read new log format

Change-Id: Iaf14b9a73a0239763bfeb0ce2d81cf952e6d72d3

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

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

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

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

  1. … 11 more files in changeset.
[ASTERIXDB-2523][RT][COMP] add support for hashing record fields

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Add support for hashing record fields.

- Added hashing records in GenericHashFunction.

- Extracted common functionality from comparators and hash functions into

CompareHashUtil.

- Added test cases.

Change-Id: I9d18a17089afdc6e28ff01091d890b375868969c

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

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
    • +34
    /asterixdb/asterix-app/data/complex/records3.adm
    • -0
    • +34
    /asterixdb/asterix-app/data/complex/records4.adm
  1. … 68 more files in changeset.
[NO ISSUE][OTH] Catch All Interrupts on Request Cancellation

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Catch all exceptions that could be caused by an interrupt

during request cancellation.

Change-Id: Ib2595ce8a80d8df324e5d97591639d3f9efe1b9d

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

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][*DB] LogManagerWithReplication optimizations

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- eliminate boxing/unboxing of txnids

- remove redundant hashset contains call

Change-Id: I6e5068c6fe3f6226eabd5403440682c52662421e

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

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>

[ASTERIXDB-2525][COMP] Re-infer types after introducing aggregate combiners

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Re-infer all types after introducing aggregate combiners

- AbstractIntroduceGroupByCombinerRule should keep original

operators in nested plans if it did not apply

Change-Id: I404b795452660792166d7e41edcd7dbf9d85f9f8

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

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

[NO ISSUE][COMP] Improve error reporting for unknown window functions

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Raise error early when an unknown window function is found

Change-Id: I04983a17fc569ff96770a8da06fe98715002fdcb

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

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

[ASTERIXDB-2523][RT][COMP] add support for hashing array fields

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Add support for hashing array fields.

- Modified AMurmurHash3BinaryHashFunctionFamily and extracted the hashing function

into a private named hashing function "GenericHashFunction". Added hashing arrays.

- Modified hash join to include generating hash functions for the right branch

since now hash functions are type-dependent and cannot use the same hash functions

generated for the left branch.

- Added test cases.

Change-Id: Ibd0dc7f270730140226f54445705822049f5c863

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

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

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

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

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

  1. … 40 more files in changeset.
[ASTERIXDB-2524][COMP] Fix name resolution for ratio_to_report()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fixes illegal state error when using ratio_to_report()

caused by incorrect identifier resolution for this function

Change-Id: I604ff1ee340fe58250500b2ff459f9b46433a269

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

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-2521][COMP] Add rule to eliminate isomorphic subplans

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Add optimizer rule that finds two isomorphic subplans

and eliminates one of them

Change-Id: I1142ea4805e7508a5d0a778081093504cf4f526a

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

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][FUN] Fix type inference for random()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- random(arg) return type should be nullable

- fix documentation for random(arg) to match implementation

Change-Id: Ifc46ddeaad5bb8999c4a869e7fbc0a5b3c5cde7c

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

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-2490][NET] Allow Private Key Entries With Password

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Currently, it is assumed that private key entries will always

have a blank password. This change changes that by using the

keystore passed password as the private key entry password.

- Ensure trust store password property is set to to allow the

usage of password protected trust stores.

- Fix NCConfig keyStorePath/trustStorePath setter to set the

values for the current node.

- Update test cases private key entries to have password.

Change-Id: I204aa31006c6d3db65909248e55dd901029887fe

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

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] Disable maven descriptors for dev jars

Avoid generating and embedding maven descriptors in artifact jars

when not preparing a release

Change-Id: I55620e890cdc6f0247d9d3ec292deb334d7d9e63

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

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

[NO ISSUE] Update supplemental-model for snappy-java

Add assertions upon manually verifying missing embedded license /

notice files for snappy-java

Change-Id: I18f3549b9338723fb4b301b1b423dc2042270de5

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

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

[NO ISSUE] use global dependency management for ini4j

Change-Id: I6534887dd78f97a3f31cb3578253746fcea8e262

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

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

[ASTERIXDB-2516][RT] record deep comparison (ordering)

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Add support for physical record deep comparison.

- Added test cases

Change-Id: I186f853e0b16acdb3170f7b51bb8a5707d34f9d8

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

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>

    • -0
    • +33
    /asterixdb/asterix-app/data/complex/records1.adm
    • -0
    • +35
    /asterixdb/asterix-app/data/complex/records2.adm
  1. … 6 more files in changeset.