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

  1. … 6 more files in changeset.
Revert "[ASTERIXDB-2454] Remove non-unique AQL tests"

This reverts commit f372c96ddb3414e7f4f54b13059b065310157d65.

Change-Id: Ie8c4c9b50ed3daf528c75168b6d9c2d675cd04a5

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

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>

    • -0
    • +23
    ./getCapital/getCapital.3.query.aql
    • -0
    • +44
    ./keyword_detector/keyword_detector.1.ddl.aql
    • -0
    • +24
    ./keyword_detector/keyword_detector.2.update.aql
    • -0
    • +19
    ./keyword_detector/keyword_detector.3.lib.aql
    • -0
    • +30
    ./keyword_detector/keyword_detector.4.update.aql
    • -0
    • +27
    ./keyword_detector/keyword_detector.5.query.aql
  1. … 4539 more files in changeset.
[ASTERIXDB-2454] Remove non-unique AQL tests

Change-Id: I13f676e9322f8b94e8c9686b261e8752a7100722

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

Reviewed-by: Taewoo Kim <wangsaeu@gmail.com>

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>

    • -23
    • +0
    ./getCapital/getCapital.3.query.aql
    • -44
    • +0
    ./keyword_detector/keyword_detector.1.ddl.aql
    • -24
    • +0
    ./keyword_detector/keyword_detector.2.update.aql
    • -19
    • +0
    ./keyword_detector/keyword_detector.3.lib.aql
    • -30
    • +0
    ./keyword_detector/keyword_detector.4.update.aql
    • -27
    • +0
    ./keyword_detector/keyword_detector.5.query.aql
  1. … 4539 more files in changeset.
[ASTERIXDB-2148][FUN] Add init parameter for external UDF

- user model changes: no

- storage format changes: no

- interface changes: yes

Added parameters to LibraryFunction in library.xsd.

Details:

By enabling init function in external UDF, a user can reuse the same UDF

implementation with different paramters. One example can be to reuse the

same Machine Learning algorithm with different model files by assigning

different file paths to the UDF parameter.

Change-Id: I567ce0bcac288267595b2565e53fea61e16fbd65

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

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

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

    • -0
    • +44
    ./keyword_detector/keyword_detector.1.ddl.aql
    • -0
    • +24
    ./keyword_detector/keyword_detector.2.update.aql
    • -0
    • +19
    ./keyword_detector/keyword_detector.3.lib.aql
    • -0
    • +30
    ./keyword_detector/keyword_detector.4.update.aql
    • -0
    • +27
    ./keyword_detector/keyword_detector.5.query.aql
  1. … 31 more files in changeset.
[ASTERIXDB-2182][ING] Use JSON-like syntax for feed configuration

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

To be consistent with the other JSON-like syntax in defining

configurations, CREATE FEED will change to use JSON object instead of

key-value pairs. Also, the <USING> adapter_name syntax is removed. The

adapter name becomes as part of the configuration. After this change,

the feed configuration are specified as:

<CREATE> <FEED> testFeed <WITH> {

"adapter-name" : "localfs",

"path" : "localhost://../../../../../tweets.json",

"format" : "adm",

"type-name" : "typeTweet"

};

This patch also fixes two minor mistakes when drop feed and adapter in

Metadata.

Change-Id: I2dfb0fdf74d28ae0c45dafcf6babb624bd8b2149

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

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

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>

    • -2
    • +5
    ./typed_adapter/typed_adapter.3.ddl.aql
  1. … 107 more files in changeset.
[ASTERIXDB-2096][COMP] Fix type casting for ExternalFunction

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

1. The current IntroduceDynamicTypeCastForExternalFunctionRule

cannot handle external function calls in nested record constructor.

This patch fix this issue by visiting all nested parameters for

external functions.

2. The ResultExtractor should be able to handle multiple queries

in single statement file as AQL does.

Change-Id: I65c298def75b18fab01f513012e28fc44fdc2fd4

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

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>

  1. … 9 more files in changeset.
ASTERIXDB-1901 Fix IntroduceDynamicTypeCastForExternalFunctionRule

1. Instead of pattern matching, now we will inspect every paramter of

UDF. If there is a type mismatch, a cast function will be added.

2. Fixed the issue that type casting only applies to the first argument.

3. Added test case for this.

Change-Id: I6f44b2460ae3322fc52451e7939b6b5e711790a7

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

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

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

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

    • -0
    • +27
    ./upperCase/upperCase.1.ddl.aql
    • -0
    • +19
    ./upperCase/upperCase.2.lib.aql
    • -0
    • +25
    ./upperCase/upperCase.3.query.aql
    • -0
    • +19
    ./upperCase/upperCase.4.lib.aql
  1. … 3 more files in changeset.
AsterixDB Rat Execution Audit & Fixes

Change-Id: I3d771c5b63eaef4b6a0b4da769039ed5bca17736

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

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

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

    • -1
    • +1
    ./classad-parser-new/classad-parser-new.2.lib.aql
    • -1
    • +1
    ./classad-parser-old/classad-parser-old.2.lib.aql
    • -1
    • +1
    ./typed_adapter/typed_adapter.2.lib.aql
  1. … 490 more files in changeset.
Feed Connection Refactoring

1. The feed subscription network using FeedJoint is removed.

2. FeedConnection metadata dataset is added (pkeys: dataverseName,

feedName, datasetName).

3. Replaced the old intake job + collect job combination with one single

job using SplitOperator.

4. Now one feed can connect to multiple datasets.

5. The disconnect feed job is replaced by ActiveManagerMessage.

6. The new feed life cycle is:

- Create feed

- Connect feed to dataset0, dataset1, dataset2, etc.

- Start feed

- Stop feed

- Disconnect feed

7. New feedEventListner framework by Abdullah

Change-Id: Ic36267eb9a10df21734ce1cc1f38583e23c9e8f0

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

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

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

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

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

    • -0
    • +2
    ./typed_adapter/typed_adapter.4.update.aql
  1. … 197 more files in changeset.
Move merged files

    • -0
    • +31
    ./classad-parser-new/classad-parser-new.1.ddl.aql
    • -0
    • +19
    ./classad-parser-new/classad-parser-new.2.lib.aql
    • -0
    • +27
    ./classad-parser-new/classad-parser-new.3.ddl.aql
    • -0
    • +23
    ./classad-parser-new/classad-parser-new.4.query.aql
    • -0
    • +19
    ./classad-parser-new/classad-parser-new.5.lib.aql
    • -0
    • +31
    ./classad-parser-old/classad-parser-old.1.ddl.aql
    • -0
    • +19
    ./classad-parser-old/classad-parser-old.2.lib.aql
    • -0
    • +25
    ./classad-parser-old/classad-parser-old.3.ddl.aql
    • -0
    • +23
    ./classad-parser-old/classad-parser-old.4.query.aql
    • -0
    • +19
    ./classad-parser-old/classad-parser-old.5.lib.aql
  1. … 154 more files in changeset.
Merge branch 'master' into hyracks-merge2

    • -31
    • +0
    ./classad-parser/classad-parser.1.ddl.aql
    • -19
    • +0
    ./classad-parser/classad-parser.2.lib.aql
    • -27
    • +0
    ./classad-parser/classad-parser.3.ddl.aql
    • -23
    • +0
    ./classad-parser/classad-parser.4.query.aql
    • -19
    • +0
    ./classad-parser/classad-parser.5.lib.aql
    • -31
    • +0
    ./classad-parser2/classad-parser2.1.ddl.aql
    • -19
    • +0
    ./classad-parser2/classad-parser2.2.lib.aql
    • -25
    • +0
    ./classad-parser2/classad-parser2.3.ddl.aql
    • -23
    • +0
    ./classad-parser2/classad-parser2.4.query.aql
    • -19
    • +0
    ./classad-parser2/classad-parser2.5.lib.aql
  1. … 475 more files in changeset.