Clone Tools
  • last updated 16 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[ASTERIXDB-2439][COMP] SELECT v.* should not fail if v is not an object

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- SELECT v.* should return an empty object if v is not an object

- If other projections are present in the SELECT clause

then v.* should be ignored if v is not an object

- Remove trailing whitespace in push-limit-to-primary-lookup-select.5.adm

Change-Id: I925ff19d8ee226c5db59172b4d1952be27265130

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

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
    • +26
    ./var_star_2/var_star_2.2.query.sqlpp
  1. … 6 more files in changeset.
[ASTERIXDB-2287][SQL] Support SELECT variable.* in SQL++

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Support SELECT variable.* in SQL++

- Include variables defined by LET clauses in the

output record created by SELECT *

- Add object_concat() function

- Add tests for these new features

- Fail testcase if its source directory is missing

- Fix testcases that did not run previously because

their source directories were incorrectly specified

Change-Id: I058dc0f45072a1398f6431e0c73ce680c4d8cdc7

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

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>

    • -0
    • +34
    ./from/from.4.query.sqlpp
    • -0
    • +29
    ./group_by/group_by.4.query.sqlpp
    • -0
    • +31
    ./mixed/mixed.4.query.sqlpp
    • -0
    • +75
    ./var_star/var_star.1.ddl.sqlpp
    • -0
    • +27
    ./var_star/var_star.2.update.sqlpp
    • -0
    • +30
    ./var_star/var_star.3.query.sqlpp
    • -0
    • +30
    ./var_star/var_star.4.query.sqlpp
    • -0
    • +26
    ./var_star_2/var_star_2.1.query.sqlpp
  1. … 133 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>

  1. … 311 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>

  1. … 2073 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>

  1. … 3557 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>

  1. … 2765 more files in changeset.
Support SELECT star.

- star is optional;

- a star can be mixed with other projection columns.

Change-Id: Ifa77431912670b55387fd5a722c2184341400a50

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

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
    • +76
    ./from/from.1.ddl.sqlpp
    • -0
    • +28
    ./from/from.2.update.sqlpp
    • -0
    • +32
    ./from/from.3.query.sqlpp
    • -0
    • +34
    ./group_by/group_by.1.ddl.sqlpp
    • -0
    • +24
    ./group_by/group_by.2.update.sqlpp
    • -0
    • +27
    ./group_by/group_by.3.query.sqlpp
    • -0
    • +76
    ./join/join.1.ddl.sqlpp
    • -0
    • +28
    ./join/join.2.update.sqlpp
    • -0
    • +32
    ./join/join.3.query.sqlpp
    • -0
    • +76
    ./mixed/mixed.1.ddl.sqlpp
    • -0
    • +28
    ./mixed/mixed.2.update.sqlpp
    • -0
    • +32
    ./mixed/mixed.3.query.sqlpp
    • -0
    • +76
    ./no_star/no_star.1.ddl.sqlpp
    • -0
    • +28
    ./no_star/no_star.2.update.sqlpp
    • -0
    • +32
    ./no_star/no_star.3.query.sqlpp
  1. … 16 more files in changeset.