asterixdb

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[NO ISSUE][*DB][CLUS] Ensure registering node is authorized

Change-Id: I1c47e8e7934b87b758b32e186b613b33d852066d

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

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

Tested-by: Michael Blow <mblow@apache.org>

Reviewed-by: Michael Blow <mblow@apache.org>

Merge branch 'gerrit/march-hare'

Change-Id: I8cf1c05b71b92125d1fda34823158c4f3cbaedd1

Merge branch 'gerrit/mad-hatter'

Change-Id: I7490beb22c002cba1515a5bbcf6267208a44e117

Revert "[NO ISSUE][RT] Profiling fixes"

This reverts commit c775dd9d2c01a66b9f2da8447c75400bac6ddf90.

Reason for revert: makes CB test hang now?

Change-Id: I64a67157d2485741edb7cc2890ae80ab84c70ee5

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

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: Michael Blow <mblow@apache.org>

[ASTERIXDB-2693] CREATE FUNCTION/ADAPTER ddl

- don't map UDFs on upload with descriptor

- UDFs get mapped via CREATE FUNCTION/ADAPTER after UDF payload is

uploaded

- add Library metadata catalog

Change-Id: Ic3c1e98c183cd214eea3e4fee24b2b7c46166b32

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

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. … 186 more files in changeset.
[NO ISSUE][RT] Add ability to store sensitive info to coordination service

Change-Id: If63443171139c0153d6b9d71c1991311f2335e14

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

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

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

Reviewed-by: Michael Blow <mblow@apache.org>

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

Merge branch 'gerrit/mad-hatter'

Change-Id: I1d286ff8dda0293068e565a2ae02c4d5afb2f6fb

[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. … 5 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. … 54 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>

[NO ISSUE][COMP] Drop synonyms in MetadataNode

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Move code that drops synonyms when their dataverse

is deleted from QueryTranslator to MetadataNode

Change-Id: I97233a6c264d058166d5029d396bcfc539b4d35b

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

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

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

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

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

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

[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. … 21 more files in changeset.
[NO ISSUE][COMP] Minor MetadataProvider refactoring

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Add MetadataProvider.findSynonym() method

Change-Id: Idc7e0fa83da05b2892acbd786154acea7f2f4cd0

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

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

[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. … 9 more files in changeset.
Merge branch 'gerrit/mad-hatter'

Change-Id: If1c03edce783ccd249d90383da938132ae654886

Merge branch 'gerrit/stabilization-f69489'

Change-Id: Ic49fc22902c43b4043b207351ee0dd9e4a9232d7

[NO ISSUE][NET] Utilize unresolved NC reg address

Follow on change to https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/4643

which correctly consumes the unresolved NC registration addresses

made available in the previous change.

Change-Id: I316a37cc92da2f4bbb8990a3f0a43dd36095c47f

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

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

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

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

Merge branch 'gerrit/stabilization-f69489'

Change-Id: I5b75e79a5dbe74314fec8b9ef7734a792ca5731c

[NO ISSUE][COMP] Minor QueryTranslator refactoring

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Allow product extensions to override

  QueryTranslator.validateStatements()

Change-Id: Ib04f09df6f8073ca3e146e7eb73d6cd703c01641

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

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: Michael Blow <mblow@apache.org>

[NO ISSUE][NET] Use unresolved address on NC reg

When NCs are configured with a public cluster address, this address

should not be resolved on the NC but rather on the CC. Depending on

the network configuration, the public address may resolve differently

on the CC.

This change maintains backwards compatibility with old NCs or CCs

Change-Id: I8fb2a40a8407c985eb174d09c2b7bb59949812f2

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

Reviewed-by: Michael Blow <mblow@apache.org>

Tested-by: Michael Blow <mblow@apache.org>

[ASTERIXDB-2688][HYR] Fix use of a Hyracks task across join stages

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

In hash join, a task from the build stage is being used in the probe stage.

This is a problem since such tasks have already finished and notified the CC they are done.

One observed issue is related to issuing a warning in the probe phase where some warnings are

not reported because they are issued to tasks that have finished (the way this happened is that

a comparator was created in the build phase using the build-phase task. Then, this comparator

was used in the probe phase and issued a warning).

- make IHyracksJobletContext extend IHyracksCommonContext so that it is also a frame manager context

- make activites of join operators use the joblet context instead of the task context for acquiring buffers

- create the probe-to-build comparator in the probe phase so that the right task is used in the comparator

Change-Id: I38a4a779b9620494f15606162f0f1e9487fd0984

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

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

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

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

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

Contrib: Michael Blow <mblow@apache.org>

[NO ISSUE][NET] Ensure Channel Was Not Recycled Before Adding Credit

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Before attempting to add credit to an existing channel,

ensure the channel slot was not recycled and reused by a

new channel. Without this, some additional credit might

erroneously be added to the new channel.

Change-Id: I0a5ec70ad4c2568477fac9eb98c030fc3d8b1ce9

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

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

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

Reviewed-by: Michael Blow <mblow@apache.org>

Contrib: Michael Blow <mblow@apache.org>

[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. … 53 more files in changeset.
Merge branch 'gerrit/mad-hatter'

Change-Id: Ie6c8e1f55ae3f1a8efec8f207813811d9ac09a2c

[NO ISSUE] Address serialVersionUID issues

- add missing serialVersionUIDs where applicable

- add @SuppressWarnings("serial") for serializable types which are never

actually serialized

Change-Id: Ic38d33b8020c3261bda4ebb0b273b26c40fef26f

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

Reviewed-by: Michael Blow <mblow@apache.org>

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

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

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

  1. … 5 more files 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. … 25 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. … 544 more files in changeset.
[NO ISSUE][TEST] Canonicalize file outputs in test framework

Change-Id: Ib707c5426d2f5b9f8b285e19a2eacddc091ce57a

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

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

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

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

Merge branch 'gerrit/stabilization-f69489' into 'gerrit/mad-hatter'

Change-Id: I17edb6b03563ac527bcad39f93193067ee42a33d

[NO ISSUE][OTH] Convert string-equal-public test to single query

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Convert string-equal-public test to single query

to avoid random failure on the cancellation test

due to having multiple queries in a single file.

Change-Id: I99ab027caeb028e22842b04c3dd401d95b285a2e

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

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