Clone Tools
  • last updated 22 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[NO ISSUE][TEST] Translated old aql tests to sqlpp

-user model changes: no

-storage format changes: no

-interface changes: no

Details:

-Translated old aql tests to sqlpp and added them to queries_sqlpp

-Added new translated tests to testsuite_sqlpp.xml

Change-Id: Id73f4603898f95ccb05352ab5bc2fb193e421126

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

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

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

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

Reviewed-by: Ian Maxon <imaxon@uci.edu>

    • -0
    • +35
    ./query-ASTERIXDB-769/query-ASTERIXDB-769.1.ddl.sqlpp
    • -0
    • +52
    ./query-ASTERIXDB-769/query-ASTERIXDB-769.2.update.sqlpp
    • -0
    • +29
    ./query-ASTERIXDB-769/query-ASTERIXDB-769.3.query.sqlpp
  1. … 259 more files in changeset.
[ASTERIXDB-2050][SQL] Enforce a Semicolon After Each SQL++ Statement

- user model changes: a semicolon must be added after

every SQL++ statement.

- storage format changes: no

- interface changes: no

Details:

- Enforce a semicolon after each SQL++ statement.

- Adapt existing SQL++ test cases to new model.

Change-Id: I27e9e8fde5ff867ab569c8d443ba1522738046e3

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

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

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

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

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

    • -2
    • +2
    ./query_issue285-2/query_issue285-2.1.ddl.sqlpp
    • -2
    • +2
    ./query_issue285/query_issue285.1.ddl.sqlpp
    • -2
    • +2
    ./query_issue658/query_issue658.1.ddl.sqlpp
    • -1
    • +1
    ./query_issue849-2/query_issue849-2.1.ddl.sqlpp
    • -1
    • +1
    ./query_issue849/query_issue849.1.ddl.sqlpp
  1. … 2071 more files in changeset.
ASTERIXDB-1539: add aliases for several builtin types and builtin functions.

- tinyint for int8;

- smallint for int16;

- integer(or, int) for int32;

- bigint for int64;

- year_month_duration for year-month-duration;

- day_time_duration for day-time-duration;

- timestamp for datetime;

- double precision for double;

int8, int16, int32, int64, year-month-duration and day-time-duration

is going to be deprecated.

In addition, it

- converts underscores to hypens for SQL++ functions;

- uses "array_" prefix for builtin aggregation functions.

Change-Id: I5c4a933f9775e89c2d503d9ea1cb98c5934d1475

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

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: Yingyi Bu <buyingyi@gmail.com>

    • -2
    • +2
    ./query_issue285-2/query_issue285-2.1.ddl.sqlpp
    • -2
    • +2
    ./query_issue285/query_issue285.1.ddl.sqlpp
    • -2
    • +2
    ./query_issue658/query_issue658.1.ddl.sqlpp
    • -1
    • +1
    ./query_issue849-2/query_issue849-2.1.ddl.sqlpp
    • -1
    • +1
    ./query_issue849/query_issue849.1.ddl.sqlpp
  1. … 3555 more files in changeset.
Renaming: "table"->"dataset", "database"->"dataverse".

Change-Id: Ia80193f08651fc99341d9a8cf156d0feb6d0575f

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

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>

    • binary
    ./loj-01-core/loj-01.2.update.sqlpp
    • binary
    ./loj-01-sugar/loj-01.2.update.sqlpp
    • -4
    • +4
    ./query_issue285-2/query_issue285-2.1.ddl.sqlpp
    • binary
    ./query_issue285-2/query_issue285-2.2.update.sqlpp
    • -4
    • +4
    ./query_issue285/query_issue285.1.ddl.sqlpp
    • binary
    ./query_issue285/query_issue285.2.update.sqlpp
    • -4
    • +4
    ./query_issue658/query_issue658.1.ddl.sqlpp
    • binary
    ./query_issue658/query_issue658.2.update.sqlpp
    • -3
    • +3
    ./query_issue849-2/query_issue849-2.1.ddl.sqlpp
    • -3
    • +3
    ./query_issue849/query_issue849.1.ddl.sqlpp
  1. … 2763 more files in changeset.
Use backticks instead of double quotes for delimited identifiers in SQL++.

Change-Id: I2db58d68e8e28befa4105504c261b101fa0285af

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

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

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

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

    • binary
    ./loj-01-core/loj-01.2.update.sqlpp
    • binary
    ./loj-01-sugar/loj-01.2.update.sqlpp
    • binary
    ./query_issue285-2/query_issue285-2.2.update.sqlpp
    • binary
    ./query_issue285/query_issue285.2.update.sqlpp
    • binary
    ./query_issue658/query_issue658.2.update.sqlpp
  1. … 2128 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>

    • -0
    • +47
    ./loj-01-core/loj-01.1.ddl.sqlpp
    • binary
    ./loj-01-core/loj-01.2.update.sqlpp
    • -0
    • +32
    ./loj-01-core/loj-01.3.query.sqlpp
    • -0
    • +47
    ./loj-01-sugar/loj-01.1.ddl.sqlpp
    • binary
    ./loj-01-sugar/loj-01.2.update.sqlpp
    • -0
    • +28
    ./loj-01-sugar/loj-01.3.query.sqlpp
  1. … 580 more files in changeset.