Clone Tools
  • last updated 15 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ASTERIXDB-1148: Selectable array-wrapping of results

Introduce "wrapper-array" parameter to HTTP API which selects (for ADM and

JSON) whether to wrap the result sequence in a generated outer array. For

JSON this defaults to "true" as before. For ADM this defaults to false,

resulting in a large number of expected-results changes.

Also introduce ability to have AQL tests which provide HTTP parameters.

Change-Id: I3122f136ff9ca8a2c2268238c57bb5eddab7b27e

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

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

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

    • -0
    • +1
    ./alltypes_01-losslessjson-unwrapped/alltypes_01.1.json
    • -0
    • +2
    ./alltypes_01-wrapped/alltypes_01.1.adm
    • -101
    • +100
    ./issue238_query_1/issue238_query_1.1.adm
    • -101
    • +100
    ./issue238_query_2/issue238_query_2.1.adm
    • -3
    • +2
    ./numeric_types_01/numeric_types_01.1.adm
    • -3
    • +2
    ./numeric_types_02/numeric_types_02.1.adm
    • -2
    • +1
    ./spatial_types_01/spatial_types_01.1.adm
    • -2
    • +1
    ./spatial_types_02/spatial_types_02.1.adm
  1. … 1426 more files in changeset.
Corrected JSON output of date/time/duration types.

Change-Id: I5c37d3b5aad7f286eba1cb8cb5f05ad456a6521e

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

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

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

    • -1
    • +1
    ./alltypes_01-cleanjson/alltypes_01.1.json
    • -1
    • +1
    ./alltypes_01-losslessjson/alltypes_01.1.json
  1. … 17 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>

    • -0
    • +2
    ./alltypes_01-cleanjson/alltypes_01.1.json
    • -0
    • +2
    ./alltypes_01-losslessjson/alltypes_01.1.json
  1. … 44 more files in changeset.
- Fixed Type Casting issue - Reorganized duplicated internal class in the DelimitedDataParser and DelimitedDataParserFactory - Prevented a user from creating an inverted index on a dataset with a variable-length PK - INT64 is now the default type - Issue 852 fixed

Change-Id: I2d71e8a21da4f709c3259a3d3f678c640f9e1160

Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/192

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

Reviewed-by: Till Westmann <westmann@gmail.com>

    • -1
    • +1
    ./numeric_types_01/numeric_types_01.1.adm
  1. … 847 more files in changeset.
Add the Binary data type and corresponding helper functions to Asterix.

The binary data type is implemented as a bytearray. Its storage format

follows the String type which has 2 bytes for length and then store the

bytes contents.

Binary data will take hex("") or base64("") as the constructor method to

passing a hex string or base64 string into Asterix. For output we use

hex("") format.

The parse-[hex|base64](string) function will parse the corresponding hex

or base64 string to binary type. The print-[hex|base64](binary)

functions will print the binary to hex or base64 STRING format.

The sub-binary(binary, offset, [length]) function works the same as

substring(string, offset, [length])

The find-binary(srcbinary, targetbinary, [start-offset]) will find the

position of the targetbinary in the srcbinary.

Change-Id: I5ecf0cc115c44070fb5c1fc5b0ec12a95d4243a4

Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/175

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

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

  1. … 126 more files in changeset.
Initial support for true ADM output (content type application/x-adm).

Elimiate the JSON "results" wrapper from API calls. Rename

DisplayFormat -> OutputFormat, TEXT -> ADM. Cleaned up some output and

added some useful comments. Fixed a few latent bugs in testdriver string

comparison routines. Refactored HTTP error handling in TestsUtils. Had

to update many expected test results.

Change-Id: I2d7ead038512455b2ab7844021cb62222400447b

Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/137

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

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

Reviewed-by: Till Westmann <westmann@gmail.com>

    • -100
    • +101
    ./issue238_query_1/issue238_query_1.1.adm
    • -100
    • +101
    ./issue238_query_2/issue238_query_2.1.adm
    • -2
    • +3
    ./numeric_types_01/numeric_types_01.1.adm
    • -2
    • +3
    ./numeric_types_02/numeric_types_02.1.adm
    • -1
    • +2
    ./spatial_types_01/spatial_types_01.1.adm
    • -1
    • +2
    ./spatial_types_02/spatial_types_02.1.adm
  1. … 1078 more files in changeset.
Merged asterix_lsm_stabilization upto r1547

git-svn-id: https://asterixdb.googlecode.com/svn/trunk/asterix@1622 eaa15691-b419-025a-1212-ee371bd00084

    • -0
    • +100
    ./issue238_query_1/issue238_query_1.1.adm
    • -0
    • +100
    ./issue238_query_2/issue238_query_2.1.adm
    • -0
    • +2
    ./numeric_types_01/numeric_types_01.1.adm
    • -0
    • +2
    ./numeric_types_02/numeric_types_02.1.adm
  1. … 6206 more files in changeset.
removed some left over result files

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization@1397 eaa15691-b419-025a-1212-ee371bd00084

  1. … 32 more files in changeset.
Merge asterix_stabilization into asterix_stabilization_result_distribution.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_result_distribution@1358 eaa15691-b419-025a-1212-ee371bd00084

  1. … 107 more files in changeset.
Manually split 445 tests into DDL, Update and Query files

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_result_distribution@1323 eaa15691-b419-025a-1212-ee371bd00084

    • -0
    • +1
    ./alltypes_01/alltypes_01.1.adm
    • -0
    • +1
    ./alltypes_02/alltypes_02.1.adm
  1. … 1718 more files in changeset.
New directory structure for tests to run using REST framework.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_result_distribution@1319 eaa15691-b419-025a-1212-ee371bd00084

    • -0
    • +100
    ./issue238_query_1/issue238_query_1.1.adm
    • -0
    • +100
    ./issue238_query_2/issue238_query_2.1.adm
    • -0
    • +1
    ./lltypes_01/lltypes_01.1.adm
    • -0
    • +2
    ./numeric_types_01/numeric_types_01.1.adm
  1. … 4538 more files in changeset.
Merging new (extended) dataset access, insert, delete syntax

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization@1295 eaa15691-b419-025a-1212-ee371bd00084

  1. … 10 more files in changeset.
merged asterix_stabilization r620:1109

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_temporal_functionality@1113 eaa15691-b419-025a-1212-ee371bd00084

  1. … 1431 more files in changeset.
Reviewer:Yingyi 1) Fix issues 14, 230, 238, 239, 245 2) Simplication of ADM/Delimited parser factories. 3) Additional test cases that use simulated feeds. 4) Additional test cases for external datasets over HDFS. 5) Code refactoring in asterix-external-data module.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization@1094 eaa15691-b419-025a-1212-ee371bd00084

    • -0
    • +100
    ./issue238_query_1.adm
    • -0
    • +100
    ./issue238_query_2.adm
  1. … 124 more files in changeset.
Addressing review comments from Zach on r338 for temporal types fix. The following changes are done: - Removed the timezone information for date data type. - Refactored the parsers for date, time and duration to reuse the code between serDer and constructor. - Added comments for opaque codes. - We keep the concept of negative duration; although it is not a part in the ISO 8601 standard (but XML does), it would be used later when we need to support arithmetic operations between time instances. - Date, time and duration is updated to fail-fast if the millisecond field is more than 3 digits. - Bug fixing: missing "T" separator in ADateTime type.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_temporal_fixes@543 eaa15691-b419-025a-1212-ee371bd00084

  1. … 33 more files in changeset.
Updated the implementation of ADate and ADuration to follow the ISO8601 standard. The following changes are included: - Added new implementation of ADate: now with support to ISO8601 extended and basic representations; internal storage uses an integer as the number of days since 1970-01-01Z; negative year support (proleptic Gregorian calendar system). - Added new implementation of ADuration: ISO8601 support; now support arbitrary field value (like P120D representing 120 days); support millisecond duration; internally a duration is represented as a year-month field and a day-to-second field. - Refactored GregorianCalendarSystem implementation to move functions close to their caller (so the class is skimmed). - Refactored the ATime and ADateTime implementation to follow the same implementation pattern as ADate and ADuration.

This commit fixes issue 106, issue 107 and issue 116.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_temporal_fixes@338 eaa15691-b419-025a-1212-ee371bd00084

  1. … 35 more files in changeset.
Fix of the ATime representation and serdes according to the ISO8601

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_temporal_fixes@337 eaa15691-b419-025a-1212-ee371bd00084

  1. … 11 more files in changeset.
Refactored the ADateTime type: - Added a new interface for calendar system; - Added an implementation of the calendar system for the gregorian calendar system; - Re-implemented the ADateTime type using a millisecond-based internal representation, which fixes issue 107; - Implemented the comparison between ADateTime values based on the internal millisecond-based representation, so the comparison is processed between two long integers (Int64 eliminates the YEAR2038 problem). This fixes issue 106; - ADateTime now is ISO8601-compatible; - Updated test AQLs and their answers to have ISO8601-compatible representation of ADateTime values.

TODO:

- New issue: ADate and ATime should be updated to be ISO8601-compatible;

- More test cases.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_temporal_fixes@247 eaa15691-b419-025a-1212-ee371bd00084

  1. … 14 more files in changeset.
Added asterix project

git-svn-id: https://asterixdb.googlecode.com/svn/trunk/asterix@12 eaa15691-b419-025a-1212-ee371bd00084

  1. … 1979 more files in changeset.