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

    • -0
    • +1
    ./in_as_or/in_as_or.10.adm
  1. … 4 more files in changeset.
[ASTERIXDB-2440][COMP] Compiler failure with IN expression

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fixed NullPointerException when IN expression is passed as

an argument to a function call

Change-Id: I4f9734c37b074ef9b16bc7ae403ae079b86b0e9a

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

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: Taewoo Kim <wangsaeu@gmail.com>

    • -0
    • +2
    ./in_as_or/in_as_or.9.adm
  1. … 2 more files in changeset.
[ASTERIXDB-2433][COMP] Optimize IN operator with constant list

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Translate IN operator with a constant list into disjunctive expression

- Add compiler setting “rewrite_in_as_or” to control this feature

- Add tests

Change-Id: Ifb6c68eef86d0c002d8cb330a5c68e82cfd8cf3e

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

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
    • +3
    ./in_as_or/in_as_or.3.adm
    • -0
    • +3
    ./in_as_or/in_as_or.4.adm
    • -0
    • +3
    ./in_as_or/in_as_or.5.adm
    • -0
    • +3
    ./in_as_or/in_as_or.6.adm
    • -0
    • +3
    ./in_as_or/in_as_or.7.adm
    • -0
    • +3
    ./in_as_or/in_as_or.8.adm
    • -0
    • +0
    ./query-ASTERIXDB-1572/query-ASTERIXDB-1572.2.adm
  1. … 32 more files in changeset.
[ASTERIXDB-2244][RT] Implement micro union-all operator

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- implement support for binary micro operators in subplans

- implement micro union-all operator

- fix free variables visitor

Change-Id: I11be926f175889978c144dd4483ec565d3d86e2d

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

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

Contrib: Till Westmann <tillw@apache.org>

Integration-Tests: Till Westmann <tillw@apache.org>

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

    • -0
    • +2
    ./non_unary_subplan_01/non_unary_subplan_01.1.adm
  1. … 41 more files in changeset.
ASTERIXDB-1674: fix LoadRecordFieldsRule and RemoveRedundantVariablesRule.

Change-Id: I52b2e3afac5ea99c13723cfc707821f95220a54a

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

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>

    • -0
    • +2
    ./query-ASTERIXDB-1674/query-ASTERIXDB-1674.1.adm
  1. … 10 more files in changeset.
ASTERIXDB-1572 and ASTERIXDB-1591: fix and regression tests.

- push aggregates into subplans;

- fix recursive variable mapping in subquery decorrelation.

Change-Id: I7092dd2fa7c9193ff919b27464854936f48261b0

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

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

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

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

    • -0
    • +0
    ./query-ASTERIXDB-1572/query-ASTERIXDB-1572.1.adm
  1. … 30 more files in changeset.
ASTERIXDB-1581: fix subquery decorrelation.

- fix concurrent modification exception;

- fix variable substitution ordering;

- fix required partitioning property for DataSourceScan;

- fix partitioning property enforcer for nested operators;

- fix recursive subplan decorrelation;

- fix CardinalityInferenceVisitor;

- add a rule to switch inner join branches;

- fix SimpleUnnestToProductRule;

- add test cases which are variants of ASTERIXDB-1581.

Change-Id: Ia2fa4b5b836eafee1975bd1164ae7c22199a4af0

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

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

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

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

    • -0
    • +1
    ./aggregate_join/aggregate_join.1.adm
    • -0
    • +5
    ./aggregate_join_external/aggregate_join_external.1.adm
  1. … 72 more files in changeset.
ASTERIXDB-1597: fix and add a regression test.

- Change the order of rule applications, let PushAggFuncIntoStandaloneAggregateRule

run after ExtractCommonExpressionsRule

Change-Id: Ifc7d757f4d0073dc00a5b2a5aca16581f12cec1d

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

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>

    • -0
    • +1
    ./query-ASTERIXDB-1597/query-ASTERIXDB-1597.1.adm
  1. … 5 more files in changeset.
ASTERIXDB-1574: improve error message.

Change-Id: Icc249c33ff0fa13394ce2aebcac937c3866ba659

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

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

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

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

    • -0
    • +1
    ./query-ASTERIXDB-1574/query-ASTERIXDB-1574.1.adm
  1. … 11 more files in changeset.
ASTERIXDB-1571: fix and add regression tests.

- also fix the left outer type propagation policy.

Change-Id: I45d6dbabdef709c9ba3cb883412301ab7fd69a85

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

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

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

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

    • -0
    • +2
    ./query-ASTERIXDB-1571-3/query-ASTERIXDB-1571-3.1.adm
    • -0
    • +2
    ./query-ASTERIXDB-1571-4/query-ASTERIXDB-1571-4.1.adm
    • -0
    • +2
    ./query-ASTERIXDB-1571/query-ASTERIXDB-1571.1.adm
  1. … 17 more files in changeset.
Add EXISTS/NOT EXISTS.

- Fixed the precedence order of NOT.

Change-Id: I7ec20753659e2de2fd65e5f858e0f73796b907d0

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

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

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

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

    • -0
    • +21
    ./exists/exists.1.adm
    • -0
    • +18
    ./not_exists/not_exists.1.adm
    • -0
    • +74
    ./relational_division/relational_division.1.adm
  1. … 66 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. … 57 more files in changeset.
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>

    • -150
    • +150
    ./decorrelate_with_unique_id/decorrelate_with_unique_id.1.adm
    • -150
    • +150
    ./gby_inline/gby_inline.1.adm
  1. … 500 more files in changeset.