Clone Tools
  • last updated 19 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[ASTERIXDB-2454] Remove non-unique AQL tests (pt.1)

Change-Id: I13f676e9322f8b94e8c9686b261e8752c7100724

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

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>

    • -45
    • +0
    ./distinct_by/distinct_by.1.ddl.aql
    • -24
    • +0
    ./distinct_by/distinct_by.2.update.aql
    • -28
    • +0
    ./distinct_by/distinct_by.3.query.aql
    • -32
    • +0
    ./group_no_agg/group_no_agg.1.ddl.aql
    • -23
    • +0
    ./group_no_agg/group_no_agg.2.update.aql
    • -24
    • +0
    ./group_no_agg/group_no_agg.3.query.aql
    • -88
    • +0
    ./nest_aggregate/nest_aggregate.1.ddl.aql
    • -50
    • +0
    ./nest_aggregate/nest_aggregate.2.update.aql
    • -48
    • +0
    ./nest_aggregate/nest_aggregate.3.query.aql
    • -88
    • +0
    ./nest_aggregate2/nest_aggregate2.1.ddl.aql
    • -50
    • +0
    ./nest_aggregate2/nest_aggregate2.2.update.aql
    • -45
    • +0
    ./nest_aggregate2/nest_aggregate2.3.query.aql
    • -45
    • +0
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.1.ddl.aql
    • -24
    • +0
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.2.update.aql
    • -40
    • +0
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.3.query.aql
  1. … 3328 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
    • +45
    ./distinct_by/distinct_by.1.ddl.aql
    • -0
    • +24
    ./distinct_by/distinct_by.2.update.aql
    • -0
    • +28
    ./distinct_by/distinct_by.3.query.aql
    • -0
    • +32
    ./group_no_agg/group_no_agg.1.ddl.aql
    • -0
    • +23
    ./group_no_agg/group_no_agg.2.update.aql
    • -0
    • +24
    ./group_no_agg/group_no_agg.3.query.aql
    • -0
    • +88
    ./nest_aggregate/nest_aggregate.1.ddl.aql
    • -0
    • +50
    ./nest_aggregate/nest_aggregate.2.update.aql
    • -0
    • +48
    ./nest_aggregate/nest_aggregate.3.query.aql
    • -0
    • +88
    ./nest_aggregate2/nest_aggregate2.1.ddl.aql
    • -0
    • +50
    ./nest_aggregate2/nest_aggregate2.2.update.aql
    • -0
    • +45
    ./nest_aggregate2/nest_aggregate2.3.query.aql
    • -0
    • +45
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.1.ddl.aql
    • -0
    • +24
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.2.update.aql
    • -0
    • +40
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.3.query.aql
  1. … 4537 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>

    • -45
    • +0
    ./distinct_by/distinct_by.1.ddl.aql
    • -24
    • +0
    ./distinct_by/distinct_by.2.update.aql
    • -28
    • +0
    ./distinct_by/distinct_by.3.query.aql
    • -32
    • +0
    ./group_no_agg/group_no_agg.1.ddl.aql
    • -23
    • +0
    ./group_no_agg/group_no_agg.2.update.aql
    • -24
    • +0
    ./group_no_agg/group_no_agg.3.query.aql
    • -88
    • +0
    ./nest_aggregate/nest_aggregate.1.ddl.aql
    • -50
    • +0
    ./nest_aggregate/nest_aggregate.2.update.aql
    • -48
    • +0
    ./nest_aggregate/nest_aggregate.3.query.aql
    • -88
    • +0
    ./nest_aggregate2/nest_aggregate2.1.ddl.aql
    • -50
    • +0
    ./nest_aggregate2/nest_aggregate2.2.update.aql
    • -45
    • +0
    ./nest_aggregate2/nest_aggregate2.3.query.aql
    • -45
    • +0
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.1.ddl.aql
    • -24
    • +0
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.2.update.aql
    • -40
    • +0
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.3.query.aql
  1. … 4537 more files in changeset.
[ASTERIXDB-2272][FUN] Count character positions from 0

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Count character positions in strings, binary from 0 instead of 1

- Affects following built-in functions:

position(), regexp_position(), substr()/subtring(),

sub_binary(), find-binary()

- Introduce new configuration property “compiler.stringoffset”

for backward compatibility

compiler.stringoffset = 0 - count from 0 (new default)

compiler.stringoffset = 1 - count from 1 (backwards-compatible setting)

Change-Id: Icdb2c241983d5f592b2695ef16eae9951518d7fd

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

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

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

    • -3
    • +3
    ./q22_global_sales_opportunity/q22_global_sales_opportunity.3.query.aql
    • -2
    • +2
    ./query-issue562/query-issue562.3.query.aql
  1. … 107 more files in changeset.
Supports flexible degree of parallelism.

Detailed list of changes include:

- Add the IClusterInfoCollector interface and feed that to the compiler;

- Add the number of cores into the heartbeat;

- Add partition calculation in APIFramework;

- Fix partitioning property requirements in binary operators such as Join and UnionAll;

- Fix PushSubplanIntoGroupByRule for type propagation;

- Fix InlineLeftNtsInSubplanJoinFlatteningVisitor for the returned top join operator;

- Add unit test for partition calculation in APIFrameworkTest

- Add integration test SqlppExecutionFullParallelismIT, SqlppExecutionLessParallelismIT,

AqlExecutionFullParallelismIT, and AqlExecutionLessParallelismIT for different

parallelism settings;

- Refactor AQLExecutionTest and SqlppExecutionTest;

- Separate one cluster state test out from AqlExecutionTest.

Change-Id: If70faf52bed995c7098cc343f2fabd1b6c8d96e7

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

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

    • -0
    • +1
    ./query-issue601/query-issue601.3.query.aql
    • -1
    • +2
    ./query-issue785-2/query-issue785-2.3.query.aql
    • -0
    • +1
    ./query-issue785/query-issue785.3.query.aql
  1. … 113 more files in changeset.
ASTERIXDB-1539: add function mapping for AQL.

- allow all SQL++/AQL functions to be "_"-based;

- still accept "-"-based functions.

Change-Id: I6ab87a02c8c270535059bdec8281c72801418551

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

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

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

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

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

    • -23
    • +23
    ./q07_volume_shipping/q07_volume_shipping.3.query.aql
    • -17
    • +17
    ./q08_national_market_share/q08_national_market_share.3.query.aql
  1. … 79 more files in changeset.
Add several builtin functions.

- add functions such as greatest, least, concat(||), initcap(title),

regexp_contains, regexp_like, regexp_position, regexp_replace, ltrim,

trim, rtrim, position;

- refactor string functions;

- remove undocumented function "regexp", which is equivalent to "matches";

- remove AQL.html and SQLPP.html since they are generated in "target/".

Change-Id: I26351af22f67d66b56176f55b29a4e7ff63583f7

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

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

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

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

    • -7
    • +7
    ./q19_discounted_revenue/q19_discounted_revenue.3.query.aql
  1. … 92 more files in changeset.
ASTERIXDB-830: adds regression tests.

Change-Id: I2e352726bcac831e8024858f9a9ad49ef777d50e

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

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

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

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

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

    • -0
    • +45
    ./q01-ASTERIXDB-830/q01-ASTERIXDB-830.1.ddl.aql
    • -0
    • +24
    ./q01-ASTERIXDB-830/q01-ASTERIXDB-830.2.update.aql
    • -0
    • +43
    ./q01-ASTERIXDB-830/q01-ASTERIXDB-830.3.query.aql
  1. … 3 more files in changeset.
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
    • +1
    ./q13_customer_distribution/q13_customer_distribution.3.query.aql
    • -2
    • +2
    ./q16_parts_supplier_relationship/q16_parts_supplier_relationship.3.query.aql
  1. … 25 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>

    • -39
    • +39
    ./q05_local_supplier_volume/q05_local_supplier_volume.1.ddl.aql
    • -39
    • +39
    ./q06_forecast_revenue_change/q06_forecast_revenue_change.1.ddl.aql
    • -38
    • +38
    ./q07_volume_shipping/q07_volume_shipping.1.ddl.aql
    • -38
    • +38
    ./q08_national_market_share/q08_national_market_share.1.ddl.aql
    • -38
    • +38
    ./q09_product_type_profit_nt/q09_product_type_profit_nt.1.ddl.aql
    • -38
    • +38
    ./q10_returned_item/q10_returned_item.1.ddl.aql
    • -38
    • +38
    ./q10_returned_item_int64/q10_returned_item_int64.1.ddl.aql
    • -38
    • +38
    ./q12_shipping/q12_shipping.1.ddl.aql
    • -38
    • +38
    ./q14_promotion_effect/q14_promotion_effect.1.ddl.aql
    • -38
    • +38
    ./q17_small_quantity_order_revenue/q17_small_quantity_order_revenue.1.ddl.aql
    • -38
    • +38
    ./q19_discounted_revenue/q19_discounted_revenue.1.ddl.aql
    • -38
    • +38
    ./q20_potential_part_promotion/q20_potential_part_promotion.1.ddl.aql
    • -38
    • +38
    ./q22_global_sales_opportunity/q22_global_sales_opportunity.1.ddl.aql
    • -10
    • +10
    ./query-issue638/query-issue638.1.ddl.aql
    • -3
    • +3
    ./query-issue785/query-issue785.3.query.aql
  1. … 441 more files in changeset.