Clone Tools
  • last updated a few minutes ago
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


Tested-by: Jenkins <>

Reviewed-by: Chris Hillery <>

  1. … 1440 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


Tested-by: Jenkins <>

Reviewed-by: Chris Hillery <>

  1. … 47 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


Tested-by: Jenkins <>

Reviewed-by: Yingyi Bu <>

  1. … 127 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


Tested-by: Jenkins <>

Reviewed-by: Ian Maxon <>

Reviewed-by: Till Westmann <>

  1. … 1090 more files in changeset.
Merged asterix_lsm_stabilization upto r1547

git-svn-id: eaa15691-b419-025a-1212-ee371bd00084

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

git-svn-id: eaa15691-b419-025a-1212-ee371bd00084

  1. … 1720 more files in changeset.