Clone Tools
  • last updated 10 mins ago
Constraints: committers
Constraints: files
Constraints: dates
moved files for the merge

  1. … 162 more files in changeset.
great merge - asterixdb

  1. … 555 more files in changeset.
a few optimizations: start uses point check, partition with boundaries

  1. … 1 more file in changeset.
Range partition has been updated with new tests.

  1. … 19 more files in changeset.
Update for tuple based memory iterator.

Support Change Feeds and Ingestion of Records with MetaData

This change allows feeds to perform upserts and deletes

in order to perform replication of an external data source.

The change does so by performing the following:

1. The adapter produces [PK][Record]. (Record == null --> delete)

2. The insert is replaced by an upsert operator.

Change-Id: If136a03d424970132dfb09f0dda56e160d4c0078


Reviewed-by: Yingyi Bu <>

Tested-by: Jenkins <>

  1. … 269 more files in changeset.
Coverity Fixes


- CID 68721 (#1 of 1): Useless call (USELESS_CALL)


- CID 68719 (#1 of 1): Useless call (USELESS_CALL)


- CID 68717 (#1 of 1): Unused value (UNUSED_VALUE)


- CID 68591 (#1 of 1): Missing break in switch (MISSING_BREAK)

- CID 68716 (#1 of 1): Unused value (UNUSED_VALUE)


- CID 68714 (#1 of 1): Arguments in wrong order (SWAPPED_ARGUMENTS)


- CID 68713 (#1 of 1): Dereference before null check (REVERSE_INULL)


- CID 68712 (#1 of 2): Dereference before null check (REVERSE_INULL)

- CID 68712 (#2 of 2): Dereference before null check (REVERSE_INULL)


- CID 68709 (#1 of 1): Dereference before null check (REVERSE_INULL)


- CID 68708 (#1 of 1): Resource leak on an exceptional path



- CID 68697 (#1 of 1): Resource leak (RESOURCE_LEAK)


- CID 68696 (#1 of 1): Resource leak (RESOURCE_LEAK)


- CID 68691 (#1 of 1): Resource leak (RESOURCE_LEAK)


- CID 68687 (#1 of 1): Resource leak (RESOURCE_LEAK)

Change-Id: I8927126f505481e83dd5b9e6e5ccd75bb67d8188


Tested-by: Jenkins <>

Reviewed-by: abdullah alamoudi <>

  1. … 12 more files in changeset.
name change updates from merge.

patch 9

  1. … 2 more files in changeset.
patch 8

  1. … 59 more files in changeset.
Supprt querying meta record with meta().

Change-Id: Ie65417b6baf209ca0ab413cfa4a5f7fc5156ca63


Tested-by: Jenkins <>

Reviewed-by: Till Westmann <>

  1. … 64 more files in changeset.
Add single-query-wide unique id generator.

Change-Id: I302f1547c5668250cf4801dbe26ae2aa6f455aa6


Tested-by: Jenkins <>

Reviewed-by: Till Westmann <>

  1. … 6 more files in changeset.
Fixed CreatePointDescriptor

- Fixed a typo in CreatePointDescriptor.

Change-Id: Ib2529e8cbdaf6d14b03dd27de9d8c0f8afa451f4


Tested-by: Jenkins <>

Reviewed-by: Young-Seok Kim <>

Remove Trailing Whitespace

This change removes all trailing whitespace in

java files in asterixdb

Change-Id: I32cda384f71dd5237a3c63e83c661f1cf64dc0eb


Tested-by: Jenkins <>

Reviewed-by: Till Westmann <>

  1. … 312 more files in changeset.
patch 7

    • -0
    • +43
  1. … 3 more files in changeset.
Asterix NCs Failback Support

- Allow Failed NCs to failback and takeover their partitions.

- New cluster API servlet for cluster state description.

- Remove nodeId from txn logs except remote FLUSH_LOG.

- Add partition id in UPDATE and Entity_COMMIT logs.

- Adapt remote recovery to new logs format.

- Refactor RecoveryManager and split Analysis and Redo phase.

- Spill remote recover logs to temporary file.

- Replicate files to remote replicas for partitions of interest only.

- Introduce NC active/inactive partitions concept.

- Test case for failback.

Change-Id: Id17819542d6b9c4e32647e64737c4a467b630f24


Tested-by: Jenkins <>

Reviewed-by: abdullah alamoudi <>

  1. … 92 more files in changeset.
Move to non-copy-based evaluator interfaces for all function implementations, including: - scalar functions, - aggregate functions, - running aggregate functions, - unnesting functions

Change-Id: If132857cf8d707ce96951f12ba6dd86f54aa4069


Tested-by: Jenkins <>

Reviewed-by: Till Westmann <>

  1. … 301 more files in changeset.
ASTERIXDB-1271: Revisit UUID Implementation

- Updated UUID implementation to eliminate marshalling to/from a pair

of longs, replacing with byte [].

- Eliminate all but one call to SecureRandom at init time, avoid risk

of entropy exhaustion

- Fix exceptions thrown

- Incorporate constant to represent number of bytes, String chars in

an instance of AUUID

- Split generated from parsed AUUID

- Eliminate intermediate StringBuilder construction on priting paths,

optimize imports

Change-Id: I9e90d42f6b62f80ad180dbd0c8c852db85b14173


Tested-by: Jenkins <>

Reviewed-by: abdullah alamoudi <>

Reviewed-by: Till Westmann <>

  1. … 10 more files in changeset.
patch 5

  1. … 17 more files in changeset.
patch 4

  1. … 91 more files in changeset.
ASTERIXDB-1281 - Interval format update to AQL and ADM

The new interval format takes a more generic approach to representing intervals.

Here is an example for a date interval:

interval(date("2012-01-01”), date(”2013-04-01”))

Note that the interval type is defined by the arguments to the interval expression.

Currently only date, time, and datetime types are supported for intervals. The new

format is used for ADM and AQL.

In addition to the format change, the internal byte structure of an interval has been

updated. The format looks like the following:

byte tag, T start, T end (where T is a date, time or datetime type)

Note how the tag has been moved to the front. Also with the new sturcture, an

interval is variable length, not fixed length as before.

Change-Id: I009c71b7a445d141e228ba15d56d0b6cf3c8a3f5


Tested-by: Jenkins <>

Reviewed-by: Till Westmann <>

  1. … 67 more files in changeset.
Some exception cleanup

- Use HyracksDataException and IOException for errors ingesting external

data (instead of a mixture of AlgebricksException, AsterixException, and


- Avoid unnecessary wrapping of exceptions.

- Wrap exception at boundaries (e.g. HiveRecordParser)

- ADMLexerException and ADMDataParser.ParseException extend


- Tighter exception declarations and handling for internal methods.

Change-Id: Icf9591046c44f5fa2281874ff0c98d780e741267


Tested-by: Jenkins <>

Reviewed-by: Murtadha Hubail <>

  1. … 61 more files in changeset.
Add Support for Upsert Operation

This change allows users to execute upsert commands which

couples delete if found with insert. It locks the primary

keys before doing the search ensuring consistency.

Change-Id: I8999000331795a5949d621d2dd003903e057a521


Tested-by: Jenkins <>

Reviewed-by: Till Westmann <>

  1. … 237 more files in changeset.
remove end-of-line whitespace

Change-Id: I5c0415f47d4c3a9827574fbdab949b45718d9ea4


Tested-by: Jenkins <>

Reviewed-by: Yingyi Bu <>

  1. … 135 more files in changeset.
ASTERIXDB-1277 - Updated interval desc sort to be based on end point.

The default interval sort order is now the following:

asc - start point asc, end point asc

desc - end point desc, start point desc

Change-Id: I61d00850e0bc8ebc611366b95e2aa4da07d21d55


Tested-by: Jenkins <>

Reviewed-by: Taewoo Kim <>

  1. … 16 more files in changeset.
ASTERIXDB-1261, ASTERIXDB-1274, ASTERIXDB-1275 UUID Fixes UUIDPrinter no longer has a UUID object UUIDComparator is used by AbstractComparisonEValuator Removed UUID_STRING type Added test for uuid comparator

Change-Id: Ie33dc8b02e32b3e85a3cb64ef08cb028a50f4ca0


Tested-by: Jenkins <>

Reviewed-by: Till Westmann <>

  1. … 23 more files in changeset.
patch 3

  1. … 83 more files in changeset.
ASTERIXDB-1187, ASTERIXDB-1162 and ASTERIXDB-1252 fixes, plus new internal functions

This change contains the following updates and fixes:

- New deep-equality function which also handles numeric equality,

e.g., [2.0, 2, 1.0] == [2, 2, 1].

- New internal functions for record manipulation, including add and remove fields from records

- Fixes for ASTERIXDB-1187: The RecordMergeDescriptor does not fully support

open record merge. Merging records with open fields results in "NullPointerException".

- Fixes to address issue ASTERIXDB-1162: dealing with closed or partly closed record

added to an open record field.

- Fixes issue ASTERIXDB-1252: Problems with Autogenerated Key

Change-Id: I3621ebdd71c7cd91b50d77a972ad863cea7fcbc2


Tested-by: Jenkins <>

Reviewed-by: Till Westmann <>

    • -0
    • +129
  1. … 73 more files in changeset.
First stage of external data cleanup

In this change, different parts of external data were refactored.

The goal was to make it more modular, easier to maintain and allow

higher flexibility for extension in addition to reducing code redundancy.

Change-Id: I04a8c4e494d8d1363992b6fe0bdbe6b2b3b7b767


Tested-by: Jenkins <>

Reviewed-by: Murtadha Hubail <>

  1. … 329 more files in changeset.
ASTERIXDB-54: s/IHyracksCommonContext/IHyracksTaskContext/

Change-Id: Id98f3d94e8036199dcbdbdb059c97c0f99ed9205


Tested-by: Jenkins <>

Reviewed-by: Murtadha Hubail <>

  1. … 8 more files in changeset.