aboutsummaryrefslogtreecommitdiff
path: root/exec/java-exec/src/test/resources/join/hashJoinExpr.json
blob: 13a1c0fa6aa82260e96181f777a37a9123071efd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
  "head" : {
    "version" : 1,
    "generator" : {
      "type" : "DefaultSqlHandler",
      "info" : ""
    },
    "type" : "APACHE_DRILL_PHYSICAL",
    "options" : [ ],
    "queue" : 0,
    "resultMode" : "EXEC"
  },
  "graph" : [ {
    "pop" : "parquet-scan",
    "@id" : 5,
    "entries" : [ {
      "path" : "/tpch/region.parquet"
    } ],
    "storage" : {
      "type" : "file",
      "enabled" : true,
      "connection" : "classpath:///",
      "workspaces" : null,
      "formats" : null
    },
    "format" : {
      "type" : "parquet"
    },
    "columns" : [ "`r_regionkey`" ],
    "selectionRoot" : "/tpch/region.parquet",
    "cost" : {
      "memoryCost" : 0,
      "outputRowCount" : 5.0
    }
  }, {
    "pop" : "project",
    "@id" : 3,
    "exprs" : [ {
      "ref" : "`$f2`",
      "expr" : "`r_regionkey`"
    } ],
    "child" : 5,
    "initialAllocation" : 1000000,
    "maxAllocation" : 10000000000,
    "cost" : {
      "memoryCost" : 0,
      "outputRowCount" : 5.0
    }
  }, {
    "pop" : "parquet-scan",
    "@id" : 6,
    "entries" : [ {
      "path" : "/tpch/nation.parquet"
    } ],
    "storage" : {
      "type" : "file",
      "enabled" : true,
      "connection" : "classpath:///",
      "workspaces" : null,
      "formats" : null
    },
    "format" : {
      "type" : "parquet"
    },
    "columns" : [ "`n_nationkey`", "`n_regionkey`" ],
    "selectionRoot" : "/tpch/nation.parquet",
    "cost" : {
      "memoryCost" : 0,
      "outputRowCount" : 25.0
    }
  }, {
    "pop" : "project",
    "@id" : 4,
    "exprs" : [ {
      "ref" : "`n_nationkey`",
      "expr" : "`n_nationkey`"
    }, {
      "ref" : "`$f3`",
      "expr" : "add(`n_regionkey`, 1) "
    } ],
    "child" : 6,
    "initialAllocation" : 1000000,
    "maxAllocation" : 10000000000,
    "cost" : {
      "memoryCost" : 0,
      "outputRowCount" : 25.0
    }
  }, {
    "pop" : "hash-join",
    "@id" : 2,
    "left" : 4,
    "right" : 3,
    "conditions" : [ {
      "relationship" : "==",
      "left" : "add(`$f3`,  2)",
      "right" : "`$f2`"
    } ],
    "joinType" : "INNER",
    "initialAllocation" : 1000000,
    "maxAllocation" : 10000000000,
    "cost" : {
      "memoryCost" : 0,
      "outputRowCount" : 25.0
    }
  }, {
    "pop" : "project",
    "@id" : 1,
    "exprs" : [ {
      "ref" : "`n_nationkey`",
      "expr" : "`n_nationkey`"
    } ],
    "child" : 2,
    "initialAllocation" : 1000000,
    "maxAllocation" : 10000000000,
    "cost" : {
      "memoryCost" : 0,
      "outputRowCount" : 25.0
    }
  }, {
    "pop" : "screen",
    "@id" : 0,
    "child" : 1,
    "initialAllocation" : 1000000,
    "maxAllocation" : 10000000000,
    "cost" : {
      "memoryCost" : 0,
      "outputRowCount" : 25.0
    }
  } ]
}