Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge commit 'aa7ff7b' from 'gerrit/mad-hatter'

Change-Id: Ibfc874ca45692420fb86038537d10e172894730a

  1. … 19 more files in changeset.
Merge commit 'f1cd417' from 'gerrit/mad-hatter'

Change-Id: I0f30399a6485708f4b154af09ea36377fe4d3dbf

  1. … 10 more files in changeset.
Merge commit '4bf7048' from 'gerrit/mad-hatter'

Change-Id: I06432e8daa1669862d1f23a04efdfec5b1e6d7b5

  1. … 3 more files in changeset.
[ASTERIXDB-2731][API] GET is not supported for the query service servlet

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Remove the restriction of only supporting POST requests in the query service servlet

while maintaining that GET requests cannot change the state of the system

(i.e. no modifying statements can be evaluated when using the GET method).

Change-Id: I989ff489d863697808cdc26898a52b867a9621d6

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

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

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

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

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

  1. … 16 more files in changeset.
Merge commit '3e2623cf64827e891ecd8c6dea13d03f5599c6a5' into HEAD

Change-Id: I89091d8bf8575c73d26f497d5fbffe780adbedf9

  1. … 8 more files in changeset.
Merge commit 'bc0f7e0' from branch 'gerrit/mad-hatter'

Change-Id: I629850e0f6ac7e1afae3fb5c6e1f1f859b2ead72

  1. … 19 more files in changeset.
[NO ISSUE][COMP] Range scan on a prefix of a composite key

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fixed an issue with range scan on a prefix of a composite

key not using both bounds to probe the index

Change-Id: I35fb979191b254857211da5c0ec28bae4a370ba8

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

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

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

  1. … 7 more files in changeset.
[NO ISSUE][COMP] Extract SQL aggregates from CASE expressions

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Extracts SQL-92 aggregate functions from CASE/IF expressions

into LET clauses, so they can be pushed into GROUPBY subplans

by the optimizer

- Refactor AbstractSqlppExpressionExtractionVisitor to improve

its extensibility

Change-Id: Ia1ae879e845bac5656749966ca57054cbfce6df6

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

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

  1. … 16 more files in changeset.
[NO ISSUE][COMP] Fix AbstractIntroduceGroupByCombinerRule

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- AbstractIntroduceGroupByCombinerRule did not always

restore the plan to its original state when failing

Change-Id: I9cada7f324a271ff017c64b69326b9d4a1a32a85

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

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

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

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

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

- user model changes: no

- storage format changes: no

- interface changes: yes

IRecordDataParser, IRecordReader, IRecordConverter

Details:

- record parser:

- delimited-data (CSV/TSV) parser: ignore and warn for invalid records.

- other parses: continue to use their existing behaviour.

- stream parser:

continue to use their existing behaviour.

- fixes:

- fixed S3 stream read() to properly advance to next files and also

to notify consumers to handle properties like header properly.

- fixed localfs stream read() when reached end of current file

and notifying of a new file source.

- extracted the read() of both streams since now they are identical.

- report file, record number and field number in warnings of parser

- propagate stream name to parsers that need report stream name

- add test cases

Change-Id: Ie1ba545d753d8afef9cef4e290e058019a465201

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

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

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

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

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

  1. … 144 more files in changeset.
[NO ISSUE][COMP] Fix issues in PushSelectIntoJoinRule

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Properly track whether the rewriting had happened and report

this to the rule controller

- Do not push condition into the join condition of a left outer join

- Do not push condition into a right branch of a left outer join

- Add tests for the above cases

Change-Id: Ic2f0c8d5ac885f1da3d4e6bafa9fcd14c098a89f

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

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>

  1. … 11 more files in changeset.
[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.