Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[ASTERIXDB-2519][COMP] Fix compiler error with range predicate

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fix compiler error (Could not infer type for variable ...)

when non-constant expressions are used in the range predicate

Change-Id: I8896e6c0743dcd5b608ebd5a5f25d3077047c789

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

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>

    • -0
    • +1
    ./range-search-open/range-search-open.2.adm
    • -0
    • +1
    ./range-search/range-search.2.adm
  1. … 5 more files in changeset.
[ASTERIXDB-2437][COMP] Ensure the index-only plan on a composite index

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Ensure the proper build of an index-only plan on a composite index

where both fields are used in the SELECT condition and only one field

is returned.

Change-Id: Idcc4cbe08323e0c6edb4a01637b2017128da1ab5

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

    • -0
    • +2
    ./btree-sidx-composite-idxonly-04/btree-sidx-composite-idxonly-04.1.adm
  1. … 7 more files in changeset.
[ASTERIXDB-2448][COMP] Fix NullPointerException in IntroduceSelectAccessMethodRule

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fixed NPE when intersecting two indexes and predicate containing

between operator:

a) If index intersection plan is not possible then exit the rule

b) Rewrite between operator into ge/le pair instead of le/le pair

Change-Id: I34d4cde6adf3785feb6a8280fcdb964a5fb72803

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

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
    • +7
    ./intersection-with-between/intersection-with-between.4.adm
  1. … 10 more files in changeset.
[NO ISSUE][COMP][RT] Rename index-only test case directory

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Rename index-only test case directories to a shorter version

not to cause issues on Windows environment.

Change-Id: I360bd650391586a0101cb2eb639c330534753112

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

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: Ian Maxon <imaxon@apache.org>

    • -2
    • +0
    ./btree-secondary-composite-index-indexonly-plan-01/btree-sidx-composite-idxonly-01.1.adm
    • -2
    • +0
    ./btree-secondary-composite-index-indexonly-plan-02/btree-sidx-composite-idxonly-02.1.adm
    • -2
    • +0
    ./btree-secondary-composite-index-indexonly-plan-03/btree-sidx-composite-idxonly-03.1.adm
    • -1
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-sidx-idxonly-01.10.adm
    • -2
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-sidx-idxonly-01.3.adm
    • -2
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-sidx-idxonly-01.4.adm
    • -2
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-sidx-idxonly-01.5.adm
    • -1
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-sidx-idxonly-01.6.adm
    • -1
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-sidx-idxonly-01.7.adm
    • -1
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-sidx-idxonly-01.8.adm
    • -1
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-sidx-idxonly-01.9.adm
    • -1
    • +0
    ./btree-secondary-index-non-indexonly-plan-01/btree-sidx-non-idxonly-01.1.adm
    • -0
    • +2
    ./btree-sidx-composite-idxonly-01/btree-sidx-composite-idxonly-01.1.adm
    • -0
    • +2
    ./btree-sidx-composite-idxonly-02/btree-sidx-composite-idxonly-02.1.adm
    • -0
    • +2
    ./btree-sidx-composite-idxonly-03/btree-sidx-composite-idxonly-03.1.adm
  1. … 329 more files in changeset.
[NO ISSUE][COMP][RT] Rename index-only test case files

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Rename index-only test case files to a shorter version

not to cause issues on Windows environment.

Change-Id: I4a4bb7b045a430bd446aed756f58af7b4c2a6eaa

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

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

    • -2
    • +0
    ./btree-secondary-composite-index-indexonly-plan-01/btree-secondary-composite-index-indexonly-plan-01.1.adm
    • -0
    • +2
    ./btree-secondary-composite-index-indexonly-plan-01/btree-sidx-composite-idxonly-01.1.adm
    • -2
    • +0
    ./btree-secondary-composite-index-indexonly-plan-02/btree-secondary-composite-index-indexonly-plan-02.1.adm
    • -0
    • +2
    ./btree-secondary-composite-index-indexonly-plan-02/btree-sidx-composite-idxonly-02.1.adm
    • -2
    • +0
    ./btree-secondary-composite-index-indexonly-plan-03/btree-secondary-composite-index-indexonly-plan-03.1.adm
    • -0
    • +2
    ./btree-secondary-composite-index-indexonly-plan-03/btree-sidx-composite-idxonly-03.1.adm
    • -1
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.10.adm
    • -2
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.3.adm
    • -2
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.4.adm
    • -2
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.5.adm
    • -1
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.6.adm
    • -1
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.7.adm
    • -1
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.8.adm
    • -1
    • +0
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.9.adm
    • -0
    • +1
    ./btree-secondary-index-indexonly-plan-01/btree-sidx-idxonly-01.10.adm
  1. … 427 more files in changeset.
[ASTERIXDB-2083][COMP][RT][IDX][SITE] Budget-Constrained Inverted index search

- user-model changes: add text.searchmemory parameter

- storage format changes: no

- interface changes: IInvertedIndexSearcher, IInPlaceInvertedIndex,

IInvertedIndexAccessor, IInvertedListCursor

IObjectFactory, IPartitionedInvertedIndex,

IIndexAccessor

Details:

- Introduce text.searchmemory parameter in the configuration

to conduct budget-constrained inverted index search to prevent

a possible OOM exception

- Remove non-standard hyracks task context from the inverted-index-search

Change-Id: Ib2b2ef7c0b8c55ef66a5322be5d97ebbbf287bf5

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

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

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

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

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

    • -0
    • +1
    ./inverted-index-ngram-edit-distance-large-data/inverted-index-ngram-edit-distance-large-data.4.adm
    • -0
    • +1
    ./inverted-index-ngram-edit-distance-large-data/inverted-index-ngram-edit-distance-large-data.5.adm
  1. … 99 more files in changeset.
[ASTERIXDB-1972][COMP][RT][TX] index-only plan

- user model changes: no

- storage format changes: no

- interface changes: IAccessMethod, ILSMIndexOperationContext,

IIndexAccessor

Details:

- Implement an index-only plan

- Add a SET option that disables the index-only plan

Change-Id: Ifd5c9ab1cf2e4bedb7d8db582441919875e74d51

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

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

    • -0
    • +2
    ./btree-secondary-composite-index-indexonly-plan-01/btree-secondary-composite-index-indexonly-plan-01.1.adm
    • -0
    • +2
    ./btree-secondary-composite-index-indexonly-plan-02/btree-secondary-composite-index-indexonly-plan-02.1.adm
    • -0
    • +2
    ./btree-secondary-composite-index-indexonly-plan-03/btree-secondary-composite-index-indexonly-plan-03.1.adm
    • -0
    • +1
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.10.adm
    • -0
    • +2
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.3.adm
    • -0
    • +2
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.4.adm
    • -0
    • +2
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.5.adm
    • -0
    • +1
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.6.adm
    • -0
    • +1
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.7.adm
    • -0
    • +1
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.8.adm
    • -0
    • +1
    ./btree-secondary-index-indexonly-plan-01/btree-secondary-index-indexonly-plan-01.9.adm
    • -0
    • +1
    ./btree-secondary-index-non-indexonly-plan-01/btree-secondary-index-non-indexonly-plan-01.1.adm
    • -0
    • +1
    ./rtree-secondary-index-indexonly-plan-01/rtree-secondary-index-indexonly-plan-01.10.adm
    • -0
    • +30
    ./rtree-secondary-index-indexonly-plan-01/rtree-secondary-index-indexonly-plan-01.11.adm
    • -0
    • +1
    ./rtree-secondary-index-indexonly-plan-01/rtree-secondary-index-indexonly-plan-01.3.adm
  1. … 410 more files in changeset.
[ASTERIXDB-2015][IDX] Introduce Primary Index Optimization Rule

- user model changes: no

- storage format changes: no

- interface changes: no

details:

This is the optimization rule that will optimize aggregation queries

when only PKs are involved. The rule will use the primary index and

replace the dataset scan or unnest-map operator.

Change-Id: I3bbb2b5e1f25e61928d73b866e91c592ce0bf954

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

    • -0
    • +1
    ./btree-sec-primary-index-01/btree-sec-primary-index-01.3.adm
    • -0
    • +1
    ./btree-sec-primary-index-02/btree-sec-primary-index-02.3.adm
    • -0
    • +1
    ./btree-sec-primary-index-03/btree-sec-primary-index-03.3.adm
    • -0
    • +1
    ./btree-sec-primary-index-04/btree-sec-primary-index-04.3.adm
  1. … 30 more files in changeset.
[ASTERIXDB-2015][IDX] Introduce Secondary Primary Index

- user model changes: yes. CREATE PRIMARY INDEX

- storage format changes: no

- interface changes: no

details:

- enable the creation of secondary primary indexes storing only PKs

- change the grammar to allow the creation of secondary primary index

- introduce a new rule to fix the outputs of the replicate operator

to match its parents in the final plan

- disallow creating an enforced index on a closed-type field

- disallow creating an index with repeating keys

Change-Id: I59725425ba7c5fe438507dc900f83eaab239d296

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

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>

    • -0
    • +10
    ./btree-sec-primary-index/btree-sec-primary-index.4.adm
  1. … 89 more files in changeset.
Change logical plan to apply filter from 2ndary index

- Changes the IntroduceLSMComponentFilterRule to

replace the constant filter value from the query to the value

carried from 2ndary index search.

- Can use 2ndary index filter even the query doens't contain

any filter related condition.

Change-Id: I0e2fe0208662e5dcd49d1a22bfb58f96533e9497

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

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

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

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

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

    • -0
    • +1
    ./intersection-with-filter/intersection.1.adm
  1. … 84 more files in changeset.
ASTERIXDB-1700: fixed multiple same type of index application error on the same field

- Fixed an issue that multiple same type of indexes can be applied for the same field.

For this situation, applying only one index will be enough.

(e.g., 2-gram and 3-gram index on the same field)

Change-Id: I450f3adb20c777d5b9a8f638e010076b9d817942

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

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

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

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

    • -0
    • +1
    ./inverted-index-ngram-edit-distance-with-two-ngram-index/inverted-index-ngram-edit-distance-with-two-ngram-index.1.adm
  1. … 6 more files in changeset.
ASTERIXDB-1186: fixed a composite primary index search issue.

- Providing only one field to a composite primary index search

now works properly by broadcasting search predicates to all nodes.

Change-Id: I0f75229ea804a02e7cacd04f7269a4907668eab0

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

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

    • -0
    • +6005
    ./btree-index-composite-key-02/btree-index-composite-key-02.3.adm
    • -0
    • +6005
    ./btree-index-composite-key-02/btree-index-composite-key-02.4.adm
  1. … 18 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>

    • -2978
    • +2978
    ./range-search-open/range-search-open.1.adm
    • -2978
    • +2978
    ./range-search/range-search.1.adm
  1. … 500 more files in changeset.
Supports Left Outer Join and Left Outer Unnest in SQL++.

- change record format to allow MISSING value for an optional field;

- support roundtrips of MISSING valued closed fields for load and insert;

- suppress fields with MISSING values in result printer;

- fix ByNameToByIndexFieldAccessRule and LoadRecordFieldsRule;

- update test queries and results.

Change-Id: Ie0caea9c1842d93541b067a1193d117af30d8dfc

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

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

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

    • -1
    • +1
    ./cust-index-age-nullable/cust-index-age-nullable.1.adm
    • -707
    • +707
    ./inverted-index-olist-edit-distance-panic/inverted-index-olist-edit-distance-panic.1.adm
    • -5
    • +5
    ./inverted-index-olist-edit-distance/inverted-index-olist-edit-distance.1.adm
  1. … 583 more files in changeset.