This is an automated email from the ASF dual-hosted git repository. preetham02 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/asterixdb.git
commit 8d2a490aa6c0e90ac16f50103fe7a24d3f803899 Author: Ali Alsuliman <ali.al.solai...@gmail.com> AuthorDate: Tue Jul 8 22:02:33 2025 -0700 [NO ISSUE][OTH] Update tests with doc-size Change-Id: Ie350dde14067539bfd60dba08cf0e0e489bb8904 Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20037 Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Reviewed-by: Murtadha Hubail <mhub...@apache.org> --- .../column/filter/return-array/return-array.007.adm | 18 +++++++++--------- .../column/filter/return-array/return-array.008.adm | 18 +++++++++--------- .../column/filter/return-array/return-array.009.adm | 18 +++++++++--------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.007.adm b/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.007.adm index 4c095118f0..f4ab3a5892 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.007.adm +++ b/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.007.adm @@ -1,18 +1,18 @@ -distribute result [$$18] [cardinality: 0.0, op-cost: 0.0, total-cost: 1.0] +distribute result [$$18] [cardinality: 0.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- DISTRIBUTE_RESULT |PARTITIONED| - exchange [cardinality: 0.0, op-cost: 0.0, total-cost: 1.0] + exchange [cardinality: 0.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- ONE_TO_ONE_EXCHANGE |PARTITIONED| - assign [$$18] <- [{"c": $$c}] project: [$$18] [cardinality: 0.0, op-cost: 0.0, total-cost: 1.0] + assign [$$18] <- [{"c": $$c}] project: [$$18] [cardinality: 0.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- ASSIGN |PARTITIONED| - select (eq(numeric-add($$c.getField("n").getField("x"), 1), 13)) [cardinality: 0.0, op-cost: 0.0, total-cost: 1.0] + select (eq(numeric-add($$c.getField("n").getField("x"), 1), 13)) [cardinality: 0.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- STREAM_SELECT |PARTITIONED| - project ([$$c]) [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + project ([$$c]) [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- STREAM_PROJECT |PARTITIONED| - exchange [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + exchange [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- ONE_TO_ONE_EXCHANGE |PARTITIONED| - data-scan []<-[$$19, $$c] <- test.ColumnDataset filter on: eq(numeric-add($$c.getField("n").getField("x"), 1), 13) [cardinality: 1.0, op-cost: 1.0, total-cost: 1.0] + data-scan []<-[$$19, $$c] <- test.ColumnDataset filter on: eq(numeric-add($$c.getField("n").getField("x"), 1), 13) [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- DATASOURCE_SCAN |PARTITIONED| - exchange [cardinality: 0.0, op-cost: 0.0, total-cost: 0.0] + exchange [cardinality: 0.0, doc-size: 0.0, op-cost: 0.0, total-cost: 0.0] -- ONE_TO_ONE_EXCHANGE |PARTITIONED| - empty-tuple-source [cardinality: 0.0, op-cost: 0.0, total-cost: 0.0] + empty-tuple-source [cardinality: 0.0, doc-size: 0.0, op-cost: 0.0, total-cost: 0.0] -- EMPTY_TUPLE_SOURCE |PARTITIONED| diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.008.adm b/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.008.adm index 4f825c4ff2..2364182c38 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.008.adm +++ b/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.008.adm @@ -1,18 +1,18 @@ -distribute result [$$18] [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] +distribute result [$$18] [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- DISTRIBUTE_RESULT |PARTITIONED| - exchange [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + exchange [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- ONE_TO_ONE_EXCHANGE |PARTITIONED| - assign [$$18] <- [{"c": $$c}] project: [$$18] [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + assign [$$18] <- [{"c": $$c}] project: [$$18] [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- ASSIGN |PARTITIONED| - select (eq($$c.getField("nested_field").getField("array_field"), ordered-list-constructor(1, "a", true))) [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + select (eq($$c.getField("nested_field").getField("array_field"), ordered-list-constructor(1, "a", true))) [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- STREAM_SELECT |PARTITIONED| - project ([$$c]) [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + project ([$$c]) [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- STREAM_PROJECT |PARTITIONED| - exchange [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + exchange [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- ONE_TO_ONE_EXCHANGE |PARTITIONED| - data-scan []<-[$$19, $$c] <- test.ColumnDataset [cardinality: 1.0, op-cost: 1.0, total-cost: 1.0] + data-scan []<-[$$19, $$c] <- test.ColumnDataset [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- DATASOURCE_SCAN |PARTITIONED| - exchange [cardinality: 0.0, op-cost: 0.0, total-cost: 0.0] + exchange [cardinality: 0.0, doc-size: 0.0, op-cost: 0.0, total-cost: 0.0] -- ONE_TO_ONE_EXCHANGE |PARTITIONED| - empty-tuple-source [cardinality: 0.0, op-cost: 0.0, total-cost: 0.0] + empty-tuple-source [cardinality: 0.0, doc-size: 0.0, op-cost: 0.0, total-cost: 0.0] -- EMPTY_TUPLE_SOURCE |PARTITIONED| diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.009.adm b/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.009.adm index 7b0fd44df0..3b959feba4 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.009.adm +++ b/asterixdb/asterix-app/src/test/resources/runtimets/results_cbo/column/filter/return-array/return-array.009.adm @@ -1,18 +1,18 @@ -distribute result [$$17] [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] +distribute result [$$17] [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- DISTRIBUTE_RESULT |PARTITIONED| - exchange [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + exchange [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- ONE_TO_ONE_EXCHANGE |PARTITIONED| - assign [$$17] <- [{"c": $$c}] project: [$$17] [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + assign [$$17] <- [{"c": $$c}] project: [$$17] [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- ASSIGN |PARTITIONED| - select (eq($$c.getField("nested_field").getField("a"), 1)) [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + select (eq($$c.getField("nested_field").getField("a"), 1)) [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- STREAM_SELECT |PARTITIONED| - project ([$$c]) [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + project ([$$c]) [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- STREAM_PROJECT |PARTITIONED| - exchange [cardinality: 1.0, op-cost: 0.0, total-cost: 1.0] + exchange [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- ONE_TO_ONE_EXCHANGE |PARTITIONED| - data-scan []<-[$$18, $$c] <- test.ColumnDataset filter on: eq($$c.getField("nested_field").getField("a"), 1) range-filter on: eq($$c.getField("nested_field").getField("a"), 1) [cardinality: 1.0, op-cost: 1.0, total-cost: 1.0] + data-scan []<-[$$18, $$c] <- test.ColumnDataset filter on: eq($$c.getField("nested_field").getField("a"), 1) range-filter on: eq($$c.getField("nested_field").getField("a"), 1) [cardinality: 1.0, doc-size: 271.0, op-cost: 0.0, total-cost: 1.0] -- DATASOURCE_SCAN |PARTITIONED| - exchange [cardinality: 0.0, op-cost: 0.0, total-cost: 0.0] + exchange [cardinality: 0.0, doc-size: 0.0, op-cost: 0.0, total-cost: 0.0] -- ONE_TO_ONE_EXCHANGE |PARTITIONED| - empty-tuple-source [cardinality: 0.0, op-cost: 0.0, total-cost: 0.0] + empty-tuple-source [cardinality: 0.0, doc-size: 0.0, op-cost: 0.0, total-cost: 0.0] -- EMPTY_TUPLE_SOURCE |PARTITIONED|