Clone Tools
  • last updated 29 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[NO ISSUE][COMP] Fix schema computation by UnionAll

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- UnionAllOperator.recomputeSchema() is incorrect and might

produce huge variable lists for nested UNION ALL operations.

This can lead to out of memory during query compilation.

Change-Id: I62a44289cc2c43f4ba6160fa5b7638503e8733fb

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

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

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

  1. … 5 more files in changeset.
[ASTERIXDB-2713][EXT] Add CSV & TSV support for external dataset

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Add CSV support for external dataset.

- support S3

- add boolean parser to Hyracks

Change-Id: Id1790fa73461e9f4a5fb443c51c1905ac588cee6

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

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

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

  1. … 48 more files in changeset.
[NO ISSUE][COMP] Prohibit anonymous type use by CREATE DATASET

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- CREATE DATASET should not be able to use anonymous types

Change-Id: I0dcdd2684180b054ff48f0f0a8ccd6041e8bd00c

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

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

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

Reviewed-by: Hussain Towaileb <hussainht@gmail.com>

  1. … 8 more files in changeset.
[NO ISSUE][COMP] CREATE DATASET with inline type definition

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Support inline type specification in CREATE DATASET statement:

CREATE DATASET customer(cid INTEGER NOT NULL, first_name STRING) ...

- Add testcases

Change-Id: Ic88ccacd016a6144f1b05a2f79a07b2a980d9c9b

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

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

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

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

Reviewed-by: Hussain Towaileb <hussainht@gmail.com>

  1. … 17 more files in changeset.
[NO ISSUE][COMP] Support GROUPING SETS, ROLLUP, CUBE

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Implement support for GROUPING SETS, ROLLUP, CUBE in

GROUP BY clause, including GROUPING() operation

- Modify OptimizerTest to account for different variable id bases

when comparing actual query plan with expected one

- Add RQG testsuite for grouping sets and regular testcases

Change-Id: I540ae172b9904e869f89f501e192dc83f3ea2550

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

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

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

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

  1. … 118 more files in changeset.
Merge branch 'mad-hatter'

Change-Id: Ida334df2ce4eb59e6c7752b1708d1d4254068c3a

Merge branch 'gerrit/mad-hatter'

Change-Id: I1154220eecc9793cd43cfdd16da6449f2436e08b

  1. … 1 more file in changeset.
[ASTERIXDB-2689][FUN] Agg Avg: skip and warn for invalid values

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Currently, the aggregate avg function throws an exception

when an invalid (non-numeric but not null or missing) value

is encountered, this patch changes the behavior to skip

the invalid value (treat it as null) and issue a warning.

- Added test cases for serializable aggregate avg (when

using hash group by).

Change-Id: I32037e0f178a84555ac868547eed5762e980f010

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

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

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

Reviewed-by: Hussain Towaileb <hussainht@gmail.com>

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

  1. … 127 more files in changeset.
[NO ISSUE][COMP] Incorrect result with composite secondary index

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Secondary BTree index with composite key should not be chosen

if one of its key fields can be null or missing and

the query does not match all index expressions

Change-Id: Ia598df3d3fa879f8ebe5269fa1f295e1b890c8bf

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

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

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

  1. … 47 more files in changeset.
Merge branch 'gerrit/march-hare'

Change-Id: I7889131305f3a408819c0b9100316f78801d2941

  1. … 2 more files in changeset.
[NO ISSUE] Fix error message for low memory in hash join

- user model changes: no

- storage format changes: no

- interface changes: no

Change-Id: Icebdfd82beede2cd86e178e118ee2dd8e97edc77

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

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

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

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

  1. … 6 more files in changeset.
Merge branch 'gerrit/march-hare'

Change-Id: Icc16af567564affc4a6547e221131ed46481facc

  1. … 2 more files in changeset.
[ASTERIXDB-2700][*DB][RT] Fix invalid plan caused by order-by operator in a subquery

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Instead of removing a redundant sort operator from the plan, replace it with

an empty assign operator to avoid potential connection of a sort-merge connector

to another connector.

- modified RemoveUnusedAssignAndAggregateRule to excluded necessary empty

assign operators from being removed.

Change-Id: I8bc11fa046cb15fab04057086817bd400b7809c0

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

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

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

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

  1. … 8 more files in changeset.
[ASTERIXDB-2696][COMP] Incorrect result with nested subplans

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- EliminateSubplanWithInputCardinalityOneRule was

incorrectly inlining subplan inside another subplan

Change-Id: I232da4acc36e0389bfb61f728e8f2b00974053be

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

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

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

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

  1. … 5 more files in changeset.
[NO ISSUE] Cleanup function metadata

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

1. Introduce AbstractDatatypeTupleTranslator to be used

as a base class by metadata entity translators that need

to write data types

2. Align type information stored in user defined function

metadata (return and parameter types) with how types are

stored for user defined types

3. Remove 'deterministic' and 'nullcall' modifiers from metadata

for inline functions because 'nullcall' is not applicable and

'deterministic' is supposed to be inferred by the compiler

4. Introduce FunctionLanguage enum to replace string constants

Change-Id: I2054dc7b13f31f33e57dca6da6d44ab95ac9bb4f

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

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

  1. … 32 more files in changeset.
Merge branch 'gerrit/mad-hatter'

Change-Id: I1d286ff8dda0293068e565a2ae02c4d5afb2f6fb

  1. … 7 more files in changeset.
[ASTERIXDB-2690][FUN] Agg Sum: skip and warn for invalid values

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Currently, the aggregate sum function throws an exception

when an invalid (non-numeric but not null or missing) value

is encountered, this patch changes the behavior to skip

the invalid value (treat it as null) and issue a warning.

Change-Id: Ia7cde094302331d8f37670b4e6c6ce894d549154

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

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

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

Reviewed-by: Hussain Towaileb <hussainht@gmail.com>

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

  1. … 19 more files in changeset.
[ASTERIXDB-2566][TYPE][FUN] Added complete set of is_* type functions and a generic get_type function.

- user model changes: no

- storage format changes: no

- interface changes: no

details:

- Added a is_binary type function.

- Added spatial types functions: is_point, is_line, is_rectangle, is_circle, is_polygon, is_spatial

- Added temporal type functions: is_date, is_datetime, is_time, is_duration, is_interval, is_temporal

- Added a is_uuid type function.

- Added a is_multiset function.

- Added a get_type function.

Change-Id: Icee5f2de7178e27091d457d37603ee6b4c2e0629

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

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

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

Contrib: Ian Maxon <imaxon@uci.edu>

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

  1. … 68 more files in changeset.
[ASTERIXDB-2689][FUN] Make arithmetic functions return NULL on invalid arguments

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Make arithmetic functions return NULL on invalid arguments:

Functions are for: +, -, *, /, DIV, %, ^

Change-Id: I6a822e59c91d06506505597927fab93e403385d8

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

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: Ali Alsuliman <ali.al.solaiman@gmail.com>

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

  1. … 16 more files in changeset.
[ASTERIXDB-2689][FUN] Make numeric functions return NULL on invalid arguments p2

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Make numeric functions return NULL on invalid arguments.

round(num), round(num, num), trunc(num, num), round-half-to-even(num, num).

- added warning to round() function

- extracted evaluators of trunc() and round-half-to-even() to a common evaluator

- renamed checkWarnOrSetInteger() to setInteger()

Change-Id: I1ccef0740d64cce3ada8b60d3a699748e7ef8776

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

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: Ali Alsuliman <ali.al.solaiman@gmail.com>

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

  1. … 35 more files in changeset.
[ASTERIXDB-2689][FUN] Make numeric functions return NULL on invalid arguments

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Make numeric functions return NULL on invalid arguments.

Change-Id: Id26229064058c3ecbaa54ece3001d3b8980f8d8b

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

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: Ali Alsuliman <ali.al.solaiman@gmail.com>

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

  1. … 23 more files in changeset.
Merge branch 'gerrit/mad-hatter'

Change-Id: If1c03edce783ccd249d90383da938132ae654886

  1. … 11 more files in changeset.
[NO ISSUE][SQLPP] Support dataset synonyms

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Add CREATE / DROP SYNONYM statements to SQL++

- Follow synonyms when resolving dataset references

in SELECT, INSERT, UPSERT, DELETE, LOAD statements

- Add metadata dataset for synonyms: Metadata.Synonym

- Add documentation and tests

Change-Id: Idf806914664205fb186ee3da8b0cebf234266f37

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

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

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

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

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

  1. … 67 more files in changeset.
Merge branch 'gerrit/mad-hatter'

Change-Id: Ie6c8e1f55ae3f1a8efec8f207813811d9ac09a2c

  1. … 1 more file in changeset.
[ASTERIXDB-2687][RT] Issue a warning when incomparable types are compared

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Issue a warning when NULL was returned as the result of a comparison

of 2 incomparable types.

- added error/warning code 49

- refactored dot format plans generator

- removed some AQL tests that are already covered in SQL++ tests

Change-Id: Iad3127e4db775315817a7819feea6aa12e4de2ea

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

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

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

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

  1. … 39 more files in changeset.
[NO ISSUE][TEST] Consolidate sum test cases in a single folder

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Consolidated all the sum test cases into a single

folder for ease of maintainability.

- Removed empty test files and re-numbered the files.

Change-Id: I611bbbb9021ffdaea4b72450272ef3d266e265b1

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

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: Hussain Towaileb <hussainht@gmail.com>

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

  1. … 558 more files in changeset.
Merge branch 'gerrit/stabilization-f69489' into 'gerrit/mad-hatter'

Change-Id: I17edb6b03563ac527bcad39f93193067ee42a33d

  1. … 2 more files in changeset.
[ASTERIXDB-2686][RT] Delete run files eagerly

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Delete run files eagerly.

Change-Id: Idc780b44b0554bf36e2378700aae1b38b8e57353

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

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

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

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

  1. … 9 more files in changeset.
[ASTERIXDB-2683][OTH] Add tests for filters using large (>50K) in-lists.

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Added a methodology for generating a sequence number

of items that can be inserted in queries for

convenience.

- Added test cases for filters using large number

of items for in-lists.

- Added test cases for using large number of and

clauses in a single query.

Change-Id: I39f88d6faead10b106ebdc147d0f9137090d061c

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

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

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

Reviewed-by: Hussain Towaileb <hussainht@gmail.com>

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

  1. … 10 more files in changeset.
[ASTERIXDB-2667][FUN] Share code base between string functions

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- String functions concat, string_concat and string_join

now share the same code instead of each having a different

evaluator class.

- Added test cases for string_join function.

- Added support to deep missing/null checking in list

items. Now it's possible to give a deeper (list items)

missing value a higher priority over null arguments

outside a list between parameters.

Example:

somefun([1, missing], null);

It's possible to deeply check the list items first,

and hence return a missing, or only do first level check

and output would be null.

Change-Id: I41b644c6841b222d1c6c529b2f9189f42178e28c

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

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: Hussain Towaileb <hussainht@gmail.com>

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

  1. … 95 more files in changeset.