aboutsummaryrefslogtreecommitdiff
path: root/exec/java-exec/src/test/resources/join/merge_join_nullkey.json
diff options
context:
space:
mode:
authorJinfeng Ni <jni@maprtech.com>2014-06-21 16:04:12 -0700
committerJacques Nadeau <jacques@apache.org>2014-08-27 13:33:48 -0700
commitcd9eaa88fee4b01706a9237fb160aad5cb59f9c8 (patch)
tree949344ff6f1c8e80db328424a7b52d37d0bcabfd /exec/java-exec/src/test/resources/join/merge_join_nullkey.json
parent746a0c7a6a151cfe97d7f69a4b3395eaf6b5e4b8 (diff)
DRILL-1335: Fix merge join operator when compare null against null value.
Diffstat (limited to 'exec/java-exec/src/test/resources/join/merge_join_nullkey.json')
-rw-r--r--exec/java-exec/src/test/resources/join/merge_join_nullkey.json171
1 files changed, 171 insertions, 0 deletions
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
new file mode 100644
index 000000000..b283dda2e
--- /dev/null
+++ b/exec/java-exec/src/test/resources/join/merge_join_nullkey.json
@@ -0,0 +1,171 @@
+{
+ "head" : {
+ "version" : 1,
+ "generator" : {
+ "type" : "DefaultSqlHandler",
+ "info" : ""
+ },
+ "type" : "APACHE_DRILL_PHYSICAL",
+ "options" : [ ],
+ "queue" : 0,
+ "resultMode" : "EXEC"
+ },
+ "graph" : [ {
+ "pop" : "fs-scan",
+ "@id" : 11,
+ "files" : [ "/region.json" ],
+ "storage" : {
+ "type" : "file",
+ "enabled" : true,
+ "connection" : "classpath:///",
+ "workspaces" : null,
+ "formats" : {
+ "json" : {
+ "type" : "json"
+ },
+ "parquet" : {
+ "type" : "parquet"
+ }
+ }
+ },
+ "format" : {
+ "type" : "json"
+ },
+ "selectionRoot" : "/region.json",
+ "cost" : 18.0
+ }, {
+ "pop" : "project",
+ "@id" : 9,
+ "exprs" : [ {
+ "ref" : "`T2¦¦*`",
+ "expr" : "`*`"
+ } ],
+ "child" : 11,
+ "initialAllocation" : 1000000,
+ "maxAllocation" : 10000000000,
+ "cost" : 18.0
+ }, {
+ "pop" : "external-sort",
+ "@id" : 7,
+ "child" : 9,
+ "orderings" : [ {
+ "order" : "ASC",
+ "expr" : "`T2¦¦non_exist`",
+ "nullDirection" : "UNSPECIFIED"
+ } ],
+ "reverse" : false,
+ "initialAllocation" : 1000000,
+ "maxAllocation" : 10000000000,
+ "cost" : 18.0
+ }, {
+ "pop" : "selection-vector-remover",
+ "@id" : 5,
+ "child" : 7,
+ "initialAllocation" : 1000000,
+ "maxAllocation" : 10000000000,
+ "cost" : 18.0
+ }, {
+ "pop" : "fs-scan",
+ "@id" : 10,
+ "files" : [ "/region.json" ],
+ "storage" : {
+ "type" : "file",
+ "enabled" : true,
+ "connection" : "classpath:///",
+ "workspaces" : null,
+ "formats" : {
+ "json" : {
+ "type" : "json"
+ },
+ "parquet" : {
+ "type" : "parquet"
+ }
+ }
+ },
+ "format" : {
+ "type" : "json"
+ },
+ "selectionRoot" : "/region.json",
+ "cost" : 18.0
+ }, {
+ "pop" : "project",
+ "@id" : 8,
+ "exprs" : [ {
+ "ref" : "`T3¦¦*`",
+ "expr" : "`*`"
+ } ],
+ "child" : 10,
+ "initialAllocation" : 1000000,
+ "maxAllocation" : 10000000000,
+ "cost" : 18.0
+ }, {
+ "pop" : "external-sort",
+ "@id" : 6,
+ "child" : 8,
+ "orderings" : [ {
+ "order" : "ASC",
+ "expr" : "`T3¦¦non_exist2`",
+ "nullDirection" : "UNSPECIFIED"
+ } ],
+ "reverse" : false,
+ "initialAllocation" : 1000000,
+ "maxAllocation" : 10000000000,
+ "cost" : 18.0
+ }, {
+ "pop" : "selection-vector-remover",
+ "@id" : 4,
+ "child" : 6,
+ "initialAllocation" : 1000000,
+ "maxAllocation" : 10000000000,
+ "cost" : 18.0
+ }, {
+ "pop" : "merge-join",
+ "@id" : 3,
+ "left" : 5,
+ "right" : 4,
+ "conditions" : [ {
+ "relationship" : "==",
+ "left" : "`T2¦¦non_exist`",
+ "right" : "`T3¦¦non_exist2`"
+ } ],
+ "joinType" : "${JOIN_TYPE}",
+ "initialAllocation" : 1000000,
+ "maxAllocation" : 10000000000,
+ "cost" : 18.0
+ }, {
+ "pop" : "project",
+ "@id" : 2,
+ "exprs" : [ {
+ "ref" : "`T2¦¦*`",
+ "expr" : "`T2¦¦*`"
+ }, {
+ "ref" : "`T3¦¦*`",
+ "expr" : "`T3¦¦*`"
+ } ],
+ "child" : 3,
+ "initialAllocation" : 1000000,
+ "maxAllocation" : 10000000000,
+ "cost" : 18.0
+ }, {
+ "pop" : "project",
+ "@id" : 1,
+ "exprs" : [ {
+ "ref" : "`*`",
+ "expr" : "`T2¦¦*`"
+ }, {
+ "ref" : "`*0`",
+ "expr" : "`T3¦¦*`"
+ } ],
+ "child" : 2,
+ "initialAllocation" : 1000000,
+ "maxAllocation" : 10000000000,
+ "cost" : 18.0
+ }, {
+ "pop" : "screen",
+ "@id" : 0,
+ "child" : 1,
+ "initialAllocation" : 1000000,
+ "maxAllocation" : 10000000000,
+ "cost" : 18.0
+ } ]
+}