Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Range partition has been updated with new tests.

    • -37
    • +72
    ./nontagged/AqlBinaryComparatorFactoryProvider.java
  1. … 27 more files in changeset.
Improve Error Handling in Local Directory Feeds

This change improves handling of two error types for filesystem

based feeds. The first one is the handling of IO Errors which

causes the input stream to be closed, and the second one is

reacting to missed filesystem events. In both cases, we scan the

directory and compare it with the history we have in order to

resume from where we last left off.

In addition, this change includes some refactoring in external

data. Particularly, we get rid of the stream provider layer and

instead, stream factories create input streams directly. This

is consistent with record reader factories which create readers

directly without reader providers.

Change-Id: I08d89229e33c91532b1038ba9f7a372f7ca1fdb5

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

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

Reviewed-by: Murtadha Hubail <hubailmor@gmail.com>

    • -0
    • +9
    ./nontagged/AqlSerializerDeserializerProvider.java
  1. … 144 more files in changeset.
Remove Trailing Whitespace

This change removes all trailing whitespace in

java files in asterixdb

Change-Id: I32cda384f71dd5237a3c63e83c661f1cf64dc0eb

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

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

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

    • -1
    • +1
    ./nontagged/AqlBinaryIntegerInspector.java
  1. … 326 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

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

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

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

  1. … 315 more files in changeset.
IPrinters and IAWriters throw HyracksDataException

instead of AlgebricksException (which should be used at compile-time)

Change-Id: I39b3c8bbe3935255afffc49ce8847db66b4abeb1

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

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

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

    • -1
    • +1
    ./nontagged/AqlADMPrinterFactoryProvider.java
    • -3
    • +4
    ./nontagged/AqlCSVPrinterFactoryProvider.java
    • -1
    • +1
    ./nontagged/AqlCleanJSONPrinterFactoryProvider.java
    • -1
    • +1
    ./nontagged/AqlLosslessJSONPrinterFactoryProvider.java
  1. … 122 more files in changeset.
patch 5

    • -7
    • +0
    ./nontagged/AqlBinaryComparatorFactoryProvider.java
  1. … 20 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

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

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

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

    • -3
    • +1
    ./nontagged/AqlBinaryBooleanInspectorImpl.java
    • -3
    • +6
    ./nontagged/AqlBinaryTokenizerFactoryProvider.java
  1. … 250 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

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

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

Reviewed-by: Taewoo Kim <wangsaeu@gmail.com>

    • -2
    • +13
    ./nontagged/AqlBinaryComparatorFactoryProvider.java
  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

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

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

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

    • -1
    • +0
    ./nontagged/AqlADMPrinterFactoryProvider.java
    • -1
    • +0
    ./nontagged/AqlCSVPrinterFactoryProvider.java
    • -1
    • +0
    ./nontagged/AqlCleanJSONPrinterFactoryProvider.java
    • -1
    • +0
    ./nontagged/AqlLosslessJSONPrinterFactoryProvider.java
    • -9
    • +5
    ./nontagged/AqlSerializerDeserializerProvider.java
  1. … 19 more files in changeset.
patch 3

    • -6
    • +40
    ./nontagged/AqlBinaryComparatorFactoryProvider.java
  1. … 97 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

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

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

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

    • -5
    • +5
    ./nontagged/AqlSerializerDeserializerProvider.java
  1. … 84 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

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

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

Reviewed-by: Murtadha Hubail <hubailmor@gmail.com>

  1. … 343 more files in changeset.
patch 1

    • -0
    • +28
    ./nontagged/AqlBinaryComparatorFactoryProvider.java
  1. … 89 more files in changeset.
ASTERIXDB-1198: make ISerializerDeserializer implementations in AsterixDB stateless.

Change-Id: I808b6583db6b48a0e9000dcf0ac88c03c336c3a5

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

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

Reviewed-by: Jianfeng Jia <jianfeng.jia@gmail.com>

    • -5
    • +5
    ./nontagged/AqlSerializerDeserializerProvider.java
  1. … 64 more files in changeset.
Clean up asterix-om to eliminate compilation warnings.

Change-Id: Ib1c562d087097d9cc749f1e04f1f06106c7f1625

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

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

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

  1. … 44 more files in changeset.
ASTERIXDB-1102: VarSize Encoding to store length of String and ByteArray

This patch is to change the encoding format that stores the length value

of

the variable length type (e.g. String, ByteArray) from fix-size encoding

(2bytes) to variable-size encoding ( 1 to 5bytes)

It will solve the issue 1102 to enable us to store a String that longer

than 64K. Also for the common case of storing the short string ( <=

127), it will save one byte per string.

Some important changes include:

1. The UTF8StringSerDer and ByteArraySerDer is not Singleton instance

any more. I need some state to speedup the serialization and avoid the

object creatation. Luckily, 99% percent of Serializer were used as

factory way. The other 1% has been fixed.

A separate Test support, the ExcutionTest now can produce the only.xml

which stores the previous failed runtime test.xml. It can speedup the

debug process.

Change-Id: I41fff780f5c071742ef10129d83c8f945d5886d7

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

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

Reviewed-by: Jianfeng Jia <jianfeng.jia@gmail.com>

    • -0
    • +1
    ./nontagged/AqlBinaryComparatorFactoryProvider.java
    • -0
    • +1
    ./nontagged/AqlBinaryHashFunctionFactoryProvider.java
    • -0
    • +1
    ./nontagged/AqlBinaryTokenizerFactoryProvider.java
    • -3
    • +3
    ./nontagged/AqlSerializerDeserializerProvider.java
    • -51
    • +0
    ./nontagged/NGramUTF8StringBinaryTokenizerFactory.java
    • -106
    • +0
    ./nontagged/UTF8StringLowercasePointable.java
  1. … 317 more files in changeset.
Change License Headers

Also tweak the NOTICE file with some extras.

Change-Id:I09bc388089e515d7f51fd39c31bfbbc9f00cf84f

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

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

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

    • -10
    • +14
    ./nontagged/AqlBinaryBooleanInspectorImpl.java
    • -10
    • +14
    ./nontagged/AqlBinaryComparatorFactoryProvider.java
    • -10
    • +14
    ./nontagged/AqlBinaryHashFunctionFactoryProvider.java
    • -10
    • +14
    ./nontagged/AqlBinaryHashFunctionFamilyProvider.java
    • -10
    • +14
    ./nontagged/AqlBinaryIntegerInspector.java
    • -10
    • +14
    ./nontagged/AqlBinaryTokenizerFactoryProvider.java
    • -10
    • +14
    ./nontagged/AqlCSVPrinterFactoryProvider.java
    • -10
    • +14
    ./nontagged/AqlJSONPrinterFactoryProvider.java
    • -10
    • +14
    ./nontagged/AqlLinearizeComparatorFactoryProvider.java
    • -10
    • +14
    ./nontagged/AqlNormalizedKeyComputerFactoryProvider.java
    • -10
    • +14
    ./nontagged/AqlPredicateEvaluatorFactoryProvider.java
    • -10
    • +14
    ./nontagged/AqlPrinterFactoryProvider.java
    • -10
    • +14
    ./nontagged/AqlSerializerDeserializerProvider.java
    • -10
    • +14
    ./nontagged/AqlTypeTraitProvider.java
  1. … 2004 more files in changeset.
Change Java package from edu.uci.ics to org.apache

Change-Id: I2f01d2b5614e9e9c94fda4bf1294a8eba6a26c54

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

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

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

    • -6
    • +6
    ./nontagged/AqlBinaryBooleanInspectorImpl.java
    • -30
    • +30
    ./nontagged/AqlBinaryComparatorFactoryProvider.java
    • -10
    • +10
    ./nontagged/AqlBinaryHashFunctionFactoryProvider.java
    • -5
    • +5
    ./nontagged/AqlBinaryHashFunctionFamilyProvider.java
    • -6
    • +6
    ./nontagged/AqlBinaryIntegerInspector.java
    • -11
    • +11
    ./nontagged/AqlBinaryTokenizerFactoryProvider.java
    • -35
    • +35
    ./nontagged/AqlCSVPrinterFactoryProvider.java
    • -40
    • +40
    ./nontagged/AqlJSONPrinterFactoryProvider.java
    • -11
    • +11
    ./nontagged/AqlLinearizeComparatorFactoryProvider.java
    • -12
    • +12
    ./nontagged/AqlNormalizedKeyComputerFactoryProvider.java
    • -7
    • +7
    ./nontagged/AqlPredicateEvaluatorFactoryProvider.java
    • -40
    • +40
    ./nontagged/AqlPrinterFactoryProvider.java
    • -43
    • +43
    ./nontagged/AqlSerializerDeserializerProvider.java
  1. … 2590 more files in changeset.
Change folder structure for Java repackage

Change only the folders, not the files, for our package name change.

This will break the build, and needs to be followed by a change to

the package name in all of the source files. However performing

the folder move and file change in two steps lets Git understand

that the files are the same, and lets us track revisions across

those files.

Change-Id: Iefd2a576415ebc1416cba2a3334d2b64f042ba92

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

Tested-by: Ian Maxon <imaxon@apache.org>

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

    • -0
    • +93
    ./base/IDataFormat.java
    • -0
    • +50
    ./nontagged/AqlBinaryBooleanInspectorImpl.java
    • -0
    • +222
    ./nontagged/AqlBinaryComparatorFactoryProvider.java
    • -0
    • +62
    ./nontagged/AqlBinaryHashFunctionFactoryProvider.java
    • -0
    • +44
    ./nontagged/AqlBinaryHashFunctionFamilyProvider.java
    • -0
    • +41
    ./nontagged/AqlBinaryIntegerInspector.java
    • -0
    • +89
    ./nontagged/AqlBinaryTokenizerFactoryProvider.java
    • -0
    • +145
    ./nontagged/AqlCSVPrinterFactoryProvider.java
    • -0
    • +150
    ./nontagged/AqlJSONPrinterFactoryProvider.java
    • -0
    • +99
    ./nontagged/AqlLinearizeComparatorFactoryProvider.java
    • -0
    • +99
    ./nontagged/AqlNormalizedKeyComputerFactoryProvider.java
    • -0
    • +78
    ./nontagged/AqlPredicateEvaluatorFactoryProvider.java
    • -0
    • +151
    ./nontagged/AqlPrinterFactoryProvider.java
    • -0
    • +215
    ./nontagged/AqlSerializerDeserializerProvider.java
    • -0
    • +101
    ./nontagged/AqlTypeTraitProvider.java
  1. … 3781 more files in changeset.
Almost full support for clean JSON, plus some lossless JSON fixes

Clean JSON correctly supports all numeric and spatial types, plus hex and uuid.

Lossless JSON correctly supports uuid and hex, and "circle" is correct now.

Date/time types remain unfixed for both JSON formats.

Change-Id: I5c37d3b5aad7f286eba1cb8cb5f05ad456a6521d

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

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

Reviewed-by: Chris Hillery <ceej@lambda.nu>

    • -1
    • +1
    ./nontagged/AqlCleanJSONPrinterFactoryProvider.java
    • -1
    • +1
    ./nontagged/AqlLosslessJSONPrinterFactoryProvider.java
  1. … 46 more files in changeset.
Adding 'cleanjson' output format, along with implementation of lists.

Also includes test-framework update to allow testing of cleanjson.

Change-Id: I5c37d3b5aad7f286eba1cb8cb5f05ad456a6521c

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

Reviewed-by: Ian Maxon <imaxon@apache.org>

Tested-by: Ian Maxon <imaxon@apache.org>

    • -0
    • +154
    ./nontagged/AqlCleanJSONPrinterFactoryProvider.java
    • -154
    • +0
    ./nontagged/AqlJSONPrinterFactoryProvider.java
    • -0
    • +154
    ./nontagged/AqlLosslessJSONPrinterFactoryProvider.java
  1. … 179 more files in changeset.
Move ADM-specific printers and related classes into .adm packages.

Change-Id: I5c37d3b5aad7f286eba1cb8cb5f05ad456a6521b

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

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

Reviewed-by: Ian Maxon <imaxon@apache.org>

    • -0
    • +155
    ./nontagged/AqlADMPrinterFactoryProvider.java
    • -2
    • +2
    ./nontagged/AqlCSVPrinterFactoryProvider.java
    • -3
    • +3
    ./nontagged/AqlJSONPrinterFactoryProvider.java
    • -155
    • +0
    ./nontagged/AqlPrinterFactoryProvider.java
  1. … 135 more files in changeset.