diff options
Diffstat (limited to 'exec/java-exec/src/test/resources')
4 files changed, 125 insertions, 32 deletions
diff --git a/exec/java-exec/src/test/resources/join/hashJoinExpr.json b/exec/java-exec/src/test/resources/join/hashJoinExpr.json index 386d90e83..13a1c0fa6 100644 --- a/exec/java-exec/src/test/resources/join/hashJoinExpr.json +++ b/exec/java-exec/src/test/resources/join/hashJoinExpr.json @@ -28,7 +28,10 @@ }, "columns" : [ "`r_regionkey`" ], "selectionRoot" : "/tpch/region.parquet", - "cost" : 5.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 5.0 + } }, { "pop" : "project", "@id" : 3, @@ -39,7 +42,10 @@ "child" : 5, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 5.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 5.0 + } }, { "pop" : "parquet-scan", "@id" : 6, @@ -58,7 +64,10 @@ }, "columns" : [ "`n_nationkey`", "`n_regionkey`" ], "selectionRoot" : "/tpch/nation.parquet", - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "project", "@id" : 4, @@ -72,7 +81,10 @@ "child" : 6, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "hash-join", "@id" : 2, @@ -86,7 +98,10 @@ "joinType" : "INNER", "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "project", "@id" : 1, @@ -97,13 +112,19 @@ "child" : 2, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "screen", "@id" : 0, "child" : 1, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } } ] } diff --git a/exec/java-exec/src/test/resources/join/mergeJoinExpr.json b/exec/java-exec/src/test/resources/join/mergeJoinExpr.json index 1c5111bbb..c0027ea96 100644 --- a/exec/java-exec/src/test/resources/join/mergeJoinExpr.json +++ b/exec/java-exec/src/test/resources/join/mergeJoinExpr.json @@ -33,7 +33,10 @@ }, "columns" : [ "`n_nationkey`", "`n_regionkey`" ], "selectionRoot" : "/tpch/nation.parquet", - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "project", "@id" : 8, @@ -47,7 +50,10 @@ "child" : 9, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "external-sort", "@id" : 6, @@ -60,14 +66,20 @@ "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "selection-vector-remover", "@id" : 4, "child" : 6, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "parquet-scan", "@id" : 7, @@ -86,7 +98,10 @@ }, "columns" : [ "`r_regionkey`" ], "selectionRoot" : "/tpch/region.parquet", - "cost" : 5.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "external-sort", "@id" : 5, @@ -99,14 +114,20 @@ "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 5.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "selection-vector-remover", "@id" : 3, "child" : 5, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 5.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "merge-join", "@id" : 2, @@ -120,7 +141,10 @@ "joinType" : "INNER", "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "project", "@id" : 1, @@ -131,13 +155,19 @@ "child" : 2, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } }, { "pop" : "screen", "@id" : 0, "child" : 1, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 25.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 25.0 + } } ] } diff --git a/exec/java-exec/src/test/resources/join/merge_join_nullkey.json b/exec/java-exec/src/test/resources/join/merge_join_nullkey.json index b283dda2e..fb6bfc272 100644 --- a/exec/java-exec/src/test/resources/join/merge_join_nullkey.json +++ b/exec/java-exec/src/test/resources/join/merge_join_nullkey.json @@ -32,7 +32,10 @@ "type" : "json" }, "selectionRoot" : "/region.json", - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "project", "@id" : 9, @@ -43,7 +46,10 @@ "child" : 11, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "external-sort", "@id" : 7, @@ -56,14 +62,20 @@ "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "selection-vector-remover", "@id" : 5, "child" : 7, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "fs-scan", "@id" : 10, @@ -86,7 +98,10 @@ "type" : "json" }, "selectionRoot" : "/region.json", - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "project", "@id" : 8, @@ -97,7 +112,10 @@ "child" : 10, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "external-sort", "@id" : 6, @@ -110,14 +128,20 @@ "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "selection-vector-remover", "@id" : 4, "child" : 6, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "merge-join", "@id" : 3, @@ -131,7 +155,10 @@ "joinType" : "${JOIN_TYPE}", "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "project", "@id" : 2, @@ -145,7 +172,10 @@ "child" : 3, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "project", "@id" : 1, @@ -159,13 +189,19 @@ "child" : 2, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } }, { "pop" : "screen", "@id" : 0, "child" : 1, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 18.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 18.0 + } } ] } diff --git a/exec/java-exec/src/test/resources/store/json/project_pushdown_json_physical_plan.json b/exec/java-exec/src/test/resources/store/json/project_pushdown_json_physical_plan.json index 60cd2b0d5..b6652071c 100644 --- a/exec/java-exec/src/test/resources/store/json/project_pushdown_json_physical_plan.json +++ b/exec/java-exec/src/test/resources/store/json/project_pushdown_json_physical_plan.json @@ -38,13 +38,19 @@ }, "columns" : [ "`field_1`", "`field_3`.`inner_1`", "`field_3`.`inner_2`", "`field_4`.`inner_1`", "`non_existent_at_root`", "`non_existent`.`nested`.`field`"], "selectionRoot" : "/store/json/schema_change_int_to_string.json", - "cost" : 0.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 0 + } }, { "pop" : "screen", "@id" : 0, "child" : 1, "initialAllocation" : 1000000, "maxAllocation" : 10000000000, - "cost" : 1.0 + "cost" : { + "memoryCost" : 0, + "outputRowCount" : 1.0 + } } ] -}
\ No newline at end of file +} |