http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert-into-loaded-dataset_01/insert-into-loaded-dataset_01.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert-into-loaded-dataset_01/insert-into-loaded-dataset_01.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert-into-loaded-dataset_01/insert-into-loaded-dataset_01.2.update.aql index 247a170..42c8f18 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert-into-loaded-dataset_01/insert-into-loaded-dataset_01.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert-into-loaded-dataset_01/insert-into-loaded-dataset_01.2.update.aql @@ -18,7 +18,7 @@ */ use dataverse test; -load dataset LineID +load dataset LineID using localfs (("path"="asterix_nc1://data/tpch0.001/lineitem_0.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted; @@ -27,9 +27,9 @@ let $x:=1 let $y:=2 let $z:=3 return { - "l_orderkey": $x, - "l_linenumber": $y, - "l_suppkey": $z + "l_orderkey": $x, + "l_linenumber": $y, + "l_suppkey": $z } ); @@ -38,9 +38,9 @@ let $x:=2 let $y:=3 let $z:=4 return { - "l_orderkey": $x, - "l_linenumber": $y, - "l_suppkey": $z + "l_orderkey": $x, + "l_linenumber": $y, + "l_suppkey": $z } );
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert-record-function/insert-record-function.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert-record-function/insert-record-function.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert-record-function/insert-record-function.2.update.aql index 9cf4b07..89b6db7 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert-record-function/insert-record-function.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert-record-function/insert-record-function.2.update.aql @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : insert-into-empty-dataset.aql - * Description : Check that we can insert into an empty dataset + * Description : Check that we can insert into an empty dataset * Expected Result : Success * Date : May 2 2012 */ @@ -30,9 +30,9 @@ let $x:=1 let $y:=2 let $z:=3 return { - "l_orderkey": $x, - "l_linenumber": $y, - "l_suppkey": $z + "l_orderkey": $x, + "l_linenumber": $y, + "l_suppkey": $z } ); @@ -41,9 +41,9 @@ let $x:=2 let $y:=3 let $z:=4 return { - "l_orderkey": $x, - "l_linenumber": $y, - "l_suppkey": $z + "l_orderkey": $x, + "l_linenumber": $y, + "l_suppkey": $z } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert/insert.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert/insert.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert/insert.2.update.aql index 8250081..a154888 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert/insert.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert/insert.2.update.aql @@ -18,22 +18,22 @@ */ use dataverse test; -load dataset LineItem +load dataset LineItem using localfs (("path"="asterix_nc1://data/tpch0.001/lineitem.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted; -load dataset LineID +load dataset LineID using localfs (("path"="asterix_nc1://data/tpch0.001/lineitem_0.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted; insert into dataset LineID ( for $l in dataset('LineItem') - where $l.l_orderkey<10 - return { - "l_orderkey": $l.l_orderkey, - "l_linenumber": $l.l_linenumber, - "l_suppkey": $l.l_partkey - } + where $l.l_orderkey<10 + return { + "l_orderkey": $l.l_orderkey, + "l_linenumber": $l.l_linenumber, + "l_suppkey": $l.l_partkey + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert_less_nc/insert_less_nc.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert_less_nc/insert_less_nc.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert_less_nc/insert_less_nc.2.update.aql index 86caa69..d4cd11b 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert_less_nc/insert_less_nc.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/insert_less_nc/insert_less_nc.2.update.aql @@ -18,21 +18,21 @@ */ use dataverse test; -load dataset LineItem +load dataset LineItem using localfs (("path"="asterix_nc1://data/tpch0.001/lineitem.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted; -load dataset LineID +load dataset LineID using localfs (("path"="asterix_nc1://data/tpch0.001/lineitem_0.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted; insert into dataset LineID ( for $l in dataset('LineItem') - where $l.l_orderkey<1000 - return { - "l_orderkey": $l.l_orderkey, - "l_linenumber": $l.l_linenumber, - "l_suppkey": $l.l_partkey - } + where $l.l_orderkey<1000 + return { + "l_orderkey": $l.l_orderkey, + "l_linenumber": $l.l_linenumber, + "l_suppkey": $l.l_partkey + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-index-open/load-with-index-open.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-index-open/load-with-index-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-index-open/load-with-index-open.2.update.aql index 90dfe43..44edb07 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-index-open/load-with-index-open.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-index-open/load-with-index-open.2.update.aql @@ -18,11 +18,11 @@ */ use dataverse test; -load dataset LineItem +load dataset LineItem using localfs (("path"="asterix_nc1://data/tpch0.001/lineitem.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted; insert into dataset test.LineItemOpen ( - for $x in dataset test.LineItem - return $x + for $x in dataset test.LineItem + return $x ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-ngram-index-open/load-with-ngram-index-open.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-ngram-index-open/load-with-ngram-index-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-ngram-index-open/load-with-ngram-index-open.2.update.aql index dc03eaf..b174592 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-ngram-index-open/load-with-ngram-index-open.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-ngram-index-open/load-with-ngram-index-open.2.update.aql @@ -22,6 +22,6 @@ load dataset DBLP using localfs (("path"="asterix_nc1://data/dblp-small/dblp-small-id.txt"),("format"="delimited-text"),("delimiter"=":")) pre-sorted; insert into dataset test.DBLPOpen ( - for $x in dataset test.DBLP - return $x + for $x in dataset test.DBLP + return $x ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-rtree-index-open/load-with-rtree-index-open.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-rtree-index-open/load-with-rtree-index-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-rtree-index-open/load-with-rtree-index-open.2.update.aql index 737c0d8..97602cb 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-rtree-index-open/load-with-rtree-index-open.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-rtree-index-open/load-with-rtree-index-open.2.update.aql @@ -18,11 +18,11 @@ */ use dataverse test; -load dataset MyData +load dataset MyData using localfs (("path"="asterix_nc1://data/spatial/spatialData.json"),("format"="adm")) pre-sorted; insert into dataset test.MyDataOpen ( - for $x in dataset test.MyData - return $x + for $x in dataset test.MyData + return $x ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-word-index-open/load-with-word-index-open.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-word-index-open/load-with-word-index-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-word-index-open/load-with-word-index-open.2.update.aql index dc03eaf..b174592 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-word-index-open/load-with-word-index-open.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/load-with-word-index-open/load-with-word-index-open.2.update.aql @@ -22,6 +22,6 @@ load dataset DBLP using localfs (("path"="asterix_nc1://data/dblp-small/dblp-small-id.txt"),("format"="delimited-text"),("delimiter"=":")) pre-sorted; insert into dataset test.DBLPOpen ( - for $x in dataset test.DBLP - return $x + for $x in dataset test.DBLP + return $x ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o-recursive/opentype-c2o-recursive.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o-recursive/opentype-c2o-recursive.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o-recursive/opentype-c2o-recursive.2.update.aql index 7fcc2fa..25a4c74 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o-recursive/opentype-c2o-recursive.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o-recursive/opentype-c2o-recursive.2.update.aql @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-o2c-recursive.aql - * Description : verify the static casting of nest record constants + * Description : verify the static casting of nest record constants * Expected Result : Success */ @@ -41,7 +41,7 @@ insert into dataset testds ( ); insert into dataset testds2 ( - for $d in dataset("testds") - return $d + for $d in dataset("testds") + return $d ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.1.ddl.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.1.ddl.aql index 55c3eb4..3736b23 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.1.ddl.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.1.ddl.aql @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-c2o.aql * Description : read data from a closed type dataset into a open type dataset and verify if - * records can be casted to the target open type + * records can be casted to the target open type * Expected Result : Success */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.2.update.aql index 8ceaa1f..4f74e16 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.2.update.aql @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-c2o.aql * Description : read data from a closed type dataset into a open type dataset and verify if - * records can be casted to the target open type + * records can be casted to the target open type * Expected Result : Success */ use dataverse testdv2; - + insert into dataset testds ( { "hobby": {{"music", "coding"}}, "id": "001", "name": "Person Three"} ); @@ -40,13 +40,13 @@ insert into dataset testds ( insert into dataset testds ( { "id": "004", "name": "Person Four", "hobby": {{"swimming"}} } ); - + insert into dataset testds ( { "name": "Person Five", "id": "005"} -); - +); + insert into dataset testds2 ( - for $d in dataset("testds") - return $d + for $d in dataset("testds") + return $d ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.3.query.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.3.query.aql index 0c0caae..6ef3159 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.3.query.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-c2o/opentype-c2o.3.query.aql @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-c2o.aql * Description : read data from a closed type dataset into a open type dataset and verify if - * records can be casted to the target open type + * records can be casted to the target open type * Expected Result : Success */ use dataverse testdv2; -for $d in dataset("testds2") +for $d in dataset("testds2") order by $d.id return $d http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.1.ddl.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.1.ddl.aql index e083d1a..9e7e50c 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.1.ddl.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.1.ddl.aql @@ -19,7 +19,7 @@ /* * Test case Name : opentype-insert2.aql * Description : verify that the case where SetClosedRecordRule should not rewrite - * the plan to use closed-record-descriptor + * the plan to use closed-record-descriptor * Expected Result : Success */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.2.update.aql index 881c62a..aa59e11 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.2.update.aql @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-insert2.aql * Description : verify that the case where SetClosedRecordRule should not rewrite - * the plan to use closed-record-descriptor + * the plan to use closed-record-descriptor * Expected Result : Success */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.3.query.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.3.query.aql index 37c42e5..a6e3185 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.3.query.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-insert2/opentype-insert2.3.query.aql @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-insert2.aql * Description : verify that the case where SetClosedRecordRule should not rewrite - * the plan to use closed-record-descriptor + * the plan to use closed-record-descriptor * Expected Result : Success */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.1.ddl.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.1.ddl.aql index ce91ba3..e2cdc3e 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.1.ddl.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.1.ddl.aql @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-noexpand.aql * Description : verify that open type dataset can have records without open fields - * verify the bag-based fields + * verify the bag-based fields * Expected Result : Success */ - + drop dataverse testdv2 if exists; create dataverse testdv2; http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.2.update.aql index 1b3ab9b..4dfdfe4 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.2.update.aql @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-noexpand.aql * Description : verify that open type dataset can have records without open fields - * verify the bag-based fields + * verify the bag-based fields * Expected Result : Success */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.3.query.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.3.query.aql index 4384e04..6697435 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.3.query.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-noexpand/opentype-noexpand.3.query.aql @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-noexpand.aql * Description : verify that open type dataset can have records without open fields - * verify the bag-based fields + * verify the bag-based fields * Expected Result : Success */ use dataverse testdv2; -for $d in dataset("testds") +for $d in dataset("testds") order by $d.id return $d http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c-recursive/opentype-o2c-recursive.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c-recursive/opentype-o2c-recursive.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c-recursive/opentype-o2c-recursive.2.update.aql index 79970fc..f940b46 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c-recursive/opentype-o2c-recursive.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c-recursive/opentype-o2c-recursive.2.update.aql @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-o2c-recursive.aql - * Description : verify the static casting of nest record constants + * Description : verify the static casting of nest record constants * Expected Result : Success */ @@ -41,7 +41,7 @@ insert into dataset testds ( ); insert into dataset testds2 ( - for $d in dataset("testds") - return $d + for $d in dataset("testds") + return $d ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.1.ddl.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.1.ddl.aql index 71d1861..2fbc5f2 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.1.ddl.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.1.ddl.aql @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-o2c.aql * Description : verify that open records can be inserted into a closed dataset - * verify missing optional fields in the closed part of the target closed dataset are allowed + * verify missing optional fields in the closed part of the target closed dataset are allowed * Expected Result : Success */ @@ -42,5 +42,5 @@ create type testtype2 as closed { create dataset testds(testtype) primary key id; -create dataset testds2(testtype2) primary key id; +create dataset testds2(testtype2) primary key id; http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.2.update.aql index 21b6953..af659af 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.2.update.aql @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-o2c.aql * Description : verify that open records can be inserted into a closed dataset - * verify missing optional fields in the closed part of the target closed dataset are allowed + * verify missing optional fields in the closed part of the target closed dataset are allowed * Expected Result : Success */ use dataverse testdv2; - + insert into dataset testds ( { "id": "001", "hobby": {{"music"}}, "name": "Person Three"} ); @@ -46,7 +46,7 @@ insert into dataset testds ( ); insert into dataset testds2 ( - for $d in dataset("testds") - return $d + for $d in dataset("testds") + return $d ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.3.query.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.3.query.aql index eaba5d9..c512393 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.3.query.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2c/opentype-o2c.3.query.aql @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-o2c.aql * Description : verify that open records can be inserted into a closed dataset - * verify missing optional fields in the closed part of the target closed dataset are allowed + * verify missing optional fields in the closed part of the target closed dataset are allowed * Expected Result : Success */ use dataverse testdv2; -for $d in dataset("testds2") +for $d in dataset("testds2") order by $d.id return $d http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.1.ddl.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.1.ddl.aql index eec1245..fbc5766 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.1.ddl.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.1.ddl.aql @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-o2o.aql * Description : verify that the dynamic type cast from one open type to another compatible open type - * verify the bag-based fields + * verify the bag-based fields * Expected Result : Success */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.2.update.aql index 0ab63da..db1c0f0 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.2.update.aql @@ -16,16 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-o2o.aql * Description : verify that the dynamic type cast from one open type to another compatible open type - * verify the bag-based fields + * verify the bag-based fields * Expected Result : Success */ use dataverse testdv2; - + insert into dataset testds ( { "name": "Person One", "id": "001", "hobby": "music"} ); @@ -43,7 +43,7 @@ insert into dataset testds ( ); insert into dataset testds2 ( - for $d in dataset("testds") - return $d + for $d in dataset("testds") + return $d ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.3.query.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.3.query.aql index 18f8c42..51745f6 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.3.query.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/opentype-o2o/opentype-o2o.3.query.aql @@ -16,16 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : opentype-o2o.aql * Description : verify that the dynamic type cast from one open type to another compatible open type - * verify the bag-based fields + * verify the bag-based fields * Expected Result : Success */ use dataverse testdv2; -for $d in dataset("testds2") +for $d in dataset("testds2") order by $d.id return $d http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue205/query-issue205.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue205/query-issue205.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue205/query-issue205.2.update.aql index cc71e55..901af33 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue205/query-issue205.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue205/query-issue205.2.update.aql @@ -18,7 +18,7 @@ */ /* * Description : This test case is to verify the fix for issue205 - : https://code.google.com/p/asterixdb/issues/detail?id=205 + : https://code.google.com/p/asterixdb/issues/detail?id=205 * Expected Res : Success * Date : 26th November 2012 */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue205/query-issue205.3.query.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue205/query-issue205.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue205/query-issue205.3.query.aql index 55f3313..634df86 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue205/query-issue205.3.query.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue205/query-issue205.3.query.aql @@ -18,7 +18,7 @@ */ /* * Description : This test case is to verify the fix for issue205 - : https://code.google.com/p/asterixdb/issues/detail?id=205 + : https://code.google.com/p/asterixdb/issues/detail?id=205 * Expected Res : Success * Date : 26th November 2012 */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.2.update.aql index 38a90f1..786e3e2 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.2.update.aql @@ -18,14 +18,14 @@ */ /* * Description : This test case is to verify the fix for issue288 - : https://code.google.com/p/asterixdb/issues/detail?id=288 + : https://code.google.com/p/asterixdb/issues/detail?id=288 * Expected Res : Success * Date : 3th April 2013 */ use dataverse test; -load dataset LineID +load dataset LineID using localfs (("path"="asterix_nc1://data/tpch0.001/lineitem_0.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted; @@ -35,9 +35,9 @@ let $x:=1 let $y:=2 let $z:=3 return { - "l_orderkey": $x, - "l_linenumber": $y, - "l_suppkey": $z + "l_orderkey": $x, + "l_linenumber": $y, + "l_suppkey": $z } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.3.ddl.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.3.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.3.ddl.aql index fb6ff6c..7c54bfe 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.3.ddl.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.3.ddl.aql @@ -18,7 +18,7 @@ */ /* * Description : This test case is to verify the fix for issue288 - : https://code.google.com/p/asterixdb/issues/detail?id=288 + : https://code.google.com/p/asterixdb/issues/detail?id=288 * Expected Res : Success * Date : 3th April 2013 */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.4.update.aql index c43b0d0..ea8287c 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.4.update.aql @@ -18,26 +18,26 @@ */ /* * Description : This test case is to verify the fix for issue288 - : https://code.google.com/p/asterixdb/issues/detail?id=288 + : https://code.google.com/p/asterixdb/issues/detail?id=288 * Expected Res : Success * Date : 3th April 2013 */ - + use dataverse test; insert into dataset LineID2 ( - for $r in dataset('LineID') - return $r + for $r in dataset('LineID') + return $r ); // If we replace the insert statement with this, it will work /* insert into dataset LineID2 ( - for $r in dataset('LineID') - return { -"l_orderkey": $r.l_orderkey, -"l_linenumber": $r.l_linenumber, + for $r in dataset('LineID') + return { +"l_orderkey": $r.l_orderkey, +"l_linenumber": $r.l_linenumber, "l_suppkey": $r.l_suppkey} ); -*/ +*/ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.5.query.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.5.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.5.query.aql index 9467b36..96bfd4e 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.5.query.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue288/query-issue288.5.query.aql @@ -18,13 +18,13 @@ */ /* * Description : This test case is to verify the fix for issue288 - : https://code.google.com/p/asterixdb/issues/detail?id=288 + : https://code.google.com/p/asterixdb/issues/detail?id=288 * Expected Res : Success * Date : 3th April 2013 */ - + use dataverse test; - + for $c in dataset('LineID2') where $c.l_linenumber=2 -return $c +return $c http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue433/query-issue433.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue433/query-issue433.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue433/query-issue433.2.update.aql index e5e9952..6761d0e 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue433/query-issue433.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue433/query-issue433.2.update.aql @@ -18,7 +18,7 @@ */ /* * Description : This test case is to verify the fix for issue433 - : https://code.google.com/p/asterixdb/issues/detail?id=433 + : https://code.google.com/p/asterixdb/issues/detail?id=433 * Expected Res : Success * Date : 3th April 2013 */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue433/query-issue433.3.query.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue433/query-issue433.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue433/query-issue433.3.query.aql index c2e5270..17c09ee 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue433/query-issue433.3.query.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/query-issue433/query-issue433.3.query.aql @@ -18,7 +18,7 @@ */ /* * Description : This test case is to verify the fix for issue433 - : https://code.google.com/p/asterixdb/issues/detail?id=433 + : https://code.google.com/p/asterixdb/issues/detail?id=433 * Expected Res : Success * Date : 3th April 2013 */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-btree-secondary-index-open/scan-delete-btree-secondary-index-open.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-btree-secondary-index-open/scan-delete-btree-secondary-index-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-btree-secondary-index-open/scan-delete-btree-secondary-index-open.2.update.aql index 53f74d3..d37f67d 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-btree-secondary-index-open/scan-delete-btree-secondary-index-open.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-btree-secondary-index-open/scan-delete-btree-secondary-index-open.2.update.aql @@ -30,13 +30,13 @@ using localfs (("path"="asterix_nc1://data/semistructured/co1k/customer.adm"),("format"="adm")); insert into dataset test.CustomersOpen ( - for $x in dataset test.Customers - return { - "cid": $x.cid, - "name": $x.name, - "age": $x.age, - "address": $x.address, - "interests": $x.interests, - "children": $x.children - } + for $x in dataset test.Customers + return { + "cid": $x.cid, + "name": $x.name, + "age": $x.age, + "address": $x.address, + "interests": $x.interests, + "children": $x.children + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-inverted-index-ngram-secondary-index-open/scan-delete-inverted-index-ngram-secondary-index-open.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-inverted-index-ngram-secondary-index-open/scan-delete-inverted-index-ngram-secondary-index-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-inverted-index-ngram-secondary-index-open/scan-delete-inverted-index-ngram-secondary-index-open.2.update.aql index 2440a95..5a52697 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-inverted-index-ngram-secondary-index-open/scan-delete-inverted-index-ngram-secondary-index-open.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-inverted-index-ngram-secondary-index-open/scan-delete-inverted-index-ngram-secondary-index-open.2.update.aql @@ -29,6 +29,6 @@ load dataset DBLP using localfs (("path"="asterix_nc1://data/dblp-small/dblp-small-id.txt"),("format"="delimited-text"),("delimiter"=":")) pre-sorted; insert into dataset test.DBLPOpen ( - for $x in dataset test.DBLP - return $x + for $x in dataset test.DBLP + return $x ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-inverted-index-word-secondary-index-open/scan-delete-inverted-index-word-secondary-index-open.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-inverted-index-word-secondary-index-open/scan-delete-inverted-index-word-secondary-index-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-inverted-index-word-secondary-index-open/scan-delete-inverted-index-word-secondary-index-open.2.update.aql index 9c610f2..949d0a3 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-inverted-index-word-secondary-index-open/scan-delete-inverted-index-word-secondary-index-open.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-inverted-index-word-secondary-index-open/scan-delete-inverted-index-word-secondary-index-open.2.update.aql @@ -29,6 +29,6 @@ load dataset DBLP using localfs (("path"="asterix_nc1://data/dblp-small/dblp-small-id.txt"),("format"="delimited-text"),("delimiter"=":")) pre-sorted; insert into dataset test.DBLPOpen ( - for $x in dataset test.DBLP - return $x + for $x in dataset test.DBLP + return $x ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-rtree-secondary-index-open/scan-delete-rtree-secondary-index-open.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-rtree-secondary-index-open/scan-delete-rtree-secondary-index-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-rtree-secondary-index-open/scan-delete-rtree-secondary-index-open.2.update.aql index 0498910..883ac27 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-rtree-secondary-index-open/scan-delete-rtree-secondary-index-open.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-delete-rtree-secondary-index-open/scan-delete-rtree-secondary-index-open.2.update.aql @@ -30,6 +30,6 @@ using localfs (("path"="asterix_nc1://data/spatial/spatialData.json"),("format"="adm")) pre-sorted; insert into dataset test.MyDataOpen ( - for $x in dataset test.MyData - return $x + for $x in dataset test.MyData + return $x ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-btree-secondary-index-nullable/scan-insert-btree-secondary-index-nullable.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-btree-secondary-index-nullable/scan-insert-btree-secondary-index-nullable.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-btree-secondary-index-nullable/scan-insert-btree-secondary-index-nullable.4.update.aql index 1886a9f..b97c1c0 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-btree-secondary-index-nullable/scan-insert-btree-secondary-index-nullable.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-btree-secondary-index-nullable/scan-insert-btree-secondary-index-nullable.4.update.aql @@ -20,15 +20,15 @@ use dataverse test; insert into dataset CustomersMini ( - for $c in dataset('Customers') - where $c.cid < 200 - return { - "cid": $c.cid, - "name": $c.name, - "age": $c.age, - "address": $c.address, - "interests": $c.interests, - "children": $c.children - } + for $c in dataset('Customers') + where $c.cid < 200 + return { + "cid": $c.cid, + "name": $c.name, + "age": $c.age, + "address": $c.address, + "interests": $c.interests, + "children": $c.children + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-btree-secondary-index-open/scan-insert-btree-secondary-index-open.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-btree-secondary-index-open/scan-insert-btree-secondary-index-open.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-btree-secondary-index-open/scan-insert-btree-secondary-index-open.4.update.aql index 38787c8..d87dd7d 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-btree-secondary-index-open/scan-insert-btree-secondary-index-open.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-btree-secondary-index-open/scan-insert-btree-secondary-index-open.4.update.aql @@ -20,15 +20,15 @@ use dataverse test; insert into dataset CustomersOpen ( - for $c in dataset('Customers') - where $c.cid < 200 - return { - "cid": $c.cid, - "name": $c.name, - "age": $c.age, - "address": $c.address, - "interests": $c.interests, - "children": $c.children - } + for $c in dataset('Customers') + where $c.cid < 200 + return { + "cid": $c.cid, + "name": $c.name, + "age": $c.age, + "address": $c.address, + "interests": $c.interests, + "children": $c.children + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index-nullable/scan-insert-inverted-index-ngram-secondary-index-nullable.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index-nullable/scan-insert-inverted-index-ngram-secondary-index-nullable.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index-nullable/scan-insert-inverted-index-ngram-secondary-index-nullable.4.update.aql index ba90179..17afa89 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index-nullable/scan-insert-inverted-index-ngram-secondary-index-nullable.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index-nullable/scan-insert-inverted-index-ngram-secondary-index-nullable.4.update.aql @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : scan-insert-inverted-index-ngram-secondary-index-nullable.aql - * Description : This test is intended to test insertion from secondary ngram inverted index that are built on nullable fields. + * Description : This test is intended to test insertion from secondary ngram inverted index that are built on nullable fields. * Expected Result : Success * Date : March 31 2013 */ - + use dataverse test; insert into dataset DBLP1 ( @@ -30,10 +30,10 @@ for $o in dataset('DBLP') where contains($o.title, "Multimedia") order by $o.id return { - "id": $o.id, - "dblpid": $o.dblpid, - "title": $o.title, - "authors": $o.authors, - "misc": $o.misc - } + "id": $o.id, + "dblpid": $o.dblpid, + "title": $o.title, + "authors": $o.authors, + "misc": $o.misc + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index-open/scan-insert-inverted-index-ngram-secondary-index-open.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index-open/scan-insert-inverted-index-ngram-secondary-index-open.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index-open/scan-insert-inverted-index-ngram-secondary-index-open.4.update.aql index 8dffbc0..ee8fda9 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index-open/scan-insert-inverted-index-ngram-secondary-index-open.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index-open/scan-insert-inverted-index-ngram-secondary-index-open.4.update.aql @@ -30,10 +30,10 @@ for $o in dataset('DBLP') where contains($o.title, "Multimedia") order by $o.id return { - "id": $o.id, - "dblpid": $o.dblpid, - "title": $o.title, - "authors": $o.authors, - "misc": $o.misc - } + "id": $o.id, + "dblpid": $o.dblpid, + "title": $o.title, + "authors": $o.authors, + "misc": $o.misc + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index/scan-insert-inverted-index-ngram-secondary-index.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index/scan-insert-inverted-index-ngram-secondary-index.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index/scan-insert-inverted-index-ngram-secondary-index.4.update.aql index 5113771..b1b57d8 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index/scan-insert-inverted-index-ngram-secondary-index.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-ngram-secondary-index/scan-insert-inverted-index-ngram-secondary-index.4.update.aql @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : scan-insert-inverted-index-ngram-secondary-index.aql - * Description : This test is intended to test insertion from secondary ngram inverted index. + * Description : This test is intended to test insertion from secondary ngram inverted index. * Expected Result : Success * Date : March 31 2013 */ - + use dataverse test; insert into dataset DBLP1 ( @@ -30,10 +30,10 @@ for $o in dataset('DBLP') where contains($o.title, "Multimedia") order by $o.id return { - "id": $o.id, - "dblpid": $o.dblpid, - "title": $o.title, - "authors": $o.authors, - "misc": $o.misc - } + "id": $o.id, + "dblpid": $o.dblpid, + "title": $o.title, + "authors": $o.authors, + "misc": $o.misc + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index-nullable/scan-insert-inverted-index-word-secondary-index-nullable.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index-nullable/scan-insert-inverted-index-word-secondary-index-nullable.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index-nullable/scan-insert-inverted-index-word-secondary-index-nullable.4.update.aql index a174a96..7e3292b 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index-nullable/scan-insert-inverted-index-word-secondary-index-nullable.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index-nullable/scan-insert-inverted-index-word-secondary-index-nullable.4.update.aql @@ -16,23 +16,23 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : scan-insert-inverted-index-word-secondary-index-nullable.aql - * Description : This test is intended to test insertion from secondary keyword inverted index that are built on nullable fields. + * Description : This test is intended to test insertion from secondary keyword inverted index that are built on nullable fields. * Expected Result : Success * Date : March 31 2013 */ - + use dataverse test; insert into dataset DBLP1 ( for $o in dataset('DBLP') order by $o.id return { - "id": $o.id, - "dblpid": $o.dblpid, - "title": $o.title, - "authors": $o.authors, - "misc": $o.misc - } + "id": $o.id, + "dblpid": $o.dblpid, + "title": $o.title, + "authors": $o.authors, + "misc": $o.misc + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index-open/scan-insert-inverted-index-word-secondary-index-open.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index-open/scan-insert-inverted-index-word-secondary-index-open.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index-open/scan-insert-inverted-index-word-secondary-index-open.4.update.aql index 07dbc22..c26292e 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index-open/scan-insert-inverted-index-word-secondary-index-open.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index-open/scan-insert-inverted-index-word-secondary-index-open.4.update.aql @@ -29,10 +29,10 @@ insert into dataset DBLPOpen ( for $o in dataset('DBLP') order by $o.id return { - "id": $o.id, - "dblpid": $o.dblpid, - "title": $o.title, - "authors": $o.authors, - "misc": $o.misc - } + "id": $o.id, + "dblpid": $o.dblpid, + "title": $o.title, + "authors": $o.authors, + "misc": $o.misc + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index/scan-insert-inverted-index-word-secondary-index.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index/scan-insert-inverted-index-word-secondary-index.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index/scan-insert-inverted-index-word-secondary-index.4.update.aql index 7e19ec7..15b0ef5 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index/scan-insert-inverted-index-word-secondary-index.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-inverted-index-word-secondary-index/scan-insert-inverted-index-word-secondary-index.4.update.aql @@ -16,23 +16,23 @@ * specific language governing permissions and limitations * under the License. */ -/* +/* * Test case Name : scan-insert-inverted-index-word-secondary-index.aql - * Description : This test is intended to test insertion from secondary keyword inverted index. + * Description : This test is intended to test insertion from secondary keyword inverted index. * Expected Result : Success * Date : March 31 2013 */ - + use dataverse test; insert into dataset DBLP1 ( for $o in dataset('DBLP') order by $o.id return { - "id": $o.id, - "dblpid": $o.dblpid, - "title": $o.title, - "authors": $o.authors, - "misc": $o.misc - } + "id": $o.id, + "dblpid": $o.dblpid, + "title": $o.title, + "authors": $o.authors, + "misc": $o.misc + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index-nullable/scan-insert-rtree-secondary-index-nullable.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index-nullable/scan-insert-rtree-secondary-index-nullable.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index-nullable/scan-insert-rtree-secondary-index-nullable.4.update.aql index 77ec1f8..19ca907 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index-nullable/scan-insert-rtree-secondary-index-nullable.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index-nullable/scan-insert-rtree-secondary-index-nullable.4.update.aql @@ -20,10 +20,10 @@ use dataverse test; insert into dataset MyMiniData ( - for $m in dataset('MyData') - return { - "id": $m.id, - "point": $m.point - } + for $m in dataset('MyData') + return { + "id": $m.id, + "point": $m.point + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index-open/scan-insert-rtree-secondary-index-open.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index-open/scan-insert-rtree-secondary-index-open.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index-open/scan-insert-rtree-secondary-index-open.4.update.aql index 56f3056..7dd6780 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index-open/scan-insert-rtree-secondary-index-open.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index-open/scan-insert-rtree-secondary-index-open.4.update.aql @@ -27,10 +27,10 @@ use dataverse test; insert into dataset MyOpenData ( - for $m in dataset('MyData') - return { - "id": $m.id, - "point": $m.point - } + for $m in dataset('MyData') + return { + "id": $m.id, + "point": $m.point + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index/scan-insert-rtree-secondary-index.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index/scan-insert-rtree-secondary-index.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index/scan-insert-rtree-secondary-index.4.update.aql index 77ec1f8..19ca907 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index/scan-insert-rtree-secondary-index.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/dml/scan-insert-rtree-secondary-index/scan-insert-rtree-secondary-index.4.update.aql @@ -20,10 +20,10 @@ use dataverse test; insert into dataset MyMiniData ( - for $m in dataset('MyData') - return { - "id": $m.id, - "point": $m.point - } + for $m in dataset('MyData') + return { + "id": $m.id, + "point": $m.point + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/feeds/feeds_05/feeds_05.1.ddl.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/feeds/feeds_05/feeds_05.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/feeds/feeds_05/feeds_05.1.ddl.aql index c4536a6..ea64bef 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/feeds/feeds_05/feeds_05.1.ddl.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/feeds/feeds_05/feeds_05.1.ddl.aql @@ -17,11 +17,11 @@ * under the License. */ /* - * Description : Create a feed dataset that uses the synthetic feed simulator adapter. - The synthetic feed simulator uses the Social-Data generator to generate data and simulate a feed. - The feed lasts a configured duration with data arriving at a configured rate (tweets per second). + * Description : Create a feed dataset that uses the synthetic feed simulator adapter. + The synthetic feed simulator uses the Social-Data generator to generate data and simulate a feed. + The feed lasts a configured duration with data arriving at a configured rate (tweets per second). Verify the existence of data after the feed finishes. - + * Expected Res : Success * Date : 20th Jun 2013 */ @@ -31,21 +31,21 @@ create dataverse feeds; use dataverse feeds; create type TwitterUserType as closed { - screen-name: string, - lang: string, - friends_count: int32, - statuses_count: int32, - name: string, - followers_count: int32 -} + screen-name: string, + lang: string, + friends_count: int32, + statuses_count: int32, + name: string, + followers_count: int32 +} create type TweetMessageType as closed { - tweetid: string, + tweetid: string, user: TwitterUserType, sender-location: point, - send-time: datetime, + send-time: datetime, referred-topics: {{ string }}, - message-text: string + message-text: string } create dataset SyntheticTweets(TweetMessageType) http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-btree/insert-with-secondary-btree.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-btree/insert-with-secondary-btree.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-btree/insert-with-secondary-btree.4.update.aql index b1ba76c..4c9b116 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-btree/insert-with-secondary-btree.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-btree/insert-with-secondary-btree.4.update.aql @@ -20,5 +20,5 @@ use dataverse test; insert into dataset FacebookMessages2 ( for $m in dataset('FacebookMessages') - return $m + return $m ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-inverted-ngram/insert-with-secondary-inverted-ngram.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-inverted-ngram/insert-with-secondary-inverted-ngram.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-inverted-ngram/insert-with-secondary-inverted-ngram.4.update.aql index b1ba76c..4c9b116 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-inverted-ngram/insert-with-secondary-inverted-ngram.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-inverted-ngram/insert-with-secondary-inverted-ngram.4.update.aql @@ -20,5 +20,5 @@ use dataverse test; insert into dataset FacebookMessages2 ( for $m in dataset('FacebookMessages') - return $m + return $m ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-inverted-word/insert-with-secondary-inverted-word.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-inverted-word/insert-with-secondary-inverted-word.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-inverted-word/insert-with-secondary-inverted-word.4.update.aql index b1ba76c..4c9b116 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-inverted-word/insert-with-secondary-inverted-word.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-inverted-word/insert-with-secondary-inverted-word.4.update.aql @@ -20,5 +20,5 @@ use dataverse test; insert into dataset FacebookMessages2 ( for $m in dataset('FacebookMessages') - return $m + return $m ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-rtree/insert-with-secondary-rtree.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-rtree/insert-with-secondary-rtree.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-rtree/insert-with-secondary-rtree.4.update.aql index b1ba76c..4c9b116 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-rtree/insert-with-secondary-rtree.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert-with-secondary-rtree/insert-with-secondary-rtree.4.update.aql @@ -20,5 +20,5 @@ use dataverse test; insert into dataset FacebookMessages2 ( for $m in dataset('FacebookMessages') - return $m + return $m ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert/insert.4.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert/insert.4.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert/insert.4.update.aql index b1ba76c..4c9b116 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert/insert.4.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/insert/insert.4.update.aql @@ -20,5 +20,5 @@ use dataverse test; insert into dataset FacebookMessages2 ( for $m in dataset('FacebookMessages') - return $m + return $m ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/nested-filter-equality-predicate/equality-predicate.2.update.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/nested-filter-equality-predicate/equality-predicate.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/nested-filter-equality-predicate/equality-predicate.2.update.aql index f2eaf14..1a63ba1 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/nested-filter-equality-predicate/equality-predicate.2.update.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/filters/nested-filter-equality-predicate/equality-predicate.2.update.aql @@ -23,8 +23,8 @@ load dataset FacebookMessagesTmp using localfs insert into dataset FacebookMessages ( - for $c in dataset('FacebookMessagesTmp') - return { - "nested" : $c - } + for $c in dataset('FacebookMessagesTmp') + return { + "nested" : $c + } ); http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/fuzzyjoin/dblp-splits-3_1/dblp-splits-3_1.3.query.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/fuzzyjoin/dblp-splits-3_1/dblp-splits-3_1.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/fuzzyjoin/dblp-splits-3_1/dblp-splits-3_1.3.query.aql index 5e39293..1cfeb01 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/fuzzyjoin/dblp-splits-3_1/dblp-splits-3_1.3.query.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/fuzzyjoin/dblp-splits-3_1/dblp-splits-3_1.3.query.aql @@ -21,7 +21,7 @@ use dataverse fuzzyjoin; // // -- - Stage 3 - -- // -for $ridpair in +for $ridpair in // // -- - Stage 2 - -- // @@ -42,7 +42,7 @@ for $ridpair in order by $i return $i for $prefix_tokenLeft in subset-collection( - $tokensLeft, + $tokensLeft, 0, prefix-len-jaccard(len($tokensLeft), .5f)) @@ -63,7 +63,7 @@ for $ridpair in order by $i return $i for $prefix_tokenRight in subset-collection( - $tokensRight, + $tokensRight, 0, prefix-len-jaccard(len($tokensRight), .5f)) @@ -88,76 +88,76 @@ return {'left': $paperLeft, 'right': $paperRight, 'sim': $ridpair.sim} /* org.apache.aqua.common.exceptions.AquaException: Attempting to construct a nested plan with 3 operator descriptors. Currently, nested plans can only consist in linear pipelines of Asterix micro operators. - at org.apache.aqua.algebra.operators.physical.AbstractGroupByPhysicalOperator.buildPipelineWithProjection(AbstractGroupByPhysicalOperator.java:47) - at org.apache.aqua.algebra.operators.physical.AbstractGroupByPhysicalOperator.compileSubplans(AbstractGroupByPhysicalOperator.java:29) - at org.apache.aqua.algebra.operators.physical.PreSortedGroupByPOperator.contributeRuntimeOperator(PreSortedGroupByPOperator.java:133) - at org.apache.aqua.algebra.operators.logical.AbstractLogicalOperator.contributeRuntimeOperator(AbstractLogicalOperator.java:208) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:52) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) - at org.apache.aqua.jobgen.impl.PlanCompiler.compilePlan(PlanCompiler.java:30) - at org.apache.aqua.api.HeuristicCompilerFactoryBuilder$1$1.createJob(HeuristicCompilerFactoryBuilder.java:64) - at org.apache.asterix.api.common.APIFramework.compileQuery(APIFramework.java:323) - at org.apache.asterix.api.java.AsterixJavaClient.compile(AsterixJavaClient.java:71) - at org.apache.asterix.test.runtime.functions.RuntimeFunctionsTest.test(RuntimeFunctionsTest.java:150) - at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) - at java.lang.reflect.Method.invoke(Method.java:597) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) - at org.junit.runners.ParentRunner.run(ParentRunner.java:236) - at org.junit.runners.Suite.runChild(Suite.java:128) - at org.junit.runners.Suite.runChild(Suite.java:24) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) - at org.junit.runners.ParentRunner.run(ParentRunner.java:236) - at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49) - at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) - at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) - at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) - at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) - at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) + at org.apache.aqua.algebra.operators.physical.AbstractGroupByPhysicalOperator.buildPipelineWithProjection(AbstractGroupByPhysicalOperator.java:47) + at org.apache.aqua.algebra.operators.physical.AbstractGroupByPhysicalOperator.compileSubplans(AbstractGroupByPhysicalOperator.java:29) + at org.apache.aqua.algebra.operators.physical.PreSortedGroupByPOperator.contributeRuntimeOperator(PreSortedGroupByPOperator.java:133) + at org.apache.aqua.algebra.operators.logical.AbstractLogicalOperator.contributeRuntimeOperator(AbstractLogicalOperator.java:208) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:52) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:44) + at org.apache.aqua.jobgen.impl.PlanCompiler.compilePlan(PlanCompiler.java:30) + at org.apache.aqua.api.HeuristicCompilerFactoryBuilder$1$1.createJob(HeuristicCompilerFactoryBuilder.java:64) + at org.apache.asterix.api.common.APIFramework.compileQuery(APIFramework.java:323) + at org.apache.asterix.api.java.AsterixJavaClient.compile(AsterixJavaClient.java:71) + at org.apache.asterix.test.runtime.functions.RuntimeFunctionsTest.test(RuntimeFunctionsTest.java:150) + at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) + at java.lang.reflect.Method.invoke(Method.java:597) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) + at org.junit.runners.ParentRunner.run(ParentRunner.java:236) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:24) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) + at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) + at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) + at org.junit.runners.ParentRunner.run(ParentRunner.java:236) + at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49) + at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) + at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) + at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) + at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) + at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) */ http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/fuzzyjoin/opentype/opentype.3.query.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/fuzzyjoin/opentype/opentype.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/fuzzyjoin/opentype/opentype.3.query.aql index c225696..fd6eeeb 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/fuzzyjoin/opentype/opentype.3.query.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/fuzzyjoin/opentype/opentype.3.query.aql @@ -23,10 +23,10 @@ set simthreshold "0.3"; for $t in dataset TweetMessages order by $t.tweetid -return { - "tweet": $t, +return { + "tweet": $t, "similar-tweets": for $t2 in dataset TweetMessages - order by $t2.tweetid + order by $t2.tweetid where $t2.referred-topics ~= $t.referred-topics and $t2.tweetid != $t.tweetid return $t2.referred-topics http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/index-join/btree-index-nested-loop-join/btree-index-nested-loop-join.1.ddl.aql ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/index-join/btree-index-nested-loop-join/btree-index-nested-loop-join.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/index-join/btree-index-nested-loop-join/btree-index-nested-loop-join.1.ddl.aql index cc8ba34..b254e62 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/index-join/btree-index-nested-loop-join/btree-index-nested-loop-join.1.ddl.aql +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/index-join/btree-index-nested-loop-join/btree-index-nested-loop-join.1.ddl.aql @@ -27,28 +27,28 @@ create dataverse test; use dataverse test; create type TwitterUserType as { - screen-name: string, - lang: string, - friends_count: int32, - statuses_count: int32, - name: string, - followers_count: int32 + screen-name: string, + lang: string, + friends_count: int32, + statuses_count: int32, + name: string, + followers_count: int32 } create type TweetMessageType as { - tweetid: int64, - user: string, - sender-location: point, - send-time: datetime, - forward-from: int64, - retweet-from: int64, - referred-topics: {{ string }}, - message-text: string + tweetid: int64, + user: string, + sender-location: point, + send-time: datetime, + forward-from: int64, + retweet-from: int64, + referred-topics: {{ string }}, + message-text: string } create type ResultType as { - vertexid: int64, - rank: double + vertexid: int64, + rank: double } create dataset TwitterUsers(TwitterUserType) primary key screen-name;