asterixdb

Clone Tools
  • last updated 21 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ASTERIXDB-1269 Fix Extraction of Query Segment and Refactor AQL Parser

This change fixes the issue ASTERIXDB-1269 and refactor aql.jj

removing qouted strings throughout the file and creating token's

definitions for them instead

Change-Id: I18ac4f8d86b3c5c7bfe226c98114499671649e93

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

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. … 12 more files in changeset.
merge with master

new annontations.

new annontations.

some more graduation changes

Change-Id: Ia901209e62a6803817e63a8495b07987cd95e0e1

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

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: Yingyi Bu <buyingyi@gmail.com>

Use more accurate name 'NCService' for HyracksVirtualCluster

Change-Id: I2c68c8a7abde3906df2961b214f046bdd9bfd426

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

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>

ASTERIXDB-1494: refactor ExternalLibraryManager and make it non-static.

Change-Id: I5c287a35ff90c3aea639d3069d5a842e28c5e508

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

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

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

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

  1. … 17 more files in changeset.
QueryService API updates

- API returns non-JSON results (ADM/CSV) as arrays of (escaped) strings

- fix encoding and content-length of response

- run SQL++ query tests through QueryService API

- fix tests/expected errors

- correct execution times in the case of errors

- re-structure printing of CSV headers

- improve parameter handling

- small API cleanup

Change-Id: Ie67ad4ea31699400726c8c026c4a91edc698f2b5

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

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

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

added more to the interval hint

Remove duplicate operator symbol definition

Change-Id: I3cfcf9a7e131d60a9b97fbc9fae3b762031c8edb

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

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

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

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

Support SQL-compilant delete syntax.

Change-Id: Ifdd4acf3772cac1a21bb56a7eba4be51abbb5068

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

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. … 36 more files in changeset.
Support SELECT star.

- star is optional;

- a star can be mixed with other projection columns.

Change-Id: Ifa77431912670b55387fd5a722c2184341400a50

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

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. … 16 more files in changeset.
Support LIKE, NOT LIKE, IN, NOT IN.

Change-Id: I497c4420431460bc461937dd5fc58956e1fad6ea

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

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

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

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

  1. … 44 more files in changeset.
report missing variable type only for variables

Change-Id: I89b7cbb3a93249df959ec17691f5b67dbb2ffda6

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

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: Yingyi Bu <buyingyi@gmail.com>

working mega overlapping plan.

ASTERIXDB-1515: fix the NPE.

Change-Id: I39412b02d503866588990020af1ea3252e83e1a0

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

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>

avoid NPE

Change-Id: I31db965351e04444e86d3bc55d7e6dbdfded3fa2

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

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: Cameron Samak <csamak@apache.org>

Reviewed-by: Murtadha Hubail <hubailmor@gmail.com>

Use Inverted ClassLoader For External Functions

Invert normal classloader order for external functions, first attempting to load

classes from external library before parent (system) classpath. Classes from the

bootclassloader will load normally.

Change-Id: I7c152efd62af41bdedcbffdd29cd1041a8237ca4

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

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

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

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

Support implicit variable name and column name.

1. Support WITH clause for general cases;

2. Fixed open/closed type optimization;

3. Fixed scoping for nested aggregations;

4. Fixed side effects during partition property analysis;

5. Fixed type propagation policy for Subplan operator.

Change-Id: I409b9ba139c9f000a6b9b84d519d172d0069e4bb

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

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

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

  1. … 217 more files in changeset.
Fix the binary documentation

Change-Id: I509f0d4bc4b228d85226a85fe68d6ae97b52f5bd

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

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>

Cleanup Test Dependencies

Fix dependency scopes for test artifacts, removes the following test jars from

asterix binary release:

- hyracks-api-0.2.18-SNAPSHOT-tests.jar

- hyracks-test-support-0.2.18-SNAPSHOT.jar

- mockito-all-2.0.2-beta.jar

Change-Id: Ib8f53ef310b1f6702e1605524f0718340e9178f5

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

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
    • +0
    /asterixdb/asterix-experiments/pom.xml
    • -0
    • +7
    /asterixdb/asterix-external-data/pom.xml
    • -0
    • +6
    /asterixdb/asterix-transactions/pom.xml
  1. … 9 more files in changeset.
snapshot super interval dag.

  1. … 7 more files in changeset.
Hard Tabs++

Eliminate more hard tabs, widen scope of checkstyle rules to prevent regressions.

Relax whitespace expectations in polygon ctor

Change-Id: Ia3f78fc6705bc79a21cfa97fdfcad30998ab1058

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

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>

    • -11
    • +18
    /asterixdb/asterix-algebra/pom.xml
    • -1
    • +1
    /asterixdb/asterix-app/src/main/scripts/run.sh
  1. … 441 more files in changeset.
Attempt To Fix Checkstyle Plugin In Eclipse

Relocate Eclipse directives into asterix & hyracks root poms to ignore checkstyle plugin.

Change-Id: I86b7695c754af6780696dc7debc3bb95aacf6c31

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

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

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

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

Update adm.grammar and printers for double/float

adm.grammar was not accepting suffixed doubles. This was breaking

a lot of round-trip ADM cases. I also changed the default print for

float and double to not have a suffix, because this makes the output

very odd (NaNd, NaNf, -Infinityf). The print mode for integers

has also been changed to omit the suffix, but, similarly the old

format is still accepted.

Change-Id: I6164d74f6c286fa160a30cff9ad47e97a30e0770

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

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

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

Reviewed-by: Michael Blow <michael.blow@couchbase.com>

  1. … 487 more files in changeset.
Add the documentation for the `binary` data type

Change-Id: Iea9b29a1a8ff37617fb94cd562a1f885f8867ad3

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

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

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

Reviewed-by: Jianfeng Jia <jianfeng.jia@gmail.com>

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

Add IS (NOT) NULL/MISSING/UNKOWN.

Change-Id: I7e4008d97f0d3a92816b90492dd8c887b05bac27

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

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

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

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

  1. … 29 more files in changeset.
ASTERIXDB-1489 Fix Query After Restart Test Case

Since the adapter's produced data type was modified, the type in

the test case had to be updated.

Change-Id: I8735bc049ad5a9380a8f770c5ba35d901f194100

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

Reviewed-by: Michael Blow <michael.blow@couchbase.com>

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

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

ASTERIXDB-1497: Prevent ConcurrentModification in DefaultDeallocatableRegistry

This change prevents the possible ConcurrentModificationException

in DefaultDeallocatableRegistry.

Change-Id: I1189d74ca33cbe8abf5b964eb8ff334df03c4004

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

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

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

Reviewed-by: Michael Blow <michael.blow@couchbase.com>

ASTERIXDB-1498: Validate DatasetLifeCycleManager State

This change adds appropriate error message when trying

to access a dataset/index after the DatasetLifeCycleManager

has been stopped.

Change-Id: Ie2c4a506103e0c04ec6b203253144603704e7e5c

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

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

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

Reviewed-by: Michael Blow <michael.blow@couchbase.com>