Facebook
From rabbitonweb, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 249
  1. QScript (Spark):
  2. Subset(Take)
  3. ├─ Unreferenced
  4. ├─ From
  5. │  ╰─ EquiJoin
  6. │     ├─ Reduce
  7. │     │  ├─ Filter
  8. │     │  │  ├─ LeftShift
  9. │     │  │  │  ├─ Map
  10. │     │  │  │  │  ├─ ShiftedRead(/Users/rabbit/Downloads/qdata/patients-mini.data, IncludeId)
  11. │     │  │  │  │  ╰─ ConcatArrays
  12. │     │  │  │  │     ├─ MakeArray
  13. │     │  │  │  │     │  ╰─ ConcatArrays
  14. │     │  │  │  │     │     ├─ ConcatArrays
  15. │     │  │  │  │     │     │  ├─ MakeArray
  16. │     │  │  │  │     │     │  │  ╰─ MakeArray
  17. │     │  │  │  │     │     │  │     ╰─ ProjectIndex
  18. │     │  │  │  │     │     │  │        ├─ ○
  19. │     │  │  │  │     │     │  │        ╰─ Constant(Int(0))
  20. │     │  │  │  │     │     │  ╰─ MakeArray
  21. │     │  │  │  │     │     │     ╰─ ConcatArrays
  22. │     │  │  │  │     │     │        ├─ ConcatArrays
  23. │     │  │  │  │     │     │        │  ├─ ConcatArrays
  24. │     │  │  │  │     │     │        │  │  ├─ MakeArray
  25. │     │  │  │  │     │     │        │  │  │  ╰─ MakeArray
  26. │     │  │  │  │     │     │        │  │  │     ╰─ ProjectIndex
  27. │     │  │  │  │     │     │        │  │  │        ├─ ○
  28. │     │  │  │  │     │     │        │  │  │        ╰─ Constant(Int(0))
  29. │     │  │  │  │     │     │        │  │  ╰─ MakeArray
  30. │     │  │  │  │     │     │        │  │     ╰─ MakeArray
  31. │     │  │  │  │     │     │        │  │        ╰─ ProjectIndex
  32. │     │  │  │  │     │     │        │  │           ├─ ○
  33. │     │  │  │  │     │     │        │  │           ╰─ Constant(Int(0))
  34. │     │  │  │  │     │     │        │  ╰─ MakeArray
  35. │     │  │  │  │     │     │        │     ╰─ ProjectIndex
  36. │     │  │  │  │     │     │        │        ├─ ○
  37. │     │  │  │  │     │     │        │        ╰─ Constant(Int(1))
  38. │     │  │  │  │     │     │        ╰─ MakeArray
  39. │     │  │  │  │     │     │           ╰─ ProjectIndex
  40. │     │  │  │  │     │     │              ├─ ○
  41. │     │  │  │  │     │     │              ╰─ Constant(Int(1))
  42. │     │  │  │  │     │     ╰─ MakeArray
  43. │     │  │  │  │     │        ╰─ Undefined
  44. │     │  │  │  │     ╰─ MakeArray
  45. │     │  │  │  │        ╰─ ConcatArrays
  46. │     │  │  │  │           ├─ ConcatArrays
  47. │     │  │  │  │           │  ├─ MakeArray
  48. │     │  │  │  │           │  │  ╰─ MakeArray
  49. │     │  │  │  │           │  │     ╰─ ProjectIndex
  50. │     │  │  │  │           │  │        ├─ ○
  51. │     │  │  │  │           │  │        ╰─ Constant(Int(0))
  52. │     │  │  │  │           │  ╰─ MakeArray
  53. │     │  │  │  │           │     ╰─ ConcatArrays
  54. │     │  │  │  │           │        ├─ ConcatArrays
  55. │     │  │  │  │           │        │  ├─ ConcatArrays
  56. │     │  │  │  │           │        │  │  ├─ MakeArray
  57. │     │  │  │  │           │        │  │  │  ╰─ MakeArray
  58. │     │  │  │  │           │        │  │  │     ╰─ ProjectIndex
  59. │     │  │  │  │           │        │  │  │        ├─ ○
  60. │     │  │  │  │           │        │  │  │        ╰─ Constant(Int(0))
  61. │     │  │  │  │           │        │  │  ╰─ MakeArray
  62. │     │  │  │  │           │        │  │     ╰─ MakeArray
  63. │     │  │  │  │           │        │  │        ╰─ ProjectIndex
  64. │     │  │  │  │           │        │  │           ├─ ○
  65. │     │  │  │  │           │        │  │           ╰─ Constant(Int(0))
  66. │     │  │  │  │           │        │  ╰─ MakeArray
  67. │     │  │  │  │           │        │     ╰─ ProjectField
  68. │     │  │  │  │           │        │        ├─ Guard
  69. │     │  │  │  │           │        │        │  ├─ ProjectIndex
  70. │     │  │  │  │           │        │        │  │  ├─ ○
  71. │     │  │  │  │           │        │        │  │  ╰─ Constant(Int(1))
  72. │     │  │  │  │           │        │        │  ├─ Type(Obj(Map[], Some(Top)))
  73. │     │  │  │  │           │        │        │  ├─ ProjectIndex
  74. │     │  │  │  │           │        │        │  │  ├─ ○
  75. │     │  │  │  │           │        │        │  │  ╰─ Constant(Int(1))
  76. │     │  │  │  │           │        │        │  ╰─ Undefined
  77. │     │  │  │  │           │        │        ╰─ Constant(Str(codes))
  78. │     │  │  │  │           │        ╰─ MakeArray
  79. │     │  │  │  │           │           ╰─ ProjectField
  80. │     │  │  │  │           │              ├─ Guard
  81. │     │  │  │  │           │              │  ├─ ProjectIndex
  82. │     │  │  │  │           │              │  │  ├─ ○
  83. │     │  │  │  │           │              │  │  ╰─ Constant(Int(1))
  84. │     │  │  │  │           │              │  ├─ Type(Obj(Map[], Some(Top)))
  85. │     │  │  │  │           │              │  ├─ ProjectIndex
  86. │     │  │  │  │           │              │  │  ├─ ○
  87. │     │  │  │  │           │              │  │  ╰─ Constant(Int(1))
  88. │     │  │  │  │           │              │  ╰─ Undefined
  89. │     │  │  │  │           │              ╰─ Constant(Str(codes))
  90. │     │  │  │  │           ╰─ MakeArray
  91. │     │  │  │  │              ╰─ Undefined
  92. │     │  │  │  ├─ Struct
  93. │     │  │  │  │  ╰─ Guard
  94. │     │  │  │  │     ├─ ProjectIndex
  95. │     │  │  │  │     │  ├─ ProjectIndex
  96. │     │  │  │  │     │  │  ├─ ProjectIndex
  97. │     │  │  │  │     │  │  │  ├─ ○
  98. │     │  │  │  │     │  │  │  ╰─ Constant(Int(1))
  99. │     │  │  │  │     │  │  ╰─ Constant(Int(1))
  100. │     │  │  │  │     │  ╰─ Constant(Int(2))
  101. │     │  │  │  │     ├─ Type(FlexArr(0, None, Obj(Map[], Some(Top))))
  102. │     │  │  │  │     ├─ ProjectIndex
  103. │     │  │  │  │     │  ├─ ProjectIndex
  104. │     │  │  │  │     │  │  ├─ ProjectIndex
  105. │     │  │  │  │     │  │  │  ├─ ○
  106. │     │  │  │  │     │  │  │  ╰─ Constant(Int(1))
  107. │     │  │  │  │     │  │  ╰─ Constant(Int(1))
  108. │     │  │  │  │     │  ╰─ Constant(Int(3))
  109. │     │  │  │  │     ╰─ ProjectIndex
  110. │     │  │  │  │        ├─ ProjectIndex
  111. │     │  │  │  │        │  ├─ ○
  112. │     │  │  │  │        │  ╰─ Constant(Int(1))
  113. │     │  │  │  │        ╰─ Constant(Int(2))
  114. │     │  │  │  ├─ IdStatus
  115. │     │  │  │  │  ╰─ IdStatus(ExcludeId)
  116. │     │  │  │  ╰─ Repair
  117. │     │  │  │     ╰─ ConcatArrays
  118. │     │  │  │        ├─ MakeArray
  119. │     │  │  │        │  ╰─ Guard
  120. │     │  │  │        │     ├─ ProjectIndex
  121. │     │  │  │        │     │  ├─ ProjectIndex
  122. │     │  │  │        │     │  │  ├─ ProjectIndex
  123. │     │  │  │        │     │  │  │  ├─ LeftSide
  124. │     │  │  │        │     │  │  │  ╰─ Constant(Int(0))
  125. │     │  │  │        │     │  │  ╰─ Constant(Int(1))
  126. │     │  │  │        │     │  ╰─ Constant(Int(2))
  127. │     │  │  │        │     ├─ Type(Obj(Map[], Some(Top)))
  128. │     │  │  │        │     ├─ ProjectIndex
  129. │     │  │  │        │     │  ├─ ProjectIndex
  130. │     │  │  │        │     │  │  ├─ ProjectIndex
  131. │     │  │  │        │     │  │  │  ├─ LeftSide
  132. │     │  │  │        │     │  │  │  ╰─ Constant(Int(0))
  133. │     │  │  │        │     │  │  ╰─ Constant(Int(1))
  134. │     │  │  │        │     │  ╰─ Constant(Int(3))
  135. │     │  │  │        │     ╰─ ProjectIndex
  136. │     │  │  │        │        ├─ ProjectIndex
  137. │     │  │  │        │        │  ├─ LeftSide
  138. │     │  │  │        │        │  ╰─ Constant(Int(0))
  139. │     │  │  │        │        ╰─ Constant(Int(2))
  140. │     │  │  │        ╰─ MakeArray
  141. │     │  │  │           ╰─ Guard
  142. │     │  │  │              ├─ ProjectField
  143. │     │  │  │              │  ├─ RightSide
  144. │     │  │  │              │  ╰─ Constant(Str(desc))
  145. │     │  │  │              ├─ Type(Str)
  146. │     │  │  │              ├─ Search
  147. │     │  │  │              │  ├─ ProjectField
  148. │     │  │  │              │  │  ├─ RightSide
  149. │     │  │  │              │  │  ╰─ Constant(Str(desc))
  150. │     │  │  │              │  ├─ Constant(Str(^.*flu.*$))
  151. │     │  │  │              │  ╰─ Constant(Bool(false))
  152. │     │  │  │              ╰─ Undefined
  153. │     │  │  ╰─ ProjectIndex
  154. │     │  │     ├─ ○
  155. │     │  │     ╰─ Constant(Int(1))
  156. │     │  ├─ Bucket
  157. │     │  │  ╰─ MakeArray
  158. │     │  │     ╰─ ConcatArrays
  159. │     │  │        ├─ MakeArray
  160. │     │  │        │  ╰─ ProjectField
  161. │     │  │        │     ├─ ProjectIndex
  162. │     │  │        │     │  ├─ ○
  163. │     │  │        │     │  ╰─ Constant(Int(0))
  164. │     │  │        │     ╰─ Constant(Str(state))
  165. │     │  │        ╰─ MakeArray
  166. │     │  │           ╰─ ProjectField
  167. │     │  │              ├─ ProjectIndex
  168. │     │  │              │  ├─ ○
  169. │     │  │              │  ╰─ Constant(Int(0))
  170. │     │  │              ╰─ Constant(Str(gender))
  171. │     │  ├─ Reducers
  172. │     │  │  ├─ Count
  173. │     │  │  │  ╰─ ProjectIndex
  174. │     │  │  │     ├─ ○
  175. │     │  │  │     ╰─ Constant(Int(0))
  176. │     │  │  ├─ Arbitrary
  177. │     │  │  │  ╰─ ProjectField
  178. │     │  │  │     ├─ ProjectIndex
  179. │     │  │  │     │  ├─ ○
  180. │     │  │  │     │  ╰─ Constant(Int(0))
  181. │     │  │  │     ╰─ Constant(Str(state))
  182. │     │  │  ├─ Arbitrary
  183. │     │  │  │  ╰─ ProjectField
  184. │     │  │  │     ├─ ProjectIndex
  185. │     │  │  │     │  ├─ ○
  186. │     │  │  │     │  ╰─ Constant(Int(0))
  187. │     │  │  │     ╰─ Constant(Str(gender))
  188. │     │  │  ├─ Count
  189. │     │  │  │  ╰─ ProjectIndex
  190. │     │  │  │     ├─ ○
  191. │     │  │  │     ╰─ Constant(Int(0))
  192. │     │  │  ├─ Count
  193. │     │  │  │  ╰─ ProjectIndex
  194. │     │  │  │     ├─ ○
  195. │     │  │  │     ╰─ Constant(Int(0))
  196. │     │  │  ├─ Arbitrary
  197. │     │  │  │  ╰─ ProjectField
  198. │     │  │  │     ├─ ProjectIndex
  199. │     │  │  │     │  ├─ ○
  200. │     │  │  │     │  ╰─ Constant(Int(0))
  201. │     │  │  │     ╰─ Constant(Str(state))
  202. │     │  │  ├─ Arbitrary
  203. │     │  │  │  ╰─ ProjectField
  204. │     │  │  │     ├─ ProjectIndex
  205. │     │  │  │     │  ├─ ○
  206. │     │  │  │     │  ╰─ Constant(Int(0))
  207. │     │  │  │     ╰─ Constant(Str(gender))
  208. │     │  │  ├─ Count
  209. │     │  │  │  ╰─ ProjectIndex
  210. │     │  │  │     ├─ ○
  211. │     │  │  │     ╰─ Constant(Int(0))
  212. │     │  │  ├─ Count
  213. │     │  │  │  ╰─ ProjectIndex
  214. │     │  │  │     ├─ ○
  215. │     │  │  │     ╰─ Constant(Int(0))
  216. │     │  │  ├─ Arbitrary
  217. │     │  │  │  ╰─ ProjectField
  218. │     │  │  │     ├─ ProjectIndex
  219. │     │  │  │     │  ├─ ○
  220. │     │  │  │     │  ╰─ Constant(Int(0))
  221. │     │  │  │     ╰─ Constant(Str(state))
  222. │     │  │  ├─ Arbitrary
  223. │     │  │  │  ╰─ ProjectField
  224. │     │  │  │     ├─ ProjectIndex
  225. │     │  │  │     │  ├─ ○
  226. │     │  │  │     │  ╰─ Constant(Int(0))
  227. │     │  │  │     ╰─ Constant(Str(gender))
  228. │     │  │  ├─ Count
  229. │     │  │  │  ╰─ ProjectIndex
  230. │     │  │  │     ├─ ○
  231. │     │  │  │     ╰─ Constant(Int(0))
  232. │     │  │  ├─ Arbitrary
  233. │     │  │  │  ╰─ ProjectField
  234. │     │  │  │     ├─ ProjectIndex
  235. │     │  │  │     │  ├─ ○
  236. │     │  │  │     │  ╰─ Constant(Int(0))
  237. │     │  │  │     ╰─ Constant(Str(state))
  238. │     │  │  ╰─ Arbitrary
  239. │     │  │     ╰─ ProjectField
  240. │     │  │        ├─ ProjectIndex
  241. │     │  │        │  ├─ ○
  242. │     │  │        │  ╰─ Constant(Int(0))
  243. │     │  │        ╰─ Constant(Str(gender))
  244. │     │  ╰─ Repair
  245. │     │     ╰─ ConcatArrays
  246. │     │        ├─ MakeArray
  247. │     │        │  ╰─ ConcatArrays
  248. │     │        │     ├─ MakeArray
  249. │     │        │     │  ╰─ ConcatArrays
  250. │     │        │     │     ├─ ConcatArrays
  251. │     │        │     │     │  ├─ ConcatArrays
  252. │     │        │     │     │  │  ├─ MakeArray
  253. │     │        │     │     │  │  │  ╰─ ConcatArrays
  254. │     │        │     │     │  │  │     ├─ ConcatArrays
  255. │     │        │     │     │  │  │     │  ├─ MakeArray
  256. │     │        │     │     │  │  │     │  │  ╰─ ProjectIndex
  257. │     │        │     │     │  │  │     │  │     ├─ ReduceIndex(None)
  258. │     │        │     │     │  │  │     │  │     ╰─ Constant(Int(0))
  259. │     │        │     │     │  │  │     │  ╰─ MakeArray
  260. │     │        │     │     │  │  │     │     ╰─ ProjectIndex
  261. │     │        │     │     │  │  │     │        ├─ ReduceIndex(None)
  262. │     │        │     │     │  │  │     │        ╰─ Constant(Int(0))
  263. │     │        │     │     │  │  │     ╰─ MakeArray
  264. │     │        │     │     │  │  │        ╰─ ProjectIndex
  265. │     │        │     │     │  │  │           ├─ ReduceIndex(None)
  266. │     │        │     │     │  │  │           ╰─ Constant(Int(0))
  267. │     │        │     │     │  │  ╰─ MakeArray
  268. │     │        │     │     │  │     ╰─ ConcatArrays
  269. │     │        │     │     │  │        ├─ ConcatArrays
  270. │     │        │     │     │  │        │  ├─ MakeArray
  271. │     │        │     │     │  │        │  │  ╰─ ProjectIndex
  272. │     │        │     │     │  │        │  │     ├─ ReduceIndex(None)
  273. │     │        │     │     │  │        │  │     ╰─ Constant(Int(0))
  274. │     │        │     │     │  │        │  ╰─ MakeArray
  275. │     │        │     │     │  │        │     ╰─ ProjectIndex
  276. │     │        │     │     │  │        │        ├─ ReduceIndex(None)
  277. │     │        │     │     │  │        │        ╰─ Constant(Int(0))
  278. │     │        │     │     │  │        ╰─ MakeArray
  279. │     │        │     │     │  │           ╰─ ProjectIndex
  280. │     │        │     │     │  │              ├─ ReduceIndex(None)
  281. │     │        │     │     │  │              ╰─ Constant(Int(0))
  282. │     │        │     │     │  ╰─ MakeArray
  283. │     │        │     │     │     ╰─ ConcatMaps
  284. │     │        │     │     │        ├─ ConcatMaps
  285. │     │        │     │     │        │  ├─ MakeMap
  286. │     │        │     │     │        │  │  ├─ Constant(Str(cnt))
  287. │     │        │     │     │        │  │  ╰─ ReduceIndex(Some(0))
  288. │     │        │     │     │        │  ╰─ MakeMap
  289. │     │        │     │     │        │     ├─ Constant(Str(state))
  290. │     │        │     │     │        │     ╰─ ReduceIndex(Some(1))
  291. │     │        │     │     │        ╰─ MakeMap
  292. │     │        │     │     │           ├─ Constant(Str(gender))
  293. │     │        │     │     │           ╰─ ReduceIndex(Some(2))
  294. │     │        │     │     ╰─ MakeArray
  295. │     │        │     │        ╰─ ReduceIndex(Some(3))
  296. │     │        │     ╰─ MakeArray
  297. │     │        │        ╰─ ConcatArrays
  298. │     │        │           ├─ ConcatArrays
  299. │     │        │           │  ├─ ConcatArrays
  300. │     │        │           │  │  ├─ MakeArray
  301. │     │        │           │  │  │  ╰─ ConcatArrays
  302. │     │        │           │  │  │     ├─ ConcatArrays
  303. │     │        │           │  │  │     │  ├─ MakeArray
  304. │     │        │           │  │  │     │  │  ╰─ ProjectIndex
  305. │     │        │           │  │  │     │  │     ├─ ReduceIndex(None)
  306. │     │        │           │  │  │     │  │     ╰─ Constant(Int(0))
  307. │     │        │           │  │  │     │  ╰─ MakeArray
  308. │     │        │           │  │  │     │     ╰─ ProjectIndex
  309. │     │        │           │  │  │     │        ├─ ReduceIndex(None)
  310. │     │        │           │  │  │     │        ╰─ Constant(Int(0))
  311. │     │        │           │  │  │     ╰─ MakeArray
  312. │     │        │           │  │  │        ╰─ ProjectIndex
  313. │     │        │           │  │  │           ├─ ReduceIndex(None)
  314. │     │        │           │  │  │           ╰─ Constant(Int(0))
  315. │     │        │           │  │  ╰─ MakeArray
  316. │     │        │           │  │     ╰─ ConcatArrays
  317. │     │        │           │  │        ├─ ConcatArrays
  318. │     │        │           │  │        │  ├─ MakeArray
  319. │     │        │           │  │        │  │  ╰─ ProjectIndex
  320. │     │        │           │  │        │  │     ├─ ReduceIndex(None)
  321. │     │        │           │  │        │  │     ╰─ Constant(Int(0))
  322. │     │        │           │  │        │  ╰─ MakeArray
  323. │     │        │           │  │        │     ╰─ ProjectIndex
  324. │     │        │           │  │        │        ├─ ReduceIndex(None)
  325. │     │        │           │  │        │        ╰─ Constant(Int(0))
  326. │     │        │           │  │        ╰─ MakeArray
  327. │     │        │           │  │           ╰─ ProjectIndex
  328. │     │        │           │  │              ├─ ReduceIndex(None)
  329. │     │        │           │  │              ╰─ Constant(Int(0))
  330. │     │        │           │  ╰─ MakeArray
  331. │     │        │           │     ╰─ ConcatMaps
  332. │     │        │           │        ├─ ConcatMaps
  333. │     │        │           │        │  ├─ MakeMap
  334. │     │        │           │        │  │  ├─ Constant(Str(cnt))
  335. │     │        │           │        │  │  ╰─ ReduceIndex(Some(4))
  336. │     │        │           │        │  ╰─ MakeMap
  337. │     │        │           │        │     ├─ Constant(Str(state))
  338. │     │        │           │        │     ╰─ ReduceIndex(Some(5))
  339. │     │        │           │        ╰─ MakeMap
  340. │     │        │           │           ├─ Constant(Str(gender))
  341. │     │        │           │           ╰─ ReduceIndex(Some(6))
  342. │     │        │           ╰─ MakeArray
  343. │     │        │              ╰─ ReduceIndex(Some(7))
  344. │     │        ╰─ MakeArray
  345. │     │           ╰─ ConcatArrays
  346. │     │              ├─ ConcatArrays
  347. │     │              │  ├─ ConcatArrays
  348. │     │              │  │  ├─ MakeArray
  349. │     │              │  │  │  ╰─ ConcatArrays
  350. │     │              │  │  │     ├─ ConcatArrays
  351. │     │              │  │  │     │  ├─ MakeArray
  352. │     │              │  │  │     │  │  ╰─ ProjectIndex
  353. │     │              │  │  │     │  │     ├─ ReduceIndex(None)
  354. │     │              │  │  │     │  │     ╰─ Constant(Int(0))
  355. │     │              │  │  │     │  ╰─ MakeArray
  356. │     │              │  │  │     │     ╰─ ProjectIndex
  357. │     │              │  │  │     │        ├─ ReduceIndex(None)
  358. │     │              │  │  │     │        ╰─ Constant(Int(0))
  359. │     │              │  │  │     ╰─ MakeArray
  360. │     │              │  │  │        ╰─ ProjectIndex
  361. │     │              │  │  │           ├─ ReduceIndex(None)
  362. │     │              │  │  │           ╰─ Constant(Int(0))
  363. │     │              │  │  ╰─ MakeArray
  364. │     │              │  │     ╰─ ConcatArrays
  365. │     │              │  │        ├─ ConcatArrays
  366. │     │              │  │        │  ├─ MakeArray
  367. │     │              │  │        │  │  ╰─ ProjectIndex
  368. │     │              │  │        │  │     ├─ ReduceIndex(None)
  369. │     │              │  │        │  │     ╰─ Constant(Int(0))
  370. │     │              │  │        │  ╰─ MakeArray
  371. │     │              │  │        │     ╰─ ProjectIndex
  372. │     │              │  │        │        ├─ ReduceIndex(None)
  373. │     │              │  │        │        ╰─ Constant(Int(0))
  374. │     │              │  │        ╰─ MakeArray
  375. │     │              │  │           ╰─ ProjectIndex
  376. │     │              │  │              ├─ ReduceIndex(None)
  377. │     │              │  │              ╰─ Constant(Int(0))
  378. │     │              │  ╰─ MakeArray
  379. │     │              │     ╰─ ConcatMaps
  380. │     │              │        ├─ ConcatMaps
  381. │     │              │        │  ├─ MakeMap
  382. │     │              │        │  │  ├─ Constant(Str(cnt))
  383. │     │              │        │  │  ╰─ ReduceIndex(Some(8))
  384. │     │              │        │  ╰─ MakeMap
  385. │     │              │        │     ├─ Constant(Str(state))
  386. │     │              │        │     ╰─ ReduceIndex(Some(9))
  387. │     │              │        ╰─ MakeMap
  388. │     │              │           ├─ Constant(Str(gender))
  389. │     │              │           ╰─ ReduceIndex(Some(10))
  390. │     │              ╰─ MakeArray
  391. │     │                 ╰─ ReduceIndex(Some(11))
  392. │     ├─ Reduce
  393. │     │  ├─ EquiJoin
  394. │     │  │  ├─ Map
  395. │     │  │  │  ├─ ○
  396. │     │  │  │  ╰─ ProjectIndex
  397. │     │  │  │     ├─ ○
  398. │     │  │  │     ╰─ Constant(Int(0))
  399. │     │  │  ├─ Sort
  400. │     │  │  │  ├─ ○
  401. │     │  │  │  ├─ Bucket
  402. │     │  │  │  │  ╰─ Constant(Null())
  403. │     │  │  │  ╰─ Order
  404. │     │  │  │     ╰─ Descending
  405. │     │  │  │        ╰─ By
  406. │     │  │  │           ╰─ ProjectIndex
  407. │     │  │  │              ├─ ProjectIndex
  408. │     │  │  │              │  ├─ ○
  409. │     │  │  │              │  ╰─ Constant(Int(0))
  410. │     │  │  │              ╰─ Constant(Int(3))
  411. │     │  │  ├─ Sort
  412. │     │  │  │  ├─ ○
  413. │     │  │  │  ├─ Bucket
  414. │     │  │  │  │  ╰─ Constant(Null())
  415. │     │  │  │  ╰─ Order
  416. │     │  │  │     ╰─ Descending
  417. │     │  │  │        ╰─ By
  418. │     │  │  │           ╰─ ProjectIndex
  419. │     │  │  │              ├─ ProjectIndex
  420. │     │  │  │              │  ├─ ○
  421. │     │  │  │              │  ╰─ Constant(Int(1))
  422. │     │  │  │              ╰─ Constant(Int(3))
  423. │     │  │  ├─ ConcatArrays
  424. │     │  │  │  ├─ ConcatArrays
  425. │     │  │  │  │  ├─ ConcatArrays
  426. │     │  │  │  │  │  ├─ ConcatArrays
  427. │     │  │  │  │  │  │  ├─ ConcatArrays
  428. │     │  │  │  │  │  │  │  ├─ MakeArray
  429. │     │  │  │  │  │  │  │  │  ╰─ ProjectIndex
  430. │     │  │  │  │  │  │  │  │     ├─ ProjectIndex
  431. │     │  │  │  │  │  │  │  │     │  ├─ ProjectIndex
  432. │     │  │  │  │  │  │  │  │     │  │  ├─ ○
  433. │     │  │  │  │  │  │  │  │     │  │  ╰─ Constant(Int(0))
  434. │     │  │  │  │  │  │  │  │     │  ╰─ Constant(Int(0))
  435. │     │  │  │  │  │  │  │  │     ╰─ Constant(Int(0))
  436. │     │  │  │  │  │  │  │  ╰─ MakeArray
  437. │     │  │  │  │  │  │  │     ╰─ ProjectIndex
  438. │     │  │  │  │  │  │  │        ├─ ProjectIndex
  439. │     │  │  │  │  │  │  │        │  ├─ ProjectIndex
  440. │     │  │  │  │  │  │  │        │  │  ├─ ○
  441. │     │  │  │  │  │  │  │        │  │  ╰─ Constant(Int(0))
  442. │     │  │  │  │  │  │  │        │  ╰─ Constant(Int(0))
  443. │     │  │  │  │  │  │  │        ╰─ Constant(Int(1))
  444. │     │  │  │  │  │  │  ╰─ MakeArray
  445. │     │  │  │  │  │  │     ╰─ ProjectIndex
  446. │     │  │  │  │  │  │        ├─ ProjectIndex
  447. │     │  │  │  │  │  │        │  ├─ ProjectIndex
  448. │     │  │  │  │  │  │        │  │  ├─ ○
  449. │     │  │  │  │  │  │        │  │  ╰─ Constant(Int(0))
  450. │     │  │  │  │  │  │        │  ╰─ Constant(Int(0))
  451. │     │  │  │  │  │  │        ╰─ Constant(Int(2))
  452. │     │  │  │  │  │  ╰─ MakeArray
  453. │     │  │  │  │  │     ╰─ ProjectIndex
  454. │     │  │  │  │  │        ├─ ProjectIndex
  455. │     │  │  │  │  │        │  ├─ ProjectIndex
  456. │     │  │  │  │  │        │  │  ├─ ○
  457. │     │  │  │  │  │        │  │  ╰─ Constant(Int(0))
  458. │     │  │  │  │  │        │  ╰─ Constant(Int(1))
  459. │     │  │  │  │  │        ╰─ Constant(Int(0))
  460. │     │  │  │  │  ╰─ MakeArray
  461. │     │  │  │  │     ╰─ ProjectIndex
  462. │     │  │  │  │        ├─ ProjectIndex
  463. │     │  │  │  │        │  ├─ ProjectIndex
  464. │     │  │  │  │        │  │  ├─ ○
  465. │     │  │  │  │        │  │  ╰─ Constant(Int(0))
  466. │     │  │  │  │        │  ╰─ Constant(Int(1))
  467. │     │  │  │  │        ╰─ Constant(Int(1))
  468. │     │  │  │  ╰─ MakeArray
  469. │     │  │  │     ╰─ ProjectIndex
  470. │     │  │  │        ├─ ProjectIndex
  471. │     │  │  │        │  ├─ ProjectIndex
  472. │     │  │  │        │  │  ├─ ○
  473. │     │  │  │        │  │  ╰─ Constant(Int(0))
  474. │     │  │  │        │  ╰─ Constant(Int(1))
  475. │     │  │  │        ╰─ Constant(Int(2))
  476. │     │  │  ├─ ConcatArrays
  477. │     │  │  │  ├─ ConcatArrays
  478. │     │  │  │  │  ├─ ConcatArrays
  479. │     │  │  │  │  │  ├─ ConcatArrays
  480. │     │  │  │  │  │  │  ├─ ConcatArrays
  481. │     │  │  │  │  │  │  │  ├─ MakeArray
  482. │     │  │  │  │  │  │  │  │  ╰─ ProjectIndex
  483. │     │  │  │  │  │  │  │  │     ├─ ProjectIndex
  484. │     │  │  │  │  │  │  │  │     │  ├─ ProjectIndex
  485. │     │  │  │  │  │  │  │  │     │  │  ├─ ○
  486. │     │  │  │  │  │  │  │  │     │  │  ╰─ Constant(Int(1))
  487. │     │  │  │  │  │  │  │  │     │  ╰─ Constant(Int(2))
  488. │     │  │  │  │  │  │  │  │     ╰─ Constant(Int(0))
  489. │     │  │  │  │  │  │  │  ╰─ MakeArray
  490. │     │  │  │  │  │  │  │     ╰─ ProjectIndex
  491. │     │  │  │  │  │  │  │        ├─ ProjectIndex
  492. │     │  │  │  │  │  │  │        │  ├─ ProjectIndex
  493. │     │  │  │  │  │  │  │        │  │  ├─ ○
  494. │     │  │  │  │  │  │  │        │  │  ╰─ Constant(Int(1))
  495. │     │  │  │  │  │  │  │        │  ╰─ Constant(Int(2))
  496. │     │  │  │  │  │  │  │        ╰─ Constant(Int(1))
  497. │     │  │  │  │  │  │  ╰─ MakeArray
  498. │     │  │  │  │  │  │     ╰─ ProjectIndex
  499. │     │  │  │  │  │  │        ├─ ProjectIndex
  500. │     │  │  │  │  │  │        │  ├─ ProjectIndex
  501. │     │  │  │  │  │  │        │  │  ├─ ○
  502. │     │  │  │  │  │  │        │  │  ╰─ Constant(Int(1))
  503. │     │  │  │  │  │  │        │  ╰─ Constant(Int(2))
  504. │     │  │  │  │  │  │        ╰─ Constant(Int(2))
  505. │     │  │  │  │  │  ╰─ MakeArray
  506. │     │  │  │  │  │     ╰─ ProjectIndex
  507. │     │  │  │  │  │        ├─ ProjectIndex
  508. │     │  │  │  │  │        │  ├─ ProjectIndex
  509. │     │  │  │  │  │        │  │  ├─ ○
  510. │     │  │  │  │  │        │  │  ╰─ Constant(Int(1))
  511. │     │  │  │  │  │        │  ╰─ Constant(Int(2))
  512. │     │  │  │  │  │        ╰─ Constant(Int(3))
  513. │     │  │  │  │  ╰─ MakeArray
  514. │     │  │  │  │     ╰─ ProjectIndex
  515. │     │  │  │  │        ├─ ProjectIndex
  516. │     │  │  │  │        │  ├─ ProjectIndex
  517. │     │  │  │  │        │  │  ├─ ○
  518. │     │  │  │  │        │  │  ╰─ Constant(Int(1))
  519. │     │  │  │  │        │  ╰─ Constant(Int(2))
  520. │     │  │  │  │        ╰─ Constant(Int(4))
  521. │     │  │  │  ╰─ MakeArray
  522. │     │  │  │     ╰─ ProjectIndex
  523. │     │  │  │        ├─ ProjectIndex
  524. │     │  │  │        │  ├─ ProjectIndex
  525. │     │  │  │        │  │  ├─ ○
  526. │     │  │  │        │  │  ╰─ Constant(Int(1))
  527. │     │  │  │        │  ╰─ Constant(Int(2))
  528. │     │  │  │        ╰─ Constant(Int(5))
  529. │     │  │  ├─ Inner
  530. │     │  │  ╰─ ConcatArrays
  531. │     │  │     ├─ MakeArray
  532. │     │  │     │  ╰─ ConcatArrays
  533. │     │  │     │     ├─ ConcatArrays
  534. │     │  │     │     │  ├─ MakeArray
  535. │     │  │     │     │  │  ╰─ ConcatArrays
  536. │     │  │     │     │  │     ├─ ConcatArrays
  537. │     │  │     │     │  │     │  ├─ ConcatArrays
  538. │     │  │     │     │  │     │  │  ├─ ConcatArrays
  539. │     │  │     │     │  │     │  │  │  ├─ ConcatArrays
  540. │     │  │     │     │  │     │  │  │  │  ├─ MakeArray
  541. │     │  │     │     │  │     │  │  │  │  │  ╰─ ProjectIndex
  542. │     │  │     │     │  │     │  │  │  │  │     ├─ ProjectIndex
  543. │     │  │     │     │  │     │  │  │  │  │     │  ├─ ProjectIndex
  544. │     │  │     │     │  │     │  │  │  │  │     │  │  ├─ LeftSide
  545. │     │  │     │     │  │     │  │  │  │  │     │  │  ╰─ Constant(Int(0))
  546. │     │  │     │     │  │     │  │  │  │  │     │  ╰─ Constant(Int(0))
  547. │     │  │     │     │  │     │  │  │  │  │     ╰─ Constant(Int(0))
  548. │     │  │     │     │  │     │  │  │  │  ╰─ MakeArray
  549. │     │  │     │     │  │     │  │  │  │     ╰─ ProjectIndex
  550. │     │  │     │     │  │     │  │  │  │        ├─ ProjectIndex
  551. │     │  │     │     │  │     │  │  │  │        │  ├─ ProjectIndex
  552. │     │  │     │     │  │     │  │  │  │        │  │  ├─ LeftSide
  553. │     │  │     │     │  │     │  │  │  │        │  │  ╰─ Constant(Int(0))
  554. │     │  │     │     │  │     │  │  │  │        │  ╰─ Constant(Int(0))
  555. │     │  │     │     │  │     │  │  │  │        ╰─ Constant(Int(1))
  556. │     │  │     │     │  │     │  │  │  ╰─ MakeArray
  557. │     │  │     │     │  │     │  │  │     ╰─ ProjectIndex
  558. │     │  │     │     │  │     │  │  │        ├─ ProjectIndex
  559. │     │  │     │     │  │     │  │  │        │  ├─ ProjectIndex
  560. │     │  │     │     │  │     │  │  │        │  │  ├─ LeftSide
  561. │     │  │     │     │  │     │  │  │        │  │  ╰─ Constant(Int(0))
  562. │     │  │     │     │  │     │  │  │        │  ╰─ Constant(Int(0))
  563. │     │  │     │     │  │     │  │  │        ╰─ Constant(Int(2))
  564. │     │  │     │     │  │     │  │  ╰─ MakeArray
  565. │     │  │     │     │  │     │  │     ╰─ ProjectIndex
  566. │     │  │     │     │  │     │  │        ├─ ProjectIndex
  567. │     │  │     │     │  │     │  │        │  ├─ ProjectIndex
  568. │     │  │     │     │  │     │  │        │  │  ├─ LeftSide
  569. │     │  │     │     │  │     │  │        │  │  ╰─ Constant(Int(0))
  570. │     │  │     │     │  │     │  │        │  ╰─ Constant(Int(1))
  571. │     │  │     │     │  │     │  │        ╰─ Constant(Int(0))
  572. │     │  │     │     │  │     │  ╰─ MakeArray
  573. │     │  │     │     │  │     │     ╰─ ProjectIndex
  574. │     │  │     │     │  │     │        ├─ ProjectIndex
  575. │     │  │     │     │  │     │        │  ├─ ProjectIndex
  576. │     │  │     │     │  │     │        │  │  ├─ LeftSide
  577. │     │  │     │     │  │     │        │  │  ╰─ Constant(Int(0))
  578. │     │  │     │     │  │     │        │  ╰─ Constant(Int(1))
  579. │     │  │     │     │  │     │        ╰─ Constant(Int(1))
  580. │     │  │     │     │  │     ╰─ MakeArray
  581. │     │  │     │     │  │        ╰─ ProjectIndex
  582. │     │  │     │     │  │           ├─ ProjectIndex
  583. │     │  │     │     │  │           │  ├─ ProjectIndex
  584. │     │  │     │     │  │           │  │  ├─ LeftSide
  585. │     │  │     │     │  │           │  │  ╰─ Constant(Int(0))
  586. │     │  │     │     │  │           │  ╰─ Constant(Int(1))
  587. │     │  │     │     │  │           ╰─ Constant(Int(2))
  588. │     │  │     │     │  ╰─ MakeArray
  589. │     │  │     │     │     ╰─ ProjectIndex
  590. │     │  │     │     │        ├─ ProjectIndex
  591. │     │  │     │     │        │  ├─ LeftSide
  592. │     │  │     │     │        │  ╰─ Constant(Int(0))
  593. │     │  │     │     │        ╰─ Constant(Int(2))
  594. │     │  │     │     ╰─ Constant(Arr(List(Str(cnt))))
  595. │     │  │     ╰─ MakeArray
  596. │     │  │        ╰─ ConcatArrays
  597. │     │  │           ├─ ConcatArrays
  598. │     │  │           │  ├─ MakeArray
  599. │     │  │           │  │  ╰─ ConcatArrays
  600. │     │  │           │  │     ├─ ConcatArrays
  601. │     │  │           │  │     │  ├─ ConcatArrays
  602. │     │  │           │  │     │  │  ├─ ConcatArrays
  603. │     │  │           │  │     │  │  │  ├─ ConcatArrays
  604. │     │  │           │  │     │  │  │  │  ├─ MakeArray
  605. │     │  │           │  │     │  │  │  │  │  ╰─ ProjectIndex
  606. │     │  │           │  │     │  │  │  │  │     ├─ ProjectIndex
  607. │     │  │           │  │     │  │  │  │  │     │  ├─ ProjectIndex
  608. │     │  │           │  │     │  │  │  │  │     │  │  ├─ RightSide
  609. │     │  │           │  │     │  │  │  │  │     │  │  ╰─ Constant(Int(1))
  610. │     │  │           │  │     │  │  │  │  │     │  ╰─ Constant(Int(0))
  611. │     │  │           │  │     │  │  │  │  │     ╰─ Constant(Int(0))
  612. │     │  │           │  │     │  │  │  │  ╰─ MakeArray
  613. │     │  │           │  │     │  │  │  │     ╰─ ProjectIndex
  614. │     │  │           │  │     │  │  │  │        ├─ ProjectIndex
  615. │     │  │           │  │     │  │  │  │        │  ├─ ProjectIndex
  616. │     │  │           │  │     │  │  │  │        │  │  ├─ RightSide
  617. │     │  │           │  │     │  │  │  │        │  │  ╰─ Constant(Int(1))
  618. │     │  │           │  │     │  │  │  │        │  ╰─ Constant(Int(0))
  619. │     │  │           │  │     │  │  │  │        ╰─ Constant(Int(1))
  620. │     │  │           │  │     │  │  │  ╰─ MakeArray
  621. │     │  │           │  │     │  │  │     ╰─ ProjectIndex
  622. │     │  │           │  │     │  │  │        ├─ ProjectIndex
  623. │     │  │           │  │     │  │  │        │  ├─ ProjectIndex
  624. │     │  │           │  │     │  │  │        │  │  ├─ RightSide
  625. │     │  │           │  │     │  │  │        │  │  ╰─ Constant(Int(1))
  626. │     │  │           │  │     │  │  │        │  ╰─ Constant(Int(0))
  627. │     │  │           │  │     │  │  │        ╰─ Constant(Int(2))
  628. │     │  │           │  │     │  │  ╰─ MakeArray
  629. │     │  │           │  │     │  │     ╰─ ProjectIndex
  630. │     │  │           │  │     │  │        ├─ ProjectIndex
  631. │     │  │           │  │     │  │        │  ├─ ProjectIndex
  632. │     │  │           │  │     │  │        │  │  ├─ RightSide
  633. │     │  │           │  │     │  │        │  │  ╰─ Constant(Int(1))
  634. │     │  │           │  │     │  │        │  ╰─ Constant(Int(1))
  635. │     │  │           │  │     │  │        ╰─ Constant(Int(0))
  636. │     │  │           │  │     │  ╰─ MakeArray
  637. │     │  │           │  │     │     ╰─ ProjectIndex
  638. │     │  │           │  │     │        ├─ ProjectIndex
  639. │     │  │           │  │     │        │  ├─ ProjectIndex
  640. │     │  │           │  │     │        │  │  ├─ RightSide
  641. │     │  │           │  │     │        │  │  ╰─ Constant(Int(1))
  642. │     │  │           │  │     │        │  ╰─ Constant(Int(1))
  643. │     │  │           │  │     │        ╰─ Constant(Int(1))
  644. │     │  │           │  │     ╰─ MakeArray
  645. │     │  │           │  │        ╰─ ProjectIndex
  646. │     │  │           │  │           ├─ ProjectIndex
  647. │     │  │           │  │           │  ├─ ProjectIndex
  648. │     │  │           │  │           │  │  ├─ RightSide
  649. │     │  │           │  │           │  │  ╰─ Constant(Int(1))
  650. │     │  │           │  │           │  ╰─ Constant(Int(1))
  651. │     │  │           │  │           ╰─ Constant(Int(2))
  652. │     │  │           │  ╰─ MakeArray
  653. │     │  │           │     ╰─ ProjectIndex
  654. │     │  │           │        ├─ ProjectIndex
  655. │     │  │           │        │  ├─ RightSide
  656. │     │  │           │        │  ╰─ Constant(Int(1))
  657. │     │  │           │        ╰─ Constant(Int(2))
  658. │     │  │           ╰─ Constant(Arr(List(Str(cnt))))
  659. │     │  ├─ Bucket
  660. │     │  │  ╰─ Constant(Null())
  661. │     │  ├─ Reducers
  662. │     │  │  ╰─ Avg
  663. │     │  │     ╰─ Guard
  664. │     │  │        ├─ ProjectField
  665. │     │  │        │  ├─ ProjectIndex
  666. │     │  │        │  │  ├─ ProjectIndex
  667. │     │  │        │  │  │  ├─ ○
  668. │     │  │        │  │  │  ╰─ Constant(Int(0))
  669. │     │  │        │  │  ╰─ Constant(Int(1))
  670. │     │  │        │  ╰─ ProjectIndex
  671. │     │  │        │     ├─ ProjectIndex
  672. │     │  │        │     │  ├─ ○
  673. │     │  │        │     │  ╰─ Constant(Int(0))
  674. │     │  │        │     ╰─ Constant(Int(2))
  675. │     │  │        ├─ Type(Int, Dec, or Interval)
  676. │     │  │        ├─ ProjectField
  677. │     │  │        │  ├─ ProjectIndex
  678. │     │  │        │  │  ├─ ProjectIndex
  679. │     │  │        │  │  │  ├─ ○
  680. │     │  │        │  │  │  ╰─ Constant(Int(1))
  681. │     │  │        │  │  ╰─ Constant(Int(1))
  682. │     │  │        │  ╰─ ProjectIndex
  683. │     │  │        │     ├─ ProjectIndex
  684. │     │  │        │     │  ├─ ○
  685. │     │  │        │     │  ╰─ Constant(Int(1))
  686. │     │  │        │     ╰─ Constant(Int(2))
  687. │     │  │        ╰─ Undefined
  688. │     │  ╰─ Repair
  689. │     │     ╰─ ConcatArrays
  690. │     │        ├─ ConcatArrays
  691. │     │        │  ├─ MakeArray
  692. │     │        │  │  ╰─ ConcatArrays
  693. │     │        │  │     ├─ ConcatArrays
  694. │     │        │  │     │  ├─ ConcatArrays
  695. │     │        │  │     │  │  ├─ ConcatArrays
  696. │     │        │  │     │  │  │  ├─ ConcatArrays
  697. │     │        │  │     │  │  │  │  ├─ MakeArray
  698. │     │        │  │     │  │  │  │  │  ╰─ ProjectIndex
  699. │     │        │  │     │  │  │  │  │     ├─ ProjectIndex
  700. │     │        │  │     │  │  │  │  │     │  ├─ ReduceIndex(Some(0))
  701. │     │        │  │     │  │  │  │  │     │  ╰─ Constant(Int(0))
  702. │     │        │  │     │  │  │  │  │     ╰─ Constant(Int(0))
  703. │     │        │  │     │  │  │  │  ╰─ MakeArray
  704. │     │        │  │     │  │  │  │     ╰─ ProjectIndex
  705. │     │        │  │     │  │  │  │        ├─ ProjectIndex
  706. │     │        │  │     │  │  │  │        │  ├─ ReduceIndex(Some(0))
  707. │     │        │  │     │  │  │  │        │  ╰─ Constant(Int(0))
  708. │     │        │  │     │  │  │  │        ╰─ Constant(Int(1))
  709. │     │        │  │     │  │  │  ╰─ MakeArray
  710. │     │        │  │     │  │  │     ╰─ ProjectIndex
  711. │     │        │  │     │  │  │        ├─ ProjectIndex
  712. │     │        │  │     │  │  │        │  ├─ ReduceIndex(Some(0))
  713. │     │        │  │     │  │  │        │  ╰─ Constant(Int(0))
  714. │     │        │  │     │  │  │        ╰─ Constant(Int(2))
  715. │     │        │  │     │  │  ╰─ MakeArray
  716. │     │        │  │     │  │     ╰─ ProjectIndex
  717. │     │        │  │     │  │        ├─ ProjectIndex
  718. │     │        │  │     │  │        │  ├─ ReduceIndex(Some(0))
  719. │     │        │  │     │  │        │  ╰─ Constant(Int(0))
  720. │     │        │  │     │  │        ╰─ Constant(Int(3))
  721. │     │        │  │     │  ╰─ MakeArray
  722. │     │        │  │     │     ╰─ ProjectIndex
  723. │     │        │  │     │        ├─ ProjectIndex
  724. │     │        │  │     │        │  ├─ ReduceIndex(Some(0))
  725. │     │        │  │     │        │  ╰─ Constant(Int(0))
  726. │     │        │  │     │        ╰─ Constant(Int(4))
  727. │     │        │  │     ╰─ MakeArray
  728. │     │        │  │        ╰─ ProjectIndex
  729. │     │        │  │           ├─ ProjectIndex
  730. │     │        │  │           │  ├─ ReduceIndex(Some(0))
  731. │     │        │  │           │  ╰─ Constant(Int(0))
  732. │     │        │  │           ╰─ Constant(Int(5))
  733. │     │        │  ╰─ Constant(Arr(List(Str(measure))))
  734. │     │        ╰─ MakeArray
  735. │     │           ╰─ ReduceIndex(Some(0))
  736. │     ├─ Map
  737. │     │  ├─ Sort
  738. │     │  │  ├─ ○
  739. │     │  │  ├─ Bucket
  740. │     │  │  │  ╰─ Constant(Null())
  741. │     │  │  ╰─ Order
  742. │     │  │     ╰─ Descending
  743. │     │  │        ╰─ By
  744. │     │  │           ╰─ ProjectIndex
  745. │     │  │              ├─ ProjectIndex
  746. │     │  │              │  ├─ ○
  747. │     │  │              │  ╰─ Constant(Int(1))
  748. │     │  │              ╰─ Constant(Int(3))
  749. │     │  ╰─ ConcatArrays
  750. │     │     ├─ ConcatArrays
  751. │     │     │  ├─ MakeArray
  752. │     │     │  │  ╰─ ConcatArrays
  753. │     │     │  │     ├─ ConcatArrays
  754. │     │     │  │     │  ├─ ConcatArrays
  755. │     │     │  │     │  │  ├─ ConcatArrays
  756. │     │     │  │     │  │  │  ├─ ConcatArrays
  757. │     │     │  │     │  │  │  │  ├─ MakeArray
  758. │     │     │  │     │  │  │  │  │  ╰─ ProjectIndex
  759. │     │     │  │     │  │  │  │  │     ├─ ProjectIndex
  760. │     │     │  │     │  │  │  │  │     │  ├─ ProjectIndex
  761. │     │     │  │     │  │  │  │  │     │  │  ├─ ○
  762. │     │     │  │     │  │  │  │  │     │  │  ╰─ Constant(Int(1))
  763. │     │     │  │     │  │  │  │  │     │  ╰─ Constant(Int(0))
  764. │     │     │  │     │  │  │  │  │     ╰─ Constant(Int(0))
  765. │     │     │  │     │  │  │  │  ╰─ MakeArray
  766. │     │     │  │     │  │  │  │     ╰─ ProjectIndex
  767. │     │     │  │     │  │  │  │        ├─ ProjectIndex
  768. │     │     │  │     │  │  │  │        │  ├─ ProjectIndex
  769. │     │     │  │     │  │  │  │        │  │  ├─ ○
  770. │     │     │  │     │  │  │  │        │  │  ╰─ Constant(Int(1))
  771. │     │     │  │     │  │  │  │        │  ╰─ Constant(Int(0))
  772. │     │     │  │     │  │  │  │        ╰─ Constant(Int(1))
  773. │     │     │  │     │  │  │  ╰─ MakeArray
  774. │     │     │  │     │  │  │     ╰─ ProjectIndex
  775. │     │     │  │     │  │  │        ├─ ProjectIndex
  776. │     │     │  │     │  │  │        │  ├─ ProjectIndex
  777. │     │     │  │     │  │  │        │  │  ├─ ○
  778. │     │     │  │     │  │  │        │  │  ╰─ Constant(Int(1))
  779. │     │     │  │     │  │  │        │  ╰─ Constant(Int(0))
  780. │     │     │  │     │  │  │        ╰─ Constant(Int(2))
  781. │     │     │  │     │  │  ╰─ MakeArray
  782. │     │     │  │     │  │     ╰─ ProjectIndex
  783. │     │     │  │     │  │        ├─ ProjectIndex
  784. │     │     │  │     │  │        │  ├─ ProjectIndex
  785. │     │     │  │     │  │        │  │  ├─ ○
  786. │     │     │  │     │  │        │  │  ╰─ Constant(Int(1))
  787. │     │     │  │     │  │        │  ╰─ Constant(Int(1))
  788. │     │     │  │     │  │        ╰─ Constant(Int(0))
  789. │     │     │  │     │  ╰─ MakeArray
  790. │     │     │  │     │     ╰─ ProjectIndex
  791. │     │     │  │     │        ├─ ProjectIndex
  792. │     │     │  │     │        │  ├─ ProjectIndex
  793. │     │     │  │     │        │  │  ├─ ○
  794. │     │     │  │     │        │  │  ╰─ Constant(Int(1))
  795. │     │     │  │     │        │  ╰─ Constant(Int(1))
  796. │     │     │  │     │        ╰─ Constant(Int(1))
  797. │     │     │  │     ╰─ MakeArray
  798. │     │     │  │        ╰─ ProjectIndex
  799. │     │     │  │           ├─ ProjectIndex
  800. │     │     │  │           │  ├─ ProjectIndex
  801. │     │     │  │           │  │  ├─ ○
  802. │     │     │  │           │  │  ╰─ Constant(Int(1))
  803. │     │     │  │           │  ╰─ Constant(Int(1))
  804. │     │     │  │           ╰─ Constant(Int(2))
  805. │     │     │  ╰─ Constant(Arr(List(Str(catergory))))
  806. │     │     ╰─ MakeArray
  807. │     │        ╰─ ProjectField
  808. │     │           ├─ ProjectIndex
  809. │     │           │  ├─ ProjectIndex
  810. │     │           │  │  ├─ ○
  811. │     │           │  │  ╰─ Constant(Int(1))
  812. │     │           │  ╰─ Constant(Int(2))
  813. │     │           ╰─ Constant(Str(state))
  814. │     ├─ Constant(Arr(List()))
  815. │     ├─ Constant(Arr(List()))
  816. │     ├─ Inner
  817. │     ╰─ ConcatMaps
  818. │        ├─ MakeMap
  819. │        │  ├─ ProjectIndex
  820. │        │  │  ├─ LeftSide
  821. │        │  │  ╰─ Constant(Int(1))
  822. │        │  ╰─ ProjectIndex
  823. │        │     ├─ LeftSide
  824. │        │     ╰─ Constant(Int(2))
  825. │        ╰─ MakeMap
  826. │           ├─ ProjectIndex
  827. │           │  ├─ RightSide
  828. │           │  ╰─ Constant(Int(1))
  829. │           ╰─ ProjectIndex
  830. │              ├─ RightSide
  831. │              ╰─ Constant(Int(2))
  832. ╰─ Count
  833.    ╰─ Map
  834.       ├─ Unreferenced
  835.       ╰─ Constant(Int(11))