Clone Tools
  • last updated 19 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'stabilization-f69489' into 'mad-hatter'

Change-Id: I3bcf787f56d8e9288c48d619df31cad452837ef7

    • -0
    • +17
    ./btree-composite-key-non-enforced/btree-composite-key-non-enforced-03.plan
  1. … 3 more files in changeset.
[NO ISSUE][COMP] Fix internal error with composite key index

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fixed ArrayIndexOutOfBoundsException in

BTreeAccessMethod.createIndexSearchPlan() when

there's a composite key index and a query predicate

that operates on a subset of its key fields.

E.g.

create index ... on .. (a,b,c);

select ... from ... where a = ... and c = ...

Change-Id: I87deb2537a97789b93a7174f97470b46a0558188

Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/4003

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
    • +17
    ./btree-composite-key-non-enforced/btree-composite-key-non-enforced-03.plan
  1. … 14 more files in changeset.
[ASTERIXDB-2488][COMP] Support aggregate window functions

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Implement aggregate window functions:

agg_func() OVER (frame_var AS)? (PARTITION BY ... ORDER BY ... frame_spec)

- Where agg_func is a SQL/SQL++ aggregate function

- Fix percent_rank() to always return 0 for the first tuple

- Fix ntile() to handle NULL argument

- Log query after each rewrite rule in SqlppQueryRewriter

- Implement toString() for ADayTimeDuration, fix it for AYearMonthDuration

- Add seek() method to RunFileReader

Change-Id: If0f71118a04c2dbd3462070673d52e67f076b7e1

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

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>

    • -5
    • +5
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-05.plan
    • -8
    • +8
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-05_ps.plan
    • -5
    • +5
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-06.plan
    • -8
    • +8
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-06_ps.plan
    • -5
    • +5
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-07.plan
    • -8
    • +8
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-07_ps.plan
    • -3
    • +3
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-08.plan
    • -4
    • +4
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-08_ps.plan
    • -3
    • +3
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-09.plan
    • -4
    • +4
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-09_ps.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-04.plan
    • -4
    • +4
    ./btree-index-non-enforced/btree-index-non-enforced-04_ps.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-05.plan
    • -4
    • +4
    ./btree-index-non-enforced/btree-index-non-enforced-05_ps.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-06.plan
  1. … 840 more files in changeset.
[ASTERIXDB-2286][COMP][FUN][HYR] Parallel Sort Optimization

- user model changes: yes

- storage format changes: no

- interface changes: yes

details:

- new plan for sort operation which includes sampling and

replicating the stream of data to be sorted. Sort-merge connector

is removed from the plan. The sorted result now is in multiple partitions.

- new optimization rule to check whether full parallel sort is applicable.

- new Forward operator to read the replicated sort input stream and

to receive the ouput of the sampling.

- new sequential merge connector to merge a globally ordered result residing

in multiple partitions (in addition to the connector's partition computer).

- "asterix-lang-aql/pom.xml" is changed as a result of refactoring

code related to the range map handling.

- new private sampling function to generate the range map object

(local & global functions) & their type computers.

user model changes:

- new compiler property is added to enable and disable parallel sort.

interface changes:

- "ILogicalOperatorVisitor.java" includes Forward Operator.

- "ITuplePartitionComputer.java" includes initialize() to enable partitioner

to do some initialization. FieldRangePartitionComputerFactory uses it to

pick a range map.

- "ITuplePartitionComputerFactory.java". createPartitioner() is changed to

createPartitioner(IHyracksTaskContext hyracksTaskContext). Context is needed

for transferring the range map throught the context.

Change-Id: I73e128029a46f45e6b68c23dfb9310d5de10582f

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

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
    • +56
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-05_ps.plan
    • -0
    • +56
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-06_ps.plan
    • -0
    • +56
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-07_ps.plan
    • -0
    • +58
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-08_ps.plan
    • -0
    • +58
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-09_ps.plan
    • -0
    • +48
    ./btree-index-non-enforced/btree-index-non-enforced-04_ps.plan
    • -0
    • +48
    ./btree-index-non-enforced/btree-index-non-enforced-05_ps.plan
    • -0
    • +48
    ./btree-index-non-enforced/btree-index-non-enforced-06_ps.plan
    • -0
    • +48
    ./btree-index-non-enforced/btree-index-non-enforced-07_ps.plan
    • -0
    • +48
    ./btree-index-non-enforced/btree-index-non-enforced-08_ps.plan
    • -0
    • +48
    ./btree-index-non-enforced/btree-index-non-enforced-09_ps.plan
    • -0
    • +70
    ./btree-index-non-enforced/btree-index-non-enforced-105_ps.plan
    • -0
    • +48
    ./btree-index-non-enforced/btree-index-non-enforced-10_ps.plan
    • -0
    • +50
    ./btree-index-non-enforced/btree-index-non-enforced-11_ps.plan
  1. … 344 more files in changeset.
[ASTERIXDB-2170][SQL] Fix resolution order of implicit field access

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Improved name resolution rules

- Resolve field access to the nearest variable in scope

instead of raising compile-time error

- Do not rely on type information when resolving names

- Cleanup group variable handling in GroupBy clause,

no longer use ‘with’ map for it

- Fix ByNameToByIndexFieldAccessRule to use type environment

of its input operator when analyzing its expression

- Fix ExternalGroupByPOperator to use input schema of its

aggregate function when generating runtime for that function

- Fix invalid free variable computation for GroupBy clause

Change-Id: I50bc823ff53da06507a5454b30f4f500b862d4bf

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

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

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

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

    • -5
    • +5
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-05.plan
    • -5
    • +5
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-06.plan
    • -5
    • +5
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-07.plan
    • -3
    • +3
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-08.plan
    • -3
    • +3
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-09.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-04.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-05.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-06.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-07.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-08.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-09.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-10.plan
    • -4
    • +4
    ./btree-index-non-enforced/btree-index-non-enforced-105.plan
    • -3
    • +3
    ./btree-index-non-enforced/btree-index-non-enforced-11.plan
  1. … 301 more files in changeset.
[ASTERIXDB-1975][COMP] Joins using non-enforced secondary indexes

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Added support for non-enforced indexes in IntroduceJoinAccessMethodRule

- Added testcases

Change-Id: Ibc90ebe439a9b45b72ca549ba7ee9e1881221524

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

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
    • +26
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-05.plan
    • -0
    • +26
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-06.plan
    • -0
    • +26
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-07.plan
    • -0
    • +27
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-08.plan
    • -0
    • +27
    ./btree-equi-join-non-enforced/btree-equi-join-non-enforced-09.plan
    • -0
    • +33
    ./btree-index-non-enforced/btree-index-non-enforced-105.plan
  1. … 31 more files in changeset.
Support for non-enforced secondary indexes

- Added support for non-enforced secondary BTree indexes

- Added tests

- Fixed NonTaggedDataFormat to use code-generated

runtime functions

Change-Id: I8f4abddf047e851d44a5f08fe9a210617d3cd018

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

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

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

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

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

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

    • -0
    • +22
    ./btree-index-non-enforced/btree-index-non-enforced-04.plan
    • -0
    • +22
    ./btree-index-non-enforced/btree-index-non-enforced-05.plan
    • -0
    • +22
    ./btree-index-non-enforced/btree-index-non-enforced-06.plan
    • -0
    • +22
    ./btree-index-non-enforced/btree-index-non-enforced-07.plan
    • -0
    • +22
    ./btree-index-non-enforced/btree-index-non-enforced-08.plan
    • -0
    • +22
    ./btree-index-non-enforced/btree-index-non-enforced-09.plan
    • -0
    • +22
    ./btree-index-non-enforced/btree-index-non-enforced-10.plan
    • -0
    • +23
    ./btree-index-non-enforced/btree-index-non-enforced-11.plan
  1. … 70 more files in changeset.