Clone Tools
  • last updated 14 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move merged files

    • -73
    • +0
    ./q06_forecast_revenue_change/q06_forecast_revenue_change.4.ast
  1. … 163 more files in changeset.
Rewrite SQL++ functions.

-Maps SQL function names to internal names.

-Allows SQL++ builtin functions to be case-insensitive.

-Rewrites SQL-92 global aggregates.

-Refactors SQL++ AST visitors.

-Cleans up semantics of COLL_AGG and SQL-92 AGG.

Change-Id: Idb5a7c6780669b27065b0928bec7e4700cfb53a9

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

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

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

    • -70
    • +78
    ./q06_forecast_revenue_change/q06_forecast_revenue_change.3.ast
    • -0
    • +73
    ./q06_forecast_revenue_change/q06_forecast_revenue_change.4.ast
  1. … 450 more files in changeset.
ASTERIXDB-1226: implement SQL++ core group-by semantics and syntatic sugars.

-Implmented SQL++ core group-by semantics;

-Implemented SQL++ group-by syntatic sugars for standard SQL;

-Added test cases;

-Fixed column alias rewriter;

-Fixed the variable scoping for joins.

Change-Id: I6e5477d5bf80114cfff49c8ecb163849ee55eba6

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

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

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

    • -27
    • +34
    ./nest_aggregate/nest_aggregate.3.ast
    • -37
    • +52
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.3.ast
    • -113
    • +113
    ./q02_minimum_cost_supplier/q02_minimum_cost_supplier.3.ast
    • -31
    • +37
    ./q03_shipping_priority_nt/q03_shipping_priority_nt.3.ast
    • -19
    • +35
    ./q04_order_priority/q04_order_priority.3.ast
    • -52
    • +57
    ./q05_local_supplier_volume/q05_local_supplier_volume.3.ast
    • -8
    • +8
    ./q06_forecast_revenue_change/q06_forecast_revenue_change.3.ast
    • -69
    • +75
    ./q07_volume_shipping/q07_volume_shipping.3.ast
    • -70
    • +74
    ./q08_national_market_share/q08_national_market_share.3.ast
    • -69
    • +73
    ./q09_product_type_profit_nt/q09_product_type_profit_nt.3.ast
    • -62
    • +66
    ./q10_returned_item/q10_returned_item.3.ast
    • -62
    • +66
    ./q10_returned_item_int64/q10_returned_item_int64.3.ast
    • -38
    • +44
    ./q11_important_stock/q11_important_stock.3.ast
  1. … 1949 more files in changeset.
SQL++ support in AsterixDB: 1. implemented SQL++ expression to logical plan translator; 2. refactored REST API to be agnostic of query languages; 3. disabled fuzzy join queries for SQL++ runtime tests; 4. fixed several rewriting rules.

Change-Id: I82919c4527b304325059519d819a2c30cf2902a9

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

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

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

    • -9
    • +9
    ./q04_order_priority/q04_order_priority.3.ast
    • -219
    • +219
    ./q09_product_type_profit_nt/q09_product_type_profit_nt.3.ast
    • -20
    • +18
    ./q18_large_volume_customer/q18_large_volume_customer.3.ast
    • -21
    • +19
    ./q21_suppliers_who_kept_orders_waiting/q21_suppliers_who_kept_orders_waiting.3.ast
    • -1
    • +0
    ./query-issue785-2/query-issue785-2.3.ast
  1. … 1373 more files in changeset.
SQL++ parser: 1. refactored asterix-aql to become asterix-lang-common and asterix-lang-aql, where the former is the common part for different languages; 2. added asterix-lang-sqlpp on top of asterix-lang-common; 3. ported parser tests, optimizer tests and runtime tests in asterix-app to their sql++ version, and added parser tests for all the queries.

Change-Id: Ie5af4e3b692ca017ec047a1ba3b404a51beb3a2e

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

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

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

    • -0
    • +22
    ./distinct_by/distinct_by.1.ast
    • -0
    • +1
    ./distinct_by/distinct_by.2.ast
    • -0
    • +53
    ./distinct_by/distinct_by.3.ast
    • -0
    • +9
    ./group_no_agg/group_no_agg.1.ast
    • -0
    • +1
    ./group_no_agg/group_no_agg.2.ast
    • -0
    • +25
    ./group_no_agg/group_no_agg.3.ast
    • -0
    • +58
    ./nest_aggregate/nest_aggregate.1.ast
    • -0
    • +1
    ./nest_aggregate/nest_aggregate.2.ast
    • -0
    • +139
    ./nest_aggregate/nest_aggregate.3.ast
    • -0
    • +22
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.1.ast
    • -0
    • +1
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.2.ast
    • -0
    • +218
    ./q01_pricing_summary_report_nt/q01_pricing_summary_report_nt.3.ast
    • -0
    • +102
    ./q02_minimum_cost_supplier/q02_minimum_cost_supplier.1.ast
    • -0
    • +1
    ./q02_minimum_cost_supplier/q02_minimum_cost_supplier.2.ast
    • -0
    • +755
    ./q02_minimum_cost_supplier/q02_minimum_cost_supplier.3.ast
  1. … 10209 more files in changeset.