github.com/dolthub/go-mysql-server@v0.18.0/enginetest/queries/integration_plans.go (about) 1 // Code generated by plangen. 2 3 // Copyright 2024 Dolthub, Inc. 4 // 5 // Licensed under the Apache License, Version 2.0 (the "License"); 6 // you may not use this file except in compliance with the License. 7 // You may obtain a copy of the License at 8 // 9 // http://www.apache.org/licenses/LICENSE-2.0 10 // 11 // Unless required by applicable law or agreed to in writing, software 12 // distributed under the License is distributed on an "AS IS" BASIS, 13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 // See the License for the specific language governing permissions and 15 // limitations under the License. 16 17 package queries 18 19 var IntegrationPlanTests = []QueryPlanTest{ 20 { 21 Query: ` 22 SELECT 23 id, FTQLQ 24 FROM 25 YK2GW 26 WHERE 27 id NOT IN (SELECT IXUXU FROM THNTS) 28 ;`, 29 ExpectedPlan: "Project\n" + 30 " ├─ columns: [yk2gw.id:0!null, yk2gw.FTQLQ:1!null]\n" + 31 " └─ Project\n" + 32 " ├─ columns: [YK2GW.id:0!null, YK2GW.FTQLQ:1!null, YK2GW.TUXML:2, YK2GW.PAEF5:3, YK2GW.RUCY4:4, YK2GW.TPNJ6:5!null, YK2GW.LBL53:6, YK2GW.NB3QS:7, YK2GW.EO7IV:8, YK2GW.MUHJF:9, YK2GW.FM34L:10, YK2GW.TY5RF:11, YK2GW.ZHTLH:12, YK2GW.NPB7W:13, YK2GW.SX3HH:14, YK2GW.ISBNF:15, YK2GW.YA7YB:16, YK2GW.C5YKB:17, YK2GW.QK7KT:18, YK2GW.FFGE6:19, YK2GW.FIIGJ:20, YK2GW.SH3NC:21, YK2GW.NTENA:22, YK2GW.M4AUB:23, YK2GW.X5AIR:24, YK2GW.SAB6M:25, YK2GW.G5QI5:26, YK2GW.ZVQVD:27, YK2GW.YKSSU:28, YK2GW.FHCYT:29]\n" + 33 " └─ Filter\n" + 34 " ├─ thnts.IXUXU:30 IS NULL\n" + 35 " └─ LeftOuterMergeJoin\n" + 36 " ├─ cmp: Eq\n" + 37 " │ ├─ yk2gw.id:0!null\n" + 38 " │ └─ thnts.IXUXU:30\n" + 39 " ├─ IndexedTableAccess(YK2GW)\n" + 40 " │ ├─ index: [YK2GW.id]\n" + 41 " │ ├─ static: [{[NULL, ∞)}]\n" + 42 " │ ├─ colSet: (1-30)\n" + 43 " │ ├─ tableId: 1\n" + 44 " │ └─ Table\n" + 45 " │ ├─ name: YK2GW\n" + 46 " │ └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 47 " └─ Project\n" + 48 " ├─ columns: [thnts.IXUXU:2]\n" + 49 " └─ IndexedTableAccess(THNTS)\n" + 50 " ├─ index: [THNTS.IXUXU]\n" + 51 " ├─ static: [{[NULL, ∞)}]\n" + 52 " ├─ colSet: (31-34)\n" + 53 " ├─ tableId: 2\n" + 54 " └─ Table\n" + 55 " ├─ name: THNTS\n" + 56 " └─ columns: [id nfryn ixuxu fhcyt]\n" + 57 "", 58 ExpectedEstimates: "Project\n" + 59 " ├─ columns: [yk2gw.id, yk2gw.FTQLQ]\n" + 60 " └─ Project\n" + 61 " ├─ columns: [YK2GW.id, YK2GW.FTQLQ, YK2GW.TUXML, YK2GW.PAEF5, YK2GW.RUCY4, YK2GW.TPNJ6, YK2GW.LBL53, YK2GW.NB3QS, YK2GW.EO7IV, YK2GW.MUHJF, YK2GW.FM34L, YK2GW.TY5RF, YK2GW.ZHTLH, YK2GW.NPB7W, YK2GW.SX3HH, YK2GW.ISBNF, YK2GW.YA7YB, YK2GW.C5YKB, YK2GW.QK7KT, YK2GW.FFGE6, YK2GW.FIIGJ, YK2GW.SH3NC, YK2GW.NTENA, YK2GW.M4AUB, YK2GW.X5AIR, YK2GW.SAB6M, YK2GW.G5QI5, YK2GW.ZVQVD, YK2GW.YKSSU, YK2GW.FHCYT]\n" + 62 " └─ Filter\n" + 63 " ├─ thnts.IXUXU IS NULL\n" + 64 " └─ LeftOuterMergeJoin (estimated cost=5077.210 rows=3122)\n" + 65 " ├─ cmp: (yk2gw.id = thnts.IXUXU)\n" + 66 " ├─ IndexedTableAccess(YK2GW)\n" + 67 " │ ├─ index: [YK2GW.id]\n" + 68 " │ └─ filters: [{[NULL, ∞)}]\n" + 69 " └─ Project\n" + 70 " ├─ columns: [thnts.IXUXU]\n" + 71 " └─ IndexedTableAccess(THNTS)\n" + 72 " ├─ index: [THNTS.IXUXU]\n" + 73 " └─ filters: [{[NULL, ∞)}]\n" + 74 "", 75 ExpectedAnalysis: "Project\n" + 76 " ├─ columns: [yk2gw.id, yk2gw.FTQLQ]\n" + 77 " └─ Project\n" + 78 " ├─ columns: [YK2GW.id, YK2GW.FTQLQ, YK2GW.TUXML, YK2GW.PAEF5, YK2GW.RUCY4, YK2GW.TPNJ6, YK2GW.LBL53, YK2GW.NB3QS, YK2GW.EO7IV, YK2GW.MUHJF, YK2GW.FM34L, YK2GW.TY5RF, YK2GW.ZHTLH, YK2GW.NPB7W, YK2GW.SX3HH, YK2GW.ISBNF, YK2GW.YA7YB, YK2GW.C5YKB, YK2GW.QK7KT, YK2GW.FFGE6, YK2GW.FIIGJ, YK2GW.SH3NC, YK2GW.NTENA, YK2GW.M4AUB, YK2GW.X5AIR, YK2GW.SAB6M, YK2GW.G5QI5, YK2GW.ZVQVD, YK2GW.YKSSU, YK2GW.FHCYT]\n" + 79 " └─ Filter\n" + 80 " ├─ thnts.IXUXU IS NULL\n" + 81 " └─ LeftOuterMergeJoin (estimated cost=5077.210 rows=3122) (actual rows=0 loops=1)\n" + 82 " ├─ cmp: (yk2gw.id = thnts.IXUXU)\n" + 83 " ├─ IndexedTableAccess(YK2GW)\n" + 84 " │ ├─ index: [YK2GW.id]\n" + 85 " │ └─ filters: [{[NULL, ∞)}]\n" + 86 " └─ Project\n" + 87 " ├─ columns: [thnts.IXUXU]\n" + 88 " └─ IndexedTableAccess(THNTS)\n" + 89 " ├─ index: [THNTS.IXUXU]\n" + 90 " └─ filters: [{[NULL, ∞)}]\n" + 91 "", 92 }, 93 { 94 Query: ` 95 SELECT 96 PBMRX.id AS id, 97 PBMRX.TW55N AS TEYBZ, 98 PBMRX.ZH72S AS FB6N7 99 FROM 100 ( 101 SELECT 102 ZH72S AS ZH72S, 103 COUNT(ZH72S) AS JTOA7, 104 MIN(WGBRL) AS TTDPM, 105 SUM(WGBRL) AS FBSRS 106 FROM 107 ( 108 SELECT 109 nd.id AS id, 110 nd.ZH72S AS ZH72S, 111 (SELECT COUNT(*) FROM HDDVB WHERE UJ6XY = nd.id) AS WGBRL 112 FROM 113 E2I7U nd 114 WHERE nd.ZH72S IS NOT NULL 115 ) CCEFL 116 GROUP BY 117 ZH72S 118 HAVING 119 JTOA7 > 1 120 ) CL3DT 121 INNER JOIN 122 E2I7U PBMRX 123 ON 124 PBMRX.ZH72S IS NOT NULL AND PBMRX.ZH72S = CL3DT.ZH72S 125 WHERE 126 CL3DT.TTDPM = 0 127 AND 128 CL3DT.FBSRS > 0 129 `, 130 ExpectedPlan: "Project\n" + 131 " ├─ columns: [pbmrx.id:4!null as id, pbmrx.TW55N:5!null as TEYBZ, pbmrx.ZH72S:6 as FB6N7]\n" + 132 " └─ LookupJoin\n" + 133 " ├─ NOT\n" + 134 " │ └─ pbmrx.ZH72S:6 IS NULL\n" + 135 " ├─ SubqueryAlias\n" + 136 " │ ├─ name: cl3dt\n" + 137 " │ ├─ outerVisibility: false\n" + 138 " │ ├─ isLateral: false\n" + 139 " │ ├─ cacheable: true\n" + 140 " │ ├─ colSet: (41-44)\n" + 141 " │ ├─ tableId: 4\n" + 142 " │ └─ Filter\n" + 143 " │ ├─ AND\n" + 144 " │ │ ├─ Eq\n" + 145 " │ │ │ ├─ TTDPM:2!null\n" + 146 " │ │ │ └─ 0 (tinyint)\n" + 147 " │ │ └─ GreaterThan\n" + 148 " │ │ ├─ FBSRS:3!null\n" + 149 " │ │ └─ 0 (tinyint)\n" + 150 " │ └─ Project\n" + 151 " │ ├─ columns: [ccefl.ZH72S:3 as ZH72S, count(ccefl.zh72s):0!null as JTOA7, min(ccefl.wgbrl):1!null as TTDPM, sum(ccefl.wgbrl):2!null as FBSRS]\n" + 152 " │ └─ Having\n" + 153 " │ ├─ GreaterThan\n" + 154 " │ │ ├─ JTOA7:5!null\n" + 155 " │ │ └─ 1 (tinyint)\n" + 156 " │ └─ Project\n" + 157 " │ ├─ columns: [count(ccefl.zh72s):0!null, min(ccefl.wgbrl):1!null, sum(ccefl.wgbrl):2!null, ccefl.ZH72S:3, ccefl.ZH72S:3 as ZH72S, count(ccefl.zh72s):0!null as JTOA7, min(ccefl.wgbrl):1!null as TTDPM, sum(ccefl.wgbrl):2!null as FBSRS]\n" + 158 " │ └─ GroupBy\n" + 159 " │ ├─ select: COUNT(ccefl.ZH72S:1), MIN(ccefl.WGBRL:2), SUM(ccefl.WGBRL:2), ccefl.ZH72S:1\n" + 160 " │ ├─ group: ccefl.ZH72S:1\n" + 161 " │ └─ SubqueryAlias\n" + 162 " │ ├─ name: ccefl\n" + 163 " │ ├─ outerVisibility: false\n" + 164 " │ ├─ isLateral: false\n" + 165 " │ ├─ cacheable: true\n" + 166 " │ ├─ colSet: (31-33)\n" + 167 " │ ├─ tableId: 3\n" + 168 " │ └─ Project\n" + 169 " │ ├─ columns: [nd.id:0!null as id, nd.ZH72S:7 as ZH72S, Subquery\n" + 170 " │ │ ├─ cacheable: false\n" + 171 " │ │ ├─ alias-string: select COUNT(*) from HDDVB where UJ6XY = nd.id\n" + 172 " │ │ └─ Project\n" + 173 " │ │ ├─ columns: [count(1):20!null as COUNT(*)]\n" + 174 " │ │ └─ GroupBy\n" + 175 " │ │ ├─ select: COUNT(1 (bigint))\n" + 176 " │ │ ├─ group: \n" + 177 " │ │ └─ Filter\n" + 178 " │ │ ├─ Eq\n" + 179 " │ │ │ ├─ hddvb.UJ6XY:20!null\n" + 180 " │ │ │ └─ nd.id:0!null\n" + 181 " │ │ └─ IndexedTableAccess(HDDVB)\n" + 182 " │ │ ├─ index: [HDDVB.UJ6XY]\n" + 183 " │ │ ├─ keys: [nd.id:0!null]\n" + 184 " │ │ ├─ colSet: (20-28)\n" + 185 " │ │ ├─ tableId: 2\n" + 186 " │ │ └─ Table\n" + 187 " │ │ ├─ name: HDDVB\n" + 188 " │ │ └─ columns: [uj6xy]\n" + 189 " │ │ as WGBRL]\n" + 190 " │ └─ Project\n" + 191 " │ ├─ columns: [nd.id:0!null, nd.DKCAJ:1!null, nd.KNG7T:2, nd.TW55N:3!null, nd.QRQXW:4!null, nd.ECXAJ:5!null, nd.FGG57:6, nd.ZH72S:7, nd.FSK67:8!null, nd.XQDYT:9!null, nd.TCE7A:10, nd.IWV2H:11, nd.HPCMS:12!null, nd.N5CC2:13, nd.FHCYT:14, nd.ETAQ7:15, nd.A75X7:16, nd.id:0!null as id, nd.ZH72S:7 as ZH72S, Subquery\n" + 192 " │ │ ├─ cacheable: false\n" + 193 " │ │ ├─ alias-string: select COUNT(*) from HDDVB where UJ6XY = nd.id\n" + 194 " │ │ └─ Project\n" + 195 " │ │ ├─ columns: [count(1):17!null as COUNT(*)]\n" + 196 " │ │ └─ GroupBy\n" + 197 " │ │ ├─ select: COUNT(1 (bigint))\n" + 198 " │ │ ├─ group: \n" + 199 " │ │ └─ Filter\n" + 200 " │ │ ├─ Eq\n" + 201 " │ │ │ ├─ hddvb.UJ6XY:17!null\n" + 202 " │ │ │ └─ nd.id:0!null\n" + 203 " │ │ └─ IndexedTableAccess(HDDVB)\n" + 204 " │ │ ├─ index: [HDDVB.UJ6XY]\n" + 205 " │ │ ├─ keys: [nd.id:0!null]\n" + 206 " │ │ ├─ colSet: (20-28)\n" + 207 " │ │ ├─ tableId: 2\n" + 208 " │ │ └─ Table\n" + 209 " │ │ ├─ name: HDDVB\n" + 210 " │ │ └─ columns: [uj6xy]\n" + 211 " │ │ as WGBRL]\n" + 212 " │ └─ TableAlias(nd)\n" + 213 " │ └─ IndexedTableAccess(E2I7U)\n" + 214 " │ ├─ index: [E2I7U.ZH72S]\n" + 215 " │ ├─ static: [{(NULL, ∞)}]\n" + 216 " │ ├─ colSet: (1-17)\n" + 217 " │ ├─ tableId: 1\n" + 218 " │ └─ Table\n" + 219 " │ ├─ name: E2I7U\n" + 220 " │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 221 " └─ TableAlias(pbmrx)\n" + 222 " └─ IndexedTableAccess(E2I7U)\n" + 223 " ├─ index: [E2I7U.ZH72S]\n" + 224 " ├─ keys: [cl3dt.ZH72S:0]\n" + 225 " ├─ colSet: (45-61)\n" + 226 " ├─ tableId: 5\n" + 227 " └─ Table\n" + 228 " ├─ name: E2I7U\n" + 229 " └─ columns: [id tw55n zh72s]\n" + 230 "", 231 ExpectedEstimates: "Project\n" + 232 " ├─ columns: [pbmrx.id as id, pbmrx.TW55N as TEYBZ, pbmrx.ZH72S as FB6N7]\n" + 233 " └─ LookupJoin (estimated cost=405.900 rows=124)\n" + 234 " ├─ (NOT(pbmrx.ZH72S IS NULL))\n" + 235 " ├─ SubqueryAlias\n" + 236 " │ ├─ name: cl3dt\n" + 237 " │ ├─ outerVisibility: false\n" + 238 " │ ├─ isLateral: false\n" + 239 " │ ├─ cacheable: true\n" + 240 " │ └─ Filter\n" + 241 " │ ├─ ((TTDPM = 0) AND (FBSRS > 0))\n" + 242 " │ └─ Project\n" + 243 " │ ├─ columns: [ccefl.ZH72S as ZH72S, count(ccefl.zh72s) as JTOA7, min(ccefl.wgbrl) as TTDPM, sum(ccefl.wgbrl) as FBSRS]\n" + 244 " │ └─ Having((JTOA7 > 1))\n" + 245 " │ └─ Project\n" + 246 " │ ├─ columns: [count(ccefl.zh72s), min(ccefl.wgbrl), sum(ccefl.wgbrl), ccefl.ZH72S, ccefl.ZH72S as ZH72S, count(ccefl.zh72s) as JTOA7, min(ccefl.wgbrl) as TTDPM, sum(ccefl.wgbrl) as FBSRS]\n" + 247 " │ └─ GroupBy\n" + 248 " │ ├─ SelectedExprs(COUNT(ccefl.ZH72S), MIN(ccefl.WGBRL), SUM(ccefl.WGBRL), ccefl.ZH72S)\n" + 249 " │ ├─ Grouping(ccefl.ZH72S)\n" + 250 " │ └─ SubqueryAlias\n" + 251 " │ ├─ name: ccefl\n" + 252 " │ ├─ outerVisibility: false\n" + 253 " │ ├─ isLateral: false\n" + 254 " │ ├─ cacheable: true\n" + 255 " │ └─ Project\n" + 256 " │ ├─ columns: [nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 257 " │ │ ├─ cacheable: false\n" + 258 " │ │ └─ Project\n" + 259 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 260 " │ │ └─ GroupBy\n" + 261 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 262 " │ │ ├─ Grouping()\n" + 263 " │ │ └─ Filter\n" + 264 " │ │ ├─ (hddvb.UJ6XY = nd.id)\n" + 265 " │ │ └─ IndexedTableAccess(HDDVB)\n" + 266 " │ │ ├─ index: [HDDVB.UJ6XY]\n" + 267 " │ │ ├─ columns: [uj6xy]\n" + 268 " │ │ └─ keys: nd.id\n" + 269 " │ │ as WGBRL]\n" + 270 " │ └─ Project\n" + 271 " │ ├─ columns: [nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 272 " │ │ ├─ cacheable: false\n" + 273 " │ │ └─ Project\n" + 274 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 275 " │ │ └─ GroupBy\n" + 276 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 277 " │ │ ├─ Grouping()\n" + 278 " │ │ └─ Filter\n" + 279 " │ │ ├─ (hddvb.UJ6XY = nd.id)\n" + 280 " │ │ └─ IndexedTableAccess(HDDVB)\n" + 281 " │ │ ├─ index: [HDDVB.UJ6XY]\n" + 282 " │ │ ├─ columns: [uj6xy]\n" + 283 " │ │ └─ keys: nd.id\n" + 284 " │ │ as WGBRL]\n" + 285 " │ └─ TableAlias(nd)\n" + 286 " │ └─ IndexedTableAccess(E2I7U)\n" + 287 " │ ├─ index: [E2I7U.ZH72S]\n" + 288 " │ └─ filters: [{(NULL, ∞)}]\n" + 289 " └─ TableAlias(pbmrx)\n" + 290 " └─ IndexedTableAccess(E2I7U)\n" + 291 " ├─ index: [E2I7U.ZH72S]\n" + 292 " ├─ columns: [id tw55n zh72s]\n" + 293 " └─ keys: cl3dt.ZH72S\n" + 294 "", 295 ExpectedAnalysis: "Project\n" + 296 " ├─ columns: [pbmrx.id as id, pbmrx.TW55N as TEYBZ, pbmrx.ZH72S as FB6N7]\n" + 297 " └─ LookupJoin (estimated cost=405.900 rows=124) (actual rows=0 loops=1)\n" + 298 " ├─ (NOT(pbmrx.ZH72S IS NULL))\n" + 299 " ├─ SubqueryAlias\n" + 300 " │ ├─ name: cl3dt\n" + 301 " │ ├─ outerVisibility: false\n" + 302 " │ ├─ isLateral: false\n" + 303 " │ ├─ cacheable: true\n" + 304 " │ └─ Filter\n" + 305 " │ ├─ ((TTDPM = 0) AND (FBSRS > 0))\n" + 306 " │ └─ Project\n" + 307 " │ ├─ columns: [ccefl.ZH72S as ZH72S, count(ccefl.zh72s) as JTOA7, min(ccefl.wgbrl) as TTDPM, sum(ccefl.wgbrl) as FBSRS]\n" + 308 " │ └─ Having((JTOA7 > 1))\n" + 309 " │ └─ Project\n" + 310 " │ ├─ columns: [count(ccefl.zh72s), min(ccefl.wgbrl), sum(ccefl.wgbrl), ccefl.ZH72S, ccefl.ZH72S as ZH72S, count(ccefl.zh72s) as JTOA7, min(ccefl.wgbrl) as TTDPM, sum(ccefl.wgbrl) as FBSRS]\n" + 311 " │ └─ GroupBy\n" + 312 " │ ├─ SelectedExprs(COUNT(ccefl.ZH72S), MIN(ccefl.WGBRL), SUM(ccefl.WGBRL), ccefl.ZH72S)\n" + 313 " │ ├─ Grouping(ccefl.ZH72S)\n" + 314 " │ └─ SubqueryAlias\n" + 315 " │ ├─ name: ccefl\n" + 316 " │ ├─ outerVisibility: false\n" + 317 " │ ├─ isLateral: false\n" + 318 " │ ├─ cacheable: true\n" + 319 " │ └─ Project\n" + 320 " │ ├─ columns: [nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 321 " │ │ ├─ cacheable: false\n" + 322 " │ │ └─ Project\n" + 323 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 324 " │ │ └─ GroupBy\n" + 325 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 326 " │ │ ├─ Grouping()\n" + 327 " │ │ └─ Filter\n" + 328 " │ │ ├─ (hddvb.UJ6XY = nd.id)\n" + 329 " │ │ └─ IndexedTableAccess(HDDVB)\n" + 330 " │ │ ├─ index: [HDDVB.UJ6XY]\n" + 331 " │ │ ├─ columns: [uj6xy]\n" + 332 " │ │ └─ keys: nd.id\n" + 333 " │ │ as WGBRL]\n" + 334 " │ └─ Project\n" + 335 " │ ├─ columns: [nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 336 " │ │ ├─ cacheable: false\n" + 337 " │ │ └─ Project\n" + 338 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 339 " │ │ └─ GroupBy\n" + 340 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 341 " │ │ ├─ Grouping()\n" + 342 " │ │ └─ Filter\n" + 343 " │ │ ├─ (hddvb.UJ6XY = nd.id)\n" + 344 " │ │ └─ IndexedTableAccess(HDDVB)\n" + 345 " │ │ ├─ index: [HDDVB.UJ6XY]\n" + 346 " │ │ ├─ columns: [uj6xy]\n" + 347 " │ │ └─ keys: nd.id\n" + 348 " │ │ as WGBRL]\n" + 349 " │ └─ TableAlias(nd)\n" + 350 " │ └─ IndexedTableAccess(E2I7U)\n" + 351 " │ ├─ index: [E2I7U.ZH72S]\n" + 352 " │ └─ filters: [{(NULL, ∞)}]\n" + 353 " └─ TableAlias(pbmrx)\n" + 354 " └─ IndexedTableAccess(E2I7U)\n" + 355 " ├─ index: [E2I7U.ZH72S]\n" + 356 " ├─ columns: [id tw55n zh72s]\n" + 357 " └─ keys: cl3dt.ZH72S\n" + 358 "", 359 }, 360 { 361 Query: ` 362 SELECT 363 ism.* 364 FROM 365 HDDVB ism 366 WHERE 367 ( 368 ism.PRUV2 IS NOT NULL 369 AND 370 ( 371 (SELECT NHMXW.SWCQV FROM WGSDC NHMXW WHERE NHMXW.id = ism.PRUV2) = 1 372 OR 373 ( 374 ( 375 ism.FV24E IS NOT NULL 376 AND 377 (SELECT nd.id FROM E2I7U nd WHERE nd.TW55N = 378 (SELECT NHMXW.FZXV5 FROM WGSDC NHMXW 379 WHERE NHMXW.id = ism.PRUV2)) 380 <> ism.FV24E 381 ) 382 OR 383 ( 384 ism.UJ6XY IS NOT NULL 385 AND 386 (SELECT nd.id FROM E2I7U nd WHERE nd.TW55N = 387 (SELECT NHMXW.DQYGV FROM WGSDC NHMXW 388 WHERE NHMXW.id = ism.PRUV2)) 389 <> ism.UJ6XY 390 ) 391 ) 392 ) 393 ) 394 OR 395 ( 396 ism.ETPQV IS NOT NULL 397 AND 398 ism.ETPQV IN 399 ( 400 SELECT 401 TIZHK.id AS FWATE 402 FROM 403 WGSDC NHMXW 404 INNER JOIN 405 WRZVO TIZHK 406 ON 407 TIZHK.TVNW2 = NHMXW.NOHHR 408 AND 409 TIZHK.ZHITY = NHMXW.AVPYF 410 AND 411 TIZHK.SYPKF = NHMXW.SYPKF 412 AND 413 TIZHK.IDUT2 = NHMXW.IDUT2 414 WHERE 415 NHMXW.SWCQV = 0 416 AND 417 NHMXW.id NOT IN (SELECT PRUV2 FROM HDDVB WHERE PRUV2 IS NOT NULL) 418 ) 419 ) 420 `, 421 ExpectedPlan: "Filter\n" + 422 " ├─ Or\n" + 423 " │ ├─ AND\n" + 424 " │ │ ├─ NOT\n" + 425 " │ │ │ └─ ism.PRUV2:6 IS NULL\n" + 426 " │ │ └─ Or\n" + 427 " │ │ ├─ Eq\n" + 428 " │ │ │ ├─ Subquery\n" + 429 " │ │ │ │ ├─ cacheable: false\n" + 430 " │ │ │ │ ├─ alias-string: select NHMXW.SWCQV from WGSDC as NHMXW where NHMXW.id = ism.PRUV2\n" + 431 " │ │ │ │ └─ Project\n" + 432 " │ │ │ │ ├─ columns: [nhmxw.SWCQV:10!null]\n" + 433 " │ │ │ │ └─ Filter\n" + 434 " │ │ │ │ ├─ Eq\n" + 435 " │ │ │ │ │ ├─ nhmxw.id:9!null\n" + 436 " │ │ │ │ │ └─ ism.PRUV2:6\n" + 437 " │ │ │ │ └─ TableAlias(nhmxw)\n" + 438 " │ │ │ │ └─ IndexedTableAccess(WGSDC)\n" + 439 " │ │ │ │ ├─ index: [WGSDC.id]\n" + 440 " │ │ │ │ ├─ keys: [ism.PRUV2:6]\n" + 441 " │ │ │ │ ├─ colSet: (10-19)\n" + 442 " │ │ │ │ ├─ tableId: 2\n" + 443 " │ │ │ │ └─ Table\n" + 444 " │ │ │ │ ├─ name: WGSDC\n" + 445 " │ │ │ │ └─ columns: [id swcqv]\n" + 446 " │ │ │ └─ 1 (tinyint)\n" + 447 " │ │ └─ Or\n" + 448 " │ │ ├─ AND\n" + 449 " │ │ │ ├─ NOT\n" + 450 " │ │ │ │ └─ ism.FV24E:1!null IS NULL\n" + 451 " │ │ │ └─ NOT\n" + 452 " │ │ │ └─ Eq\n" + 453 " │ │ │ ├─ Subquery\n" + 454 " │ │ │ │ ├─ cacheable: false\n" + 455 " │ │ │ │ ├─ alias-string: select nd.id from E2I7U as nd where nd.TW55N = (select NHMXW.FZXV5 from WGSDC as NHMXW where NHMXW.id = ism.PRUV2)\n" + 456 " │ │ │ │ └─ Project\n" + 457 " │ │ │ │ ├─ columns: [nd.id:9!null]\n" + 458 " │ │ │ │ └─ Filter\n" + 459 " │ │ │ │ ├─ Eq\n" + 460 " │ │ │ │ │ ├─ nd.TW55N:12!null\n" + 461 " │ │ │ │ │ └─ Subquery\n" + 462 " │ │ │ │ │ ├─ cacheable: false\n" + 463 " │ │ │ │ │ ├─ alias-string: select NHMXW.FZXV5 from WGSDC as NHMXW where NHMXW.id = ism.PRUV2\n" + 464 " │ │ │ │ │ └─ Project\n" + 465 " │ │ │ │ │ ├─ columns: [nhmxw.FZXV5:27]\n" + 466 " │ │ │ │ │ └─ Filter\n" + 467 " │ │ │ │ │ ├─ Eq\n" + 468 " │ │ │ │ │ │ ├─ nhmxw.id:26!null\n" + 469 " │ │ │ │ │ │ └─ ism.PRUV2:6\n" + 470 " │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 471 " │ │ │ │ │ └─ IndexedTableAccess(WGSDC)\n" + 472 " │ │ │ │ │ ├─ index: [WGSDC.id]\n" + 473 " │ │ │ │ │ ├─ keys: [ism.PRUV2:6]\n" + 474 " │ │ │ │ │ ├─ colSet: (37-46)\n" + 475 " │ │ │ │ │ ├─ tableId: 4\n" + 476 " │ │ │ │ │ └─ Table\n" + 477 " │ │ │ │ │ ├─ name: WGSDC\n" + 478 " │ │ │ │ │ └─ columns: [id fzxv5]\n" + 479 " │ │ │ │ └─ TableAlias(nd)\n" + 480 " │ │ │ │ └─ Table\n" + 481 " │ │ │ │ ├─ name: E2I7U\n" + 482 " │ │ │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 483 " │ │ │ │ ├─ colSet: (20-36)\n" + 484 " │ │ │ │ └─ tableId: 3\n" + 485 " │ │ │ └─ ism.FV24E:1!null\n" + 486 " │ │ └─ AND\n" + 487 " │ │ ├─ NOT\n" + 488 " │ │ │ └─ ism.UJ6XY:2!null IS NULL\n" + 489 " │ │ └─ NOT\n" + 490 " │ │ └─ Eq\n" + 491 " │ │ ├─ Subquery\n" + 492 " │ │ │ ├─ cacheable: false\n" + 493 " │ │ │ ├─ alias-string: select nd.id from E2I7U as nd where nd.TW55N = (select NHMXW.DQYGV from WGSDC as NHMXW where NHMXW.id = ism.PRUV2)\n" + 494 " │ │ │ └─ Project\n" + 495 " │ │ │ ├─ columns: [nd.id:9!null]\n" + 496 " │ │ │ └─ Filter\n" + 497 " │ │ │ ├─ Eq\n" + 498 " │ │ │ │ ├─ nd.TW55N:12!null\n" + 499 " │ │ │ │ └─ Subquery\n" + 500 " │ │ │ │ ├─ cacheable: false\n" + 501 " │ │ │ │ ├─ alias-string: select NHMXW.DQYGV from WGSDC as NHMXW where NHMXW.id = ism.PRUV2\n" + 502 " │ │ │ │ └─ Project\n" + 503 " │ │ │ │ ├─ columns: [nhmxw.DQYGV:27]\n" + 504 " │ │ │ │ └─ Filter\n" + 505 " │ │ │ │ ├─ Eq\n" + 506 " │ │ │ │ │ ├─ nhmxw.id:26!null\n" + 507 " │ │ │ │ │ └─ ism.PRUV2:6\n" + 508 " │ │ │ │ └─ TableAlias(nhmxw)\n" + 509 " │ │ │ │ └─ IndexedTableAccess(WGSDC)\n" + 510 " │ │ │ │ ├─ index: [WGSDC.id]\n" + 511 " │ │ │ │ ├─ keys: [ism.PRUV2:6]\n" + 512 " │ │ │ │ ├─ colSet: (64-73)\n" + 513 " │ │ │ │ ├─ tableId: 6\n" + 514 " │ │ │ │ └─ Table\n" + 515 " │ │ │ │ ├─ name: WGSDC\n" + 516 " │ │ │ │ └─ columns: [id dqygv]\n" + 517 " │ │ │ └─ TableAlias(nd)\n" + 518 " │ │ │ └─ Table\n" + 519 " │ │ │ ├─ name: E2I7U\n" + 520 " │ │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 521 " │ │ │ ├─ colSet: (47-63)\n" + 522 " │ │ │ └─ tableId: 5\n" + 523 " │ │ └─ ism.UJ6XY:2!null\n" + 524 " │ └─ AND\n" + 525 " │ ├─ NOT\n" + 526 " │ │ └─ ism.ETPQV:5 IS NULL\n" + 527 " │ └─ InSubquery\n" + 528 " │ ├─ left: ism.ETPQV:5\n" + 529 " │ └─ right: Subquery\n" + 530 " │ ├─ cacheable: true\n" + 531 " │ ├─ alias-string: select TIZHK.id as FWATE from WGSDC as NHMXW join WRZVO as TIZHK on TIZHK.TVNW2 = NHMXW.NOHHR and TIZHK.ZHITY = NHMXW.AVPYF and TIZHK.SYPKF = NHMXW.SYPKF and TIZHK.IDUT2 = NHMXW.IDUT2 where NHMXW.SWCQV = 0 and NHMXW.id not in (select PRUV2 from HDDVB where PRUV2 is not null)\n" + 532 " │ └─ Project\n" + 533 " │ ├─ columns: [tizhk.id:19!null as FWATE]\n" + 534 " │ └─ LookupJoin\n" + 535 " │ ├─ AND\n" + 536 " │ │ ├─ AND\n" + 537 " │ │ │ ├─ Eq\n" + 538 " │ │ │ │ ├─ tizhk.TVNW2:20\n" + 539 " │ │ │ │ └─ nhmxw.NOHHR:10!null\n" + 540 " │ │ │ └─ Eq\n" + 541 " │ │ │ ├─ tizhk.ZHITY:21\n" + 542 " │ │ │ └─ nhmxw.AVPYF:11!null\n" + 543 " │ │ └─ Eq\n" + 544 " │ │ ├─ tizhk.IDUT2:23\n" + 545 " │ │ └─ nhmxw.IDUT2:13!null\n" + 546 " │ ├─ Project\n" + 547 " │ │ ├─ columns: [nhmxw.id:9!null, nhmxw.NOHHR:10!null, nhmxw.AVPYF:11!null, nhmxw.SYPKF:12!null, nhmxw.IDUT2:13!null, nhmxw.FZXV5:14, nhmxw.DQYGV:15, nhmxw.SWCQV:16!null, nhmxw.YKSSU:17, nhmxw.FHCYT:18]\n" + 548 " │ │ └─ Filter\n" + 549 " │ │ ├─ hddvb.PRUV2:19 IS NULL\n" + 550 " │ │ └─ LeftOuterLookupJoin\n" + 551 " │ │ ├─ Filter\n" + 552 " │ │ │ ├─ Eq\n" + 553 " │ │ │ │ ├─ nhmxw.SWCQV:16!null\n" + 554 " │ │ │ │ └─ 0 (tinyint)\n" + 555 " │ │ │ └─ TableAlias(nhmxw)\n" + 556 " │ │ │ └─ Table\n" + 557 " │ │ │ ├─ name: WGSDC\n" + 558 " │ │ │ ├─ columns: [id nohhr avpyf sypkf idut2 fzxv5 dqygv swcqv ykssu fhcyt]\n" + 559 " │ │ │ ├─ colSet: (74-83)\n" + 560 " │ │ │ └─ tableId: 7\n" + 561 " │ │ └─ Filter\n" + 562 " │ │ ├─ NOT\n" + 563 " │ │ │ └─ hddvb.PRUV2:9 IS NULL\n" + 564 " │ │ └─ IndexedTableAccess(HDDVB)\n" + 565 " │ │ ├─ index: [HDDVB.PRUV2]\n" + 566 " │ │ ├─ keys: [nhmxw.id:9!null]\n" + 567 " │ │ ├─ colSet: (94-102)\n" + 568 " │ │ ├─ tableId: 9\n" + 569 " │ │ └─ Table\n" + 570 " │ │ ├─ name: HDDVB\n" + 571 " │ │ └─ columns: [pruv2]\n" + 572 " │ └─ TableAlias(tizhk)\n" + 573 " │ └─ IndexedTableAccess(WRZVO)\n" + 574 " │ ├─ index: [WRZVO.SYPKF]\n" + 575 " │ ├─ keys: [nhmxw.SYPKF:12!null]\n" + 576 " │ ├─ colSet: (84-93)\n" + 577 " │ ├─ tableId: 8\n" + 578 " │ └─ Table\n" + 579 " │ ├─ name: WRZVO\n" + 580 " │ └─ columns: [id tvnw2 zhity sypkf idut2 o6qj3 no2ja ykssu fhcyt qz6vt]\n" + 581 " └─ TableAlias(ism)\n" + 582 " └─ ProcessTable\n" + 583 " └─ Table\n" + 584 " ├─ name: HDDVB\n" + 585 " └─ columns: [id fv24e uj6xy m22qn nz4mq etpqv pruv2 ykssu fhcyt]\n" + 586 "", 587 ExpectedEstimates: "Filter\n" + 588 " ├─ (((NOT(ism.PRUV2 IS NULL)) AND ((Subquery\n" + 589 " │ ├─ cacheable: false\n" + 590 " │ └─ Project\n" + 591 " │ ├─ columns: [nhmxw.SWCQV]\n" + 592 " │ └─ Filter\n" + 593 " │ ├─ (nhmxw.id = ism.PRUV2)\n" + 594 " │ └─ TableAlias(nhmxw)\n" + 595 " │ └─ IndexedTableAccess(WGSDC)\n" + 596 " │ ├─ index: [WGSDC.id]\n" + 597 " │ ├─ columns: [id swcqv]\n" + 598 " │ └─ keys: ism.PRUV2\n" + 599 " │ = 1) OR (((NOT(ism.FV24E IS NULL)) AND (NOT((Subquery\n" + 600 " │ ├─ cacheable: false\n" + 601 " │ └─ Project\n" + 602 " │ ├─ columns: [nd.id]\n" + 603 " │ └─ Filter\n" + 604 " │ ├─ (nd.TW55N = Subquery\n" + 605 " │ │ ├─ cacheable: false\n" + 606 " │ │ └─ Project\n" + 607 " │ │ ├─ columns: [nhmxw.FZXV5]\n" + 608 " │ │ └─ Filter\n" + 609 " │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 610 " │ │ └─ TableAlias(nhmxw)\n" + 611 " │ │ └─ IndexedTableAccess(WGSDC)\n" + 612 " │ │ ├─ index: [WGSDC.id]\n" + 613 " │ │ ├─ columns: [id fzxv5]\n" + 614 " │ │ └─ keys: ism.PRUV2\n" + 615 " │ │ )\n" + 616 " │ └─ TableAlias(nd)\n" + 617 " │ └─ Table\n" + 618 " │ └─ name: E2I7U\n" + 619 " │ = ism.FV24E)))) OR ((NOT(ism.UJ6XY IS NULL)) AND (NOT((Subquery\n" + 620 " │ ├─ cacheable: false\n" + 621 " │ └─ Project\n" + 622 " │ ├─ columns: [nd.id]\n" + 623 " │ └─ Filter\n" + 624 " │ ├─ (nd.TW55N = Subquery\n" + 625 " │ │ ├─ cacheable: false\n" + 626 " │ │ └─ Project\n" + 627 " │ │ ├─ columns: [nhmxw.DQYGV]\n" + 628 " │ │ └─ Filter\n" + 629 " │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 630 " │ │ └─ TableAlias(nhmxw)\n" + 631 " │ │ └─ IndexedTableAccess(WGSDC)\n" + 632 " │ │ ├─ index: [WGSDC.id]\n" + 633 " │ │ ├─ columns: [id dqygv]\n" + 634 " │ │ └─ keys: ism.PRUV2\n" + 635 " │ │ )\n" + 636 " │ └─ TableAlias(nd)\n" + 637 " │ └─ Table\n" + 638 " │ └─ name: E2I7U\n" + 639 " │ = ism.UJ6XY))))))) OR ((NOT(ism.ETPQV IS NULL)) AND InSubquery\n" + 640 " │ ├─ left: ism.ETPQV\n" + 641 " │ └─ right: Subquery\n" + 642 " │ ├─ cacheable: true\n" + 643 " │ └─ Project\n" + 644 " │ ├─ columns: [tizhk.id as FWATE]\n" + 645 " │ └─ LookupJoin\n" + 646 " │ ├─ (((tizhk.TVNW2 = nhmxw.NOHHR) AND (tizhk.ZHITY = nhmxw.AVPYF)) AND (tizhk.IDUT2 = nhmxw.IDUT2))\n" + 647 " │ ├─ Project\n" + 648 " │ │ ├─ columns: [nhmxw.id, nhmxw.NOHHR, nhmxw.AVPYF, nhmxw.SYPKF, nhmxw.IDUT2, nhmxw.FZXV5, nhmxw.DQYGV, nhmxw.SWCQV, nhmxw.YKSSU, nhmxw.FHCYT]\n" + 649 " │ │ └─ Filter\n" + 650 " │ │ ├─ hddvb.PRUV2 IS NULL\n" + 651 " │ │ └─ LeftOuterLookupJoin\n" + 652 " │ │ ├─ Filter\n" + 653 " │ │ │ ├─ (nhmxw.SWCQV = 0)\n" + 654 " │ │ │ └─ TableAlias(nhmxw)\n" + 655 " │ │ │ └─ Table\n" + 656 " │ │ │ └─ name: WGSDC\n" + 657 " │ │ └─ Filter\n" + 658 " │ │ ├─ (NOT(hddvb.PRUV2 IS NULL))\n" + 659 " │ │ └─ IndexedTableAccess(HDDVB)\n" + 660 " │ │ ├─ index: [HDDVB.PRUV2]\n" + 661 " │ │ ├─ columns: [pruv2]\n" + 662 " │ │ └─ keys: nhmxw.id\n" + 663 " │ └─ TableAlias(tizhk)\n" + 664 " │ └─ IndexedTableAccess(WRZVO)\n" + 665 " │ ├─ index: [WRZVO.SYPKF]\n" + 666 " │ └─ keys: nhmxw.SYPKF\n" + 667 " │ ))\n" + 668 " └─ TableAlias(ism)\n" + 669 " └─ Table\n" + 670 " └─ name: HDDVB\n" + 671 "", 672 ExpectedAnalysis: "Filter\n" + 673 " ├─ (((NOT(ism.PRUV2 IS NULL)) AND ((Subquery\n" + 674 " │ ├─ cacheable: false\n" + 675 " │ └─ Project\n" + 676 " │ ├─ columns: [nhmxw.SWCQV]\n" + 677 " │ └─ Filter\n" + 678 " │ ├─ (nhmxw.id = ism.PRUV2)\n" + 679 " │ └─ TableAlias(nhmxw)\n" + 680 " │ └─ IndexedTableAccess(WGSDC)\n" + 681 " │ ├─ index: [WGSDC.id]\n" + 682 " │ ├─ columns: [id swcqv]\n" + 683 " │ └─ keys: ism.PRUV2\n" + 684 " │ = 1) OR (((NOT(ism.FV24E IS NULL)) AND (NOT((Subquery\n" + 685 " │ ├─ cacheable: false\n" + 686 " │ └─ Project\n" + 687 " │ ├─ columns: [nd.id]\n" + 688 " │ └─ Filter\n" + 689 " │ ├─ (nd.TW55N = Subquery\n" + 690 " │ │ ├─ cacheable: false\n" + 691 " │ │ └─ Project\n" + 692 " │ │ ├─ columns: [nhmxw.FZXV5]\n" + 693 " │ │ └─ Filter\n" + 694 " │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 695 " │ │ └─ TableAlias(nhmxw)\n" + 696 " │ │ └─ IndexedTableAccess(WGSDC)\n" + 697 " │ │ ├─ index: [WGSDC.id]\n" + 698 " │ │ ├─ columns: [id fzxv5]\n" + 699 " │ │ └─ keys: ism.PRUV2\n" + 700 " │ │ )\n" + 701 " │ └─ TableAlias(nd)\n" + 702 " │ └─ Table\n" + 703 " │ └─ name: E2I7U\n" + 704 " │ = ism.FV24E)))) OR ((NOT(ism.UJ6XY IS NULL)) AND (NOT((Subquery\n" + 705 " │ ├─ cacheable: false\n" + 706 " │ └─ Project\n" + 707 " │ ├─ columns: [nd.id]\n" + 708 " │ └─ Filter\n" + 709 " │ ├─ (nd.TW55N = Subquery\n" + 710 " │ │ ├─ cacheable: false\n" + 711 " │ │ └─ Project\n" + 712 " │ │ ├─ columns: [nhmxw.DQYGV]\n" + 713 " │ │ └─ Filter\n" + 714 " │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 715 " │ │ └─ TableAlias(nhmxw)\n" + 716 " │ │ └─ IndexedTableAccess(WGSDC)\n" + 717 " │ │ ├─ index: [WGSDC.id]\n" + 718 " │ │ ├─ columns: [id dqygv]\n" + 719 " │ │ └─ keys: ism.PRUV2\n" + 720 " │ │ )\n" + 721 " │ └─ TableAlias(nd)\n" + 722 " │ └─ Table\n" + 723 " │ └─ name: E2I7U\n" + 724 " │ = ism.UJ6XY))))))) OR ((NOT(ism.ETPQV IS NULL)) AND InSubquery\n" + 725 " │ ├─ left: ism.ETPQV\n" + 726 " │ └─ right: Subquery\n" + 727 " │ ├─ cacheable: true\n" + 728 " │ └─ Project\n" + 729 " │ ├─ columns: [tizhk.id as FWATE]\n" + 730 " │ └─ LookupJoin\n" + 731 " │ ├─ (((tizhk.TVNW2 = nhmxw.NOHHR) AND (tizhk.ZHITY = nhmxw.AVPYF)) AND (tizhk.IDUT2 = nhmxw.IDUT2))\n" + 732 " │ ├─ Project\n" + 733 " │ │ ├─ columns: [nhmxw.id, nhmxw.NOHHR, nhmxw.AVPYF, nhmxw.SYPKF, nhmxw.IDUT2, nhmxw.FZXV5, nhmxw.DQYGV, nhmxw.SWCQV, nhmxw.YKSSU, nhmxw.FHCYT]\n" + 734 " │ │ └─ Filter\n" + 735 " │ │ ├─ hddvb.PRUV2 IS NULL\n" + 736 " │ │ └─ LeftOuterLookupJoin\n" + 737 " │ │ ├─ Filter\n" + 738 " │ │ │ ├─ (nhmxw.SWCQV = 0)\n" + 739 " │ │ │ └─ TableAlias(nhmxw)\n" + 740 " │ │ │ └─ Table\n" + 741 " │ │ │ └─ name: WGSDC\n" + 742 " │ │ └─ Filter\n" + 743 " │ │ ├─ (NOT(hddvb.PRUV2 IS NULL))\n" + 744 " │ │ └─ IndexedTableAccess(HDDVB)\n" + 745 " │ │ ├─ index: [HDDVB.PRUV2]\n" + 746 " │ │ ├─ columns: [pruv2]\n" + 747 " │ │ └─ keys: nhmxw.id\n" + 748 " │ └─ TableAlias(tizhk)\n" + 749 " │ └─ IndexedTableAccess(WRZVO)\n" + 750 " │ ├─ index: [WRZVO.SYPKF]\n" + 751 " │ └─ keys: nhmxw.SYPKF\n" + 752 " │ ))\n" + 753 " └─ TableAlias(ism)\n" + 754 " └─ Table\n" + 755 " └─ name: HDDVB\n" + 756 "", 757 }, 758 { 759 Query: ` 760 SELECT 761 TIZHK.* 762 FROM 763 WRZVO TIZHK 764 WHERE id IN 765 ( 766 SELECT /*+ JOIN_ORDER( J4JYP, TIZHK, RHUZN, mf, aac ) */DISTINCT 767 TIZHK.id 768 FROM 769 WRZVO TIZHK 770 INNER JOIN 771 E2I7U J4JYP 772 ON 773 J4JYP.ZH72S = TIZHK.TVNW2 774 INNER JOIN 775 E2I7U RHUZN 776 ON 777 RHUZN.ZH72S = TIZHK.ZHITY 778 INNER JOIN 779 HGMQ6 mf ON mf.LUEVY = J4JYP.id 780 INNER JOIN 781 TPXBU aac ON aac.id = mf.M22QN 782 WHERE 783 aac.BTXC5 = TIZHK.SYPKF 784 ) 785 AND 786 TIZHK.id NOT IN (SELECT ETPQV FROM HDDVB) 787 `, 788 ExpectedPlan: "Project\n" + 789 " ├─ columns: [tizhk.id:1!null, tizhk.TVNW2:2, tizhk.ZHITY:3, tizhk.SYPKF:4, tizhk.IDUT2:5, tizhk.O6QJ3:6, tizhk.NO2JA:7, tizhk.YKSSU:8, tizhk.FHCYT:9, tizhk.QZ6VT:10]\n" + 790 " └─ Filter\n" + 791 " ├─ hddvb.ETPQV:11 IS NULL\n" + 792 " └─ LeftOuterLookupJoin\n" + 793 " ├─ LookupJoin\n" + 794 " │ ├─ Eq\n" + 795 " │ │ ├─ tizhk.id:1!null\n" + 796 " │ │ └─ tizhk_1.id:0!null\n" + 797 " │ ├─ Distinct\n" + 798 " │ │ └─ Project\n" + 799 " │ │ ├─ columns: [tizhk_1.id:17!null]\n" + 800 " │ │ └─ Filter\n" + 801 " │ │ ├─ Eq\n" + 802 " │ │ │ ├─ aac.BTXC5:62\n" + 803 " │ │ │ └─ tizhk_1.SYPKF:20\n" + 804 " │ │ └─ LookupJoin\n" + 805 " │ │ ├─ LookupJoin\n" + 806 " │ │ │ ├─ LookupJoin\n" + 807 " │ │ │ │ ├─ LookupJoin\n" + 808 " │ │ │ │ │ ├─ TableAlias(j4jyp)\n" + 809 " │ │ │ │ │ │ └─ ProcessTable\n" + 810 " │ │ │ │ │ │ └─ Table\n" + 811 " │ │ │ │ │ │ ├─ name: E2I7U\n" + 812 " │ │ │ │ │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 813 " │ │ │ │ │ └─ TableAlias(tizhk_1)\n" + 814 " │ │ │ │ │ └─ IndexedTableAccess(WRZVO)\n" + 815 " │ │ │ │ │ ├─ index: [WRZVO.TVNW2]\n" + 816 " │ │ │ │ │ ├─ keys: [j4jyp.ZH72S:7]\n" + 817 " │ │ │ │ │ ├─ colSet: (11-20)\n" + 818 " │ │ │ │ │ ├─ tableId: 2\n" + 819 " │ │ │ │ │ └─ Table\n" + 820 " │ │ │ │ │ ├─ name: WRZVO\n" + 821 " │ │ │ │ │ └─ columns: [id tvnw2 zhity sypkf idut2 o6qj3 no2ja ykssu fhcyt qz6vt]\n" + 822 " │ │ │ │ └─ TableAlias(rhuzn)\n" + 823 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 824 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 825 " │ │ │ │ ├─ keys: [tizhk_1.ZHITY:19]\n" + 826 " │ │ │ │ ├─ colSet: (38-54)\n" + 827 " │ │ │ │ ├─ tableId: 4\n" + 828 " │ │ │ │ └─ Table\n" + 829 " │ │ │ │ ├─ name: E2I7U\n" + 830 " │ │ │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 831 " │ │ │ └─ TableAlias(mf)\n" + 832 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 833 " │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 834 " │ │ │ ├─ keys: [j4jyp.id:0!null]\n" + 835 " │ │ │ ├─ colSet: (55-71)\n" + 836 " │ │ │ ├─ tableId: 5\n" + 837 " │ │ │ └─ Table\n" + 838 " │ │ │ ├─ name: HGMQ6\n" + 839 " │ │ │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 840 " │ │ └─ TableAlias(aac)\n" + 841 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 842 " │ │ ├─ index: [TPXBU.id]\n" + 843 " │ │ ├─ keys: [mf.M22QN:47!null]\n" + 844 " │ │ ├─ colSet: (72-74)\n" + 845 " │ │ ├─ tableId: 6\n" + 846 " │ │ └─ Table\n" + 847 " │ │ ├─ name: TPXBU\n" + 848 " │ │ └─ columns: [id btxc5 fhcyt]\n" + 849 " │ └─ TableAlias(tizhk)\n" + 850 " │ └─ IndexedTableAccess(WRZVO)\n" + 851 " │ ├─ index: [WRZVO.id]\n" + 852 " │ ├─ keys: [tizhk_1.id:0!null]\n" + 853 " │ ├─ colSet: (1-10)\n" + 854 " │ ├─ tableId: 1\n" + 855 " │ └─ Table\n" + 856 " │ ├─ name: WRZVO\n" + 857 " │ └─ columns: [id tvnw2 zhity sypkf idut2 o6qj3 no2ja ykssu fhcyt qz6vt]\n" + 858 " └─ Project\n" + 859 " ├─ columns: [hddvb.ETPQV:5]\n" + 860 " └─ IndexedTableAccess(HDDVB)\n" + 861 " ├─ index: [HDDVB.ETPQV]\n" + 862 " ├─ keys: [tizhk.id:1!null]\n" + 863 " ├─ colSet: (75-83)\n" + 864 " ├─ tableId: 7\n" + 865 " └─ Table\n" + 866 " ├─ name: HDDVB\n" + 867 " └─ columns: [id fv24e uj6xy m22qn nz4mq etpqv pruv2 ykssu fhcyt]\n" + 868 "", 869 ExpectedEstimates: "Project\n" + 870 " ├─ columns: [tizhk.id, tizhk.TVNW2, tizhk.ZHITY, tizhk.SYPKF, tizhk.IDUT2, tizhk.O6QJ3, tizhk.NO2JA, tizhk.YKSSU, tizhk.FHCYT, tizhk.QZ6VT]\n" + 871 " └─ Filter\n" + 872 " ├─ hddvb.ETPQV IS NULL\n" + 873 " └─ LeftOuterLookupJoin (estimated cost=8017.400 rows=1389)\n" + 874 " ├─ LookupJoin (estimated cost=15846.600 rows=4802)\n" + 875 " │ ├─ (tizhk.id = tizhk_1.id)\n" + 876 " │ ├─ Distinct\n" + 877 " │ │ └─ Project\n" + 878 " │ │ ├─ columns: [tizhk_1.id]\n" + 879 " │ │ └─ Filter\n" + 880 " │ │ ├─ (aac.BTXC5 = tizhk_1.SYPKF)\n" + 881 " │ │ └─ LookupJoin (estimated cost=19806.600 rows=6002)\n" + 882 " │ │ ├─ LookupJoin (estimated cost=18627.300 rows=6002)\n" + 883 " │ │ │ ├─ LookupJoin (estimated cost=15867.300 rows=4802)\n" + 884 " │ │ │ │ ├─ LookupJoin (estimated cost=14907.300 rows=4802)\n" + 885 " │ │ │ │ │ ├─ TableAlias(j4jyp)\n" + 886 " │ │ │ │ │ │ └─ Table\n" + 887 " │ │ │ │ │ │ └─ name: E2I7U\n" + 888 " │ │ │ │ │ └─ TableAlias(tizhk_1)\n" + 889 " │ │ │ │ │ └─ IndexedTableAccess(WRZVO)\n" + 890 " │ │ │ │ │ ├─ index: [WRZVO.TVNW2]\n" + 891 " │ │ │ │ │ └─ keys: j4jyp.ZH72S\n" + 892 " │ │ │ │ └─ TableAlias(rhuzn)\n" + 893 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 894 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 895 " │ │ │ │ └─ keys: tizhk_1.ZHITY\n" + 896 " │ │ │ └─ TableAlias(mf)\n" + 897 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 898 " │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 899 " │ │ │ └─ keys: j4jyp.id\n" + 900 " │ │ └─ TableAlias(aac)\n" + 901 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 902 " │ │ ├─ index: [TPXBU.id]\n" + 903 " │ │ └─ keys: mf.M22QN\n" + 904 " │ └─ TableAlias(tizhk)\n" + 905 " │ └─ IndexedTableAccess(WRZVO)\n" + 906 " │ ├─ index: [WRZVO.id]\n" + 907 " │ └─ keys: tizhk_1.id\n" + 908 " └─ Project\n" + 909 " ├─ columns: [hddvb.ETPQV]\n" + 910 " └─ IndexedTableAccess(HDDVB)\n" + 911 " ├─ index: [HDDVB.ETPQV]\n" + 912 " └─ keys: tizhk.id\n" + 913 "", 914 ExpectedAnalysis: "Project\n" + 915 " ├─ columns: [tizhk.id, tizhk.TVNW2, tizhk.ZHITY, tizhk.SYPKF, tizhk.IDUT2, tizhk.O6QJ3, tizhk.NO2JA, tizhk.YKSSU, tizhk.FHCYT, tizhk.QZ6VT]\n" + 916 " └─ Filter\n" + 917 " ├─ hddvb.ETPQV IS NULL\n" + 918 " └─ LeftOuterLookupJoin (estimated cost=8017.400 rows=1389) (actual rows=0 loops=1)\n" + 919 " ├─ LookupJoin (estimated cost=15846.600 rows=4802) (actual rows=0 loops=1)\n" + 920 " │ ├─ (tizhk.id = tizhk_1.id)\n" + 921 " │ ├─ Distinct\n" + 922 " │ │ └─ Project\n" + 923 " │ │ ├─ columns: [tizhk_1.id]\n" + 924 " │ │ └─ Filter\n" + 925 " │ │ ├─ (aac.BTXC5 = tizhk_1.SYPKF)\n" + 926 " │ │ └─ LookupJoin (estimated cost=19806.600 rows=6002) (actual rows=0 loops=1)\n" + 927 " │ │ ├─ LookupJoin (estimated cost=18627.300 rows=6002) (actual rows=0 loops=1)\n" + 928 " │ │ │ ├─ LookupJoin (estimated cost=15867.300 rows=4802) (actual rows=0 loops=1)\n" + 929 " │ │ │ │ ├─ LookupJoin (estimated cost=14907.300 rows=4802) (actual rows=0 loops=1)\n" + 930 " │ │ │ │ │ ├─ TableAlias(j4jyp)\n" + 931 " │ │ │ │ │ │ └─ Table\n" + 932 " │ │ │ │ │ │ └─ name: E2I7U\n" + 933 " │ │ │ │ │ └─ TableAlias(tizhk_1)\n" + 934 " │ │ │ │ │ └─ IndexedTableAccess(WRZVO)\n" + 935 " │ │ │ │ │ ├─ index: [WRZVO.TVNW2]\n" + 936 " │ │ │ │ │ └─ keys: j4jyp.ZH72S\n" + 937 " │ │ │ │ └─ TableAlias(rhuzn)\n" + 938 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 939 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 940 " │ │ │ │ └─ keys: tizhk_1.ZHITY\n" + 941 " │ │ │ └─ TableAlias(mf)\n" + 942 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 943 " │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 944 " │ │ │ └─ keys: j4jyp.id\n" + 945 " │ │ └─ TableAlias(aac)\n" + 946 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 947 " │ │ ├─ index: [TPXBU.id]\n" + 948 " │ │ └─ keys: mf.M22QN\n" + 949 " │ └─ TableAlias(tizhk)\n" + 950 " │ └─ IndexedTableAccess(WRZVO)\n" + 951 " │ ├─ index: [WRZVO.id]\n" + 952 " │ └─ keys: tizhk_1.id\n" + 953 " └─ Project\n" + 954 " ├─ columns: [hddvb.ETPQV]\n" + 955 " └─ IndexedTableAccess(HDDVB)\n" + 956 " ├─ index: [HDDVB.ETPQV]\n" + 957 " └─ keys: tizhk.id\n" + 958 "", 959 }, 960 { 961 Query: ` 962 SELECT 963 TIZHK.* 964 FROM 965 WRZVO TIZHK 966 WHERE id IN 967 ( 968 SELECT DISTINCT 969 TIZHK.id 970 FROM 971 WRZVO TIZHK 972 INNER JOIN 973 E2I7U J4JYP 974 ON 975 J4JYP.ZH72S = TIZHK.TVNW2 976 INNER JOIN 977 E2I7U RHUZN 978 ON 979 RHUZN.ZH72S = TIZHK.ZHITY 980 INNER JOIN 981 HGMQ6 mf ON mf.LUEVY = J4JYP.id 982 INNER JOIN 983 TPXBU aac ON aac.id = mf.M22QN 984 WHERE 985 aac.BTXC5 = TIZHK.SYPKF 986 ) 987 AND 988 TIZHK.id NOT IN (SELECT ETPQV FROM HDDVB) 989 `, 990 ExpectedPlan: "Project\n" + 991 " ├─ columns: [tizhk.id:1!null, tizhk.TVNW2:2, tizhk.ZHITY:3, tizhk.SYPKF:4, tizhk.IDUT2:5, tizhk.O6QJ3:6, tizhk.NO2JA:7, tizhk.YKSSU:8, tizhk.FHCYT:9, tizhk.QZ6VT:10]\n" + 992 " └─ Filter\n" + 993 " ├─ hddvb.ETPQV:11 IS NULL\n" + 994 " └─ LeftOuterLookupJoin\n" + 995 " ├─ LookupJoin\n" + 996 " │ ├─ Eq\n" + 997 " │ │ ├─ tizhk.id:1!null\n" + 998 " │ │ └─ tizhk_1.id:0!null\n" + 999 " │ ├─ Distinct\n" + 1000 " │ │ └─ Project\n" + 1001 " │ │ ├─ columns: [tizhk_1.id:17!null]\n" + 1002 " │ │ └─ Filter\n" + 1003 " │ │ ├─ Eq\n" + 1004 " │ │ │ ├─ aac.BTXC5:62\n" + 1005 " │ │ │ └─ tizhk_1.SYPKF:20\n" + 1006 " │ │ └─ LookupJoin\n" + 1007 " │ │ ├─ LookupJoin\n" + 1008 " │ │ │ ├─ LookupJoin\n" + 1009 " │ │ │ │ ├─ LookupJoin\n" + 1010 " │ │ │ │ │ ├─ TableAlias(j4jyp)\n" + 1011 " │ │ │ │ │ │ └─ ProcessTable\n" + 1012 " │ │ │ │ │ │ └─ Table\n" + 1013 " │ │ │ │ │ │ ├─ name: E2I7U\n" + 1014 " │ │ │ │ │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 1015 " │ │ │ │ │ └─ TableAlias(tizhk_1)\n" + 1016 " │ │ │ │ │ └─ IndexedTableAccess(WRZVO)\n" + 1017 " │ │ │ │ │ ├─ index: [WRZVO.TVNW2]\n" + 1018 " │ │ │ │ │ ├─ keys: [j4jyp.ZH72S:7]\n" + 1019 " │ │ │ │ │ ├─ colSet: (11-20)\n" + 1020 " │ │ │ │ │ ├─ tableId: 2\n" + 1021 " │ │ │ │ │ └─ Table\n" + 1022 " │ │ │ │ │ ├─ name: WRZVO\n" + 1023 " │ │ │ │ │ └─ columns: [id tvnw2 zhity sypkf idut2 o6qj3 no2ja ykssu fhcyt qz6vt]\n" + 1024 " │ │ │ │ └─ TableAlias(rhuzn)\n" + 1025 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 1026 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 1027 " │ │ │ │ ├─ keys: [tizhk_1.ZHITY:19]\n" + 1028 " │ │ │ │ ├─ colSet: (38-54)\n" + 1029 " │ │ │ │ ├─ tableId: 4\n" + 1030 " │ │ │ │ └─ Table\n" + 1031 " │ │ │ │ ├─ name: E2I7U\n" + 1032 " │ │ │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 1033 " │ │ │ └─ TableAlias(mf)\n" + 1034 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 1035 " │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 1036 " │ │ │ ├─ keys: [j4jyp.id:0!null]\n" + 1037 " │ │ │ ├─ colSet: (55-71)\n" + 1038 " │ │ │ ├─ tableId: 5\n" + 1039 " │ │ │ └─ Table\n" + 1040 " │ │ │ ├─ name: HGMQ6\n" + 1041 " │ │ │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 1042 " │ │ └─ TableAlias(aac)\n" + 1043 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 1044 " │ │ ├─ index: [TPXBU.id]\n" + 1045 " │ │ ├─ keys: [mf.M22QN:47!null]\n" + 1046 " │ │ ├─ colSet: (72-74)\n" + 1047 " │ │ ├─ tableId: 6\n" + 1048 " │ │ └─ Table\n" + 1049 " │ │ ├─ name: TPXBU\n" + 1050 " │ │ └─ columns: [id btxc5 fhcyt]\n" + 1051 " │ └─ TableAlias(tizhk)\n" + 1052 " │ └─ IndexedTableAccess(WRZVO)\n" + 1053 " │ ├─ index: [WRZVO.id]\n" + 1054 " │ ├─ keys: [tizhk_1.id:0!null]\n" + 1055 " │ ├─ colSet: (1-10)\n" + 1056 " │ ├─ tableId: 1\n" + 1057 " │ └─ Table\n" + 1058 " │ ├─ name: WRZVO\n" + 1059 " │ └─ columns: [id tvnw2 zhity sypkf idut2 o6qj3 no2ja ykssu fhcyt qz6vt]\n" + 1060 " └─ Project\n" + 1061 " ├─ columns: [hddvb.ETPQV:5]\n" + 1062 " └─ IndexedTableAccess(HDDVB)\n" + 1063 " ├─ index: [HDDVB.ETPQV]\n" + 1064 " ├─ keys: [tizhk.id:1!null]\n" + 1065 " ├─ colSet: (75-83)\n" + 1066 " ├─ tableId: 7\n" + 1067 " └─ Table\n" + 1068 " ├─ name: HDDVB\n" + 1069 " └─ columns: [id fv24e uj6xy m22qn nz4mq etpqv pruv2 ykssu fhcyt]\n" + 1070 "", 1071 ExpectedEstimates: "Project\n" + 1072 " ├─ columns: [tizhk.id, tizhk.TVNW2, tizhk.ZHITY, tizhk.SYPKF, tizhk.IDUT2, tizhk.O6QJ3, tizhk.NO2JA, tizhk.YKSSU, tizhk.FHCYT, tizhk.QZ6VT]\n" + 1073 " └─ Filter\n" + 1074 " ├─ hddvb.ETPQV IS NULL\n" + 1075 " └─ LeftOuterLookupJoin (estimated cost=8017.400 rows=1389)\n" + 1076 " ├─ LookupJoin (estimated cost=15846.600 rows=4802)\n" + 1077 " │ ├─ (tizhk.id = tizhk_1.id)\n" + 1078 " │ ├─ Distinct\n" + 1079 " │ │ └─ Project\n" + 1080 " │ │ ├─ columns: [tizhk_1.id]\n" + 1081 " │ │ └─ Filter\n" + 1082 " │ │ ├─ (aac.BTXC5 = tizhk_1.SYPKF)\n" + 1083 " │ │ └─ LookupJoin (estimated cost=19806.600 rows=6002)\n" + 1084 " │ │ ├─ LookupJoin (estimated cost=18627.300 rows=6002)\n" + 1085 " │ │ │ ├─ LookupJoin (estimated cost=15867.300 rows=4802)\n" + 1086 " │ │ │ │ ├─ LookupJoin (estimated cost=14907.300 rows=4802)\n" + 1087 " │ │ │ │ │ ├─ TableAlias(j4jyp)\n" + 1088 " │ │ │ │ │ │ └─ Table\n" + 1089 " │ │ │ │ │ │ └─ name: E2I7U\n" + 1090 " │ │ │ │ │ └─ TableAlias(tizhk_1)\n" + 1091 " │ │ │ │ │ └─ IndexedTableAccess(WRZVO)\n" + 1092 " │ │ │ │ │ ├─ index: [WRZVO.TVNW2]\n" + 1093 " │ │ │ │ │ └─ keys: j4jyp.ZH72S\n" + 1094 " │ │ │ │ └─ TableAlias(rhuzn)\n" + 1095 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 1096 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 1097 " │ │ │ │ └─ keys: tizhk_1.ZHITY\n" + 1098 " │ │ │ └─ TableAlias(mf)\n" + 1099 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 1100 " │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 1101 " │ │ │ └─ keys: j4jyp.id\n" + 1102 " │ │ └─ TableAlias(aac)\n" + 1103 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 1104 " │ │ ├─ index: [TPXBU.id]\n" + 1105 " │ │ └─ keys: mf.M22QN\n" + 1106 " │ └─ TableAlias(tizhk)\n" + 1107 " │ └─ IndexedTableAccess(WRZVO)\n" + 1108 " │ ├─ index: [WRZVO.id]\n" + 1109 " │ └─ keys: tizhk_1.id\n" + 1110 " └─ Project\n" + 1111 " ├─ columns: [hddvb.ETPQV]\n" + 1112 " └─ IndexedTableAccess(HDDVB)\n" + 1113 " ├─ index: [HDDVB.ETPQV]\n" + 1114 " └─ keys: tizhk.id\n" + 1115 "", 1116 ExpectedAnalysis: "Project\n" + 1117 " ├─ columns: [tizhk.id, tizhk.TVNW2, tizhk.ZHITY, tizhk.SYPKF, tizhk.IDUT2, tizhk.O6QJ3, tizhk.NO2JA, tizhk.YKSSU, tizhk.FHCYT, tizhk.QZ6VT]\n" + 1118 " └─ Filter\n" + 1119 " ├─ hddvb.ETPQV IS NULL\n" + 1120 " └─ LeftOuterLookupJoin (estimated cost=8017.400 rows=1389) (actual rows=0 loops=1)\n" + 1121 " ├─ LookupJoin (estimated cost=15846.600 rows=4802) (actual rows=0 loops=1)\n" + 1122 " │ ├─ (tizhk.id = tizhk_1.id)\n" + 1123 " │ ├─ Distinct\n" + 1124 " │ │ └─ Project\n" + 1125 " │ │ ├─ columns: [tizhk_1.id]\n" + 1126 " │ │ └─ Filter\n" + 1127 " │ │ ├─ (aac.BTXC5 = tizhk_1.SYPKF)\n" + 1128 " │ │ └─ LookupJoin (estimated cost=19806.600 rows=6002) (actual rows=0 loops=1)\n" + 1129 " │ │ ├─ LookupJoin (estimated cost=18627.300 rows=6002) (actual rows=0 loops=1)\n" + 1130 " │ │ │ ├─ LookupJoin (estimated cost=15867.300 rows=4802) (actual rows=0 loops=1)\n" + 1131 " │ │ │ │ ├─ LookupJoin (estimated cost=14907.300 rows=4802) (actual rows=0 loops=1)\n" + 1132 " │ │ │ │ │ ├─ TableAlias(j4jyp)\n" + 1133 " │ │ │ │ │ │ └─ Table\n" + 1134 " │ │ │ │ │ │ └─ name: E2I7U\n" + 1135 " │ │ │ │ │ └─ TableAlias(tizhk_1)\n" + 1136 " │ │ │ │ │ └─ IndexedTableAccess(WRZVO)\n" + 1137 " │ │ │ │ │ ├─ index: [WRZVO.TVNW2]\n" + 1138 " │ │ │ │ │ └─ keys: j4jyp.ZH72S\n" + 1139 " │ │ │ │ └─ TableAlias(rhuzn)\n" + 1140 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 1141 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 1142 " │ │ │ │ └─ keys: tizhk_1.ZHITY\n" + 1143 " │ │ │ └─ TableAlias(mf)\n" + 1144 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 1145 " │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 1146 " │ │ │ └─ keys: j4jyp.id\n" + 1147 " │ │ └─ TableAlias(aac)\n" + 1148 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 1149 " │ │ ├─ index: [TPXBU.id]\n" + 1150 " │ │ └─ keys: mf.M22QN\n" + 1151 " │ └─ TableAlias(tizhk)\n" + 1152 " │ └─ IndexedTableAccess(WRZVO)\n" + 1153 " │ ├─ index: [WRZVO.id]\n" + 1154 " │ └─ keys: tizhk_1.id\n" + 1155 " └─ Project\n" + 1156 " ├─ columns: [hddvb.ETPQV]\n" + 1157 " └─ IndexedTableAccess(HDDVB)\n" + 1158 " ├─ index: [HDDVB.ETPQV]\n" + 1159 " └─ keys: tizhk.id\n" + 1160 "", 1161 }, 1162 { 1163 Query: ` 1164 SELECT 1165 PBMRX.id AS id, 1166 PBMRX.TW55N AS TEYBZ, 1167 PBMRX.ZH72S AS FB6N7 1168 FROM 1169 ( 1170 SELECT 1171 ZH72S AS ZH72S, 1172 COUNT(ZH72S) AS JTOA7, 1173 MIN(LEA4J) AS BADTB, 1174 SUM(LEA4J) AS FLHXH 1175 FROM 1176 ( 1177 SELECT 1178 nd.id AS id, 1179 nd.ZH72S AS ZH72S, 1180 (SELECT COUNT(*) FROM FLQLP WHERE LUEVY = nd.id) AS LEA4J 1181 FROM 1182 E2I7U nd 1183 WHERE nd.ZH72S IS NOT NULL 1184 ) WOOJ5 1185 GROUP BY 1186 ZH72S 1187 HAVING 1188 JTOA7 > 1 1189 ) CL3DT 1190 INNER JOIN 1191 E2I7U PBMRX 1192 ON 1193 PBMRX.ZH72S IS NOT NULL AND PBMRX.ZH72S = CL3DT.ZH72S 1194 WHERE 1195 CL3DT.BADTB = 0 1196 AND 1197 CL3DT.FLHXH > 0 1198 `, 1199 ExpectedPlan: "Project\n" + 1200 " ├─ columns: [pbmrx.id:4!null as id, pbmrx.TW55N:5!null as TEYBZ, pbmrx.ZH72S:6 as FB6N7]\n" + 1201 " └─ LookupJoin\n" + 1202 " ├─ NOT\n" + 1203 " │ └─ pbmrx.ZH72S:6 IS NULL\n" + 1204 " ├─ SubqueryAlias\n" + 1205 " │ ├─ name: cl3dt\n" + 1206 " │ ├─ outerVisibility: false\n" + 1207 " │ ├─ isLateral: false\n" + 1208 " │ ├─ cacheable: true\n" + 1209 " │ ├─ colSet: (44-47)\n" + 1210 " │ ├─ tableId: 4\n" + 1211 " │ └─ Filter\n" + 1212 " │ ├─ AND\n" + 1213 " │ │ ├─ Eq\n" + 1214 " │ │ │ ├─ BADTB:2!null\n" + 1215 " │ │ │ └─ 0 (tinyint)\n" + 1216 " │ │ └─ GreaterThan\n" + 1217 " │ │ ├─ FLHXH:3!null\n" + 1218 " │ │ └─ 0 (tinyint)\n" + 1219 " │ └─ Project\n" + 1220 " │ ├─ columns: [wooj5.ZH72S:3 as ZH72S, count(wooj5.zh72s):0!null as JTOA7, min(wooj5.lea4j):1!null as BADTB, sum(wooj5.lea4j):2!null as FLHXH]\n" + 1221 " │ └─ Having\n" + 1222 " │ ├─ GreaterThan\n" + 1223 " │ │ ├─ JTOA7:5!null\n" + 1224 " │ │ └─ 1 (tinyint)\n" + 1225 " │ └─ Project\n" + 1226 " │ ├─ columns: [count(wooj5.zh72s):0!null, min(wooj5.lea4j):1!null, sum(wooj5.lea4j):2!null, wooj5.ZH72S:3, wooj5.ZH72S:3 as ZH72S, count(wooj5.zh72s):0!null as JTOA7, min(wooj5.lea4j):1!null as BADTB, sum(wooj5.lea4j):2!null as FLHXH]\n" + 1227 " │ └─ GroupBy\n" + 1228 " │ ├─ select: COUNT(wooj5.ZH72S:1), MIN(wooj5.LEA4J:2), SUM(wooj5.LEA4J:2), wooj5.ZH72S:1\n" + 1229 " │ ├─ group: wooj5.ZH72S:1\n" + 1230 " │ └─ SubqueryAlias\n" + 1231 " │ ├─ name: wooj5\n" + 1232 " │ ├─ outerVisibility: false\n" + 1233 " │ ├─ isLateral: false\n" + 1234 " │ ├─ cacheable: true\n" + 1235 " │ ├─ colSet: (34-36)\n" + 1236 " │ ├─ tableId: 3\n" + 1237 " │ └─ Project\n" + 1238 " │ ├─ columns: [nd.id:0!null as id, nd.ZH72S:7 as ZH72S, Subquery\n" + 1239 " │ │ ├─ cacheable: false\n" + 1240 " │ │ ├─ alias-string: select COUNT(*) from FLQLP where LUEVY = nd.id\n" + 1241 " │ │ └─ Project\n" + 1242 " │ │ ├─ columns: [count(1):20!null as COUNT(*)]\n" + 1243 " │ │ └─ GroupBy\n" + 1244 " │ │ ├─ select: COUNT(1 (bigint))\n" + 1245 " │ │ ├─ group: \n" + 1246 " │ │ └─ Filter\n" + 1247 " │ │ ├─ Eq\n" + 1248 " │ │ │ ├─ flqlp.LUEVY:20!null\n" + 1249 " │ │ │ └─ nd.id:0!null\n" + 1250 " │ │ └─ IndexedTableAccess(FLQLP)\n" + 1251 " │ │ ├─ index: [FLQLP.LUEVY]\n" + 1252 " │ │ ├─ keys: [nd.id:0!null]\n" + 1253 " │ │ ├─ colSet: (20-31)\n" + 1254 " │ │ ├─ tableId: 2\n" + 1255 " │ │ └─ Table\n" + 1256 " │ │ ├─ name: FLQLP\n" + 1257 " │ │ └─ columns: [luevy]\n" + 1258 " │ │ as LEA4J]\n" + 1259 " │ └─ Project\n" + 1260 " │ ├─ columns: [nd.id:0!null, nd.DKCAJ:1!null, nd.KNG7T:2, nd.TW55N:3!null, nd.QRQXW:4!null, nd.ECXAJ:5!null, nd.FGG57:6, nd.ZH72S:7, nd.FSK67:8!null, nd.XQDYT:9!null, nd.TCE7A:10, nd.IWV2H:11, nd.HPCMS:12!null, nd.N5CC2:13, nd.FHCYT:14, nd.ETAQ7:15, nd.A75X7:16, nd.id:0!null as id, nd.ZH72S:7 as ZH72S, Subquery\n" + 1261 " │ │ ├─ cacheable: false\n" + 1262 " │ │ ├─ alias-string: select COUNT(*) from FLQLP where LUEVY = nd.id\n" + 1263 " │ │ └─ Project\n" + 1264 " │ │ ├─ columns: [count(1):17!null as COUNT(*)]\n" + 1265 " │ │ └─ GroupBy\n" + 1266 " │ │ ├─ select: COUNT(1 (bigint))\n" + 1267 " │ │ ├─ group: \n" + 1268 " │ │ └─ Filter\n" + 1269 " │ │ ├─ Eq\n" + 1270 " │ │ │ ├─ flqlp.LUEVY:17!null\n" + 1271 " │ │ │ └─ nd.id:0!null\n" + 1272 " │ │ └─ IndexedTableAccess(FLQLP)\n" + 1273 " │ │ ├─ index: [FLQLP.LUEVY]\n" + 1274 " │ │ ├─ keys: [nd.id:0!null]\n" + 1275 " │ │ ├─ colSet: (20-31)\n" + 1276 " │ │ ├─ tableId: 2\n" + 1277 " │ │ └─ Table\n" + 1278 " │ │ ├─ name: FLQLP\n" + 1279 " │ │ └─ columns: [luevy]\n" + 1280 " │ │ as LEA4J]\n" + 1281 " │ └─ TableAlias(nd)\n" + 1282 " │ └─ IndexedTableAccess(E2I7U)\n" + 1283 " │ ├─ index: [E2I7U.ZH72S]\n" + 1284 " │ ├─ static: [{(NULL, ∞)}]\n" + 1285 " │ ├─ colSet: (1-17)\n" + 1286 " │ ├─ tableId: 1\n" + 1287 " │ └─ Table\n" + 1288 " │ ├─ name: E2I7U\n" + 1289 " │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 1290 " └─ TableAlias(pbmrx)\n" + 1291 " └─ IndexedTableAccess(E2I7U)\n" + 1292 " ├─ index: [E2I7U.ZH72S]\n" + 1293 " ├─ keys: [cl3dt.ZH72S:0]\n" + 1294 " ├─ colSet: (48-64)\n" + 1295 " ├─ tableId: 5\n" + 1296 " └─ Table\n" + 1297 " ├─ name: E2I7U\n" + 1298 " └─ columns: [id tw55n zh72s]\n" + 1299 "", 1300 ExpectedEstimates: "Project\n" + 1301 " ├─ columns: [pbmrx.id as id, pbmrx.TW55N as TEYBZ, pbmrx.ZH72S as FB6N7]\n" + 1302 " └─ LookupJoin (estimated cost=405.900 rows=124)\n" + 1303 " ├─ (NOT(pbmrx.ZH72S IS NULL))\n" + 1304 " ├─ SubqueryAlias\n" + 1305 " │ ├─ name: cl3dt\n" + 1306 " │ ├─ outerVisibility: false\n" + 1307 " │ ├─ isLateral: false\n" + 1308 " │ ├─ cacheable: true\n" + 1309 " │ └─ Filter\n" + 1310 " │ ├─ ((BADTB = 0) AND (FLHXH > 0))\n" + 1311 " │ └─ Project\n" + 1312 " │ ├─ columns: [wooj5.ZH72S as ZH72S, count(wooj5.zh72s) as JTOA7, min(wooj5.lea4j) as BADTB, sum(wooj5.lea4j) as FLHXH]\n" + 1313 " │ └─ Having((JTOA7 > 1))\n" + 1314 " │ └─ Project\n" + 1315 " │ ├─ columns: [count(wooj5.zh72s), min(wooj5.lea4j), sum(wooj5.lea4j), wooj5.ZH72S, wooj5.ZH72S as ZH72S, count(wooj5.zh72s) as JTOA7, min(wooj5.lea4j) as BADTB, sum(wooj5.lea4j) as FLHXH]\n" + 1316 " │ └─ GroupBy\n" + 1317 " │ ├─ SelectedExprs(COUNT(wooj5.ZH72S), MIN(wooj5.LEA4J), SUM(wooj5.LEA4J), wooj5.ZH72S)\n" + 1318 " │ ├─ Grouping(wooj5.ZH72S)\n" + 1319 " │ └─ SubqueryAlias\n" + 1320 " │ ├─ name: wooj5\n" + 1321 " │ ├─ outerVisibility: false\n" + 1322 " │ ├─ isLateral: false\n" + 1323 " │ ├─ cacheable: true\n" + 1324 " │ └─ Project\n" + 1325 " │ ├─ columns: [nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 1326 " │ │ ├─ cacheable: false\n" + 1327 " │ │ └─ Project\n" + 1328 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 1329 " │ │ └─ GroupBy\n" + 1330 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 1331 " │ │ ├─ Grouping()\n" + 1332 " │ │ └─ Filter\n" + 1333 " │ │ ├─ (flqlp.LUEVY = nd.id)\n" + 1334 " │ │ └─ IndexedTableAccess(FLQLP)\n" + 1335 " │ │ ├─ index: [FLQLP.LUEVY]\n" + 1336 " │ │ ├─ columns: [luevy]\n" + 1337 " │ │ └─ keys: nd.id\n" + 1338 " │ │ as LEA4J]\n" + 1339 " │ └─ Project\n" + 1340 " │ ├─ columns: [nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 1341 " │ │ ├─ cacheable: false\n" + 1342 " │ │ └─ Project\n" + 1343 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 1344 " │ │ └─ GroupBy\n" + 1345 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 1346 " │ │ ├─ Grouping()\n" + 1347 " │ │ └─ Filter\n" + 1348 " │ │ ├─ (flqlp.LUEVY = nd.id)\n" + 1349 " │ │ └─ IndexedTableAccess(FLQLP)\n" + 1350 " │ │ ├─ index: [FLQLP.LUEVY]\n" + 1351 " │ │ ├─ columns: [luevy]\n" + 1352 " │ │ └─ keys: nd.id\n" + 1353 " │ │ as LEA4J]\n" + 1354 " │ └─ TableAlias(nd)\n" + 1355 " │ └─ IndexedTableAccess(E2I7U)\n" + 1356 " │ ├─ index: [E2I7U.ZH72S]\n" + 1357 " │ └─ filters: [{(NULL, ∞)}]\n" + 1358 " └─ TableAlias(pbmrx)\n" + 1359 " └─ IndexedTableAccess(E2I7U)\n" + 1360 " ├─ index: [E2I7U.ZH72S]\n" + 1361 " ├─ columns: [id tw55n zh72s]\n" + 1362 " └─ keys: cl3dt.ZH72S\n" + 1363 "", 1364 ExpectedAnalysis: "Project\n" + 1365 " ├─ columns: [pbmrx.id as id, pbmrx.TW55N as TEYBZ, pbmrx.ZH72S as FB6N7]\n" + 1366 " └─ LookupJoin (estimated cost=405.900 rows=124) (actual rows=0 loops=1)\n" + 1367 " ├─ (NOT(pbmrx.ZH72S IS NULL))\n" + 1368 " ├─ SubqueryAlias\n" + 1369 " │ ├─ name: cl3dt\n" + 1370 " │ ├─ outerVisibility: false\n" + 1371 " │ ├─ isLateral: false\n" + 1372 " │ ├─ cacheable: true\n" + 1373 " │ └─ Filter\n" + 1374 " │ ├─ ((BADTB = 0) AND (FLHXH > 0))\n" + 1375 " │ └─ Project\n" + 1376 " │ ├─ columns: [wooj5.ZH72S as ZH72S, count(wooj5.zh72s) as JTOA7, min(wooj5.lea4j) as BADTB, sum(wooj5.lea4j) as FLHXH]\n" + 1377 " │ └─ Having((JTOA7 > 1))\n" + 1378 " │ └─ Project\n" + 1379 " │ ├─ columns: [count(wooj5.zh72s), min(wooj5.lea4j), sum(wooj5.lea4j), wooj5.ZH72S, wooj5.ZH72S as ZH72S, count(wooj5.zh72s) as JTOA7, min(wooj5.lea4j) as BADTB, sum(wooj5.lea4j) as FLHXH]\n" + 1380 " │ └─ GroupBy\n" + 1381 " │ ├─ SelectedExprs(COUNT(wooj5.ZH72S), MIN(wooj5.LEA4J), SUM(wooj5.LEA4J), wooj5.ZH72S)\n" + 1382 " │ ├─ Grouping(wooj5.ZH72S)\n" + 1383 " │ └─ SubqueryAlias\n" + 1384 " │ ├─ name: wooj5\n" + 1385 " │ ├─ outerVisibility: false\n" + 1386 " │ ├─ isLateral: false\n" + 1387 " │ ├─ cacheable: true\n" + 1388 " │ └─ Project\n" + 1389 " │ ├─ columns: [nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 1390 " │ │ ├─ cacheable: false\n" + 1391 " │ │ └─ Project\n" + 1392 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 1393 " │ │ └─ GroupBy\n" + 1394 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 1395 " │ │ ├─ Grouping()\n" + 1396 " │ │ └─ Filter\n" + 1397 " │ │ ├─ (flqlp.LUEVY = nd.id)\n" + 1398 " │ │ └─ IndexedTableAccess(FLQLP)\n" + 1399 " │ │ ├─ index: [FLQLP.LUEVY]\n" + 1400 " │ │ ├─ columns: [luevy]\n" + 1401 " │ │ └─ keys: nd.id\n" + 1402 " │ │ as LEA4J]\n" + 1403 " │ └─ Project\n" + 1404 " │ ├─ columns: [nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 1405 " │ │ ├─ cacheable: false\n" + 1406 " │ │ └─ Project\n" + 1407 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 1408 " │ │ └─ GroupBy\n" + 1409 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 1410 " │ │ ├─ Grouping()\n" + 1411 " │ │ └─ Filter\n" + 1412 " │ │ ├─ (flqlp.LUEVY = nd.id)\n" + 1413 " │ │ └─ IndexedTableAccess(FLQLP)\n" + 1414 " │ │ ├─ index: [FLQLP.LUEVY]\n" + 1415 " │ │ ├─ columns: [luevy]\n" + 1416 " │ │ └─ keys: nd.id\n" + 1417 " │ │ as LEA4J]\n" + 1418 " │ └─ TableAlias(nd)\n" + 1419 " │ └─ IndexedTableAccess(E2I7U)\n" + 1420 " │ ├─ index: [E2I7U.ZH72S]\n" + 1421 " │ └─ filters: [{(NULL, ∞)}]\n" + 1422 " └─ TableAlias(pbmrx)\n" + 1423 " └─ IndexedTableAccess(E2I7U)\n" + 1424 " ├─ index: [E2I7U.ZH72S]\n" + 1425 " ├─ columns: [id tw55n zh72s]\n" + 1426 " └─ keys: cl3dt.ZH72S\n" + 1427 "", 1428 }, 1429 { 1430 Query: ` 1431 SELECT 1432 ct.id AS id, 1433 ci.FTQLQ AS VCGT3, 1434 nd.TW55N AS UWBAI, 1435 aac.BTXC5 AS TPXBU, 1436 ct.V5DPX AS V5DPX, 1437 ct.S3Q3Y AS S3Q3Y, 1438 ct.ZRV3B AS ZRV3B 1439 FROM 1440 FLQLP ct 1441 INNER JOIN 1442 JDLNA ci 1443 ON 1444 ci.id = ct.FZ2R5 1445 INNER JOIN 1446 E2I7U nd 1447 ON 1448 nd.id = ct.LUEVY 1449 INNER JOIN 1450 TPXBU aac 1451 ON 1452 aac.id = ct.M22QN 1453 WHERE 1454 ( 1455 ct.OCA7E IS NOT NULL 1456 AND 1457 ( 1458 (SELECT I7HCR.SWCQV FROM EPZU6 I7HCR WHERE I7HCR.id = ct.OCA7E) = 1 1459 OR 1460 (SELECT nd.id FROM E2I7U nd WHERE nd.TW55N = 1461 (SELECT I7HCR.FVUCX FROM EPZU6 I7HCR 1462 WHERE I7HCR.id = ct.OCA7E)) 1463 <> ct.LUEVY 1464 ) 1465 ) 1466 OR 1467 ( 1468 ct.NRURT IS NOT NULL 1469 AND 1470 ct.NRURT IN 1471 ( 1472 SELECT 1473 uct.id AS FDL23 1474 FROM 1475 EPZU6 I7HCR 1476 INNER JOIN 1477 OUBDL uct 1478 ON 1479 uct.FTQLQ = I7HCR.TOFPN 1480 AND 1481 uct.ZH72S = I7HCR.SJYN2 1482 AND 1483 uct.LJLUM = I7HCR.BTXC5 1484 WHERE 1485 I7HCR.SWCQV = 0 1486 AND 1487 I7HCR.id NOT IN (SELECT OCA7E FROM FLQLP WHERE OCA7E IS NOT NULL) 1488 ) 1489 ) 1490 `, 1491 ExpectedPlan: "Project\n" + 1492 " ├─ columns: [ct.id:0!null as id, ci.FTQLQ:33!null as VCGT3, nd.TW55N:15!null as UWBAI, aac.BTXC5:30 as TPXBU, ct.V5DPX:8!null as V5DPX, ct.S3Q3Y:9!null as S3Q3Y, ct.ZRV3B:10!null as ZRV3B]\n" + 1493 " └─ Filter\n" + 1494 " ├─ Or\n" + 1495 " │ ├─ AND\n" + 1496 " │ │ ├─ NOT\n" + 1497 " │ │ │ └─ ct.OCA7E:6 IS NULL\n" + 1498 " │ │ └─ Or\n" + 1499 " │ │ ├─ Eq\n" + 1500 " │ │ │ ├─ Subquery\n" + 1501 " │ │ │ │ ├─ cacheable: false\n" + 1502 " │ │ │ │ ├─ alias-string: select I7HCR.SWCQV from EPZU6 as I7HCR where I7HCR.id = ct.OCA7E\n" + 1503 " │ │ │ │ └─ Project\n" + 1504 " │ │ │ │ ├─ columns: [i7hcr.SWCQV:38!null]\n" + 1505 " │ │ │ │ └─ Filter\n" + 1506 " │ │ │ │ ├─ Eq\n" + 1507 " │ │ │ │ │ ├─ i7hcr.id:37!null\n" + 1508 " │ │ │ │ │ └─ ct.OCA7E:6\n" + 1509 " │ │ │ │ └─ TableAlias(i7hcr)\n" + 1510 " │ │ │ │ └─ IndexedTableAccess(EPZU6)\n" + 1511 " │ │ │ │ ├─ index: [EPZU6.id]\n" + 1512 " │ │ │ │ ├─ keys: [ct.OCA7E:6]\n" + 1513 " │ │ │ │ ├─ colSet: (38-45)\n" + 1514 " │ │ │ │ ├─ tableId: 5\n" + 1515 " │ │ │ │ └─ Table\n" + 1516 " │ │ │ │ ├─ name: EPZU6\n" + 1517 " │ │ │ │ └─ columns: [id swcqv]\n" + 1518 " │ │ │ └─ 1 (tinyint)\n" + 1519 " │ │ └─ NOT\n" + 1520 " │ │ └─ Eq\n" + 1521 " │ │ ├─ Subquery\n" + 1522 " │ │ │ ├─ cacheable: false\n" + 1523 " │ │ │ ├─ alias-string: select nd.id from E2I7U as nd where nd.TW55N = (select I7HCR.FVUCX from EPZU6 as I7HCR where I7HCR.id = ct.OCA7E)\n" + 1524 " │ │ │ └─ Project\n" + 1525 " │ │ │ ├─ columns: [nd.id:37!null]\n" + 1526 " │ │ │ └─ Filter\n" + 1527 " │ │ │ ├─ Eq\n" + 1528 " │ │ │ │ ├─ nd.TW55N:40!null\n" + 1529 " │ │ │ │ └─ Subquery\n" + 1530 " │ │ │ │ ├─ cacheable: false\n" + 1531 " │ │ │ │ ├─ alias-string: select I7HCR.FVUCX from EPZU6 as I7HCR where I7HCR.id = ct.OCA7E\n" + 1532 " │ │ │ │ └─ Project\n" + 1533 " │ │ │ │ ├─ columns: [i7hcr.FVUCX:55!null]\n" + 1534 " │ │ │ │ └─ Filter\n" + 1535 " │ │ │ │ ├─ Eq\n" + 1536 " │ │ │ │ │ ├─ i7hcr.id:54!null\n" + 1537 " │ │ │ │ │ └─ ct.OCA7E:6\n" + 1538 " │ │ │ │ └─ TableAlias(i7hcr)\n" + 1539 " │ │ │ │ └─ IndexedTableAccess(EPZU6)\n" + 1540 " │ │ │ │ ├─ index: [EPZU6.id]\n" + 1541 " │ │ │ │ ├─ keys: [ct.OCA7E:6]\n" + 1542 " │ │ │ │ ├─ colSet: (63-70)\n" + 1543 " │ │ │ │ ├─ tableId: 7\n" + 1544 " │ │ │ │ └─ Table\n" + 1545 " │ │ │ │ ├─ name: EPZU6\n" + 1546 " │ │ │ │ └─ columns: [id fvucx]\n" + 1547 " │ │ │ └─ TableAlias(nd)\n" + 1548 " │ │ │ └─ Table\n" + 1549 " │ │ │ ├─ name: E2I7U\n" + 1550 " │ │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 1551 " │ │ │ ├─ colSet: (46-62)\n" + 1552 " │ │ │ └─ tableId: 6\n" + 1553 " │ │ └─ ct.LUEVY:2!null\n" + 1554 " │ └─ AND\n" + 1555 " │ ├─ NOT\n" + 1556 " │ │ └─ ct.NRURT:5 IS NULL\n" + 1557 " │ └─ InSubquery\n" + 1558 " │ ├─ left: ct.NRURT:5\n" + 1559 " │ └─ right: Subquery\n" + 1560 " │ ├─ cacheable: true\n" + 1561 " │ ├─ alias-string: select uct.id as FDL23 from EPZU6 as I7HCR join OUBDL as uct on uct.FTQLQ = I7HCR.TOFPN and uct.ZH72S = I7HCR.SJYN2 and uct.LJLUM = I7HCR.BTXC5 where I7HCR.SWCQV = 0 and I7HCR.id not in (select OCA7E from FLQLP where OCA7E is not null)\n" + 1562 " │ └─ Project\n" + 1563 " │ ├─ columns: [uct.id:45!null as FDL23]\n" + 1564 " │ └─ LookupJoin\n" + 1565 " │ ├─ AND\n" + 1566 " │ │ ├─ Eq\n" + 1567 " │ │ │ ├─ uct.ZH72S:47\n" + 1568 " │ │ │ └─ i7hcr.SJYN2:39!null\n" + 1569 " │ │ └─ Eq\n" + 1570 " │ │ ├─ uct.LJLUM:50\n" + 1571 " │ │ └─ i7hcr.BTXC5:40!null\n" + 1572 " │ ├─ Project\n" + 1573 " │ │ ├─ columns: [i7hcr.id:37!null, i7hcr.TOFPN:38!null, i7hcr.SJYN2:39!null, i7hcr.BTXC5:40!null, i7hcr.FVUCX:41!null, i7hcr.SWCQV:42!null, i7hcr.YKSSU:43, i7hcr.FHCYT:44]\n" + 1574 " │ │ └─ Filter\n" + 1575 " │ │ ├─ flqlp.OCA7E:45 IS NULL\n" + 1576 " │ │ └─ LeftOuterLookupJoin\n" + 1577 " │ │ ├─ Filter\n" + 1578 " │ │ │ ├─ Eq\n" + 1579 " │ │ │ │ ├─ i7hcr.SWCQV:42!null\n" + 1580 " │ │ │ │ └─ 0 (tinyint)\n" + 1581 " │ │ │ └─ TableAlias(i7hcr)\n" + 1582 " │ │ │ └─ Table\n" + 1583 " │ │ │ ├─ name: EPZU6\n" + 1584 " │ │ │ ├─ columns: [id tofpn sjyn2 btxc5 fvucx swcqv ykssu fhcyt]\n" + 1585 " │ │ │ ├─ colSet: (71-78)\n" + 1586 " │ │ │ └─ tableId: 8\n" + 1587 " │ │ └─ Filter\n" + 1588 " │ │ ├─ NOT\n" + 1589 " │ │ │ └─ flqlp.OCA7E:37 IS NULL\n" + 1590 " │ │ └─ IndexedTableAccess(FLQLP)\n" + 1591 " │ │ ├─ index: [FLQLP.OCA7E]\n" + 1592 " │ │ ├─ keys: [i7hcr.id:37!null]\n" + 1593 " │ │ ├─ colSet: (92-103)\n" + 1594 " │ │ ├─ tableId: 10\n" + 1595 " │ │ └─ Table\n" + 1596 " │ │ ├─ name: FLQLP\n" + 1597 " │ │ └─ columns: [oca7e]\n" + 1598 " │ └─ TableAlias(uct)\n" + 1599 " │ └─ IndexedTableAccess(OUBDL)\n" + 1600 " │ ├─ index: [OUBDL.FTQLQ]\n" + 1601 " │ ├─ keys: [i7hcr.TOFPN:38!null]\n" + 1602 " │ ├─ colSet: (79-91)\n" + 1603 " │ ├─ tableId: 9\n" + 1604 " │ └─ Table\n" + 1605 " │ ├─ name: OUBDL\n" + 1606 " │ └─ columns: [id ftqlq zh72s sfj6l v5dpx ljlum idpk7 no52d zrv3b vyo5e ykssu fhcyt qz6vt]\n" + 1607 " └─ HashJoin\n" + 1608 " ├─ Eq\n" + 1609 " │ ├─ ci.id:32!null\n" + 1610 " │ └─ ct.FZ2R5:1!null\n" + 1611 " ├─ LookupJoin\n" + 1612 " │ ├─ MergeJoin\n" + 1613 " │ │ ├─ cmp: Eq\n" + 1614 " │ │ │ ├─ ct.LUEVY:2!null\n" + 1615 " │ │ │ └─ nd.id:12!null\n" + 1616 " │ │ ├─ TableAlias(ct)\n" + 1617 " │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 1618 " │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 1619 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 1620 " │ │ │ ├─ colSet: (1-12)\n" + 1621 " │ │ │ ├─ tableId: 1\n" + 1622 " │ │ │ └─ Table\n" + 1623 " │ │ │ ├─ name: FLQLP\n" + 1624 " │ │ │ └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 1625 " │ │ └─ TableAlias(nd)\n" + 1626 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 1627 " │ │ ├─ index: [E2I7U.id]\n" + 1628 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 1629 " │ │ ├─ colSet: (18-34)\n" + 1630 " │ │ ├─ tableId: 3\n" + 1631 " │ │ └─ Table\n" + 1632 " │ │ ├─ name: E2I7U\n" + 1633 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 1634 " │ └─ TableAlias(aac)\n" + 1635 " │ └─ IndexedTableAccess(TPXBU)\n" + 1636 " │ ├─ index: [TPXBU.id]\n" + 1637 " │ ├─ keys: [ct.M22QN:3!null]\n" + 1638 " │ ├─ colSet: (35-37)\n" + 1639 " │ ├─ tableId: 4\n" + 1640 " │ └─ Table\n" + 1641 " │ ├─ name: TPXBU\n" + 1642 " │ └─ columns: [id btxc5 fhcyt]\n" + 1643 " └─ HashLookup\n" + 1644 " ├─ left-key: TUPLE(ct.FZ2R5:1!null)\n" + 1645 " ├─ right-key: TUPLE(ci.id:0!null)\n" + 1646 " └─ TableAlias(ci)\n" + 1647 " └─ ProcessTable\n" + 1648 " └─ Table\n" + 1649 " ├─ name: JDLNA\n" + 1650 " └─ columns: [id ftqlq fwwiq o3qxw fhcyt]\n" + 1651 "", 1652 ExpectedEstimates: "Project\n" + 1653 " ├─ columns: [ct.id as id, ci.FTQLQ as VCGT3, nd.TW55N as UWBAI, aac.BTXC5 as TPXBU, ct.V5DPX as V5DPX, ct.S3Q3Y as S3Q3Y, ct.ZRV3B as ZRV3B]\n" + 1654 " └─ Filter\n" + 1655 " ├─ (((NOT(ct.OCA7E IS NULL)) AND ((Subquery\n" + 1656 " │ ├─ cacheable: false\n" + 1657 " │ └─ Project\n" + 1658 " │ ├─ columns: [i7hcr.SWCQV]\n" + 1659 " │ └─ Filter\n" + 1660 " │ ├─ (i7hcr.id = ct.OCA7E)\n" + 1661 " │ └─ TableAlias(i7hcr)\n" + 1662 " │ └─ IndexedTableAccess(EPZU6)\n" + 1663 " │ ├─ index: [EPZU6.id]\n" + 1664 " │ ├─ columns: [id swcqv]\n" + 1665 " │ └─ keys: ct.OCA7E\n" + 1666 " │ = 1) OR (NOT((Subquery\n" + 1667 " │ ├─ cacheable: false\n" + 1668 " │ └─ Project\n" + 1669 " │ ├─ columns: [nd.id]\n" + 1670 " │ └─ Filter\n" + 1671 " │ ├─ (nd.TW55N = Subquery\n" + 1672 " │ │ ├─ cacheable: false\n" + 1673 " │ │ └─ Project\n" + 1674 " │ │ ├─ columns: [i7hcr.FVUCX]\n" + 1675 " │ │ └─ Filter\n" + 1676 " │ │ ├─ (i7hcr.id = ct.OCA7E)\n" + 1677 " │ │ └─ TableAlias(i7hcr)\n" + 1678 " │ │ └─ IndexedTableAccess(EPZU6)\n" + 1679 " │ │ ├─ index: [EPZU6.id]\n" + 1680 " │ │ ├─ columns: [id fvucx]\n" + 1681 " │ │ └─ keys: ct.OCA7E\n" + 1682 " │ │ )\n" + 1683 " │ └─ TableAlias(nd)\n" + 1684 " │ └─ Table\n" + 1685 " │ └─ name: E2I7U\n" + 1686 " │ = ct.LUEVY))))) OR ((NOT(ct.NRURT IS NULL)) AND InSubquery\n" + 1687 " │ ├─ left: ct.NRURT\n" + 1688 " │ └─ right: Subquery\n" + 1689 " │ ├─ cacheable: true\n" + 1690 " │ └─ Project\n" + 1691 " │ ├─ columns: [uct.id as FDL23]\n" + 1692 " │ └─ LookupJoin\n" + 1693 " │ ├─ ((uct.ZH72S = i7hcr.SJYN2) AND (uct.LJLUM = i7hcr.BTXC5))\n" + 1694 " │ ├─ Project\n" + 1695 " │ │ ├─ columns: [i7hcr.id, i7hcr.TOFPN, i7hcr.SJYN2, i7hcr.BTXC5, i7hcr.FVUCX, i7hcr.SWCQV, i7hcr.YKSSU, i7hcr.FHCYT]\n" + 1696 " │ │ └─ Filter\n" + 1697 " │ │ ├─ flqlp.OCA7E IS NULL\n" + 1698 " │ │ └─ LeftOuterLookupJoin\n" + 1699 " │ │ ├─ Filter\n" + 1700 " │ │ │ ├─ (i7hcr.SWCQV = 0)\n" + 1701 " │ │ │ └─ TableAlias(i7hcr)\n" + 1702 " │ │ │ └─ Table\n" + 1703 " │ │ │ └─ name: EPZU6\n" + 1704 " │ │ └─ Filter\n" + 1705 " │ │ ├─ (NOT(flqlp.OCA7E IS NULL))\n" + 1706 " │ │ └─ IndexedTableAccess(FLQLP)\n" + 1707 " │ │ ├─ index: [FLQLP.OCA7E]\n" + 1708 " │ │ ├─ columns: [oca7e]\n" + 1709 " │ │ └─ keys: i7hcr.id\n" + 1710 " │ └─ TableAlias(uct)\n" + 1711 " │ └─ IndexedTableAccess(OUBDL)\n" + 1712 " │ ├─ index: [OUBDL.FTQLQ]\n" + 1713 " │ └─ keys: i7hcr.TOFPN\n" + 1714 " │ ))\n" + 1715 " └─ HashJoin (estimated cost=16273.620 rows=14781)\n" + 1716 " ├─ (ci.id = ct.FZ2R5)\n" + 1717 " ├─ LookupJoin (estimated cost=48777.300 rows=14781)\n" + 1718 " │ ├─ MergeJoin (estimated cost=18957.040 rows=14781)\n" + 1719 " │ │ ├─ cmp: (ct.LUEVY = nd.id)\n" + 1720 " │ │ ├─ TableAlias(ct)\n" + 1721 " │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 1722 " │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 1723 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 1724 " │ │ └─ TableAlias(nd)\n" + 1725 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 1726 " │ │ ├─ index: [E2I7U.id]\n" + 1727 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 1728 " │ └─ TableAlias(aac)\n" + 1729 " │ └─ IndexedTableAccess(TPXBU)\n" + 1730 " │ ├─ index: [TPXBU.id]\n" + 1731 " │ └─ keys: ct.M22QN\n" + 1732 " └─ HashLookup\n" + 1733 " ├─ left-key: (ct.FZ2R5)\n" + 1734 " ├─ right-key: (ci.id)\n" + 1735 " └─ TableAlias(ci)\n" + 1736 " └─ Table\n" + 1737 " └─ name: JDLNA\n" + 1738 "", 1739 ExpectedAnalysis: "Project\n" + 1740 " ├─ columns: [ct.id as id, ci.FTQLQ as VCGT3, nd.TW55N as UWBAI, aac.BTXC5 as TPXBU, ct.V5DPX as V5DPX, ct.S3Q3Y as S3Q3Y, ct.ZRV3B as ZRV3B]\n" + 1741 " └─ Filter\n" + 1742 " ├─ (((NOT(ct.OCA7E IS NULL)) AND ((Subquery\n" + 1743 " │ ├─ cacheable: false\n" + 1744 " │ └─ Project\n" + 1745 " │ ├─ columns: [i7hcr.SWCQV]\n" + 1746 " │ └─ Filter\n" + 1747 " │ ├─ (i7hcr.id = ct.OCA7E)\n" + 1748 " │ └─ TableAlias(i7hcr)\n" + 1749 " │ └─ IndexedTableAccess(EPZU6)\n" + 1750 " │ ├─ index: [EPZU6.id]\n" + 1751 " │ ├─ columns: [id swcqv]\n" + 1752 " │ └─ keys: ct.OCA7E\n" + 1753 " │ = 1) OR (NOT((Subquery\n" + 1754 " │ ├─ cacheable: false\n" + 1755 " │ └─ Project\n" + 1756 " │ ├─ columns: [nd.id]\n" + 1757 " │ └─ Filter\n" + 1758 " │ ├─ (nd.TW55N = Subquery\n" + 1759 " │ │ ├─ cacheable: false\n" + 1760 " │ │ └─ Project\n" + 1761 " │ │ ├─ columns: [i7hcr.FVUCX]\n" + 1762 " │ │ └─ Filter\n" + 1763 " │ │ ├─ (i7hcr.id = ct.OCA7E)\n" + 1764 " │ │ └─ TableAlias(i7hcr)\n" + 1765 " │ │ └─ IndexedTableAccess(EPZU6)\n" + 1766 " │ │ ├─ index: [EPZU6.id]\n" + 1767 " │ │ ├─ columns: [id fvucx]\n" + 1768 " │ │ └─ keys: ct.OCA7E\n" + 1769 " │ │ )\n" + 1770 " │ └─ TableAlias(nd)\n" + 1771 " │ └─ Table\n" + 1772 " │ └─ name: E2I7U\n" + 1773 " │ = ct.LUEVY))))) OR ((NOT(ct.NRURT IS NULL)) AND InSubquery\n" + 1774 " │ ├─ left: ct.NRURT\n" + 1775 " │ └─ right: Subquery\n" + 1776 " │ ├─ cacheable: true\n" + 1777 " │ └─ Project\n" + 1778 " │ ├─ columns: [uct.id as FDL23]\n" + 1779 " │ └─ LookupJoin\n" + 1780 " │ ├─ ((uct.ZH72S = i7hcr.SJYN2) AND (uct.LJLUM = i7hcr.BTXC5))\n" + 1781 " │ ├─ Project\n" + 1782 " │ │ ├─ columns: [i7hcr.id, i7hcr.TOFPN, i7hcr.SJYN2, i7hcr.BTXC5, i7hcr.FVUCX, i7hcr.SWCQV, i7hcr.YKSSU, i7hcr.FHCYT]\n" + 1783 " │ │ └─ Filter\n" + 1784 " │ │ ├─ flqlp.OCA7E IS NULL\n" + 1785 " │ │ └─ LeftOuterLookupJoin\n" + 1786 " │ │ ├─ Filter\n" + 1787 " │ │ │ ├─ (i7hcr.SWCQV = 0)\n" + 1788 " │ │ │ └─ TableAlias(i7hcr)\n" + 1789 " │ │ │ └─ Table\n" + 1790 " │ │ │ └─ name: EPZU6\n" + 1791 " │ │ └─ Filter\n" + 1792 " │ │ ├─ (NOT(flqlp.OCA7E IS NULL))\n" + 1793 " │ │ └─ IndexedTableAccess(FLQLP)\n" + 1794 " │ │ ├─ index: [FLQLP.OCA7E]\n" + 1795 " │ │ ├─ columns: [oca7e]\n" + 1796 " │ │ └─ keys: i7hcr.id\n" + 1797 " │ └─ TableAlias(uct)\n" + 1798 " │ └─ IndexedTableAccess(OUBDL)\n" + 1799 " │ ├─ index: [OUBDL.FTQLQ]\n" + 1800 " │ └─ keys: i7hcr.TOFPN\n" + 1801 " │ ))\n" + 1802 " └─ HashJoin (estimated cost=16273.620 rows=14781) (actual rows=0 loops=1)\n" + 1803 " ├─ (ci.id = ct.FZ2R5)\n" + 1804 " ├─ LookupJoin (estimated cost=48777.300 rows=14781) (actual rows=0 loops=1)\n" + 1805 " │ ├─ MergeJoin (estimated cost=18957.040 rows=14781) (actual rows=0 loops=1)\n" + 1806 " │ │ ├─ cmp: (ct.LUEVY = nd.id)\n" + 1807 " │ │ ├─ TableAlias(ct)\n" + 1808 " │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 1809 " │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 1810 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 1811 " │ │ └─ TableAlias(nd)\n" + 1812 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 1813 " │ │ ├─ index: [E2I7U.id]\n" + 1814 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 1815 " │ └─ TableAlias(aac)\n" + 1816 " │ └─ IndexedTableAccess(TPXBU)\n" + 1817 " │ ├─ index: [TPXBU.id]\n" + 1818 " │ └─ keys: ct.M22QN\n" + 1819 " └─ HashLookup\n" + 1820 " ├─ left-key: (ct.FZ2R5)\n" + 1821 " ├─ right-key: (ci.id)\n" + 1822 " └─ TableAlias(ci)\n" + 1823 " └─ Table\n" + 1824 " └─ name: JDLNA\n" + 1825 "", 1826 }, 1827 { 1828 Query: ` 1829 SELECT 1830 uct.* 1831 FROM 1832 ( 1833 SELECT DISTINCT 1834 YLKSY.id AS FDL23 1835 FROM 1836 OUBDL YLKSY 1837 INNER JOIN 1838 JDLNA ci 1839 ON 1840 ci.FTQLQ = YLKSY.FTQLQ 1841 INNER JOIN 1842 E2I7U nd 1843 ON 1844 nd.ZH72S = YLKSY.ZH72S 1845 INNER JOIN 1846 TPXBU aac 1847 ON 1848 aac.BTXC5 = YLKSY.LJLUM 1849 WHERE 1850 YLKSY.LJLUM NOT LIKE '%|%' 1851 AND 1852 YLKSY.id NOT IN (SELECT NRURT FROM FLQLP WHERE NRURT IS NOT NULL) 1853 ) FZWBD 1854 INNER JOIN 1855 OUBDL uct 1856 ON 1857 uct.id = FZWBD.FDL23 1858 `, 1859 ExpectedPlan: "Project\n" + 1860 " ├─ columns: [uct.id:1!null, uct.FTQLQ:2, uct.ZH72S:3, uct.SFJ6L:4, uct.V5DPX:5, uct.LJLUM:6, uct.IDPK7:7, uct.NO52D:8, uct.ZRV3B:9, uct.VYO5E:10, uct.YKSSU:11, uct.FHCYT:12, uct.QZ6VT:13]\n" + 1861 " └─ LookupJoin\n" + 1862 " ├─ SubqueryAlias\n" + 1863 " │ ├─ name: fzwbd\n" + 1864 " │ ├─ outerVisibility: false\n" + 1865 " │ ├─ isLateral: false\n" + 1866 " │ ├─ cacheable: true\n" + 1867 " │ ├─ colSet: (52)\n" + 1868 " │ ├─ tableId: 6\n" + 1869 " │ └─ Distinct\n" + 1870 " │ └─ Project\n" + 1871 " │ ├─ columns: [ylksy.id:0!null as FDL23]\n" + 1872 " │ └─ HashJoin\n" + 1873 " │ ├─ Eq\n" + 1874 " │ │ ├─ ci.FTQLQ:34!null\n" + 1875 " │ │ └─ ylksy.FTQLQ:1\n" + 1876 " │ ├─ LookupJoin\n" + 1877 " │ │ ├─ Project\n" + 1878 " │ │ │ ├─ columns: [ylksy.id:17!null, ylksy.FTQLQ:18, ylksy.ZH72S:19, ylksy.SFJ6L:20, ylksy.V5DPX:21, ylksy.LJLUM:22, ylksy.IDPK7:23, ylksy.NO52D:24, ylksy.ZRV3B:25, ylksy.VYO5E:26, ylksy.YKSSU:27, ylksy.FHCYT:28, ylksy.QZ6VT:29, nd.id:0!null, nd.DKCAJ:1!null, nd.KNG7T:2, nd.TW55N:3!null, nd.QRQXW:4!null, nd.ECXAJ:5!null, nd.FGG57:6, nd.ZH72S:7, nd.FSK67:8!null, nd.XQDYT:9!null, nd.TCE7A:10, nd.IWV2H:11, nd.HPCMS:12!null, nd.N5CC2:13, nd.FHCYT:14, nd.ETAQ7:15, nd.A75X7:16]\n" + 1879 " │ │ │ └─ Filter\n" + 1880 " │ │ │ ├─ flqlp.NRURT:30 IS NULL\n" + 1881 " │ │ │ └─ LeftOuterLookupJoin\n" + 1882 " │ │ │ ├─ LookupJoin\n" + 1883 " │ │ │ │ ├─ TableAlias(nd)\n" + 1884 " │ │ │ │ │ └─ Table\n" + 1885 " │ │ │ │ │ ├─ name: E2I7U\n" + 1886 " │ │ │ │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 1887 " │ │ │ │ │ ├─ colSet: (19-35)\n" + 1888 " │ │ │ │ │ └─ tableId: 3\n" + 1889 " │ │ │ │ └─ Filter\n" + 1890 " │ │ │ │ ├─ NOT\n" + 1891 " │ │ │ │ │ └─ ylksy.LJLUM LIKE '%|%'\n" + 1892 " │ │ │ │ └─ TableAlias(ylksy)\n" + 1893 " │ │ │ │ └─ IndexedTableAccess(OUBDL)\n" + 1894 " │ │ │ │ ├─ index: [OUBDL.ZH72S]\n" + 1895 " │ │ │ │ ├─ keys: [nd.ZH72S:7]\n" + 1896 " │ │ │ │ ├─ colSet: (1-13)\n" + 1897 " │ │ │ │ ├─ tableId: 1\n" + 1898 " │ │ │ │ └─ Table\n" + 1899 " │ │ │ │ ├─ name: OUBDL\n" + 1900 " │ │ │ │ └─ columns: [id ftqlq zh72s sfj6l v5dpx ljlum idpk7 no52d zrv3b vyo5e ykssu fhcyt qz6vt]\n" + 1901 " │ │ │ └─ Project\n" + 1902 " │ │ │ ├─ columns: [flqlp.NRURT:5]\n" + 1903 " │ │ │ └─ Filter\n" + 1904 " │ │ │ ├─ NOT\n" + 1905 " │ │ │ │ └─ flqlp.NRURT:5 IS NULL\n" + 1906 " │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 1907 " │ │ │ ├─ index: [FLQLP.NRURT]\n" + 1908 " │ │ │ ├─ keys: [ylksy.id:17!null]\n" + 1909 " │ │ │ ├─ colSet: (39-50)\n" + 1910 " │ │ │ ├─ tableId: 5\n" + 1911 " │ │ │ └─ Table\n" + 1912 " │ │ │ ├─ name: FLQLP\n" + 1913 " │ │ │ └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 1914 " │ │ └─ TableAlias(aac)\n" + 1915 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 1916 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 1917 " │ │ ├─ keys: [ylksy.LJLUM:5]\n" + 1918 " │ │ ├─ colSet: (36-38)\n" + 1919 " │ │ ├─ tableId: 4\n" + 1920 " │ │ └─ Table\n" + 1921 " │ │ ├─ name: TPXBU\n" + 1922 " │ │ └─ columns: [id btxc5 fhcyt]\n" + 1923 " │ └─ HashLookup\n" + 1924 " │ ├─ left-key: TUPLE(ylksy.FTQLQ:1)\n" + 1925 " │ ├─ right-key: TUPLE(ci.FTQLQ:1!null)\n" + 1926 " │ └─ TableAlias(ci)\n" + 1927 " │ └─ Table\n" + 1928 " │ ├─ name: JDLNA\n" + 1929 " │ ├─ columns: [id ftqlq fwwiq o3qxw fhcyt]\n" + 1930 " │ ├─ colSet: (14-18)\n" + 1931 " │ └─ tableId: 2\n" + 1932 " └─ TableAlias(uct)\n" + 1933 " └─ IndexedTableAccess(OUBDL)\n" + 1934 " ├─ index: [OUBDL.id]\n" + 1935 " ├─ keys: [fzwbd.FDL23:0!null]\n" + 1936 " ├─ colSet: (53-65)\n" + 1937 " ├─ tableId: 7\n" + 1938 " └─ Table\n" + 1939 " ├─ name: OUBDL\n" + 1940 " └─ columns: [id ftqlq zh72s sfj6l v5dpx ljlum idpk7 no52d zrv3b vyo5e ykssu fhcyt qz6vt]\n" + 1941 "", 1942 ExpectedEstimates: "Project\n" + 1943 " ├─ columns: [uct.id, uct.FTQLQ, uct.ZH72S, uct.SFJ6L, uct.V5DPX, uct.LJLUM, uct.IDPK7, uct.NO52D, uct.ZRV3B, uct.VYO5E, uct.YKSSU, uct.FHCYT, uct.QZ6VT]\n" + 1944 " └─ LookupJoin (estimated cost=330.000 rows=100)\n" + 1945 " ├─ SubqueryAlias\n" + 1946 " │ ├─ name: fzwbd\n" + 1947 " │ ├─ outerVisibility: false\n" + 1948 " │ ├─ isLateral: false\n" + 1949 " │ ├─ cacheable: true\n" + 1950 " │ └─ Distinct\n" + 1951 " │ └─ Project\n" + 1952 " │ ├─ columns: [ylksy.id as FDL23]\n" + 1953 " │ └─ HashJoin\n" + 1954 " │ ├─ (ci.FTQLQ = ylksy.FTQLQ)\n" + 1955 " │ ├─ LookupJoin\n" + 1956 " │ │ ├─ Project\n" + 1957 " │ │ │ ├─ columns: [ylksy.id, ylksy.FTQLQ, ylksy.ZH72S, ylksy.SFJ6L, ylksy.V5DPX, ylksy.LJLUM, ylksy.IDPK7, ylksy.NO52D, ylksy.ZRV3B, ylksy.VYO5E, ylksy.YKSSU, ylksy.FHCYT, ylksy.QZ6VT, nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7]\n" + 1958 " │ │ │ └─ Filter\n" + 1959 " │ │ │ ├─ flqlp.NRURT IS NULL\n" + 1960 " │ │ │ └─ LeftOuterLookupJoin\n" + 1961 " │ │ │ ├─ LookupJoin\n" + 1962 " │ │ │ │ ├─ TableAlias(nd)\n" + 1963 " │ │ │ │ │ └─ Table\n" + 1964 " │ │ │ │ │ └─ name: E2I7U\n" + 1965 " │ │ │ │ └─ Filter\n" + 1966 " │ │ │ │ ├─ (NOT(ylksy.LJLUM LIKE '%|%'))\n" + 1967 " │ │ │ │ └─ TableAlias(ylksy)\n" + 1968 " │ │ │ │ └─ IndexedTableAccess(OUBDL)\n" + 1969 " │ │ │ │ ├─ index: [OUBDL.ZH72S]\n" + 1970 " │ │ │ │ └─ keys: nd.ZH72S\n" + 1971 " │ │ │ └─ Project\n" + 1972 " │ │ │ ├─ columns: [flqlp.NRURT]\n" + 1973 " │ │ │ └─ Filter\n" + 1974 " │ │ │ ├─ (NOT(flqlp.NRURT IS NULL))\n" + 1975 " │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 1976 " │ │ │ ├─ index: [FLQLP.NRURT]\n" + 1977 " │ │ │ └─ keys: ylksy.id\n" + 1978 " │ │ └─ TableAlias(aac)\n" + 1979 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 1980 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 1981 " │ │ └─ keys: ylksy.LJLUM\n" + 1982 " │ └─ HashLookup\n" + 1983 " │ ├─ left-key: (ylksy.FTQLQ)\n" + 1984 " │ ├─ right-key: (ci.FTQLQ)\n" + 1985 " │ └─ TableAlias(ci)\n" + 1986 " │ └─ Table\n" + 1987 " │ └─ name: JDLNA\n" + 1988 " └─ TableAlias(uct)\n" + 1989 " └─ IndexedTableAccess(OUBDL)\n" + 1990 " ├─ index: [OUBDL.id]\n" + 1991 " ├─ columns: [id ftqlq zh72s sfj6l v5dpx ljlum idpk7 no52d zrv3b vyo5e ykssu fhcyt qz6vt]\n" + 1992 " └─ keys: fzwbd.FDL23\n" + 1993 "", 1994 ExpectedAnalysis: "Project\n" + 1995 " ├─ columns: [uct.id, uct.FTQLQ, uct.ZH72S, uct.SFJ6L, uct.V5DPX, uct.LJLUM, uct.IDPK7, uct.NO52D, uct.ZRV3B, uct.VYO5E, uct.YKSSU, uct.FHCYT, uct.QZ6VT]\n" + 1996 " └─ LookupJoin (estimated cost=330.000 rows=100) (actual rows=0 loops=1)\n" + 1997 " ├─ SubqueryAlias\n" + 1998 " │ ├─ name: fzwbd\n" + 1999 " │ ├─ outerVisibility: false\n" + 2000 " │ ├─ isLateral: false\n" + 2001 " │ ├─ cacheable: true\n" + 2002 " │ └─ Distinct\n" + 2003 " │ └─ Project\n" + 2004 " │ ├─ columns: [ylksy.id as FDL23]\n" + 2005 " │ └─ HashJoin\n" + 2006 " │ ├─ (ci.FTQLQ = ylksy.FTQLQ)\n" + 2007 " │ ├─ LookupJoin\n" + 2008 " │ │ ├─ Project\n" + 2009 " │ │ │ ├─ columns: [ylksy.id, ylksy.FTQLQ, ylksy.ZH72S, ylksy.SFJ6L, ylksy.V5DPX, ylksy.LJLUM, ylksy.IDPK7, ylksy.NO52D, ylksy.ZRV3B, ylksy.VYO5E, ylksy.YKSSU, ylksy.FHCYT, ylksy.QZ6VT, nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7]\n" + 2010 " │ │ │ └─ Filter\n" + 2011 " │ │ │ ├─ flqlp.NRURT IS NULL\n" + 2012 " │ │ │ └─ LeftOuterLookupJoin\n" + 2013 " │ │ │ ├─ LookupJoin\n" + 2014 " │ │ │ │ ├─ TableAlias(nd)\n" + 2015 " │ │ │ │ │ └─ Table\n" + 2016 " │ │ │ │ │ └─ name: E2I7U\n" + 2017 " │ │ │ │ └─ Filter\n" + 2018 " │ │ │ │ ├─ (NOT(ylksy.LJLUM LIKE '%|%'))\n" + 2019 " │ │ │ │ └─ TableAlias(ylksy)\n" + 2020 " │ │ │ │ └─ IndexedTableAccess(OUBDL)\n" + 2021 " │ │ │ │ ├─ index: [OUBDL.ZH72S]\n" + 2022 " │ │ │ │ └─ keys: nd.ZH72S\n" + 2023 " │ │ │ └─ Project\n" + 2024 " │ │ │ ├─ columns: [flqlp.NRURT]\n" + 2025 " │ │ │ └─ Filter\n" + 2026 " │ │ │ ├─ (NOT(flqlp.NRURT IS NULL))\n" + 2027 " │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 2028 " │ │ │ ├─ index: [FLQLP.NRURT]\n" + 2029 " │ │ │ └─ keys: ylksy.id\n" + 2030 " │ │ └─ TableAlias(aac)\n" + 2031 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 2032 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 2033 " │ │ └─ keys: ylksy.LJLUM\n" + 2034 " │ └─ HashLookup\n" + 2035 " │ ├─ left-key: (ylksy.FTQLQ)\n" + 2036 " │ ├─ right-key: (ci.FTQLQ)\n" + 2037 " │ └─ TableAlias(ci)\n" + 2038 " │ └─ Table\n" + 2039 " │ └─ name: JDLNA\n" + 2040 " └─ TableAlias(uct)\n" + 2041 " └─ IndexedTableAccess(OUBDL)\n" + 2042 " ├─ index: [OUBDL.id]\n" + 2043 " ├─ columns: [id ftqlq zh72s sfj6l v5dpx ljlum idpk7 no52d zrv3b vyo5e ykssu fhcyt qz6vt]\n" + 2044 " └─ keys: fzwbd.FDL23\n" + 2045 "", 2046 }, 2047 { 2048 Query: ` 2049 SELECT 2050 ct.id AS id, 2051 ci.FTQLQ AS VCGT3, 2052 nd.TW55N AS UWBAI, 2053 aac.BTXC5 AS TPXBU, 2054 ct.V5DPX AS V5DPX, 2055 ct.S3Q3Y AS S3Q3Y, 2056 ct.ZRV3B AS ZRV3B 2057 FROM 2058 FLQLP ct 2059 INNER JOIN 2060 HU5A5 TVTJS 2061 ON 2062 TVTJS.id = ct.XMM6Q 2063 INNER JOIN 2064 JDLNA ci 2065 ON 2066 ci.id = ct.FZ2R5 2067 INNER JOIN 2068 E2I7U nd 2069 ON 2070 nd.id = ct.LUEVY 2071 INNER JOIN 2072 TPXBU aac 2073 ON 2074 aac.id = ct.M22QN 2075 WHERE 2076 TVTJS.SWCQV = 1 2077 `, 2078 ExpectedPlan: "Project\n" + 2079 " ├─ columns: [ct.id:0!null as id, ci.FTQLQ:13!null as VCGT3, nd.TW55N:9!null as UWBAI, aac.BTXC5:11 as TPXBU, ct.V5DPX:5!null as V5DPX, ct.S3Q3Y:6!null as S3Q3Y, ct.ZRV3B:7!null as ZRV3B]\n" + 2080 " └─ HashJoin\n" + 2081 " ├─ Eq\n" + 2082 " │ ├─ tvtjs.id:14!null\n" + 2083 " │ └─ ct.XMM6Q:4\n" + 2084 " ├─ HashJoin\n" + 2085 " │ ├─ Eq\n" + 2086 " │ │ ├─ ci.id:12!null\n" + 2087 " │ │ └─ ct.FZ2R5:1!null\n" + 2088 " │ ├─ LookupJoin\n" + 2089 " │ │ ├─ MergeJoin\n" + 2090 " │ │ │ ├─ cmp: Eq\n" + 2091 " │ │ │ │ ├─ ct.LUEVY:2!null\n" + 2092 " │ │ │ │ └─ nd.id:8!null\n" + 2093 " │ │ │ ├─ TableAlias(ct)\n" + 2094 " │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 2095 " │ │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 2096 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 2097 " │ │ │ │ ├─ colSet: (1-12)\n" + 2098 " │ │ │ │ ├─ tableId: 1\n" + 2099 " │ │ │ │ └─ Table\n" + 2100 " │ │ │ │ ├─ name: FLQLP\n" + 2101 " │ │ │ │ └─ columns: [id fz2r5 luevy m22qn xmm6q v5dpx s3q3y zrv3b]\n" + 2102 " │ │ │ └─ TableAlias(nd)\n" + 2103 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 2104 " │ │ │ ├─ index: [E2I7U.id]\n" + 2105 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 2106 " │ │ │ ├─ colSet: (31-47)\n" + 2107 " │ │ │ ├─ tableId: 4\n" + 2108 " │ │ │ └─ Table\n" + 2109 " │ │ │ ├─ name: E2I7U\n" + 2110 " │ │ │ └─ columns: [id tw55n]\n" + 2111 " │ │ └─ TableAlias(aac)\n" + 2112 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 2113 " │ │ ├─ index: [TPXBU.id]\n" + 2114 " │ │ ├─ keys: [ct.M22QN:3!null]\n" + 2115 " │ │ ├─ colSet: (48-50)\n" + 2116 " │ │ ├─ tableId: 5\n" + 2117 " │ │ └─ Table\n" + 2118 " │ │ ├─ name: TPXBU\n" + 2119 " │ │ └─ columns: [id btxc5]\n" + 2120 " │ └─ HashLookup\n" + 2121 " │ ├─ left-key: TUPLE(ct.FZ2R5:1!null)\n" + 2122 " │ ├─ right-key: TUPLE(ci.id:0!null)\n" + 2123 " │ └─ TableAlias(ci)\n" + 2124 " │ └─ ProcessTable\n" + 2125 " │ └─ Table\n" + 2126 " │ ├─ name: JDLNA\n" + 2127 " │ └─ columns: [id ftqlq]\n" + 2128 " └─ HashLookup\n" + 2129 " ├─ left-key: TUPLE(ct.XMM6Q:4)\n" + 2130 " ├─ right-key: TUPLE(tvtjs.id:0!null)\n" + 2131 " └─ Filter\n" + 2132 " ├─ Eq\n" + 2133 " │ ├─ tvtjs.SWCQV:1!null\n" + 2134 " │ └─ 1 (tinyint)\n" + 2135 " └─ TableAlias(tvtjs)\n" + 2136 " └─ ProcessTable\n" + 2137 " └─ Table\n" + 2138 " ├─ name: HU5A5\n" + 2139 " └─ columns: [id swcqv]\n" + 2140 "", 2141 ExpectedEstimates: "Project\n" + 2142 " ├─ columns: [ct.id as id, ci.FTQLQ as VCGT3, nd.TW55N as UWBAI, aac.BTXC5 as TPXBU, ct.V5DPX as V5DPX, ct.S3Q3Y as S3Q3Y, ct.ZRV3B as ZRV3B]\n" + 2143 " └─ HashJoin (estimated cost=15151.620 rows=14781)\n" + 2144 " ├─ (tvtjs.id = ct.XMM6Q)\n" + 2145 " ├─ HashJoin (estimated cost=16273.620 rows=14781)\n" + 2146 " │ ├─ (ci.id = ct.FZ2R5)\n" + 2147 " │ ├─ LookupJoin (estimated cost=48777.300 rows=14781)\n" + 2148 " │ │ ├─ MergeJoin (estimated cost=18957.040 rows=14781)\n" + 2149 " │ │ │ ├─ cmp: (ct.LUEVY = nd.id)\n" + 2150 " │ │ │ ├─ TableAlias(ct)\n" + 2151 " │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 2152 " │ │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 2153 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2154 " │ │ │ │ └─ columns: [id fz2r5 luevy m22qn xmm6q v5dpx s3q3y zrv3b]\n" + 2155 " │ │ │ └─ TableAlias(nd)\n" + 2156 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 2157 " │ │ │ ├─ index: [E2I7U.id]\n" + 2158 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2159 " │ │ │ └─ columns: [id tw55n]\n" + 2160 " │ │ └─ TableAlias(aac)\n" + 2161 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 2162 " │ │ ├─ index: [TPXBU.id]\n" + 2163 " │ │ ├─ columns: [id btxc5]\n" + 2164 " │ │ └─ keys: ct.M22QN\n" + 2165 " │ └─ HashLookup\n" + 2166 " │ ├─ left-key: (ct.FZ2R5)\n" + 2167 " │ ├─ right-key: (ci.id)\n" + 2168 " │ └─ TableAlias(ci)\n" + 2169 " │ └─ Table\n" + 2170 " │ ├─ name: JDLNA\n" + 2171 " │ └─ columns: [id ftqlq]\n" + 2172 " └─ HashLookup\n" + 2173 " ├─ left-key: (ct.XMM6Q)\n" + 2174 " ├─ right-key: (tvtjs.id)\n" + 2175 " └─ Filter\n" + 2176 " ├─ (tvtjs.SWCQV = 1)\n" + 2177 " └─ TableAlias(tvtjs)\n" + 2178 " └─ Table\n" + 2179 " ├─ name: HU5A5\n" + 2180 " └─ columns: [id swcqv]\n" + 2181 "", 2182 ExpectedAnalysis: "Project\n" + 2183 " ├─ columns: [ct.id as id, ci.FTQLQ as VCGT3, nd.TW55N as UWBAI, aac.BTXC5 as TPXBU, ct.V5DPX as V5DPX, ct.S3Q3Y as S3Q3Y, ct.ZRV3B as ZRV3B]\n" + 2184 " └─ HashJoin (estimated cost=15151.620 rows=14781) (actual rows=0 loops=1)\n" + 2185 " ├─ (tvtjs.id = ct.XMM6Q)\n" + 2186 " ├─ HashJoin (estimated cost=16273.620 rows=14781) (actual rows=0 loops=1)\n" + 2187 " │ ├─ (ci.id = ct.FZ2R5)\n" + 2188 " │ ├─ LookupJoin (estimated cost=48777.300 rows=14781) (actual rows=0 loops=1)\n" + 2189 " │ │ ├─ MergeJoin (estimated cost=18957.040 rows=14781) (actual rows=0 loops=1)\n" + 2190 " │ │ │ ├─ cmp: (ct.LUEVY = nd.id)\n" + 2191 " │ │ │ ├─ TableAlias(ct)\n" + 2192 " │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 2193 " │ │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 2194 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2195 " │ │ │ │ └─ columns: [id fz2r5 luevy m22qn xmm6q v5dpx s3q3y zrv3b]\n" + 2196 " │ │ │ └─ TableAlias(nd)\n" + 2197 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 2198 " │ │ │ ├─ index: [E2I7U.id]\n" + 2199 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2200 " │ │ │ └─ columns: [id tw55n]\n" + 2201 " │ │ └─ TableAlias(aac)\n" + 2202 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 2203 " │ │ ├─ index: [TPXBU.id]\n" + 2204 " │ │ ├─ columns: [id btxc5]\n" + 2205 " │ │ └─ keys: ct.M22QN\n" + 2206 " │ └─ HashLookup\n" + 2207 " │ ├─ left-key: (ct.FZ2R5)\n" + 2208 " │ ├─ right-key: (ci.id)\n" + 2209 " │ └─ TableAlias(ci)\n" + 2210 " │ └─ Table\n" + 2211 " │ ├─ name: JDLNA\n" + 2212 " │ └─ columns: [id ftqlq]\n" + 2213 " └─ HashLookup\n" + 2214 " ├─ left-key: (ct.XMM6Q)\n" + 2215 " ├─ right-key: (tvtjs.id)\n" + 2216 " └─ Filter\n" + 2217 " ├─ (tvtjs.SWCQV = 1)\n" + 2218 " └─ TableAlias(tvtjs)\n" + 2219 " └─ Table\n" + 2220 " ├─ name: HU5A5\n" + 2221 " └─ columns: [id swcqv]\n" + 2222 "", 2223 }, 2224 { 2225 Query: ` 2226 SELECT 2227 * 2228 FROM 2229 HU5A5 2230 WHERE 2231 id NOT IN 2232 ( 2233 SELECT 2234 XMM6Q 2235 FROM 2236 FLQLP 2237 WHERE XMM6Q IS NOT NULL 2238 ) 2239 AND 2240 SWCQV = 0 2241 `, 2242 ExpectedPlan: "Project\n" + 2243 " ├─ columns: [HU5A5.id:0!null, HU5A5.TOFPN:1!null, HU5A5.I3VTA:2!null, HU5A5.SFJ6L:3, HU5A5.V5DPX:4!null, HU5A5.LJLUM:5!null, HU5A5.IDPK7:6!null, HU5A5.NO52D:7!null, HU5A5.ZRV3B:8!null, HU5A5.VYO5E:9, HU5A5.SWCQV:10!null, HU5A5.YKSSU:11, HU5A5.FHCYT:12]\n" + 2244 " └─ Filter\n" + 2245 " ├─ flqlp.XMM6Q:13 IS NULL\n" + 2246 " └─ LeftOuterLookupJoin\n" + 2247 " ├─ Filter\n" + 2248 " │ ├─ Eq\n" + 2249 " │ │ ├─ hu5a5.SWCQV:10!null\n" + 2250 " │ │ └─ 0 (tinyint)\n" + 2251 " │ └─ ProcessTable\n" + 2252 " │ └─ Table\n" + 2253 " │ ├─ name: HU5A5\n" + 2254 " │ └─ columns: [id tofpn i3vta sfj6l v5dpx ljlum idpk7 no52d zrv3b vyo5e swcqv ykssu fhcyt]\n" + 2255 " └─ Project\n" + 2256 " ├─ columns: [flqlp.XMM6Q:7]\n" + 2257 " └─ Filter\n" + 2258 " ├─ NOT\n" + 2259 " │ └─ flqlp.XMM6Q:7 IS NULL\n" + 2260 " └─ IndexedTableAccess(FLQLP)\n" + 2261 " ├─ index: [FLQLP.XMM6Q]\n" + 2262 " ├─ keys: [hu5a5.id:0!null]\n" + 2263 " ├─ colSet: (14-25)\n" + 2264 " ├─ tableId: 2\n" + 2265 " └─ Table\n" + 2266 " ├─ name: FLQLP\n" + 2267 " └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 2268 "", 2269 ExpectedEstimates: "Project\n" + 2270 " ├─ columns: [HU5A5.id, HU5A5.TOFPN, HU5A5.I3VTA, HU5A5.SFJ6L, HU5A5.V5DPX, HU5A5.LJLUM, HU5A5.IDPK7, HU5A5.NO52D, HU5A5.ZRV3B, HU5A5.VYO5E, HU5A5.SWCQV, HU5A5.YKSSU, HU5A5.FHCYT]\n" + 2271 " └─ Filter\n" + 2272 " ├─ flqlp.XMM6Q IS NULL\n" + 2273 " └─ LeftOuterLookupJoin (estimated cost=107.800 rows=27)\n" + 2274 " ├─ Filter\n" + 2275 " │ ├─ (hu5a5.SWCQV = 0)\n" + 2276 " │ └─ Table\n" + 2277 " │ └─ name: HU5A5\n" + 2278 " └─ Project\n" + 2279 " ├─ columns: [flqlp.XMM6Q]\n" + 2280 " └─ Filter\n" + 2281 " ├─ (NOT(flqlp.XMM6Q IS NULL))\n" + 2282 " └─ IndexedTableAccess(FLQLP)\n" + 2283 " ├─ index: [FLQLP.XMM6Q]\n" + 2284 " └─ keys: hu5a5.id\n" + 2285 "", 2286 ExpectedAnalysis: "Project\n" + 2287 " ├─ columns: [HU5A5.id, HU5A5.TOFPN, HU5A5.I3VTA, HU5A5.SFJ6L, HU5A5.V5DPX, HU5A5.LJLUM, HU5A5.IDPK7, HU5A5.NO52D, HU5A5.ZRV3B, HU5A5.VYO5E, HU5A5.SWCQV, HU5A5.YKSSU, HU5A5.FHCYT]\n" + 2288 " └─ Filter\n" + 2289 " ├─ flqlp.XMM6Q IS NULL\n" + 2290 " └─ LeftOuterLookupJoin (estimated cost=107.800 rows=27) (actual rows=0 loops=1)\n" + 2291 " ├─ Filter\n" + 2292 " │ ├─ (hu5a5.SWCQV = 0)\n" + 2293 " │ └─ Table\n" + 2294 " │ └─ name: HU5A5\n" + 2295 " └─ Project\n" + 2296 " ├─ columns: [flqlp.XMM6Q]\n" + 2297 " └─ Filter\n" + 2298 " ├─ (NOT(flqlp.XMM6Q IS NULL))\n" + 2299 " └─ IndexedTableAccess(FLQLP)\n" + 2300 " ├─ index: [FLQLP.XMM6Q]\n" + 2301 " └─ keys: hu5a5.id\n" + 2302 "", 2303 }, 2304 { 2305 Query: ` 2306 SELECT 2307 rn.id AS id, 2308 CONCAT(NSPLT.TW55N, 'FDNCN', LQNCX.TW55N) AS X37NA, 2309 CONCAT(XLZA5.TW55N, 'FDNCN', AFJMD.TW55N) AS THWCS, 2310 rn.HVHRZ AS HVHRZ 2311 FROM 2312 QYWQD rn 2313 INNER JOIN 2314 NOXN3 PV6R5 2315 ON 2316 rn.WNUNU = PV6R5.id 2317 INNER JOIN 2318 NOXN3 ZYUTC 2319 ON 2320 rn.HHVLX = ZYUTC.id 2321 INNER JOIN 2322 E2I7U NSPLT 2323 ON 2324 NSPLT.id = PV6R5.BRQP2 2325 INNER JOIN 2326 E2I7U LQNCX 2327 ON 2328 LQNCX.id = PV6R5.FFTBJ 2329 INNER JOIN 2330 E2I7U XLZA5 2331 ON 2332 XLZA5.id = ZYUTC.BRQP2 2333 INNER JOIN 2334 E2I7U AFJMD 2335 ON 2336 AFJMD.id = ZYUTC.FFTBJ 2337 WHERE 2338 PV6R5.FFTBJ <> ZYUTC.BRQP2 2339 OR 2340 PV6R5.NUMK2 <> 1 2341 `, 2342 ExpectedPlan: "Project\n" + 2343 " ├─ columns: [rn.id:0!null as id, concat(nsplt.TW55N:18!null,FDNCN (longtext),lqncx.TW55N:16!null) as X37NA, concat(xlza5.TW55N:10!null,FDNCN (longtext),afjmd.TW55N:8!null) as THWCS, rn.HVHRZ:3!null as HVHRZ]\n" + 2344 " └─ Filter\n" + 2345 " ├─ Or\n" + 2346 " │ ├─ NOT\n" + 2347 " │ │ └─ Eq\n" + 2348 " │ │ ├─ pv6r5.FFTBJ:13!null\n" + 2349 " │ │ └─ zyutc.BRQP2:5!null\n" + 2350 " │ └─ NOT\n" + 2351 " │ └─ Eq\n" + 2352 " │ ├─ pv6r5.NUMK2:14!null\n" + 2353 " │ └─ 1 (tinyint)\n" + 2354 " └─ HashJoin\n" + 2355 " ├─ Eq\n" + 2356 " │ ├─ rn.WNUNU:1!null\n" + 2357 " │ └─ pv6r5.id:11!null\n" + 2358 " ├─ HashJoin\n" + 2359 " │ ├─ Eq\n" + 2360 " │ │ ├─ rn.HHVLX:2!null\n" + 2361 " │ │ └─ zyutc.id:4!null\n" + 2362 " │ ├─ TableAlias(rn)\n" + 2363 " │ │ └─ ProcessTable\n" + 2364 " │ │ └─ Table\n" + 2365 " │ │ ├─ name: QYWQD\n" + 2366 " │ │ └─ columns: [id wnunu hhvlx hvhrz]\n" + 2367 " │ └─ HashLookup\n" + 2368 " │ ├─ left-key: TUPLE(rn.HHVLX:2!null)\n" + 2369 " │ ├─ right-key: TUPLE(zyutc.id:0!null)\n" + 2370 " │ └─ HashJoin\n" + 2371 " │ ├─ Eq\n" + 2372 " │ │ ├─ xlza5.id:9!null\n" + 2373 " │ │ └─ zyutc.BRQP2:5!null\n" + 2374 " │ ├─ MergeJoin\n" + 2375 " │ │ ├─ cmp: Eq\n" + 2376 " │ │ │ ├─ zyutc.FFTBJ:6!null\n" + 2377 " │ │ │ └─ afjmd.id:7!null\n" + 2378 " │ │ ├─ TableAlias(zyutc)\n" + 2379 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 2380 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 2381 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 2382 " │ │ │ ├─ colSet: (17-26)\n" + 2383 " │ │ │ ├─ tableId: 3\n" + 2384 " │ │ │ └─ Table\n" + 2385 " │ │ │ ├─ name: NOXN3\n" + 2386 " │ │ │ └─ columns: [id brqp2 fftbj]\n" + 2387 " │ │ └─ TableAlias(afjmd)\n" + 2388 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2389 " │ │ ├─ index: [E2I7U.id]\n" + 2390 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 2391 " │ │ ├─ colSet: (78-94)\n" + 2392 " │ │ ├─ tableId: 7\n" + 2393 " │ │ └─ Table\n" + 2394 " │ │ ├─ name: E2I7U\n" + 2395 " │ │ └─ columns: [id tw55n]\n" + 2396 " │ └─ HashLookup\n" + 2397 " │ ├─ left-key: TUPLE(zyutc.BRQP2:5!null)\n" + 2398 " │ ├─ right-key: TUPLE(xlza5.id:0!null)\n" + 2399 " │ └─ TableAlias(xlza5)\n" + 2400 " │ └─ ProcessTable\n" + 2401 " │ └─ Table\n" + 2402 " │ ├─ name: E2I7U\n" + 2403 " │ └─ columns: [id tw55n]\n" + 2404 " └─ HashLookup\n" + 2405 " ├─ left-key: TUPLE(rn.WNUNU:1!null)\n" + 2406 " ├─ right-key: TUPLE(pv6r5.id:0!null)\n" + 2407 " └─ HashJoin\n" + 2408 " ├─ Eq\n" + 2409 " │ ├─ nsplt.id:17!null\n" + 2410 " │ └─ pv6r5.BRQP2:12!null\n" + 2411 " ├─ MergeJoin\n" + 2412 " │ ├─ cmp: Eq\n" + 2413 " │ │ ├─ pv6r5.FFTBJ:13!null\n" + 2414 " │ │ └─ lqncx.id:15!null\n" + 2415 " │ ├─ TableAlias(pv6r5)\n" + 2416 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 2417 " │ │ ├─ index: [NOXN3.FFTBJ]\n" + 2418 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 2419 " │ │ ├─ colSet: (7-16)\n" + 2420 " │ │ ├─ tableId: 2\n" + 2421 " │ │ └─ Table\n" + 2422 " │ │ ├─ name: NOXN3\n" + 2423 " │ │ └─ columns: [id brqp2 fftbj numk2]\n" + 2424 " │ └─ TableAlias(lqncx)\n" + 2425 " │ └─ IndexedTableAccess(E2I7U)\n" + 2426 " │ ├─ index: [E2I7U.id]\n" + 2427 " │ ├─ static: [{[NULL, ∞)}]\n" + 2428 " │ ├─ colSet: (44-60)\n" + 2429 " │ ├─ tableId: 5\n" + 2430 " │ └─ Table\n" + 2431 " │ ├─ name: E2I7U\n" + 2432 " │ └─ columns: [id tw55n]\n" + 2433 " └─ HashLookup\n" + 2434 " ├─ left-key: TUPLE(pv6r5.BRQP2:12!null)\n" + 2435 " ├─ right-key: TUPLE(nsplt.id:0!null)\n" + 2436 " └─ TableAlias(nsplt)\n" + 2437 " └─ Table\n" + 2438 " ├─ name: E2I7U\n" + 2439 " ├─ columns: [id tw55n]\n" + 2440 " ├─ colSet: (27-43)\n" + 2441 " └─ tableId: 4\n" + 2442 "", 2443 ExpectedEstimates: "Project\n" + 2444 " ├─ columns: [rn.id as id, concat(nsplt.TW55N,'FDNCN',lqncx.TW55N) as X37NA, concat(xlza5.TW55N,'FDNCN',afjmd.TW55N) as THWCS, rn.HVHRZ as HVHRZ]\n" + 2445 " └─ Filter\n" + 2446 " ├─ ((NOT((pv6r5.FFTBJ = zyutc.BRQP2))) OR (NOT((pv6r5.NUMK2 = 1))))\n" + 2447 " └─ HashJoin (estimated cost=107544.840 rows=70692)\n" + 2448 " ├─ (rn.WNUNU = pv6r5.id)\n" + 2449 " ├─ HashJoin (estimated cost=107544.840 rows=70692)\n" + 2450 " │ ├─ (rn.HHVLX = zyutc.id)\n" + 2451 " │ ├─ TableAlias(rn)\n" + 2452 " │ │ └─ Table\n" + 2453 " │ │ ├─ name: QYWQD\n" + 2454 " │ │ └─ columns: [id wnunu hhvlx hvhrz]\n" + 2455 " │ └─ HashLookup\n" + 2456 " │ ├─ left-key: (rn.HHVLX)\n" + 2457 " │ ├─ right-key: (zyutc.id)\n" + 2458 " │ └─ HashJoin\n" + 2459 " │ ├─ (xlza5.id = zyutc.BRQP2)\n" + 2460 " │ ├─ MergeJoin\n" + 2461 " │ │ ├─ cmp: (zyutc.FFTBJ = afjmd.id)\n" + 2462 " │ │ ├─ TableAlias(zyutc)\n" + 2463 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 2464 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 2465 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2466 " │ │ │ └─ columns: [id brqp2 fftbj]\n" + 2467 " │ │ └─ TableAlias(afjmd)\n" + 2468 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2469 " │ │ ├─ index: [E2I7U.id]\n" + 2470 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2471 " │ │ └─ columns: [id tw55n]\n" + 2472 " │ └─ HashLookup\n" + 2473 " │ ├─ left-key: (zyutc.BRQP2)\n" + 2474 " │ ├─ right-key: (xlza5.id)\n" + 2475 " │ └─ TableAlias(xlza5)\n" + 2476 " │ └─ Table\n" + 2477 " │ ├─ name: E2I7U\n" + 2478 " │ └─ columns: [id tw55n]\n" + 2479 " └─ HashLookup\n" + 2480 " ├─ left-key: (rn.WNUNU)\n" + 2481 " ├─ right-key: (pv6r5.id)\n" + 2482 " └─ HashJoin\n" + 2483 " ├─ (nsplt.id = pv6r5.BRQP2)\n" + 2484 " ├─ MergeJoin\n" + 2485 " │ ├─ cmp: (pv6r5.FFTBJ = lqncx.id)\n" + 2486 " │ ├─ TableAlias(pv6r5)\n" + 2487 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 2488 " │ │ ├─ index: [NOXN3.FFTBJ]\n" + 2489 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2490 " │ │ └─ columns: [id brqp2 fftbj numk2]\n" + 2491 " │ └─ TableAlias(lqncx)\n" + 2492 " │ └─ IndexedTableAccess(E2I7U)\n" + 2493 " │ ├─ index: [E2I7U.id]\n" + 2494 " │ ├─ filters: [{[NULL, ∞)}]\n" + 2495 " │ └─ columns: [id tw55n]\n" + 2496 " └─ HashLookup\n" + 2497 " ├─ left-key: (pv6r5.BRQP2)\n" + 2498 " ├─ right-key: (nsplt.id)\n" + 2499 " └─ TableAlias(nsplt)\n" + 2500 " └─ Table\n" + 2501 " ├─ name: E2I7U\n" + 2502 " └─ columns: [id tw55n]\n" + 2503 "", 2504 ExpectedAnalysis: "Project\n" + 2505 " ├─ columns: [rn.id as id, concat(nsplt.TW55N,'FDNCN',lqncx.TW55N) as X37NA, concat(xlza5.TW55N,'FDNCN',afjmd.TW55N) as THWCS, rn.HVHRZ as HVHRZ]\n" + 2506 " └─ Filter\n" + 2507 " ├─ ((NOT((pv6r5.FFTBJ = zyutc.BRQP2))) OR (NOT((pv6r5.NUMK2 = 1))))\n" + 2508 " └─ HashJoin (estimated cost=107544.840 rows=70692) (actual rows=0 loops=1)\n" + 2509 " ├─ (rn.WNUNU = pv6r5.id)\n" + 2510 " ├─ HashJoin (estimated cost=107544.840 rows=70692) (actual rows=0 loops=1)\n" + 2511 " │ ├─ (rn.HHVLX = zyutc.id)\n" + 2512 " │ ├─ TableAlias(rn)\n" + 2513 " │ │ └─ Table\n" + 2514 " │ │ ├─ name: QYWQD\n" + 2515 " │ │ └─ columns: [id wnunu hhvlx hvhrz]\n" + 2516 " │ └─ HashLookup\n" + 2517 " │ ├─ left-key: (rn.HHVLX)\n" + 2518 " │ ├─ right-key: (zyutc.id)\n" + 2519 " │ └─ HashJoin\n" + 2520 " │ ├─ (xlza5.id = zyutc.BRQP2)\n" + 2521 " │ ├─ MergeJoin\n" + 2522 " │ │ ├─ cmp: (zyutc.FFTBJ = afjmd.id)\n" + 2523 " │ │ ├─ TableAlias(zyutc)\n" + 2524 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 2525 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 2526 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2527 " │ │ │ └─ columns: [id brqp2 fftbj]\n" + 2528 " │ │ └─ TableAlias(afjmd)\n" + 2529 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2530 " │ │ ├─ index: [E2I7U.id]\n" + 2531 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2532 " │ │ └─ columns: [id tw55n]\n" + 2533 " │ └─ HashLookup\n" + 2534 " │ ├─ left-key: (zyutc.BRQP2)\n" + 2535 " │ ├─ right-key: (xlza5.id)\n" + 2536 " │ └─ TableAlias(xlza5)\n" + 2537 " │ └─ Table\n" + 2538 " │ ├─ name: E2I7U\n" + 2539 " │ └─ columns: [id tw55n]\n" + 2540 " └─ HashLookup\n" + 2541 " ├─ left-key: (rn.WNUNU)\n" + 2542 " ├─ right-key: (pv6r5.id)\n" + 2543 " └─ HashJoin\n" + 2544 " ├─ (nsplt.id = pv6r5.BRQP2)\n" + 2545 " ├─ MergeJoin\n" + 2546 " │ ├─ cmp: (pv6r5.FFTBJ = lqncx.id)\n" + 2547 " │ ├─ TableAlias(pv6r5)\n" + 2548 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 2549 " │ │ ├─ index: [NOXN3.FFTBJ]\n" + 2550 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2551 " │ │ └─ columns: [id brqp2 fftbj numk2]\n" + 2552 " │ └─ TableAlias(lqncx)\n" + 2553 " │ └─ IndexedTableAccess(E2I7U)\n" + 2554 " │ ├─ index: [E2I7U.id]\n" + 2555 " │ ├─ filters: [{[NULL, ∞)}]\n" + 2556 " │ └─ columns: [id tw55n]\n" + 2557 " └─ HashLookup\n" + 2558 " ├─ left-key: (pv6r5.BRQP2)\n" + 2559 " ├─ right-key: (nsplt.id)\n" + 2560 " └─ TableAlias(nsplt)\n" + 2561 " └─ Table\n" + 2562 " ├─ name: E2I7U\n" + 2563 " └─ columns: [id tw55n]\n" + 2564 "", 2565 }, 2566 { 2567 Query: ` 2568 SELECT 2569 sn.id AS DRIWM, 2570 CONCAT(OE56M.TW55N, 'FDNCN', CGFRZ.TW55N) AS GRVSE, 2571 SKPM6.id AS JIEVY, 2572 CONCAT(V5SAY.TW55N, 'FDNCN', FQTHF.TW55N) AS ENCM3, 2573 1.0 AS OHD3R 2574 FROM 2575 NOXN3 sn 2576 INNER JOIN 2577 NOXN3 SKPM6 2578 ON 2579 SKPM6.BRQP2 = sn.FFTBJ 2580 LEFT JOIN 2581 QYWQD rn 2582 ON 2583 rn.WNUNU = sn.id 2584 AND 2585 rn.HHVLX = SKPM6.id 2586 INNER JOIN 2587 E2I7U OE56M 2588 ON 2589 OE56M.id = sn.BRQP2 2590 INNER JOIN 2591 E2I7U CGFRZ 2592 ON 2593 CGFRZ.id = sn.FFTBJ 2594 INNER JOIN 2595 E2I7U V5SAY 2596 ON 2597 V5SAY.id = SKPM6.BRQP2 2598 INNER JOIN 2599 E2I7U FQTHF 2600 ON 2601 FQTHF.id = SKPM6.FFTBJ 2602 WHERE 2603 sn.NUMK2 = 1 2604 AND 2605 rn.WNUNU IS NULL AND rn.HHVLX IS NULL 2606 `, 2607 ExpectedPlan: "Project\n" + 2608 " ├─ columns: [sn.id:5!null as DRIWM, concat(oe56m.TW55N:10!null,FDNCN (longtext),cgfrz.TW55N:12!null) as GRVSE, skpm6.id:0!null as JIEVY, concat(v5say.TW55N:14!null,FDNCN (longtext),fqthf.TW55N:4!null) as ENCM3, 1 (decimal(2,1)) as OHD3R]\n" + 2609 " └─ Filter\n" + 2610 " ├─ AND\n" + 2611 " │ ├─ rn.WNUNU:15!null IS NULL\n" + 2612 " │ └─ rn.HHVLX:16!null IS NULL\n" + 2613 " └─ LeftOuterLookupJoin\n" + 2614 " ├─ Eq\n" + 2615 " │ ├─ rn.HHVLX:16!null\n" + 2616 " │ └─ skpm6.id:0!null\n" + 2617 " ├─ HashJoin\n" + 2618 " │ ├─ AND\n" + 2619 " │ │ ├─ AND\n" + 2620 " │ │ │ ├─ Eq\n" + 2621 " │ │ │ │ ├─ skpm6.BRQP2:1!null\n" + 2622 " │ │ │ │ └─ sn.FFTBJ:7!null\n" + 2623 " │ │ │ └─ Eq\n" + 2624 " │ │ │ ├─ v5say.id:13!null\n" + 2625 " │ │ │ └─ skpm6.BRQP2:1!null\n" + 2626 " │ │ └─ Eq\n" + 2627 " │ │ ├─ skpm6.BRQP2:1!null\n" + 2628 " │ │ └─ cgfrz.id:11!null\n" + 2629 " │ ├─ MergeJoin\n" + 2630 " │ │ ├─ cmp: Eq\n" + 2631 " │ │ │ ├─ skpm6.FFTBJ:2!null\n" + 2632 " │ │ │ └─ fqthf.id:3!null\n" + 2633 " │ │ ├─ TableAlias(skpm6)\n" + 2634 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 2635 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 2636 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 2637 " │ │ │ ├─ colSet: (11-20)\n" + 2638 " │ │ │ ├─ tableId: 2\n" + 2639 " │ │ │ └─ Table\n" + 2640 " │ │ │ ├─ name: NOXN3\n" + 2641 " │ │ │ └─ columns: [id brqp2 fftbj]\n" + 2642 " │ │ └─ TableAlias(fqthf)\n" + 2643 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2644 " │ │ ├─ index: [E2I7U.id]\n" + 2645 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 2646 " │ │ ├─ colSet: (78-94)\n" + 2647 " │ │ ├─ tableId: 7\n" + 2648 " │ │ └─ Table\n" + 2649 " │ │ ├─ name: E2I7U\n" + 2650 " │ │ └─ columns: [id tw55n]\n" + 2651 " │ └─ HashLookup\n" + 2652 " │ ├─ left-key: TUPLE(skpm6.BRQP2:1!null, skpm6.BRQP2:1!null, skpm6.BRQP2:1!null)\n" + 2653 " │ ├─ right-key: TUPLE(sn.FFTBJ:2!null, v5say.id:8!null, cgfrz.id:6!null)\n" + 2654 " │ └─ HashJoin\n" + 2655 " │ ├─ AND\n" + 2656 " │ │ ├─ Eq\n" + 2657 " │ │ │ ├─ cgfrz.id:11!null\n" + 2658 " │ │ │ └─ sn.FFTBJ:7!null\n" + 2659 " │ │ └─ Eq\n" + 2660 " │ │ ├─ sn.FFTBJ:7!null\n" + 2661 " │ │ └─ v5say.id:13!null\n" + 2662 " │ ├─ MergeJoin\n" + 2663 " │ │ ├─ cmp: Eq\n" + 2664 " │ │ │ ├─ sn.BRQP2:6!null\n" + 2665 " │ │ │ └─ oe56m.id:9!null\n" + 2666 " │ │ ├─ Filter\n" + 2667 " │ │ │ ├─ Eq\n" + 2668 " │ │ │ │ ├─ sn.NUMK2:3!null\n" + 2669 " │ │ │ │ └─ 1 (tinyint)\n" + 2670 " │ │ │ └─ TableAlias(sn)\n" + 2671 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 2672 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 2673 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 2674 " │ │ │ ├─ colSet: (1-10)\n" + 2675 " │ │ │ ├─ tableId: 1\n" + 2676 " │ │ │ └─ Table\n" + 2677 " │ │ │ ├─ name: NOXN3\n" + 2678 " │ │ │ └─ columns: [id brqp2 fftbj numk2]\n" + 2679 " │ │ └─ TableAlias(oe56m)\n" + 2680 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2681 " │ │ ├─ index: [E2I7U.id]\n" + 2682 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 2683 " │ │ ├─ colSet: (27-43)\n" + 2684 " │ │ ├─ tableId: 4\n" + 2685 " │ │ └─ Table\n" + 2686 " │ │ ├─ name: E2I7U\n" + 2687 " │ │ └─ columns: [id tw55n]\n" + 2688 " │ └─ HashLookup\n" + 2689 " │ ├─ left-key: TUPLE(sn.FFTBJ:7!null, sn.FFTBJ:7!null)\n" + 2690 " │ ├─ right-key: TUPLE(cgfrz.id:0!null, v5say.id:2!null)\n" + 2691 " │ └─ MergeJoin\n" + 2692 " │ ├─ cmp: Eq\n" + 2693 " │ │ ├─ cgfrz.id:11!null\n" + 2694 " │ │ └─ v5say.id:13!null\n" + 2695 " │ ├─ TableAlias(cgfrz)\n" + 2696 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2697 " │ │ ├─ index: [E2I7U.id]\n" + 2698 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 2699 " │ │ ├─ colSet: (44-60)\n" + 2700 " │ │ ├─ tableId: 5\n" + 2701 " │ │ └─ Table\n" + 2702 " │ │ ├─ name: E2I7U\n" + 2703 " │ │ └─ columns: [id tw55n]\n" + 2704 " │ └─ TableAlias(v5say)\n" + 2705 " │ └─ IndexedTableAccess(E2I7U)\n" + 2706 " │ ├─ index: [E2I7U.id]\n" + 2707 " │ ├─ static: [{[NULL, ∞)}]\n" + 2708 " │ ├─ colSet: (61-77)\n" + 2709 " │ ├─ tableId: 6\n" + 2710 " │ └─ Table\n" + 2711 " │ ├─ name: E2I7U\n" + 2712 " │ └─ columns: [id tw55n]\n" + 2713 " └─ TableAlias(rn)\n" + 2714 " └─ IndexedTableAccess(QYWQD)\n" + 2715 " ├─ index: [QYWQD.WNUNU]\n" + 2716 " ├─ keys: [sn.id:5!null]\n" + 2717 " ├─ colSet: (21-26)\n" + 2718 " ├─ tableId: 3\n" + 2719 " └─ Table\n" + 2720 " ├─ name: QYWQD\n" + 2721 " └─ columns: [wnunu hhvlx]\n" + 2722 "", 2723 ExpectedEstimates: "Project\n" + 2724 " ├─ columns: [sn.id as DRIWM, concat(oe56m.TW55N,'FDNCN',cgfrz.TW55N) as GRVSE, skpm6.id as JIEVY, concat(v5say.TW55N,'FDNCN',fqthf.TW55N) as ENCM3, 1.0 as OHD3R]\n" + 2725 " └─ Filter\n" + 2726 " ├─ (rn.WNUNU IS NULL AND rn.HHVLX IS NULL)\n" + 2727 " └─ LeftOuterLookupJoin (estimated cost=42928.000 rows=13841)\n" + 2728 " ├─ (rn.HHVLX = skpm6.id)\n" + 2729 " ├─ HashJoin (estimated cost=38618.860 rows=11073)\n" + 2730 " │ ├─ (((skpm6.BRQP2 = sn.FFTBJ) AND (v5say.id = skpm6.BRQP2)) AND (skpm6.BRQP2 = cgfrz.id))\n" + 2731 " │ ├─ MergeJoin (estimated cost=15929.680 rows=11813)\n" + 2732 " │ │ ├─ cmp: (skpm6.FFTBJ = fqthf.id)\n" + 2733 " │ │ ├─ TableAlias(skpm6)\n" + 2734 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 2735 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 2736 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2737 " │ │ │ └─ columns: [id brqp2 fftbj]\n" + 2738 " │ │ └─ TableAlias(fqthf)\n" + 2739 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2740 " │ │ ├─ index: [E2I7U.id]\n" + 2741 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2742 " │ │ └─ columns: [id tw55n]\n" + 2743 " │ └─ HashLookup\n" + 2744 " │ ├─ left-key: (skpm6.BRQP2, skpm6.BRQP2, skpm6.BRQP2)\n" + 2745 " │ ├─ right-key: (sn.FFTBJ, v5say.id, cgfrz.id)\n" + 2746 " │ └─ HashJoin\n" + 2747 " │ ├─ ((cgfrz.id = sn.FFTBJ) AND (sn.FFTBJ = v5say.id))\n" + 2748 " │ ├─ MergeJoin\n" + 2749 " │ │ ├─ cmp: (sn.BRQP2 = oe56m.id)\n" + 2750 " │ │ ├─ Filter\n" + 2751 " │ │ │ ├─ (sn.NUMK2 = 1)\n" + 2752 " │ │ │ └─ TableAlias(sn)\n" + 2753 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 2754 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 2755 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2756 " │ │ │ └─ columns: [id brqp2 fftbj numk2]\n" + 2757 " │ │ └─ TableAlias(oe56m)\n" + 2758 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2759 " │ │ ├─ index: [E2I7U.id]\n" + 2760 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2761 " │ │ └─ columns: [id tw55n]\n" + 2762 " │ └─ HashLookup\n" + 2763 " │ ├─ left-key: (sn.FFTBJ, sn.FFTBJ)\n" + 2764 " │ ├─ right-key: (cgfrz.id, v5say.id)\n" + 2765 " │ └─ MergeJoin\n" + 2766 " │ ├─ cmp: (cgfrz.id = v5say.id)\n" + 2767 " │ ├─ TableAlias(cgfrz)\n" + 2768 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2769 " │ │ ├─ index: [E2I7U.id]\n" + 2770 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2771 " │ │ └─ columns: [id tw55n]\n" + 2772 " │ └─ TableAlias(v5say)\n" + 2773 " │ └─ IndexedTableAccess(E2I7U)\n" + 2774 " │ ├─ index: [E2I7U.id]\n" + 2775 " │ ├─ filters: [{[NULL, ∞)}]\n" + 2776 " │ └─ columns: [id tw55n]\n" + 2777 " └─ TableAlias(rn)\n" + 2778 " └─ IndexedTableAccess(QYWQD)\n" + 2779 " ├─ index: [QYWQD.WNUNU]\n" + 2780 " ├─ columns: [wnunu hhvlx]\n" + 2781 " └─ keys: sn.id\n" + 2782 "", 2783 ExpectedAnalysis: "Project\n" + 2784 " ├─ columns: [sn.id as DRIWM, concat(oe56m.TW55N,'FDNCN',cgfrz.TW55N) as GRVSE, skpm6.id as JIEVY, concat(v5say.TW55N,'FDNCN',fqthf.TW55N) as ENCM3, 1.0 as OHD3R]\n" + 2785 " └─ Filter\n" + 2786 " ├─ (rn.WNUNU IS NULL AND rn.HHVLX IS NULL)\n" + 2787 " └─ LeftOuterLookupJoin (estimated cost=42928.000 rows=13841) (actual rows=0 loops=1)\n" + 2788 " ├─ (rn.HHVLX = skpm6.id)\n" + 2789 " ├─ HashJoin (estimated cost=38618.860 rows=11073) (actual rows=0 loops=1)\n" + 2790 " │ ├─ (((skpm6.BRQP2 = sn.FFTBJ) AND (v5say.id = skpm6.BRQP2)) AND (skpm6.BRQP2 = cgfrz.id))\n" + 2791 " │ ├─ MergeJoin (estimated cost=15929.680 rows=11813) (actual rows=0 loops=1)\n" + 2792 " │ │ ├─ cmp: (skpm6.FFTBJ = fqthf.id)\n" + 2793 " │ │ ├─ TableAlias(skpm6)\n" + 2794 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 2795 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 2796 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2797 " │ │ │ └─ columns: [id brqp2 fftbj]\n" + 2798 " │ │ └─ TableAlias(fqthf)\n" + 2799 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2800 " │ │ ├─ index: [E2I7U.id]\n" + 2801 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2802 " │ │ └─ columns: [id tw55n]\n" + 2803 " │ └─ HashLookup\n" + 2804 " │ ├─ left-key: (skpm6.BRQP2, skpm6.BRQP2, skpm6.BRQP2)\n" + 2805 " │ ├─ right-key: (sn.FFTBJ, v5say.id, cgfrz.id)\n" + 2806 " │ └─ HashJoin\n" + 2807 " │ ├─ ((cgfrz.id = sn.FFTBJ) AND (sn.FFTBJ = v5say.id))\n" + 2808 " │ ├─ MergeJoin\n" + 2809 " │ │ ├─ cmp: (sn.BRQP2 = oe56m.id)\n" + 2810 " │ │ ├─ Filter\n" + 2811 " │ │ │ ├─ (sn.NUMK2 = 1)\n" + 2812 " │ │ │ └─ TableAlias(sn)\n" + 2813 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 2814 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 2815 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2816 " │ │ │ └─ columns: [id brqp2 fftbj numk2]\n" + 2817 " │ │ └─ TableAlias(oe56m)\n" + 2818 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2819 " │ │ ├─ index: [E2I7U.id]\n" + 2820 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2821 " │ │ └─ columns: [id tw55n]\n" + 2822 " │ └─ HashLookup\n" + 2823 " │ ├─ left-key: (sn.FFTBJ, sn.FFTBJ)\n" + 2824 " │ ├─ right-key: (cgfrz.id, v5say.id)\n" + 2825 " │ └─ MergeJoin\n" + 2826 " │ ├─ cmp: (cgfrz.id = v5say.id)\n" + 2827 " │ ├─ TableAlias(cgfrz)\n" + 2828 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 2829 " │ │ ├─ index: [E2I7U.id]\n" + 2830 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 2831 " │ │ └─ columns: [id tw55n]\n" + 2832 " │ └─ TableAlias(v5say)\n" + 2833 " │ └─ IndexedTableAccess(E2I7U)\n" + 2834 " │ ├─ index: [E2I7U.id]\n" + 2835 " │ ├─ filters: [{[NULL, ∞)}]\n" + 2836 " │ └─ columns: [id tw55n]\n" + 2837 " └─ TableAlias(rn)\n" + 2838 " └─ IndexedTableAccess(QYWQD)\n" + 2839 " ├─ index: [QYWQD.WNUNU]\n" + 2840 " ├─ columns: [wnunu hhvlx]\n" + 2841 " └─ keys: sn.id\n" + 2842 "", 2843 }, 2844 { 2845 Query: ` 2846 SELECT 2847 id, FGG57, SSHPJ, SFJ6L 2848 FROM 2849 TDRVG 2850 WHERE 2851 id IN 2852 (SELECT 2853 (SELECT id FROM TDRVG WHERE SSHPJ = S7BYT.SSHPJ ORDER BY id LIMIT 1) AS id 2854 FROM 2855 (SELECT DISTINCT 2856 S5KBM.SSHPJ AS SSHPJ, 2857 S5KBM.SFJ6L AS SFJ6L 2858 FROM 2859 TDRVG S5KBM 2860 INNER JOIN 2861 E2I7U nd 2862 ON 2863 nd.FGG57 = S5KBM.FGG57) S7BYT 2864 WHERE 2865 S7BYT.SSHPJ NOT IN (SELECT SSHPJ FROM WE72E) 2866 ) 2867 `, 2868 ExpectedPlan: "Project\n" + 2869 " ├─ columns: [tdrvg.id:0!null, tdrvg.FGG57:1!null, tdrvg.SSHPJ:2!null, tdrvg.SFJ6L:3!null]\n" + 2870 " └─ Filter\n" + 2871 " ├─ InSubquery\n" + 2872 " │ ├─ left: tdrvg.id:0!null\n" + 2873 " │ └─ right: Subquery\n" + 2874 " │ ├─ cacheable: true\n" + 2875 " │ ├─ alias-string: select (select id from TDRVG where SSHPJ = S7BYT.SSHPJ order by id asc limit 1) id from (select distinct S5KBM.SSHPJ as SSHPJ, S5KBM.SFJ6L as SFJ6L from TDRVG as S5KBM join E2I7U as nd on nd.FGG57 = S5KBM.FGG57) as S7BYT where S7BYT.SSHPJ not in (select SSHPJ from WE72E)\n" + 2876 " │ └─ Project\n" + 2877 " │ ├─ columns: [Subquery\n" + 2878 " │ │ ├─ cacheable: false\n" + 2879 " │ │ ├─ alias-string: select id from TDRVG where SSHPJ = S7BYT.SSHPJ order by id asc limit 1\n" + 2880 " │ │ └─ Limit(1)\n" + 2881 " │ │ └─ Project\n" + 2882 " │ │ ├─ columns: [tdrvg.id:8!null]\n" + 2883 " │ │ └─ Sort(tdrvg.id:8!null ASC nullsFirst)\n" + 2884 " │ │ └─ Filter\n" + 2885 " │ │ ├─ Eq\n" + 2886 " │ │ │ ├─ tdrvg.SSHPJ:9!null\n" + 2887 " │ │ │ └─ s7byt.SSHPJ:5!null\n" + 2888 " │ │ └─ IndexedTableAccess(TDRVG)\n" + 2889 " │ │ ├─ index: [TDRVG.SSHPJ]\n" + 2890 " │ │ ├─ keys: [s7byt.SSHPJ:5!null]\n" + 2891 " │ │ ├─ colSet: (36-40)\n" + 2892 " │ │ ├─ tableId: 6\n" + 2893 " │ │ └─ Table\n" + 2894 " │ │ ├─ name: TDRVG\n" + 2895 " │ │ └─ columns: [id sshpj]\n" + 2896 " │ │ as id]\n" + 2897 " │ └─ Project\n" + 2898 " │ ├─ columns: [s7byt.SSHPJ:5!null, s7byt.SFJ6L:6!null, Subquery\n" + 2899 " │ │ ├─ cacheable: false\n" + 2900 " │ │ ├─ alias-string: select id from TDRVG where SSHPJ = S7BYT.SSHPJ order by id asc limit 1\n" + 2901 " │ │ └─ Limit(1)\n" + 2902 " │ │ └─ Project\n" + 2903 " │ │ ├─ columns: [tdrvg.id:7!null]\n" + 2904 " │ │ └─ Sort(tdrvg.id:7!null ASC nullsFirst)\n" + 2905 " │ │ └─ Filter\n" + 2906 " │ │ ├─ Eq\n" + 2907 " │ │ │ ├─ tdrvg.SSHPJ:8!null\n" + 2908 " │ │ │ └─ s7byt.SSHPJ:5!null\n" + 2909 " │ │ └─ IndexedTableAccess(TDRVG)\n" + 2910 " │ │ ├─ index: [TDRVG.SSHPJ]\n" + 2911 " │ │ ├─ keys: [s7byt.SSHPJ:5!null]\n" + 2912 " │ │ ├─ colSet: (36-40)\n" + 2913 " │ │ ├─ tableId: 6\n" + 2914 " │ │ └─ Table\n" + 2915 " │ │ ├─ name: TDRVG\n" + 2916 " │ │ └─ columns: [id sshpj]\n" + 2917 " │ │ as id]\n" + 2918 " │ └─ Project\n" + 2919 " │ ├─ columns: [s7byt.SSHPJ:5!null, s7byt.SFJ6L:6!null]\n" + 2920 " │ └─ Filter\n" + 2921 " │ ├─ we72e.SSHPJ:7!null IS NULL\n" + 2922 " │ └─ LeftOuterLookupJoin\n" + 2923 " │ ├─ SubqueryAlias\n" + 2924 " │ │ ├─ name: s7byt\n" + 2925 " │ │ ├─ outerVisibility: true\n" + 2926 " │ │ ├─ isLateral: false\n" + 2927 " │ │ ├─ cacheable: true\n" + 2928 " │ │ ├─ colSet: (30,31)\n" + 2929 " │ │ ├─ tableId: 4\n" + 2930 " │ │ └─ Distinct\n" + 2931 " │ │ └─ Project\n" + 2932 " │ │ ├─ columns: [s5kbm.SSHPJ:24!null as SSHPJ, s5kbm.SFJ6L:25!null as SFJ6L]\n" + 2933 " │ │ └─ LookupJoin\n" + 2934 " │ │ ├─ TableAlias(nd)\n" + 2935 " │ │ │ └─ Table\n" + 2936 " │ │ │ ├─ name: E2I7U\n" + 2937 " │ │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 2938 " │ │ │ ├─ colSet: (11-27)\n" + 2939 " │ │ │ └─ tableId: 3\n" + 2940 " │ │ └─ TableAlias(s5kbm)\n" + 2941 " │ │ └─ IndexedTableAccess(TDRVG)\n" + 2942 " │ │ ├─ index: [TDRVG.FGG57]\n" + 2943 " │ │ ├─ keys: [nd.FGG57:11]\n" + 2944 " │ │ ├─ colSet: (6-10)\n" + 2945 " │ │ ├─ tableId: 2\n" + 2946 " │ │ └─ Table\n" + 2947 " │ │ ├─ name: TDRVG\n" + 2948 " │ │ └─ columns: [id fgg57 sshpj sfj6l zh72s]\n" + 2949 " │ └─ IndexedTableAccess(WE72E)\n" + 2950 " │ ├─ index: [WE72E.SSHPJ]\n" + 2951 " │ ├─ keys: [s7byt.SSHPJ:5!null]\n" + 2952 " │ ├─ colSet: (32-35)\n" + 2953 " │ ├─ tableId: 5\n" + 2954 " │ └─ Table\n" + 2955 " │ ├─ name: WE72E\n" + 2956 " │ └─ columns: [sshpj]\n" + 2957 " └─ ProcessTable\n" + 2958 " └─ Table\n" + 2959 " ├─ name: TDRVG\n" + 2960 " └─ columns: [id fgg57 sshpj sfj6l zh72s]\n" + 2961 "", 2962 ExpectedEstimates: "Project\n" + 2963 " ├─ columns: [tdrvg.id, tdrvg.FGG57, tdrvg.SSHPJ, tdrvg.SFJ6L]\n" + 2964 " └─ Filter\n" + 2965 " ├─ InSubquery\n" + 2966 " │ ├─ left: tdrvg.id\n" + 2967 " │ └─ right: Subquery\n" + 2968 " │ ├─ cacheable: true\n" + 2969 " │ └─ Project\n" + 2970 " │ ├─ columns: [Subquery\n" + 2971 " │ │ ├─ cacheable: false\n" + 2972 " │ │ └─ Limit(1)\n" + 2973 " │ │ └─ Project\n" + 2974 " │ │ ├─ columns: [tdrvg.id]\n" + 2975 " │ │ └─ Sort(tdrvg.id ASC)\n" + 2976 " │ │ └─ Filter\n" + 2977 " │ │ ├─ (tdrvg.SSHPJ = s7byt.SSHPJ)\n" + 2978 " │ │ └─ IndexedTableAccess(TDRVG)\n" + 2979 " │ │ ├─ index: [TDRVG.SSHPJ]\n" + 2980 " │ │ ├─ columns: [id sshpj]\n" + 2981 " │ │ └─ keys: s7byt.SSHPJ\n" + 2982 " │ │ as id]\n" + 2983 " │ └─ Project\n" + 2984 " │ ├─ columns: [s7byt.SSHPJ, s7byt.SFJ6L, Subquery\n" + 2985 " │ │ ├─ cacheable: false\n" + 2986 " │ │ └─ Limit(1)\n" + 2987 " │ │ └─ Project\n" + 2988 " │ │ ├─ columns: [tdrvg.id]\n" + 2989 " │ │ └─ Sort(tdrvg.id ASC)\n" + 2990 " │ │ └─ Filter\n" + 2991 " │ │ ├─ (tdrvg.SSHPJ = s7byt.SSHPJ)\n" + 2992 " │ │ └─ IndexedTableAccess(TDRVG)\n" + 2993 " │ │ ├─ index: [TDRVG.SSHPJ]\n" + 2994 " │ │ ├─ columns: [id sshpj]\n" + 2995 " │ │ └─ keys: s7byt.SSHPJ\n" + 2996 " │ │ as id]\n" + 2997 " │ └─ Project\n" + 2998 " │ ├─ columns: [s7byt.SSHPJ, s7byt.SFJ6L]\n" + 2999 " │ └─ Filter\n" + 3000 " │ ├─ we72e.SSHPJ IS NULL\n" + 3001 " │ └─ LeftOuterLookupJoin\n" + 3002 " │ ├─ SubqueryAlias\n" + 3003 " │ │ ├─ name: s7byt\n" + 3004 " │ │ ├─ outerVisibility: true\n" + 3005 " │ │ ├─ isLateral: false\n" + 3006 " │ │ ├─ cacheable: true\n" + 3007 " │ │ └─ Distinct\n" + 3008 " │ │ └─ Project\n" + 3009 " │ │ ├─ columns: [s5kbm.SSHPJ as SSHPJ, s5kbm.SFJ6L as SFJ6L]\n" + 3010 " │ │ └─ LookupJoin\n" + 3011 " │ │ ├─ TableAlias(nd)\n" + 3012 " │ │ │ └─ Table\n" + 3013 " │ │ │ └─ name: E2I7U\n" + 3014 " │ │ └─ TableAlias(s5kbm)\n" + 3015 " │ │ └─ IndexedTableAccess(TDRVG)\n" + 3016 " │ │ ├─ index: [TDRVG.FGG57]\n" + 3017 " │ │ └─ keys: nd.FGG57\n" + 3018 " │ └─ IndexedTableAccess(WE72E)\n" + 3019 " │ ├─ index: [WE72E.SSHPJ]\n" + 3020 " │ ├─ columns: [sshpj]\n" + 3021 " │ └─ keys: s7byt.SSHPJ\n" + 3022 " └─ Table\n" + 3023 " └─ name: TDRVG\n" + 3024 "", 3025 ExpectedAnalysis: "Project\n" + 3026 " ├─ columns: [tdrvg.id, tdrvg.FGG57, tdrvg.SSHPJ, tdrvg.SFJ6L]\n" + 3027 " └─ Filter\n" + 3028 " ├─ InSubquery\n" + 3029 " │ ├─ left: tdrvg.id\n" + 3030 " │ └─ right: Subquery\n" + 3031 " │ ├─ cacheable: true\n" + 3032 " │ └─ Project\n" + 3033 " │ ├─ columns: [Subquery\n" + 3034 " │ │ ├─ cacheable: false\n" + 3035 " │ │ └─ Limit(1)\n" + 3036 " │ │ └─ Project\n" + 3037 " │ │ ├─ columns: [tdrvg.id]\n" + 3038 " │ │ └─ Sort(tdrvg.id ASC)\n" + 3039 " │ │ └─ Filter\n" + 3040 " │ │ ├─ (tdrvg.SSHPJ = s7byt.SSHPJ)\n" + 3041 " │ │ └─ IndexedTableAccess(TDRVG)\n" + 3042 " │ │ ├─ index: [TDRVG.SSHPJ]\n" + 3043 " │ │ ├─ columns: [id sshpj]\n" + 3044 " │ │ └─ keys: s7byt.SSHPJ\n" + 3045 " │ │ as id]\n" + 3046 " │ └─ Project\n" + 3047 " │ ├─ columns: [s7byt.SSHPJ, s7byt.SFJ6L, Subquery\n" + 3048 " │ │ ├─ cacheable: false\n" + 3049 " │ │ └─ Limit(1)\n" + 3050 " │ │ └─ Project\n" + 3051 " │ │ ├─ columns: [tdrvg.id]\n" + 3052 " │ │ └─ Sort(tdrvg.id ASC)\n" + 3053 " │ │ └─ Filter\n" + 3054 " │ │ ├─ (tdrvg.SSHPJ = s7byt.SSHPJ)\n" + 3055 " │ │ └─ IndexedTableAccess(TDRVG)\n" + 3056 " │ │ ├─ index: [TDRVG.SSHPJ]\n" + 3057 " │ │ ├─ columns: [id sshpj]\n" + 3058 " │ │ └─ keys: s7byt.SSHPJ\n" + 3059 " │ │ as id]\n" + 3060 " │ └─ Project\n" + 3061 " │ ├─ columns: [s7byt.SSHPJ, s7byt.SFJ6L]\n" + 3062 " │ └─ Filter\n" + 3063 " │ ├─ we72e.SSHPJ IS NULL\n" + 3064 " │ └─ LeftOuterLookupJoin\n" + 3065 " │ ├─ SubqueryAlias\n" + 3066 " │ │ ├─ name: s7byt\n" + 3067 " │ │ ├─ outerVisibility: true\n" + 3068 " │ │ ├─ isLateral: false\n" + 3069 " │ │ ├─ cacheable: true\n" + 3070 " │ │ └─ Distinct\n" + 3071 " │ │ └─ Project\n" + 3072 " │ │ ├─ columns: [s5kbm.SSHPJ as SSHPJ, s5kbm.SFJ6L as SFJ6L]\n" + 3073 " │ │ └─ LookupJoin\n" + 3074 " │ │ ├─ TableAlias(nd)\n" + 3075 " │ │ │ └─ Table\n" + 3076 " │ │ │ └─ name: E2I7U\n" + 3077 " │ │ └─ TableAlias(s5kbm)\n" + 3078 " │ │ └─ IndexedTableAccess(TDRVG)\n" + 3079 " │ │ ├─ index: [TDRVG.FGG57]\n" + 3080 " │ │ └─ keys: nd.FGG57\n" + 3081 " │ └─ IndexedTableAccess(WE72E)\n" + 3082 " │ ├─ index: [WE72E.SSHPJ]\n" + 3083 " │ ├─ columns: [sshpj]\n" + 3084 " │ └─ keys: s7byt.SSHPJ\n" + 3085 " └─ Table\n" + 3086 " └─ name: TDRVG\n" + 3087 "", 3088 }, 3089 { 3090 Query: ` 3091 SELECT 3092 PBMRX.id AS id, 3093 PBMRX.TW55N AS UYOGN, 3094 PBMRX.ZH72S AS H4JEA 3095 FROM 3096 ( 3097 SELECT 3098 ZH72S AS ZH72S, 3099 COUNT(ZH72S) AS JTOA7, 3100 MIN(TJ66D) AS B4OVH, 3101 SUM(TJ66D) AS R5CKX 3102 FROM 3103 ( 3104 SELECT 3105 nd.id AS id, 3106 nd.ZH72S AS ZH72S, 3107 (SELECT COUNT(*) FROM AMYXQ WHERE LUEVY = nd.id) AS TJ66D 3108 FROM 3109 E2I7U nd 3110 WHERE nd.ZH72S IS NOT NULL 3111 ) TQ57W 3112 GROUP BY 3113 ZH72S 3114 HAVING 3115 JTOA7 > 1 3116 ) CL3DT 3117 INNER JOIN 3118 E2I7U PBMRX 3119 ON 3120 PBMRX.ZH72S IS NOT NULL AND PBMRX.ZH72S = CL3DT.ZH72S 3121 WHERE 3122 CL3DT.B4OVH = 0 3123 AND 3124 CL3DT.R5CKX > 0 3125 `, 3126 ExpectedPlan: "Project\n" + 3127 " ├─ columns: [pbmrx.id:4!null as id, pbmrx.TW55N:5!null as UYOGN, pbmrx.ZH72S:6 as H4JEA]\n" + 3128 " └─ LookupJoin\n" + 3129 " ├─ NOT\n" + 3130 " │ └─ pbmrx.ZH72S:6 IS NULL\n" + 3131 " ├─ SubqueryAlias\n" + 3132 " │ ├─ name: cl3dt\n" + 3133 " │ ├─ outerVisibility: false\n" + 3134 " │ ├─ isLateral: false\n" + 3135 " │ ├─ cacheable: true\n" + 3136 " │ ├─ colSet: (40-43)\n" + 3137 " │ ├─ tableId: 4\n" + 3138 " │ └─ Filter\n" + 3139 " │ ├─ AND\n" + 3140 " │ │ ├─ Eq\n" + 3141 " │ │ │ ├─ B4OVH:2!null\n" + 3142 " │ │ │ └─ 0 (tinyint)\n" + 3143 " │ │ └─ GreaterThan\n" + 3144 " │ │ ├─ R5CKX:3!null\n" + 3145 " │ │ └─ 0 (tinyint)\n" + 3146 " │ └─ Project\n" + 3147 " │ ├─ columns: [tq57w.ZH72S:3 as ZH72S, count(tq57w.zh72s):0!null as JTOA7, min(tq57w.tj66d):1!null as B4OVH, sum(tq57w.tj66d):2!null as R5CKX]\n" + 3148 " │ └─ Having\n" + 3149 " │ ├─ GreaterThan\n" + 3150 " │ │ ├─ JTOA7:5!null\n" + 3151 " │ │ └─ 1 (tinyint)\n" + 3152 " │ └─ Project\n" + 3153 " │ ├─ columns: [count(tq57w.zh72s):0!null, min(tq57w.tj66d):1!null, sum(tq57w.tj66d):2!null, tq57w.ZH72S:3, tq57w.ZH72S:3 as ZH72S, count(tq57w.zh72s):0!null as JTOA7, min(tq57w.tj66d):1!null as B4OVH, sum(tq57w.tj66d):2!null as R5CKX]\n" + 3154 " │ └─ GroupBy\n" + 3155 " │ ├─ select: COUNT(tq57w.ZH72S:1), MIN(tq57w.TJ66D:2), SUM(tq57w.TJ66D:2), tq57w.ZH72S:1\n" + 3156 " │ ├─ group: tq57w.ZH72S:1\n" + 3157 " │ └─ SubqueryAlias\n" + 3158 " │ ├─ name: tq57w\n" + 3159 " │ ├─ outerVisibility: false\n" + 3160 " │ ├─ isLateral: false\n" + 3161 " │ ├─ cacheable: true\n" + 3162 " │ ├─ colSet: (30-32)\n" + 3163 " │ ├─ tableId: 3\n" + 3164 " │ └─ Project\n" + 3165 " │ ├─ columns: [nd.id:0!null as id, nd.ZH72S:7 as ZH72S, Subquery\n" + 3166 " │ │ ├─ cacheable: false\n" + 3167 " │ │ ├─ alias-string: select COUNT(*) from AMYXQ where LUEVY = nd.id\n" + 3168 " │ │ └─ Project\n" + 3169 " │ │ ├─ columns: [count(1):20!null as COUNT(*)]\n" + 3170 " │ │ └─ GroupBy\n" + 3171 " │ │ ├─ select: COUNT(1 (bigint))\n" + 3172 " │ │ ├─ group: \n" + 3173 " │ │ └─ Filter\n" + 3174 " │ │ ├─ Eq\n" + 3175 " │ │ │ ├─ amyxq.LUEVY:20!null\n" + 3176 " │ │ │ └─ nd.id:0!null\n" + 3177 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3178 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 3179 " │ │ ├─ keys: [nd.id:0!null]\n" + 3180 " │ │ ├─ colSet: (20-27)\n" + 3181 " │ │ ├─ tableId: 2\n" + 3182 " │ │ └─ Table\n" + 3183 " │ │ ├─ name: AMYXQ\n" + 3184 " │ │ └─ columns: [luevy]\n" + 3185 " │ │ as TJ66D]\n" + 3186 " │ └─ Project\n" + 3187 " │ ├─ columns: [nd.id:0!null, nd.DKCAJ:1!null, nd.KNG7T:2, nd.TW55N:3!null, nd.QRQXW:4!null, nd.ECXAJ:5!null, nd.FGG57:6, nd.ZH72S:7, nd.FSK67:8!null, nd.XQDYT:9!null, nd.TCE7A:10, nd.IWV2H:11, nd.HPCMS:12!null, nd.N5CC2:13, nd.FHCYT:14, nd.ETAQ7:15, nd.A75X7:16, nd.id:0!null as id, nd.ZH72S:7 as ZH72S, Subquery\n" + 3188 " │ │ ├─ cacheable: false\n" + 3189 " │ │ ├─ alias-string: select COUNT(*) from AMYXQ where LUEVY = nd.id\n" + 3190 " │ │ └─ Project\n" + 3191 " │ │ ├─ columns: [count(1):17!null as COUNT(*)]\n" + 3192 " │ │ └─ GroupBy\n" + 3193 " │ │ ├─ select: COUNT(1 (bigint))\n" + 3194 " │ │ ├─ group: \n" + 3195 " │ │ └─ Filter\n" + 3196 " │ │ ├─ Eq\n" + 3197 " │ │ │ ├─ amyxq.LUEVY:17!null\n" + 3198 " │ │ │ └─ nd.id:0!null\n" + 3199 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3200 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 3201 " │ │ ├─ keys: [nd.id:0!null]\n" + 3202 " │ │ ├─ colSet: (20-27)\n" + 3203 " │ │ ├─ tableId: 2\n" + 3204 " │ │ └─ Table\n" + 3205 " │ │ ├─ name: AMYXQ\n" + 3206 " │ │ └─ columns: [luevy]\n" + 3207 " │ │ as TJ66D]\n" + 3208 " │ └─ TableAlias(nd)\n" + 3209 " │ └─ IndexedTableAccess(E2I7U)\n" + 3210 " │ ├─ index: [E2I7U.ZH72S]\n" + 3211 " │ ├─ static: [{(NULL, ∞)}]\n" + 3212 " │ ├─ colSet: (1-17)\n" + 3213 " │ ├─ tableId: 1\n" + 3214 " │ └─ Table\n" + 3215 " │ ├─ name: E2I7U\n" + 3216 " │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 3217 " └─ TableAlias(pbmrx)\n" + 3218 " └─ IndexedTableAccess(E2I7U)\n" + 3219 " ├─ index: [E2I7U.ZH72S]\n" + 3220 " ├─ keys: [cl3dt.ZH72S:0]\n" + 3221 " ├─ colSet: (44-60)\n" + 3222 " ├─ tableId: 5\n" + 3223 " └─ Table\n" + 3224 " ├─ name: E2I7U\n" + 3225 " └─ columns: [id tw55n zh72s]\n" + 3226 "", 3227 ExpectedEstimates: "Project\n" + 3228 " ├─ columns: [pbmrx.id as id, pbmrx.TW55N as UYOGN, pbmrx.ZH72S as H4JEA]\n" + 3229 " └─ LookupJoin (estimated cost=405.900 rows=124)\n" + 3230 " ├─ (NOT(pbmrx.ZH72S IS NULL))\n" + 3231 " ├─ SubqueryAlias\n" + 3232 " │ ├─ name: cl3dt\n" + 3233 " │ ├─ outerVisibility: false\n" + 3234 " │ ├─ isLateral: false\n" + 3235 " │ ├─ cacheable: true\n" + 3236 " │ └─ Filter\n" + 3237 " │ ├─ ((B4OVH = 0) AND (R5CKX > 0))\n" + 3238 " │ └─ Project\n" + 3239 " │ ├─ columns: [tq57w.ZH72S as ZH72S, count(tq57w.zh72s) as JTOA7, min(tq57w.tj66d) as B4OVH, sum(tq57w.tj66d) as R5CKX]\n" + 3240 " │ └─ Having((JTOA7 > 1))\n" + 3241 " │ └─ Project\n" + 3242 " │ ├─ columns: [count(tq57w.zh72s), min(tq57w.tj66d), sum(tq57w.tj66d), tq57w.ZH72S, tq57w.ZH72S as ZH72S, count(tq57w.zh72s) as JTOA7, min(tq57w.tj66d) as B4OVH, sum(tq57w.tj66d) as R5CKX]\n" + 3243 " │ └─ GroupBy\n" + 3244 " │ ├─ SelectedExprs(COUNT(tq57w.ZH72S), MIN(tq57w.TJ66D), SUM(tq57w.TJ66D), tq57w.ZH72S)\n" + 3245 " │ ├─ Grouping(tq57w.ZH72S)\n" + 3246 " │ └─ SubqueryAlias\n" + 3247 " │ ├─ name: tq57w\n" + 3248 " │ ├─ outerVisibility: false\n" + 3249 " │ ├─ isLateral: false\n" + 3250 " │ ├─ cacheable: true\n" + 3251 " │ └─ Project\n" + 3252 " │ ├─ columns: [nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 3253 " │ │ ├─ cacheable: false\n" + 3254 " │ │ └─ Project\n" + 3255 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 3256 " │ │ └─ GroupBy\n" + 3257 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 3258 " │ │ ├─ Grouping()\n" + 3259 " │ │ └─ Filter\n" + 3260 " │ │ ├─ (amyxq.LUEVY = nd.id)\n" + 3261 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3262 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 3263 " │ │ ├─ columns: [luevy]\n" + 3264 " │ │ └─ keys: nd.id\n" + 3265 " │ │ as TJ66D]\n" + 3266 " │ └─ Project\n" + 3267 " │ ├─ columns: [nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 3268 " │ │ ├─ cacheable: false\n" + 3269 " │ │ └─ Project\n" + 3270 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 3271 " │ │ └─ GroupBy\n" + 3272 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 3273 " │ │ ├─ Grouping()\n" + 3274 " │ │ └─ Filter\n" + 3275 " │ │ ├─ (amyxq.LUEVY = nd.id)\n" + 3276 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3277 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 3278 " │ │ ├─ columns: [luevy]\n" + 3279 " │ │ └─ keys: nd.id\n" + 3280 " │ │ as TJ66D]\n" + 3281 " │ └─ TableAlias(nd)\n" + 3282 " │ └─ IndexedTableAccess(E2I7U)\n" + 3283 " │ ├─ index: [E2I7U.ZH72S]\n" + 3284 " │ └─ filters: [{(NULL, ∞)}]\n" + 3285 " └─ TableAlias(pbmrx)\n" + 3286 " └─ IndexedTableAccess(E2I7U)\n" + 3287 " ├─ index: [E2I7U.ZH72S]\n" + 3288 " ├─ columns: [id tw55n zh72s]\n" + 3289 " └─ keys: cl3dt.ZH72S\n" + 3290 "", 3291 ExpectedAnalysis: "Project\n" + 3292 " ├─ columns: [pbmrx.id as id, pbmrx.TW55N as UYOGN, pbmrx.ZH72S as H4JEA]\n" + 3293 " └─ LookupJoin (estimated cost=405.900 rows=124) (actual rows=0 loops=1)\n" + 3294 " ├─ (NOT(pbmrx.ZH72S IS NULL))\n" + 3295 " ├─ SubqueryAlias\n" + 3296 " │ ├─ name: cl3dt\n" + 3297 " │ ├─ outerVisibility: false\n" + 3298 " │ ├─ isLateral: false\n" + 3299 " │ ├─ cacheable: true\n" + 3300 " │ └─ Filter\n" + 3301 " │ ├─ ((B4OVH = 0) AND (R5CKX > 0))\n" + 3302 " │ └─ Project\n" + 3303 " │ ├─ columns: [tq57w.ZH72S as ZH72S, count(tq57w.zh72s) as JTOA7, min(tq57w.tj66d) as B4OVH, sum(tq57w.tj66d) as R5CKX]\n" + 3304 " │ └─ Having((JTOA7 > 1))\n" + 3305 " │ └─ Project\n" + 3306 " │ ├─ columns: [count(tq57w.zh72s), min(tq57w.tj66d), sum(tq57w.tj66d), tq57w.ZH72S, tq57w.ZH72S as ZH72S, count(tq57w.zh72s) as JTOA7, min(tq57w.tj66d) as B4OVH, sum(tq57w.tj66d) as R5CKX]\n" + 3307 " │ └─ GroupBy\n" + 3308 " │ ├─ SelectedExprs(COUNT(tq57w.ZH72S), MIN(tq57w.TJ66D), SUM(tq57w.TJ66D), tq57w.ZH72S)\n" + 3309 " │ ├─ Grouping(tq57w.ZH72S)\n" + 3310 " │ └─ SubqueryAlias\n" + 3311 " │ ├─ name: tq57w\n" + 3312 " │ ├─ outerVisibility: false\n" + 3313 " │ ├─ isLateral: false\n" + 3314 " │ ├─ cacheable: true\n" + 3315 " │ └─ Project\n" + 3316 " │ ├─ columns: [nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 3317 " │ │ ├─ cacheable: false\n" + 3318 " │ │ └─ Project\n" + 3319 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 3320 " │ │ └─ GroupBy\n" + 3321 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 3322 " │ │ ├─ Grouping()\n" + 3323 " │ │ └─ Filter\n" + 3324 " │ │ ├─ (amyxq.LUEVY = nd.id)\n" + 3325 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3326 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 3327 " │ │ ├─ columns: [luevy]\n" + 3328 " │ │ └─ keys: nd.id\n" + 3329 " │ │ as TJ66D]\n" + 3330 " │ └─ Project\n" + 3331 " │ ├─ columns: [nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nd.id as id, nd.ZH72S as ZH72S, Subquery\n" + 3332 " │ │ ├─ cacheable: false\n" + 3333 " │ │ └─ Project\n" + 3334 " │ │ ├─ columns: [count(1) as COUNT(*)]\n" + 3335 " │ │ └─ GroupBy\n" + 3336 " │ │ ├─ SelectedExprs(COUNT(1))\n" + 3337 " │ │ ├─ Grouping()\n" + 3338 " │ │ └─ Filter\n" + 3339 " │ │ ├─ (amyxq.LUEVY = nd.id)\n" + 3340 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3341 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 3342 " │ │ ├─ columns: [luevy]\n" + 3343 " │ │ └─ keys: nd.id\n" + 3344 " │ │ as TJ66D]\n" + 3345 " │ └─ TableAlias(nd)\n" + 3346 " │ └─ IndexedTableAccess(E2I7U)\n" + 3347 " │ ├─ index: [E2I7U.ZH72S]\n" + 3348 " │ └─ filters: [{(NULL, ∞)}]\n" + 3349 " └─ TableAlias(pbmrx)\n" + 3350 " └─ IndexedTableAccess(E2I7U)\n" + 3351 " ├─ index: [E2I7U.ZH72S]\n" + 3352 " ├─ columns: [id tw55n zh72s]\n" + 3353 " └─ keys: cl3dt.ZH72S\n" + 3354 "", 3355 }, 3356 { 3357 Query: ` 3358 SELECT /*+ JOIN_ORDER(ufc, nd, cla) */ DISTINCT 3359 ufc.* 3360 FROM 3361 SISUT ufc 3362 INNER JOIN 3363 E2I7U nd 3364 ON 3365 nd.ZH72S = ufc.ZH72S 3366 INNER JOIN 3367 YK2GW cla 3368 ON 3369 cla.FTQLQ = ufc.T4IBQ 3370 WHERE 3371 nd.ZH72S IS NOT NULL 3372 AND 3373 ufc.id NOT IN (SELECT KKGN5 FROM AMYXQ) 3374 `, 3375 ExpectedPlan: "Distinct\n" + 3376 " └─ Project\n" + 3377 " ├─ columns: [ufc.id:0!null, ufc.T4IBQ:1, ufc.ZH72S:2, ufc.AMYXQ:3, ufc.KTNZ2:4, ufc.HIID2:5, ufc.DN3OQ:6, ufc.VVKNB:7, ufc.SH7TP:8, ufc.SRZZO:9, ufc.QZ6VT:10]\n" + 3378 " └─ HashJoin\n" + 3379 " ├─ Eq\n" + 3380 " │ ├─ nd.ZH72S:48\n" + 3381 " │ └─ ufc.ZH72S:2\n" + 3382 " ├─ HashJoin\n" + 3383 " │ ├─ Eq\n" + 3384 " │ │ ├─ cla.FTQLQ:12!null\n" + 3385 " │ │ └─ ufc.T4IBQ:1\n" + 3386 " │ ├─ Project\n" + 3387 " │ │ ├─ columns: [ufc.id:0!null, ufc.T4IBQ:1, ufc.ZH72S:2, ufc.AMYXQ:3, ufc.KTNZ2:4, ufc.HIID2:5, ufc.DN3OQ:6, ufc.VVKNB:7, ufc.SH7TP:8, ufc.SRZZO:9, ufc.QZ6VT:10]\n" + 3388 " │ │ └─ Filter\n" + 3389 " │ │ ├─ amyxq.KKGN5:11 IS NULL\n" + 3390 " │ │ └─ LeftOuterMergeJoin\n" + 3391 " │ │ ├─ cmp: Eq\n" + 3392 " │ │ │ ├─ ufc.id:0!null\n" + 3393 " │ │ │ └─ amyxq.KKGN5:11\n" + 3394 " │ │ ├─ TableAlias(ufc)\n" + 3395 " │ │ │ └─ IndexedTableAccess(SISUT)\n" + 3396 " │ │ │ ├─ index: [SISUT.id]\n" + 3397 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 3398 " │ │ │ ├─ colSet: (1-11)\n" + 3399 " │ │ │ ├─ tableId: 1\n" + 3400 " │ │ │ └─ Table\n" + 3401 " │ │ │ ├─ name: SISUT\n" + 3402 " │ │ │ └─ columns: [id t4ibq zh72s amyxq ktnz2 hiid2 dn3oq vvknb sh7tp srzzo qz6vt]\n" + 3403 " │ │ └─ Project\n" + 3404 " │ │ ├─ columns: [amyxq.KKGN5:7]\n" + 3405 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3406 " │ │ ├─ index: [AMYXQ.KKGN5]\n" + 3407 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 3408 " │ │ ├─ colSet: (59-66)\n" + 3409 " │ │ ├─ tableId: 4\n" + 3410 " │ │ └─ Table\n" + 3411 " │ │ ├─ name: AMYXQ\n" + 3412 " │ │ └─ columns: [id gxlub luevy xqdyt amyxq oztqf z35gy kkgn5]\n" + 3413 " │ └─ HashLookup\n" + 3414 " │ ├─ left-key: TUPLE(ufc.T4IBQ:1)\n" + 3415 " │ ├─ right-key: TUPLE(cla.FTQLQ:1!null)\n" + 3416 " │ └─ TableAlias(cla)\n" + 3417 " │ └─ ProcessTable\n" + 3418 " │ └─ Table\n" + 3419 " │ ├─ name: YK2GW\n" + 3420 " │ └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 3421 " └─ HashLookup\n" + 3422 " ├─ left-key: TUPLE(ufc.ZH72S:2)\n" + 3423 " ├─ right-key: TUPLE(nd.ZH72S:7)\n" + 3424 " └─ TableAlias(nd)\n" + 3425 " └─ IndexedTableAccess(E2I7U)\n" + 3426 " ├─ index: [E2I7U.ZH72S]\n" + 3427 " ├─ static: [{(NULL, ∞)}]\n" + 3428 " ├─ colSet: (12-28)\n" + 3429 " ├─ tableId: 2\n" + 3430 " └─ Table\n" + 3431 " ├─ name: E2I7U\n" + 3432 " └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 3433 "", 3434 ExpectedEstimates: "Distinct\n" + 3435 " └─ Project\n" + 3436 " ├─ columns: [ufc.id, ufc.T4IBQ, ufc.ZH72S, ufc.AMYXQ, ufc.KTNZ2, ufc.HIID2, ufc.DN3OQ, ufc.VVKNB, ufc.SH7TP, ufc.SRZZO, ufc.QZ6VT]\n" + 3437 " └─ HashJoin (estimated cost=4593798.290 rows=4988719)\n" + 3438 " ├─ (nd.ZH72S = ufc.ZH72S)\n" + 3439 " ├─ HashJoin (estimated cost=4584754.200 rows=4487510)\n" + 3440 " │ ├─ (cla.FTQLQ = ufc.T4IBQ)\n" + 3441 " │ ├─ Project\n" + 3442 " │ │ ├─ columns: [ufc.id, ufc.T4IBQ, ufc.ZH72S, ufc.AMYXQ, ufc.KTNZ2, ufc.HIID2, ufc.DN3OQ, ufc.VVKNB, ufc.SH7TP, ufc.SRZZO, ufc.QZ6VT]\n" + 3443 " │ │ └─ Filter\n" + 3444 " │ │ ├─ amyxq.KKGN5 IS NULL\n" + 3445 " │ │ └─ LeftOuterMergeJoin (estimated cost=109840579.580 rows=5983347)\n" + 3446 " │ │ ├─ cmp: (ufc.id = amyxq.KKGN5)\n" + 3447 " │ │ ├─ TableAlias(ufc)\n" + 3448 " │ │ │ └─ IndexedTableAccess(SISUT)\n" + 3449 " │ │ │ ├─ index: [SISUT.id]\n" + 3450 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 3451 " │ │ └─ Project\n" + 3452 " │ │ ├─ columns: [amyxq.KKGN5]\n" + 3453 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3454 " │ │ ├─ index: [AMYXQ.KKGN5]\n" + 3455 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 3456 " │ └─ HashLookup\n" + 3457 " │ ├─ left-key: (ufc.T4IBQ)\n" + 3458 " │ ├─ right-key: (cla.FTQLQ)\n" + 3459 " │ └─ TableAlias(cla)\n" + 3460 " │ └─ Table\n" + 3461 " │ └─ name: YK2GW\n" + 3462 " └─ HashLookup\n" + 3463 " ├─ left-key: (ufc.ZH72S)\n" + 3464 " ├─ right-key: (nd.ZH72S)\n" + 3465 " └─ TableAlias(nd)\n" + 3466 " └─ IndexedTableAccess(E2I7U)\n" + 3467 " ├─ index: [E2I7U.ZH72S]\n" + 3468 " └─ filters: [{(NULL, ∞)}]\n" + 3469 "", 3470 ExpectedAnalysis: "Distinct\n" + 3471 " └─ Project\n" + 3472 " ├─ columns: [ufc.id, ufc.T4IBQ, ufc.ZH72S, ufc.AMYXQ, ufc.KTNZ2, ufc.HIID2, ufc.DN3OQ, ufc.VVKNB, ufc.SH7TP, ufc.SRZZO, ufc.QZ6VT]\n" + 3473 " └─ HashJoin (estimated cost=4593798.290 rows=4988719) (actual rows=0 loops=1)\n" + 3474 " ├─ (nd.ZH72S = ufc.ZH72S)\n" + 3475 " ├─ HashJoin (estimated cost=4584754.200 rows=4487510) (actual rows=0 loops=1)\n" + 3476 " │ ├─ (cla.FTQLQ = ufc.T4IBQ)\n" + 3477 " │ ├─ Project\n" + 3478 " │ │ ├─ columns: [ufc.id, ufc.T4IBQ, ufc.ZH72S, ufc.AMYXQ, ufc.KTNZ2, ufc.HIID2, ufc.DN3OQ, ufc.VVKNB, ufc.SH7TP, ufc.SRZZO, ufc.QZ6VT]\n" + 3479 " │ │ └─ Filter\n" + 3480 " │ │ ├─ amyxq.KKGN5 IS NULL\n" + 3481 " │ │ └─ LeftOuterMergeJoin (estimated cost=109840579.580 rows=5983347) (actual rows=0 loops=1)\n" + 3482 " │ │ ├─ cmp: (ufc.id = amyxq.KKGN5)\n" + 3483 " │ │ ├─ TableAlias(ufc)\n" + 3484 " │ │ │ └─ IndexedTableAccess(SISUT)\n" + 3485 " │ │ │ ├─ index: [SISUT.id]\n" + 3486 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 3487 " │ │ └─ Project\n" + 3488 " │ │ ├─ columns: [amyxq.KKGN5]\n" + 3489 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3490 " │ │ ├─ index: [AMYXQ.KKGN5]\n" + 3491 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 3492 " │ └─ HashLookup\n" + 3493 " │ ├─ left-key: (ufc.T4IBQ)\n" + 3494 " │ ├─ right-key: (cla.FTQLQ)\n" + 3495 " │ └─ TableAlias(cla)\n" + 3496 " │ └─ Table\n" + 3497 " │ └─ name: YK2GW\n" + 3498 " └─ HashLookup\n" + 3499 " ├─ left-key: (ufc.ZH72S)\n" + 3500 " ├─ right-key: (nd.ZH72S)\n" + 3501 " └─ TableAlias(nd)\n" + 3502 " └─ IndexedTableAccess(E2I7U)\n" + 3503 " ├─ index: [E2I7U.ZH72S]\n" + 3504 " └─ filters: [{(NULL, ∞)}]\n" + 3505 "", 3506 }, 3507 { 3508 Query: ` 3509 SELECT DISTINCT 3510 ufc.* 3511 FROM 3512 SISUT ufc 3513 INNER JOIN 3514 E2I7U nd 3515 ON 3516 nd.ZH72S = ufc.ZH72S 3517 INNER JOIN 3518 YK2GW cla 3519 ON 3520 cla.FTQLQ = ufc.T4IBQ 3521 WHERE 3522 nd.ZH72S IS NOT NULL 3523 AND 3524 ufc.id NOT IN (SELECT KKGN5 FROM AMYXQ) 3525 `, 3526 ExpectedPlan: "Distinct\n" + 3527 " └─ Project\n" + 3528 " ├─ columns: [ufc.id:0!null, ufc.T4IBQ:1, ufc.ZH72S:2, ufc.AMYXQ:3, ufc.KTNZ2:4, ufc.HIID2:5, ufc.DN3OQ:6, ufc.VVKNB:7, ufc.SH7TP:8, ufc.SRZZO:9, ufc.QZ6VT:10]\n" + 3529 " └─ HashJoin\n" + 3530 " ├─ Eq\n" + 3531 " │ ├─ nd.ZH72S:48\n" + 3532 " │ └─ ufc.ZH72S:2\n" + 3533 " ├─ HashJoin\n" + 3534 " │ ├─ Eq\n" + 3535 " │ │ ├─ cla.FTQLQ:12!null\n" + 3536 " │ │ └─ ufc.T4IBQ:1\n" + 3537 " │ ├─ Project\n" + 3538 " │ │ ├─ columns: [ufc.id:0!null, ufc.T4IBQ:1, ufc.ZH72S:2, ufc.AMYXQ:3, ufc.KTNZ2:4, ufc.HIID2:5, ufc.DN3OQ:6, ufc.VVKNB:7, ufc.SH7TP:8, ufc.SRZZO:9, ufc.QZ6VT:10]\n" + 3539 " │ │ └─ Filter\n" + 3540 " │ │ ├─ amyxq.KKGN5:11 IS NULL\n" + 3541 " │ │ └─ LeftOuterMergeJoin\n" + 3542 " │ │ ├─ cmp: Eq\n" + 3543 " │ │ │ ├─ ufc.id:0!null\n" + 3544 " │ │ │ └─ amyxq.KKGN5:11\n" + 3545 " │ │ ├─ TableAlias(ufc)\n" + 3546 " │ │ │ └─ IndexedTableAccess(SISUT)\n" + 3547 " │ │ │ ├─ index: [SISUT.id]\n" + 3548 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 3549 " │ │ │ ├─ colSet: (1-11)\n" + 3550 " │ │ │ ├─ tableId: 1\n" + 3551 " │ │ │ └─ Table\n" + 3552 " │ │ │ ├─ name: SISUT\n" + 3553 " │ │ │ └─ columns: [id t4ibq zh72s amyxq ktnz2 hiid2 dn3oq vvknb sh7tp srzzo qz6vt]\n" + 3554 " │ │ └─ Project\n" + 3555 " │ │ ├─ columns: [amyxq.KKGN5:7]\n" + 3556 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3557 " │ │ ├─ index: [AMYXQ.KKGN5]\n" + 3558 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 3559 " │ │ ├─ colSet: (59-66)\n" + 3560 " │ │ ├─ tableId: 4\n" + 3561 " │ │ └─ Table\n" + 3562 " │ │ ├─ name: AMYXQ\n" + 3563 " │ │ └─ columns: [id gxlub luevy xqdyt amyxq oztqf z35gy kkgn5]\n" + 3564 " │ └─ HashLookup\n" + 3565 " │ ├─ left-key: TUPLE(ufc.T4IBQ:1)\n" + 3566 " │ ├─ right-key: TUPLE(cla.FTQLQ:1!null)\n" + 3567 " │ └─ TableAlias(cla)\n" + 3568 " │ └─ ProcessTable\n" + 3569 " │ └─ Table\n" + 3570 " │ ├─ name: YK2GW\n" + 3571 " │ └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 3572 " └─ HashLookup\n" + 3573 " ├─ left-key: TUPLE(ufc.ZH72S:2)\n" + 3574 " ├─ right-key: TUPLE(nd.ZH72S:7)\n" + 3575 " └─ TableAlias(nd)\n" + 3576 " └─ IndexedTableAccess(E2I7U)\n" + 3577 " ├─ index: [E2I7U.ZH72S]\n" + 3578 " ├─ static: [{(NULL, ∞)}]\n" + 3579 " ├─ colSet: (12-28)\n" + 3580 " ├─ tableId: 2\n" + 3581 " └─ Table\n" + 3582 " ├─ name: E2I7U\n" + 3583 " └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 3584 "", 3585 ExpectedEstimates: "Distinct\n" + 3586 " └─ Project\n" + 3587 " ├─ columns: [ufc.id, ufc.T4IBQ, ufc.ZH72S, ufc.AMYXQ, ufc.KTNZ2, ufc.HIID2, ufc.DN3OQ, ufc.VVKNB, ufc.SH7TP, ufc.SRZZO, ufc.QZ6VT]\n" + 3588 " └─ HashJoin (estimated cost=4593798.290 rows=4988719)\n" + 3589 " ├─ (nd.ZH72S = ufc.ZH72S)\n" + 3590 " ├─ HashJoin (estimated cost=4584754.200 rows=4487510)\n" + 3591 " │ ├─ (cla.FTQLQ = ufc.T4IBQ)\n" + 3592 " │ ├─ Project\n" + 3593 " │ │ ├─ columns: [ufc.id, ufc.T4IBQ, ufc.ZH72S, ufc.AMYXQ, ufc.KTNZ2, ufc.HIID2, ufc.DN3OQ, ufc.VVKNB, ufc.SH7TP, ufc.SRZZO, ufc.QZ6VT]\n" + 3594 " │ │ └─ Filter\n" + 3595 " │ │ ├─ amyxq.KKGN5 IS NULL\n" + 3596 " │ │ └─ LeftOuterMergeJoin (estimated cost=109840579.580 rows=5983347)\n" + 3597 " │ │ ├─ cmp: (ufc.id = amyxq.KKGN5)\n" + 3598 " │ │ ├─ TableAlias(ufc)\n" + 3599 " │ │ │ └─ IndexedTableAccess(SISUT)\n" + 3600 " │ │ │ ├─ index: [SISUT.id]\n" + 3601 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 3602 " │ │ └─ Project\n" + 3603 " │ │ ├─ columns: [amyxq.KKGN5]\n" + 3604 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3605 " │ │ ├─ index: [AMYXQ.KKGN5]\n" + 3606 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 3607 " │ └─ HashLookup\n" + 3608 " │ ├─ left-key: (ufc.T4IBQ)\n" + 3609 " │ ├─ right-key: (cla.FTQLQ)\n" + 3610 " │ └─ TableAlias(cla)\n" + 3611 " │ └─ Table\n" + 3612 " │ └─ name: YK2GW\n" + 3613 " └─ HashLookup\n" + 3614 " ├─ left-key: (ufc.ZH72S)\n" + 3615 " ├─ right-key: (nd.ZH72S)\n" + 3616 " └─ TableAlias(nd)\n" + 3617 " └─ IndexedTableAccess(E2I7U)\n" + 3618 " ├─ index: [E2I7U.ZH72S]\n" + 3619 " └─ filters: [{(NULL, ∞)}]\n" + 3620 "", 3621 ExpectedAnalysis: "Distinct\n" + 3622 " └─ Project\n" + 3623 " ├─ columns: [ufc.id, ufc.T4IBQ, ufc.ZH72S, ufc.AMYXQ, ufc.KTNZ2, ufc.HIID2, ufc.DN3OQ, ufc.VVKNB, ufc.SH7TP, ufc.SRZZO, ufc.QZ6VT]\n" + 3624 " └─ HashJoin (estimated cost=4593798.290 rows=4988719) (actual rows=0 loops=1)\n" + 3625 " ├─ (nd.ZH72S = ufc.ZH72S)\n" + 3626 " ├─ HashJoin (estimated cost=4584754.200 rows=4487510) (actual rows=0 loops=1)\n" + 3627 " │ ├─ (cla.FTQLQ = ufc.T4IBQ)\n" + 3628 " │ ├─ Project\n" + 3629 " │ │ ├─ columns: [ufc.id, ufc.T4IBQ, ufc.ZH72S, ufc.AMYXQ, ufc.KTNZ2, ufc.HIID2, ufc.DN3OQ, ufc.VVKNB, ufc.SH7TP, ufc.SRZZO, ufc.QZ6VT]\n" + 3630 " │ │ └─ Filter\n" + 3631 " │ │ ├─ amyxq.KKGN5 IS NULL\n" + 3632 " │ │ └─ LeftOuterMergeJoin (estimated cost=109840579.580 rows=5983347) (actual rows=0 loops=1)\n" + 3633 " │ │ ├─ cmp: (ufc.id = amyxq.KKGN5)\n" + 3634 " │ │ ├─ TableAlias(ufc)\n" + 3635 " │ │ │ └─ IndexedTableAccess(SISUT)\n" + 3636 " │ │ │ ├─ index: [SISUT.id]\n" + 3637 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 3638 " │ │ └─ Project\n" + 3639 " │ │ ├─ columns: [amyxq.KKGN5]\n" + 3640 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 3641 " │ │ ├─ index: [AMYXQ.KKGN5]\n" + 3642 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 3643 " │ └─ HashLookup\n" + 3644 " │ ├─ left-key: (ufc.T4IBQ)\n" + 3645 " │ ├─ right-key: (cla.FTQLQ)\n" + 3646 " │ └─ TableAlias(cla)\n" + 3647 " │ └─ Table\n" + 3648 " │ └─ name: YK2GW\n" + 3649 " └─ HashLookup\n" + 3650 " ├─ left-key: (ufc.ZH72S)\n" + 3651 " ├─ right-key: (nd.ZH72S)\n" + 3652 " └─ TableAlias(nd)\n" + 3653 " └─ IndexedTableAccess(E2I7U)\n" + 3654 " ├─ index: [E2I7U.ZH72S]\n" + 3655 " └─ filters: [{(NULL, ∞)}]\n" + 3656 "", 3657 }, 3658 { 3659 Query: ` 3660 SELECT 3661 ums.* 3662 FROM 3663 FG26Y ums 3664 INNER JOIN 3665 YK2GW cla 3666 ON 3667 cla.FTQLQ = ums.T4IBQ 3668 WHERE 3669 ums.id NOT IN (SELECT JOGI6 FROM SZQWJ) 3670 `, 3671 ExpectedPlan: "Project\n" + 3672 " ├─ columns: [ums.id:0!null, ums.T4IBQ:1, ums.ner:2, ums.ber:3, ums.hr:4, ums.mmr:5, ums.QZ6VT:6]\n" + 3673 " └─ LookupJoin\n" + 3674 " ├─ Project\n" + 3675 " │ ├─ columns: [ums.id:0!null, ums.T4IBQ:1, ums.ner:2, ums.ber:3, ums.hr:4, ums.mmr:5, ums.QZ6VT:6]\n" + 3676 " │ └─ Filter\n" + 3677 " │ ├─ szqwj.JOGI6:7 IS NULL\n" + 3678 " │ └─ LeftOuterLookupJoin\n" + 3679 " │ ├─ TableAlias(ums)\n" + 3680 " │ │ └─ ProcessTable\n" + 3681 " │ │ └─ Table\n" + 3682 " │ │ ├─ name: FG26Y\n" + 3683 " │ │ └─ columns: [id t4ibq ner ber hr mmr qz6vt]\n" + 3684 " │ └─ Project\n" + 3685 " │ ├─ columns: [szqwj.JOGI6:4]\n" + 3686 " │ └─ IndexedTableAccess(SZQWJ)\n" + 3687 " │ ├─ index: [SZQWJ.JOGI6]\n" + 3688 " │ ├─ keys: [ums.id:0!null]\n" + 3689 " │ ├─ colSet: (38-42)\n" + 3690 " │ ├─ tableId: 3\n" + 3691 " │ └─ Table\n" + 3692 " │ ├─ name: SZQWJ\n" + 3693 " │ └─ columns: [id gxlub ch3fr d237e jogi6]\n" + 3694 " └─ TableAlias(cla)\n" + 3695 " └─ IndexedTableAccess(YK2GW)\n" + 3696 " ├─ index: [YK2GW.FTQLQ]\n" + 3697 " ├─ keys: [ums.T4IBQ:1]\n" + 3698 " ├─ colSet: (8-37)\n" + 3699 " ├─ tableId: 2\n" + 3700 " └─ Table\n" + 3701 " ├─ name: YK2GW\n" + 3702 " └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 3703 "", 3704 ExpectedEstimates: "Project\n" + 3705 " ├─ columns: [ums.id, ums.T4IBQ, ums.ner, ums.ber, ums.hr, ums.mmr, ums.QZ6VT]\n" + 3706 " └─ LookupJoin (estimated cost=3095.400 rows=938)\n" + 3707 " ├─ Project\n" + 3708 " │ ├─ columns: [ums.id, ums.T4IBQ, ums.ner, ums.ber, ums.hr, ums.mmr, ums.QZ6VT]\n" + 3709 " │ └─ Filter\n" + 3710 " │ ├─ szqwj.JOGI6 IS NULL\n" + 3711 " │ └─ LeftOuterLookupJoin (estimated cost=3899.000 rows=1251)\n" + 3712 " │ ├─ TableAlias(ums)\n" + 3713 " │ │ └─ Table\n" + 3714 " │ │ └─ name: FG26Y\n" + 3715 " │ └─ Project\n" + 3716 " │ ├─ columns: [szqwj.JOGI6]\n" + 3717 " │ └─ IndexedTableAccess(SZQWJ)\n" + 3718 " │ ├─ index: [SZQWJ.JOGI6]\n" + 3719 " │ └─ keys: ums.id\n" + 3720 " └─ TableAlias(cla)\n" + 3721 " └─ IndexedTableAccess(YK2GW)\n" + 3722 " ├─ index: [YK2GW.FTQLQ]\n" + 3723 " └─ keys: ums.T4IBQ\n" + 3724 "", 3725 ExpectedAnalysis: "Project\n" + 3726 " ├─ columns: [ums.id, ums.T4IBQ, ums.ner, ums.ber, ums.hr, ums.mmr, ums.QZ6VT]\n" + 3727 " └─ LookupJoin (estimated cost=3095.400 rows=938) (actual rows=0 loops=1)\n" + 3728 " ├─ Project\n" + 3729 " │ ├─ columns: [ums.id, ums.T4IBQ, ums.ner, ums.ber, ums.hr, ums.mmr, ums.QZ6VT]\n" + 3730 " │ └─ Filter\n" + 3731 " │ ├─ szqwj.JOGI6 IS NULL\n" + 3732 " │ └─ LeftOuterLookupJoin (estimated cost=3899.000 rows=1251) (actual rows=0 loops=1)\n" + 3733 " │ ├─ TableAlias(ums)\n" + 3734 " │ │ └─ Table\n" + 3735 " │ │ └─ name: FG26Y\n" + 3736 " │ └─ Project\n" + 3737 " │ ├─ columns: [szqwj.JOGI6]\n" + 3738 " │ └─ IndexedTableAccess(SZQWJ)\n" + 3739 " │ ├─ index: [SZQWJ.JOGI6]\n" + 3740 " │ └─ keys: ums.id\n" + 3741 " └─ TableAlias(cla)\n" + 3742 " └─ IndexedTableAccess(YK2GW)\n" + 3743 " ├─ index: [YK2GW.FTQLQ]\n" + 3744 " └─ keys: ums.T4IBQ\n" + 3745 "", 3746 }, 3747 { 3748 Query: ` 3749 SELECT 3750 mf.id AS id, 3751 cla.FTQLQ AS T4IBQ, 3752 nd.TW55N AS UWBAI, 3753 aac.BTXC5 AS TPXBU, 3754 mf.FSDY2 AS FSDY2 3755 FROM 3756 HGMQ6 mf 3757 INNER JOIN 3758 THNTS bs 3759 ON 3760 bs.id = mf.GXLUB 3761 INNER JOIN 3762 YK2GW cla 3763 ON 3764 cla.id = bs.IXUXU 3765 INNER JOIN 3766 E2I7U nd 3767 ON 3768 nd.id = mf.LUEVY 3769 INNER JOIN 3770 TPXBU aac 3771 ON 3772 aac.id = mf.M22QN 3773 WHERE 3774 ( 3775 mf.QQV4M IS NOT NULL 3776 AND 3777 ( 3778 (SELECT TJ5D2.SWCQV FROM SZW6V TJ5D2 WHERE TJ5D2.id = mf.QQV4M) = 1 3779 OR 3780 (SELECT nd.id FROM E2I7U nd WHERE nd.TW55N = 3781 (SELECT TJ5D2.H4DMT FROM SZW6V TJ5D2 3782 WHERE TJ5D2.id = mf.QQV4M)) 3783 <> mf.LUEVY 3784 ) 3785 ) 3786 OR 3787 ( 3788 mf.TEUJA IS NOT NULL 3789 AND 3790 mf.TEUJA IN 3791 ( 3792 SELECT 3793 umf.id AS ORB3K 3794 FROM 3795 SZW6V TJ5D2 3796 INNER JOIN 3797 NZKPM umf 3798 ON 3799 umf.T4IBQ = TJ5D2.T4IBQ 3800 AND 3801 umf.FGG57 = TJ5D2.V7UFH 3802 AND 3803 umf.SYPKF = TJ5D2.SYPKF 3804 WHERE 3805 TJ5D2.SWCQV = 0 3806 AND 3807 TJ5D2.id NOT IN (SELECT QQV4M FROM HGMQ6 WHERE QQV4M IS NOT NULL) 3808 ) 3809 ) 3810 `, 3811 ExpectedPlan: "Project\n" + 3812 " ├─ columns: [mf.id:0!null as id, cla.FTQLQ:42!null as T4IBQ, nd.TW55N:23!null as UWBAI, aac.BTXC5:18 as TPXBU, mf.FSDY2:10!null as FSDY2]\n" + 3813 " └─ Filter\n" + 3814 " ├─ Or\n" + 3815 " │ ├─ AND\n" + 3816 " │ │ ├─ NOT\n" + 3817 " │ │ │ └─ mf.QQV4M:15 IS NULL\n" + 3818 " │ │ └─ Or\n" + 3819 " │ │ ├─ Eq\n" + 3820 " │ │ │ ├─ Subquery\n" + 3821 " │ │ │ │ ├─ cacheable: false\n" + 3822 " │ │ │ │ ├─ alias-string: select TJ5D2.SWCQV from SZW6V as TJ5D2 where TJ5D2.id = mf.QQV4M\n" + 3823 " │ │ │ │ └─ Project\n" + 3824 " │ │ │ │ ├─ columns: [tj5d2.SWCQV:72!null]\n" + 3825 " │ │ │ │ └─ Filter\n" + 3826 " │ │ │ │ ├─ Eq\n" + 3827 " │ │ │ │ │ ├─ tj5d2.id:71!null\n" + 3828 " │ │ │ │ │ └─ mf.QQV4M:15\n" + 3829 " │ │ │ │ └─ TableAlias(tj5d2)\n" + 3830 " │ │ │ │ └─ IndexedTableAccess(SZW6V)\n" + 3831 " │ │ │ │ ├─ index: [SZW6V.id]\n" + 3832 " │ │ │ │ ├─ keys: [mf.QQV4M:15]\n" + 3833 " │ │ │ │ ├─ colSet: (72-79)\n" + 3834 " │ │ │ │ ├─ tableId: 6\n" + 3835 " │ │ │ │ └─ Table\n" + 3836 " │ │ │ │ ├─ name: SZW6V\n" + 3837 " │ │ │ │ └─ columns: [id swcqv]\n" + 3838 " │ │ │ └─ 1 (tinyint)\n" + 3839 " │ │ └─ NOT\n" + 3840 " │ │ └─ Eq\n" + 3841 " │ │ ├─ Subquery\n" + 3842 " │ │ │ ├─ cacheable: false\n" + 3843 " │ │ │ ├─ alias-string: select nd.id from E2I7U as nd where nd.TW55N = (select TJ5D2.H4DMT from SZW6V as TJ5D2 where TJ5D2.id = mf.QQV4M)\n" + 3844 " │ │ │ └─ Project\n" + 3845 " │ │ │ ├─ columns: [nd.id:71!null]\n" + 3846 " │ │ │ └─ Filter\n" + 3847 " │ │ │ ├─ Eq\n" + 3848 " │ │ │ │ ├─ nd.TW55N:74!null\n" + 3849 " │ │ │ │ └─ Subquery\n" + 3850 " │ │ │ │ ├─ cacheable: false\n" + 3851 " │ │ │ │ ├─ alias-string: select TJ5D2.H4DMT from SZW6V as TJ5D2 where TJ5D2.id = mf.QQV4M\n" + 3852 " │ │ │ │ └─ Project\n" + 3853 " │ │ │ │ ├─ columns: [tj5d2.H4DMT:89!null]\n" + 3854 " │ │ │ │ └─ Filter\n" + 3855 " │ │ │ │ ├─ Eq\n" + 3856 " │ │ │ │ │ ├─ tj5d2.id:88!null\n" + 3857 " │ │ │ │ │ └─ mf.QQV4M:15\n" + 3858 " │ │ │ │ └─ TableAlias(tj5d2)\n" + 3859 " │ │ │ │ └─ IndexedTableAccess(SZW6V)\n" + 3860 " │ │ │ │ ├─ index: [SZW6V.id]\n" + 3861 " │ │ │ │ ├─ keys: [mf.QQV4M:15]\n" + 3862 " │ │ │ │ ├─ colSet: (97-104)\n" + 3863 " │ │ │ │ ├─ tableId: 8\n" + 3864 " │ │ │ │ └─ Table\n" + 3865 " │ │ │ │ ├─ name: SZW6V\n" + 3866 " │ │ │ │ └─ columns: [id h4dmt]\n" + 3867 " │ │ │ └─ TableAlias(nd)\n" + 3868 " │ │ │ └─ Table\n" + 3869 " │ │ │ ├─ name: E2I7U\n" + 3870 " │ │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 3871 " │ │ │ ├─ colSet: (80-96)\n" + 3872 " │ │ │ └─ tableId: 7\n" + 3873 " │ │ └─ mf.LUEVY:2!null\n" + 3874 " │ └─ AND\n" + 3875 " │ ├─ NOT\n" + 3876 " │ │ └─ mf.TEUJA:14 IS NULL\n" + 3877 " │ └─ InSubquery\n" + 3878 " │ ├─ left: mf.TEUJA:14\n" + 3879 " │ └─ right: Subquery\n" + 3880 " │ ├─ cacheable: true\n" + 3881 " │ ├─ alias-string: select umf.id as ORB3K from SZW6V as TJ5D2 join NZKPM as umf on umf.T4IBQ = TJ5D2.T4IBQ and umf.FGG57 = TJ5D2.V7UFH and umf.SYPKF = TJ5D2.SYPKF where TJ5D2.SWCQV = 0 and TJ5D2.id not in (select QQV4M from HGMQ6 where QQV4M is not null)\n" + 3882 " │ └─ Project\n" + 3883 " │ ├─ columns: [umf.id:79!null as ORB3K]\n" + 3884 " │ └─ LookupJoin\n" + 3885 " │ ├─ AND\n" + 3886 " │ │ ├─ Eq\n" + 3887 " │ │ │ ├─ umf.FGG57:81\n" + 3888 " │ │ │ └─ tj5d2.V7UFH:73!null\n" + 3889 " │ │ └─ Eq\n" + 3890 " │ │ ├─ umf.SYPKF:87\n" + 3891 " │ │ └─ tj5d2.SYPKF:74!null\n" + 3892 " │ ├─ Project\n" + 3893 " │ │ ├─ columns: [tj5d2.id:71!null, tj5d2.T4IBQ:72!null, tj5d2.V7UFH:73!null, tj5d2.SYPKF:74!null, tj5d2.H4DMT:75!null, tj5d2.SWCQV:76!null, tj5d2.YKSSU:77, tj5d2.FHCYT:78]\n" + 3894 " │ │ └─ Filter\n" + 3895 " │ │ ├─ hgmq6.QQV4M:79 IS NULL\n" + 3896 " │ │ └─ LeftOuterLookupJoin\n" + 3897 " │ │ ├─ Filter\n" + 3898 " │ │ │ ├─ Eq\n" + 3899 " │ │ │ │ ├─ tj5d2.SWCQV:76!null\n" + 3900 " │ │ │ │ └─ 0 (tinyint)\n" + 3901 " │ │ │ └─ TableAlias(tj5d2)\n" + 3902 " │ │ │ └─ Table\n" + 3903 " │ │ │ ├─ name: SZW6V\n" + 3904 " │ │ │ ├─ columns: [id t4ibq v7ufh sypkf h4dmt swcqv ykssu fhcyt]\n" + 3905 " │ │ │ ├─ colSet: (105-112)\n" + 3906 " │ │ │ └─ tableId: 9\n" + 3907 " │ │ └─ Filter\n" + 3908 " │ │ ├─ NOT\n" + 3909 " │ │ │ └─ hgmq6.QQV4M:71 IS NULL\n" + 3910 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 3911 " │ │ ├─ index: [HGMQ6.QQV4M]\n" + 3912 " │ │ ├─ keys: [tj5d2.id:71!null]\n" + 3913 " │ │ ├─ colSet: (138-154)\n" + 3914 " │ │ ├─ tableId: 11\n" + 3915 " │ │ └─ Table\n" + 3916 " │ │ ├─ name: HGMQ6\n" + 3917 " │ │ └─ columns: [qqv4m]\n" + 3918 " │ └─ TableAlias(umf)\n" + 3919 " │ └─ IndexedTableAccess(NZKPM)\n" + 3920 " │ ├─ index: [NZKPM.T4IBQ]\n" + 3921 " │ ├─ keys: [tj5d2.T4IBQ:72!null]\n" + 3922 " │ ├─ colSet: (113-137)\n" + 3923 " │ ├─ tableId: 10\n" + 3924 " │ └─ Table\n" + 3925 " │ ├─ name: NZKPM\n" + 3926 " │ └─ columns: [id t4ibq fgg57 sshpj nla6o sfj6l tjpt7 arn5p sypkf ivfmk ide43 az6sp fsdy2 xosd4 hmw4h s76om vaf zroh6 qcgts lnfm6 tvawl hdlcl bhhw6 fhcyt qz6vt]\n" + 3927 " └─ HashJoin\n" + 3928 " ├─ Eq\n" + 3929 " │ ├─ bs.id:37!null\n" + 3930 " │ └─ mf.GXLUB:1!null\n" + 3931 " ├─ HashJoin\n" + 3932 " │ ├─ Eq\n" + 3933 " │ │ ├─ nd.id:20!null\n" + 3934 " │ │ └─ mf.LUEVY:2!null\n" + 3935 " │ ├─ MergeJoin\n" + 3936 " │ │ ├─ cmp: Eq\n" + 3937 " │ │ │ ├─ mf.M22QN:3!null\n" + 3938 " │ │ │ └─ aac.id:17!null\n" + 3939 " │ │ ├─ TableAlias(mf)\n" + 3940 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 3941 " │ │ │ ├─ index: [HGMQ6.M22QN]\n" + 3942 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 3943 " │ │ │ ├─ colSet: (1-17)\n" + 3944 " │ │ │ ├─ tableId: 1\n" + 3945 " │ │ │ └─ Table\n" + 3946 " │ │ │ ├─ name: HGMQ6\n" + 3947 " │ │ │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 3948 " │ │ └─ TableAlias(aac)\n" + 3949 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 3950 " │ │ ├─ index: [TPXBU.id]\n" + 3951 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 3952 " │ │ ├─ colSet: (69-71)\n" + 3953 " │ │ ├─ tableId: 5\n" + 3954 " │ │ └─ Table\n" + 3955 " │ │ ├─ name: TPXBU\n" + 3956 " │ │ └─ columns: [id btxc5 fhcyt]\n" + 3957 " │ └─ HashLookup\n" + 3958 " │ ├─ left-key: TUPLE(mf.LUEVY:2!null)\n" + 3959 " │ ├─ right-key: TUPLE(nd.id:0!null)\n" + 3960 " │ └─ TableAlias(nd)\n" + 3961 " │ └─ ProcessTable\n" + 3962 " │ └─ Table\n" + 3963 " │ ├─ name: E2I7U\n" + 3964 " │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 3965 " └─ HashLookup\n" + 3966 " ├─ left-key: TUPLE(mf.GXLUB:1!null)\n" + 3967 " ├─ right-key: TUPLE(bs.id:0!null)\n" + 3968 " └─ MergeJoin\n" + 3969 " ├─ cmp: Eq\n" + 3970 " │ ├─ bs.IXUXU:39\n" + 3971 " │ └─ cla.id:41!null\n" + 3972 " ├─ TableAlias(bs)\n" + 3973 " │ └─ IndexedTableAccess(THNTS)\n" + 3974 " │ ├─ index: [THNTS.IXUXU]\n" + 3975 " │ ├─ static: [{[NULL, ∞)}]\n" + 3976 " │ ├─ colSet: (18-21)\n" + 3977 " │ ├─ tableId: 2\n" + 3978 " │ └─ Table\n" + 3979 " │ ├─ name: THNTS\n" + 3980 " │ └─ columns: [id nfryn ixuxu fhcyt]\n" + 3981 " └─ TableAlias(cla)\n" + 3982 " └─ IndexedTableAccess(YK2GW)\n" + 3983 " ├─ index: [YK2GW.id]\n" + 3984 " ├─ static: [{[NULL, ∞)}]\n" + 3985 " ├─ colSet: (22-51)\n" + 3986 " ├─ tableId: 3\n" + 3987 " └─ Table\n" + 3988 " ├─ name: YK2GW\n" + 3989 " └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 3990 "", 3991 ExpectedEstimates: "Project\n" + 3992 " ├─ columns: [mf.id as id, cla.FTQLQ as T4IBQ, nd.TW55N as UWBAI, aac.BTXC5 as TPXBU, mf.FSDY2 as FSDY2]\n" + 3993 " └─ Filter\n" + 3994 " ├─ (((NOT(mf.QQV4M IS NULL)) AND ((Subquery\n" + 3995 " │ ├─ cacheable: false\n" + 3996 " │ └─ Project\n" + 3997 " │ ├─ columns: [tj5d2.SWCQV]\n" + 3998 " │ └─ Filter\n" + 3999 " │ ├─ (tj5d2.id = mf.QQV4M)\n" + 4000 " │ └─ TableAlias(tj5d2)\n" + 4001 " │ └─ IndexedTableAccess(SZW6V)\n" + 4002 " │ ├─ index: [SZW6V.id]\n" + 4003 " │ ├─ columns: [id swcqv]\n" + 4004 " │ └─ keys: mf.QQV4M\n" + 4005 " │ = 1) OR (NOT((Subquery\n" + 4006 " │ ├─ cacheable: false\n" + 4007 " │ └─ Project\n" + 4008 " │ ├─ columns: [nd.id]\n" + 4009 " │ └─ Filter\n" + 4010 " │ ├─ (nd.TW55N = Subquery\n" + 4011 " │ │ ├─ cacheable: false\n" + 4012 " │ │ └─ Project\n" + 4013 " │ │ ├─ columns: [tj5d2.H4DMT]\n" + 4014 " │ │ └─ Filter\n" + 4015 " │ │ ├─ (tj5d2.id = mf.QQV4M)\n" + 4016 " │ │ └─ TableAlias(tj5d2)\n" + 4017 " │ │ └─ IndexedTableAccess(SZW6V)\n" + 4018 " │ │ ├─ index: [SZW6V.id]\n" + 4019 " │ │ ├─ columns: [id h4dmt]\n" + 4020 " │ │ └─ keys: mf.QQV4M\n" + 4021 " │ │ )\n" + 4022 " │ └─ TableAlias(nd)\n" + 4023 " │ └─ Table\n" + 4024 " │ └─ name: E2I7U\n" + 4025 " │ = mf.LUEVY))))) OR ((NOT(mf.TEUJA IS NULL)) AND InSubquery\n" + 4026 " │ ├─ left: mf.TEUJA\n" + 4027 " │ └─ right: Subquery\n" + 4028 " │ ├─ cacheable: true\n" + 4029 " │ └─ Project\n" + 4030 " │ ├─ columns: [umf.id as ORB3K]\n" + 4031 " │ └─ LookupJoin\n" + 4032 " │ ├─ ((umf.FGG57 = tj5d2.V7UFH) AND (umf.SYPKF = tj5d2.SYPKF))\n" + 4033 " │ ├─ Project\n" + 4034 " │ │ ├─ columns: [tj5d2.id, tj5d2.T4IBQ, tj5d2.V7UFH, tj5d2.SYPKF, tj5d2.H4DMT, tj5d2.SWCQV, tj5d2.YKSSU, tj5d2.FHCYT]\n" + 4035 " │ │ └─ Filter\n" + 4036 " │ │ ├─ hgmq6.QQV4M IS NULL\n" + 4037 " │ │ └─ LeftOuterLookupJoin\n" + 4038 " │ │ ├─ Filter\n" + 4039 " │ │ │ ├─ (tj5d2.SWCQV = 0)\n" + 4040 " │ │ │ └─ TableAlias(tj5d2)\n" + 4041 " │ │ │ └─ Table\n" + 4042 " │ │ │ └─ name: SZW6V\n" + 4043 " │ │ └─ Filter\n" + 4044 " │ │ ├─ (NOT(hgmq6.QQV4M IS NULL))\n" + 4045 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4046 " │ │ ├─ index: [HGMQ6.QQV4M]\n" + 4047 " │ │ ├─ columns: [qqv4m]\n" + 4048 " │ │ └─ keys: tj5d2.id\n" + 4049 " │ └─ TableAlias(umf)\n" + 4050 " │ └─ IndexedTableAccess(NZKPM)\n" + 4051 " │ ├─ index: [NZKPM.T4IBQ]\n" + 4052 " │ └─ keys: tj5d2.T4IBQ\n" + 4053 " │ ))\n" + 4054 " └─ HashJoin (estimated cost=529702.380 rows=511969)\n" + 4055 " ├─ (bs.id = mf.GXLUB)\n" + 4056 " ├─ HashJoin (estimated cost=533734.380 rows=511969)\n" + 4057 " │ ├─ (nd.id = mf.LUEVY)\n" + 4058 " │ ├─ MergeJoin (estimated cost=647314.050 rows=511969)\n" + 4059 " │ │ ├─ cmp: (mf.M22QN = aac.id)\n" + 4060 " │ │ ├─ TableAlias(mf)\n" + 4061 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4062 " │ │ │ ├─ index: [HGMQ6.M22QN]\n" + 4063 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 4064 " │ │ └─ TableAlias(aac)\n" + 4065 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 4066 " │ │ ├─ index: [TPXBU.id]\n" + 4067 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 4068 " │ └─ HashLookup\n" + 4069 " │ ├─ left-key: (mf.LUEVY)\n" + 4070 " │ ├─ right-key: (nd.id)\n" + 4071 " │ └─ TableAlias(nd)\n" + 4072 " │ └─ Table\n" + 4073 " │ └─ name: E2I7U\n" + 4074 " └─ HashLookup\n" + 4075 " ├─ left-key: (mf.GXLUB)\n" + 4076 " ├─ right-key: (bs.id)\n" + 4077 " └─ MergeJoin\n" + 4078 " ├─ cmp: (bs.IXUXU = cla.id)\n" + 4079 " ├─ TableAlias(bs)\n" + 4080 " │ └─ IndexedTableAccess(THNTS)\n" + 4081 " │ ├─ index: [THNTS.IXUXU]\n" + 4082 " │ └─ filters: [{[NULL, ∞)}]\n" + 4083 " └─ TableAlias(cla)\n" + 4084 " └─ IndexedTableAccess(YK2GW)\n" + 4085 " ├─ index: [YK2GW.id]\n" + 4086 " └─ filters: [{[NULL, ∞)}]\n" + 4087 "", 4088 ExpectedAnalysis: "Project\n" + 4089 " ├─ columns: [mf.id as id, cla.FTQLQ as T4IBQ, nd.TW55N as UWBAI, aac.BTXC5 as TPXBU, mf.FSDY2 as FSDY2]\n" + 4090 " └─ Filter\n" + 4091 " ├─ (((NOT(mf.QQV4M IS NULL)) AND ((Subquery\n" + 4092 " │ ├─ cacheable: false\n" + 4093 " │ └─ Project\n" + 4094 " │ ├─ columns: [tj5d2.SWCQV]\n" + 4095 " │ └─ Filter\n" + 4096 " │ ├─ (tj5d2.id = mf.QQV4M)\n" + 4097 " │ └─ TableAlias(tj5d2)\n" + 4098 " │ └─ IndexedTableAccess(SZW6V)\n" + 4099 " │ ├─ index: [SZW6V.id]\n" + 4100 " │ ├─ columns: [id swcqv]\n" + 4101 " │ └─ keys: mf.QQV4M\n" + 4102 " │ = 1) OR (NOT((Subquery\n" + 4103 " │ ├─ cacheable: false\n" + 4104 " │ └─ Project\n" + 4105 " │ ├─ columns: [nd.id]\n" + 4106 " │ └─ Filter\n" + 4107 " │ ├─ (nd.TW55N = Subquery\n" + 4108 " │ │ ├─ cacheable: false\n" + 4109 " │ │ └─ Project\n" + 4110 " │ │ ├─ columns: [tj5d2.H4DMT]\n" + 4111 " │ │ └─ Filter\n" + 4112 " │ │ ├─ (tj5d2.id = mf.QQV4M)\n" + 4113 " │ │ └─ TableAlias(tj5d2)\n" + 4114 " │ │ └─ IndexedTableAccess(SZW6V)\n" + 4115 " │ │ ├─ index: [SZW6V.id]\n" + 4116 " │ │ ├─ columns: [id h4dmt]\n" + 4117 " │ │ └─ keys: mf.QQV4M\n" + 4118 " │ │ )\n" + 4119 " │ └─ TableAlias(nd)\n" + 4120 " │ └─ Table\n" + 4121 " │ └─ name: E2I7U\n" + 4122 " │ = mf.LUEVY))))) OR ((NOT(mf.TEUJA IS NULL)) AND InSubquery\n" + 4123 " │ ├─ left: mf.TEUJA\n" + 4124 " │ └─ right: Subquery\n" + 4125 " │ ├─ cacheable: true\n" + 4126 " │ └─ Project\n" + 4127 " │ ├─ columns: [umf.id as ORB3K]\n" + 4128 " │ └─ LookupJoin\n" + 4129 " │ ├─ ((umf.FGG57 = tj5d2.V7UFH) AND (umf.SYPKF = tj5d2.SYPKF))\n" + 4130 " │ ├─ Project\n" + 4131 " │ │ ├─ columns: [tj5d2.id, tj5d2.T4IBQ, tj5d2.V7UFH, tj5d2.SYPKF, tj5d2.H4DMT, tj5d2.SWCQV, tj5d2.YKSSU, tj5d2.FHCYT]\n" + 4132 " │ │ └─ Filter\n" + 4133 " │ │ ├─ hgmq6.QQV4M IS NULL\n" + 4134 " │ │ └─ LeftOuterLookupJoin\n" + 4135 " │ │ ├─ Filter\n" + 4136 " │ │ │ ├─ (tj5d2.SWCQV = 0)\n" + 4137 " │ │ │ └─ TableAlias(tj5d2)\n" + 4138 " │ │ │ └─ Table\n" + 4139 " │ │ │ └─ name: SZW6V\n" + 4140 " │ │ └─ Filter\n" + 4141 " │ │ ├─ (NOT(hgmq6.QQV4M IS NULL))\n" + 4142 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4143 " │ │ ├─ index: [HGMQ6.QQV4M]\n" + 4144 " │ │ ├─ columns: [qqv4m]\n" + 4145 " │ │ └─ keys: tj5d2.id\n" + 4146 " │ └─ TableAlias(umf)\n" + 4147 " │ └─ IndexedTableAccess(NZKPM)\n" + 4148 " │ ├─ index: [NZKPM.T4IBQ]\n" + 4149 " │ └─ keys: tj5d2.T4IBQ\n" + 4150 " │ ))\n" + 4151 " └─ HashJoin (estimated cost=529702.380 rows=511969) (actual rows=0 loops=1)\n" + 4152 " ├─ (bs.id = mf.GXLUB)\n" + 4153 " ├─ HashJoin (estimated cost=533734.380 rows=511969) (actual rows=0 loops=1)\n" + 4154 " │ ├─ (nd.id = mf.LUEVY)\n" + 4155 " │ ├─ MergeJoin (estimated cost=647314.050 rows=511969) (actual rows=0 loops=1)\n" + 4156 " │ │ ├─ cmp: (mf.M22QN = aac.id)\n" + 4157 " │ │ ├─ TableAlias(mf)\n" + 4158 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4159 " │ │ │ ├─ index: [HGMQ6.M22QN]\n" + 4160 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 4161 " │ │ └─ TableAlias(aac)\n" + 4162 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 4163 " │ │ ├─ index: [TPXBU.id]\n" + 4164 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 4165 " │ └─ HashLookup\n" + 4166 " │ ├─ left-key: (mf.LUEVY)\n" + 4167 " │ ├─ right-key: (nd.id)\n" + 4168 " │ └─ TableAlias(nd)\n" + 4169 " │ └─ Table\n" + 4170 " │ └─ name: E2I7U\n" + 4171 " └─ HashLookup\n" + 4172 " ├─ left-key: (mf.GXLUB)\n" + 4173 " ├─ right-key: (bs.id)\n" + 4174 " └─ MergeJoin\n" + 4175 " ├─ cmp: (bs.IXUXU = cla.id)\n" + 4176 " ├─ TableAlias(bs)\n" + 4177 " │ └─ IndexedTableAccess(THNTS)\n" + 4178 " │ ├─ index: [THNTS.IXUXU]\n" + 4179 " │ └─ filters: [{[NULL, ∞)}]\n" + 4180 " └─ TableAlias(cla)\n" + 4181 " └─ IndexedTableAccess(YK2GW)\n" + 4182 " ├─ index: [YK2GW.id]\n" + 4183 " └─ filters: [{[NULL, ∞)}]\n" + 4184 "", 4185 }, 4186 { 4187 Query: ` 4188 SELECT 4189 umf.* 4190 FROM 4191 NZKPM umf 4192 INNER JOIN 4193 E2I7U nd 4194 ON 4195 nd.FGG57 = umf.FGG57 4196 INNER JOIN 4197 YK2GW cla 4198 ON 4199 cla.FTQLQ = umf.T4IBQ 4200 WHERE 4201 nd.FGG57 IS NOT NULL 4202 AND 4203 umf.ARN5P <> 'N/A' 4204 AND 4205 umf.id NOT IN (SELECT TEUJA FROM HGMQ6) 4206 `, 4207 ExpectedPlan: "Project\n" + 4208 " ├─ columns: [umf.id:0!null, umf.T4IBQ:1, umf.FGG57:2, umf.SSHPJ:3, umf.NLA6O:4, umf.SFJ6L:5, umf.TJPT7:6, umf.ARN5P:7, umf.SYPKF:8, umf.IVFMK:9, umf.IDE43:10, umf.AZ6SP:11, umf.FSDY2:12, umf.XOSD4:13, umf.HMW4H:14, umf.S76OM:15, umf.vaf:16, umf.ZROH6:17, umf.QCGTS:18, umf.LNFM6:19, umf.TVAWL:20, umf.HDLCL:21, umf.BHHW6:22, umf.FHCYT:23, umf.QZ6VT:24]\n" + 4209 " └─ HashJoin\n" + 4210 " ├─ Eq\n" + 4211 " │ ├─ nd.FGG57:61\n" + 4212 " │ └─ umf.FGG57:2\n" + 4213 " ├─ HashJoin\n" + 4214 " │ ├─ Eq\n" + 4215 " │ │ ├─ cla.FTQLQ:26!null\n" + 4216 " │ │ └─ umf.T4IBQ:1\n" + 4217 " │ ├─ Project\n" + 4218 " │ │ ├─ columns: [umf.id:0!null, umf.T4IBQ:1, umf.FGG57:2, umf.SSHPJ:3, umf.NLA6O:4, umf.SFJ6L:5, umf.TJPT7:6, umf.ARN5P:7, umf.SYPKF:8, umf.IVFMK:9, umf.IDE43:10, umf.AZ6SP:11, umf.FSDY2:12, umf.XOSD4:13, umf.HMW4H:14, umf.S76OM:15, umf.vaf:16, umf.ZROH6:17, umf.QCGTS:18, umf.LNFM6:19, umf.TVAWL:20, umf.HDLCL:21, umf.BHHW6:22, umf.FHCYT:23, umf.QZ6VT:24]\n" + 4219 " │ │ └─ Filter\n" + 4220 " │ │ ├─ hgmq6.TEUJA:25 IS NULL\n" + 4221 " │ │ └─ LeftOuterMergeJoin\n" + 4222 " │ │ ├─ cmp: Eq\n" + 4223 " │ │ │ ├─ umf.id:0!null\n" + 4224 " │ │ │ └─ hgmq6.TEUJA:25\n" + 4225 " │ │ ├─ Filter\n" + 4226 " │ │ │ ├─ NOT\n" + 4227 " │ │ │ │ └─ Eq\n" + 4228 " │ │ │ │ ├─ umf.ARN5P:7\n" + 4229 " │ │ │ │ └─ N/A (longtext)\n" + 4230 " │ │ │ └─ TableAlias(umf)\n" + 4231 " │ │ │ └─ IndexedTableAccess(NZKPM)\n" + 4232 " │ │ │ ├─ index: [NZKPM.id]\n" + 4233 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 4234 " │ │ │ ├─ colSet: (1-25)\n" + 4235 " │ │ │ ├─ tableId: 1\n" + 4236 " │ │ │ └─ Table\n" + 4237 " │ │ │ ├─ name: NZKPM\n" + 4238 " │ │ │ └─ columns: [id t4ibq fgg57 sshpj nla6o sfj6l tjpt7 arn5p sypkf ivfmk ide43 az6sp fsdy2 xosd4 hmw4h s76om vaf zroh6 qcgts lnfm6 tvawl hdlcl bhhw6 fhcyt qz6vt]\n" + 4239 " │ │ └─ Project\n" + 4240 " │ │ ├─ columns: [hgmq6.TEUJA:14]\n" + 4241 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4242 " │ │ ├─ index: [HGMQ6.TEUJA]\n" + 4243 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 4244 " │ │ ├─ colSet: (73-89)\n" + 4245 " │ │ ├─ tableId: 4\n" + 4246 " │ │ └─ Table\n" + 4247 " │ │ ├─ name: HGMQ6\n" + 4248 " │ │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 4249 " │ └─ HashLookup\n" + 4250 " │ ├─ left-key: TUPLE(umf.T4IBQ:1)\n" + 4251 " │ ├─ right-key: TUPLE(cla.FTQLQ:1!null)\n" + 4252 " │ └─ TableAlias(cla)\n" + 4253 " │ └─ ProcessTable\n" + 4254 " │ └─ Table\n" + 4255 " │ ├─ name: YK2GW\n" + 4256 " │ └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 4257 " └─ HashLookup\n" + 4258 " ├─ left-key: TUPLE(umf.FGG57:2)\n" + 4259 " ├─ right-key: TUPLE(nd.FGG57:6)\n" + 4260 " └─ TableAlias(nd)\n" + 4261 " └─ IndexedTableAccess(E2I7U)\n" + 4262 " ├─ index: [E2I7U.FGG57]\n" + 4263 " ├─ static: [{(NULL, ∞)}]\n" + 4264 " ├─ colSet: (26-42)\n" + 4265 " ├─ tableId: 2\n" + 4266 " └─ Table\n" + 4267 " ├─ name: E2I7U\n" + 4268 " └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 4269 "", 4270 ExpectedEstimates: "Project\n" + 4271 " ├─ columns: [umf.id, umf.T4IBQ, umf.FGG57, umf.SSHPJ, umf.NLA6O, umf.SFJ6L, umf.TJPT7, umf.ARN5P, umf.SYPKF, umf.IVFMK, umf.IDE43, umf.AZ6SP, umf.FSDY2, umf.XOSD4, umf.HMW4H, umf.S76OM, umf.vaf, umf.ZROH6, umf.QCGTS, umf.LNFM6, umf.TVAWL, umf.HDLCL, umf.BHHW6, umf.FHCYT, umf.QZ6VT]\n" + 4272 " └─ HashJoin (estimated cost=501095.400 rows=479970)\n" + 4273 " ├─ (nd.FGG57 = umf.FGG57)\n" + 4274 " ├─ HashJoin (estimated cost=497063.400 rows=479970)\n" + 4275 " │ ├─ (cla.FTQLQ = umf.T4IBQ)\n" + 4276 " │ ├─ Project\n" + 4277 " │ │ ├─ columns: [umf.id, umf.T4IBQ, umf.FGG57, umf.SSHPJ, umf.NLA6O, umf.SFJ6L, umf.TJPT7, umf.ARN5P, umf.SYPKF, umf.IVFMK, umf.IDE43, umf.AZ6SP, umf.FSDY2, umf.XOSD4, umf.HMW4H, umf.S76OM, umf.vaf, umf.ZROH6, umf.QCGTS, umf.LNFM6, umf.TVAWL, umf.HDLCL, umf.BHHW6, umf.FHCYT, umf.QZ6VT]\n" + 4278 " │ │ └─ Filter\n" + 4279 " │ │ ├─ hgmq6.TEUJA IS NULL\n" + 4280 " │ │ └─ LeftOuterMergeJoin (estimated cost=14749123.200 rows=639961)\n" + 4281 " │ │ ├─ cmp: (umf.id = hgmq6.TEUJA)\n" + 4282 " │ │ ├─ Filter\n" + 4283 " │ │ │ ├─ (NOT((umf.ARN5P = 'N/A')))\n" + 4284 " │ │ │ └─ TableAlias(umf)\n" + 4285 " │ │ │ └─ IndexedTableAccess(NZKPM)\n" + 4286 " │ │ │ ├─ index: [NZKPM.id]\n" + 4287 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 4288 " │ │ └─ Project\n" + 4289 " │ │ ├─ columns: [hgmq6.TEUJA]\n" + 4290 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4291 " │ │ ├─ index: [HGMQ6.TEUJA]\n" + 4292 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 4293 " │ └─ HashLookup\n" + 4294 " │ ├─ left-key: (umf.T4IBQ)\n" + 4295 " │ ├─ right-key: (cla.FTQLQ)\n" + 4296 " │ └─ TableAlias(cla)\n" + 4297 " │ └─ Table\n" + 4298 " │ └─ name: YK2GW\n" + 4299 " └─ HashLookup\n" + 4300 " ├─ left-key: (umf.FGG57)\n" + 4301 " ├─ right-key: (nd.FGG57)\n" + 4302 " └─ TableAlias(nd)\n" + 4303 " └─ IndexedTableAccess(E2I7U)\n" + 4304 " ├─ index: [E2I7U.FGG57]\n" + 4305 " └─ filters: [{(NULL, ∞)}]\n" + 4306 "", 4307 ExpectedAnalysis: "Project\n" + 4308 " ├─ columns: [umf.id, umf.T4IBQ, umf.FGG57, umf.SSHPJ, umf.NLA6O, umf.SFJ6L, umf.TJPT7, umf.ARN5P, umf.SYPKF, umf.IVFMK, umf.IDE43, umf.AZ6SP, umf.FSDY2, umf.XOSD4, umf.HMW4H, umf.S76OM, umf.vaf, umf.ZROH6, umf.QCGTS, umf.LNFM6, umf.TVAWL, umf.HDLCL, umf.BHHW6, umf.FHCYT, umf.QZ6VT]\n" + 4309 " └─ HashJoin (estimated cost=501095.400 rows=479970) (actual rows=0 loops=1)\n" + 4310 " ├─ (nd.FGG57 = umf.FGG57)\n" + 4311 " ├─ HashJoin (estimated cost=497063.400 rows=479970) (actual rows=0 loops=1)\n" + 4312 " │ ├─ (cla.FTQLQ = umf.T4IBQ)\n" + 4313 " │ ├─ Project\n" + 4314 " │ │ ├─ columns: [umf.id, umf.T4IBQ, umf.FGG57, umf.SSHPJ, umf.NLA6O, umf.SFJ6L, umf.TJPT7, umf.ARN5P, umf.SYPKF, umf.IVFMK, umf.IDE43, umf.AZ6SP, umf.FSDY2, umf.XOSD4, umf.HMW4H, umf.S76OM, umf.vaf, umf.ZROH6, umf.QCGTS, umf.LNFM6, umf.TVAWL, umf.HDLCL, umf.BHHW6, umf.FHCYT, umf.QZ6VT]\n" + 4315 " │ │ └─ Filter\n" + 4316 " │ │ ├─ hgmq6.TEUJA IS NULL\n" + 4317 " │ │ └─ LeftOuterMergeJoin (estimated cost=14749123.200 rows=639961) (actual rows=0 loops=1)\n" + 4318 " │ │ ├─ cmp: (umf.id = hgmq6.TEUJA)\n" + 4319 " │ │ ├─ Filter\n" + 4320 " │ │ │ ├─ (NOT((umf.ARN5P = 'N/A')))\n" + 4321 " │ │ │ └─ TableAlias(umf)\n" + 4322 " │ │ │ └─ IndexedTableAccess(NZKPM)\n" + 4323 " │ │ │ ├─ index: [NZKPM.id]\n" + 4324 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 4325 " │ │ └─ Project\n" + 4326 " │ │ ├─ columns: [hgmq6.TEUJA]\n" + 4327 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4328 " │ │ ├─ index: [HGMQ6.TEUJA]\n" + 4329 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 4330 " │ └─ HashLookup\n" + 4331 " │ ├─ left-key: (umf.T4IBQ)\n" + 4332 " │ ├─ right-key: (cla.FTQLQ)\n" + 4333 " │ └─ TableAlias(cla)\n" + 4334 " │ └─ Table\n" + 4335 " │ └─ name: YK2GW\n" + 4336 " └─ HashLookup\n" + 4337 " ├─ left-key: (umf.FGG57)\n" + 4338 " ├─ right-key: (nd.FGG57)\n" + 4339 " └─ TableAlias(nd)\n" + 4340 " └─ IndexedTableAccess(E2I7U)\n" + 4341 " ├─ index: [E2I7U.FGG57]\n" + 4342 " └─ filters: [{(NULL, ∞)}]\n" + 4343 "", 4344 }, 4345 { 4346 Query: `SELECT 4347 HVHRZ 4348 FROM 4349 QYWQD 4350 ORDER BY id ASC`, 4351 ExpectedPlan: "Project\n" + 4352 " ├─ columns: [qywqd.HVHRZ:1!null]\n" + 4353 " └─ IndexedTableAccess(QYWQD)\n" + 4354 " ├─ index: [QYWQD.id]\n" + 4355 " ├─ static: [{[NULL, ∞)}]\n" + 4356 " ├─ colSet: (1-6)\n" + 4357 " ├─ tableId: 1\n" + 4358 " └─ Table\n" + 4359 " ├─ name: QYWQD\n" + 4360 " └─ columns: [id hvhrz]\n" + 4361 "", 4362 ExpectedEstimates: "Project\n" + 4363 " ├─ columns: [qywqd.HVHRZ]\n" + 4364 " └─ IndexedTableAccess(QYWQD)\n" + 4365 " ├─ index: [QYWQD.id]\n" + 4366 " ├─ filters: [{[NULL, ∞)}]\n" + 4367 " └─ columns: [id hvhrz]\n" + 4368 "", 4369 ExpectedAnalysis: "Project\n" + 4370 " ├─ columns: [qywqd.HVHRZ]\n" + 4371 " └─ IndexedTableAccess(QYWQD)\n" + 4372 " ├─ index: [QYWQD.id]\n" + 4373 " ├─ filters: [{[NULL, ∞)}]\n" + 4374 " └─ columns: [id hvhrz]\n" + 4375 "", 4376 }, 4377 { 4378 Query: ` 4379 SELECT 4380 cla.FTQLQ AS T4IBQ, 4381 SL3S5.TOFPN AS DL754, 4382 sn.id AS BDNYB, 4383 SL3S5.ADURZ AS ADURZ, 4384 (SELECT aac.BTXC5 FROM TPXBU aac WHERE aac.id = SL3S5.M22QN) AS TPXBU, 4385 SL3S5.NO52D AS NO52D, 4386 SL3S5.IDPK7 AS IDPK7 4387 FROM 4388 YK2GW cla 4389 INNER JOIN THNTS bs ON cla.id = bs.IXUXU 4390 INNER JOIN HGMQ6 mf ON bs.id = mf.GXLUB 4391 INNER JOIN NOXN3 sn ON sn.BRQP2 = mf.LUEVY 4392 INNER JOIN 4393 ( 4394 SELECT /*+ JOIN_ORDER( ci, ct, cec, KHJJO ) */ 4395 KHJJO.BDNYB AS BDNYB, 4396 ci.FTQLQ AS TOFPN, 4397 ct.M22QN AS M22QN, 4398 cec.ADURZ AS ADURZ, 4399 cec.NO52D AS NO52D, 4400 ct.S3Q3Y AS IDPK7 4401 FROM 4402 ( 4403 SELECT DISTINCT 4404 mf.M22QN AS M22QN, 4405 sn.id AS BDNYB, 4406 mf.LUEVY AS LUEVY 4407 FROM 4408 HGMQ6 mf 4409 INNER JOIN NOXN3 sn ON sn.BRQP2 = mf.LUEVY 4410 ) KHJJO 4411 INNER JOIN 4412 FLQLP ct 4413 ON 4414 ct.M22QN = KHJJO.M22QN 4415 AND 4416 ct.LUEVY = KHJJO.LUEVY 4417 INNER JOIN JDLNA ci ON ci.id = ct.FZ2R5 AND ct.ZRV3B = '=' 4418 INNER JOIN SFEGG cec ON cec.id = ct.OVE3E 4419 WHERE 4420 ci.FTQLQ IN ('SQ1') 4421 ) SL3S5 4422 ON 4423 SL3S5.BDNYB = sn.id 4424 AND 4425 SL3S5.M22QN = mf.M22QN 4426 WHERE 4427 cla.FTQLQ IN ('SQ1') 4428 UNION ALL 4429 4430 SELECT 4431 AOEV5.*, 4432 VUMUY.* 4433 FROM ( 4434 SELECT 4435 SL3S5.TOFPN AS DL754, 4436 sn.id AS BDNYB, 4437 SL3S5.ADURZ AS ADURZ, 4438 (SELECT aac.BTXC5 FROM TPXBU aac WHERE aac.id = SL3S5.M22QN) AS TPXBU, 4439 SL3S5.NO52D AS NO52D, 4440 SL3S5.IDPK7 AS IDPK7 4441 FROM 4442 NOXN3 sn 4443 INNER JOIN 4444 ( 4445 SELECT 4446 sn.id AS BDNYB, 4447 ci.FTQLQ AS TOFPN, 4448 ct.M22QN AS M22QN, 4449 cec.ADURZ AS ADURZ, 4450 cec.NO52D AS NO52D, 4451 ct.S3Q3Y AS IDPK7 4452 FROM 4453 NOXN3 sn 4454 INNER JOIN 4455 FLQLP ct 4456 ON 4457 ct.M22QN = (SELECT aac.id FROM TPXBU aac WHERE BTXC5 = 'WT') 4458 AND 4459 ct.LUEVY = sn.BRQP2 4460 INNER JOIN JDLNA ci ON ci.id = ct.FZ2R5 AND ct.ZRV3B = '=' 4461 INNER JOIN SFEGG cec ON cec.id = ct.OVE3E 4462 WHERE 4463 ci.FTQLQ IN ('SQ1') 4464 ) SL3S5 4465 ON 4466 SL3S5.BDNYB = sn.id ) VUMUY 4467 CROSS JOIN 4468 ( 4469 SELECT * FROM (VALUES 4470 ROW("1"), 4471 ROW("2"), 4472 ROW("3"), 4473 ROW("4"), 4474 ROW("5") 4475 ) AS temp_AOEV5(T4IBQ) 4476 ) AOEV5`, 4477 ExpectedPlan: "Union all\n" + 4478 " ├─ Project\n" + 4479 " │ ├─ columns: [convert\n" + 4480 " │ │ ├─ type: char\n" + 4481 " │ │ └─ T4IBQ:0!null\n" + 4482 " │ │ as T4IBQ, DL754:1!null, BDNYB:2!null, ADURZ:3!null, TPXBU:4, NO52D:5!null, IDPK7:6!null]\n" + 4483 " │ └─ Project\n" + 4484 " │ ├─ columns: [cla.FTQLQ:1!null as T4IBQ, sl3s5.TOFPN:62!null as DL754, sn.id:51!null as BDNYB, sl3s5.ADURZ:64!null as ADURZ, Subquery\n" + 4485 " │ │ ├─ cacheable: false\n" + 4486 " │ │ ├─ alias-string: select aac.BTXC5 from TPXBU as aac where aac.id = SL3S5.M22QN\n" + 4487 " │ │ └─ Project\n" + 4488 " │ │ ├─ columns: [aac.BTXC5:75]\n" + 4489 " │ │ └─ Filter\n" + 4490 " │ │ ├─ Eq\n" + 4491 " │ │ │ ├─ aac.id:74!null\n" + 4492 " │ │ │ └─ sl3s5.M22QN:63!null\n" + 4493 " │ │ └─ TableAlias(aac)\n" + 4494 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 4495 " │ │ ├─ index: [TPXBU.id]\n" + 4496 " │ │ ├─ keys: [sl3s5.M22QN:63!null]\n" + 4497 " │ │ ├─ colSet: (134-136)\n" + 4498 " │ │ ├─ tableId: 12\n" + 4499 " │ │ └─ Table\n" + 4500 " │ │ ├─ name: TPXBU\n" + 4501 " │ │ └─ columns: [id btxc5]\n" + 4502 " │ │ as TPXBU, sl3s5.NO52D:65!null as NO52D, sl3s5.IDPK7:66!null as IDPK7]\n" + 4503 " │ └─ Project\n" + 4504 " │ ├─ columns: [cla.id:37!null, cla.FTQLQ:38!null, cla.TUXML:39, cla.PAEF5:40, cla.RUCY4:41, cla.TPNJ6:42!null, cla.LBL53:43, cla.NB3QS:44, cla.EO7IV:45, cla.MUHJF:46, cla.FM34L:47, cla.TY5RF:48, cla.ZHTLH:49, cla.NPB7W:50, cla.SX3HH:51, cla.ISBNF:52, cla.YA7YB:53, cla.C5YKB:54, cla.QK7KT:55, cla.FFGE6:56, cla.FIIGJ:57, cla.SH3NC:58, cla.NTENA:59, cla.M4AUB:60, cla.X5AIR:61, cla.SAB6M:62, cla.G5QI5:63, cla.ZVQVD:64, cla.YKSSU:65, cla.FHCYT:66, bs.id:33!null, bs.NFRYN:34!null, bs.IXUXU:35, bs.FHCYT:36, mf.id:16!null, mf.GXLUB:17!null, mf.LUEVY:18!null, mf.M22QN:19!null, mf.TJPT7:20!null, mf.ARN5P:21!null, mf.XOSD4:22!null, mf.IDE43:23, mf.HMW4H:24, mf.ZBT6R:25, mf.FSDY2:26!null, mf.LT7K6:27, mf.SPPYD:28, mf.QCGTS:29, mf.TEUJA:30, mf.QQV4M:31, mf.FHCYT:32, sn.id:6!null, sn.BRQP2:7!null, sn.FFTBJ:8!null, sn.A7XO2:9, sn.KBO7R:10!null, sn.ECDKM:11, sn.NUMK2:12!null, sn.LETOE:13!null, sn.YKSSU:14, sn.FHCYT:15, sl3s5.BDNYB:0!null, sl3s5.TOFPN:1!null, sl3s5.M22QN:2!null, sl3s5.ADURZ:3!null, sl3s5.NO52D:4!null, sl3s5.IDPK7:5!null, cla.FTQLQ:38!null as T4IBQ, sl3s5.TOFPN:1!null as DL754, sn.id:6!null as BDNYB, sl3s5.ADURZ:3!null as ADURZ, Subquery\n" + 4505 " │ │ ├─ cacheable: false\n" + 4506 " │ │ ├─ alias-string: select aac.BTXC5 from TPXBU as aac where aac.id = SL3S5.M22QN\n" + 4507 " │ │ └─ Project\n" + 4508 " │ │ ├─ columns: [aac.BTXC5:68]\n" + 4509 " │ │ └─ Filter\n" + 4510 " │ │ ├─ Eq\n" + 4511 " │ │ │ ├─ aac.id:67!null\n" + 4512 " │ │ │ └─ sl3s5.M22QN:2!null\n" + 4513 " │ │ └─ TableAlias(aac)\n" + 4514 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 4515 " │ │ ├─ index: [TPXBU.id]\n" + 4516 " │ │ ├─ keys: [sl3s5.M22QN:2!null]\n" + 4517 " │ │ ├─ colSet: (134-136)\n" + 4518 " │ │ ├─ tableId: 12\n" + 4519 " │ │ └─ Table\n" + 4520 " │ │ ├─ name: TPXBU\n" + 4521 " │ │ └─ columns: [id btxc5]\n" + 4522 " │ │ as TPXBU, sl3s5.NO52D:4!null as NO52D, sl3s5.IDPK7:5!null as IDPK7]\n" + 4523 " │ └─ LookupJoin\n" + 4524 " │ ├─ LookupJoin\n" + 4525 " │ │ ├─ LookupJoin\n" + 4526 " │ │ │ ├─ Eq\n" + 4527 " │ │ │ │ ├─ sn.BRQP2:7!null\n" + 4528 " │ │ │ │ └─ mf.LUEVY:18!null\n" + 4529 " │ │ │ ├─ LookupJoin\n" + 4530 " │ │ │ │ ├─ SubqueryAlias\n" + 4531 " │ │ │ │ │ ├─ name: sl3s5\n" + 4532 " │ │ │ │ │ ├─ outerVisibility: false\n" + 4533 " │ │ │ │ │ ├─ isLateral: false\n" + 4534 " │ │ │ │ │ ├─ cacheable: true\n" + 4535 " │ │ │ │ │ ├─ colSet: (124-129)\n" + 4536 " │ │ │ │ │ ├─ tableId: 11\n" + 4537 " │ │ │ │ │ └─ Project\n" + 4538 " │ │ │ │ │ ├─ columns: [khjjo.BDNYB:12!null as BDNYB, ci.FTQLQ:1!null as TOFPN, ct.M22QN:4!null as M22QN, cec.ADURZ:10!null as ADURZ, cec.NO52D:9!null as NO52D, ct.S3Q3Y:6!null as IDPK7]\n" + 4539 " │ │ │ │ │ └─ HashJoin\n" + 4540 " │ │ │ │ │ ├─ Eq\n" + 4541 " │ │ │ │ │ │ ├─ ci.id:0!null\n" + 4542 " │ │ │ │ │ │ └─ ct.FZ2R5:2!null\n" + 4543 " │ │ │ │ │ ├─ Filter\n" + 4544 " │ │ │ │ │ │ ├─ HashIn\n" + 4545 " │ │ │ │ │ │ │ ├─ ci.FTQLQ:1!null\n" + 4546 " │ │ │ │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 4547 " │ │ │ │ │ │ └─ TableAlias(ci)\n" + 4548 " │ │ │ │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 4549 " │ │ │ │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 4550 " │ │ │ │ │ │ ├─ static: [{[SQ1, SQ1]}]\n" + 4551 " │ │ │ │ │ │ ├─ colSet: (107-111)\n" + 4552 " │ │ │ │ │ │ ├─ tableId: 9\n" + 4553 " │ │ │ │ │ │ └─ Table\n" + 4554 " │ │ │ │ │ │ ├─ name: JDLNA\n" + 4555 " │ │ │ │ │ │ └─ columns: [id ftqlq]\n" + 4556 " │ │ │ │ │ └─ HashLookup\n" + 4557 " │ │ │ │ │ ├─ left-key: TUPLE(ci.id:0!null)\n" + 4558 " │ │ │ │ │ ├─ right-key: TUPLE(ct.FZ2R5:0!null)\n" + 4559 " │ │ │ │ │ └─ HashJoin\n" + 4560 " │ │ │ │ │ ├─ AND\n" + 4561 " │ │ │ │ │ │ ├─ Eq\n" + 4562 " │ │ │ │ │ │ │ ├─ ct.M22QN:4!null\n" + 4563 " │ │ │ │ │ │ │ └─ khjjo.M22QN:11!null\n" + 4564 " │ │ │ │ │ │ └─ Eq\n" + 4565 " │ │ │ │ │ │ ├─ ct.LUEVY:3!null\n" + 4566 " │ │ │ │ │ │ └─ khjjo.LUEVY:13!null\n" + 4567 " │ │ │ │ │ ├─ MergeJoin\n" + 4568 " │ │ │ │ │ │ ├─ cmp: Eq\n" + 4569 " │ │ │ │ │ │ │ ├─ ct.OVE3E:5!null\n" + 4570 " │ │ │ │ │ │ │ └─ cec.id:8!null\n" + 4571 " │ │ │ │ │ │ ├─ Filter\n" + 4572 " │ │ │ │ │ │ │ ├─ Eq\n" + 4573 " │ │ │ │ │ │ │ │ ├─ ct.ZRV3B:5!null\n" + 4574 " │ │ │ │ │ │ │ │ └─ = (longtext)\n" + 4575 " │ │ │ │ │ │ │ └─ TableAlias(ct)\n" + 4576 " │ │ │ │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 4577 " │ │ │ │ │ │ │ ├─ index: [FLQLP.OVE3E]\n" + 4578 " │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 4579 " │ │ │ │ │ │ │ ├─ colSet: (95-106)\n" + 4580 " │ │ │ │ │ │ │ ├─ tableId: 8\n" + 4581 " │ │ │ │ │ │ │ └─ Table\n" + 4582 " │ │ │ │ │ │ │ ├─ name: FLQLP\n" + 4583 " │ │ │ │ │ │ │ └─ columns: [fz2r5 luevy m22qn ove3e s3q3y zrv3b]\n" + 4584 " │ │ │ │ │ │ └─ TableAlias(cec)\n" + 4585 " │ │ │ │ │ │ └─ IndexedTableAccess(SFEGG)\n" + 4586 " │ │ │ │ │ │ ├─ index: [SFEGG.id]\n" + 4587 " │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 4588 " │ │ │ │ │ │ ├─ colSet: (112-117)\n" + 4589 " │ │ │ │ │ │ ├─ tableId: 10\n" + 4590 " │ │ │ │ │ │ └─ Table\n" + 4591 " │ │ │ │ │ │ ├─ name: SFEGG\n" + 4592 " │ │ │ │ │ │ └─ columns: [id no52d adurz]\n" + 4593 " │ │ │ │ │ └─ HashLookup\n" + 4594 " │ │ │ │ │ ├─ left-key: TUPLE(ct.M22QN:4!null, ct.LUEVY:3!null)\n" + 4595 " │ │ │ │ │ ├─ right-key: TUPLE(khjjo.M22QN:0!null, khjjo.LUEVY:2!null)\n" + 4596 " │ │ │ │ │ └─ SubqueryAlias\n" + 4597 " │ │ │ │ │ ├─ name: khjjo\n" + 4598 " │ │ │ │ │ ├─ outerVisibility: false\n" + 4599 " │ │ │ │ │ ├─ isLateral: false\n" + 4600 " │ │ │ │ │ ├─ cacheable: true\n" + 4601 " │ │ │ │ │ ├─ colSet: (92-94)\n" + 4602 " │ │ │ │ │ ├─ tableId: 7\n" + 4603 " │ │ │ │ │ └─ Distinct\n" + 4604 " │ │ │ │ │ └─ Project\n" + 4605 " │ │ │ │ │ ├─ columns: [mf.M22QN:13!null as M22QN, sn.id:0!null as BDNYB, mf.LUEVY:12!null as LUEVY]\n" + 4606 " │ │ │ │ │ └─ LookupJoin\n" + 4607 " │ │ │ │ │ ├─ TableAlias(sn)\n" + 4608 " │ │ │ │ │ │ └─ Table\n" + 4609 " │ │ │ │ │ │ ├─ name: NOXN3\n" + 4610 " │ │ │ │ │ │ ├─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 4611 " │ │ │ │ │ │ ├─ colSet: (79-88)\n" + 4612 " │ │ │ │ │ │ └─ tableId: 6\n" + 4613 " │ │ │ │ │ └─ TableAlias(mf)\n" + 4614 " │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4615 " │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 4616 " │ │ │ │ │ ├─ keys: [sn.BRQP2:1!null]\n" + 4617 " │ │ │ │ │ ├─ colSet: (62-78)\n" + 4618 " │ │ │ │ │ ├─ tableId: 5\n" + 4619 " │ │ │ │ │ └─ Table\n" + 4620 " │ │ │ │ │ ├─ name: HGMQ6\n" + 4621 " │ │ │ │ │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 4622 " │ │ │ │ └─ TableAlias(sn)\n" + 4623 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 4624 " │ │ │ │ ├─ index: [NOXN3.id]\n" + 4625 " │ │ │ │ ├─ keys: [sl3s5.BDNYB:0!null]\n" + 4626 " │ │ │ │ ├─ colSet: (52-61)\n" + 4627 " │ │ │ │ ├─ tableId: 4\n" + 4628 " │ │ │ │ └─ Table\n" + 4629 " │ │ │ │ ├─ name: NOXN3\n" + 4630 " │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 4631 " │ │ │ └─ TableAlias(mf)\n" + 4632 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4633 " │ │ │ ├─ index: [HGMQ6.M22QN]\n" + 4634 " │ │ │ ├─ keys: [sl3s5.M22QN:2!null]\n" + 4635 " │ │ │ ├─ colSet: (35-51)\n" + 4636 " │ │ │ ├─ tableId: 3\n" + 4637 " │ │ │ └─ Table\n" + 4638 " │ │ │ ├─ name: HGMQ6\n" + 4639 " │ │ │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 4640 " │ │ └─ TableAlias(bs)\n" + 4641 " │ │ └─ IndexedTableAccess(THNTS)\n" + 4642 " │ │ ├─ index: [THNTS.id]\n" + 4643 " │ │ ├─ keys: [mf.GXLUB:17!null]\n" + 4644 " │ │ ├─ colSet: (31-34)\n" + 4645 " │ │ ├─ tableId: 2\n" + 4646 " │ │ └─ Table\n" + 4647 " │ │ ├─ name: THNTS\n" + 4648 " │ │ └─ columns: [id nfryn ixuxu fhcyt]\n" + 4649 " │ └─ Filter\n" + 4650 " │ ├─ HashIn\n" + 4651 " │ │ ├─ cla.FTQLQ:1!null\n" + 4652 " │ │ └─ TUPLE(SQ1 (longtext))\n" + 4653 " │ └─ TableAlias(cla)\n" + 4654 " │ └─ IndexedTableAccess(YK2GW)\n" + 4655 " │ ├─ index: [YK2GW.id]\n" + 4656 " │ ├─ keys: [bs.IXUXU:35]\n" + 4657 " │ ├─ colSet: (1-30)\n" + 4658 " │ ├─ tableId: 1\n" + 4659 " │ └─ Table\n" + 4660 " │ ├─ name: YK2GW\n" + 4661 " │ └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 4662 " └─ Project\n" + 4663 " ├─ columns: [aoev5.t4ibq:0!null as t4ibq, vumuy.DL754:1!null, vumuy.BDNYB:2!null, vumuy.ADURZ:3!null, vumuy.TPXBU:4, vumuy.NO52D:5!null, vumuy.IDPK7:6!null]\n" + 4664 " └─ Project\n" + 4665 " ├─ columns: [aoev5.t4ibq:6!null, vumuy.DL754:0!null, vumuy.BDNYB:1!null, vumuy.ADURZ:2!null, vumuy.TPXBU:3, vumuy.NO52D:4!null, vumuy.IDPK7:5!null]\n" + 4666 " └─ CrossHashJoin\n" + 4667 " ├─ SubqueryAlias\n" + 4668 " │ ├─ name: vumuy\n" + 4669 " │ ├─ outerVisibility: false\n" + 4670 " │ ├─ isLateral: false\n" + 4671 " │ ├─ cacheable: true\n" + 4672 " │ ├─ colSet: (207-212)\n" + 4673 " │ ├─ tableId: 21\n" + 4674 " │ └─ Project\n" + 4675 " │ ├─ columns: [sl3s5.TOFPN:11!null as DL754, sn.id:0!null as BDNYB, sl3s5.ADURZ:13!null as ADURZ, Subquery\n" + 4676 " │ │ ├─ cacheable: false\n" + 4677 " │ │ ├─ alias-string: select aac.BTXC5 from TPXBU as aac where aac.id = SL3S5.M22QN\n" + 4678 " │ │ └─ Project\n" + 4679 " │ │ ├─ columns: [aac.BTXC5:23]\n" + 4680 " │ │ └─ Filter\n" + 4681 " │ │ ├─ Eq\n" + 4682 " │ │ │ ├─ aac.id:22!null\n" + 4683 " │ │ │ └─ sl3s5.M22QN:12!null\n" + 4684 " │ │ └─ TableAlias(aac)\n" + 4685 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 4686 " │ │ ├─ index: [TPXBU.id]\n" + 4687 " │ │ ├─ keys: [sl3s5.M22QN:12!null]\n" + 4688 " │ │ ├─ colSet: (201-203)\n" + 4689 " │ │ ├─ tableId: 20\n" + 4690 " │ │ └─ Table\n" + 4691 " │ │ ├─ name: TPXBU\n" + 4692 " │ │ └─ columns: [id btxc5]\n" + 4693 " │ │ as TPXBU, sl3s5.NO52D:14!null as NO52D, sl3s5.IDPK7:15!null as IDPK7]\n" + 4694 " │ └─ Project\n" + 4695 " │ ├─ columns: [sn.id:6!null, sn.BRQP2:7!null, sn.FFTBJ:8!null, sn.A7XO2:9, sn.KBO7R:10!null, sn.ECDKM:11, sn.NUMK2:12!null, sn.LETOE:13!null, sn.YKSSU:14, sn.FHCYT:15, sl3s5.BDNYB:0!null, sl3s5.TOFPN:1!null, sl3s5.M22QN:2!null, sl3s5.ADURZ:3!null, sl3s5.NO52D:4!null, sl3s5.IDPK7:5!null, sl3s5.TOFPN:1!null as DL754, sn.id:6!null as BDNYB, sl3s5.ADURZ:3!null as ADURZ, Subquery\n" + 4696 " │ │ ├─ cacheable: false\n" + 4697 " │ │ ├─ alias-string: select aac.BTXC5 from TPXBU as aac where aac.id = SL3S5.M22QN\n" + 4698 " │ │ └─ Project\n" + 4699 " │ │ ├─ columns: [aac.BTXC5:17]\n" + 4700 " │ │ └─ Filter\n" + 4701 " │ │ ├─ Eq\n" + 4702 " │ │ │ ├─ aac.id:16!null\n" + 4703 " │ │ │ └─ sl3s5.M22QN:2!null\n" + 4704 " │ │ └─ TableAlias(aac)\n" + 4705 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 4706 " │ │ ├─ index: [TPXBU.id]\n" + 4707 " │ │ ├─ keys: [sl3s5.M22QN:2!null]\n" + 4708 " │ │ ├─ colSet: (201-203)\n" + 4709 " │ │ ├─ tableId: 20\n" + 4710 " │ │ └─ Table\n" + 4711 " │ │ ├─ name: TPXBU\n" + 4712 " │ │ └─ columns: [id btxc5]\n" + 4713 " │ │ as TPXBU, sl3s5.NO52D:4!null as NO52D, sl3s5.IDPK7:5!null as IDPK7]\n" + 4714 " │ └─ LookupJoin\n" + 4715 " │ ├─ SubqueryAlias\n" + 4716 " │ │ ├─ name: sl3s5\n" + 4717 " │ │ ├─ outerVisibility: false\n" + 4718 " │ │ ├─ isLateral: false\n" + 4719 " │ │ ├─ cacheable: true\n" + 4720 " │ │ ├─ colSet: (192-197)\n" + 4721 " │ │ ├─ tableId: 19\n" + 4722 " │ │ └─ Project\n" + 4723 " │ │ ├─ columns: [sn.id:0!null as BDNYB, ci.FTQLQ:23!null as TOFPN, ct.M22QN:13!null as M22QN, cec.ADURZ:26!null as ADURZ, cec.NO52D:25!null as NO52D, ct.S3Q3Y:19!null as IDPK7]\n" + 4724 " │ │ └─ HashJoin\n" + 4725 " │ │ ├─ Eq\n" + 4726 " │ │ │ ├─ cec.id:24!null\n" + 4727 " │ │ │ └─ ct.OVE3E:14!null\n" + 4728 " │ │ ├─ HashJoin\n" + 4729 " │ │ │ ├─ Eq\n" + 4730 " │ │ │ │ ├─ ci.id:22!null\n" + 4731 " │ │ │ │ └─ ct.FZ2R5:11!null\n" + 4732 " │ │ │ ├─ MergeJoin\n" + 4733 " │ │ │ │ ├─ cmp: Eq\n" + 4734 " │ │ │ │ │ ├─ sn.BRQP2:1!null\n" + 4735 " │ │ │ │ │ └─ ct.LUEVY:12!null\n" + 4736 " │ │ │ │ ├─ sel: Eq\n" + 4737 " │ │ │ │ │ ├─ ct.M22QN:13!null\n" + 4738 " │ │ │ │ │ └─ Subquery\n" + 4739 " │ │ │ │ │ ├─ cacheable: true\n" + 4740 " │ │ │ │ │ ├─ alias-string: select aac.id from TPXBU as aac where BTXC5 = 'WT'\n" + 4741 " │ │ │ │ │ └─ Project\n" + 4742 " │ │ │ │ │ ├─ columns: [aac.id:22!null]\n" + 4743 " │ │ │ │ │ └─ Filter\n" + 4744 " │ │ │ │ │ ├─ Eq\n" + 4745 " │ │ │ │ │ │ ├─ aac.BTXC5:23\n" + 4746 " │ │ │ │ │ │ └─ WT (longtext)\n" + 4747 " │ │ │ │ │ └─ TableAlias(aac)\n" + 4748 " │ │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 4749 " │ │ │ │ │ ├─ index: [TPXBU.BTXC5]\n" + 4750 " │ │ │ │ │ ├─ static: [{[WT, WT]}]\n" + 4751 " │ │ │ │ │ ├─ colSet: (172-174)\n" + 4752 " │ │ │ │ │ ├─ tableId: 16\n" + 4753 " │ │ │ │ │ └─ Table\n" + 4754 " │ │ │ │ │ ├─ name: TPXBU\n" + 4755 " │ │ │ │ │ └─ columns: [id btxc5]\n" + 4756 " │ │ │ │ ├─ TableAlias(sn)\n" + 4757 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 4758 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 4759 " │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 4760 " │ │ │ │ │ ├─ colSet: (150-159)\n" + 4761 " │ │ │ │ │ ├─ tableId: 14\n" + 4762 " │ │ │ │ │ └─ Table\n" + 4763 " │ │ │ │ │ ├─ name: NOXN3\n" + 4764 " │ │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 4765 " │ │ │ │ └─ Filter\n" + 4766 " │ │ │ │ ├─ Eq\n" + 4767 " │ │ │ │ │ ├─ ct.ZRV3B:10!null\n" + 4768 " │ │ │ │ │ └─ = (longtext)\n" + 4769 " │ │ │ │ └─ TableAlias(ct)\n" + 4770 " │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 4771 " │ │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 4772 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 4773 " │ │ │ │ ├─ colSet: (160-171)\n" + 4774 " │ │ │ │ ├─ tableId: 15\n" + 4775 " │ │ │ │ └─ Table\n" + 4776 " │ │ │ │ ├─ name: FLQLP\n" + 4777 " │ │ │ │ └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 4778 " │ │ │ └─ HashLookup\n" + 4779 " │ │ │ ├─ left-key: TUPLE(ct.FZ2R5:11!null)\n" + 4780 " │ │ │ ├─ right-key: TUPLE(ci.id:0!null)\n" + 4781 " │ │ │ └─ Filter\n" + 4782 " │ │ │ ├─ HashIn\n" + 4783 " │ │ │ │ ├─ ci.FTQLQ:1!null\n" + 4784 " │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 4785 " │ │ │ └─ TableAlias(ci)\n" + 4786 " │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 4787 " │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 4788 " │ │ │ ├─ static: [{[SQ1, SQ1]}]\n" + 4789 " │ │ │ ├─ colSet: (175-179)\n" + 4790 " │ │ │ ├─ tableId: 17\n" + 4791 " │ │ │ └─ Table\n" + 4792 " │ │ │ ├─ name: JDLNA\n" + 4793 " │ │ │ └─ columns: [id ftqlq]\n" + 4794 " │ │ └─ HashLookup\n" + 4795 " │ │ ├─ left-key: TUPLE(ct.OVE3E:14!null)\n" + 4796 " │ │ ├─ right-key: TUPLE(cec.id:0!null)\n" + 4797 " │ │ └─ TableAlias(cec)\n" + 4798 " │ │ └─ Table\n" + 4799 " │ │ ├─ name: SFEGG\n" + 4800 " │ │ ├─ columns: [id no52d adurz]\n" + 4801 " │ │ ├─ colSet: (180-185)\n" + 4802 " │ │ └─ tableId: 18\n" + 4803 " │ └─ TableAlias(sn)\n" + 4804 " │ └─ IndexedTableAccess(NOXN3)\n" + 4805 " │ ├─ index: [NOXN3.id]\n" + 4806 " │ ├─ keys: [sl3s5.BDNYB:0!null]\n" + 4807 " │ ├─ colSet: (140-149)\n" + 4808 " │ ├─ tableId: 13\n" + 4809 " │ └─ Table\n" + 4810 " │ ├─ name: NOXN3\n" + 4811 " │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 4812 " └─ HashLookup\n" + 4813 " ├─ left-key: TUPLE()\n" + 4814 " ├─ right-key: TUPLE()\n" + 4815 " └─ SubqueryAlias\n" + 4816 " ├─ name: aoev5\n" + 4817 " ├─ outerVisibility: false\n" + 4818 " ├─ isLateral: false\n" + 4819 " ├─ cacheable: true\n" + 4820 " ├─ colSet: (214)\n" + 4821 " ├─ tableId: 23\n" + 4822 " └─ Project\n" + 4823 " ├─ columns: [temp_aoev5.t4ibq:0!null]\n" + 4824 " └─ Values() as temp_AOEV5\n" + 4825 " ├─ Row(\n" + 4826 " │ 1 (longtext))\n" + 4827 " ├─ Row(\n" + 4828 " │ 2 (longtext))\n" + 4829 " ├─ Row(\n" + 4830 " │ 3 (longtext))\n" + 4831 " ├─ Row(\n" + 4832 " │ 4 (longtext))\n" + 4833 " └─ Row(\n" + 4834 " 5 (longtext))\n" + 4835 "", 4836 ExpectedEstimates: "Union all\n" + 4837 " ├─ Project\n" + 4838 " │ ├─ columns: [convert(T4IBQ, char) as T4IBQ, DL754, BDNYB, ADURZ, TPXBU, NO52D, IDPK7]\n" + 4839 " │ └─ Project\n" + 4840 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 4841 " │ │ ├─ cacheable: false\n" + 4842 " │ │ └─ Project\n" + 4843 " │ │ ├─ columns: [aac.BTXC5]\n" + 4844 " │ │ └─ Filter\n" + 4845 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 4846 " │ │ └─ TableAlias(aac)\n" + 4847 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 4848 " │ │ ├─ index: [TPXBU.id]\n" + 4849 " │ │ ├─ columns: [id btxc5]\n" + 4850 " │ │ └─ keys: sl3s5.M22QN\n" + 4851 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 4852 " │ └─ Project\n" + 4853 " │ ├─ columns: [cla.id, cla.FTQLQ, cla.TUXML, cla.PAEF5, cla.RUCY4, cla.TPNJ6, cla.LBL53, cla.NB3QS, cla.EO7IV, cla.MUHJF, cla.FM34L, cla.TY5RF, cla.ZHTLH, cla.NPB7W, cla.SX3HH, cla.ISBNF, cla.YA7YB, cla.C5YKB, cla.QK7KT, cla.FFGE6, cla.FIIGJ, cla.SH3NC, cla.NTENA, cla.M4AUB, cla.X5AIR, cla.SAB6M, cla.G5QI5, cla.ZVQVD, cla.YKSSU, cla.FHCYT, bs.id, bs.NFRYN, bs.IXUXU, bs.FHCYT, mf.id, mf.GXLUB, mf.LUEVY, mf.M22QN, mf.TJPT7, mf.ARN5P, mf.XOSD4, mf.IDE43, mf.HMW4H, mf.ZBT6R, mf.FSDY2, mf.LT7K6, mf.SPPYD, mf.QCGTS, mf.TEUJA, mf.QQV4M, mf.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, sl3s5.BDNYB, sl3s5.TOFPN, sl3s5.M22QN, sl3s5.ADURZ, sl3s5.NO52D, sl3s5.IDPK7, cla.FTQLQ as T4IBQ, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 4854 " │ │ ├─ cacheable: false\n" + 4855 " │ │ └─ Project\n" + 4856 " │ │ ├─ columns: [aac.BTXC5]\n" + 4857 " │ │ └─ Filter\n" + 4858 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 4859 " │ │ └─ TableAlias(aac)\n" + 4860 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 4861 " │ │ ├─ index: [TPXBU.id]\n" + 4862 " │ │ ├─ columns: [id btxc5]\n" + 4863 " │ │ └─ keys: sl3s5.M22QN\n" + 4864 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 4865 " │ └─ LookupJoin\n" + 4866 " │ ├─ LookupJoin\n" + 4867 " │ │ ├─ LookupJoin\n" + 4868 " │ │ │ ├─ (sn.BRQP2 = mf.LUEVY)\n" + 4869 " │ │ │ ├─ LookupJoin\n" + 4870 " │ │ │ │ ├─ SubqueryAlias\n" + 4871 " │ │ │ │ │ ├─ name: sl3s5\n" + 4872 " │ │ │ │ │ ├─ outerVisibility: false\n" + 4873 " │ │ │ │ │ ├─ isLateral: false\n" + 4874 " │ │ │ │ │ ├─ cacheable: true\n" + 4875 " │ │ │ │ │ └─ Project\n" + 4876 " │ │ │ │ │ ├─ columns: [khjjo.BDNYB as BDNYB, ci.FTQLQ as TOFPN, ct.M22QN as M22QN, cec.ADURZ as ADURZ, cec.NO52D as NO52D, ct.S3Q3Y as IDPK7]\n" + 4877 " │ │ │ │ │ └─ HashJoin\n" + 4878 " │ │ │ │ │ ├─ (ci.id = ct.FZ2R5)\n" + 4879 " │ │ │ │ │ ├─ Filter\n" + 4880 " │ │ │ │ │ │ ├─ (ci.FTQLQ HASH IN ('SQ1'))\n" + 4881 " │ │ │ │ │ │ └─ TableAlias(ci)\n" + 4882 " │ │ │ │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 4883 " │ │ │ │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 4884 " │ │ │ │ │ │ ├─ filters: [{[SQ1, SQ1]}]\n" + 4885 " │ │ │ │ │ │ └─ columns: [id ftqlq]\n" + 4886 " │ │ │ │ │ └─ HashLookup\n" + 4887 " │ │ │ │ │ ├─ left-key: (ci.id)\n" + 4888 " │ │ │ │ │ ├─ right-key: (ct.FZ2R5)\n" + 4889 " │ │ │ │ │ └─ HashJoin\n" + 4890 " │ │ │ │ │ ├─ ((ct.M22QN = khjjo.M22QN) AND (ct.LUEVY = khjjo.LUEVY))\n" + 4891 " │ │ │ │ │ ├─ MergeJoin\n" + 4892 " │ │ │ │ │ │ ├─ cmp: (ct.OVE3E = cec.id)\n" + 4893 " │ │ │ │ │ │ ├─ Filter\n" + 4894 " │ │ │ │ │ │ │ ├─ (ct.ZRV3B = '=')\n" + 4895 " │ │ │ │ │ │ │ └─ TableAlias(ct)\n" + 4896 " │ │ │ │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 4897 " │ │ │ │ │ │ │ ├─ index: [FLQLP.OVE3E]\n" + 4898 " │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 4899 " │ │ │ │ │ │ │ └─ columns: [fz2r5 luevy m22qn ove3e s3q3y zrv3b]\n" + 4900 " │ │ │ │ │ │ └─ TableAlias(cec)\n" + 4901 " │ │ │ │ │ │ └─ IndexedTableAccess(SFEGG)\n" + 4902 " │ │ │ │ │ │ ├─ index: [SFEGG.id]\n" + 4903 " │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 4904 " │ │ │ │ │ │ └─ columns: [id no52d adurz]\n" + 4905 " │ │ │ │ │ └─ HashLookup\n" + 4906 " │ │ │ │ │ ├─ left-key: (ct.M22QN, ct.LUEVY)\n" + 4907 " │ │ │ │ │ ├─ right-key: (khjjo.M22QN, khjjo.LUEVY)\n" + 4908 " │ │ │ │ │ └─ SubqueryAlias\n" + 4909 " │ │ │ │ │ ├─ name: khjjo\n" + 4910 " │ │ │ │ │ ├─ outerVisibility: false\n" + 4911 " │ │ │ │ │ ├─ isLateral: false\n" + 4912 " │ │ │ │ │ ├─ cacheable: true\n" + 4913 " │ │ │ │ │ └─ Distinct\n" + 4914 " │ │ │ │ │ └─ Project\n" + 4915 " │ │ │ │ │ ├─ columns: [mf.M22QN as M22QN, sn.id as BDNYB, mf.LUEVY as LUEVY]\n" + 4916 " │ │ │ │ │ └─ LookupJoin\n" + 4917 " │ │ │ │ │ ├─ TableAlias(sn)\n" + 4918 " │ │ │ │ │ │ └─ Table\n" + 4919 " │ │ │ │ │ │ └─ name: NOXN3\n" + 4920 " │ │ │ │ │ └─ TableAlias(mf)\n" + 4921 " │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4922 " │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 4923 " │ │ │ │ │ └─ keys: sn.BRQP2\n" + 4924 " │ │ │ │ └─ TableAlias(sn)\n" + 4925 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 4926 " │ │ │ │ ├─ index: [NOXN3.id]\n" + 4927 " │ │ │ │ └─ keys: sl3s5.BDNYB\n" + 4928 " │ │ │ └─ TableAlias(mf)\n" + 4929 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 4930 " │ │ │ ├─ index: [HGMQ6.M22QN]\n" + 4931 " │ │ │ └─ keys: sl3s5.M22QN\n" + 4932 " │ │ └─ TableAlias(bs)\n" + 4933 " │ │ └─ IndexedTableAccess(THNTS)\n" + 4934 " │ │ ├─ index: [THNTS.id]\n" + 4935 " │ │ └─ keys: mf.GXLUB\n" + 4936 " │ └─ Filter\n" + 4937 " │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 4938 " │ └─ TableAlias(cla)\n" + 4939 " │ └─ IndexedTableAccess(YK2GW)\n" + 4940 " │ ├─ index: [YK2GW.id]\n" + 4941 " │ └─ keys: bs.IXUXU\n" + 4942 " └─ Project\n" + 4943 " ├─ columns: [aoev5.t4ibq as t4ibq, vumuy.DL754, vumuy.BDNYB, vumuy.ADURZ, vumuy.TPXBU, vumuy.NO52D, vumuy.IDPK7]\n" + 4944 " └─ Project\n" + 4945 " ├─ columns: [aoev5.t4ibq, vumuy.DL754, vumuy.BDNYB, vumuy.ADURZ, vumuy.TPXBU, vumuy.NO52D, vumuy.IDPK7]\n" + 4946 " └─ CrossHashJoin\n" + 4947 " ├─ SubqueryAlias\n" + 4948 " │ ├─ name: vumuy\n" + 4949 " │ ├─ outerVisibility: false\n" + 4950 " │ ├─ isLateral: false\n" + 4951 " │ ├─ cacheable: true\n" + 4952 " │ └─ Project\n" + 4953 " │ ├─ columns: [sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 4954 " │ │ ├─ cacheable: false\n" + 4955 " │ │ └─ Project\n" + 4956 " │ │ ├─ columns: [aac.BTXC5]\n" + 4957 " │ │ └─ Filter\n" + 4958 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 4959 " │ │ └─ TableAlias(aac)\n" + 4960 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 4961 " │ │ ├─ index: [TPXBU.id]\n" + 4962 " │ │ ├─ columns: [id btxc5]\n" + 4963 " │ │ └─ keys: sl3s5.M22QN\n" + 4964 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 4965 " │ └─ Project\n" + 4966 " │ ├─ columns: [sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, sl3s5.BDNYB, sl3s5.TOFPN, sl3s5.M22QN, sl3s5.ADURZ, sl3s5.NO52D, sl3s5.IDPK7, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 4967 " │ │ ├─ cacheable: false\n" + 4968 " │ │ └─ Project\n" + 4969 " │ │ ├─ columns: [aac.BTXC5]\n" + 4970 " │ │ └─ Filter\n" + 4971 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 4972 " │ │ └─ TableAlias(aac)\n" + 4973 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 4974 " │ │ ├─ index: [TPXBU.id]\n" + 4975 " │ │ ├─ columns: [id btxc5]\n" + 4976 " │ │ └─ keys: sl3s5.M22QN\n" + 4977 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 4978 " │ └─ LookupJoin\n" + 4979 " │ ├─ SubqueryAlias\n" + 4980 " │ │ ├─ name: sl3s5\n" + 4981 " │ │ ├─ outerVisibility: false\n" + 4982 " │ │ ├─ isLateral: false\n" + 4983 " │ │ ├─ cacheable: true\n" + 4984 " │ │ └─ Project\n" + 4985 " │ │ ├─ columns: [sn.id as BDNYB, ci.FTQLQ as TOFPN, ct.M22QN as M22QN, cec.ADURZ as ADURZ, cec.NO52D as NO52D, ct.S3Q3Y as IDPK7]\n" + 4986 " │ │ └─ HashJoin\n" + 4987 " │ │ ├─ (cec.id = ct.OVE3E)\n" + 4988 " │ │ ├─ HashJoin\n" + 4989 " │ │ │ ├─ (ci.id = ct.FZ2R5)\n" + 4990 " │ │ │ ├─ MergeJoin\n" + 4991 " │ │ │ │ ├─ cmp: (sn.BRQP2 = ct.LUEVY)\n" + 4992 " │ │ │ │ ├─ sel: (ct.M22QN = Subquery\n" + 4993 " │ │ │ │ │ ├─ cacheable: true\n" + 4994 " │ │ │ │ │ └─ Project\n" + 4995 " │ │ │ │ │ ├─ columns: [aac.id]\n" + 4996 " │ │ │ │ │ └─ Filter\n" + 4997 " │ │ │ │ │ ├─ (aac.BTXC5 = 'WT')\n" + 4998 " │ │ │ │ │ └─ TableAlias(aac)\n" + 4999 " │ │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 5000 " │ │ │ │ │ ├─ index: [TPXBU.BTXC5]\n" + 5001 " │ │ │ │ │ ├─ filters: [{[WT, WT]}]\n" + 5002 " │ │ │ │ │ └─ columns: [id btxc5]\n" + 5003 " │ │ │ │ │ )\n" + 5004 " │ │ │ │ ├─ TableAlias(sn)\n" + 5005 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 5006 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 5007 " │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 5008 " │ │ │ │ └─ Filter\n" + 5009 " │ │ │ │ ├─ (ct.ZRV3B = '=')\n" + 5010 " │ │ │ │ └─ TableAlias(ct)\n" + 5011 " │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 5012 " │ │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 5013 " │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 5014 " │ │ │ └─ HashLookup\n" + 5015 " │ │ │ ├─ left-key: (ct.FZ2R5)\n" + 5016 " │ │ │ ├─ right-key: (ci.id)\n" + 5017 " │ │ │ └─ Filter\n" + 5018 " │ │ │ ├─ (ci.FTQLQ HASH IN ('SQ1'))\n" + 5019 " │ │ │ └─ TableAlias(ci)\n" + 5020 " │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 5021 " │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 5022 " │ │ │ ├─ filters: [{[SQ1, SQ1]}]\n" + 5023 " │ │ │ └─ columns: [id ftqlq]\n" + 5024 " │ │ └─ HashLookup\n" + 5025 " │ │ ├─ left-key: (ct.OVE3E)\n" + 5026 " │ │ ├─ right-key: (cec.id)\n" + 5027 " │ │ └─ TableAlias(cec)\n" + 5028 " │ │ └─ Table\n" + 5029 " │ │ ├─ name: SFEGG\n" + 5030 " │ │ └─ columns: [id no52d adurz]\n" + 5031 " │ └─ TableAlias(sn)\n" + 5032 " │ └─ IndexedTableAccess(NOXN3)\n" + 5033 " │ ├─ index: [NOXN3.id]\n" + 5034 " │ └─ keys: sl3s5.BDNYB\n" + 5035 " └─ HashLookup\n" + 5036 " ├─ left-key: ()\n" + 5037 " ├─ right-key: ()\n" + 5038 " └─ SubqueryAlias\n" + 5039 " ├─ name: aoev5\n" + 5040 " ├─ outerVisibility: false\n" + 5041 " ├─ isLateral: false\n" + 5042 " ├─ cacheable: true\n" + 5043 " └─ Project\n" + 5044 " ├─ columns: [temp_aoev5.t4ibq]\n" + 5045 " └─ Values() as temp_AOEV5\n" + 5046 " ├─ Row(\n" + 5047 " │ '1')\n" + 5048 " ├─ Row(\n" + 5049 " │ '2')\n" + 5050 " ├─ Row(\n" + 5051 " │ '3')\n" + 5052 " ├─ Row(\n" + 5053 " │ '4')\n" + 5054 " └─ Row(\n" + 5055 " '5')\n" + 5056 "", 5057 ExpectedAnalysis: "Union all\n" + 5058 " ├─ Project\n" + 5059 " │ ├─ columns: [convert(T4IBQ, char) as T4IBQ, DL754, BDNYB, ADURZ, TPXBU, NO52D, IDPK7]\n" + 5060 " │ └─ Project\n" + 5061 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 5062 " │ │ ├─ cacheable: false\n" + 5063 " │ │ └─ Project\n" + 5064 " │ │ ├─ columns: [aac.BTXC5]\n" + 5065 " │ │ └─ Filter\n" + 5066 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 5067 " │ │ └─ TableAlias(aac)\n" + 5068 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5069 " │ │ ├─ index: [TPXBU.id]\n" + 5070 " │ │ ├─ columns: [id btxc5]\n" + 5071 " │ │ └─ keys: sl3s5.M22QN\n" + 5072 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 5073 " │ └─ Project\n" + 5074 " │ ├─ columns: [cla.id, cla.FTQLQ, cla.TUXML, cla.PAEF5, cla.RUCY4, cla.TPNJ6, cla.LBL53, cla.NB3QS, cla.EO7IV, cla.MUHJF, cla.FM34L, cla.TY5RF, cla.ZHTLH, cla.NPB7W, cla.SX3HH, cla.ISBNF, cla.YA7YB, cla.C5YKB, cla.QK7KT, cla.FFGE6, cla.FIIGJ, cla.SH3NC, cla.NTENA, cla.M4AUB, cla.X5AIR, cla.SAB6M, cla.G5QI5, cla.ZVQVD, cla.YKSSU, cla.FHCYT, bs.id, bs.NFRYN, bs.IXUXU, bs.FHCYT, mf.id, mf.GXLUB, mf.LUEVY, mf.M22QN, mf.TJPT7, mf.ARN5P, mf.XOSD4, mf.IDE43, mf.HMW4H, mf.ZBT6R, mf.FSDY2, mf.LT7K6, mf.SPPYD, mf.QCGTS, mf.TEUJA, mf.QQV4M, mf.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, sl3s5.BDNYB, sl3s5.TOFPN, sl3s5.M22QN, sl3s5.ADURZ, sl3s5.NO52D, sl3s5.IDPK7, cla.FTQLQ as T4IBQ, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 5075 " │ │ ├─ cacheable: false\n" + 5076 " │ │ └─ Project\n" + 5077 " │ │ ├─ columns: [aac.BTXC5]\n" + 5078 " │ │ └─ Filter\n" + 5079 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 5080 " │ │ └─ TableAlias(aac)\n" + 5081 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5082 " │ │ ├─ index: [TPXBU.id]\n" + 5083 " │ │ ├─ columns: [id btxc5]\n" + 5084 " │ │ └─ keys: sl3s5.M22QN\n" + 5085 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 5086 " │ └─ LookupJoin\n" + 5087 " │ ├─ LookupJoin\n" + 5088 " │ │ ├─ LookupJoin\n" + 5089 " │ │ │ ├─ (sn.BRQP2 = mf.LUEVY)\n" + 5090 " │ │ │ ├─ LookupJoin\n" + 5091 " │ │ │ │ ├─ SubqueryAlias\n" + 5092 " │ │ │ │ │ ├─ name: sl3s5\n" + 5093 " │ │ │ │ │ ├─ outerVisibility: false\n" + 5094 " │ │ │ │ │ ├─ isLateral: false\n" + 5095 " │ │ │ │ │ ├─ cacheable: true\n" + 5096 " │ │ │ │ │ └─ Project\n" + 5097 " │ │ │ │ │ ├─ columns: [khjjo.BDNYB as BDNYB, ci.FTQLQ as TOFPN, ct.M22QN as M22QN, cec.ADURZ as ADURZ, cec.NO52D as NO52D, ct.S3Q3Y as IDPK7]\n" + 5098 " │ │ │ │ │ └─ HashJoin\n" + 5099 " │ │ │ │ │ ├─ (ci.id = ct.FZ2R5)\n" + 5100 " │ │ │ │ │ ├─ Filter\n" + 5101 " │ │ │ │ │ │ ├─ (ci.FTQLQ HASH IN ('SQ1'))\n" + 5102 " │ │ │ │ │ │ └─ TableAlias(ci)\n" + 5103 " │ │ │ │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 5104 " │ │ │ │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 5105 " │ │ │ │ │ │ ├─ filters: [{[SQ1, SQ1]}]\n" + 5106 " │ │ │ │ │ │ └─ columns: [id ftqlq]\n" + 5107 " │ │ │ │ │ └─ HashLookup\n" + 5108 " │ │ │ │ │ ├─ left-key: (ci.id)\n" + 5109 " │ │ │ │ │ ├─ right-key: (ct.FZ2R5)\n" + 5110 " │ │ │ │ │ └─ HashJoin\n" + 5111 " │ │ │ │ │ ├─ ((ct.M22QN = khjjo.M22QN) AND (ct.LUEVY = khjjo.LUEVY))\n" + 5112 " │ │ │ │ │ ├─ MergeJoin\n" + 5113 " │ │ │ │ │ │ ├─ cmp: (ct.OVE3E = cec.id)\n" + 5114 " │ │ │ │ │ │ ├─ Filter\n" + 5115 " │ │ │ │ │ │ │ ├─ (ct.ZRV3B = '=')\n" + 5116 " │ │ │ │ │ │ │ └─ TableAlias(ct)\n" + 5117 " │ │ │ │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 5118 " │ │ │ │ │ │ │ ├─ index: [FLQLP.OVE3E]\n" + 5119 " │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 5120 " │ │ │ │ │ │ │ └─ columns: [fz2r5 luevy m22qn ove3e s3q3y zrv3b]\n" + 5121 " │ │ │ │ │ │ └─ TableAlias(cec)\n" + 5122 " │ │ │ │ │ │ └─ IndexedTableAccess(SFEGG)\n" + 5123 " │ │ │ │ │ │ ├─ index: [SFEGG.id]\n" + 5124 " │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 5125 " │ │ │ │ │ │ └─ columns: [id no52d adurz]\n" + 5126 " │ │ │ │ │ └─ HashLookup\n" + 5127 " │ │ │ │ │ ├─ left-key: (ct.M22QN, ct.LUEVY)\n" + 5128 " │ │ │ │ │ ├─ right-key: (khjjo.M22QN, khjjo.LUEVY)\n" + 5129 " │ │ │ │ │ └─ SubqueryAlias\n" + 5130 " │ │ │ │ │ ├─ name: khjjo\n" + 5131 " │ │ │ │ │ ├─ outerVisibility: false\n" + 5132 " │ │ │ │ │ ├─ isLateral: false\n" + 5133 " │ │ │ │ │ ├─ cacheable: true\n" + 5134 " │ │ │ │ │ └─ Distinct\n" + 5135 " │ │ │ │ │ └─ Project\n" + 5136 " │ │ │ │ │ ├─ columns: [mf.M22QN as M22QN, sn.id as BDNYB, mf.LUEVY as LUEVY]\n" + 5137 " │ │ │ │ │ └─ LookupJoin\n" + 5138 " │ │ │ │ │ ├─ TableAlias(sn)\n" + 5139 " │ │ │ │ │ │ └─ Table\n" + 5140 " │ │ │ │ │ │ └─ name: NOXN3\n" + 5141 " │ │ │ │ │ └─ TableAlias(mf)\n" + 5142 " │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 5143 " │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 5144 " │ │ │ │ │ └─ keys: sn.BRQP2\n" + 5145 " │ │ │ │ └─ TableAlias(sn)\n" + 5146 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 5147 " │ │ │ │ ├─ index: [NOXN3.id]\n" + 5148 " │ │ │ │ └─ keys: sl3s5.BDNYB\n" + 5149 " │ │ │ └─ TableAlias(mf)\n" + 5150 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 5151 " │ │ │ ├─ index: [HGMQ6.M22QN]\n" + 5152 " │ │ │ └─ keys: sl3s5.M22QN\n" + 5153 " │ │ └─ TableAlias(bs)\n" + 5154 " │ │ └─ IndexedTableAccess(THNTS)\n" + 5155 " │ │ ├─ index: [THNTS.id]\n" + 5156 " │ │ └─ keys: mf.GXLUB\n" + 5157 " │ └─ Filter\n" + 5158 " │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 5159 " │ └─ TableAlias(cla)\n" + 5160 " │ └─ IndexedTableAccess(YK2GW)\n" + 5161 " │ ├─ index: [YK2GW.id]\n" + 5162 " │ └─ keys: bs.IXUXU\n" + 5163 " └─ Project\n" + 5164 " ├─ columns: [aoev5.t4ibq as t4ibq, vumuy.DL754, vumuy.BDNYB, vumuy.ADURZ, vumuy.TPXBU, vumuy.NO52D, vumuy.IDPK7]\n" + 5165 " └─ Project\n" + 5166 " ├─ columns: [aoev5.t4ibq, vumuy.DL754, vumuy.BDNYB, vumuy.ADURZ, vumuy.TPXBU, vumuy.NO52D, vumuy.IDPK7]\n" + 5167 " └─ CrossHashJoin\n" + 5168 " ├─ SubqueryAlias\n" + 5169 " │ ├─ name: vumuy\n" + 5170 " │ ├─ outerVisibility: false\n" + 5171 " │ ├─ isLateral: false\n" + 5172 " │ ├─ cacheable: true\n" + 5173 " │ └─ Project\n" + 5174 " │ ├─ columns: [sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 5175 " │ │ ├─ cacheable: false\n" + 5176 " │ │ └─ Project\n" + 5177 " │ │ ├─ columns: [aac.BTXC5]\n" + 5178 " │ │ └─ Filter\n" + 5179 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 5180 " │ │ └─ TableAlias(aac)\n" + 5181 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5182 " │ │ ├─ index: [TPXBU.id]\n" + 5183 " │ │ ├─ columns: [id btxc5]\n" + 5184 " │ │ └─ keys: sl3s5.M22QN\n" + 5185 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 5186 " │ └─ Project\n" + 5187 " │ ├─ columns: [sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, sl3s5.BDNYB, sl3s5.TOFPN, sl3s5.M22QN, sl3s5.ADURZ, sl3s5.NO52D, sl3s5.IDPK7, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 5188 " │ │ ├─ cacheable: false\n" + 5189 " │ │ └─ Project\n" + 5190 " │ │ ├─ columns: [aac.BTXC5]\n" + 5191 " │ │ └─ Filter\n" + 5192 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 5193 " │ │ └─ TableAlias(aac)\n" + 5194 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5195 " │ │ ├─ index: [TPXBU.id]\n" + 5196 " │ │ ├─ columns: [id btxc5]\n" + 5197 " │ │ └─ keys: sl3s5.M22QN\n" + 5198 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 5199 " │ └─ LookupJoin\n" + 5200 " │ ├─ SubqueryAlias\n" + 5201 " │ │ ├─ name: sl3s5\n" + 5202 " │ │ ├─ outerVisibility: false\n" + 5203 " │ │ ├─ isLateral: false\n" + 5204 " │ │ ├─ cacheable: true\n" + 5205 " │ │ └─ Project\n" + 5206 " │ │ ├─ columns: [sn.id as BDNYB, ci.FTQLQ as TOFPN, ct.M22QN as M22QN, cec.ADURZ as ADURZ, cec.NO52D as NO52D, ct.S3Q3Y as IDPK7]\n" + 5207 " │ │ └─ HashJoin\n" + 5208 " │ │ ├─ (cec.id = ct.OVE3E)\n" + 5209 " │ │ ├─ HashJoin\n" + 5210 " │ │ │ ├─ (ci.id = ct.FZ2R5)\n" + 5211 " │ │ │ ├─ MergeJoin\n" + 5212 " │ │ │ │ ├─ cmp: (sn.BRQP2 = ct.LUEVY)\n" + 5213 " │ │ │ │ ├─ sel: (ct.M22QN = Subquery\n" + 5214 " │ │ │ │ │ ├─ cacheable: true\n" + 5215 " │ │ │ │ │ └─ Project\n" + 5216 " │ │ │ │ │ ├─ columns: [aac.id]\n" + 5217 " │ │ │ │ │ └─ Filter\n" + 5218 " │ │ │ │ │ ├─ (aac.BTXC5 = 'WT')\n" + 5219 " │ │ │ │ │ └─ TableAlias(aac)\n" + 5220 " │ │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 5221 " │ │ │ │ │ ├─ index: [TPXBU.BTXC5]\n" + 5222 " │ │ │ │ │ ├─ filters: [{[WT, WT]}]\n" + 5223 " │ │ │ │ │ └─ columns: [id btxc5]\n" + 5224 " │ │ │ │ │ )\n" + 5225 " │ │ │ │ ├─ TableAlias(sn)\n" + 5226 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 5227 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 5228 " │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 5229 " │ │ │ │ └─ Filter\n" + 5230 " │ │ │ │ ├─ (ct.ZRV3B = '=')\n" + 5231 " │ │ │ │ └─ TableAlias(ct)\n" + 5232 " │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 5233 " │ │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 5234 " │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 5235 " │ │ │ └─ HashLookup\n" + 5236 " │ │ │ ├─ left-key: (ct.FZ2R5)\n" + 5237 " │ │ │ ├─ right-key: (ci.id)\n" + 5238 " │ │ │ └─ Filter\n" + 5239 " │ │ │ ├─ (ci.FTQLQ HASH IN ('SQ1'))\n" + 5240 " │ │ │ └─ TableAlias(ci)\n" + 5241 " │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 5242 " │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 5243 " │ │ │ ├─ filters: [{[SQ1, SQ1]}]\n" + 5244 " │ │ │ └─ columns: [id ftqlq]\n" + 5245 " │ │ └─ HashLookup\n" + 5246 " │ │ ├─ left-key: (ct.OVE3E)\n" + 5247 " │ │ ├─ right-key: (cec.id)\n" + 5248 " │ │ └─ TableAlias(cec)\n" + 5249 " │ │ └─ Table\n" + 5250 " │ │ ├─ name: SFEGG\n" + 5251 " │ │ └─ columns: [id no52d adurz]\n" + 5252 " │ └─ TableAlias(sn)\n" + 5253 " │ └─ IndexedTableAccess(NOXN3)\n" + 5254 " │ ├─ index: [NOXN3.id]\n" + 5255 " │ └─ keys: sl3s5.BDNYB\n" + 5256 " └─ HashLookup\n" + 5257 " ├─ left-key: ()\n" + 5258 " ├─ right-key: ()\n" + 5259 " └─ SubqueryAlias\n" + 5260 " ├─ name: aoev5\n" + 5261 " ├─ outerVisibility: false\n" + 5262 " ├─ isLateral: false\n" + 5263 " ├─ cacheable: true\n" + 5264 " └─ Project\n" + 5265 " ├─ columns: [temp_aoev5.t4ibq]\n" + 5266 " └─ Values() as temp_AOEV5\n" + 5267 " ├─ Row(\n" + 5268 " │ '1')\n" + 5269 " ├─ Row(\n" + 5270 " │ '2')\n" + 5271 " ├─ Row(\n" + 5272 " │ '3')\n" + 5273 " ├─ Row(\n" + 5274 " │ '4')\n" + 5275 " └─ Row(\n" + 5276 " '5')\n" + 5277 "", 5278 }, 5279 { 5280 Query: ` 5281 SELECT 5282 cla.FTQLQ AS T4IBQ, 5283 SL3S5.TOFPN AS DL754, 5284 sn.id AS BDNYB, 5285 SL3S5.ADURZ AS ADURZ, 5286 (SELECT aac.BTXC5 FROM TPXBU aac WHERE aac.id = SL3S5.M22QN) AS TPXBU, 5287 SL3S5.NO52D AS NO52D, 5288 SL3S5.IDPK7 AS IDPK7 5289 FROM 5290 YK2GW cla 5291 INNER JOIN THNTS bs ON cla.id = bs.IXUXU 5292 INNER JOIN HGMQ6 mf ON bs.id = mf.GXLUB 5293 INNER JOIN NOXN3 sn ON sn.BRQP2 = mf.LUEVY 5294 INNER JOIN 5295 ( 5296 SELECT 5297 KHJJO.BDNYB AS BDNYB, 5298 ci.FTQLQ AS TOFPN, 5299 ct.M22QN AS M22QN, 5300 cec.ADURZ AS ADURZ, 5301 cec.NO52D AS NO52D, 5302 ct.S3Q3Y AS IDPK7 5303 FROM 5304 ( 5305 SELECT DISTINCT 5306 mf.M22QN AS M22QN, 5307 sn.id AS BDNYB, 5308 mf.LUEVY AS LUEVY 5309 FROM 5310 HGMQ6 mf 5311 INNER JOIN NOXN3 sn ON sn.BRQP2 = mf.LUEVY 5312 ) KHJJO 5313 INNER JOIN 5314 FLQLP ct 5315 ON 5316 ct.M22QN = KHJJO.M22QN 5317 AND 5318 ct.LUEVY = KHJJO.LUEVY 5319 INNER JOIN JDLNA ci ON ci.id = ct.FZ2R5 AND ct.ZRV3B = '=' 5320 INNER JOIN SFEGG cec ON cec.id = ct.OVE3E 5321 WHERE 5322 ci.FTQLQ IN ('SQ1') 5323 ) SL3S5 5324 ON 5325 SL3S5.BDNYB = sn.id 5326 AND 5327 SL3S5.M22QN = mf.M22QN 5328 WHERE 5329 cla.FTQLQ IN ('SQ1') 5330 UNION ALL 5331 5332 SELECT 5333 AOEV5.*, 5334 VUMUY.* 5335 FROM ( 5336 SELECT 5337 SL3S5.TOFPN AS DL754, 5338 sn.id AS BDNYB, 5339 SL3S5.ADURZ AS ADURZ, 5340 (SELECT aac.BTXC5 FROM TPXBU aac WHERE aac.id = SL3S5.M22QN) AS TPXBU, 5341 SL3S5.NO52D AS NO52D, 5342 SL3S5.IDPK7 AS IDPK7 5343 FROM 5344 NOXN3 sn 5345 INNER JOIN 5346 ( 5347 SELECT 5348 sn.id AS BDNYB, 5349 ci.FTQLQ AS TOFPN, 5350 ct.M22QN AS M22QN, 5351 cec.ADURZ AS ADURZ, 5352 cec.NO52D AS NO52D, 5353 ct.S3Q3Y AS IDPK7 5354 FROM 5355 NOXN3 sn 5356 INNER JOIN 5357 FLQLP ct 5358 ON 5359 ct.M22QN = (SELECT aac.id FROM TPXBU aac WHERE BTXC5 = 'WT') 5360 AND 5361 ct.LUEVY = sn.BRQP2 5362 INNER JOIN JDLNA ci ON ci.id = ct.FZ2R5 AND ct.ZRV3B = '=' 5363 INNER JOIN SFEGG cec ON cec.id = ct.OVE3E 5364 WHERE 5365 ci.FTQLQ IN ('SQ1') 5366 ) SL3S5 5367 ON 5368 SL3S5.BDNYB = sn.id ) VUMUY 5369 CROSS JOIN 5370 ( 5371 SELECT * FROM (VALUES 5372 ROW("1"), 5373 ROW("2"), 5374 ROW("3"), 5375 ROW("4"), 5376 ROW("5") 5377 ) AS temp_AOEV5(T4IBQ) 5378 ) AOEV5`, 5379 ExpectedPlan: "Union all\n" + 5380 " ├─ Project\n" + 5381 " │ ├─ columns: [convert\n" + 5382 " │ │ ├─ type: char\n" + 5383 " │ │ └─ T4IBQ:0!null\n" + 5384 " │ │ as T4IBQ, DL754:1!null, BDNYB:2!null, ADURZ:3!null, TPXBU:4, NO52D:5!null, IDPK7:6!null]\n" + 5385 " │ └─ Project\n" + 5386 " │ ├─ columns: [cla.FTQLQ:1!null as T4IBQ, sl3s5.TOFPN:62!null as DL754, sn.id:51!null as BDNYB, sl3s5.ADURZ:64!null as ADURZ, Subquery\n" + 5387 " │ │ ├─ cacheable: false\n" + 5388 " │ │ ├─ alias-string: select aac.BTXC5 from TPXBU as aac where aac.id = SL3S5.M22QN\n" + 5389 " │ │ └─ Project\n" + 5390 " │ │ ├─ columns: [aac.BTXC5:75]\n" + 5391 " │ │ └─ Filter\n" + 5392 " │ │ ├─ Eq\n" + 5393 " │ │ │ ├─ aac.id:74!null\n" + 5394 " │ │ │ └─ sl3s5.M22QN:63!null\n" + 5395 " │ │ └─ TableAlias(aac)\n" + 5396 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5397 " │ │ ├─ index: [TPXBU.id]\n" + 5398 " │ │ ├─ keys: [sl3s5.M22QN:63!null]\n" + 5399 " │ │ ├─ colSet: (134-136)\n" + 5400 " │ │ ├─ tableId: 12\n" + 5401 " │ │ └─ Table\n" + 5402 " │ │ ├─ name: TPXBU\n" + 5403 " │ │ └─ columns: [id btxc5]\n" + 5404 " │ │ as TPXBU, sl3s5.NO52D:65!null as NO52D, sl3s5.IDPK7:66!null as IDPK7]\n" + 5405 " │ └─ Project\n" + 5406 " │ ├─ columns: [cla.id:37!null, cla.FTQLQ:38!null, cla.TUXML:39, cla.PAEF5:40, cla.RUCY4:41, cla.TPNJ6:42!null, cla.LBL53:43, cla.NB3QS:44, cla.EO7IV:45, cla.MUHJF:46, cla.FM34L:47, cla.TY5RF:48, cla.ZHTLH:49, cla.NPB7W:50, cla.SX3HH:51, cla.ISBNF:52, cla.YA7YB:53, cla.C5YKB:54, cla.QK7KT:55, cla.FFGE6:56, cla.FIIGJ:57, cla.SH3NC:58, cla.NTENA:59, cla.M4AUB:60, cla.X5AIR:61, cla.SAB6M:62, cla.G5QI5:63, cla.ZVQVD:64, cla.YKSSU:65, cla.FHCYT:66, bs.id:33!null, bs.NFRYN:34!null, bs.IXUXU:35, bs.FHCYT:36, mf.id:16!null, mf.GXLUB:17!null, mf.LUEVY:18!null, mf.M22QN:19!null, mf.TJPT7:20!null, mf.ARN5P:21!null, mf.XOSD4:22!null, mf.IDE43:23, mf.HMW4H:24, mf.ZBT6R:25, mf.FSDY2:26!null, mf.LT7K6:27, mf.SPPYD:28, mf.QCGTS:29, mf.TEUJA:30, mf.QQV4M:31, mf.FHCYT:32, sn.id:6!null, sn.BRQP2:7!null, sn.FFTBJ:8!null, sn.A7XO2:9, sn.KBO7R:10!null, sn.ECDKM:11, sn.NUMK2:12!null, sn.LETOE:13!null, sn.YKSSU:14, sn.FHCYT:15, sl3s5.BDNYB:0!null, sl3s5.TOFPN:1!null, sl3s5.M22QN:2!null, sl3s5.ADURZ:3!null, sl3s5.NO52D:4!null, sl3s5.IDPK7:5!null, cla.FTQLQ:38!null as T4IBQ, sl3s5.TOFPN:1!null as DL754, sn.id:6!null as BDNYB, sl3s5.ADURZ:3!null as ADURZ, Subquery\n" + 5407 " │ │ ├─ cacheable: false\n" + 5408 " │ │ ├─ alias-string: select aac.BTXC5 from TPXBU as aac where aac.id = SL3S5.M22QN\n" + 5409 " │ │ └─ Project\n" + 5410 " │ │ ├─ columns: [aac.BTXC5:68]\n" + 5411 " │ │ └─ Filter\n" + 5412 " │ │ ├─ Eq\n" + 5413 " │ │ │ ├─ aac.id:67!null\n" + 5414 " │ │ │ └─ sl3s5.M22QN:2!null\n" + 5415 " │ │ └─ TableAlias(aac)\n" + 5416 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5417 " │ │ ├─ index: [TPXBU.id]\n" + 5418 " │ │ ├─ keys: [sl3s5.M22QN:2!null]\n" + 5419 " │ │ ├─ colSet: (134-136)\n" + 5420 " │ │ ├─ tableId: 12\n" + 5421 " │ │ └─ Table\n" + 5422 " │ │ ├─ name: TPXBU\n" + 5423 " │ │ └─ columns: [id btxc5]\n" + 5424 " │ │ as TPXBU, sl3s5.NO52D:4!null as NO52D, sl3s5.IDPK7:5!null as IDPK7]\n" + 5425 " │ └─ LookupJoin\n" + 5426 " │ ├─ LookupJoin\n" + 5427 " │ │ ├─ LookupJoin\n" + 5428 " │ │ │ ├─ Eq\n" + 5429 " │ │ │ │ ├─ sn.BRQP2:7!null\n" + 5430 " │ │ │ │ └─ mf.LUEVY:18!null\n" + 5431 " │ │ │ ├─ LookupJoin\n" + 5432 " │ │ │ │ ├─ SubqueryAlias\n" + 5433 " │ │ │ │ │ ├─ name: sl3s5\n" + 5434 " │ │ │ │ │ ├─ outerVisibility: false\n" + 5435 " │ │ │ │ │ ├─ isLateral: false\n" + 5436 " │ │ │ │ │ ├─ cacheable: true\n" + 5437 " │ │ │ │ │ ├─ colSet: (124-129)\n" + 5438 " │ │ │ │ │ ├─ tableId: 11\n" + 5439 " │ │ │ │ │ └─ Project\n" + 5440 " │ │ │ │ │ ├─ columns: [khjjo.BDNYB:1!null as BDNYB, ci.FTQLQ:10!null as TOFPN, ct.M22QN:5!null as M22QN, cec.ADURZ:13!null as ADURZ, cec.NO52D:12!null as NO52D, ct.S3Q3Y:7!null as IDPK7]\n" + 5441 " │ │ │ │ │ └─ LookupJoin\n" + 5442 " │ │ │ │ │ ├─ LookupJoin\n" + 5443 " │ │ │ │ │ │ ├─ LookupJoin\n" + 5444 " │ │ │ │ │ │ │ ├─ Eq\n" + 5445 " │ │ │ │ │ │ │ │ ├─ ct.LUEVY:4!null\n" + 5446 " │ │ │ │ │ │ │ │ └─ khjjo.LUEVY:2!null\n" + 5447 " │ │ │ │ │ │ │ ├─ SubqueryAlias\n" + 5448 " │ │ │ │ │ │ │ │ ├─ name: khjjo\n" + 5449 " │ │ │ │ │ │ │ │ ├─ outerVisibility: false\n" + 5450 " │ │ │ │ │ │ │ │ ├─ isLateral: false\n" + 5451 " │ │ │ │ │ │ │ │ ├─ cacheable: true\n" + 5452 " │ │ │ │ │ │ │ │ ├─ colSet: (92-94)\n" + 5453 " │ │ │ │ │ │ │ │ ├─ tableId: 7\n" + 5454 " │ │ │ │ │ │ │ │ └─ Distinct\n" + 5455 " │ │ │ │ │ │ │ │ └─ Project\n" + 5456 " │ │ │ │ │ │ │ │ ├─ columns: [mf.M22QN:13!null as M22QN, sn.id:0!null as BDNYB, mf.LUEVY:12!null as LUEVY]\n" + 5457 " │ │ │ │ │ │ │ │ └─ LookupJoin\n" + 5458 " │ │ │ │ │ │ │ │ ├─ TableAlias(sn)\n" + 5459 " │ │ │ │ │ │ │ │ │ └─ Table\n" + 5460 " │ │ │ │ │ │ │ │ │ ├─ name: NOXN3\n" + 5461 " │ │ │ │ │ │ │ │ │ ├─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 5462 " │ │ │ │ │ │ │ │ │ ├─ colSet: (79-88)\n" + 5463 " │ │ │ │ │ │ │ │ │ └─ tableId: 6\n" + 5464 " │ │ │ │ │ │ │ │ └─ TableAlias(mf)\n" + 5465 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 5466 " │ │ │ │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 5467 " │ │ │ │ │ │ │ │ ├─ keys: [sn.BRQP2:1!null]\n" + 5468 " │ │ │ │ │ │ │ │ ├─ colSet: (62-78)\n" + 5469 " │ │ │ │ │ │ │ │ ├─ tableId: 5\n" + 5470 " │ │ │ │ │ │ │ │ └─ Table\n" + 5471 " │ │ │ │ │ │ │ │ ├─ name: HGMQ6\n" + 5472 " │ │ │ │ │ │ │ │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 5473 " │ │ │ │ │ │ │ └─ Filter\n" + 5474 " │ │ │ │ │ │ │ ├─ Eq\n" + 5475 " │ │ │ │ │ │ │ │ ├─ ct.ZRV3B:5!null\n" + 5476 " │ │ │ │ │ │ │ │ └─ = (longtext)\n" + 5477 " │ │ │ │ │ │ │ └─ TableAlias(ct)\n" + 5478 " │ │ │ │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 5479 " │ │ │ │ │ │ │ ├─ index: [FLQLP.M22QN]\n" + 5480 " │ │ │ │ │ │ │ ├─ keys: [khjjo.M22QN:0!null]\n" + 5481 " │ │ │ │ │ │ │ ├─ colSet: (95-106)\n" + 5482 " │ │ │ │ │ │ │ ├─ tableId: 8\n" + 5483 " │ │ │ │ │ │ │ └─ Table\n" + 5484 " │ │ │ │ │ │ │ ├─ name: FLQLP\n" + 5485 " │ │ │ │ │ │ │ └─ columns: [fz2r5 luevy m22qn ove3e s3q3y zrv3b]\n" + 5486 " │ │ │ │ │ │ └─ Filter\n" + 5487 " │ │ │ │ │ │ ├─ HashIn\n" + 5488 " │ │ │ │ │ │ │ ├─ ci.FTQLQ:1!null\n" + 5489 " │ │ │ │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 5490 " │ │ │ │ │ │ └─ TableAlias(ci)\n" + 5491 " │ │ │ │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 5492 " │ │ │ │ │ │ ├─ index: [JDLNA.id]\n" + 5493 " │ │ │ │ │ │ ├─ keys: [ct.FZ2R5:3!null]\n" + 5494 " │ │ │ │ │ │ ├─ colSet: (107-111)\n" + 5495 " │ │ │ │ │ │ ├─ tableId: 9\n" + 5496 " │ │ │ │ │ │ └─ Table\n" + 5497 " │ │ │ │ │ │ ├─ name: JDLNA\n" + 5498 " │ │ │ │ │ │ └─ columns: [id ftqlq]\n" + 5499 " │ │ │ │ │ └─ TableAlias(cec)\n" + 5500 " │ │ │ │ │ └─ IndexedTableAccess(SFEGG)\n" + 5501 " │ │ │ │ │ ├─ index: [SFEGG.id]\n" + 5502 " │ │ │ │ │ ├─ keys: [ct.OVE3E:6!null]\n" + 5503 " │ │ │ │ │ ├─ colSet: (112-117)\n" + 5504 " │ │ │ │ │ ├─ tableId: 10\n" + 5505 " │ │ │ │ │ └─ Table\n" + 5506 " │ │ │ │ │ ├─ name: SFEGG\n" + 5507 " │ │ │ │ │ └─ columns: [id no52d adurz]\n" + 5508 " │ │ │ │ └─ TableAlias(sn)\n" + 5509 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 5510 " │ │ │ │ ├─ index: [NOXN3.id]\n" + 5511 " │ │ │ │ ├─ keys: [sl3s5.BDNYB:0!null]\n" + 5512 " │ │ │ │ ├─ colSet: (52-61)\n" + 5513 " │ │ │ │ ├─ tableId: 4\n" + 5514 " │ │ │ │ └─ Table\n" + 5515 " │ │ │ │ ├─ name: NOXN3\n" + 5516 " │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 5517 " │ │ │ └─ TableAlias(mf)\n" + 5518 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 5519 " │ │ │ ├─ index: [HGMQ6.M22QN]\n" + 5520 " │ │ │ ├─ keys: [sl3s5.M22QN:2!null]\n" + 5521 " │ │ │ ├─ colSet: (35-51)\n" + 5522 " │ │ │ ├─ tableId: 3\n" + 5523 " │ │ │ └─ Table\n" + 5524 " │ │ │ ├─ name: HGMQ6\n" + 5525 " │ │ │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 5526 " │ │ └─ TableAlias(bs)\n" + 5527 " │ │ └─ IndexedTableAccess(THNTS)\n" + 5528 " │ │ ├─ index: [THNTS.id]\n" + 5529 " │ │ ├─ keys: [mf.GXLUB:17!null]\n" + 5530 " │ │ ├─ colSet: (31-34)\n" + 5531 " │ │ ├─ tableId: 2\n" + 5532 " │ │ └─ Table\n" + 5533 " │ │ ├─ name: THNTS\n" + 5534 " │ │ └─ columns: [id nfryn ixuxu fhcyt]\n" + 5535 " │ └─ Filter\n" + 5536 " │ ├─ HashIn\n" + 5537 " │ │ ├─ cla.FTQLQ:1!null\n" + 5538 " │ │ └─ TUPLE(SQ1 (longtext))\n" + 5539 " │ └─ TableAlias(cla)\n" + 5540 " │ └─ IndexedTableAccess(YK2GW)\n" + 5541 " │ ├─ index: [YK2GW.id]\n" + 5542 " │ ├─ keys: [bs.IXUXU:35]\n" + 5543 " │ ├─ colSet: (1-30)\n" + 5544 " │ ├─ tableId: 1\n" + 5545 " │ └─ Table\n" + 5546 " │ ├─ name: YK2GW\n" + 5547 " │ └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 5548 " └─ Project\n" + 5549 " ├─ columns: [aoev5.t4ibq:0!null as t4ibq, vumuy.DL754:1!null, vumuy.BDNYB:2!null, vumuy.ADURZ:3!null, vumuy.TPXBU:4, vumuy.NO52D:5!null, vumuy.IDPK7:6!null]\n" + 5550 " └─ Project\n" + 5551 " ├─ columns: [aoev5.t4ibq:6!null, vumuy.DL754:0!null, vumuy.BDNYB:1!null, vumuy.ADURZ:2!null, vumuy.TPXBU:3, vumuy.NO52D:4!null, vumuy.IDPK7:5!null]\n" + 5552 " └─ CrossHashJoin\n" + 5553 " ├─ SubqueryAlias\n" + 5554 " │ ├─ name: vumuy\n" + 5555 " │ ├─ outerVisibility: false\n" + 5556 " │ ├─ isLateral: false\n" + 5557 " │ ├─ cacheable: true\n" + 5558 " │ ├─ colSet: (207-212)\n" + 5559 " │ ├─ tableId: 21\n" + 5560 " │ └─ Project\n" + 5561 " │ ├─ columns: [sl3s5.TOFPN:11!null as DL754, sn.id:0!null as BDNYB, sl3s5.ADURZ:13!null as ADURZ, Subquery\n" + 5562 " │ │ ├─ cacheable: false\n" + 5563 " │ │ ├─ alias-string: select aac.BTXC5 from TPXBU as aac where aac.id = SL3S5.M22QN\n" + 5564 " │ │ └─ Project\n" + 5565 " │ │ ├─ columns: [aac.BTXC5:23]\n" + 5566 " │ │ └─ Filter\n" + 5567 " │ │ ├─ Eq\n" + 5568 " │ │ │ ├─ aac.id:22!null\n" + 5569 " │ │ │ └─ sl3s5.M22QN:12!null\n" + 5570 " │ │ └─ TableAlias(aac)\n" + 5571 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5572 " │ │ ├─ index: [TPXBU.id]\n" + 5573 " │ │ ├─ keys: [sl3s5.M22QN:12!null]\n" + 5574 " │ │ ├─ colSet: (201-203)\n" + 5575 " │ │ ├─ tableId: 20\n" + 5576 " │ │ └─ Table\n" + 5577 " │ │ ├─ name: TPXBU\n" + 5578 " │ │ └─ columns: [id btxc5]\n" + 5579 " │ │ as TPXBU, sl3s5.NO52D:14!null as NO52D, sl3s5.IDPK7:15!null as IDPK7]\n" + 5580 " │ └─ Project\n" + 5581 " │ ├─ columns: [sn.id:6!null, sn.BRQP2:7!null, sn.FFTBJ:8!null, sn.A7XO2:9, sn.KBO7R:10!null, sn.ECDKM:11, sn.NUMK2:12!null, sn.LETOE:13!null, sn.YKSSU:14, sn.FHCYT:15, sl3s5.BDNYB:0!null, sl3s5.TOFPN:1!null, sl3s5.M22QN:2!null, sl3s5.ADURZ:3!null, sl3s5.NO52D:4!null, sl3s5.IDPK7:5!null, sl3s5.TOFPN:1!null as DL754, sn.id:6!null as BDNYB, sl3s5.ADURZ:3!null as ADURZ, Subquery\n" + 5582 " │ │ ├─ cacheable: false\n" + 5583 " │ │ ├─ alias-string: select aac.BTXC5 from TPXBU as aac where aac.id = SL3S5.M22QN\n" + 5584 " │ │ └─ Project\n" + 5585 " │ │ ├─ columns: [aac.BTXC5:17]\n" + 5586 " │ │ └─ Filter\n" + 5587 " │ │ ├─ Eq\n" + 5588 " │ │ │ ├─ aac.id:16!null\n" + 5589 " │ │ │ └─ sl3s5.M22QN:2!null\n" + 5590 " │ │ └─ TableAlias(aac)\n" + 5591 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5592 " │ │ ├─ index: [TPXBU.id]\n" + 5593 " │ │ ├─ keys: [sl3s5.M22QN:2!null]\n" + 5594 " │ │ ├─ colSet: (201-203)\n" + 5595 " │ │ ├─ tableId: 20\n" + 5596 " │ │ └─ Table\n" + 5597 " │ │ ├─ name: TPXBU\n" + 5598 " │ │ └─ columns: [id btxc5]\n" + 5599 " │ │ as TPXBU, sl3s5.NO52D:4!null as NO52D, sl3s5.IDPK7:5!null as IDPK7]\n" + 5600 " │ └─ LookupJoin\n" + 5601 " │ ├─ SubqueryAlias\n" + 5602 " │ │ ├─ name: sl3s5\n" + 5603 " │ │ ├─ outerVisibility: false\n" + 5604 " │ │ ├─ isLateral: false\n" + 5605 " │ │ ├─ cacheable: true\n" + 5606 " │ │ ├─ colSet: (192-197)\n" + 5607 " │ │ ├─ tableId: 19\n" + 5608 " │ │ └─ Project\n" + 5609 " │ │ ├─ columns: [sn.id:0!null as BDNYB, ci.FTQLQ:23!null as TOFPN, ct.M22QN:13!null as M22QN, cec.ADURZ:26!null as ADURZ, cec.NO52D:25!null as NO52D, ct.S3Q3Y:19!null as IDPK7]\n" + 5610 " │ │ └─ HashJoin\n" + 5611 " │ │ ├─ Eq\n" + 5612 " │ │ │ ├─ cec.id:24!null\n" + 5613 " │ │ │ └─ ct.OVE3E:14!null\n" + 5614 " │ │ ├─ HashJoin\n" + 5615 " │ │ │ ├─ Eq\n" + 5616 " │ │ │ │ ├─ ci.id:22!null\n" + 5617 " │ │ │ │ └─ ct.FZ2R5:11!null\n" + 5618 " │ │ │ ├─ MergeJoin\n" + 5619 " │ │ │ │ ├─ cmp: Eq\n" + 5620 " │ │ │ │ │ ├─ sn.BRQP2:1!null\n" + 5621 " │ │ │ │ │ └─ ct.LUEVY:12!null\n" + 5622 " │ │ │ │ ├─ sel: Eq\n" + 5623 " │ │ │ │ │ ├─ ct.M22QN:13!null\n" + 5624 " │ │ │ │ │ └─ Subquery\n" + 5625 " │ │ │ │ │ ├─ cacheable: true\n" + 5626 " │ │ │ │ │ ├─ alias-string: select aac.id from TPXBU as aac where BTXC5 = 'WT'\n" + 5627 " │ │ │ │ │ └─ Project\n" + 5628 " │ │ │ │ │ ├─ columns: [aac.id:22!null]\n" + 5629 " │ │ │ │ │ └─ Filter\n" + 5630 " │ │ │ │ │ ├─ Eq\n" + 5631 " │ │ │ │ │ │ ├─ aac.BTXC5:23\n" + 5632 " │ │ │ │ │ │ └─ WT (longtext)\n" + 5633 " │ │ │ │ │ └─ TableAlias(aac)\n" + 5634 " │ │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 5635 " │ │ │ │ │ ├─ index: [TPXBU.BTXC5]\n" + 5636 " │ │ │ │ │ ├─ static: [{[WT, WT]}]\n" + 5637 " │ │ │ │ │ ├─ colSet: (172-174)\n" + 5638 " │ │ │ │ │ ├─ tableId: 16\n" + 5639 " │ │ │ │ │ └─ Table\n" + 5640 " │ │ │ │ │ ├─ name: TPXBU\n" + 5641 " │ │ │ │ │ └─ columns: [id btxc5]\n" + 5642 " │ │ │ │ ├─ TableAlias(sn)\n" + 5643 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 5644 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 5645 " │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 5646 " │ │ │ │ │ ├─ colSet: (150-159)\n" + 5647 " │ │ │ │ │ ├─ tableId: 14\n" + 5648 " │ │ │ │ │ └─ Table\n" + 5649 " │ │ │ │ │ ├─ name: NOXN3\n" + 5650 " │ │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 5651 " │ │ │ │ └─ Filter\n" + 5652 " │ │ │ │ ├─ Eq\n" + 5653 " │ │ │ │ │ ├─ ct.ZRV3B:10!null\n" + 5654 " │ │ │ │ │ └─ = (longtext)\n" + 5655 " │ │ │ │ └─ TableAlias(ct)\n" + 5656 " │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 5657 " │ │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 5658 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 5659 " │ │ │ │ ├─ colSet: (160-171)\n" + 5660 " │ │ │ │ ├─ tableId: 15\n" + 5661 " │ │ │ │ └─ Table\n" + 5662 " │ │ │ │ ├─ name: FLQLP\n" + 5663 " │ │ │ │ └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 5664 " │ │ │ └─ HashLookup\n" + 5665 " │ │ │ ├─ left-key: TUPLE(ct.FZ2R5:11!null)\n" + 5666 " │ │ │ ├─ right-key: TUPLE(ci.id:0!null)\n" + 5667 " │ │ │ └─ Filter\n" + 5668 " │ │ │ ├─ HashIn\n" + 5669 " │ │ │ │ ├─ ci.FTQLQ:1!null\n" + 5670 " │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 5671 " │ │ │ └─ TableAlias(ci)\n" + 5672 " │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 5673 " │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 5674 " │ │ │ ├─ static: [{[SQ1, SQ1]}]\n" + 5675 " │ │ │ ├─ colSet: (175-179)\n" + 5676 " │ │ │ ├─ tableId: 17\n" + 5677 " │ │ │ └─ Table\n" + 5678 " │ │ │ ├─ name: JDLNA\n" + 5679 " │ │ │ └─ columns: [id ftqlq]\n" + 5680 " │ │ └─ HashLookup\n" + 5681 " │ │ ├─ left-key: TUPLE(ct.OVE3E:14!null)\n" + 5682 " │ │ ├─ right-key: TUPLE(cec.id:0!null)\n" + 5683 " │ │ └─ TableAlias(cec)\n" + 5684 " │ │ └─ Table\n" + 5685 " │ │ ├─ name: SFEGG\n" + 5686 " │ │ ├─ columns: [id no52d adurz]\n" + 5687 " │ │ ├─ colSet: (180-185)\n" + 5688 " │ │ └─ tableId: 18\n" + 5689 " │ └─ TableAlias(sn)\n" + 5690 " │ └─ IndexedTableAccess(NOXN3)\n" + 5691 " │ ├─ index: [NOXN3.id]\n" + 5692 " │ ├─ keys: [sl3s5.BDNYB:0!null]\n" + 5693 " │ ├─ colSet: (140-149)\n" + 5694 " │ ├─ tableId: 13\n" + 5695 " │ └─ Table\n" + 5696 " │ ├─ name: NOXN3\n" + 5697 " │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 5698 " └─ HashLookup\n" + 5699 " ├─ left-key: TUPLE()\n" + 5700 " ├─ right-key: TUPLE()\n" + 5701 " └─ SubqueryAlias\n" + 5702 " ├─ name: aoev5\n" + 5703 " ├─ outerVisibility: false\n" + 5704 " ├─ isLateral: false\n" + 5705 " ├─ cacheable: true\n" + 5706 " ├─ colSet: (214)\n" + 5707 " ├─ tableId: 23\n" + 5708 " └─ Project\n" + 5709 " ├─ columns: [temp_aoev5.t4ibq:0!null]\n" + 5710 " └─ Values() as temp_AOEV5\n" + 5711 " ├─ Row(\n" + 5712 " │ 1 (longtext))\n" + 5713 " ├─ Row(\n" + 5714 " │ 2 (longtext))\n" + 5715 " ├─ Row(\n" + 5716 " │ 3 (longtext))\n" + 5717 " ├─ Row(\n" + 5718 " │ 4 (longtext))\n" + 5719 " └─ Row(\n" + 5720 " 5 (longtext))\n" + 5721 "", 5722 ExpectedEstimates: "Union all\n" + 5723 " ├─ Project\n" + 5724 " │ ├─ columns: [convert(T4IBQ, char) as T4IBQ, DL754, BDNYB, ADURZ, TPXBU, NO52D, IDPK7]\n" + 5725 " │ └─ Project\n" + 5726 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 5727 " │ │ ├─ cacheable: false\n" + 5728 " │ │ └─ Project\n" + 5729 " │ │ ├─ columns: [aac.BTXC5]\n" + 5730 " │ │ └─ Filter\n" + 5731 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 5732 " │ │ └─ TableAlias(aac)\n" + 5733 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5734 " │ │ ├─ index: [TPXBU.id]\n" + 5735 " │ │ ├─ columns: [id btxc5]\n" + 5736 " │ │ └─ keys: sl3s5.M22QN\n" + 5737 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 5738 " │ └─ Project\n" + 5739 " │ ├─ columns: [cla.id, cla.FTQLQ, cla.TUXML, cla.PAEF5, cla.RUCY4, cla.TPNJ6, cla.LBL53, cla.NB3QS, cla.EO7IV, cla.MUHJF, cla.FM34L, cla.TY5RF, cla.ZHTLH, cla.NPB7W, cla.SX3HH, cla.ISBNF, cla.YA7YB, cla.C5YKB, cla.QK7KT, cla.FFGE6, cla.FIIGJ, cla.SH3NC, cla.NTENA, cla.M4AUB, cla.X5AIR, cla.SAB6M, cla.G5QI5, cla.ZVQVD, cla.YKSSU, cla.FHCYT, bs.id, bs.NFRYN, bs.IXUXU, bs.FHCYT, mf.id, mf.GXLUB, mf.LUEVY, mf.M22QN, mf.TJPT7, mf.ARN5P, mf.XOSD4, mf.IDE43, mf.HMW4H, mf.ZBT6R, mf.FSDY2, mf.LT7K6, mf.SPPYD, mf.QCGTS, mf.TEUJA, mf.QQV4M, mf.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, sl3s5.BDNYB, sl3s5.TOFPN, sl3s5.M22QN, sl3s5.ADURZ, sl3s5.NO52D, sl3s5.IDPK7, cla.FTQLQ as T4IBQ, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 5740 " │ │ ├─ cacheable: false\n" + 5741 " │ │ └─ Project\n" + 5742 " │ │ ├─ columns: [aac.BTXC5]\n" + 5743 " │ │ └─ Filter\n" + 5744 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 5745 " │ │ └─ TableAlias(aac)\n" + 5746 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5747 " │ │ ├─ index: [TPXBU.id]\n" + 5748 " │ │ ├─ columns: [id btxc5]\n" + 5749 " │ │ └─ keys: sl3s5.M22QN\n" + 5750 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 5751 " │ └─ LookupJoin\n" + 5752 " │ ├─ LookupJoin\n" + 5753 " │ │ ├─ LookupJoin\n" + 5754 " │ │ │ ├─ (sn.BRQP2 = mf.LUEVY)\n" + 5755 " │ │ │ ├─ LookupJoin\n" + 5756 " │ │ │ │ ├─ SubqueryAlias\n" + 5757 " │ │ │ │ │ ├─ name: sl3s5\n" + 5758 " │ │ │ │ │ ├─ outerVisibility: false\n" + 5759 " │ │ │ │ │ ├─ isLateral: false\n" + 5760 " │ │ │ │ │ ├─ cacheable: true\n" + 5761 " │ │ │ │ │ └─ Project\n" + 5762 " │ │ │ │ │ ├─ columns: [khjjo.BDNYB as BDNYB, ci.FTQLQ as TOFPN, ct.M22QN as M22QN, cec.ADURZ as ADURZ, cec.NO52D as NO52D, ct.S3Q3Y as IDPK7]\n" + 5763 " │ │ │ │ │ └─ LookupJoin\n" + 5764 " │ │ │ │ │ ├─ LookupJoin\n" + 5765 " │ │ │ │ │ │ ├─ LookupJoin\n" + 5766 " │ │ │ │ │ │ │ ├─ (ct.LUEVY = khjjo.LUEVY)\n" + 5767 " │ │ │ │ │ │ │ ├─ SubqueryAlias\n" + 5768 " │ │ │ │ │ │ │ │ ├─ name: khjjo\n" + 5769 " │ │ │ │ │ │ │ │ ├─ outerVisibility: false\n" + 5770 " │ │ │ │ │ │ │ │ ├─ isLateral: false\n" + 5771 " │ │ │ │ │ │ │ │ ├─ cacheable: true\n" + 5772 " │ │ │ │ │ │ │ │ └─ Distinct\n" + 5773 " │ │ │ │ │ │ │ │ └─ Project\n" + 5774 " │ │ │ │ │ │ │ │ ├─ columns: [mf.M22QN as M22QN, sn.id as BDNYB, mf.LUEVY as LUEVY]\n" + 5775 " │ │ │ │ │ │ │ │ └─ LookupJoin\n" + 5776 " │ │ │ │ │ │ │ │ ├─ TableAlias(sn)\n" + 5777 " │ │ │ │ │ │ │ │ │ └─ Table\n" + 5778 " │ │ │ │ │ │ │ │ │ └─ name: NOXN3\n" + 5779 " │ │ │ │ │ │ │ │ └─ TableAlias(mf)\n" + 5780 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 5781 " │ │ │ │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 5782 " │ │ │ │ │ │ │ │ └─ keys: sn.BRQP2\n" + 5783 " │ │ │ │ │ │ │ └─ Filter\n" + 5784 " │ │ │ │ │ │ │ ├─ (ct.ZRV3B = '=')\n" + 5785 " │ │ │ │ │ │ │ └─ TableAlias(ct)\n" + 5786 " │ │ │ │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 5787 " │ │ │ │ │ │ │ ├─ index: [FLQLP.M22QN]\n" + 5788 " │ │ │ │ │ │ │ ├─ columns: [fz2r5 luevy m22qn ove3e s3q3y zrv3b]\n" + 5789 " │ │ │ │ │ │ │ └─ keys: khjjo.M22QN\n" + 5790 " │ │ │ │ │ │ └─ Filter\n" + 5791 " │ │ │ │ │ │ ├─ (ci.FTQLQ HASH IN ('SQ1'))\n" + 5792 " │ │ │ │ │ │ └─ TableAlias(ci)\n" + 5793 " │ │ │ │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 5794 " │ │ │ │ │ │ ├─ index: [JDLNA.id]\n" + 5795 " │ │ │ │ │ │ ├─ columns: [id ftqlq]\n" + 5796 " │ │ │ │ │ │ └─ keys: ct.FZ2R5\n" + 5797 " │ │ │ │ │ └─ TableAlias(cec)\n" + 5798 " │ │ │ │ │ └─ IndexedTableAccess(SFEGG)\n" + 5799 " │ │ │ │ │ ├─ index: [SFEGG.id]\n" + 5800 " │ │ │ │ │ ├─ columns: [id no52d adurz]\n" + 5801 " │ │ │ │ │ └─ keys: ct.OVE3E\n" + 5802 " │ │ │ │ └─ TableAlias(sn)\n" + 5803 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 5804 " │ │ │ │ ├─ index: [NOXN3.id]\n" + 5805 " │ │ │ │ └─ keys: sl3s5.BDNYB\n" + 5806 " │ │ │ └─ TableAlias(mf)\n" + 5807 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 5808 " │ │ │ ├─ index: [HGMQ6.M22QN]\n" + 5809 " │ │ │ └─ keys: sl3s5.M22QN\n" + 5810 " │ │ └─ TableAlias(bs)\n" + 5811 " │ │ └─ IndexedTableAccess(THNTS)\n" + 5812 " │ │ ├─ index: [THNTS.id]\n" + 5813 " │ │ └─ keys: mf.GXLUB\n" + 5814 " │ └─ Filter\n" + 5815 " │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 5816 " │ └─ TableAlias(cla)\n" + 5817 " │ └─ IndexedTableAccess(YK2GW)\n" + 5818 " │ ├─ index: [YK2GW.id]\n" + 5819 " │ └─ keys: bs.IXUXU\n" + 5820 " └─ Project\n" + 5821 " ├─ columns: [aoev5.t4ibq as t4ibq, vumuy.DL754, vumuy.BDNYB, vumuy.ADURZ, vumuy.TPXBU, vumuy.NO52D, vumuy.IDPK7]\n" + 5822 " └─ Project\n" + 5823 " ├─ columns: [aoev5.t4ibq, vumuy.DL754, vumuy.BDNYB, vumuy.ADURZ, vumuy.TPXBU, vumuy.NO52D, vumuy.IDPK7]\n" + 5824 " └─ CrossHashJoin\n" + 5825 " ├─ SubqueryAlias\n" + 5826 " │ ├─ name: vumuy\n" + 5827 " │ ├─ outerVisibility: false\n" + 5828 " │ ├─ isLateral: false\n" + 5829 " │ ├─ cacheable: true\n" + 5830 " │ └─ Project\n" + 5831 " │ ├─ columns: [sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 5832 " │ │ ├─ cacheable: false\n" + 5833 " │ │ └─ Project\n" + 5834 " │ │ ├─ columns: [aac.BTXC5]\n" + 5835 " │ │ └─ Filter\n" + 5836 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 5837 " │ │ └─ TableAlias(aac)\n" + 5838 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5839 " │ │ ├─ index: [TPXBU.id]\n" + 5840 " │ │ ├─ columns: [id btxc5]\n" + 5841 " │ │ └─ keys: sl3s5.M22QN\n" + 5842 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 5843 " │ └─ Project\n" + 5844 " │ ├─ columns: [sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, sl3s5.BDNYB, sl3s5.TOFPN, sl3s5.M22QN, sl3s5.ADURZ, sl3s5.NO52D, sl3s5.IDPK7, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 5845 " │ │ ├─ cacheable: false\n" + 5846 " │ │ └─ Project\n" + 5847 " │ │ ├─ columns: [aac.BTXC5]\n" + 5848 " │ │ └─ Filter\n" + 5849 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 5850 " │ │ └─ TableAlias(aac)\n" + 5851 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5852 " │ │ ├─ index: [TPXBU.id]\n" + 5853 " │ │ ├─ columns: [id btxc5]\n" + 5854 " │ │ └─ keys: sl3s5.M22QN\n" + 5855 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 5856 " │ └─ LookupJoin\n" + 5857 " │ ├─ SubqueryAlias\n" + 5858 " │ │ ├─ name: sl3s5\n" + 5859 " │ │ ├─ outerVisibility: false\n" + 5860 " │ │ ├─ isLateral: false\n" + 5861 " │ │ ├─ cacheable: true\n" + 5862 " │ │ └─ Project\n" + 5863 " │ │ ├─ columns: [sn.id as BDNYB, ci.FTQLQ as TOFPN, ct.M22QN as M22QN, cec.ADURZ as ADURZ, cec.NO52D as NO52D, ct.S3Q3Y as IDPK7]\n" + 5864 " │ │ └─ HashJoin\n" + 5865 " │ │ ├─ (cec.id = ct.OVE3E)\n" + 5866 " │ │ ├─ HashJoin\n" + 5867 " │ │ │ ├─ (ci.id = ct.FZ2R5)\n" + 5868 " │ │ │ ├─ MergeJoin\n" + 5869 " │ │ │ │ ├─ cmp: (sn.BRQP2 = ct.LUEVY)\n" + 5870 " │ │ │ │ ├─ sel: (ct.M22QN = Subquery\n" + 5871 " │ │ │ │ │ ├─ cacheable: true\n" + 5872 " │ │ │ │ │ └─ Project\n" + 5873 " │ │ │ │ │ ├─ columns: [aac.id]\n" + 5874 " │ │ │ │ │ └─ Filter\n" + 5875 " │ │ │ │ │ ├─ (aac.BTXC5 = 'WT')\n" + 5876 " │ │ │ │ │ └─ TableAlias(aac)\n" + 5877 " │ │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 5878 " │ │ │ │ │ ├─ index: [TPXBU.BTXC5]\n" + 5879 " │ │ │ │ │ ├─ filters: [{[WT, WT]}]\n" + 5880 " │ │ │ │ │ └─ columns: [id btxc5]\n" + 5881 " │ │ │ │ │ )\n" + 5882 " │ │ │ │ ├─ TableAlias(sn)\n" + 5883 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 5884 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 5885 " │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 5886 " │ │ │ │ └─ Filter\n" + 5887 " │ │ │ │ ├─ (ct.ZRV3B = '=')\n" + 5888 " │ │ │ │ └─ TableAlias(ct)\n" + 5889 " │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 5890 " │ │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 5891 " │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 5892 " │ │ │ └─ HashLookup\n" + 5893 " │ │ │ ├─ left-key: (ct.FZ2R5)\n" + 5894 " │ │ │ ├─ right-key: (ci.id)\n" + 5895 " │ │ │ └─ Filter\n" + 5896 " │ │ │ ├─ (ci.FTQLQ HASH IN ('SQ1'))\n" + 5897 " │ │ │ └─ TableAlias(ci)\n" + 5898 " │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 5899 " │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 5900 " │ │ │ ├─ filters: [{[SQ1, SQ1]}]\n" + 5901 " │ │ │ └─ columns: [id ftqlq]\n" + 5902 " │ │ └─ HashLookup\n" + 5903 " │ │ ├─ left-key: (ct.OVE3E)\n" + 5904 " │ │ ├─ right-key: (cec.id)\n" + 5905 " │ │ └─ TableAlias(cec)\n" + 5906 " │ │ └─ Table\n" + 5907 " │ │ ├─ name: SFEGG\n" + 5908 " │ │ └─ columns: [id no52d adurz]\n" + 5909 " │ └─ TableAlias(sn)\n" + 5910 " │ └─ IndexedTableAccess(NOXN3)\n" + 5911 " │ ├─ index: [NOXN3.id]\n" + 5912 " │ └─ keys: sl3s5.BDNYB\n" + 5913 " └─ HashLookup\n" + 5914 " ├─ left-key: ()\n" + 5915 " ├─ right-key: ()\n" + 5916 " └─ SubqueryAlias\n" + 5917 " ├─ name: aoev5\n" + 5918 " ├─ outerVisibility: false\n" + 5919 " ├─ isLateral: false\n" + 5920 " ├─ cacheable: true\n" + 5921 " └─ Project\n" + 5922 " ├─ columns: [temp_aoev5.t4ibq]\n" + 5923 " └─ Values() as temp_AOEV5\n" + 5924 " ├─ Row(\n" + 5925 " │ '1')\n" + 5926 " ├─ Row(\n" + 5927 " │ '2')\n" + 5928 " ├─ Row(\n" + 5929 " │ '3')\n" + 5930 " ├─ Row(\n" + 5931 " │ '4')\n" + 5932 " └─ Row(\n" + 5933 " '5')\n" + 5934 "", 5935 ExpectedAnalysis: "Union all\n" + 5936 " ├─ Project\n" + 5937 " │ ├─ columns: [convert(T4IBQ, char) as T4IBQ, DL754, BDNYB, ADURZ, TPXBU, NO52D, IDPK7]\n" + 5938 " │ └─ Project\n" + 5939 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 5940 " │ │ ├─ cacheable: false\n" + 5941 " │ │ └─ Project\n" + 5942 " │ │ ├─ columns: [aac.BTXC5]\n" + 5943 " │ │ └─ Filter\n" + 5944 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 5945 " │ │ └─ TableAlias(aac)\n" + 5946 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5947 " │ │ ├─ index: [TPXBU.id]\n" + 5948 " │ │ ├─ columns: [id btxc5]\n" + 5949 " │ │ └─ keys: sl3s5.M22QN\n" + 5950 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 5951 " │ └─ Project\n" + 5952 " │ ├─ columns: [cla.id, cla.FTQLQ, cla.TUXML, cla.PAEF5, cla.RUCY4, cla.TPNJ6, cla.LBL53, cla.NB3QS, cla.EO7IV, cla.MUHJF, cla.FM34L, cla.TY5RF, cla.ZHTLH, cla.NPB7W, cla.SX3HH, cla.ISBNF, cla.YA7YB, cla.C5YKB, cla.QK7KT, cla.FFGE6, cla.FIIGJ, cla.SH3NC, cla.NTENA, cla.M4AUB, cla.X5AIR, cla.SAB6M, cla.G5QI5, cla.ZVQVD, cla.YKSSU, cla.FHCYT, bs.id, bs.NFRYN, bs.IXUXU, bs.FHCYT, mf.id, mf.GXLUB, mf.LUEVY, mf.M22QN, mf.TJPT7, mf.ARN5P, mf.XOSD4, mf.IDE43, mf.HMW4H, mf.ZBT6R, mf.FSDY2, mf.LT7K6, mf.SPPYD, mf.QCGTS, mf.TEUJA, mf.QQV4M, mf.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, sl3s5.BDNYB, sl3s5.TOFPN, sl3s5.M22QN, sl3s5.ADURZ, sl3s5.NO52D, sl3s5.IDPK7, cla.FTQLQ as T4IBQ, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 5953 " │ │ ├─ cacheable: false\n" + 5954 " │ │ └─ Project\n" + 5955 " │ │ ├─ columns: [aac.BTXC5]\n" + 5956 " │ │ └─ Filter\n" + 5957 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 5958 " │ │ └─ TableAlias(aac)\n" + 5959 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 5960 " │ │ ├─ index: [TPXBU.id]\n" + 5961 " │ │ ├─ columns: [id btxc5]\n" + 5962 " │ │ └─ keys: sl3s5.M22QN\n" + 5963 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 5964 " │ └─ LookupJoin\n" + 5965 " │ ├─ LookupJoin\n" + 5966 " │ │ ├─ LookupJoin\n" + 5967 " │ │ │ ├─ (sn.BRQP2 = mf.LUEVY)\n" + 5968 " │ │ │ ├─ LookupJoin\n" + 5969 " │ │ │ │ ├─ SubqueryAlias\n" + 5970 " │ │ │ │ │ ├─ name: sl3s5\n" + 5971 " │ │ │ │ │ ├─ outerVisibility: false\n" + 5972 " │ │ │ │ │ ├─ isLateral: false\n" + 5973 " │ │ │ │ │ ├─ cacheable: true\n" + 5974 " │ │ │ │ │ └─ Project\n" + 5975 " │ │ │ │ │ ├─ columns: [khjjo.BDNYB as BDNYB, ci.FTQLQ as TOFPN, ct.M22QN as M22QN, cec.ADURZ as ADURZ, cec.NO52D as NO52D, ct.S3Q3Y as IDPK7]\n" + 5976 " │ │ │ │ │ └─ LookupJoin\n" + 5977 " │ │ │ │ │ ├─ LookupJoin\n" + 5978 " │ │ │ │ │ │ ├─ LookupJoin\n" + 5979 " │ │ │ │ │ │ │ ├─ (ct.LUEVY = khjjo.LUEVY)\n" + 5980 " │ │ │ │ │ │ │ ├─ SubqueryAlias\n" + 5981 " │ │ │ │ │ │ │ │ ├─ name: khjjo\n" + 5982 " │ │ │ │ │ │ │ │ ├─ outerVisibility: false\n" + 5983 " │ │ │ │ │ │ │ │ ├─ isLateral: false\n" + 5984 " │ │ │ │ │ │ │ │ ├─ cacheable: true\n" + 5985 " │ │ │ │ │ │ │ │ └─ Distinct\n" + 5986 " │ │ │ │ │ │ │ │ └─ Project\n" + 5987 " │ │ │ │ │ │ │ │ ├─ columns: [mf.M22QN as M22QN, sn.id as BDNYB, mf.LUEVY as LUEVY]\n" + 5988 " │ │ │ │ │ │ │ │ └─ LookupJoin\n" + 5989 " │ │ │ │ │ │ │ │ ├─ TableAlias(sn)\n" + 5990 " │ │ │ │ │ │ │ │ │ └─ Table\n" + 5991 " │ │ │ │ │ │ │ │ │ └─ name: NOXN3\n" + 5992 " │ │ │ │ │ │ │ │ └─ TableAlias(mf)\n" + 5993 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 5994 " │ │ │ │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 5995 " │ │ │ │ │ │ │ │ └─ keys: sn.BRQP2\n" + 5996 " │ │ │ │ │ │ │ └─ Filter\n" + 5997 " │ │ │ │ │ │ │ ├─ (ct.ZRV3B = '=')\n" + 5998 " │ │ │ │ │ │ │ └─ TableAlias(ct)\n" + 5999 " │ │ │ │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 6000 " │ │ │ │ │ │ │ ├─ index: [FLQLP.M22QN]\n" + 6001 " │ │ │ │ │ │ │ ├─ columns: [fz2r5 luevy m22qn ove3e s3q3y zrv3b]\n" + 6002 " │ │ │ │ │ │ │ └─ keys: khjjo.M22QN\n" + 6003 " │ │ │ │ │ │ └─ Filter\n" + 6004 " │ │ │ │ │ │ ├─ (ci.FTQLQ HASH IN ('SQ1'))\n" + 6005 " │ │ │ │ │ │ └─ TableAlias(ci)\n" + 6006 " │ │ │ │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 6007 " │ │ │ │ │ │ ├─ index: [JDLNA.id]\n" + 6008 " │ │ │ │ │ │ ├─ columns: [id ftqlq]\n" + 6009 " │ │ │ │ │ │ └─ keys: ct.FZ2R5\n" + 6010 " │ │ │ │ │ └─ TableAlias(cec)\n" + 6011 " │ │ │ │ │ └─ IndexedTableAccess(SFEGG)\n" + 6012 " │ │ │ │ │ ├─ index: [SFEGG.id]\n" + 6013 " │ │ │ │ │ ├─ columns: [id no52d adurz]\n" + 6014 " │ │ │ │ │ └─ keys: ct.OVE3E\n" + 6015 " │ │ │ │ └─ TableAlias(sn)\n" + 6016 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 6017 " │ │ │ │ ├─ index: [NOXN3.id]\n" + 6018 " │ │ │ │ └─ keys: sl3s5.BDNYB\n" + 6019 " │ │ │ └─ TableAlias(mf)\n" + 6020 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 6021 " │ │ │ ├─ index: [HGMQ6.M22QN]\n" + 6022 " │ │ │ └─ keys: sl3s5.M22QN\n" + 6023 " │ │ └─ TableAlias(bs)\n" + 6024 " │ │ └─ IndexedTableAccess(THNTS)\n" + 6025 " │ │ ├─ index: [THNTS.id]\n" + 6026 " │ │ └─ keys: mf.GXLUB\n" + 6027 " │ └─ Filter\n" + 6028 " │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 6029 " │ └─ TableAlias(cla)\n" + 6030 " │ └─ IndexedTableAccess(YK2GW)\n" + 6031 " │ ├─ index: [YK2GW.id]\n" + 6032 " │ └─ keys: bs.IXUXU\n" + 6033 " └─ Project\n" + 6034 " ├─ columns: [aoev5.t4ibq as t4ibq, vumuy.DL754, vumuy.BDNYB, vumuy.ADURZ, vumuy.TPXBU, vumuy.NO52D, vumuy.IDPK7]\n" + 6035 " └─ Project\n" + 6036 " ├─ columns: [aoev5.t4ibq, vumuy.DL754, vumuy.BDNYB, vumuy.ADURZ, vumuy.TPXBU, vumuy.NO52D, vumuy.IDPK7]\n" + 6037 " └─ CrossHashJoin\n" + 6038 " ├─ SubqueryAlias\n" + 6039 " │ ├─ name: vumuy\n" + 6040 " │ ├─ outerVisibility: false\n" + 6041 " │ ├─ isLateral: false\n" + 6042 " │ ├─ cacheable: true\n" + 6043 " │ └─ Project\n" + 6044 " │ ├─ columns: [sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 6045 " │ │ ├─ cacheable: false\n" + 6046 " │ │ └─ Project\n" + 6047 " │ │ ├─ columns: [aac.BTXC5]\n" + 6048 " │ │ └─ Filter\n" + 6049 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 6050 " │ │ └─ TableAlias(aac)\n" + 6051 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 6052 " │ │ ├─ index: [TPXBU.id]\n" + 6053 " │ │ ├─ columns: [id btxc5]\n" + 6054 " │ │ └─ keys: sl3s5.M22QN\n" + 6055 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 6056 " │ └─ Project\n" + 6057 " │ ├─ columns: [sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, sl3s5.BDNYB, sl3s5.TOFPN, sl3s5.M22QN, sl3s5.ADURZ, sl3s5.NO52D, sl3s5.IDPK7, sl3s5.TOFPN as DL754, sn.id as BDNYB, sl3s5.ADURZ as ADURZ, Subquery\n" + 6058 " │ │ ├─ cacheable: false\n" + 6059 " │ │ └─ Project\n" + 6060 " │ │ ├─ columns: [aac.BTXC5]\n" + 6061 " │ │ └─ Filter\n" + 6062 " │ │ ├─ (aac.id = sl3s5.M22QN)\n" + 6063 " │ │ └─ TableAlias(aac)\n" + 6064 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 6065 " │ │ ├─ index: [TPXBU.id]\n" + 6066 " │ │ ├─ columns: [id btxc5]\n" + 6067 " │ │ └─ keys: sl3s5.M22QN\n" + 6068 " │ │ as TPXBU, sl3s5.NO52D as NO52D, sl3s5.IDPK7 as IDPK7]\n" + 6069 " │ └─ LookupJoin\n" + 6070 " │ ├─ SubqueryAlias\n" + 6071 " │ │ ├─ name: sl3s5\n" + 6072 " │ │ ├─ outerVisibility: false\n" + 6073 " │ │ ├─ isLateral: false\n" + 6074 " │ │ ├─ cacheable: true\n" + 6075 " │ │ └─ Project\n" + 6076 " │ │ ├─ columns: [sn.id as BDNYB, ci.FTQLQ as TOFPN, ct.M22QN as M22QN, cec.ADURZ as ADURZ, cec.NO52D as NO52D, ct.S3Q3Y as IDPK7]\n" + 6077 " │ │ └─ HashJoin\n" + 6078 " │ │ ├─ (cec.id = ct.OVE3E)\n" + 6079 " │ │ ├─ HashJoin\n" + 6080 " │ │ │ ├─ (ci.id = ct.FZ2R5)\n" + 6081 " │ │ │ ├─ MergeJoin\n" + 6082 " │ │ │ │ ├─ cmp: (sn.BRQP2 = ct.LUEVY)\n" + 6083 " │ │ │ │ ├─ sel: (ct.M22QN = Subquery\n" + 6084 " │ │ │ │ │ ├─ cacheable: true\n" + 6085 " │ │ │ │ │ └─ Project\n" + 6086 " │ │ │ │ │ ├─ columns: [aac.id]\n" + 6087 " │ │ │ │ │ └─ Filter\n" + 6088 " │ │ │ │ │ ├─ (aac.BTXC5 = 'WT')\n" + 6089 " │ │ │ │ │ └─ TableAlias(aac)\n" + 6090 " │ │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 6091 " │ │ │ │ │ ├─ index: [TPXBU.BTXC5]\n" + 6092 " │ │ │ │ │ ├─ filters: [{[WT, WT]}]\n" + 6093 " │ │ │ │ │ └─ columns: [id btxc5]\n" + 6094 " │ │ │ │ │ )\n" + 6095 " │ │ │ │ ├─ TableAlias(sn)\n" + 6096 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 6097 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 6098 " │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 6099 " │ │ │ │ └─ Filter\n" + 6100 " │ │ │ │ ├─ (ct.ZRV3B = '=')\n" + 6101 " │ │ │ │ └─ TableAlias(ct)\n" + 6102 " │ │ │ │ └─ IndexedTableAccess(FLQLP)\n" + 6103 " │ │ │ │ ├─ index: [FLQLP.LUEVY]\n" + 6104 " │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 6105 " │ │ │ └─ HashLookup\n" + 6106 " │ │ │ ├─ left-key: (ct.FZ2R5)\n" + 6107 " │ │ │ ├─ right-key: (ci.id)\n" + 6108 " │ │ │ └─ Filter\n" + 6109 " │ │ │ ├─ (ci.FTQLQ HASH IN ('SQ1'))\n" + 6110 " │ │ │ └─ TableAlias(ci)\n" + 6111 " │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 6112 " │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 6113 " │ │ │ ├─ filters: [{[SQ1, SQ1]}]\n" + 6114 " │ │ │ └─ columns: [id ftqlq]\n" + 6115 " │ │ └─ HashLookup\n" + 6116 " │ │ ├─ left-key: (ct.OVE3E)\n" + 6117 " │ │ ├─ right-key: (cec.id)\n" + 6118 " │ │ └─ TableAlias(cec)\n" + 6119 " │ │ └─ Table\n" + 6120 " │ │ ├─ name: SFEGG\n" + 6121 " │ │ └─ columns: [id no52d adurz]\n" + 6122 " │ └─ TableAlias(sn)\n" + 6123 " │ └─ IndexedTableAccess(NOXN3)\n" + 6124 " │ ├─ index: [NOXN3.id]\n" + 6125 " │ └─ keys: sl3s5.BDNYB\n" + 6126 " └─ HashLookup\n" + 6127 " ├─ left-key: ()\n" + 6128 " ├─ right-key: ()\n" + 6129 " └─ SubqueryAlias\n" + 6130 " ├─ name: aoev5\n" + 6131 " ├─ outerVisibility: false\n" + 6132 " ├─ isLateral: false\n" + 6133 " ├─ cacheable: true\n" + 6134 " └─ Project\n" + 6135 " ├─ columns: [temp_aoev5.t4ibq]\n" + 6136 " └─ Values() as temp_AOEV5\n" + 6137 " ├─ Row(\n" + 6138 " │ '1')\n" + 6139 " ├─ Row(\n" + 6140 " │ '2')\n" + 6141 " ├─ Row(\n" + 6142 " │ '3')\n" + 6143 " ├─ Row(\n" + 6144 " │ '4')\n" + 6145 " └─ Row(\n" + 6146 " '5')\n" + 6147 "", 6148 }, 6149 { 6150 Query: ` 6151 SELECT COUNT(*) FROM NOXN3`, 6152 ExpectedPlan: "Project\n" + 6153 " ├─ columns: [count(1):0!null as COUNT(*)]\n" + 6154 " └─ Project\n" + 6155 " ├─ columns: [NOXN3.COUNT(1):0!null as COUNT(1)]\n" + 6156 " └─ table_count(NOXN3) as COUNT(1)\n" + 6157 "", 6158 ExpectedEstimates: "Project\n" + 6159 " ├─ columns: [count(1) as COUNT(*)]\n" + 6160 " └─ Project\n" + 6161 " ├─ columns: [NOXN3.COUNT(1) as COUNT(1)]\n" + 6162 " └─ table_count(NOXN3) as COUNT(1)\n" + 6163 "", 6164 ExpectedAnalysis: "Project\n" + 6165 " ├─ columns: [count(1) as COUNT(*)]\n" + 6166 " └─ Project\n" + 6167 " ├─ columns: [NOXN3.COUNT(1) as COUNT(1)]\n" + 6168 " └─ table_count(NOXN3) as COUNT(1)\n" + 6169 "", 6170 }, 6171 { 6172 Query: ` 6173 SELECT 6174 NB6PJ.Y3IOU AS Y3IOU, 6175 S7EGW.TW55N AS FJVD7, 6176 TYMVL.TW55N AS KBXXJ, 6177 NB6PJ.NUMK2 AS NUMK2, 6178 NB6PJ.LETOE AS LETOE 6179 FROM 6180 (SELECT 6181 ROW_NUMBER() OVER (ORDER BY id ASC) Y3IOU, 6182 id, 6183 BRQP2, 6184 FFTBJ, 6185 NUMK2, 6186 LETOE 6187 FROM 6188 NOXN3 6189 ORDER BY id ASC) NB6PJ 6190 INNER JOIN 6191 E2I7U S7EGW 6192 ON 6193 S7EGW.id = NB6PJ.BRQP2 6194 INNER JOIN 6195 E2I7U TYMVL 6196 ON 6197 TYMVL.id = NB6PJ.FFTBJ 6198 ORDER BY Y3IOU`, 6199 ExpectedPlan: "Project\n" + 6200 " ├─ columns: [nb6pj.Y3IOU:0!null as Y3IOU, s7egw.TW55N:9!null as FJVD7, tymvl.TW55N:26!null as KBXXJ, nb6pj.NUMK2:4!null as NUMK2, nb6pj.LETOE:5!null as LETOE]\n" + 6201 " └─ Sort(nb6pj.Y3IOU:0!null as Y3IOU ASC nullsFirst)\n" + 6202 " └─ Project\n" + 6203 " ├─ columns: [nb6pj.Y3IOU:0!null, nb6pj.id:1!null, nb6pj.BRQP2:2!null, nb6pj.FFTBJ:3!null, nb6pj.NUMK2:4!null, nb6pj.LETOE:5!null, s7egw.id:6!null, s7egw.DKCAJ:7!null, s7egw.KNG7T:8, s7egw.TW55N:9!null, s7egw.QRQXW:10!null, s7egw.ECXAJ:11!null, s7egw.FGG57:12, s7egw.ZH72S:13, s7egw.FSK67:14!null, s7egw.XQDYT:15!null, s7egw.TCE7A:16, s7egw.IWV2H:17, s7egw.HPCMS:18!null, s7egw.N5CC2:19, s7egw.FHCYT:20, s7egw.ETAQ7:21, s7egw.A75X7:22, tymvl.id:23!null, tymvl.DKCAJ:24!null, tymvl.KNG7T:25, tymvl.TW55N:26!null, tymvl.QRQXW:27!null, tymvl.ECXAJ:28!null, tymvl.FGG57:29, tymvl.ZH72S:30, tymvl.FSK67:31!null, tymvl.XQDYT:32!null, tymvl.TCE7A:33, tymvl.IWV2H:34, tymvl.HPCMS:35!null, tymvl.N5CC2:36, tymvl.FHCYT:37, tymvl.ETAQ7:38, tymvl.A75X7:39, nb6pj.Y3IOU:0!null as Y3IOU, s7egw.TW55N:9!null as FJVD7, tymvl.TW55N:26!null as KBXXJ, nb6pj.NUMK2:4!null as NUMK2, nb6pj.LETOE:5!null as LETOE]\n" + 6204 " └─ LookupJoin\n" + 6205 " ├─ LookupJoin\n" + 6206 " │ ├─ SubqueryAlias\n" + 6207 " │ │ ├─ name: nb6pj\n" + 6208 " │ │ ├─ outerVisibility: false\n" + 6209 " │ │ ├─ isLateral: false\n" + 6210 " │ │ ├─ cacheable: true\n" + 6211 " │ │ ├─ colSet: (13-18)\n" + 6212 " │ │ ├─ tableId: 2\n" + 6213 " │ │ └─ Project\n" + 6214 " │ │ ├─ columns: [row_number() over ( order by noxn3.id asc):0!null as Y3IOU, noxn3.id:1!null, noxn3.BRQP2:2!null, noxn3.FFTBJ:3!null, noxn3.NUMK2:4!null, noxn3.LETOE:5!null]\n" + 6215 " │ │ └─ Sort(noxn3.id:1!null ASC nullsFirst)\n" + 6216 " │ │ └─ Project\n" + 6217 " │ │ ├─ columns: [row_number() over ( order by noxn3.id asc):0!null, noxn3.id:1!null, noxn3.BRQP2:2!null, noxn3.FFTBJ:3!null, noxn3.NUMK2:4!null, noxn3.LETOE:5!null, row_number() over ( order by noxn3.id asc):0!null as Y3IOU]\n" + 6218 " │ │ └─ Window\n" + 6219 " │ │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 6220 " │ │ ├─ noxn3.id:0!null\n" + 6221 " │ │ ├─ noxn3.BRQP2:1!null\n" + 6222 " │ │ ├─ noxn3.FFTBJ:2!null\n" + 6223 " │ │ ├─ noxn3.NUMK2:3!null\n" + 6224 " │ │ ├─ noxn3.LETOE:4!null\n" + 6225 " │ │ └─ Table\n" + 6226 " │ │ ├─ name: NOXN3\n" + 6227 " │ │ ├─ columns: [id brqp2 fftbj numk2 letoe]\n" + 6228 " │ │ ├─ colSet: (1-10)\n" + 6229 " │ │ └─ tableId: 1\n" + 6230 " │ └─ TableAlias(s7egw)\n" + 6231 " │ └─ IndexedTableAccess(E2I7U)\n" + 6232 " │ ├─ index: [E2I7U.id]\n" + 6233 " │ ├─ keys: [nb6pj.BRQP2:2!null]\n" + 6234 " │ ├─ colSet: (19-35)\n" + 6235 " │ ├─ tableId: 3\n" + 6236 " │ └─ Table\n" + 6237 " │ ├─ name: E2I7U\n" + 6238 " │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 6239 " └─ TableAlias(tymvl)\n" + 6240 " └─ IndexedTableAccess(E2I7U)\n" + 6241 " ├─ index: [E2I7U.id]\n" + 6242 " ├─ keys: [nb6pj.FFTBJ:3!null]\n" + 6243 " ├─ colSet: (36-52)\n" + 6244 " ├─ tableId: 4\n" + 6245 " └─ Table\n" + 6246 " ├─ name: E2I7U\n" + 6247 " └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 6248 "", 6249 ExpectedEstimates: "Project\n" + 6250 " ├─ columns: [nb6pj.Y3IOU as Y3IOU, s7egw.TW55N as FJVD7, tymvl.TW55N as KBXXJ, nb6pj.NUMK2 as NUMK2, nb6pj.LETOE as LETOE]\n" + 6251 " └─ Sort(nb6pj.Y3IOU as Y3IOU ASC)\n" + 6252 " └─ Project\n" + 6253 " ├─ columns: [nb6pj.Y3IOU, nb6pj.id, nb6pj.BRQP2, nb6pj.FFTBJ, nb6pj.NUMK2, nb6pj.LETOE, s7egw.id, s7egw.DKCAJ, s7egw.KNG7T, s7egw.TW55N, s7egw.QRQXW, s7egw.ECXAJ, s7egw.FGG57, s7egw.ZH72S, s7egw.FSK67, s7egw.XQDYT, s7egw.TCE7A, s7egw.IWV2H, s7egw.HPCMS, s7egw.N5CC2, s7egw.FHCYT, s7egw.ETAQ7, s7egw.A75X7, tymvl.id, tymvl.DKCAJ, tymvl.KNG7T, tymvl.TW55N, tymvl.QRQXW, tymvl.ECXAJ, tymvl.FGG57, tymvl.ZH72S, tymvl.FSK67, tymvl.XQDYT, tymvl.TCE7A, tymvl.IWV2H, tymvl.HPCMS, tymvl.N5CC2, tymvl.FHCYT, tymvl.ETAQ7, tymvl.A75X7, nb6pj.Y3IOU as Y3IOU, s7egw.TW55N as FJVD7, tymvl.TW55N as KBXXJ, nb6pj.NUMK2 as NUMK2, nb6pj.LETOE as LETOE]\n" + 6254 " └─ LookupJoin\n" + 6255 " ├─ LookupJoin\n" + 6256 " │ ├─ SubqueryAlias\n" + 6257 " │ │ ├─ name: nb6pj\n" + 6258 " │ │ ├─ outerVisibility: false\n" + 6259 " │ │ ├─ isLateral: false\n" + 6260 " │ │ ├─ cacheable: true\n" + 6261 " │ │ └─ Project\n" + 6262 " │ │ ├─ columns: [row_number() over ( order by noxn3.id asc) as Y3IOU, noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE]\n" + 6263 " │ │ └─ Sort(noxn3.id ASC)\n" + 6264 " │ │ └─ Project\n" + 6265 " │ │ ├─ columns: [row_number() over ( order by noxn3.id asc), noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE, row_number() over ( order by noxn3.id asc) as Y3IOU]\n" + 6266 " │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE)\n" + 6267 " │ │ └─ Table\n" + 6268 " │ │ ├─ name: NOXN3\n" + 6269 " │ │ └─ columns: [id brqp2 fftbj numk2 letoe]\n" + 6270 " │ └─ TableAlias(s7egw)\n" + 6271 " │ └─ IndexedTableAccess(E2I7U)\n" + 6272 " │ ├─ index: [E2I7U.id]\n" + 6273 " │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 6274 " │ └─ keys: nb6pj.BRQP2\n" + 6275 " └─ TableAlias(tymvl)\n" + 6276 " └─ IndexedTableAccess(E2I7U)\n" + 6277 " ├─ index: [E2I7U.id]\n" + 6278 " ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 6279 " └─ keys: nb6pj.FFTBJ\n" + 6280 "", 6281 ExpectedAnalysis: "Project\n" + 6282 " ├─ columns: [nb6pj.Y3IOU as Y3IOU, s7egw.TW55N as FJVD7, tymvl.TW55N as KBXXJ, nb6pj.NUMK2 as NUMK2, nb6pj.LETOE as LETOE]\n" + 6283 " └─ Sort(nb6pj.Y3IOU as Y3IOU ASC)\n" + 6284 " └─ Project\n" + 6285 " ├─ columns: [nb6pj.Y3IOU, nb6pj.id, nb6pj.BRQP2, nb6pj.FFTBJ, nb6pj.NUMK2, nb6pj.LETOE, s7egw.id, s7egw.DKCAJ, s7egw.KNG7T, s7egw.TW55N, s7egw.QRQXW, s7egw.ECXAJ, s7egw.FGG57, s7egw.ZH72S, s7egw.FSK67, s7egw.XQDYT, s7egw.TCE7A, s7egw.IWV2H, s7egw.HPCMS, s7egw.N5CC2, s7egw.FHCYT, s7egw.ETAQ7, s7egw.A75X7, tymvl.id, tymvl.DKCAJ, tymvl.KNG7T, tymvl.TW55N, tymvl.QRQXW, tymvl.ECXAJ, tymvl.FGG57, tymvl.ZH72S, tymvl.FSK67, tymvl.XQDYT, tymvl.TCE7A, tymvl.IWV2H, tymvl.HPCMS, tymvl.N5CC2, tymvl.FHCYT, tymvl.ETAQ7, tymvl.A75X7, nb6pj.Y3IOU as Y3IOU, s7egw.TW55N as FJVD7, tymvl.TW55N as KBXXJ, nb6pj.NUMK2 as NUMK2, nb6pj.LETOE as LETOE]\n" + 6286 " └─ LookupJoin\n" + 6287 " ├─ LookupJoin\n" + 6288 " │ ├─ SubqueryAlias\n" + 6289 " │ │ ├─ name: nb6pj\n" + 6290 " │ │ ├─ outerVisibility: false\n" + 6291 " │ │ ├─ isLateral: false\n" + 6292 " │ │ ├─ cacheable: true\n" + 6293 " │ │ └─ Project\n" + 6294 " │ │ ├─ columns: [row_number() over ( order by noxn3.id asc) as Y3IOU, noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE]\n" + 6295 " │ │ └─ Sort(noxn3.id ASC)\n" + 6296 " │ │ └─ Project\n" + 6297 " │ │ ├─ columns: [row_number() over ( order by noxn3.id asc), noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE, row_number() over ( order by noxn3.id asc) as Y3IOU]\n" + 6298 " │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE)\n" + 6299 " │ │ └─ Table\n" + 6300 " │ │ ├─ name: NOXN3\n" + 6301 " │ │ └─ columns: [id brqp2 fftbj numk2 letoe]\n" + 6302 " │ └─ TableAlias(s7egw)\n" + 6303 " │ └─ IndexedTableAccess(E2I7U)\n" + 6304 " │ ├─ index: [E2I7U.id]\n" + 6305 " │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 6306 " │ └─ keys: nb6pj.BRQP2\n" + 6307 " └─ TableAlias(tymvl)\n" + 6308 " └─ IndexedTableAccess(E2I7U)\n" + 6309 " ├─ index: [E2I7U.id]\n" + 6310 " ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 6311 " └─ keys: nb6pj.FFTBJ\n" + 6312 "", 6313 }, 6314 { 6315 Query: ` 6316 SELECT 6317 nd.TW55N AS TW55N, 6318 NB6PJ.Y3IOU AS Y3IOU 6319 FROM 6320 (SELECT 6321 ROW_NUMBER() OVER (ORDER BY id ASC) Y3IOU, 6322 id, 6323 BRQP2, 6324 FFTBJ, 6325 NUMK2, 6326 LETOE 6327 FROM 6328 NOXN3 6329 ORDER BY id ASC) NB6PJ 6330 INNER JOIN 6331 E2I7U nd 6332 ON 6333 nd.id = NB6PJ.BRQP2 6334 ORDER BY TW55N, Y3IOU`, 6335 ExpectedPlan: "Project\n" + 6336 " ├─ columns: [nd.TW55N:9!null as TW55N, nb6pj.Y3IOU:0!null as Y3IOU]\n" + 6337 " └─ Sort(nd.TW55N:9!null as TW55N ASC nullsFirst, nb6pj.Y3IOU:0!null as Y3IOU ASC nullsFirst)\n" + 6338 " └─ Project\n" + 6339 " ├─ columns: [nb6pj.Y3IOU:0!null, nb6pj.id:1!null, nb6pj.BRQP2:2!null, nb6pj.FFTBJ:3!null, nb6pj.NUMK2:4!null, nb6pj.LETOE:5!null, nd.id:6!null, nd.DKCAJ:7!null, nd.KNG7T:8, nd.TW55N:9!null, nd.QRQXW:10!null, nd.ECXAJ:11!null, nd.FGG57:12, nd.ZH72S:13, nd.FSK67:14!null, nd.XQDYT:15!null, nd.TCE7A:16, nd.IWV2H:17, nd.HPCMS:18!null, nd.N5CC2:19, nd.FHCYT:20, nd.ETAQ7:21, nd.A75X7:22, nd.TW55N:9!null as TW55N, nb6pj.Y3IOU:0!null as Y3IOU]\n" + 6340 " └─ LookupJoin\n" + 6341 " ├─ SubqueryAlias\n" + 6342 " │ ├─ name: nb6pj\n" + 6343 " │ ├─ outerVisibility: false\n" + 6344 " │ ├─ isLateral: false\n" + 6345 " │ ├─ cacheable: true\n" + 6346 " │ ├─ colSet: (13-18)\n" + 6347 " │ ├─ tableId: 2\n" + 6348 " │ └─ Project\n" + 6349 " │ ├─ columns: [row_number() over ( order by noxn3.id asc):0!null as Y3IOU, noxn3.id:1!null, noxn3.BRQP2:2!null, noxn3.FFTBJ:3!null, noxn3.NUMK2:4!null, noxn3.LETOE:5!null]\n" + 6350 " │ └─ Sort(noxn3.id:1!null ASC nullsFirst)\n" + 6351 " │ └─ Project\n" + 6352 " │ ├─ columns: [row_number() over ( order by noxn3.id asc):0!null, noxn3.id:1!null, noxn3.BRQP2:2!null, noxn3.FFTBJ:3!null, noxn3.NUMK2:4!null, noxn3.LETOE:5!null, row_number() over ( order by noxn3.id asc):0!null as Y3IOU]\n" + 6353 " │ └─ Window\n" + 6354 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 6355 " │ ├─ noxn3.id:0!null\n" + 6356 " │ ├─ noxn3.BRQP2:1!null\n" + 6357 " │ ├─ noxn3.FFTBJ:2!null\n" + 6358 " │ ├─ noxn3.NUMK2:3!null\n" + 6359 " │ ├─ noxn3.LETOE:4!null\n" + 6360 " │ └─ Table\n" + 6361 " │ ├─ name: NOXN3\n" + 6362 " │ ├─ columns: [id brqp2 fftbj numk2 letoe]\n" + 6363 " │ ├─ colSet: (1-10)\n" + 6364 " │ └─ tableId: 1\n" + 6365 " └─ TableAlias(nd)\n" + 6366 " └─ IndexedTableAccess(E2I7U)\n" + 6367 " ├─ index: [E2I7U.id]\n" + 6368 " ├─ keys: [nb6pj.BRQP2:2!null]\n" + 6369 " ├─ colSet: (19-35)\n" + 6370 " ├─ tableId: 3\n" + 6371 " └─ Table\n" + 6372 " ├─ name: E2I7U\n" + 6373 " └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 6374 "", 6375 ExpectedEstimates: "Project\n" + 6376 " ├─ columns: [nd.TW55N as TW55N, nb6pj.Y3IOU as Y3IOU]\n" + 6377 " └─ Sort(nd.TW55N as TW55N ASC, nb6pj.Y3IOU as Y3IOU ASC)\n" + 6378 " └─ Project\n" + 6379 " ├─ columns: [nb6pj.Y3IOU, nb6pj.id, nb6pj.BRQP2, nb6pj.FFTBJ, nb6pj.NUMK2, nb6pj.LETOE, nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nd.TW55N as TW55N, nb6pj.Y3IOU as Y3IOU]\n" + 6380 " └─ LookupJoin\n" + 6381 " ├─ SubqueryAlias\n" + 6382 " │ ├─ name: nb6pj\n" + 6383 " │ ├─ outerVisibility: false\n" + 6384 " │ ├─ isLateral: false\n" + 6385 " │ ├─ cacheable: true\n" + 6386 " │ └─ Project\n" + 6387 " │ ├─ columns: [row_number() over ( order by noxn3.id asc) as Y3IOU, noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE]\n" + 6388 " │ └─ Sort(noxn3.id ASC)\n" + 6389 " │ └─ Project\n" + 6390 " │ ├─ columns: [row_number() over ( order by noxn3.id asc), noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE, row_number() over ( order by noxn3.id asc) as Y3IOU]\n" + 6391 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE)\n" + 6392 " │ └─ Table\n" + 6393 " │ ├─ name: NOXN3\n" + 6394 " │ └─ columns: [id brqp2 fftbj numk2 letoe]\n" + 6395 " └─ TableAlias(nd)\n" + 6396 " └─ IndexedTableAccess(E2I7U)\n" + 6397 " ├─ index: [E2I7U.id]\n" + 6398 " ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 6399 " └─ keys: nb6pj.BRQP2\n" + 6400 "", 6401 ExpectedAnalysis: "Project\n" + 6402 " ├─ columns: [nd.TW55N as TW55N, nb6pj.Y3IOU as Y3IOU]\n" + 6403 " └─ Sort(nd.TW55N as TW55N ASC, nb6pj.Y3IOU as Y3IOU ASC)\n" + 6404 " └─ Project\n" + 6405 " ├─ columns: [nb6pj.Y3IOU, nb6pj.id, nb6pj.BRQP2, nb6pj.FFTBJ, nb6pj.NUMK2, nb6pj.LETOE, nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nd.TW55N as TW55N, nb6pj.Y3IOU as Y3IOU]\n" + 6406 " └─ LookupJoin\n" + 6407 " ├─ SubqueryAlias\n" + 6408 " │ ├─ name: nb6pj\n" + 6409 " │ ├─ outerVisibility: false\n" + 6410 " │ ├─ isLateral: false\n" + 6411 " │ ├─ cacheable: true\n" + 6412 " │ └─ Project\n" + 6413 " │ ├─ columns: [row_number() over ( order by noxn3.id asc) as Y3IOU, noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE]\n" + 6414 " │ └─ Sort(noxn3.id ASC)\n" + 6415 " │ └─ Project\n" + 6416 " │ ├─ columns: [row_number() over ( order by noxn3.id asc), noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE, row_number() over ( order by noxn3.id asc) as Y3IOU]\n" + 6417 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.NUMK2, noxn3.LETOE)\n" + 6418 " │ └─ Table\n" + 6419 " │ ├─ name: NOXN3\n" + 6420 " │ └─ columns: [id brqp2 fftbj numk2 letoe]\n" + 6421 " └─ TableAlias(nd)\n" + 6422 " └─ IndexedTableAccess(E2I7U)\n" + 6423 " ├─ index: [E2I7U.id]\n" + 6424 " ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 6425 " └─ keys: nb6pj.BRQP2\n" + 6426 "", 6427 }, 6428 { 6429 Query: ` 6430 SELECT 6431 ROW_NUMBER() OVER (ORDER BY sn.id ASC) - 1 M6T2N, 6432 S7EGW.TW55N FJVD7, 6433 TYMVL.TW55N KBXXJ, 6434 NUMK2, 6435 LETOE, 6436 sn.id XLFIA 6437 FROM 6438 NOXN3 sn 6439 INNER JOIN 6440 E2I7U S7EGW ON (sn.BRQP2 = S7EGW.id) 6441 INNER JOIN 6442 E2I7U TYMVL ON (sn.FFTBJ = TYMVL.id) 6443 ORDER BY M6T2N ASC`, 6444 ExpectedPlan: "Project\n" + 6445 " ├─ columns: [(row_number() over ( order by sn.id asc):0!null - 1 (tinyint)) as M6T2N, s7egw.TW55N:1!null as FJVD7, tymvl.TW55N:2!null as KBXXJ, sn.NUMK2:3!null, sn.LETOE:4!null, sn.id:5!null as XLFIA]\n" + 6446 " └─ Sort((row_number() over ( order by sn.id asc):0!null - 1 (tinyint)) as M6T2N ASC nullsFirst)\n" + 6447 " └─ Project\n" + 6448 " ├─ columns: [row_number() over ( order by sn.id asc):0!null, s7egw.TW55N:1!null, tymvl.TW55N:2!null, sn.NUMK2:3!null, sn.LETOE:4!null, sn.id:5!null, (row_number() over ( order by sn.id asc):0!null - 1 (tinyint)) as M6T2N, s7egw.TW55N:1!null as FJVD7, tymvl.TW55N:2!null as KBXXJ, sn.id:5!null as XLFIA]\n" + 6449 " └─ Window\n" + 6450 " ├─ row_number() over ( order by sn.id ASC)\n" + 6451 " ├─ s7egw.TW55N:6!null\n" + 6452 " ├─ tymvl.TW55N:8!null\n" + 6453 " ├─ sn.NUMK2:3!null\n" + 6454 " ├─ sn.LETOE:4!null\n" + 6455 " ├─ sn.id:0!null\n" + 6456 " └─ HashJoin\n" + 6457 " ├─ Eq\n" + 6458 " │ ├─ sn.FFTBJ:2!null\n" + 6459 " │ └─ tymvl.id:7!null\n" + 6460 " ├─ MergeJoin\n" + 6461 " │ ├─ cmp: Eq\n" + 6462 " │ │ ├─ sn.BRQP2:1!null\n" + 6463 " │ │ └─ s7egw.id:5!null\n" + 6464 " │ ├─ TableAlias(sn)\n" + 6465 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 6466 " │ │ ├─ index: [NOXN3.BRQP2]\n" + 6467 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 6468 " │ │ ├─ colSet: (1-10)\n" + 6469 " │ │ ├─ tableId: 1\n" + 6470 " │ │ └─ Table\n" + 6471 " │ │ ├─ name: NOXN3\n" + 6472 " │ │ └─ columns: [id brqp2 fftbj numk2 letoe]\n" + 6473 " │ └─ TableAlias(s7egw)\n" + 6474 " │ └─ IndexedTableAccess(E2I7U)\n" + 6475 " │ ├─ index: [E2I7U.id]\n" + 6476 " │ ├─ static: [{[NULL, ∞)}]\n" + 6477 " │ ├─ colSet: (11-27)\n" + 6478 " │ ├─ tableId: 2\n" + 6479 " │ └─ Table\n" + 6480 " │ ├─ name: E2I7U\n" + 6481 " │ └─ columns: [id tw55n]\n" + 6482 " └─ HashLookup\n" + 6483 " ├─ left-key: TUPLE(sn.FFTBJ:2!null)\n" + 6484 " ├─ right-key: TUPLE(tymvl.id:0!null)\n" + 6485 " └─ TableAlias(tymvl)\n" + 6486 " └─ ProcessTable\n" + 6487 " └─ Table\n" + 6488 " ├─ name: E2I7U\n" + 6489 " └─ columns: [id tw55n]\n" + 6490 "", 6491 ExpectedEstimates: "Project\n" + 6492 " ├─ columns: [(row_number() over ( order by sn.id asc) - 1) as M6T2N, s7egw.TW55N as FJVD7, tymvl.TW55N as KBXXJ, sn.NUMK2, sn.LETOE, sn.id as XLFIA]\n" + 6493 " └─ Sort((row_number() over ( order by sn.id asc) - 1) as M6T2N ASC)\n" + 6494 " └─ Project\n" + 6495 " ├─ columns: [row_number() over ( order by sn.id asc), s7egw.TW55N, tymvl.TW55N, sn.NUMK2, sn.LETOE, sn.id, (row_number() over ( order by sn.id asc) - 1) as M6T2N, s7egw.TW55N as FJVD7, tymvl.TW55N as KBXXJ, sn.id as XLFIA]\n" + 6496 " └─ Window(row_number() over ( order by sn.id ASC), s7egw.TW55N, tymvl.TW55N, sn.NUMK2, sn.LETOE, sn.id)\n" + 6497 " └─ HashJoin\n" + 6498 " ├─ (sn.FFTBJ = tymvl.id)\n" + 6499 " ├─ MergeJoin\n" + 6500 " │ ├─ cmp: (sn.BRQP2 = s7egw.id)\n" + 6501 " │ ├─ TableAlias(sn)\n" + 6502 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 6503 " │ │ ├─ index: [NOXN3.BRQP2]\n" + 6504 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 6505 " │ │ └─ columns: [id brqp2 fftbj numk2 letoe]\n" + 6506 " │ └─ TableAlias(s7egw)\n" + 6507 " │ └─ IndexedTableAccess(E2I7U)\n" + 6508 " │ ├─ index: [E2I7U.id]\n" + 6509 " │ ├─ filters: [{[NULL, ∞)}]\n" + 6510 " │ └─ columns: [id tw55n]\n" + 6511 " └─ HashLookup\n" + 6512 " ├─ left-key: (sn.FFTBJ)\n" + 6513 " ├─ right-key: (tymvl.id)\n" + 6514 " └─ TableAlias(tymvl)\n" + 6515 " └─ Table\n" + 6516 " ├─ name: E2I7U\n" + 6517 " └─ columns: [id tw55n]\n" + 6518 "", 6519 ExpectedAnalysis: "Project\n" + 6520 " ├─ columns: [(row_number() over ( order by sn.id asc) - 1) as M6T2N, s7egw.TW55N as FJVD7, tymvl.TW55N as KBXXJ, sn.NUMK2, sn.LETOE, sn.id as XLFIA]\n" + 6521 " └─ Sort((row_number() over ( order by sn.id asc) - 1) as M6T2N ASC)\n" + 6522 " └─ Project\n" + 6523 " ├─ columns: [row_number() over ( order by sn.id asc), s7egw.TW55N, tymvl.TW55N, sn.NUMK2, sn.LETOE, sn.id, (row_number() over ( order by sn.id asc) - 1) as M6T2N, s7egw.TW55N as FJVD7, tymvl.TW55N as KBXXJ, sn.id as XLFIA]\n" + 6524 " └─ Window(row_number() over ( order by sn.id ASC), s7egw.TW55N, tymvl.TW55N, sn.NUMK2, sn.LETOE, sn.id)\n" + 6525 " └─ HashJoin\n" + 6526 " ├─ (sn.FFTBJ = tymvl.id)\n" + 6527 " ├─ MergeJoin\n" + 6528 " │ ├─ cmp: (sn.BRQP2 = s7egw.id)\n" + 6529 " │ ├─ TableAlias(sn)\n" + 6530 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 6531 " │ │ ├─ index: [NOXN3.BRQP2]\n" + 6532 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 6533 " │ │ └─ columns: [id brqp2 fftbj numk2 letoe]\n" + 6534 " │ └─ TableAlias(s7egw)\n" + 6535 " │ └─ IndexedTableAccess(E2I7U)\n" + 6536 " │ ├─ index: [E2I7U.id]\n" + 6537 " │ ├─ filters: [{[NULL, ∞)}]\n" + 6538 " │ └─ columns: [id tw55n]\n" + 6539 " └─ HashLookup\n" + 6540 " ├─ left-key: (sn.FFTBJ)\n" + 6541 " ├─ right-key: (tymvl.id)\n" + 6542 " └─ TableAlias(tymvl)\n" + 6543 " └─ Table\n" + 6544 " ├─ name: E2I7U\n" + 6545 " └─ columns: [id tw55n]\n" + 6546 "", 6547 }, 6548 { 6549 Query: ` 6550 SELECT id FZZVR, ROW_NUMBER() OVER (ORDER BY sn.id ASC) - 1 M6T2N FROM NOXN3 sn`, 6551 ExpectedPlan: "Project\n" + 6552 " ├─ columns: [sn.id:1!null as FZZVR, (row_number() over ( order by sn.id asc):0!null - 1 (tinyint)) as M6T2N]\n" + 6553 " └─ Window\n" + 6554 " ├─ row_number() over ( order by sn.id ASC)\n" + 6555 " ├─ sn.id:0!null\n" + 6556 " └─ TableAlias(sn)\n" + 6557 " └─ ProcessTable\n" + 6558 " └─ Table\n" + 6559 " ├─ name: NOXN3\n" + 6560 " └─ columns: [id]\n" + 6561 "", 6562 ExpectedEstimates: "Project\n" + 6563 " ├─ columns: [sn.id as FZZVR, (row_number() over ( order by sn.id asc) - 1) as M6T2N]\n" + 6564 " └─ Window(row_number() over ( order by sn.id ASC), sn.id)\n" + 6565 " └─ TableAlias(sn)\n" + 6566 " └─ Table\n" + 6567 " ├─ name: NOXN3\n" + 6568 " └─ columns: [id]\n" + 6569 "", 6570 ExpectedAnalysis: "Project\n" + 6571 " ├─ columns: [sn.id as FZZVR, (row_number() over ( order by sn.id asc) - 1) as M6T2N]\n" + 6572 " └─ Window(row_number() over ( order by sn.id ASC), sn.id)\n" + 6573 " └─ TableAlias(sn)\n" + 6574 " └─ Table\n" + 6575 " ├─ name: NOXN3\n" + 6576 " └─ columns: [id]\n" + 6577 "", 6578 }, 6579 { 6580 Query: ` 6581 SELECT 6582 nd.TW55N, 6583 il.LIILR, 6584 il.KSFXH, 6585 il.KLMAU, 6586 il.ecm 6587 FROM RLOHD il 6588 INNER JOIN E2I7U nd 6589 ON il.LUEVY = nd.id 6590 INNER JOIN F35MI nt 6591 ON nd.DKCAJ = nt.id 6592 WHERE nt.DZLIM <> 'SUZTA' 6593 6594 ORDER BY nd.TW55N`, 6595 ExpectedPlan: "Project\n" + 6596 " ├─ columns: [nd.TW55N:9!null, il.LIILR:3, il.KSFXH:4, il.KLMAU:5, il.ecm:6]\n" + 6597 " └─ Sort(nd.TW55N:9!null ASC nullsFirst)\n" + 6598 " └─ InnerJoin\n" + 6599 " ├─ Eq\n" + 6600 " │ ├─ nd.DKCAJ:8!null\n" + 6601 " │ └─ nt.id:0!null\n" + 6602 " ├─ Filter\n" + 6603 " │ ├─ NOT\n" + 6604 " │ │ └─ Eq\n" + 6605 " │ │ ├─ nt.DZLIM:1!null\n" + 6606 " │ │ └─ SUZTA (longtext)\n" + 6607 " │ └─ TableAlias(nt)\n" + 6608 " │ └─ IndexedTableAccess(F35MI)\n" + 6609 " │ ├─ index: [F35MI.DZLIM]\n" + 6610 " │ ├─ static: [{(NULL, SUZTA)}, {(SUZTA, ∞)}]\n" + 6611 " │ ├─ colSet: (26-28)\n" + 6612 " │ ├─ tableId: 3\n" + 6613 " │ └─ Table\n" + 6614 " │ ├─ name: F35MI\n" + 6615 " │ └─ columns: [id dzlim]\n" + 6616 " └─ LookupJoin\n" + 6617 " ├─ TableAlias(il)\n" + 6618 " │ └─ ProcessTable\n" + 6619 " │ └─ Table\n" + 6620 " │ ├─ name: RLOHD\n" + 6621 " │ └─ columns: [luevy liilr ksfxh klmau ecm]\n" + 6622 " └─ TableAlias(nd)\n" + 6623 " └─ IndexedTableAccess(E2I7U)\n" + 6624 " ├─ index: [E2I7U.id]\n" + 6625 " ├─ keys: [il.LUEVY:2!null]\n" + 6626 " ├─ colSet: (9-25)\n" + 6627 " ├─ tableId: 2\n" + 6628 " └─ Table\n" + 6629 " ├─ name: E2I7U\n" + 6630 " └─ columns: [id dkcaj tw55n]\n" + 6631 "", 6632 ExpectedEstimates: "Project\n" + 6633 " ├─ columns: [nd.TW55N, il.LIILR, il.KSFXH, il.KLMAU, il.ecm]\n" + 6634 " └─ Sort(nd.TW55N ASC)\n" + 6635 " └─ InnerJoin\n" + 6636 " ├─ (nd.DKCAJ = nt.id)\n" + 6637 " ├─ Filter\n" + 6638 " │ ├─ (NOT((nt.DZLIM = 'SUZTA')))\n" + 6639 " │ └─ TableAlias(nt)\n" + 6640 " │ └─ IndexedTableAccess(F35MI)\n" + 6641 " │ ├─ index: [F35MI.DZLIM]\n" + 6642 " │ ├─ filters: [{(NULL, SUZTA)}, {(SUZTA, ∞)}]\n" + 6643 " │ └─ columns: [id dzlim]\n" + 6644 " └─ LookupJoin\n" + 6645 " ├─ TableAlias(il)\n" + 6646 " │ └─ Table\n" + 6647 " │ ├─ name: RLOHD\n" + 6648 " │ └─ columns: [luevy liilr ksfxh klmau ecm]\n" + 6649 " └─ TableAlias(nd)\n" + 6650 " └─ IndexedTableAccess(E2I7U)\n" + 6651 " ├─ index: [E2I7U.id]\n" + 6652 " ├─ columns: [id dkcaj tw55n]\n" + 6653 " └─ keys: il.LUEVY\n" + 6654 "", 6655 ExpectedAnalysis: "Project\n" + 6656 " ├─ columns: [nd.TW55N, il.LIILR, il.KSFXH, il.KLMAU, il.ecm]\n" + 6657 " └─ Sort(nd.TW55N ASC)\n" + 6658 " └─ InnerJoin\n" + 6659 " ├─ (nd.DKCAJ = nt.id)\n" + 6660 " ├─ Filter\n" + 6661 " │ ├─ (NOT((nt.DZLIM = 'SUZTA')))\n" + 6662 " │ └─ TableAlias(nt)\n" + 6663 " │ └─ IndexedTableAccess(F35MI)\n" + 6664 " │ ├─ index: [F35MI.DZLIM]\n" + 6665 " │ ├─ filters: [{(NULL, SUZTA)}, {(SUZTA, ∞)}]\n" + 6666 " │ └─ columns: [id dzlim]\n" + 6667 " └─ LookupJoin\n" + 6668 " ├─ TableAlias(il)\n" + 6669 " │ └─ Table\n" + 6670 " │ ├─ name: RLOHD\n" + 6671 " │ └─ columns: [luevy liilr ksfxh klmau ecm]\n" + 6672 " └─ TableAlias(nd)\n" + 6673 " └─ IndexedTableAccess(E2I7U)\n" + 6674 " ├─ index: [E2I7U.id]\n" + 6675 " ├─ columns: [id dkcaj tw55n]\n" + 6676 " └─ keys: il.LUEVY\n" + 6677 "", 6678 }, 6679 { 6680 Query: ` 6681 SELECT 6682 FTQLQ, TPNJ6 6683 FROM YK2GW 6684 WHERE FTQLQ IN ('SQ1')`, 6685 ExpectedPlan: "Filter\n" + 6686 " ├─ HashIn\n" + 6687 " │ ├─ yk2gw.FTQLQ:0!null\n" + 6688 " │ └─ TUPLE(SQ1 (longtext))\n" + 6689 " └─ IndexedTableAccess(YK2GW)\n" + 6690 " ├─ index: [YK2GW.FTQLQ]\n" + 6691 " ├─ static: [{[SQ1, SQ1]}]\n" + 6692 " ├─ colSet: (1-30)\n" + 6693 " ├─ tableId: 1\n" + 6694 " └─ Table\n" + 6695 " ├─ name: YK2GW\n" + 6696 " └─ columns: [ftqlq tpnj6]\n" + 6697 "", 6698 ExpectedEstimates: "Filter\n" + 6699 " ├─ (yk2gw.FTQLQ HASH IN ('SQ1'))\n" + 6700 " └─ IndexedTableAccess(YK2GW)\n" + 6701 " ├─ index: [YK2GW.FTQLQ]\n" + 6702 " ├─ filters: [{[SQ1, SQ1]}]\n" + 6703 " └─ columns: [ftqlq tpnj6]\n" + 6704 "", 6705 ExpectedAnalysis: "Filter\n" + 6706 " ├─ (yk2gw.FTQLQ HASH IN ('SQ1'))\n" + 6707 " └─ IndexedTableAccess(YK2GW)\n" + 6708 " ├─ index: [YK2GW.FTQLQ]\n" + 6709 " ├─ filters: [{[SQ1, SQ1]}]\n" + 6710 " └─ columns: [ftqlq tpnj6]\n" + 6711 "", 6712 }, 6713 { 6714 Query: ` 6715 SELECT 6716 ATHCU.T4IBQ AS T4IBQ, 6717 ATHCU.TW55N AS TW55N, 6718 CASE 6719 WHEN fc.OZTQF IS NULL THEN 0 6720 WHEN ATHCU.SJ5DU IN ('log', 'com', 'ex') THEN 0 6721 WHEN ATHCU.SOWRY = 'CRZ2X' THEN 0 6722 WHEN ATHCU.SOWRY = 'z' THEN fc.OZTQF 6723 WHEN ATHCU.SOWRY = 'o' THEN fc.OZTQF - 1 6724 END AS OZTQF 6725 FROM 6726 ( 6727 SELECT 6728 B2TX3, 6729 T4IBQ, 6730 nd.id AS YYKXN, 6731 nd.TW55N AS TW55N, 6732 nd.FSK67 AS SOWRY, 6733 (SELECT nt.DZLIM FROM F35MI nt WHERE nt.id = nd.DKCAJ) AS SJ5DU 6734 FROM 6735 ( 6736 SELECT 6737 bs.id AS B2TX3, 6738 cla.FTQLQ AS T4IBQ 6739 FROM 6740 YK2GW cla 6741 INNER JOIN 6742 THNTS bs 6743 ON 6744 bs.IXUXU = cla.id 6745 WHERE 6746 cla.FTQLQ IN ('SQ1') 6747 ) TMDTP 6748 CROSS JOIN 6749 E2I7U nd 6750 ) ATHCU 6751 LEFT JOIN 6752 AMYXQ fc 6753 ON 6754 fc.LUEVY = YYKXN 6755 AND 6756 fc.GXLUB = B2TX3 6757 ORDER BY 6758 YYKXN 6759 `, 6760 ExpectedPlan: "Project\n" + 6761 " ├─ columns: [athcu.T4IBQ:1!null as T4IBQ, athcu.TW55N:3!null as TW55N, CASE WHEN fc.OZTQF:11!null IS NULL THEN 0 (tinyint) WHEN IN\n" + 6762 " │ ├─ left: athcu.SJ5DU:5\n" + 6763 " │ └─ right: TUPLE(log (longtext), com (longtext), ex (longtext))\n" + 6764 " │ THEN 0 (tinyint) WHEN Eq\n" + 6765 " │ ├─ athcu.SOWRY:4!null\n" + 6766 " │ └─ CRZ2X (longtext)\n" + 6767 " │ THEN 0 (tinyint) WHEN Eq\n" + 6768 " │ ├─ athcu.SOWRY:4!null\n" + 6769 " │ └─ z (longtext)\n" + 6770 " │ THEN fc.OZTQF:11!null WHEN Eq\n" + 6771 " │ ├─ athcu.SOWRY:4!null\n" + 6772 " │ └─ o (longtext)\n" + 6773 " │ THEN (fc.OZTQF:11!null - 1 (tinyint)) END as OZTQF]\n" + 6774 " └─ Sort(athcu.YYKXN:2!null ASC nullsFirst)\n" + 6775 " └─ Project\n" + 6776 " ├─ columns: [athcu.B2TX3:0!null, athcu.T4IBQ:1!null, athcu.YYKXN:2!null, athcu.TW55N:3!null, athcu.SOWRY:4!null, athcu.SJ5DU:5, fc.id:6!null, fc.GXLUB:7!null, fc.LUEVY:8!null, fc.XQDYT:9!null, fc.AMYXQ:10!null, fc.OZTQF:11!null, fc.Z35GY:12!null, fc.KKGN5:13, athcu.T4IBQ:1!null as T4IBQ, athcu.TW55N:3!null as TW55N, CASE WHEN fc.OZTQF:11!null IS NULL THEN 0 (tinyint) WHEN IN\n" + 6777 " │ ├─ left: athcu.SJ5DU:5\n" + 6778 " │ └─ right: TUPLE(log (longtext), com (longtext), ex (longtext))\n" + 6779 " │ THEN 0 (tinyint) WHEN Eq\n" + 6780 " │ ├─ athcu.SOWRY:4!null\n" + 6781 " │ └─ CRZ2X (longtext)\n" + 6782 " │ THEN 0 (tinyint) WHEN Eq\n" + 6783 " │ ├─ athcu.SOWRY:4!null\n" + 6784 " │ └─ z (longtext)\n" + 6785 " │ THEN fc.OZTQF:11!null WHEN Eq\n" + 6786 " │ ├─ athcu.SOWRY:4!null\n" + 6787 " │ └─ o (longtext)\n" + 6788 " │ THEN (fc.OZTQF:11!null - 1 (tinyint)) END as OZTQF]\n" + 6789 " └─ LeftOuterLookupJoin\n" + 6790 " ├─ SubqueryAlias\n" + 6791 " │ ├─ name: athcu\n" + 6792 " │ ├─ outerVisibility: false\n" + 6793 " │ ├─ isLateral: false\n" + 6794 " │ ├─ cacheable: true\n" + 6795 " │ ├─ colSet: (63-68)\n" + 6796 " │ ├─ tableId: 6\n" + 6797 " │ └─ Project\n" + 6798 " │ ├─ columns: [tmdtp.B2TX3:0!null, tmdtp.T4IBQ:1!null, nd.id:2!null as YYKXN, nd.TW55N:5!null as TW55N, nd.FSK67:10!null as SOWRY, Subquery\n" + 6799 " │ │ ├─ cacheable: false\n" + 6800 " │ │ ├─ alias-string: select nt.DZLIM from F35MI as nt where nt.id = nd.DKCAJ\n" + 6801 " │ │ └─ Project\n" + 6802 " │ │ ├─ columns: [nt.DZLIM:24!null]\n" + 6803 " │ │ └─ Filter\n" + 6804 " │ │ ├─ Eq\n" + 6805 " │ │ │ ├─ nt.id:23!null\n" + 6806 " │ │ │ └─ nd.DKCAJ:3!null\n" + 6807 " │ │ └─ TableAlias(nt)\n" + 6808 " │ │ └─ IndexedTableAccess(F35MI)\n" + 6809 " │ │ ├─ index: [F35MI.id]\n" + 6810 " │ │ ├─ keys: [nd.DKCAJ:3!null]\n" + 6811 " │ │ ├─ colSet: (59-61)\n" + 6812 " │ │ ├─ tableId: 5\n" + 6813 " │ │ └─ Table\n" + 6814 " │ │ ├─ name: F35MI\n" + 6815 " │ │ └─ columns: [id dzlim]\n" + 6816 " │ │ as SJ5DU]\n" + 6817 " │ └─ Project\n" + 6818 " │ ├─ columns: [tmdtp.B2TX3:17!null, tmdtp.T4IBQ:18!null, nd.id:0!null, nd.DKCAJ:1!null, nd.KNG7T:2, nd.TW55N:3!null, nd.QRQXW:4!null, nd.ECXAJ:5!null, nd.FGG57:6, nd.ZH72S:7, nd.FSK67:8!null, nd.XQDYT:9!null, nd.TCE7A:10, nd.IWV2H:11, nd.HPCMS:12!null, nd.N5CC2:13, nd.FHCYT:14, nd.ETAQ7:15, nd.A75X7:16, nd.id:0!null as YYKXN, nd.TW55N:3!null as TW55N, nd.FSK67:8!null as SOWRY, Subquery\n" + 6819 " │ │ ├─ cacheable: false\n" + 6820 " │ │ ├─ alias-string: select nt.DZLIM from F35MI as nt where nt.id = nd.DKCAJ\n" + 6821 " │ │ └─ Project\n" + 6822 " │ │ ├─ columns: [nt.DZLIM:20!null]\n" + 6823 " │ │ └─ Filter\n" + 6824 " │ │ ├─ Eq\n" + 6825 " │ │ │ ├─ nt.id:19!null\n" + 6826 " │ │ │ └─ nd.DKCAJ:1!null\n" + 6827 " │ │ └─ TableAlias(nt)\n" + 6828 " │ │ └─ IndexedTableAccess(F35MI)\n" + 6829 " │ │ ├─ index: [F35MI.id]\n" + 6830 " │ │ ├─ keys: [nd.DKCAJ:1!null]\n" + 6831 " │ │ ├─ colSet: (59-61)\n" + 6832 " │ │ ├─ tableId: 5\n" + 6833 " │ │ └─ Table\n" + 6834 " │ │ ├─ name: F35MI\n" + 6835 " │ │ └─ columns: [id dzlim]\n" + 6836 " │ │ as SJ5DU]\n" + 6837 " │ └─ CrossHashJoin\n" + 6838 " │ ├─ TableAlias(nd)\n" + 6839 " │ │ └─ Table\n" + 6840 " │ │ ├─ name: E2I7U\n" + 6841 " │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 6842 " │ │ ├─ colSet: (39-55)\n" + 6843 " │ │ └─ tableId: 4\n" + 6844 " │ └─ HashLookup\n" + 6845 " │ ├─ left-key: TUPLE()\n" + 6846 " │ ├─ right-key: TUPLE()\n" + 6847 " │ └─ SubqueryAlias\n" + 6848 " │ ├─ name: tmdtp\n" + 6849 " │ ├─ outerVisibility: false\n" + 6850 " │ ├─ isLateral: false\n" + 6851 " │ ├─ cacheable: true\n" + 6852 " │ ├─ colSet: (37,38)\n" + 6853 " │ ├─ tableId: 3\n" + 6854 " │ └─ Project\n" + 6855 " │ ├─ columns: [bs.id:2!null as B2TX3, cla.FTQLQ:1!null as T4IBQ]\n" + 6856 " │ └─ MergeJoin\n" + 6857 " │ ├─ cmp: Eq\n" + 6858 " │ │ ├─ cla.id:0!null\n" + 6859 " │ │ └─ bs.IXUXU:3\n" + 6860 " │ ├─ Filter\n" + 6861 " │ │ ├─ HashIn\n" + 6862 " │ │ │ ├─ cla.FTQLQ:1!null\n" + 6863 " │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 6864 " │ │ └─ TableAlias(cla)\n" + 6865 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 6866 " │ │ ├─ index: [YK2GW.id]\n" + 6867 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 6868 " │ │ ├─ colSet: (1-30)\n" + 6869 " │ │ ├─ tableId: 1\n" + 6870 " │ │ └─ Table\n" + 6871 " │ │ ├─ name: YK2GW\n" + 6872 " │ │ └─ columns: [id ftqlq]\n" + 6873 " │ └─ TableAlias(bs)\n" + 6874 " │ └─ IndexedTableAccess(THNTS)\n" + 6875 " │ ├─ index: [THNTS.IXUXU]\n" + 6876 " │ ├─ static: [{[NULL, ∞)}]\n" + 6877 " │ ├─ colSet: (31-34)\n" + 6878 " │ ├─ tableId: 2\n" + 6879 " │ └─ Table\n" + 6880 " │ ├─ name: THNTS\n" + 6881 " │ └─ columns: [id ixuxu]\n" + 6882 " └─ TableAlias(fc)\n" + 6883 " └─ IndexedTableAccess(AMYXQ)\n" + 6884 " ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 6885 " ├─ keys: [athcu.B2TX3:0!null athcu.YYKXN:2!null]\n" + 6886 " ├─ colSet: (69-76)\n" + 6887 " ├─ tableId: 7\n" + 6888 " └─ Table\n" + 6889 " ├─ name: AMYXQ\n" + 6890 " └─ columns: [id gxlub luevy xqdyt amyxq oztqf z35gy kkgn5]\n" + 6891 "", 6892 ExpectedEstimates: "Project\n" + 6893 " ├─ columns: [athcu.T4IBQ as T4IBQ, athcu.TW55N as TW55N, CASE WHEN fc.OZTQF IS NULL THEN 0 WHEN (athcu.SJ5DU IN ('log', 'com', 'ex')) THEN 0 WHEN (athcu.SOWRY = 'CRZ2X') THEN 0 WHEN (athcu.SOWRY = 'z') THEN fc.OZTQF WHEN (athcu.SOWRY = 'o') THEN (fc.OZTQF - 1) END as OZTQF]\n" + 6894 " └─ Sort(athcu.YYKXN ASC)\n" + 6895 " └─ Project\n" + 6896 " ├─ columns: [athcu.B2TX3, athcu.T4IBQ, athcu.YYKXN, athcu.TW55N, athcu.SOWRY, athcu.SJ5DU, fc.id, fc.GXLUB, fc.LUEVY, fc.XQDYT, fc.AMYXQ, fc.OZTQF, fc.Z35GY, fc.KKGN5, athcu.T4IBQ as T4IBQ, athcu.TW55N as TW55N, CASE WHEN fc.OZTQF IS NULL THEN 0 WHEN (athcu.SJ5DU IN ('log', 'com', 'ex')) THEN 0 WHEN (athcu.SOWRY = 'CRZ2X') THEN 0 WHEN (athcu.SOWRY = 'z') THEN fc.OZTQF WHEN (athcu.SOWRY = 'o') THEN (fc.OZTQF - 1) END as OZTQF]\n" + 6897 " └─ LeftOuterLookupJoin\n" + 6898 " ├─ SubqueryAlias\n" + 6899 " │ ├─ name: athcu\n" + 6900 " │ ├─ outerVisibility: false\n" + 6901 " │ ├─ isLateral: false\n" + 6902 " │ ├─ cacheable: true\n" + 6903 " │ └─ Project\n" + 6904 " │ ├─ columns: [tmdtp.B2TX3, tmdtp.T4IBQ, nd.id as YYKXN, nd.TW55N as TW55N, nd.FSK67 as SOWRY, Subquery\n" + 6905 " │ │ ├─ cacheable: false\n" + 6906 " │ │ └─ Project\n" + 6907 " │ │ ├─ columns: [nt.DZLIM]\n" + 6908 " │ │ └─ Filter\n" + 6909 " │ │ ├─ (nt.id = nd.DKCAJ)\n" + 6910 " │ │ └─ TableAlias(nt)\n" + 6911 " │ │ └─ IndexedTableAccess(F35MI)\n" + 6912 " │ │ ├─ index: [F35MI.id]\n" + 6913 " │ │ ├─ columns: [id dzlim]\n" + 6914 " │ │ └─ keys: nd.DKCAJ\n" + 6915 " │ │ as SJ5DU]\n" + 6916 " │ └─ Project\n" + 6917 " │ ├─ columns: [tmdtp.B2TX3, tmdtp.T4IBQ, nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nd.id as YYKXN, nd.TW55N as TW55N, nd.FSK67 as SOWRY, Subquery\n" + 6918 " │ │ ├─ cacheable: false\n" + 6919 " │ │ └─ Project\n" + 6920 " │ │ ├─ columns: [nt.DZLIM]\n" + 6921 " │ │ └─ Filter\n" + 6922 " │ │ ├─ (nt.id = nd.DKCAJ)\n" + 6923 " │ │ └─ TableAlias(nt)\n" + 6924 " │ │ └─ IndexedTableAccess(F35MI)\n" + 6925 " │ │ ├─ index: [F35MI.id]\n" + 6926 " │ │ ├─ columns: [id dzlim]\n" + 6927 " │ │ └─ keys: nd.DKCAJ\n" + 6928 " │ │ as SJ5DU]\n" + 6929 " │ └─ CrossHashJoin\n" + 6930 " │ ├─ TableAlias(nd)\n" + 6931 " │ │ └─ Table\n" + 6932 " │ │ └─ name: E2I7U\n" + 6933 " │ └─ HashLookup\n" + 6934 " │ ├─ left-key: ()\n" + 6935 " │ ├─ right-key: ()\n" + 6936 " │ └─ SubqueryAlias\n" + 6937 " │ ├─ name: tmdtp\n" + 6938 " │ ├─ outerVisibility: false\n" + 6939 " │ ├─ isLateral: false\n" + 6940 " │ ├─ cacheable: true\n" + 6941 " │ └─ Project\n" + 6942 " │ ├─ columns: [bs.id as B2TX3, cla.FTQLQ as T4IBQ]\n" + 6943 " │ └─ MergeJoin\n" + 6944 " │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 6945 " │ ├─ Filter\n" + 6946 " │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 6947 " │ │ └─ TableAlias(cla)\n" + 6948 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 6949 " │ │ ├─ index: [YK2GW.id]\n" + 6950 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 6951 " │ │ └─ columns: [id ftqlq]\n" + 6952 " │ └─ TableAlias(bs)\n" + 6953 " │ └─ IndexedTableAccess(THNTS)\n" + 6954 " │ ├─ index: [THNTS.IXUXU]\n" + 6955 " │ ├─ filters: [{[NULL, ∞)}]\n" + 6956 " │ └─ columns: [id ixuxu]\n" + 6957 " └─ TableAlias(fc)\n" + 6958 " └─ IndexedTableAccess(AMYXQ)\n" + 6959 " ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 6960 " ├─ columns: [id gxlub luevy xqdyt amyxq oztqf z35gy kkgn5]\n" + 6961 " └─ keys: athcu.B2TX3, athcu.YYKXN\n" + 6962 "", 6963 ExpectedAnalysis: "Project\n" + 6964 " ├─ columns: [athcu.T4IBQ as T4IBQ, athcu.TW55N as TW55N, CASE WHEN fc.OZTQF IS NULL THEN 0 WHEN (athcu.SJ5DU IN ('log', 'com', 'ex')) THEN 0 WHEN (athcu.SOWRY = 'CRZ2X') THEN 0 WHEN (athcu.SOWRY = 'z') THEN fc.OZTQF WHEN (athcu.SOWRY = 'o') THEN (fc.OZTQF - 1) END as OZTQF]\n" + 6965 " └─ Sort(athcu.YYKXN ASC)\n" + 6966 " └─ Project\n" + 6967 " ├─ columns: [athcu.B2TX3, athcu.T4IBQ, athcu.YYKXN, athcu.TW55N, athcu.SOWRY, athcu.SJ5DU, fc.id, fc.GXLUB, fc.LUEVY, fc.XQDYT, fc.AMYXQ, fc.OZTQF, fc.Z35GY, fc.KKGN5, athcu.T4IBQ as T4IBQ, athcu.TW55N as TW55N, CASE WHEN fc.OZTQF IS NULL THEN 0 WHEN (athcu.SJ5DU IN ('log', 'com', 'ex')) THEN 0 WHEN (athcu.SOWRY = 'CRZ2X') THEN 0 WHEN (athcu.SOWRY = 'z') THEN fc.OZTQF WHEN (athcu.SOWRY = 'o') THEN (fc.OZTQF - 1) END as OZTQF]\n" + 6968 " └─ LeftOuterLookupJoin\n" + 6969 " ├─ SubqueryAlias\n" + 6970 " │ ├─ name: athcu\n" + 6971 " │ ├─ outerVisibility: false\n" + 6972 " │ ├─ isLateral: false\n" + 6973 " │ ├─ cacheable: true\n" + 6974 " │ └─ Project\n" + 6975 " │ ├─ columns: [tmdtp.B2TX3, tmdtp.T4IBQ, nd.id as YYKXN, nd.TW55N as TW55N, nd.FSK67 as SOWRY, Subquery\n" + 6976 " │ │ ├─ cacheable: false\n" + 6977 " │ │ └─ Project\n" + 6978 " │ │ ├─ columns: [nt.DZLIM]\n" + 6979 " │ │ └─ Filter\n" + 6980 " │ │ ├─ (nt.id = nd.DKCAJ)\n" + 6981 " │ │ └─ TableAlias(nt)\n" + 6982 " │ │ └─ IndexedTableAccess(F35MI)\n" + 6983 " │ │ ├─ index: [F35MI.id]\n" + 6984 " │ │ ├─ columns: [id dzlim]\n" + 6985 " │ │ └─ keys: nd.DKCAJ\n" + 6986 " │ │ as SJ5DU]\n" + 6987 " │ └─ Project\n" + 6988 " │ ├─ columns: [tmdtp.B2TX3, tmdtp.T4IBQ, nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nd.id as YYKXN, nd.TW55N as TW55N, nd.FSK67 as SOWRY, Subquery\n" + 6989 " │ │ ├─ cacheable: false\n" + 6990 " │ │ └─ Project\n" + 6991 " │ │ ├─ columns: [nt.DZLIM]\n" + 6992 " │ │ └─ Filter\n" + 6993 " │ │ ├─ (nt.id = nd.DKCAJ)\n" + 6994 " │ │ └─ TableAlias(nt)\n" + 6995 " │ │ └─ IndexedTableAccess(F35MI)\n" + 6996 " │ │ ├─ index: [F35MI.id]\n" + 6997 " │ │ ├─ columns: [id dzlim]\n" + 6998 " │ │ └─ keys: nd.DKCAJ\n" + 6999 " │ │ as SJ5DU]\n" + 7000 " │ └─ CrossHashJoin\n" + 7001 " │ ├─ TableAlias(nd)\n" + 7002 " │ │ └─ Table\n" + 7003 " │ │ └─ name: E2I7U\n" + 7004 " │ └─ HashLookup\n" + 7005 " │ ├─ left-key: ()\n" + 7006 " │ ├─ right-key: ()\n" + 7007 " │ └─ SubqueryAlias\n" + 7008 " │ ├─ name: tmdtp\n" + 7009 " │ ├─ outerVisibility: false\n" + 7010 " │ ├─ isLateral: false\n" + 7011 " │ ├─ cacheable: true\n" + 7012 " │ └─ Project\n" + 7013 " │ ├─ columns: [bs.id as B2TX3, cla.FTQLQ as T4IBQ]\n" + 7014 " │ └─ MergeJoin\n" + 7015 " │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 7016 " │ ├─ Filter\n" + 7017 " │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 7018 " │ │ └─ TableAlias(cla)\n" + 7019 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 7020 " │ │ ├─ index: [YK2GW.id]\n" + 7021 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7022 " │ │ └─ columns: [id ftqlq]\n" + 7023 " │ └─ TableAlias(bs)\n" + 7024 " │ └─ IndexedTableAccess(THNTS)\n" + 7025 " │ ├─ index: [THNTS.IXUXU]\n" + 7026 " │ ├─ filters: [{[NULL, ∞)}]\n" + 7027 " │ └─ columns: [id ixuxu]\n" + 7028 " └─ TableAlias(fc)\n" + 7029 " └─ IndexedTableAccess(AMYXQ)\n" + 7030 " ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 7031 " ├─ columns: [id gxlub luevy xqdyt amyxq oztqf z35gy kkgn5]\n" + 7032 " └─ keys: athcu.B2TX3, athcu.YYKXN\n" + 7033 "", 7034 }, 7035 { 7036 Query: ` 7037 WITH AX7FV AS 7038 (SELECT 7039 bs.T4IBQ AS T4IBQ, 7040 pa.DZLIM AS ECUWU, 7041 pga.DZLIM AS GSTQA, 7042 pog.B5OUF, 7043 fc.OZTQF, 7044 F26ZW.YHYLK, 7045 nd.TW55N AS TW55N 7046 FROM 7047 SZQWJ ms 7048 INNER JOIN XOAOP pa 7049 ON ms.CH3FR = pa.id 7050 LEFT JOIN NPCYY pog 7051 ON pa.id = pog.CH3FR 7052 INNER JOIN PG27A pga 7053 ON pog.XVSBH = pga.id 7054 INNER JOIN FEIOE GZ7Z4 7055 ON pog.id = GZ7Z4.GMSGA 7056 INNER JOIN E2I7U nd 7057 ON GZ7Z4.LUEVY = nd.id 7058 RIGHT JOIN ( 7059 SELECT 7060 THNTS.id, 7061 YK2GW.FTQLQ AS T4IBQ 7062 FROM THNTS 7063 INNER JOIN YK2GW 7064 ON IXUXU = YK2GW.id 7065 ) bs 7066 ON ms.GXLUB = bs.id 7067 LEFT JOIN AMYXQ fc 7068 ON bs.id = fc.GXLUB AND nd.id = fc.LUEVY 7069 LEFT JOIN ( 7070 SELECT 7071 iq.T4IBQ, 7072 iq.BRQP2, 7073 iq.Z7CP5, 7074 CASE 7075 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P = 'L5Q44' AND iq.IDWIO = 'KAOAS' 7076 THEN 0 7077 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P = 'L5Q44' AND iq.IDWIO = 'OG' 7078 THEN 0 7079 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P = 'L5Q44' AND iq.IDWIO = 'TSG' 7080 THEN 0 7081 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P <> 'L5Q44' AND iq.IDWIO = 'W6W24' 7082 THEN 1 7083 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P <> 'L5Q44' AND iq.IDWIO = 'OG' 7084 THEN 1 7085 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P <> 'L5Q44' AND iq.IDWIO = 'TSG' 7086 THEN 0 7087 ELSE NULL 7088 END AS YHYLK 7089 FROM ( 7090 SELECT /*+ JOIN_ORDER( cla, bs, mf, nd, nma, sn ) */ 7091 cla.FTQLQ AS T4IBQ, 7092 sn.BRQP2, 7093 mf.id AS Z7CP5, 7094 mf.FSDY2, 7095 nma.DZLIM AS IDWIO 7096 FROM 7097 HGMQ6 mf 7098 INNER JOIN THNTS bs 7099 ON mf.GXLUB = bs.id 7100 INNER JOIN YK2GW cla 7101 ON bs.IXUXU = cla.id 7102 INNER JOIN E2I7U nd 7103 ON mf.LUEVY = nd.id 7104 INNER JOIN TNMXI nma 7105 ON nd.HPCMS = nma.id 7106 INNER JOIN NOXN3 sn 7107 ON sn.BRQP2 = nd.id 7108 WHERE cla.FTQLQ IN ('SQ1') 7109 ) iq 7110 LEFT JOIN SEQS3 W2MAO 7111 ON iq.Z7CP5 = W2MAO.Z7CP5 7112 LEFT JOIN D34QP vc 7113 ON W2MAO.YH4XB = vc.id 7114 ) F26ZW 7115 ON F26ZW.T4IBQ = bs.T4IBQ AND F26ZW.BRQP2 = nd.id 7116 LEFT JOIN TNMXI nma 7117 ON nd.HPCMS = nma.id 7118 WHERE bs.T4IBQ IN ('SQ1') AND ms.D237E = TRUE) 7119 SELECT 7120 XPRW6.T4IBQ AS T4IBQ, 7121 XPRW6.ECUWU AS ECUWU, 7122 SUM(XPRW6.B5OUF) AS B5OUF, 7123 SUM(XPRW6.SP4SI) AS SP4SI 7124 FROM ( 7125 SELECT 7126 NRFJ3.T4IBQ AS T4IBQ, 7127 NRFJ3.ECUWU AS ECUWU, 7128 NRFJ3.GSTQA AS GSTQA, 7129 NRFJ3.B5OUF AS B5OUF, 7130 SUM(CASE 7131 WHEN NRFJ3.OZTQF < 0.5 OR NRFJ3.YHYLK = 0 THEN 1 7132 ELSE 0 7133 END) AS SP4SI 7134 FROM ( 7135 SELECT DISTINCT 7136 T4IBQ, 7137 ECUWU, 7138 GSTQA, 7139 B5OUF, 7140 TW55N, 7141 OZTQF, 7142 YHYLK 7143 FROM 7144 AX7FV) NRFJ3 7145 GROUP BY T4IBQ, ECUWU, GSTQA 7146 ) XPRW6 7147 GROUP BY T4IBQ, ECUWU`, 7148 ExpectedPlan: "Project\n" + 7149 " ├─ columns: [xprw6.T4IBQ:2!null as T4IBQ, xprw6.ECUWU:3!null as ECUWU, sum(xprw6.b5ouf):0!null as B5OUF, sum(xprw6.sp4si):1!null as SP4SI]\n" + 7150 " └─ GroupBy\n" + 7151 " ├─ select: SUM(xprw6.B5OUF:3), SUM(xprw6.SP4SI:4!null), xprw6.T4IBQ:0!null, xprw6.ECUWU:1!null\n" + 7152 " ├─ group: xprw6.T4IBQ:0!null, xprw6.ECUWU:1!null\n" + 7153 " └─ SubqueryAlias\n" + 7154 " ├─ name: xprw6\n" + 7155 " ├─ outerVisibility: false\n" + 7156 " ├─ isLateral: false\n" + 7157 " ├─ cacheable: true\n" + 7158 " ├─ colSet: (214-218)\n" + 7159 " ├─ tableId: 25\n" + 7160 " └─ Project\n" + 7161 " ├─ columns: [nrfj3.T4IBQ:1!null as T4IBQ, nrfj3.ECUWU:2!null as ECUWU, nrfj3.GSTQA:3!null as GSTQA, nrfj3.B5OUF:4 as B5OUF, sum(case when ((nrfj3.oztqf < 0.5) or (nrfj3.yhylk = 0)) then 1 else 0 end):0!null as SP4SI]\n" + 7162 " └─ GroupBy\n" + 7163 " ├─ select: SUM(CASE WHEN Or\n" + 7164 " │ ├─ LessThan\n" + 7165 " │ │ ├─ nrfj3.OZTQF:5!null\n" + 7166 " │ │ └─ 0.5 (decimal(2,1))\n" + 7167 " │ └─ Eq\n" + 7168 " │ ├─ nrfj3.YHYLK:6\n" + 7169 " │ └─ 0 (tinyint)\n" + 7170 " │ THEN 1 (tinyint) ELSE 0 (tinyint) END), nrfj3.T4IBQ:0!null, nrfj3.ECUWU:1!null, nrfj3.GSTQA:2!null, nrfj3.B5OUF:3\n" + 7171 " ├─ group: nrfj3.T4IBQ:0!null, nrfj3.ECUWU:1!null, nrfj3.GSTQA:2!null\n" + 7172 " └─ SubqueryAlias\n" + 7173 " ├─ name: nrfj3\n" + 7174 " ├─ outerVisibility: false\n" + 7175 " ├─ isLateral: false\n" + 7176 " ├─ cacheable: true\n" + 7177 " ├─ colSet: (201-207)\n" + 7178 " ├─ tableId: 24\n" + 7179 " └─ Distinct\n" + 7180 " └─ Project\n" + 7181 " ├─ columns: [ax7fv.T4IBQ:0!null, ax7fv.ECUWU:1!null, ax7fv.GSTQA:2!null, ax7fv.B5OUF:3, ax7fv.TW55N:6!null, ax7fv.OZTQF:4!null, ax7fv.YHYLK:5]\n" + 7182 " └─ SubqueryAlias\n" + 7183 " ├─ name: ax7fv\n" + 7184 " ├─ outerVisibility: false\n" + 7185 " ├─ isLateral: false\n" + 7186 " ├─ cacheable: true\n" + 7187 " ├─ colSet: (194-200)\n" + 7188 " ├─ tableId: 22\n" + 7189 " └─ Project\n" + 7190 " ├─ columns: [bs.T4IBQ:1!null as T4IBQ, pa.DZLIM:6!null as ECUWU, pga.DZLIM:12!null as GSTQA, pog.B5OUF:10, fc.OZTQF:20!null, f26zw.YHYLK:24, nd.TW55N:16!null as TW55N]\n" + 7191 " └─ Filter\n" + 7192 " ├─ Eq\n" + 7193 " │ ├─ ms.D237E:4!null\n" + 7194 " │ └─ true (tinyint(1))\n" + 7195 " └─ LeftOuterHashJoin\n" + 7196 " ├─ Eq\n" + 7197 " │ ├─ nd.HPCMS:17!null\n" + 7198 " │ └─ nma.id:25!null\n" + 7199 " ├─ LeftOuterHashJoin\n" + 7200 " │ ├─ AND\n" + 7201 " │ │ ├─ Eq\n" + 7202 " │ │ │ ├─ f26zw.T4IBQ:21!null\n" + 7203 " │ │ │ └─ bs.T4IBQ:1!null\n" + 7204 " │ │ └─ Eq\n" + 7205 " │ │ ├─ f26zw.BRQP2:22!null\n" + 7206 " │ │ └─ nd.id:15!null\n" + 7207 " │ ├─ LeftOuterLookupJoin\n" + 7208 " │ │ ├─ LeftOuterHashJoin\n" + 7209 " │ │ │ ├─ Eq\n" + 7210 " │ │ │ │ ├─ ms.GXLUB:2!null\n" + 7211 " │ │ │ │ └─ bs.id:0!null\n" + 7212 " │ │ │ ├─ SubqueryAlias\n" + 7213 " │ │ │ │ ├─ name: bs\n" + 7214 " │ │ │ │ ├─ outerVisibility: false\n" + 7215 " │ │ │ │ ├─ isLateral: false\n" + 7216 " │ │ │ │ ├─ cacheable: true\n" + 7217 " │ │ │ │ ├─ colSet: (74,75)\n" + 7218 " │ │ │ │ ├─ tableId: 9\n" + 7219 " │ │ │ │ └─ Filter\n" + 7220 " │ │ │ │ ├─ HashIn\n" + 7221 " │ │ │ │ │ ├─ T4IBQ:1!null\n" + 7222 " │ │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 7223 " │ │ │ │ └─ Project\n" + 7224 " │ │ │ │ ├─ columns: [thnts.id:0!null, yk2gw.FTQLQ:3!null as T4IBQ]\n" + 7225 " │ │ │ │ └─ MergeJoin\n" + 7226 " │ │ │ │ ├─ cmp: Eq\n" + 7227 " │ │ │ │ │ ├─ thnts.IXUXU:1\n" + 7228 " │ │ │ │ │ └─ yk2gw.id:2!null\n" + 7229 " │ │ │ │ ├─ IndexedTableAccess(THNTS)\n" + 7230 " │ │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 7231 " │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 7232 " │ │ │ │ │ ├─ colSet: (39-42)\n" + 7233 " │ │ │ │ │ ├─ tableId: 7\n" + 7234 " │ │ │ │ │ └─ Table\n" + 7235 " │ │ │ │ │ ├─ name: THNTS\n" + 7236 " │ │ │ │ │ └─ columns: [id ixuxu]\n" + 7237 " │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 7238 " │ │ │ │ ├─ index: [YK2GW.id]\n" + 7239 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 7240 " │ │ │ │ ├─ colSet: (43-72)\n" + 7241 " │ │ │ │ ├─ tableId: 8\n" + 7242 " │ │ │ │ └─ Table\n" + 7243 " │ │ │ │ ├─ name: YK2GW\n" + 7244 " │ │ │ │ └─ columns: [id ftqlq]\n" + 7245 " │ │ │ └─ HashLookup\n" + 7246 " │ │ │ ├─ left-key: TUPLE(bs.id:0!null)\n" + 7247 " │ │ │ ├─ right-key: TUPLE(ms.GXLUB:0!null)\n" + 7248 " │ │ │ └─ LookupJoin\n" + 7249 " │ │ │ ├─ LookupJoin\n" + 7250 " │ │ │ │ ├─ HashJoin\n" + 7251 " │ │ │ │ │ ├─ Eq\n" + 7252 " │ │ │ │ │ │ ├─ pog.XVSBH:9\n" + 7253 " │ │ │ │ │ │ └─ pga.id:11!null\n" + 7254 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 7255 " │ │ │ │ │ │ ├─ MergeJoin\n" + 7256 " │ │ │ │ │ │ │ ├─ cmp: Eq\n" + 7257 " │ │ │ │ │ │ │ │ ├─ ms.CH3FR:3!null\n" + 7258 " │ │ │ │ │ │ │ │ └─ pa.id:5!null\n" + 7259 " │ │ │ │ │ │ │ ├─ TableAlias(ms)\n" + 7260 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(SZQWJ)\n" + 7261 " │ │ │ │ │ │ │ │ ├─ index: [SZQWJ.CH3FR]\n" + 7262 " │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 7263 " │ │ │ │ │ │ │ │ ├─ colSet: (1-5)\n" + 7264 " │ │ │ │ │ │ │ │ ├─ tableId: 1\n" + 7265 " │ │ │ │ │ │ │ │ └─ Table\n" + 7266 " │ │ │ │ │ │ │ │ ├─ name: SZQWJ\n" + 7267 " │ │ │ │ │ │ │ │ └─ columns: [gxlub ch3fr d237e]\n" + 7268 " │ │ │ │ │ │ │ └─ TableAlias(pa)\n" + 7269 " │ │ │ │ │ │ │ └─ IndexedTableAccess(XOAOP)\n" + 7270 " │ │ │ │ │ │ │ ├─ index: [XOAOP.id]\n" + 7271 " │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 7272 " │ │ │ │ │ │ │ ├─ colSet: (6-8)\n" + 7273 " │ │ │ │ │ │ │ ├─ tableId: 2\n" + 7274 " │ │ │ │ │ │ │ └─ Table\n" + 7275 " │ │ │ │ │ │ │ ├─ name: XOAOP\n" + 7276 " │ │ │ │ │ │ │ └─ columns: [id dzlim]\n" + 7277 " │ │ │ │ │ │ └─ TableAlias(pog)\n" + 7278 " │ │ │ │ │ │ └─ IndexedTableAccess(NPCYY)\n" + 7279 " │ │ │ │ │ │ ├─ index: [NPCYY.CH3FR]\n" + 7280 " │ │ │ │ │ │ ├─ keys: [pa.id:5!null]\n" + 7281 " │ │ │ │ │ │ ├─ colSet: (9-12)\n" + 7282 " │ │ │ │ │ │ ├─ tableId: 3\n" + 7283 " │ │ │ │ │ │ └─ Table\n" + 7284 " │ │ │ │ │ │ ├─ name: NPCYY\n" + 7285 " │ │ │ │ │ │ └─ columns: [id ch3fr xvsbh b5ouf]\n" + 7286 " │ │ │ │ │ └─ HashLookup\n" + 7287 " │ │ │ │ │ ├─ left-key: TUPLE(pog.XVSBH:9)\n" + 7288 " │ │ │ │ │ ├─ right-key: TUPLE(pga.id:0!null)\n" + 7289 " │ │ │ │ │ └─ TableAlias(pga)\n" + 7290 " │ │ │ │ │ └─ Table\n" + 7291 " │ │ │ │ │ ├─ name: PG27A\n" + 7292 " │ │ │ │ │ ├─ columns: [id dzlim]\n" + 7293 " │ │ │ │ │ ├─ colSet: (13-15)\n" + 7294 " │ │ │ │ │ └─ tableId: 4\n" + 7295 " │ │ │ │ └─ TableAlias(gz7z4)\n" + 7296 " │ │ │ │ └─ IndexedTableAccess(FEIOE)\n" + 7297 " │ │ │ │ ├─ index: [FEIOE.GMSGA]\n" + 7298 " │ │ │ │ ├─ keys: [pog.id:7!null]\n" + 7299 " │ │ │ │ ├─ colSet: (16-21)\n" + 7300 " │ │ │ │ ├─ tableId: 5\n" + 7301 " │ │ │ │ └─ Table\n" + 7302 " │ │ │ │ ├─ name: FEIOE\n" + 7303 " │ │ │ │ └─ columns: [luevy gmsga]\n" + 7304 " │ │ │ └─ TableAlias(nd)\n" + 7305 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 7306 " │ │ │ ├─ index: [E2I7U.id]\n" + 7307 " │ │ │ ├─ keys: [gz7z4.LUEVY:13!null]\n" + 7308 " │ │ │ ├─ colSet: (22-38)\n" + 7309 " │ │ │ ├─ tableId: 6\n" + 7310 " │ │ │ └─ Table\n" + 7311 " │ │ │ ├─ name: E2I7U\n" + 7312 " │ │ │ └─ columns: [id tw55n hpcms]\n" + 7313 " │ │ └─ TableAlias(fc)\n" + 7314 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 7315 " │ │ ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 7316 " │ │ ├─ keys: [bs.id:0!null nd.id:15!null]\n" + 7317 " │ │ ├─ colSet: (76-83)\n" + 7318 " │ │ ├─ tableId: 10\n" + 7319 " │ │ └─ Table\n" + 7320 " │ │ ├─ name: AMYXQ\n" + 7321 " │ │ └─ columns: [gxlub luevy oztqf]\n" + 7322 " │ └─ HashLookup\n" + 7323 " │ ├─ left-key: TUPLE(bs.T4IBQ:1!null, nd.id:15!null)\n" + 7324 " │ ├─ right-key: TUPLE(f26zw.T4IBQ:0!null, f26zw.BRQP2:1!null)\n" + 7325 " │ └─ SubqueryAlias\n" + 7326 " │ ├─ name: f26zw\n" + 7327 " │ ├─ outerVisibility: false\n" + 7328 " │ ├─ isLateral: false\n" + 7329 " │ ├─ cacheable: true\n" + 7330 " │ ├─ colSet: (183-186)\n" + 7331 " │ ├─ tableId: 20\n" + 7332 " │ └─ Project\n" + 7333 " │ ├─ columns: [iq.T4IBQ:0!null, iq.BRQP2:1!null, iq.Z7CP5:2!null, CASE WHEN AND\n" + 7334 " │ │ ├─ AND\n" + 7335 " │ │ │ ├─ IN\n" + 7336 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 7337 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 7338 " │ │ │ └─ Eq\n" + 7339 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 7340 " │ │ │ └─ L5Q44 (longtext)\n" + 7341 " │ │ └─ Eq\n" + 7342 " │ │ ├─ iq.IDWIO:4!null\n" + 7343 " │ │ └─ KAOAS (longtext)\n" + 7344 " │ │ THEN 0 (tinyint) WHEN AND\n" + 7345 " │ │ ├─ AND\n" + 7346 " │ │ │ ├─ IN\n" + 7347 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 7348 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 7349 " │ │ │ └─ Eq\n" + 7350 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 7351 " │ │ │ └─ L5Q44 (longtext)\n" + 7352 " │ │ └─ Eq\n" + 7353 " │ │ ├─ iq.IDWIO:4!null\n" + 7354 " │ │ └─ OG (longtext)\n" + 7355 " │ │ THEN 0 (tinyint) WHEN AND\n" + 7356 " │ │ ├─ AND\n" + 7357 " │ │ │ ├─ IN\n" + 7358 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 7359 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 7360 " │ │ │ └─ Eq\n" + 7361 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 7362 " │ │ │ └─ L5Q44 (longtext)\n" + 7363 " │ │ └─ Eq\n" + 7364 " │ │ ├─ iq.IDWIO:4!null\n" + 7365 " │ │ └─ TSG (longtext)\n" + 7366 " │ │ THEN 0 (tinyint) WHEN AND\n" + 7367 " │ │ ├─ AND\n" + 7368 " │ │ │ ├─ IN\n" + 7369 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 7370 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 7371 " │ │ │ └─ NOT\n" + 7372 " │ │ │ └─ Eq\n" + 7373 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 7374 " │ │ │ └─ L5Q44 (longtext)\n" + 7375 " │ │ └─ Eq\n" + 7376 " │ │ ├─ iq.IDWIO:4!null\n" + 7377 " │ │ └─ W6W24 (longtext)\n" + 7378 " │ │ THEN 1 (tinyint) WHEN AND\n" + 7379 " │ │ ├─ AND\n" + 7380 " │ │ │ ├─ IN\n" + 7381 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 7382 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 7383 " │ │ │ └─ NOT\n" + 7384 " │ │ │ └─ Eq\n" + 7385 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 7386 " │ │ │ └─ L5Q44 (longtext)\n" + 7387 " │ │ └─ Eq\n" + 7388 " │ │ ├─ iq.IDWIO:4!null\n" + 7389 " │ │ └─ OG (longtext)\n" + 7390 " │ │ THEN 1 (tinyint) WHEN AND\n" + 7391 " │ │ ├─ AND\n" + 7392 " │ │ │ ├─ IN\n" + 7393 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 7394 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 7395 " │ │ │ └─ NOT\n" + 7396 " │ │ │ └─ Eq\n" + 7397 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 7398 " │ │ │ └─ L5Q44 (longtext)\n" + 7399 " │ │ └─ Eq\n" + 7400 " │ │ ├─ iq.IDWIO:4!null\n" + 7401 " │ │ └─ TSG (longtext)\n" + 7402 " │ │ THEN 0 (tinyint) ELSE NULL (null) END as YHYLK]\n" + 7403 " │ └─ LeftOuterHashJoin\n" + 7404 " │ ├─ Eq\n" + 7405 " │ │ ├─ w2mao.YH4XB:6!null\n" + 7406 " │ │ └─ vc.id:7!null\n" + 7407 " │ ├─ LeftOuterLookupJoin\n" + 7408 " │ │ ├─ SubqueryAlias\n" + 7409 " │ │ │ ├─ name: iq\n" + 7410 " │ │ │ ├─ outerVisibility: false\n" + 7411 " │ │ │ ├─ isLateral: false\n" + 7412 " │ │ │ ├─ cacheable: true\n" + 7413 " │ │ │ ├─ colSet: (168-172)\n" + 7414 " │ │ │ ├─ tableId: 17\n" + 7415 " │ │ │ └─ Project\n" + 7416 " │ │ │ ├─ columns: [cla.FTQLQ:1!null as T4IBQ, sn.BRQP2:12!null, mf.id:4!null as Z7CP5, mf.FSDY2:7!null, nma.DZLIM:11!null as IDWIO]\n" + 7417 " │ │ │ └─ HashJoin\n" + 7418 " │ │ │ ├─ Eq\n" + 7419 " │ │ │ │ ├─ mf.GXLUB:5!null\n" + 7420 " │ │ │ │ └─ bs.id:2!null\n" + 7421 " │ │ │ ├─ MergeJoin\n" + 7422 " │ │ │ │ ├─ cmp: Eq\n" + 7423 " │ │ │ │ │ ├─ cla.id:0!null\n" + 7424 " │ │ │ │ │ └─ bs.IXUXU:3\n" + 7425 " │ │ │ │ ├─ Filter\n" + 7426 " │ │ │ │ │ ├─ HashIn\n" + 7427 " │ │ │ │ │ │ ├─ cla.FTQLQ:1!null\n" + 7428 " │ │ │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 7429 " │ │ │ │ │ └─ TableAlias(cla)\n" + 7430 " │ │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 7431 " │ │ │ │ │ ├─ index: [YK2GW.id]\n" + 7432 " │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 7433 " │ │ │ │ │ ├─ colSet: (105-134)\n" + 7434 " │ │ │ │ │ ├─ tableId: 13\n" + 7435 " │ │ │ │ │ └─ Table\n" + 7436 " │ │ │ │ │ ├─ name: YK2GW\n" + 7437 " │ │ │ │ │ └─ columns: [id ftqlq]\n" + 7438 " │ │ │ │ └─ TableAlias(bs)\n" + 7439 " │ │ │ │ └─ IndexedTableAccess(THNTS)\n" + 7440 " │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 7441 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 7442 " │ │ │ │ ├─ colSet: (101-104)\n" + 7443 " │ │ │ │ ├─ tableId: 12\n" + 7444 " │ │ │ │ └─ Table\n" + 7445 " │ │ │ │ ├─ name: THNTS\n" + 7446 " │ │ │ │ └─ columns: [id ixuxu]\n" + 7447 " │ │ │ └─ HashLookup\n" + 7448 " │ │ │ ├─ left-key: TUPLE(bs.id:2!null)\n" + 7449 " │ │ │ ├─ right-key: TUPLE(mf.GXLUB:1!null)\n" + 7450 " │ │ │ └─ HashJoin\n" + 7451 " │ │ │ ├─ AND\n" + 7452 " │ │ │ │ ├─ Eq\n" + 7453 " │ │ │ │ │ ├─ mf.LUEVY:6!null\n" + 7454 " │ │ │ │ │ └─ nd.id:8!null\n" + 7455 " │ │ │ │ └─ Eq\n" + 7456 " │ │ │ │ ├─ mf.LUEVY:6!null\n" + 7457 " │ │ │ │ └─ sn.BRQP2:12!null\n" + 7458 " │ │ │ ├─ TableAlias(mf)\n" + 7459 " │ │ │ │ └─ Table\n" + 7460 " │ │ │ │ ├─ name: HGMQ6\n" + 7461 " │ │ │ │ ├─ columns: [id gxlub luevy fsdy2]\n" + 7462 " │ │ │ │ ├─ colSet: (84-100)\n" + 7463 " │ │ │ │ └─ tableId: 11\n" + 7464 " │ │ │ └─ HashLookup\n" + 7465 " │ │ │ ├─ left-key: TUPLE(mf.LUEVY:6!null, mf.LUEVY:6!null)\n" + 7466 " │ │ │ ├─ right-key: TUPLE(nd.id:0!null, sn.BRQP2:4!null)\n" + 7467 " │ │ │ └─ LookupJoin\n" + 7468 " │ │ │ ├─ MergeJoin\n" + 7469 " │ │ │ │ ├─ cmp: Eq\n" + 7470 " │ │ │ │ │ ├─ nd.HPCMS:9!null\n" + 7471 " │ │ │ │ │ └─ nma.id:10!null\n" + 7472 " │ │ │ │ ├─ TableAlias(nd)\n" + 7473 " │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 7474 " │ │ │ │ │ ├─ index: [E2I7U.HPCMS]\n" + 7475 " │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 7476 " │ │ │ │ │ ├─ colSet: (135-151)\n" + 7477 " │ │ │ │ │ ├─ tableId: 14\n" + 7478 " │ │ │ │ │ └─ Table\n" + 7479 " │ │ │ │ │ ├─ name: E2I7U\n" + 7480 " │ │ │ │ │ └─ columns: [id hpcms]\n" + 7481 " │ │ │ │ └─ TableAlias(nma)\n" + 7482 " │ │ │ │ └─ IndexedTableAccess(TNMXI)\n" + 7483 " │ │ │ │ ├─ index: [TNMXI.id]\n" + 7484 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 7485 " │ │ │ │ ├─ colSet: (152-154)\n" + 7486 " │ │ │ │ ├─ tableId: 15\n" + 7487 " │ │ │ │ └─ Table\n" + 7488 " │ │ │ │ ├─ name: TNMXI\n" + 7489 " │ │ │ │ └─ columns: [id dzlim]\n" + 7490 " │ │ │ └─ TableAlias(sn)\n" + 7491 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 7492 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 7493 " │ │ │ ├─ keys: [nd.id:8!null]\n" + 7494 " │ │ │ ├─ colSet: (155-164)\n" + 7495 " │ │ │ ├─ tableId: 16\n" + 7496 " │ │ │ └─ Table\n" + 7497 " │ │ │ ├─ name: NOXN3\n" + 7498 " │ │ │ └─ columns: [brqp2]\n" + 7499 " │ │ └─ TableAlias(w2mao)\n" + 7500 " │ │ └─ IndexedTableAccess(SEQS3)\n" + 7501 " │ │ ├─ index: [SEQS3.Z7CP5]\n" + 7502 " │ │ ├─ keys: [iq.Z7CP5:2!null]\n" + 7503 " │ │ ├─ colSet: (173-175)\n" + 7504 " │ │ ├─ tableId: 18\n" + 7505 " │ │ └─ Table\n" + 7506 " │ │ ├─ name: SEQS3\n" + 7507 " │ │ └─ columns: [z7cp5 yh4xb]\n" + 7508 " │ └─ HashLookup\n" + 7509 " │ ├─ left-key: TUPLE(w2mao.YH4XB:6!null)\n" + 7510 " │ ├─ right-key: TUPLE(vc.id:0!null)\n" + 7511 " │ └─ TableAlias(vc)\n" + 7512 " │ └─ Table\n" + 7513 " │ ├─ name: D34QP\n" + 7514 " │ ├─ columns: [id znp4p]\n" + 7515 " │ ├─ colSet: (176-181)\n" + 7516 " │ └─ tableId: 19\n" + 7517 " └─ HashLookup\n" + 7518 " ├─ left-key: TUPLE(nd.HPCMS:17!null)\n" + 7519 " ├─ right-key: TUPLE(nma.id:0!null)\n" + 7520 " └─ TableAlias(nma)\n" + 7521 " └─ Table\n" + 7522 " ├─ name: TNMXI\n" + 7523 " ├─ columns: [id]\n" + 7524 " ├─ colSet: (187-189)\n" + 7525 " └─ tableId: 21\n" + 7526 "", 7527 ExpectedEstimates: "Project\n" + 7528 " ├─ columns: [xprw6.T4IBQ as T4IBQ, xprw6.ECUWU as ECUWU, sum(xprw6.b5ouf) as B5OUF, sum(xprw6.sp4si) as SP4SI]\n" + 7529 " └─ GroupBy\n" + 7530 " ├─ SelectedExprs(SUM(xprw6.B5OUF), SUM(xprw6.SP4SI), xprw6.T4IBQ, xprw6.ECUWU)\n" + 7531 " ├─ Grouping(xprw6.T4IBQ, xprw6.ECUWU)\n" + 7532 " └─ SubqueryAlias\n" + 7533 " ├─ name: xprw6\n" + 7534 " ├─ outerVisibility: false\n" + 7535 " ├─ isLateral: false\n" + 7536 " ├─ cacheable: true\n" + 7537 " └─ Project\n" + 7538 " ├─ columns: [nrfj3.T4IBQ as T4IBQ, nrfj3.ECUWU as ECUWU, nrfj3.GSTQA as GSTQA, nrfj3.B5OUF as B5OUF, sum(case when ((nrfj3.oztqf < 0.5) or (nrfj3.yhylk = 0)) then 1 else 0 end) as SP4SI]\n" + 7539 " └─ GroupBy\n" + 7540 " ├─ SelectedExprs(SUM(CASE WHEN ((nrfj3.OZTQF < 0.5) OR (nrfj3.YHYLK = 0)) THEN 1 ELSE 0 END), nrfj3.T4IBQ, nrfj3.ECUWU, nrfj3.GSTQA, nrfj3.B5OUF)\n" + 7541 " ├─ Grouping(nrfj3.T4IBQ, nrfj3.ECUWU, nrfj3.GSTQA)\n" + 7542 " └─ SubqueryAlias\n" + 7543 " ├─ name: nrfj3\n" + 7544 " ├─ outerVisibility: false\n" + 7545 " ├─ isLateral: false\n" + 7546 " ├─ cacheable: true\n" + 7547 " └─ Distinct\n" + 7548 " └─ Project\n" + 7549 " ├─ columns: [ax7fv.T4IBQ, ax7fv.ECUWU, ax7fv.GSTQA, ax7fv.B5OUF, ax7fv.TW55N, ax7fv.OZTQF, ax7fv.YHYLK]\n" + 7550 " └─ SubqueryAlias\n" + 7551 " ├─ name: ax7fv\n" + 7552 " ├─ outerVisibility: false\n" + 7553 " ├─ isLateral: false\n" + 7554 " ├─ cacheable: true\n" + 7555 " └─ Project\n" + 7556 " ├─ columns: [bs.T4IBQ as T4IBQ, pa.DZLIM as ECUWU, pga.DZLIM as GSTQA, pog.B5OUF, fc.OZTQF, f26zw.YHYLK, nd.TW55N as TW55N]\n" + 7557 " └─ Filter\n" + 7558 " ├─ (ms.D237E = true)\n" + 7559 " └─ LeftOuterHashJoin\n" + 7560 " ├─ (nd.HPCMS = nma.id)\n" + 7561 " ├─ LeftOuterHashJoin\n" + 7562 " │ ├─ ((f26zw.T4IBQ = bs.T4IBQ) AND (f26zw.BRQP2 = nd.id))\n" + 7563 " │ ├─ LeftOuterLookupJoin\n" + 7564 " │ │ ├─ LeftOuterHashJoin\n" + 7565 " │ │ │ ├─ (ms.GXLUB = bs.id)\n" + 7566 " │ │ │ ├─ SubqueryAlias\n" + 7567 " │ │ │ │ ├─ name: bs\n" + 7568 " │ │ │ │ ├─ outerVisibility: false\n" + 7569 " │ │ │ │ ├─ isLateral: false\n" + 7570 " │ │ │ │ ├─ cacheable: true\n" + 7571 " │ │ │ │ └─ Filter\n" + 7572 " │ │ │ │ ├─ (T4IBQ HASH IN ('SQ1'))\n" + 7573 " │ │ │ │ └─ Project\n" + 7574 " │ │ │ │ ├─ columns: [thnts.id, yk2gw.FTQLQ as T4IBQ]\n" + 7575 " │ │ │ │ └─ MergeJoin\n" + 7576 " │ │ │ │ ├─ cmp: (thnts.IXUXU = yk2gw.id)\n" + 7577 " │ │ │ │ ├─ IndexedTableAccess(THNTS)\n" + 7578 " │ │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 7579 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7580 " │ │ │ │ │ └─ columns: [id ixuxu]\n" + 7581 " │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 7582 " │ │ │ │ ├─ index: [YK2GW.id]\n" + 7583 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7584 " │ │ │ │ └─ columns: [id ftqlq]\n" + 7585 " │ │ │ └─ HashLookup\n" + 7586 " │ │ │ ├─ left-key: (bs.id)\n" + 7587 " │ │ │ ├─ right-key: (ms.GXLUB)\n" + 7588 " │ │ │ └─ LookupJoin\n" + 7589 " │ │ │ ├─ LookupJoin\n" + 7590 " │ │ │ │ ├─ HashJoin\n" + 7591 " │ │ │ │ │ ├─ (pog.XVSBH = pga.id)\n" + 7592 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 7593 " │ │ │ │ │ │ ├─ MergeJoin\n" + 7594 " │ │ │ │ │ │ │ ├─ cmp: (ms.CH3FR = pa.id)\n" + 7595 " │ │ │ │ │ │ │ ├─ TableAlias(ms)\n" + 7596 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(SZQWJ)\n" + 7597 " │ │ │ │ │ │ │ │ ├─ index: [SZQWJ.CH3FR]\n" + 7598 " │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7599 " │ │ │ │ │ │ │ │ └─ columns: [gxlub ch3fr d237e]\n" + 7600 " │ │ │ │ │ │ │ └─ TableAlias(pa)\n" + 7601 " │ │ │ │ │ │ │ └─ IndexedTableAccess(XOAOP)\n" + 7602 " │ │ │ │ │ │ │ ├─ index: [XOAOP.id]\n" + 7603 " │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7604 " │ │ │ │ │ │ │ └─ columns: [id dzlim]\n" + 7605 " │ │ │ │ │ │ └─ TableAlias(pog)\n" + 7606 " │ │ │ │ │ │ └─ IndexedTableAccess(NPCYY)\n" + 7607 " │ │ │ │ │ │ ├─ index: [NPCYY.CH3FR]\n" + 7608 " │ │ │ │ │ │ ├─ columns: [id ch3fr xvsbh b5ouf]\n" + 7609 " │ │ │ │ │ │ └─ keys: pa.id\n" + 7610 " │ │ │ │ │ └─ HashLookup\n" + 7611 " │ │ │ │ │ ├─ left-key: (pog.XVSBH)\n" + 7612 " │ │ │ │ │ ├─ right-key: (pga.id)\n" + 7613 " │ │ │ │ │ └─ TableAlias(pga)\n" + 7614 " │ │ │ │ │ └─ Table\n" + 7615 " │ │ │ │ │ ├─ name: PG27A\n" + 7616 " │ │ │ │ │ └─ columns: [id dzlim]\n" + 7617 " │ │ │ │ └─ TableAlias(gz7z4)\n" + 7618 " │ │ │ │ └─ IndexedTableAccess(FEIOE)\n" + 7619 " │ │ │ │ ├─ index: [FEIOE.GMSGA]\n" + 7620 " │ │ │ │ ├─ columns: [luevy gmsga]\n" + 7621 " │ │ │ │ └─ keys: pog.id\n" + 7622 " │ │ │ └─ TableAlias(nd)\n" + 7623 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 7624 " │ │ │ ├─ index: [E2I7U.id]\n" + 7625 " │ │ │ ├─ columns: [id tw55n hpcms]\n" + 7626 " │ │ │ └─ keys: gz7z4.LUEVY\n" + 7627 " │ │ └─ TableAlias(fc)\n" + 7628 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 7629 " │ │ ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 7630 " │ │ ├─ columns: [gxlub luevy oztqf]\n" + 7631 " │ │ └─ keys: bs.id, nd.id\n" + 7632 " │ └─ HashLookup\n" + 7633 " │ ├─ left-key: (bs.T4IBQ, nd.id)\n" + 7634 " │ ├─ right-key: (f26zw.T4IBQ, f26zw.BRQP2)\n" + 7635 " │ └─ SubqueryAlias\n" + 7636 " │ ├─ name: f26zw\n" + 7637 " │ ├─ outerVisibility: false\n" + 7638 " │ ├─ isLateral: false\n" + 7639 " │ ├─ cacheable: true\n" + 7640 " │ └─ Project\n" + 7641 " │ ├─ columns: [iq.T4IBQ, iq.BRQP2, iq.Z7CP5, CASE WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'KAOAS')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'OG')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'TSG')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'W6W24')) THEN 1 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'OG')) THEN 1 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'TSG')) THEN 0 ELSE NULL END as YHYLK]\n" + 7642 " │ └─ LeftOuterHashJoin\n" + 7643 " │ ├─ (w2mao.YH4XB = vc.id)\n" + 7644 " │ ├─ LeftOuterLookupJoin\n" + 7645 " │ │ ├─ SubqueryAlias\n" + 7646 " │ │ │ ├─ name: iq\n" + 7647 " │ │ │ ├─ outerVisibility: false\n" + 7648 " │ │ │ ├─ isLateral: false\n" + 7649 " │ │ │ ├─ cacheable: true\n" + 7650 " │ │ │ └─ Project\n" + 7651 " │ │ │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.BRQP2, mf.id as Z7CP5, mf.FSDY2, nma.DZLIM as IDWIO]\n" + 7652 " │ │ │ └─ HashJoin\n" + 7653 " │ │ │ ├─ (mf.GXLUB = bs.id)\n" + 7654 " │ │ │ ├─ MergeJoin\n" + 7655 " │ │ │ │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 7656 " │ │ │ │ ├─ Filter\n" + 7657 " │ │ │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 7658 " │ │ │ │ │ └─ TableAlias(cla)\n" + 7659 " │ │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 7660 " │ │ │ │ │ ├─ index: [YK2GW.id]\n" + 7661 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7662 " │ │ │ │ │ └─ columns: [id ftqlq]\n" + 7663 " │ │ │ │ └─ TableAlias(bs)\n" + 7664 " │ │ │ │ └─ IndexedTableAccess(THNTS)\n" + 7665 " │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 7666 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7667 " │ │ │ │ └─ columns: [id ixuxu]\n" + 7668 " │ │ │ └─ HashLookup\n" + 7669 " │ │ │ ├─ left-key: (bs.id)\n" + 7670 " │ │ │ ├─ right-key: (mf.GXLUB)\n" + 7671 " │ │ │ └─ HashJoin\n" + 7672 " │ │ │ ├─ ((mf.LUEVY = nd.id) AND (mf.LUEVY = sn.BRQP2))\n" + 7673 " │ │ │ ├─ TableAlias(mf)\n" + 7674 " │ │ │ │ └─ Table\n" + 7675 " │ │ │ │ ├─ name: HGMQ6\n" + 7676 " │ │ │ │ └─ columns: [id gxlub luevy fsdy2]\n" + 7677 " │ │ │ └─ HashLookup\n" + 7678 " │ │ │ ├─ left-key: (mf.LUEVY, mf.LUEVY)\n" + 7679 " │ │ │ ├─ right-key: (nd.id, sn.BRQP2)\n" + 7680 " │ │ │ └─ LookupJoin\n" + 7681 " │ │ │ ├─ MergeJoin\n" + 7682 " │ │ │ │ ├─ cmp: (nd.HPCMS = nma.id)\n" + 7683 " │ │ │ │ ├─ TableAlias(nd)\n" + 7684 " │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 7685 " │ │ │ │ │ ├─ index: [E2I7U.HPCMS]\n" + 7686 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7687 " │ │ │ │ │ └─ columns: [id hpcms]\n" + 7688 " │ │ │ │ └─ TableAlias(nma)\n" + 7689 " │ │ │ │ └─ IndexedTableAccess(TNMXI)\n" + 7690 " │ │ │ │ ├─ index: [TNMXI.id]\n" + 7691 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7692 " │ │ │ │ └─ columns: [id dzlim]\n" + 7693 " │ │ │ └─ TableAlias(sn)\n" + 7694 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 7695 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 7696 " │ │ │ ├─ columns: [brqp2]\n" + 7697 " │ │ │ └─ keys: nd.id\n" + 7698 " │ │ └─ TableAlias(w2mao)\n" + 7699 " │ │ └─ IndexedTableAccess(SEQS3)\n" + 7700 " │ │ ├─ index: [SEQS3.Z7CP5]\n" + 7701 " │ │ ├─ columns: [z7cp5 yh4xb]\n" + 7702 " │ │ └─ keys: iq.Z7CP5\n" + 7703 " │ └─ HashLookup\n" + 7704 " │ ├─ left-key: (w2mao.YH4XB)\n" + 7705 " │ ├─ right-key: (vc.id)\n" + 7706 " │ └─ TableAlias(vc)\n" + 7707 " │ └─ Table\n" + 7708 " │ ├─ name: D34QP\n" + 7709 " │ └─ columns: [id znp4p]\n" + 7710 " └─ HashLookup\n" + 7711 " ├─ left-key: (nd.HPCMS)\n" + 7712 " ├─ right-key: (nma.id)\n" + 7713 " └─ TableAlias(nma)\n" + 7714 " └─ Table\n" + 7715 " ├─ name: TNMXI\n" + 7716 " └─ columns: [id]\n" + 7717 "", 7718 ExpectedAnalysis: "Project\n" + 7719 " ├─ columns: [xprw6.T4IBQ as T4IBQ, xprw6.ECUWU as ECUWU, sum(xprw6.b5ouf) as B5OUF, sum(xprw6.sp4si) as SP4SI]\n" + 7720 " └─ GroupBy\n" + 7721 " ├─ SelectedExprs(SUM(xprw6.B5OUF), SUM(xprw6.SP4SI), xprw6.T4IBQ, xprw6.ECUWU)\n" + 7722 " ├─ Grouping(xprw6.T4IBQ, xprw6.ECUWU)\n" + 7723 " └─ SubqueryAlias\n" + 7724 " ├─ name: xprw6\n" + 7725 " ├─ outerVisibility: false\n" + 7726 " ├─ isLateral: false\n" + 7727 " ├─ cacheable: true\n" + 7728 " └─ Project\n" + 7729 " ├─ columns: [nrfj3.T4IBQ as T4IBQ, nrfj3.ECUWU as ECUWU, nrfj3.GSTQA as GSTQA, nrfj3.B5OUF as B5OUF, sum(case when ((nrfj3.oztqf < 0.5) or (nrfj3.yhylk = 0)) then 1 else 0 end) as SP4SI]\n" + 7730 " └─ GroupBy\n" + 7731 " ├─ SelectedExprs(SUM(CASE WHEN ((nrfj3.OZTQF < 0.5) OR (nrfj3.YHYLK = 0)) THEN 1 ELSE 0 END), nrfj3.T4IBQ, nrfj3.ECUWU, nrfj3.GSTQA, nrfj3.B5OUF)\n" + 7732 " ├─ Grouping(nrfj3.T4IBQ, nrfj3.ECUWU, nrfj3.GSTQA)\n" + 7733 " └─ SubqueryAlias\n" + 7734 " ├─ name: nrfj3\n" + 7735 " ├─ outerVisibility: false\n" + 7736 " ├─ isLateral: false\n" + 7737 " ├─ cacheable: true\n" + 7738 " └─ Distinct\n" + 7739 " └─ Project\n" + 7740 " ├─ columns: [ax7fv.T4IBQ, ax7fv.ECUWU, ax7fv.GSTQA, ax7fv.B5OUF, ax7fv.TW55N, ax7fv.OZTQF, ax7fv.YHYLK]\n" + 7741 " └─ SubqueryAlias\n" + 7742 " ├─ name: ax7fv\n" + 7743 " ├─ outerVisibility: false\n" + 7744 " ├─ isLateral: false\n" + 7745 " ├─ cacheable: true\n" + 7746 " └─ Project\n" + 7747 " ├─ columns: [bs.T4IBQ as T4IBQ, pa.DZLIM as ECUWU, pga.DZLIM as GSTQA, pog.B5OUF, fc.OZTQF, f26zw.YHYLK, nd.TW55N as TW55N]\n" + 7748 " └─ Filter\n" + 7749 " ├─ (ms.D237E = true)\n" + 7750 " └─ LeftOuterHashJoin\n" + 7751 " ├─ (nd.HPCMS = nma.id)\n" + 7752 " ├─ LeftOuterHashJoin\n" + 7753 " │ ├─ ((f26zw.T4IBQ = bs.T4IBQ) AND (f26zw.BRQP2 = nd.id))\n" + 7754 " │ ├─ LeftOuterLookupJoin\n" + 7755 " │ │ ├─ LeftOuterHashJoin\n" + 7756 " │ │ │ ├─ (ms.GXLUB = bs.id)\n" + 7757 " │ │ │ ├─ SubqueryAlias\n" + 7758 " │ │ │ │ ├─ name: bs\n" + 7759 " │ │ │ │ ├─ outerVisibility: false\n" + 7760 " │ │ │ │ ├─ isLateral: false\n" + 7761 " │ │ │ │ ├─ cacheable: true\n" + 7762 " │ │ │ │ └─ Filter\n" + 7763 " │ │ │ │ ├─ (T4IBQ HASH IN ('SQ1'))\n" + 7764 " │ │ │ │ └─ Project\n" + 7765 " │ │ │ │ ├─ columns: [thnts.id, yk2gw.FTQLQ as T4IBQ]\n" + 7766 " │ │ │ │ └─ MergeJoin\n" + 7767 " │ │ │ │ ├─ cmp: (thnts.IXUXU = yk2gw.id)\n" + 7768 " │ │ │ │ ├─ IndexedTableAccess(THNTS)\n" + 7769 " │ │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 7770 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7771 " │ │ │ │ │ └─ columns: [id ixuxu]\n" + 7772 " │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 7773 " │ │ │ │ ├─ index: [YK2GW.id]\n" + 7774 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7775 " │ │ │ │ └─ columns: [id ftqlq]\n" + 7776 " │ │ │ └─ HashLookup\n" + 7777 " │ │ │ ├─ left-key: (bs.id)\n" + 7778 " │ │ │ ├─ right-key: (ms.GXLUB)\n" + 7779 " │ │ │ └─ LookupJoin\n" + 7780 " │ │ │ ├─ LookupJoin\n" + 7781 " │ │ │ │ ├─ HashJoin\n" + 7782 " │ │ │ │ │ ├─ (pog.XVSBH = pga.id)\n" + 7783 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 7784 " │ │ │ │ │ │ ├─ MergeJoin\n" + 7785 " │ │ │ │ │ │ │ ├─ cmp: (ms.CH3FR = pa.id)\n" + 7786 " │ │ │ │ │ │ │ ├─ TableAlias(ms)\n" + 7787 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(SZQWJ)\n" + 7788 " │ │ │ │ │ │ │ │ ├─ index: [SZQWJ.CH3FR]\n" + 7789 " │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7790 " │ │ │ │ │ │ │ │ └─ columns: [gxlub ch3fr d237e]\n" + 7791 " │ │ │ │ │ │ │ └─ TableAlias(pa)\n" + 7792 " │ │ │ │ │ │ │ └─ IndexedTableAccess(XOAOP)\n" + 7793 " │ │ │ │ │ │ │ ├─ index: [XOAOP.id]\n" + 7794 " │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7795 " │ │ │ │ │ │ │ └─ columns: [id dzlim]\n" + 7796 " │ │ │ │ │ │ └─ TableAlias(pog)\n" + 7797 " │ │ │ │ │ │ └─ IndexedTableAccess(NPCYY)\n" + 7798 " │ │ │ │ │ │ ├─ index: [NPCYY.CH3FR]\n" + 7799 " │ │ │ │ │ │ ├─ columns: [id ch3fr xvsbh b5ouf]\n" + 7800 " │ │ │ │ │ │ └─ keys: pa.id\n" + 7801 " │ │ │ │ │ └─ HashLookup\n" + 7802 " │ │ │ │ │ ├─ left-key: (pog.XVSBH)\n" + 7803 " │ │ │ │ │ ├─ right-key: (pga.id)\n" + 7804 " │ │ │ │ │ └─ TableAlias(pga)\n" + 7805 " │ │ │ │ │ └─ Table\n" + 7806 " │ │ │ │ │ ├─ name: PG27A\n" + 7807 " │ │ │ │ │ └─ columns: [id dzlim]\n" + 7808 " │ │ │ │ └─ TableAlias(gz7z4)\n" + 7809 " │ │ │ │ └─ IndexedTableAccess(FEIOE)\n" + 7810 " │ │ │ │ ├─ index: [FEIOE.GMSGA]\n" + 7811 " │ │ │ │ ├─ columns: [luevy gmsga]\n" + 7812 " │ │ │ │ └─ keys: pog.id\n" + 7813 " │ │ │ └─ TableAlias(nd)\n" + 7814 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 7815 " │ │ │ ├─ index: [E2I7U.id]\n" + 7816 " │ │ │ ├─ columns: [id tw55n hpcms]\n" + 7817 " │ │ │ └─ keys: gz7z4.LUEVY\n" + 7818 " │ │ └─ TableAlias(fc)\n" + 7819 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 7820 " │ │ ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 7821 " │ │ ├─ columns: [gxlub luevy oztqf]\n" + 7822 " │ │ └─ keys: bs.id, nd.id\n" + 7823 " │ └─ HashLookup\n" + 7824 " │ ├─ left-key: (bs.T4IBQ, nd.id)\n" + 7825 " │ ├─ right-key: (f26zw.T4IBQ, f26zw.BRQP2)\n" + 7826 " │ └─ SubqueryAlias\n" + 7827 " │ ├─ name: f26zw\n" + 7828 " │ ├─ outerVisibility: false\n" + 7829 " │ ├─ isLateral: false\n" + 7830 " │ ├─ cacheable: true\n" + 7831 " │ └─ Project\n" + 7832 " │ ├─ columns: [iq.T4IBQ, iq.BRQP2, iq.Z7CP5, CASE WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'KAOAS')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'OG')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'TSG')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'W6W24')) THEN 1 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'OG')) THEN 1 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'TSG')) THEN 0 ELSE NULL END as YHYLK]\n" + 7833 " │ └─ LeftOuterHashJoin\n" + 7834 " │ ├─ (w2mao.YH4XB = vc.id)\n" + 7835 " │ ├─ LeftOuterLookupJoin\n" + 7836 " │ │ ├─ SubqueryAlias\n" + 7837 " │ │ │ ├─ name: iq\n" + 7838 " │ │ │ ├─ outerVisibility: false\n" + 7839 " │ │ │ ├─ isLateral: false\n" + 7840 " │ │ │ ├─ cacheable: true\n" + 7841 " │ │ │ └─ Project\n" + 7842 " │ │ │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.BRQP2, mf.id as Z7CP5, mf.FSDY2, nma.DZLIM as IDWIO]\n" + 7843 " │ │ │ └─ HashJoin\n" + 7844 " │ │ │ ├─ (mf.GXLUB = bs.id)\n" + 7845 " │ │ │ ├─ MergeJoin\n" + 7846 " │ │ │ │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 7847 " │ │ │ │ ├─ Filter\n" + 7848 " │ │ │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 7849 " │ │ │ │ │ └─ TableAlias(cla)\n" + 7850 " │ │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 7851 " │ │ │ │ │ ├─ index: [YK2GW.id]\n" + 7852 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7853 " │ │ │ │ │ └─ columns: [id ftqlq]\n" + 7854 " │ │ │ │ └─ TableAlias(bs)\n" + 7855 " │ │ │ │ └─ IndexedTableAccess(THNTS)\n" + 7856 " │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 7857 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7858 " │ │ │ │ └─ columns: [id ixuxu]\n" + 7859 " │ │ │ └─ HashLookup\n" + 7860 " │ │ │ ├─ left-key: (bs.id)\n" + 7861 " │ │ │ ├─ right-key: (mf.GXLUB)\n" + 7862 " │ │ │ └─ HashJoin\n" + 7863 " │ │ │ ├─ ((mf.LUEVY = nd.id) AND (mf.LUEVY = sn.BRQP2))\n" + 7864 " │ │ │ ├─ TableAlias(mf)\n" + 7865 " │ │ │ │ └─ Table\n" + 7866 " │ │ │ │ ├─ name: HGMQ6\n" + 7867 " │ │ │ │ └─ columns: [id gxlub luevy fsdy2]\n" + 7868 " │ │ │ └─ HashLookup\n" + 7869 " │ │ │ ├─ left-key: (mf.LUEVY, mf.LUEVY)\n" + 7870 " │ │ │ ├─ right-key: (nd.id, sn.BRQP2)\n" + 7871 " │ │ │ └─ LookupJoin\n" + 7872 " │ │ │ ├─ MergeJoin\n" + 7873 " │ │ │ │ ├─ cmp: (nd.HPCMS = nma.id)\n" + 7874 " │ │ │ │ ├─ TableAlias(nd)\n" + 7875 " │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 7876 " │ │ │ │ │ ├─ index: [E2I7U.HPCMS]\n" + 7877 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7878 " │ │ │ │ │ └─ columns: [id hpcms]\n" + 7879 " │ │ │ │ └─ TableAlias(nma)\n" + 7880 " │ │ │ │ └─ IndexedTableAccess(TNMXI)\n" + 7881 " │ │ │ │ ├─ index: [TNMXI.id]\n" + 7882 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 7883 " │ │ │ │ └─ columns: [id dzlim]\n" + 7884 " │ │ │ └─ TableAlias(sn)\n" + 7885 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 7886 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 7887 " │ │ │ ├─ columns: [brqp2]\n" + 7888 " │ │ │ └─ keys: nd.id\n" + 7889 " │ │ └─ TableAlias(w2mao)\n" + 7890 " │ │ └─ IndexedTableAccess(SEQS3)\n" + 7891 " │ │ ├─ index: [SEQS3.Z7CP5]\n" + 7892 " │ │ ├─ columns: [z7cp5 yh4xb]\n" + 7893 " │ │ └─ keys: iq.Z7CP5\n" + 7894 " │ └─ HashLookup\n" + 7895 " │ ├─ left-key: (w2mao.YH4XB)\n" + 7896 " │ ├─ right-key: (vc.id)\n" + 7897 " │ └─ TableAlias(vc)\n" + 7898 " │ └─ Table\n" + 7899 " │ ├─ name: D34QP\n" + 7900 " │ └─ columns: [id znp4p]\n" + 7901 " └─ HashLookup\n" + 7902 " ├─ left-key: (nd.HPCMS)\n" + 7903 " ├─ right-key: (nma.id)\n" + 7904 " └─ TableAlias(nma)\n" + 7905 " └─ Table\n" + 7906 " ├─ name: TNMXI\n" + 7907 " └─ columns: [id]\n" + 7908 "", 7909 }, 7910 { 7911 Query: ` 7912 WITH AX7FV AS 7913 (SELECT 7914 bs.T4IBQ AS T4IBQ, 7915 pa.DZLIM AS ECUWU, 7916 pga.DZLIM AS GSTQA, 7917 pog.B5OUF, 7918 fc.OZTQF, 7919 F26ZW.YHYLK, 7920 nd.TW55N AS TW55N 7921 FROM 7922 SZQWJ ms 7923 INNER JOIN XOAOP pa 7924 ON ms.CH3FR = pa.id 7925 LEFT JOIN NPCYY pog 7926 ON pa.id = pog.CH3FR 7927 INNER JOIN PG27A pga 7928 ON pog.XVSBH = pga.id 7929 INNER JOIN FEIOE GZ7Z4 7930 ON pog.id = GZ7Z4.GMSGA 7931 INNER JOIN E2I7U nd 7932 ON GZ7Z4.LUEVY = nd.id 7933 RIGHT JOIN ( 7934 SELECT 7935 THNTS.id, 7936 YK2GW.FTQLQ AS T4IBQ 7937 FROM THNTS 7938 INNER JOIN YK2GW 7939 ON IXUXU = YK2GW.id 7940 ) bs 7941 ON ms.GXLUB = bs.id 7942 LEFT JOIN AMYXQ fc 7943 ON bs.id = fc.GXLUB AND nd.id = fc.LUEVY 7944 LEFT JOIN ( 7945 SELECT 7946 iq.T4IBQ, 7947 iq.BRQP2, 7948 iq.Z7CP5, 7949 CASE 7950 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P = 'L5Q44' AND iq.IDWIO = 'KAOAS' 7951 THEN 0 7952 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P = 'L5Q44' AND iq.IDWIO = 'OG' 7953 THEN 0 7954 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P = 'L5Q44' AND iq.IDWIO = 'TSG' 7955 THEN 0 7956 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P <> 'L5Q44' AND iq.IDWIO = 'W6W24' 7957 THEN 1 7958 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P <> 'L5Q44' AND iq.IDWIO = 'OG' 7959 THEN 1 7960 WHEN iq.FSDY2 IN ('SRARY','UBQWG') AND vc.ZNP4P <> 'L5Q44' AND iq.IDWIO = 'TSG' 7961 THEN 0 7962 ELSE NULL 7963 END AS YHYLK 7964 FROM ( 7965 SELECT 7966 cla.FTQLQ AS T4IBQ, 7967 sn.BRQP2, 7968 mf.id AS Z7CP5, 7969 mf.FSDY2, 7970 nma.DZLIM AS IDWIO 7971 FROM 7972 HGMQ6 mf 7973 INNER JOIN THNTS bs 7974 ON mf.GXLUB = bs.id 7975 INNER JOIN YK2GW cla 7976 ON bs.IXUXU = cla.id 7977 INNER JOIN E2I7U nd 7978 ON mf.LUEVY = nd.id 7979 INNER JOIN TNMXI nma 7980 ON nd.HPCMS = nma.id 7981 INNER JOIN NOXN3 sn 7982 ON sn.BRQP2 = nd.id 7983 WHERE cla.FTQLQ IN ('SQ1') 7984 ) iq 7985 LEFT JOIN SEQS3 W2MAO 7986 ON iq.Z7CP5 = W2MAO.Z7CP5 7987 LEFT JOIN D34QP vc 7988 ON W2MAO.YH4XB = vc.id 7989 ) F26ZW 7990 ON F26ZW.T4IBQ = bs.T4IBQ AND F26ZW.BRQP2 = nd.id 7991 LEFT JOIN TNMXI nma 7992 ON nd.HPCMS = nma.id 7993 WHERE bs.T4IBQ IN ('SQ1') AND ms.D237E = TRUE) 7994 SELECT 7995 XPRW6.T4IBQ AS T4IBQ, 7996 XPRW6.ECUWU AS ECUWU, 7997 SUM(XPRW6.B5OUF) AS B5OUF, 7998 SUM(XPRW6.SP4SI) AS SP4SI 7999 FROM ( 8000 SELECT 8001 NRFJ3.T4IBQ AS T4IBQ, 8002 NRFJ3.ECUWU AS ECUWU, 8003 NRFJ3.GSTQA AS GSTQA, 8004 NRFJ3.B5OUF AS B5OUF, 8005 SUM(CASE 8006 WHEN NRFJ3.OZTQF < 0.5 OR NRFJ3.YHYLK = 0 THEN 1 8007 ELSE 0 8008 END) AS SP4SI 8009 FROM ( 8010 SELECT DISTINCT 8011 T4IBQ, 8012 ECUWU, 8013 GSTQA, 8014 B5OUF, 8015 TW55N, 8016 OZTQF, 8017 YHYLK 8018 FROM 8019 AX7FV) NRFJ3 8020 GROUP BY T4IBQ, ECUWU, GSTQA 8021 ) XPRW6 8022 GROUP BY T4IBQ, ECUWU`, 8023 ExpectedPlan: "Project\n" + 8024 " ├─ columns: [xprw6.T4IBQ:2!null as T4IBQ, xprw6.ECUWU:3!null as ECUWU, sum(xprw6.b5ouf):0!null as B5OUF, sum(xprw6.sp4si):1!null as SP4SI]\n" + 8025 " └─ GroupBy\n" + 8026 " ├─ select: SUM(xprw6.B5OUF:3), SUM(xprw6.SP4SI:4!null), xprw6.T4IBQ:0!null, xprw6.ECUWU:1!null\n" + 8027 " ├─ group: xprw6.T4IBQ:0!null, xprw6.ECUWU:1!null\n" + 8028 " └─ SubqueryAlias\n" + 8029 " ├─ name: xprw6\n" + 8030 " ├─ outerVisibility: false\n" + 8031 " ├─ isLateral: false\n" + 8032 " ├─ cacheable: true\n" + 8033 " ├─ colSet: (214-218)\n" + 8034 " ├─ tableId: 25\n" + 8035 " └─ Project\n" + 8036 " ├─ columns: [nrfj3.T4IBQ:1!null as T4IBQ, nrfj3.ECUWU:2!null as ECUWU, nrfj3.GSTQA:3!null as GSTQA, nrfj3.B5OUF:4 as B5OUF, sum(case when ((nrfj3.oztqf < 0.5) or (nrfj3.yhylk = 0)) then 1 else 0 end):0!null as SP4SI]\n" + 8037 " └─ GroupBy\n" + 8038 " ├─ select: SUM(CASE WHEN Or\n" + 8039 " │ ├─ LessThan\n" + 8040 " │ │ ├─ nrfj3.OZTQF:5!null\n" + 8041 " │ │ └─ 0.5 (decimal(2,1))\n" + 8042 " │ └─ Eq\n" + 8043 " │ ├─ nrfj3.YHYLK:6\n" + 8044 " │ └─ 0 (tinyint)\n" + 8045 " │ THEN 1 (tinyint) ELSE 0 (tinyint) END), nrfj3.T4IBQ:0!null, nrfj3.ECUWU:1!null, nrfj3.GSTQA:2!null, nrfj3.B5OUF:3\n" + 8046 " ├─ group: nrfj3.T4IBQ:0!null, nrfj3.ECUWU:1!null, nrfj3.GSTQA:2!null\n" + 8047 " └─ SubqueryAlias\n" + 8048 " ├─ name: nrfj3\n" + 8049 " ├─ outerVisibility: false\n" + 8050 " ├─ isLateral: false\n" + 8051 " ├─ cacheable: true\n" + 8052 " ├─ colSet: (201-207)\n" + 8053 " ├─ tableId: 24\n" + 8054 " └─ Distinct\n" + 8055 " └─ Project\n" + 8056 " ├─ columns: [ax7fv.T4IBQ:0!null, ax7fv.ECUWU:1!null, ax7fv.GSTQA:2!null, ax7fv.B5OUF:3, ax7fv.TW55N:6!null, ax7fv.OZTQF:4!null, ax7fv.YHYLK:5]\n" + 8057 " └─ SubqueryAlias\n" + 8058 " ├─ name: ax7fv\n" + 8059 " ├─ outerVisibility: false\n" + 8060 " ├─ isLateral: false\n" + 8061 " ├─ cacheable: true\n" + 8062 " ├─ colSet: (194-200)\n" + 8063 " ├─ tableId: 22\n" + 8064 " └─ Project\n" + 8065 " ├─ columns: [bs.T4IBQ:1!null as T4IBQ, pa.DZLIM:6!null as ECUWU, pga.DZLIM:12!null as GSTQA, pog.B5OUF:10, fc.OZTQF:20!null, f26zw.YHYLK:24, nd.TW55N:16!null as TW55N]\n" + 8066 " └─ Filter\n" + 8067 " ├─ Eq\n" + 8068 " │ ├─ ms.D237E:4!null\n" + 8069 " │ └─ true (tinyint(1))\n" + 8070 " └─ LeftOuterHashJoin\n" + 8071 " ├─ Eq\n" + 8072 " │ ├─ nd.HPCMS:17!null\n" + 8073 " │ └─ nma.id:25!null\n" + 8074 " ├─ LeftOuterHashJoin\n" + 8075 " │ ├─ AND\n" + 8076 " │ │ ├─ Eq\n" + 8077 " │ │ │ ├─ f26zw.T4IBQ:21!null\n" + 8078 " │ │ │ └─ bs.T4IBQ:1!null\n" + 8079 " │ │ └─ Eq\n" + 8080 " │ │ ├─ f26zw.BRQP2:22!null\n" + 8081 " │ │ └─ nd.id:15!null\n" + 8082 " │ ├─ LeftOuterLookupJoin\n" + 8083 " │ │ ├─ LeftOuterHashJoin\n" + 8084 " │ │ │ ├─ Eq\n" + 8085 " │ │ │ │ ├─ ms.GXLUB:2!null\n" + 8086 " │ │ │ │ └─ bs.id:0!null\n" + 8087 " │ │ │ ├─ SubqueryAlias\n" + 8088 " │ │ │ │ ├─ name: bs\n" + 8089 " │ │ │ │ ├─ outerVisibility: false\n" + 8090 " │ │ │ │ ├─ isLateral: false\n" + 8091 " │ │ │ │ ├─ cacheable: true\n" + 8092 " │ │ │ │ ├─ colSet: (74,75)\n" + 8093 " │ │ │ │ ├─ tableId: 9\n" + 8094 " │ │ │ │ └─ Filter\n" + 8095 " │ │ │ │ ├─ HashIn\n" + 8096 " │ │ │ │ │ ├─ T4IBQ:1!null\n" + 8097 " │ │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 8098 " │ │ │ │ └─ Project\n" + 8099 " │ │ │ │ ├─ columns: [thnts.id:0!null, yk2gw.FTQLQ:3!null as T4IBQ]\n" + 8100 " │ │ │ │ └─ MergeJoin\n" + 8101 " │ │ │ │ ├─ cmp: Eq\n" + 8102 " │ │ │ │ │ ├─ thnts.IXUXU:1\n" + 8103 " │ │ │ │ │ └─ yk2gw.id:2!null\n" + 8104 " │ │ │ │ ├─ IndexedTableAccess(THNTS)\n" + 8105 " │ │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 8106 " │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 8107 " │ │ │ │ │ ├─ colSet: (39-42)\n" + 8108 " │ │ │ │ │ ├─ tableId: 7\n" + 8109 " │ │ │ │ │ └─ Table\n" + 8110 " │ │ │ │ │ ├─ name: THNTS\n" + 8111 " │ │ │ │ │ └─ columns: [id ixuxu]\n" + 8112 " │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 8113 " │ │ │ │ ├─ index: [YK2GW.id]\n" + 8114 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 8115 " │ │ │ │ ├─ colSet: (43-72)\n" + 8116 " │ │ │ │ ├─ tableId: 8\n" + 8117 " │ │ │ │ └─ Table\n" + 8118 " │ │ │ │ ├─ name: YK2GW\n" + 8119 " │ │ │ │ └─ columns: [id ftqlq]\n" + 8120 " │ │ │ └─ HashLookup\n" + 8121 " │ │ │ ├─ left-key: TUPLE(bs.id:0!null)\n" + 8122 " │ │ │ ├─ right-key: TUPLE(ms.GXLUB:0!null)\n" + 8123 " │ │ │ └─ LookupJoin\n" + 8124 " │ │ │ ├─ LookupJoin\n" + 8125 " │ │ │ │ ├─ HashJoin\n" + 8126 " │ │ │ │ │ ├─ Eq\n" + 8127 " │ │ │ │ │ │ ├─ pog.XVSBH:9\n" + 8128 " │ │ │ │ │ │ └─ pga.id:11!null\n" + 8129 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 8130 " │ │ │ │ │ │ ├─ MergeJoin\n" + 8131 " │ │ │ │ │ │ │ ├─ cmp: Eq\n" + 8132 " │ │ │ │ │ │ │ │ ├─ ms.CH3FR:3!null\n" + 8133 " │ │ │ │ │ │ │ │ └─ pa.id:5!null\n" + 8134 " │ │ │ │ │ │ │ ├─ TableAlias(ms)\n" + 8135 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(SZQWJ)\n" + 8136 " │ │ │ │ │ │ │ │ ├─ index: [SZQWJ.CH3FR]\n" + 8137 " │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 8138 " │ │ │ │ │ │ │ │ ├─ colSet: (1-5)\n" + 8139 " │ │ │ │ │ │ │ │ ├─ tableId: 1\n" + 8140 " │ │ │ │ │ │ │ │ └─ Table\n" + 8141 " │ │ │ │ │ │ │ │ ├─ name: SZQWJ\n" + 8142 " │ │ │ │ │ │ │ │ └─ columns: [gxlub ch3fr d237e]\n" + 8143 " │ │ │ │ │ │ │ └─ TableAlias(pa)\n" + 8144 " │ │ │ │ │ │ │ └─ IndexedTableAccess(XOAOP)\n" + 8145 " │ │ │ │ │ │ │ ├─ index: [XOAOP.id]\n" + 8146 " │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 8147 " │ │ │ │ │ │ │ ├─ colSet: (6-8)\n" + 8148 " │ │ │ │ │ │ │ ├─ tableId: 2\n" + 8149 " │ │ │ │ │ │ │ └─ Table\n" + 8150 " │ │ │ │ │ │ │ ├─ name: XOAOP\n" + 8151 " │ │ │ │ │ │ │ └─ columns: [id dzlim]\n" + 8152 " │ │ │ │ │ │ └─ TableAlias(pog)\n" + 8153 " │ │ │ │ │ │ └─ IndexedTableAccess(NPCYY)\n" + 8154 " │ │ │ │ │ │ ├─ index: [NPCYY.CH3FR]\n" + 8155 " │ │ │ │ │ │ ├─ keys: [pa.id:5!null]\n" + 8156 " │ │ │ │ │ │ ├─ colSet: (9-12)\n" + 8157 " │ │ │ │ │ │ ├─ tableId: 3\n" + 8158 " │ │ │ │ │ │ └─ Table\n" + 8159 " │ │ │ │ │ │ ├─ name: NPCYY\n" + 8160 " │ │ │ │ │ │ └─ columns: [id ch3fr xvsbh b5ouf]\n" + 8161 " │ │ │ │ │ └─ HashLookup\n" + 8162 " │ │ │ │ │ ├─ left-key: TUPLE(pog.XVSBH:9)\n" + 8163 " │ │ │ │ │ ├─ right-key: TUPLE(pga.id:0!null)\n" + 8164 " │ │ │ │ │ └─ TableAlias(pga)\n" + 8165 " │ │ │ │ │ └─ Table\n" + 8166 " │ │ │ │ │ ├─ name: PG27A\n" + 8167 " │ │ │ │ │ ├─ columns: [id dzlim]\n" + 8168 " │ │ │ │ │ ├─ colSet: (13-15)\n" + 8169 " │ │ │ │ │ └─ tableId: 4\n" + 8170 " │ │ │ │ └─ TableAlias(gz7z4)\n" + 8171 " │ │ │ │ └─ IndexedTableAccess(FEIOE)\n" + 8172 " │ │ │ │ ├─ index: [FEIOE.GMSGA]\n" + 8173 " │ │ │ │ ├─ keys: [pog.id:7!null]\n" + 8174 " │ │ │ │ ├─ colSet: (16-21)\n" + 8175 " │ │ │ │ ├─ tableId: 5\n" + 8176 " │ │ │ │ └─ Table\n" + 8177 " │ │ │ │ ├─ name: FEIOE\n" + 8178 " │ │ │ │ └─ columns: [luevy gmsga]\n" + 8179 " │ │ │ └─ TableAlias(nd)\n" + 8180 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 8181 " │ │ │ ├─ index: [E2I7U.id]\n" + 8182 " │ │ │ ├─ keys: [gz7z4.LUEVY:13!null]\n" + 8183 " │ │ │ ├─ colSet: (22-38)\n" + 8184 " │ │ │ ├─ tableId: 6\n" + 8185 " │ │ │ └─ Table\n" + 8186 " │ │ │ ├─ name: E2I7U\n" + 8187 " │ │ │ └─ columns: [id tw55n hpcms]\n" + 8188 " │ │ └─ TableAlias(fc)\n" + 8189 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 8190 " │ │ ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 8191 " │ │ ├─ keys: [bs.id:0!null nd.id:15!null]\n" + 8192 " │ │ ├─ colSet: (76-83)\n" + 8193 " │ │ ├─ tableId: 10\n" + 8194 " │ │ └─ Table\n" + 8195 " │ │ ├─ name: AMYXQ\n" + 8196 " │ │ └─ columns: [gxlub luevy oztqf]\n" + 8197 " │ └─ HashLookup\n" + 8198 " │ ├─ left-key: TUPLE(bs.T4IBQ:1!null, nd.id:15!null)\n" + 8199 " │ ├─ right-key: TUPLE(f26zw.T4IBQ:0!null, f26zw.BRQP2:1!null)\n" + 8200 " │ └─ SubqueryAlias\n" + 8201 " │ ├─ name: f26zw\n" + 8202 " │ ├─ outerVisibility: false\n" + 8203 " │ ├─ isLateral: false\n" + 8204 " │ ├─ cacheable: true\n" + 8205 " │ ├─ colSet: (183-186)\n" + 8206 " │ ├─ tableId: 20\n" + 8207 " │ └─ Project\n" + 8208 " │ ├─ columns: [iq.T4IBQ:0!null, iq.BRQP2:1!null, iq.Z7CP5:2!null, CASE WHEN AND\n" + 8209 " │ │ ├─ AND\n" + 8210 " │ │ │ ├─ IN\n" + 8211 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 8212 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 8213 " │ │ │ └─ Eq\n" + 8214 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 8215 " │ │ │ └─ L5Q44 (longtext)\n" + 8216 " │ │ └─ Eq\n" + 8217 " │ │ ├─ iq.IDWIO:4!null\n" + 8218 " │ │ └─ KAOAS (longtext)\n" + 8219 " │ │ THEN 0 (tinyint) WHEN AND\n" + 8220 " │ │ ├─ AND\n" + 8221 " │ │ │ ├─ IN\n" + 8222 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 8223 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 8224 " │ │ │ └─ Eq\n" + 8225 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 8226 " │ │ │ └─ L5Q44 (longtext)\n" + 8227 " │ │ └─ Eq\n" + 8228 " │ │ ├─ iq.IDWIO:4!null\n" + 8229 " │ │ └─ OG (longtext)\n" + 8230 " │ │ THEN 0 (tinyint) WHEN AND\n" + 8231 " │ │ ├─ AND\n" + 8232 " │ │ │ ├─ IN\n" + 8233 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 8234 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 8235 " │ │ │ └─ Eq\n" + 8236 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 8237 " │ │ │ └─ L5Q44 (longtext)\n" + 8238 " │ │ └─ Eq\n" + 8239 " │ │ ├─ iq.IDWIO:4!null\n" + 8240 " │ │ └─ TSG (longtext)\n" + 8241 " │ │ THEN 0 (tinyint) WHEN AND\n" + 8242 " │ │ ├─ AND\n" + 8243 " │ │ │ ├─ IN\n" + 8244 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 8245 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 8246 " │ │ │ └─ NOT\n" + 8247 " │ │ │ └─ Eq\n" + 8248 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 8249 " │ │ │ └─ L5Q44 (longtext)\n" + 8250 " │ │ └─ Eq\n" + 8251 " │ │ ├─ iq.IDWIO:4!null\n" + 8252 " │ │ └─ W6W24 (longtext)\n" + 8253 " │ │ THEN 1 (tinyint) WHEN AND\n" + 8254 " │ │ ├─ AND\n" + 8255 " │ │ │ ├─ IN\n" + 8256 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 8257 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 8258 " │ │ │ └─ NOT\n" + 8259 " │ │ │ └─ Eq\n" + 8260 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 8261 " │ │ │ └─ L5Q44 (longtext)\n" + 8262 " │ │ └─ Eq\n" + 8263 " │ │ ├─ iq.IDWIO:4!null\n" + 8264 " │ │ └─ OG (longtext)\n" + 8265 " │ │ THEN 1 (tinyint) WHEN AND\n" + 8266 " │ │ ├─ AND\n" + 8267 " │ │ │ ├─ IN\n" + 8268 " │ │ │ │ ├─ left: iq.FSDY2:3!null\n" + 8269 " │ │ │ │ └─ right: TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 8270 " │ │ │ └─ NOT\n" + 8271 " │ │ │ └─ Eq\n" + 8272 " │ │ │ ├─ vc.ZNP4P:8!null\n" + 8273 " │ │ │ └─ L5Q44 (longtext)\n" + 8274 " │ │ └─ Eq\n" + 8275 " │ │ ├─ iq.IDWIO:4!null\n" + 8276 " │ │ └─ TSG (longtext)\n" + 8277 " │ │ THEN 0 (tinyint) ELSE NULL (null) END as YHYLK]\n" + 8278 " │ └─ LeftOuterHashJoin\n" + 8279 " │ ├─ Eq\n" + 8280 " │ │ ├─ w2mao.YH4XB:6!null\n" + 8281 " │ │ └─ vc.id:7!null\n" + 8282 " │ ├─ LeftOuterLookupJoin\n" + 8283 " │ │ ├─ SubqueryAlias\n" + 8284 " │ │ │ ├─ name: iq\n" + 8285 " │ │ │ ├─ outerVisibility: false\n" + 8286 " │ │ │ ├─ isLateral: false\n" + 8287 " │ │ │ ├─ cacheable: true\n" + 8288 " │ │ │ ├─ colSet: (168-172)\n" + 8289 " │ │ │ ├─ tableId: 17\n" + 8290 " │ │ │ └─ Project\n" + 8291 " │ │ │ ├─ columns: [cla.FTQLQ:12!null as T4IBQ, sn.BRQP2:0!null, mf.id:5!null as Z7CP5, mf.FSDY2:8!null, nma.DZLIM:4!null as IDWIO]\n" + 8292 " │ │ │ └─ HashJoin\n" + 8293 " │ │ │ ├─ Eq\n" + 8294 " │ │ │ │ ├─ mf.GXLUB:6!null\n" + 8295 " │ │ │ │ └─ bs.id:9!null\n" + 8296 " │ │ │ ├─ LookupJoin\n" + 8297 " │ │ │ │ ├─ Eq\n" + 8298 " │ │ │ │ │ ├─ mf.LUEVY:7!null\n" + 8299 " │ │ │ │ │ └─ sn.BRQP2:0!null\n" + 8300 " │ │ │ │ ├─ HashJoin\n" + 8301 " │ │ │ │ │ ├─ Eq\n" + 8302 " │ │ │ │ │ │ ├─ sn.BRQP2:0!null\n" + 8303 " │ │ │ │ │ │ └─ nd.id:1!null\n" + 8304 " │ │ │ │ │ ├─ TableAlias(sn)\n" + 8305 " │ │ │ │ │ │ └─ Table\n" + 8306 " │ │ │ │ │ │ ├─ name: NOXN3\n" + 8307 " │ │ │ │ │ │ ├─ columns: [brqp2]\n" + 8308 " │ │ │ │ │ │ ├─ colSet: (155-164)\n" + 8309 " │ │ │ │ │ │ └─ tableId: 16\n" + 8310 " │ │ │ │ │ └─ HashLookup\n" + 8311 " │ │ │ │ │ ├─ left-key: TUPLE(sn.BRQP2:0!null)\n" + 8312 " │ │ │ │ │ ├─ right-key: TUPLE(nd.id:0!null)\n" + 8313 " │ │ │ │ │ └─ MergeJoin\n" + 8314 " │ │ │ │ │ ├─ cmp: Eq\n" + 8315 " │ │ │ │ │ │ ├─ nd.HPCMS:2!null\n" + 8316 " │ │ │ │ │ │ └─ nma.id:3!null\n" + 8317 " │ │ │ │ │ ├─ TableAlias(nd)\n" + 8318 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 8319 " │ │ │ │ │ │ ├─ index: [E2I7U.HPCMS]\n" + 8320 " │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 8321 " │ │ │ │ │ │ ├─ colSet: (135-151)\n" + 8322 " │ │ │ │ │ │ ├─ tableId: 14\n" + 8323 " │ │ │ │ │ │ └─ Table\n" + 8324 " │ │ │ │ │ │ ├─ name: E2I7U\n" + 8325 " │ │ │ │ │ │ └─ columns: [id hpcms]\n" + 8326 " │ │ │ │ │ └─ TableAlias(nma)\n" + 8327 " │ │ │ │ │ └─ IndexedTableAccess(TNMXI)\n" + 8328 " │ │ │ │ │ ├─ index: [TNMXI.id]\n" + 8329 " │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 8330 " │ │ │ │ │ ├─ colSet: (152-154)\n" + 8331 " │ │ │ │ │ ├─ tableId: 15\n" + 8332 " │ │ │ │ │ └─ Table\n" + 8333 " │ │ │ │ │ ├─ name: TNMXI\n" + 8334 " │ │ │ │ │ └─ columns: [id dzlim]\n" + 8335 " │ │ │ │ └─ TableAlias(mf)\n" + 8336 " │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 8337 " │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 8338 " │ │ │ │ ├─ keys: [nd.id:1!null]\n" + 8339 " │ │ │ │ ├─ colSet: (84-100)\n" + 8340 " │ │ │ │ ├─ tableId: 11\n" + 8341 " │ │ │ │ └─ Table\n" + 8342 " │ │ │ │ ├─ name: HGMQ6\n" + 8343 " │ │ │ │ └─ columns: [id gxlub luevy fsdy2]\n" + 8344 " │ │ │ └─ HashLookup\n" + 8345 " │ │ │ ├─ left-key: TUPLE(mf.GXLUB:6!null)\n" + 8346 " │ │ │ ├─ right-key: TUPLE(bs.id:0!null)\n" + 8347 " │ │ │ └─ MergeJoin\n" + 8348 " │ │ │ ├─ cmp: Eq\n" + 8349 " │ │ │ │ ├─ bs.IXUXU:10\n" + 8350 " │ │ │ │ └─ cla.id:11!null\n" + 8351 " │ │ │ ├─ TableAlias(bs)\n" + 8352 " │ │ │ │ └─ IndexedTableAccess(THNTS)\n" + 8353 " │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 8354 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 8355 " │ │ │ │ ├─ colSet: (101-104)\n" + 8356 " │ │ │ │ ├─ tableId: 12\n" + 8357 " │ │ │ │ └─ Table\n" + 8358 " │ │ │ │ ├─ name: THNTS\n" + 8359 " │ │ │ │ └─ columns: [id ixuxu]\n" + 8360 " │ │ │ └─ Filter\n" + 8361 " │ │ │ ├─ HashIn\n" + 8362 " │ │ │ │ ├─ cla.FTQLQ:1!null\n" + 8363 " │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 8364 " │ │ │ └─ TableAlias(cla)\n" + 8365 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 8366 " │ │ │ ├─ index: [YK2GW.id]\n" + 8367 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 8368 " │ │ │ ├─ colSet: (105-134)\n" + 8369 " │ │ │ ├─ tableId: 13\n" + 8370 " │ │ │ └─ Table\n" + 8371 " │ │ │ ├─ name: YK2GW\n" + 8372 " │ │ │ └─ columns: [id ftqlq]\n" + 8373 " │ │ └─ TableAlias(w2mao)\n" + 8374 " │ │ └─ IndexedTableAccess(SEQS3)\n" + 8375 " │ │ ├─ index: [SEQS3.Z7CP5]\n" + 8376 " │ │ ├─ keys: [iq.Z7CP5:2!null]\n" + 8377 " │ │ ├─ colSet: (173-175)\n" + 8378 " │ │ ├─ tableId: 18\n" + 8379 " │ │ └─ Table\n" + 8380 " │ │ ├─ name: SEQS3\n" + 8381 " │ │ └─ columns: [z7cp5 yh4xb]\n" + 8382 " │ └─ HashLookup\n" + 8383 " │ ├─ left-key: TUPLE(w2mao.YH4XB:6!null)\n" + 8384 " │ ├─ right-key: TUPLE(vc.id:0!null)\n" + 8385 " │ └─ TableAlias(vc)\n" + 8386 " │ └─ Table\n" + 8387 " │ ├─ name: D34QP\n" + 8388 " │ ├─ columns: [id znp4p]\n" + 8389 " │ ├─ colSet: (176-181)\n" + 8390 " │ └─ tableId: 19\n" + 8391 " └─ HashLookup\n" + 8392 " ├─ left-key: TUPLE(nd.HPCMS:17!null)\n" + 8393 " ├─ right-key: TUPLE(nma.id:0!null)\n" + 8394 " └─ TableAlias(nma)\n" + 8395 " └─ Table\n" + 8396 " ├─ name: TNMXI\n" + 8397 " ├─ columns: [id]\n" + 8398 " ├─ colSet: (187-189)\n" + 8399 " └─ tableId: 21\n" + 8400 "", 8401 ExpectedEstimates: "Project\n" + 8402 " ├─ columns: [xprw6.T4IBQ as T4IBQ, xprw6.ECUWU as ECUWU, sum(xprw6.b5ouf) as B5OUF, sum(xprw6.sp4si) as SP4SI]\n" + 8403 " └─ GroupBy\n" + 8404 " ├─ SelectedExprs(SUM(xprw6.B5OUF), SUM(xprw6.SP4SI), xprw6.T4IBQ, xprw6.ECUWU)\n" + 8405 " ├─ Grouping(xprw6.T4IBQ, xprw6.ECUWU)\n" + 8406 " └─ SubqueryAlias\n" + 8407 " ├─ name: xprw6\n" + 8408 " ├─ outerVisibility: false\n" + 8409 " ├─ isLateral: false\n" + 8410 " ├─ cacheable: true\n" + 8411 " └─ Project\n" + 8412 " ├─ columns: [nrfj3.T4IBQ as T4IBQ, nrfj3.ECUWU as ECUWU, nrfj3.GSTQA as GSTQA, nrfj3.B5OUF as B5OUF, sum(case when ((nrfj3.oztqf < 0.5) or (nrfj3.yhylk = 0)) then 1 else 0 end) as SP4SI]\n" + 8413 " └─ GroupBy\n" + 8414 " ├─ SelectedExprs(SUM(CASE WHEN ((nrfj3.OZTQF < 0.5) OR (nrfj3.YHYLK = 0)) THEN 1 ELSE 0 END), nrfj3.T4IBQ, nrfj3.ECUWU, nrfj3.GSTQA, nrfj3.B5OUF)\n" + 8415 " ├─ Grouping(nrfj3.T4IBQ, nrfj3.ECUWU, nrfj3.GSTQA)\n" + 8416 " └─ SubqueryAlias\n" + 8417 " ├─ name: nrfj3\n" + 8418 " ├─ outerVisibility: false\n" + 8419 " ├─ isLateral: false\n" + 8420 " ├─ cacheable: true\n" + 8421 " └─ Distinct\n" + 8422 " └─ Project\n" + 8423 " ├─ columns: [ax7fv.T4IBQ, ax7fv.ECUWU, ax7fv.GSTQA, ax7fv.B5OUF, ax7fv.TW55N, ax7fv.OZTQF, ax7fv.YHYLK]\n" + 8424 " └─ SubqueryAlias\n" + 8425 " ├─ name: ax7fv\n" + 8426 " ├─ outerVisibility: false\n" + 8427 " ├─ isLateral: false\n" + 8428 " ├─ cacheable: true\n" + 8429 " └─ Project\n" + 8430 " ├─ columns: [bs.T4IBQ as T4IBQ, pa.DZLIM as ECUWU, pga.DZLIM as GSTQA, pog.B5OUF, fc.OZTQF, f26zw.YHYLK, nd.TW55N as TW55N]\n" + 8431 " └─ Filter\n" + 8432 " ├─ (ms.D237E = true)\n" + 8433 " └─ LeftOuterHashJoin\n" + 8434 " ├─ (nd.HPCMS = nma.id)\n" + 8435 " ├─ LeftOuterHashJoin\n" + 8436 " │ ├─ ((f26zw.T4IBQ = bs.T4IBQ) AND (f26zw.BRQP2 = nd.id))\n" + 8437 " │ ├─ LeftOuterLookupJoin\n" + 8438 " │ │ ├─ LeftOuterHashJoin\n" + 8439 " │ │ │ ├─ (ms.GXLUB = bs.id)\n" + 8440 " │ │ │ ├─ SubqueryAlias\n" + 8441 " │ │ │ │ ├─ name: bs\n" + 8442 " │ │ │ │ ├─ outerVisibility: false\n" + 8443 " │ │ │ │ ├─ isLateral: false\n" + 8444 " │ │ │ │ ├─ cacheable: true\n" + 8445 " │ │ │ │ └─ Filter\n" + 8446 " │ │ │ │ ├─ (T4IBQ HASH IN ('SQ1'))\n" + 8447 " │ │ │ │ └─ Project\n" + 8448 " │ │ │ │ ├─ columns: [thnts.id, yk2gw.FTQLQ as T4IBQ]\n" + 8449 " │ │ │ │ └─ MergeJoin\n" + 8450 " │ │ │ │ ├─ cmp: (thnts.IXUXU = yk2gw.id)\n" + 8451 " │ │ │ │ ├─ IndexedTableAccess(THNTS)\n" + 8452 " │ │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 8453 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8454 " │ │ │ │ │ └─ columns: [id ixuxu]\n" + 8455 " │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 8456 " │ │ │ │ ├─ index: [YK2GW.id]\n" + 8457 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8458 " │ │ │ │ └─ columns: [id ftqlq]\n" + 8459 " │ │ │ └─ HashLookup\n" + 8460 " │ │ │ ├─ left-key: (bs.id)\n" + 8461 " │ │ │ ├─ right-key: (ms.GXLUB)\n" + 8462 " │ │ │ └─ LookupJoin\n" + 8463 " │ │ │ ├─ LookupJoin\n" + 8464 " │ │ │ │ ├─ HashJoin\n" + 8465 " │ │ │ │ │ ├─ (pog.XVSBH = pga.id)\n" + 8466 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 8467 " │ │ │ │ │ │ ├─ MergeJoin\n" + 8468 " │ │ │ │ │ │ │ ├─ cmp: (ms.CH3FR = pa.id)\n" + 8469 " │ │ │ │ │ │ │ ├─ TableAlias(ms)\n" + 8470 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(SZQWJ)\n" + 8471 " │ │ │ │ │ │ │ │ ├─ index: [SZQWJ.CH3FR]\n" + 8472 " │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8473 " │ │ │ │ │ │ │ │ └─ columns: [gxlub ch3fr d237e]\n" + 8474 " │ │ │ │ │ │ │ └─ TableAlias(pa)\n" + 8475 " │ │ │ │ │ │ │ └─ IndexedTableAccess(XOAOP)\n" + 8476 " │ │ │ │ │ │ │ ├─ index: [XOAOP.id]\n" + 8477 " │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8478 " │ │ │ │ │ │ │ └─ columns: [id dzlim]\n" + 8479 " │ │ │ │ │ │ └─ TableAlias(pog)\n" + 8480 " │ │ │ │ │ │ └─ IndexedTableAccess(NPCYY)\n" + 8481 " │ │ │ │ │ │ ├─ index: [NPCYY.CH3FR]\n" + 8482 " │ │ │ │ │ │ ├─ columns: [id ch3fr xvsbh b5ouf]\n" + 8483 " │ │ │ │ │ │ └─ keys: pa.id\n" + 8484 " │ │ │ │ │ └─ HashLookup\n" + 8485 " │ │ │ │ │ ├─ left-key: (pog.XVSBH)\n" + 8486 " │ │ │ │ │ ├─ right-key: (pga.id)\n" + 8487 " │ │ │ │ │ └─ TableAlias(pga)\n" + 8488 " │ │ │ │ │ └─ Table\n" + 8489 " │ │ │ │ │ ├─ name: PG27A\n" + 8490 " │ │ │ │ │ └─ columns: [id dzlim]\n" + 8491 " │ │ │ │ └─ TableAlias(gz7z4)\n" + 8492 " │ │ │ │ └─ IndexedTableAccess(FEIOE)\n" + 8493 " │ │ │ │ ├─ index: [FEIOE.GMSGA]\n" + 8494 " │ │ │ │ ├─ columns: [luevy gmsga]\n" + 8495 " │ │ │ │ └─ keys: pog.id\n" + 8496 " │ │ │ └─ TableAlias(nd)\n" + 8497 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 8498 " │ │ │ ├─ index: [E2I7U.id]\n" + 8499 " │ │ │ ├─ columns: [id tw55n hpcms]\n" + 8500 " │ │ │ └─ keys: gz7z4.LUEVY\n" + 8501 " │ │ └─ TableAlias(fc)\n" + 8502 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 8503 " │ │ ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 8504 " │ │ ├─ columns: [gxlub luevy oztqf]\n" + 8505 " │ │ └─ keys: bs.id, nd.id\n" + 8506 " │ └─ HashLookup\n" + 8507 " │ ├─ left-key: (bs.T4IBQ, nd.id)\n" + 8508 " │ ├─ right-key: (f26zw.T4IBQ, f26zw.BRQP2)\n" + 8509 " │ └─ SubqueryAlias\n" + 8510 " │ ├─ name: f26zw\n" + 8511 " │ ├─ outerVisibility: false\n" + 8512 " │ ├─ isLateral: false\n" + 8513 " │ ├─ cacheable: true\n" + 8514 " │ └─ Project\n" + 8515 " │ ├─ columns: [iq.T4IBQ, iq.BRQP2, iq.Z7CP5, CASE WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'KAOAS')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'OG')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'TSG')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'W6W24')) THEN 1 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'OG')) THEN 1 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'TSG')) THEN 0 ELSE NULL END as YHYLK]\n" + 8516 " │ └─ LeftOuterHashJoin\n" + 8517 " │ ├─ (w2mao.YH4XB = vc.id)\n" + 8518 " │ ├─ LeftOuterLookupJoin\n" + 8519 " │ │ ├─ SubqueryAlias\n" + 8520 " │ │ │ ├─ name: iq\n" + 8521 " │ │ │ ├─ outerVisibility: false\n" + 8522 " │ │ │ ├─ isLateral: false\n" + 8523 " │ │ │ ├─ cacheable: true\n" + 8524 " │ │ │ └─ Project\n" + 8525 " │ │ │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.BRQP2, mf.id as Z7CP5, mf.FSDY2, nma.DZLIM as IDWIO]\n" + 8526 " │ │ │ └─ HashJoin\n" + 8527 " │ │ │ ├─ (mf.GXLUB = bs.id)\n" + 8528 " │ │ │ ├─ LookupJoin\n" + 8529 " │ │ │ │ ├─ (mf.LUEVY = sn.BRQP2)\n" + 8530 " │ │ │ │ ├─ HashJoin\n" + 8531 " │ │ │ │ │ ├─ (sn.BRQP2 = nd.id)\n" + 8532 " │ │ │ │ │ ├─ TableAlias(sn)\n" + 8533 " │ │ │ │ │ │ └─ Table\n" + 8534 " │ │ │ │ │ │ ├─ name: NOXN3\n" + 8535 " │ │ │ │ │ │ └─ columns: [brqp2]\n" + 8536 " │ │ │ │ │ └─ HashLookup\n" + 8537 " │ │ │ │ │ ├─ left-key: (sn.BRQP2)\n" + 8538 " │ │ │ │ │ ├─ right-key: (nd.id)\n" + 8539 " │ │ │ │ │ └─ MergeJoin\n" + 8540 " │ │ │ │ │ ├─ cmp: (nd.HPCMS = nma.id)\n" + 8541 " │ │ │ │ │ ├─ TableAlias(nd)\n" + 8542 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 8543 " │ │ │ │ │ │ ├─ index: [E2I7U.HPCMS]\n" + 8544 " │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8545 " │ │ │ │ │ │ └─ columns: [id hpcms]\n" + 8546 " │ │ │ │ │ └─ TableAlias(nma)\n" + 8547 " │ │ │ │ │ └─ IndexedTableAccess(TNMXI)\n" + 8548 " │ │ │ │ │ ├─ index: [TNMXI.id]\n" + 8549 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8550 " │ │ │ │ │ └─ columns: [id dzlim]\n" + 8551 " │ │ │ │ └─ TableAlias(mf)\n" + 8552 " │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 8553 " │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 8554 " │ │ │ │ ├─ columns: [id gxlub luevy fsdy2]\n" + 8555 " │ │ │ │ └─ keys: nd.id\n" + 8556 " │ │ │ └─ HashLookup\n" + 8557 " │ │ │ ├─ left-key: (mf.GXLUB)\n" + 8558 " │ │ │ ├─ right-key: (bs.id)\n" + 8559 " │ │ │ └─ MergeJoin\n" + 8560 " │ │ │ ├─ cmp: (bs.IXUXU = cla.id)\n" + 8561 " │ │ │ ├─ TableAlias(bs)\n" + 8562 " │ │ │ │ └─ IndexedTableAccess(THNTS)\n" + 8563 " │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 8564 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8565 " │ │ │ │ └─ columns: [id ixuxu]\n" + 8566 " │ │ │ └─ Filter\n" + 8567 " │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 8568 " │ │ │ └─ TableAlias(cla)\n" + 8569 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 8570 " │ │ │ ├─ index: [YK2GW.id]\n" + 8571 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8572 " │ │ │ └─ columns: [id ftqlq]\n" + 8573 " │ │ └─ TableAlias(w2mao)\n" + 8574 " │ │ └─ IndexedTableAccess(SEQS3)\n" + 8575 " │ │ ├─ index: [SEQS3.Z7CP5]\n" + 8576 " │ │ ├─ columns: [z7cp5 yh4xb]\n" + 8577 " │ │ └─ keys: iq.Z7CP5\n" + 8578 " │ └─ HashLookup\n" + 8579 " │ ├─ left-key: (w2mao.YH4XB)\n" + 8580 " │ ├─ right-key: (vc.id)\n" + 8581 " │ └─ TableAlias(vc)\n" + 8582 " │ └─ Table\n" + 8583 " │ ├─ name: D34QP\n" + 8584 " │ └─ columns: [id znp4p]\n" + 8585 " └─ HashLookup\n" + 8586 " ├─ left-key: (nd.HPCMS)\n" + 8587 " ├─ right-key: (nma.id)\n" + 8588 " └─ TableAlias(nma)\n" + 8589 " └─ Table\n" + 8590 " ├─ name: TNMXI\n" + 8591 " └─ columns: [id]\n" + 8592 "", 8593 ExpectedAnalysis: "Project\n" + 8594 " ├─ columns: [xprw6.T4IBQ as T4IBQ, xprw6.ECUWU as ECUWU, sum(xprw6.b5ouf) as B5OUF, sum(xprw6.sp4si) as SP4SI]\n" + 8595 " └─ GroupBy\n" + 8596 " ├─ SelectedExprs(SUM(xprw6.B5OUF), SUM(xprw6.SP4SI), xprw6.T4IBQ, xprw6.ECUWU)\n" + 8597 " ├─ Grouping(xprw6.T4IBQ, xprw6.ECUWU)\n" + 8598 " └─ SubqueryAlias\n" + 8599 " ├─ name: xprw6\n" + 8600 " ├─ outerVisibility: false\n" + 8601 " ├─ isLateral: false\n" + 8602 " ├─ cacheable: true\n" + 8603 " └─ Project\n" + 8604 " ├─ columns: [nrfj3.T4IBQ as T4IBQ, nrfj3.ECUWU as ECUWU, nrfj3.GSTQA as GSTQA, nrfj3.B5OUF as B5OUF, sum(case when ((nrfj3.oztqf < 0.5) or (nrfj3.yhylk = 0)) then 1 else 0 end) as SP4SI]\n" + 8605 " └─ GroupBy\n" + 8606 " ├─ SelectedExprs(SUM(CASE WHEN ((nrfj3.OZTQF < 0.5) OR (nrfj3.YHYLK = 0)) THEN 1 ELSE 0 END), nrfj3.T4IBQ, nrfj3.ECUWU, nrfj3.GSTQA, nrfj3.B5OUF)\n" + 8607 " ├─ Grouping(nrfj3.T4IBQ, nrfj3.ECUWU, nrfj3.GSTQA)\n" + 8608 " └─ SubqueryAlias\n" + 8609 " ├─ name: nrfj3\n" + 8610 " ├─ outerVisibility: false\n" + 8611 " ├─ isLateral: false\n" + 8612 " ├─ cacheable: true\n" + 8613 " └─ Distinct\n" + 8614 " └─ Project\n" + 8615 " ├─ columns: [ax7fv.T4IBQ, ax7fv.ECUWU, ax7fv.GSTQA, ax7fv.B5OUF, ax7fv.TW55N, ax7fv.OZTQF, ax7fv.YHYLK]\n" + 8616 " └─ SubqueryAlias\n" + 8617 " ├─ name: ax7fv\n" + 8618 " ├─ outerVisibility: false\n" + 8619 " ├─ isLateral: false\n" + 8620 " ├─ cacheable: true\n" + 8621 " └─ Project\n" + 8622 " ├─ columns: [bs.T4IBQ as T4IBQ, pa.DZLIM as ECUWU, pga.DZLIM as GSTQA, pog.B5OUF, fc.OZTQF, f26zw.YHYLK, nd.TW55N as TW55N]\n" + 8623 " └─ Filter\n" + 8624 " ├─ (ms.D237E = true)\n" + 8625 " └─ LeftOuterHashJoin\n" + 8626 " ├─ (nd.HPCMS = nma.id)\n" + 8627 " ├─ LeftOuterHashJoin\n" + 8628 " │ ├─ ((f26zw.T4IBQ = bs.T4IBQ) AND (f26zw.BRQP2 = nd.id))\n" + 8629 " │ ├─ LeftOuterLookupJoin\n" + 8630 " │ │ ├─ LeftOuterHashJoin\n" + 8631 " │ │ │ ├─ (ms.GXLUB = bs.id)\n" + 8632 " │ │ │ ├─ SubqueryAlias\n" + 8633 " │ │ │ │ ├─ name: bs\n" + 8634 " │ │ │ │ ├─ outerVisibility: false\n" + 8635 " │ │ │ │ ├─ isLateral: false\n" + 8636 " │ │ │ │ ├─ cacheable: true\n" + 8637 " │ │ │ │ └─ Filter\n" + 8638 " │ │ │ │ ├─ (T4IBQ HASH IN ('SQ1'))\n" + 8639 " │ │ │ │ └─ Project\n" + 8640 " │ │ │ │ ├─ columns: [thnts.id, yk2gw.FTQLQ as T4IBQ]\n" + 8641 " │ │ │ │ └─ MergeJoin\n" + 8642 " │ │ │ │ ├─ cmp: (thnts.IXUXU = yk2gw.id)\n" + 8643 " │ │ │ │ ├─ IndexedTableAccess(THNTS)\n" + 8644 " │ │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 8645 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8646 " │ │ │ │ │ └─ columns: [id ixuxu]\n" + 8647 " │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 8648 " │ │ │ │ ├─ index: [YK2GW.id]\n" + 8649 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8650 " │ │ │ │ └─ columns: [id ftqlq]\n" + 8651 " │ │ │ └─ HashLookup\n" + 8652 " │ │ │ ├─ left-key: (bs.id)\n" + 8653 " │ │ │ ├─ right-key: (ms.GXLUB)\n" + 8654 " │ │ │ └─ LookupJoin\n" + 8655 " │ │ │ ├─ LookupJoin\n" + 8656 " │ │ │ │ ├─ HashJoin\n" + 8657 " │ │ │ │ │ ├─ (pog.XVSBH = pga.id)\n" + 8658 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 8659 " │ │ │ │ │ │ ├─ MergeJoin\n" + 8660 " │ │ │ │ │ │ │ ├─ cmp: (ms.CH3FR = pa.id)\n" + 8661 " │ │ │ │ │ │ │ ├─ TableAlias(ms)\n" + 8662 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(SZQWJ)\n" + 8663 " │ │ │ │ │ │ │ │ ├─ index: [SZQWJ.CH3FR]\n" + 8664 " │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8665 " │ │ │ │ │ │ │ │ └─ columns: [gxlub ch3fr d237e]\n" + 8666 " │ │ │ │ │ │ │ └─ TableAlias(pa)\n" + 8667 " │ │ │ │ │ │ │ └─ IndexedTableAccess(XOAOP)\n" + 8668 " │ │ │ │ │ │ │ ├─ index: [XOAOP.id]\n" + 8669 " │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8670 " │ │ │ │ │ │ │ └─ columns: [id dzlim]\n" + 8671 " │ │ │ │ │ │ └─ TableAlias(pog)\n" + 8672 " │ │ │ │ │ │ └─ IndexedTableAccess(NPCYY)\n" + 8673 " │ │ │ │ │ │ ├─ index: [NPCYY.CH3FR]\n" + 8674 " │ │ │ │ │ │ ├─ columns: [id ch3fr xvsbh b5ouf]\n" + 8675 " │ │ │ │ │ │ └─ keys: pa.id\n" + 8676 " │ │ │ │ │ └─ HashLookup\n" + 8677 " │ │ │ │ │ ├─ left-key: (pog.XVSBH)\n" + 8678 " │ │ │ │ │ ├─ right-key: (pga.id)\n" + 8679 " │ │ │ │ │ └─ TableAlias(pga)\n" + 8680 " │ │ │ │ │ └─ Table\n" + 8681 " │ │ │ │ │ ├─ name: PG27A\n" + 8682 " │ │ │ │ │ └─ columns: [id dzlim]\n" + 8683 " │ │ │ │ └─ TableAlias(gz7z4)\n" + 8684 " │ │ │ │ └─ IndexedTableAccess(FEIOE)\n" + 8685 " │ │ │ │ ├─ index: [FEIOE.GMSGA]\n" + 8686 " │ │ │ │ ├─ columns: [luevy gmsga]\n" + 8687 " │ │ │ │ └─ keys: pog.id\n" + 8688 " │ │ │ └─ TableAlias(nd)\n" + 8689 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 8690 " │ │ │ ├─ index: [E2I7U.id]\n" + 8691 " │ │ │ ├─ columns: [id tw55n hpcms]\n" + 8692 " │ │ │ └─ keys: gz7z4.LUEVY\n" + 8693 " │ │ └─ TableAlias(fc)\n" + 8694 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 8695 " │ │ ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 8696 " │ │ ├─ columns: [gxlub luevy oztqf]\n" + 8697 " │ │ └─ keys: bs.id, nd.id\n" + 8698 " │ └─ HashLookup\n" + 8699 " │ ├─ left-key: (bs.T4IBQ, nd.id)\n" + 8700 " │ ├─ right-key: (f26zw.T4IBQ, f26zw.BRQP2)\n" + 8701 " │ └─ SubqueryAlias\n" + 8702 " │ ├─ name: f26zw\n" + 8703 " │ ├─ outerVisibility: false\n" + 8704 " │ ├─ isLateral: false\n" + 8705 " │ ├─ cacheable: true\n" + 8706 " │ └─ Project\n" + 8707 " │ ├─ columns: [iq.T4IBQ, iq.BRQP2, iq.Z7CP5, CASE WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'KAOAS')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'OG')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (vc.ZNP4P = 'L5Q44')) AND (iq.IDWIO = 'TSG')) THEN 0 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'W6W24')) THEN 1 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'OG')) THEN 1 WHEN (((iq.FSDY2 IN ('SRARY', 'UBQWG')) AND (NOT((vc.ZNP4P = 'L5Q44')))) AND (iq.IDWIO = 'TSG')) THEN 0 ELSE NULL END as YHYLK]\n" + 8708 " │ └─ LeftOuterHashJoin\n" + 8709 " │ ├─ (w2mao.YH4XB = vc.id)\n" + 8710 " │ ├─ LeftOuterLookupJoin\n" + 8711 " │ │ ├─ SubqueryAlias\n" + 8712 " │ │ │ ├─ name: iq\n" + 8713 " │ │ │ ├─ outerVisibility: false\n" + 8714 " │ │ │ ├─ isLateral: false\n" + 8715 " │ │ │ ├─ cacheable: true\n" + 8716 " │ │ │ └─ Project\n" + 8717 " │ │ │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.BRQP2, mf.id as Z7CP5, mf.FSDY2, nma.DZLIM as IDWIO]\n" + 8718 " │ │ │ └─ HashJoin\n" + 8719 " │ │ │ ├─ (mf.GXLUB = bs.id)\n" + 8720 " │ │ │ ├─ LookupJoin\n" + 8721 " │ │ │ │ ├─ (mf.LUEVY = sn.BRQP2)\n" + 8722 " │ │ │ │ ├─ HashJoin\n" + 8723 " │ │ │ │ │ ├─ (sn.BRQP2 = nd.id)\n" + 8724 " │ │ │ │ │ ├─ TableAlias(sn)\n" + 8725 " │ │ │ │ │ │ └─ Table\n" + 8726 " │ │ │ │ │ │ ├─ name: NOXN3\n" + 8727 " │ │ │ │ │ │ └─ columns: [brqp2]\n" + 8728 " │ │ │ │ │ └─ HashLookup\n" + 8729 " │ │ │ │ │ ├─ left-key: (sn.BRQP2)\n" + 8730 " │ │ │ │ │ ├─ right-key: (nd.id)\n" + 8731 " │ │ │ │ │ └─ MergeJoin\n" + 8732 " │ │ │ │ │ ├─ cmp: (nd.HPCMS = nma.id)\n" + 8733 " │ │ │ │ │ ├─ TableAlias(nd)\n" + 8734 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 8735 " │ │ │ │ │ │ ├─ index: [E2I7U.HPCMS]\n" + 8736 " │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8737 " │ │ │ │ │ │ └─ columns: [id hpcms]\n" + 8738 " │ │ │ │ │ └─ TableAlias(nma)\n" + 8739 " │ │ │ │ │ └─ IndexedTableAccess(TNMXI)\n" + 8740 " │ │ │ │ │ ├─ index: [TNMXI.id]\n" + 8741 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8742 " │ │ │ │ │ └─ columns: [id dzlim]\n" + 8743 " │ │ │ │ └─ TableAlias(mf)\n" + 8744 " │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 8745 " │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 8746 " │ │ │ │ ├─ columns: [id gxlub luevy fsdy2]\n" + 8747 " │ │ │ │ └─ keys: nd.id\n" + 8748 " │ │ │ └─ HashLookup\n" + 8749 " │ │ │ ├─ left-key: (mf.GXLUB)\n" + 8750 " │ │ │ ├─ right-key: (bs.id)\n" + 8751 " │ │ │ └─ MergeJoin\n" + 8752 " │ │ │ ├─ cmp: (bs.IXUXU = cla.id)\n" + 8753 " │ │ │ ├─ TableAlias(bs)\n" + 8754 " │ │ │ │ └─ IndexedTableAccess(THNTS)\n" + 8755 " │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 8756 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8757 " │ │ │ │ └─ columns: [id ixuxu]\n" + 8758 " │ │ │ └─ Filter\n" + 8759 " │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 8760 " │ │ │ └─ TableAlias(cla)\n" + 8761 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 8762 " │ │ │ ├─ index: [YK2GW.id]\n" + 8763 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 8764 " │ │ │ └─ columns: [id ftqlq]\n" + 8765 " │ │ └─ TableAlias(w2mao)\n" + 8766 " │ │ └─ IndexedTableAccess(SEQS3)\n" + 8767 " │ │ ├─ index: [SEQS3.Z7CP5]\n" + 8768 " │ │ ├─ columns: [z7cp5 yh4xb]\n" + 8769 " │ │ └─ keys: iq.Z7CP5\n" + 8770 " │ └─ HashLookup\n" + 8771 " │ ├─ left-key: (w2mao.YH4XB)\n" + 8772 " │ ├─ right-key: (vc.id)\n" + 8773 " │ └─ TableAlias(vc)\n" + 8774 " │ └─ Table\n" + 8775 " │ ├─ name: D34QP\n" + 8776 " │ └─ columns: [id znp4p]\n" + 8777 " └─ HashLookup\n" + 8778 " ├─ left-key: (nd.HPCMS)\n" + 8779 " ├─ right-key: (nma.id)\n" + 8780 " └─ TableAlias(nma)\n" + 8781 " └─ Table\n" + 8782 " ├─ name: TNMXI\n" + 8783 " └─ columns: [id]\n" + 8784 "", 8785 }, 8786 { 8787 Query: ` 8788 SELECT 8789 TUSAY.Y3IOU AS RWGEU 8790 FROM 8791 (SELECT 8792 id AS Y46B2, 8793 WNUNU AS WNUNU, 8794 HVHRZ AS HVHRZ 8795 FROM 8796 QYWQD) XJ2RD 8797 INNER JOIN 8798 (SELECT 8799 ROW_NUMBER() OVER (ORDER BY id ASC) Y3IOU, 8800 id AS XLFIA 8801 FROM 8802 NOXN3) TUSAY 8803 8804 ON XJ2RD.WNUNU = TUSAY.XLFIA 8805 ORDER BY Y46B2 ASC`, 8806 ExpectedPlan: "Project\n" + 8807 " ├─ columns: [tusay.Y3IOU:3!null as RWGEU]\n" + 8808 " └─ Sort(xj2rd.Y46B2:0!null ASC nullsFirst)\n" + 8809 " └─ Project\n" + 8810 " ├─ columns: [xj2rd.Y46B2:0!null, xj2rd.WNUNU:1!null, xj2rd.HVHRZ:2!null, tusay.Y3IOU:3!null, tusay.XLFIA:4!null, tusay.Y3IOU:3!null as RWGEU]\n" + 8811 " └─ HashJoin\n" + 8812 " ├─ Eq\n" + 8813 " │ ├─ xj2rd.WNUNU:1!null\n" + 8814 " │ └─ tusay.XLFIA:4!null\n" + 8815 " ├─ SubqueryAlias\n" + 8816 " │ ├─ name: xj2rd\n" + 8817 " │ ├─ outerVisibility: false\n" + 8818 " │ ├─ isLateral: false\n" + 8819 " │ ├─ cacheable: true\n" + 8820 " │ ├─ colSet: (10-12)\n" + 8821 " │ ├─ tableId: 2\n" + 8822 " │ └─ Project\n" + 8823 " │ ├─ columns: [qywqd.id:0!null as Y46B2, qywqd.WNUNU:1!null as WNUNU, qywqd.HVHRZ:2!null as HVHRZ]\n" + 8824 " │ └─ Table\n" + 8825 " │ ├─ name: QYWQD\n" + 8826 " │ ├─ columns: [id wnunu hvhrz]\n" + 8827 " │ ├─ colSet: (1-6)\n" + 8828 " │ └─ tableId: 1\n" + 8829 " └─ HashLookup\n" + 8830 " ├─ left-key: TUPLE(xj2rd.WNUNU:1!null)\n" + 8831 " ├─ right-key: TUPLE(tusay.XLFIA:1!null)\n" + 8832 " └─ SubqueryAlias\n" + 8833 " ├─ name: tusay\n" + 8834 " ├─ outerVisibility: false\n" + 8835 " ├─ isLateral: false\n" + 8836 " ├─ cacheable: true\n" + 8837 " ├─ colSet: (26,27)\n" + 8838 " ├─ tableId: 4\n" + 8839 " └─ Project\n" + 8840 " ├─ columns: [row_number() over ( order by noxn3.id asc):0!null as Y3IOU, noxn3.id:1!null as XLFIA]\n" + 8841 " └─ Window\n" + 8842 " ├─ row_number() over ( order by noxn3.id ASC)\n" + 8843 " ├─ noxn3.id:0!null\n" + 8844 " └─ Table\n" + 8845 " ├─ name: NOXN3\n" + 8846 " ├─ columns: [id]\n" + 8847 " ├─ colSet: (13-22)\n" + 8848 " └─ tableId: 3\n" + 8849 "", 8850 ExpectedEstimates: "Project\n" + 8851 " ├─ columns: [tusay.Y3IOU as RWGEU]\n" + 8852 " └─ Sort(xj2rd.Y46B2 ASC)\n" + 8853 " └─ Project\n" + 8854 " ├─ columns: [xj2rd.Y46B2, xj2rd.WNUNU, xj2rd.HVHRZ, tusay.Y3IOU, tusay.XLFIA, tusay.Y3IOU as RWGEU]\n" + 8855 " └─ HashJoin\n" + 8856 " ├─ (xj2rd.WNUNU = tusay.XLFIA)\n" + 8857 " ├─ SubqueryAlias\n" + 8858 " │ ├─ name: xj2rd\n" + 8859 " │ ├─ outerVisibility: false\n" + 8860 " │ ├─ isLateral: false\n" + 8861 " │ ├─ cacheable: true\n" + 8862 " │ └─ Project\n" + 8863 " │ ├─ columns: [qywqd.id as Y46B2, qywqd.WNUNU as WNUNU, qywqd.HVHRZ as HVHRZ]\n" + 8864 " │ └─ Table\n" + 8865 " │ ├─ name: QYWQD\n" + 8866 " │ └─ columns: [id wnunu hvhrz]\n" + 8867 " └─ HashLookup\n" + 8868 " ├─ left-key: (xj2rd.WNUNU)\n" + 8869 " ├─ right-key: (tusay.XLFIA)\n" + 8870 " └─ SubqueryAlias\n" + 8871 " ├─ name: tusay\n" + 8872 " ├─ outerVisibility: false\n" + 8873 " ├─ isLateral: false\n" + 8874 " ├─ cacheable: true\n" + 8875 " └─ Project\n" + 8876 " ├─ columns: [row_number() over ( order by noxn3.id asc) as Y3IOU, noxn3.id as XLFIA]\n" + 8877 " └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 8878 " └─ Table\n" + 8879 " ├─ name: NOXN3\n" + 8880 " └─ columns: [id]\n" + 8881 "", 8882 ExpectedAnalysis: "Project\n" + 8883 " ├─ columns: [tusay.Y3IOU as RWGEU]\n" + 8884 " └─ Sort(xj2rd.Y46B2 ASC)\n" + 8885 " └─ Project\n" + 8886 " ├─ columns: [xj2rd.Y46B2, xj2rd.WNUNU, xj2rd.HVHRZ, tusay.Y3IOU, tusay.XLFIA, tusay.Y3IOU as RWGEU]\n" + 8887 " └─ HashJoin\n" + 8888 " ├─ (xj2rd.WNUNU = tusay.XLFIA)\n" + 8889 " ├─ SubqueryAlias\n" + 8890 " │ ├─ name: xj2rd\n" + 8891 " │ ├─ outerVisibility: false\n" + 8892 " │ ├─ isLateral: false\n" + 8893 " │ ├─ cacheable: true\n" + 8894 " │ └─ Project\n" + 8895 " │ ├─ columns: [qywqd.id as Y46B2, qywqd.WNUNU as WNUNU, qywqd.HVHRZ as HVHRZ]\n" + 8896 " │ └─ Table\n" + 8897 " │ ├─ name: QYWQD\n" + 8898 " │ └─ columns: [id wnunu hvhrz]\n" + 8899 " └─ HashLookup\n" + 8900 " ├─ left-key: (xj2rd.WNUNU)\n" + 8901 " ├─ right-key: (tusay.XLFIA)\n" + 8902 " └─ SubqueryAlias\n" + 8903 " ├─ name: tusay\n" + 8904 " ├─ outerVisibility: false\n" + 8905 " ├─ isLateral: false\n" + 8906 " ├─ cacheable: true\n" + 8907 " └─ Project\n" + 8908 " ├─ columns: [row_number() over ( order by noxn3.id asc) as Y3IOU, noxn3.id as XLFIA]\n" + 8909 " └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 8910 " └─ Table\n" + 8911 " ├─ name: NOXN3\n" + 8912 " └─ columns: [id]\n" + 8913 "", 8914 }, 8915 { 8916 Query: ` 8917 SELECT 8918 ECXAJ 8919 FROM 8920 E2I7U 8921 ORDER BY id ASC`, 8922 ExpectedPlan: "Project\n" + 8923 " ├─ columns: [e2i7u.ECXAJ:1!null]\n" + 8924 " └─ IndexedTableAccess(E2I7U)\n" + 8925 " ├─ index: [E2I7U.id]\n" + 8926 " ├─ static: [{[NULL, ∞)}]\n" + 8927 " ├─ colSet: (1-17)\n" + 8928 " ├─ tableId: 1\n" + 8929 " └─ Table\n" + 8930 " ├─ name: E2I7U\n" + 8931 " └─ columns: [id ecxaj]\n" + 8932 "", 8933 ExpectedEstimates: "Project\n" + 8934 " ├─ columns: [e2i7u.ECXAJ]\n" + 8935 " └─ IndexedTableAccess(E2I7U)\n" + 8936 " ├─ index: [E2I7U.id]\n" + 8937 " ├─ filters: [{[NULL, ∞)}]\n" + 8938 " └─ columns: [id ecxaj]\n" + 8939 "", 8940 ExpectedAnalysis: "Project\n" + 8941 " ├─ columns: [e2i7u.ECXAJ]\n" + 8942 " └─ IndexedTableAccess(E2I7U)\n" + 8943 " ├─ index: [E2I7U.id]\n" + 8944 " ├─ filters: [{[NULL, ∞)}]\n" + 8945 " └─ columns: [id ecxaj]\n" + 8946 "", 8947 }, 8948 { 8949 Query: ` 8950 SELECT 8951 CASE 8952 WHEN YZXYP.Z35GY IS NOT NULL THEN YZXYP.Z35GY 8953 ELSE -1 8954 END AS FMSOH 8955 FROM 8956 (SELECT 8957 nd.T722E, 8958 fc.Z35GY 8959 FROM 8960 (SELECT 8961 id AS T722E 8962 FROM 8963 E2I7U) nd 8964 LEFT JOIN 8965 (SELECT 8966 LUEVY AS ZPAIK, 8967 MAX(Z35GY) AS Z35GY 8968 FROM AMYXQ 8969 GROUP BY LUEVY) fc 8970 ON nd.T722E = fc.ZPAIK 8971 ORDER BY nd.T722E ASC) YZXYP`, 8972 ExpectedPlan: "Project\n" + 8973 " ├─ columns: [CASE WHEN NOT\n" + 8974 " │ └─ yzxyp.Z35GY:1!null IS NULL\n" + 8975 " │ THEN yzxyp.Z35GY:1!null ELSE -1 (tinyint) END as FMSOH]\n" + 8976 " └─ SubqueryAlias\n" + 8977 " ├─ name: yzxyp\n" + 8978 " ├─ outerVisibility: false\n" + 8979 " ├─ isLateral: false\n" + 8980 " ├─ cacheable: true\n" + 8981 " ├─ colSet: (33,34)\n" + 8982 " ├─ tableId: 5\n" + 8983 " └─ Project\n" + 8984 " ├─ columns: [nd.T722E:0!null, fc.Z35GY:2!null]\n" + 8985 " └─ Sort(nd.T722E:0!null ASC nullsFirst)\n" + 8986 " └─ LeftOuterHashJoin\n" + 8987 " ├─ Eq\n" + 8988 " │ ├─ nd.T722E:0!null\n" + 8989 " │ └─ fc.ZPAIK:1!null\n" + 8990 " ├─ SubqueryAlias\n" + 8991 " │ ├─ name: nd\n" + 8992 " │ ├─ outerVisibility: false\n" + 8993 " │ ├─ isLateral: false\n" + 8994 " │ ├─ cacheable: true\n" + 8995 " │ ├─ colSet: (19)\n" + 8996 " │ ├─ tableId: 2\n" + 8997 " │ └─ Project\n" + 8998 " │ ├─ columns: [e2i7u.id:0!null as T722E]\n" + 8999 " │ └─ Table\n" + 9000 " │ ├─ name: E2I7U\n" + 9001 " │ ├─ columns: [id]\n" + 9002 " │ ├─ colSet: (1-17)\n" + 9003 " │ └─ tableId: 1\n" + 9004 " └─ HashLookup\n" + 9005 " ├─ left-key: TUPLE(nd.T722E:0!null)\n" + 9006 " ├─ right-key: TUPLE(fc.ZPAIK:0!null)\n" + 9007 " └─ SubqueryAlias\n" + 9008 " ├─ name: fc\n" + 9009 " ├─ outerVisibility: false\n" + 9010 " ├─ isLateral: false\n" + 9011 " ├─ cacheable: true\n" + 9012 " ├─ colSet: (31,32)\n" + 9013 " ├─ tableId: 4\n" + 9014 " └─ Project\n" + 9015 " ├─ columns: [amyxq.LUEVY:1!null as ZPAIK, max(amyxq.z35gy):0!null as Z35GY]\n" + 9016 " └─ GroupBy\n" + 9017 " ├─ select: MAX(amyxq.Z35GY:1!null), amyxq.LUEVY:0!null\n" + 9018 " ├─ group: amyxq.luevy:0!null\n" + 9019 " └─ Table\n" + 9020 " ├─ name: AMYXQ\n" + 9021 " ├─ columns: [luevy z35gy]\n" + 9022 " ├─ colSet: (20-27)\n" + 9023 " └─ tableId: 3\n" + 9024 "", 9025 ExpectedEstimates: "Project\n" + 9026 " ├─ columns: [CASE WHEN (NOT(yzxyp.Z35GY IS NULL)) THEN yzxyp.Z35GY ELSE -1 END as FMSOH]\n" + 9027 " └─ SubqueryAlias\n" + 9028 " ├─ name: yzxyp\n" + 9029 " ├─ outerVisibility: false\n" + 9030 " ├─ isLateral: false\n" + 9031 " ├─ cacheable: true\n" + 9032 " └─ Project\n" + 9033 " ├─ columns: [nd.T722E, fc.Z35GY]\n" + 9034 " └─ Sort(nd.T722E ASC)\n" + 9035 " └─ LeftOuterHashJoin\n" + 9036 " ├─ (nd.T722E = fc.ZPAIK)\n" + 9037 " ├─ SubqueryAlias\n" + 9038 " │ ├─ name: nd\n" + 9039 " │ ├─ outerVisibility: false\n" + 9040 " │ ├─ isLateral: false\n" + 9041 " │ ├─ cacheable: true\n" + 9042 " │ └─ Project\n" + 9043 " │ ├─ columns: [e2i7u.id as T722E]\n" + 9044 " │ └─ Table\n" + 9045 " │ ├─ name: E2I7U\n" + 9046 " │ └─ columns: [id]\n" + 9047 " └─ HashLookup\n" + 9048 " ├─ left-key: (nd.T722E)\n" + 9049 " ├─ right-key: (fc.ZPAIK)\n" + 9050 " └─ SubqueryAlias\n" + 9051 " ├─ name: fc\n" + 9052 " ├─ outerVisibility: false\n" + 9053 " ├─ isLateral: false\n" + 9054 " ├─ cacheable: true\n" + 9055 " └─ Project\n" + 9056 " ├─ columns: [amyxq.LUEVY as ZPAIK, max(amyxq.z35gy) as Z35GY]\n" + 9057 " └─ GroupBy\n" + 9058 " ├─ SelectedExprs(MAX(amyxq.Z35GY), amyxq.LUEVY)\n" + 9059 " ├─ Grouping(amyxq.luevy)\n" + 9060 " └─ Table\n" + 9061 " ├─ name: AMYXQ\n" + 9062 " └─ columns: [luevy z35gy]\n" + 9063 "", 9064 ExpectedAnalysis: "Project\n" + 9065 " ├─ columns: [CASE WHEN (NOT(yzxyp.Z35GY IS NULL)) THEN yzxyp.Z35GY ELSE -1 END as FMSOH]\n" + 9066 " └─ SubqueryAlias\n" + 9067 " ├─ name: yzxyp\n" + 9068 " ├─ outerVisibility: false\n" + 9069 " ├─ isLateral: false\n" + 9070 " ├─ cacheable: true\n" + 9071 " └─ Project\n" + 9072 " ├─ columns: [nd.T722E, fc.Z35GY]\n" + 9073 " └─ Sort(nd.T722E ASC)\n" + 9074 " └─ LeftOuterHashJoin\n" + 9075 " ├─ (nd.T722E = fc.ZPAIK)\n" + 9076 " ├─ SubqueryAlias\n" + 9077 " │ ├─ name: nd\n" + 9078 " │ ├─ outerVisibility: false\n" + 9079 " │ ├─ isLateral: false\n" + 9080 " │ ├─ cacheable: true\n" + 9081 " │ └─ Project\n" + 9082 " │ ├─ columns: [e2i7u.id as T722E]\n" + 9083 " │ └─ Table\n" + 9084 " │ ├─ name: E2I7U\n" + 9085 " │ └─ columns: [id]\n" + 9086 " └─ HashLookup\n" + 9087 " ├─ left-key: (nd.T722E)\n" + 9088 " ├─ right-key: (fc.ZPAIK)\n" + 9089 " └─ SubqueryAlias\n" + 9090 " ├─ name: fc\n" + 9091 " ├─ outerVisibility: false\n" + 9092 " ├─ isLateral: false\n" + 9093 " ├─ cacheable: true\n" + 9094 " └─ Project\n" + 9095 " ├─ columns: [amyxq.LUEVY as ZPAIK, max(amyxq.z35gy) as Z35GY]\n" + 9096 " └─ GroupBy\n" + 9097 " ├─ SelectedExprs(MAX(amyxq.Z35GY), amyxq.LUEVY)\n" + 9098 " ├─ Grouping(amyxq.luevy)\n" + 9099 " └─ Table\n" + 9100 " ├─ name: AMYXQ\n" + 9101 " └─ columns: [luevy z35gy]\n" + 9102 "", 9103 }, 9104 { 9105 Query: ` 9106 SELECT 9107 CASE 9108 WHEN 9109 FGG57 IS NULL 9110 THEN 0 9111 WHEN 9112 id IN (SELECT id FROM E2I7U WHERE NOT id IN (SELECT LUEVY FROM AMYXQ)) 9113 THEN 1 9114 WHEN 9115 FSK67 = 'z' 9116 THEN 2 9117 WHEN 9118 FSK67 = 'CRZ2X' 9119 THEN 0 9120 ELSE 3 9121 END AS SZ6KK 9122 FROM E2I7U 9123 ORDER BY id ASC`, 9124 ExpectedPlan: "Project\n" + 9125 " ├─ columns: [CASE WHEN e2i7u.FGG57:6 IS NULL THEN 0 (tinyint) WHEN InSubquery\n" + 9126 " │ ├─ left: e2i7u.id:0!null\n" + 9127 " │ └─ right: Subquery\n" + 9128 " │ ├─ cacheable: true\n" + 9129 " │ ├─ alias-string: select id from E2I7U where not id in (select LUEVY from AMYXQ)\n" + 9130 " │ └─ Project\n" + 9131 " │ ├─ columns: [e2i7u.id:18!null]\n" + 9132 " │ └─ Project\n" + 9133 " │ ├─ columns: [E2I7U.id:18!null, E2I7U.DKCAJ:19!null, E2I7U.KNG7T:20, E2I7U.TW55N:21!null, E2I7U.QRQXW:22!null, E2I7U.ECXAJ:23!null, E2I7U.FGG57:24, E2I7U.ZH72S:25, E2I7U.FSK67:26!null, E2I7U.XQDYT:27!null, E2I7U.TCE7A:28, E2I7U.IWV2H:29, E2I7U.HPCMS:30!null, E2I7U.N5CC2:31, E2I7U.FHCYT:32, E2I7U.ETAQ7:33, E2I7U.A75X7:34]\n" + 9134 " │ └─ Filter\n" + 9135 " │ ├─ amyxq.LUEVY:35!null IS NULL\n" + 9136 " │ └─ LeftOuterLookupJoin\n" + 9137 " │ ├─ Table\n" + 9138 " │ │ ├─ name: E2I7U\n" + 9139 " │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 9140 " │ │ ├─ colSet: (18-34)\n" + 9141 " │ │ └─ tableId: 2\n" + 9142 " │ └─ IndexedTableAccess(AMYXQ)\n" + 9143 " │ ├─ index: [AMYXQ.LUEVY]\n" + 9144 " │ ├─ keys: [e2i7u.id:18!null]\n" + 9145 " │ ├─ colSet: (35-42)\n" + 9146 " │ ├─ tableId: 3\n" + 9147 " │ └─ Table\n" + 9148 " │ ├─ name: AMYXQ\n" + 9149 " │ └─ columns: [luevy]\n" + 9150 " │ THEN 1 (tinyint) WHEN Eq\n" + 9151 " │ ├─ e2i7u.FSK67:8!null\n" + 9152 " │ └─ z (longtext)\n" + 9153 " │ THEN 2 (tinyint) WHEN Eq\n" + 9154 " │ ├─ e2i7u.FSK67:8!null\n" + 9155 " │ └─ CRZ2X (longtext)\n" + 9156 " │ THEN 0 (tinyint) ELSE 3 (tinyint) END as SZ6KK]\n" + 9157 " └─ Project\n" + 9158 " ├─ columns: [e2i7u.id:0!null, e2i7u.DKCAJ:1!null, e2i7u.KNG7T:2, e2i7u.TW55N:3!null, e2i7u.QRQXW:4!null, e2i7u.ECXAJ:5!null, e2i7u.FGG57:6, e2i7u.ZH72S:7, e2i7u.FSK67:8!null, e2i7u.XQDYT:9!null, e2i7u.TCE7A:10, e2i7u.IWV2H:11, e2i7u.HPCMS:12!null, e2i7u.N5CC2:13, e2i7u.FHCYT:14, e2i7u.ETAQ7:15, e2i7u.A75X7:16, CASE WHEN e2i7u.FGG57:6 IS NULL THEN 0 (tinyint) WHEN InSubquery\n" + 9159 " │ ├─ left: e2i7u.id:0!null\n" + 9160 " │ └─ right: Subquery\n" + 9161 " │ ├─ cacheable: true\n" + 9162 " │ ├─ alias-string: select id from E2I7U where not id in (select LUEVY from AMYXQ)\n" + 9163 " │ └─ Project\n" + 9164 " │ ├─ columns: [e2i7u.id:17!null]\n" + 9165 " │ └─ Project\n" + 9166 " │ ├─ columns: [E2I7U.id:17!null, E2I7U.DKCAJ:18!null, E2I7U.KNG7T:19, E2I7U.TW55N:20!null, E2I7U.QRQXW:21!null, E2I7U.ECXAJ:22!null, E2I7U.FGG57:23, E2I7U.ZH72S:24, E2I7U.FSK67:25!null, E2I7U.XQDYT:26!null, E2I7U.TCE7A:27, E2I7U.IWV2H:28, E2I7U.HPCMS:29!null, E2I7U.N5CC2:30, E2I7U.FHCYT:31, E2I7U.ETAQ7:32, E2I7U.A75X7:33]\n" + 9167 " │ └─ Filter\n" + 9168 " │ ├─ amyxq.LUEVY:34!null IS NULL\n" + 9169 " │ └─ LeftOuterLookupJoin\n" + 9170 " │ ├─ Table\n" + 9171 " │ │ ├─ name: E2I7U\n" + 9172 " │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 9173 " │ │ ├─ colSet: (18-34)\n" + 9174 " │ │ └─ tableId: 2\n" + 9175 " │ └─ IndexedTableAccess(AMYXQ)\n" + 9176 " │ ├─ index: [AMYXQ.LUEVY]\n" + 9177 " │ ├─ keys: [e2i7u.id:17!null]\n" + 9178 " │ ├─ colSet: (35-42)\n" + 9179 " │ ├─ tableId: 3\n" + 9180 " │ └─ Table\n" + 9181 " │ ├─ name: AMYXQ\n" + 9182 " │ └─ columns: [luevy]\n" + 9183 " │ THEN 1 (tinyint) WHEN Eq\n" + 9184 " │ ├─ e2i7u.FSK67:8!null\n" + 9185 " │ └─ z (longtext)\n" + 9186 " │ THEN 2 (tinyint) WHEN Eq\n" + 9187 " │ ├─ e2i7u.FSK67:8!null\n" + 9188 " │ └─ CRZ2X (longtext)\n" + 9189 " │ THEN 0 (tinyint) ELSE 3 (tinyint) END as SZ6KK]\n" + 9190 " └─ IndexedTableAccess(E2I7U)\n" + 9191 " ├─ index: [E2I7U.id]\n" + 9192 " ├─ static: [{[NULL, ∞)}]\n" + 9193 " ├─ colSet: (1-17)\n" + 9194 " ├─ tableId: 1\n" + 9195 " └─ Table\n" + 9196 " ├─ name: E2I7U\n" + 9197 " └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 9198 "", 9199 ExpectedEstimates: "Project\n" + 9200 " ├─ columns: [CASE WHEN e2i7u.FGG57 IS NULL THEN 0 WHEN InSubquery\n" + 9201 " │ ├─ left: e2i7u.id\n" + 9202 " │ └─ right: Subquery\n" + 9203 " │ ├─ cacheable: true\n" + 9204 " │ └─ Project\n" + 9205 " │ ├─ columns: [e2i7u.id]\n" + 9206 " │ └─ Project\n" + 9207 " │ ├─ columns: [E2I7U.id, E2I7U.DKCAJ, E2I7U.KNG7T, E2I7U.TW55N, E2I7U.QRQXW, E2I7U.ECXAJ, E2I7U.FGG57, E2I7U.ZH72S, E2I7U.FSK67, E2I7U.XQDYT, E2I7U.TCE7A, E2I7U.IWV2H, E2I7U.HPCMS, E2I7U.N5CC2, E2I7U.FHCYT, E2I7U.ETAQ7, E2I7U.A75X7]\n" + 9208 " │ └─ Filter\n" + 9209 " │ ├─ amyxq.LUEVY IS NULL\n" + 9210 " │ └─ LeftOuterLookupJoin\n" + 9211 " │ ├─ Table\n" + 9212 " │ │ └─ name: E2I7U\n" + 9213 " │ └─ IndexedTableAccess(AMYXQ)\n" + 9214 " │ ├─ index: [AMYXQ.LUEVY]\n" + 9215 " │ ├─ columns: [luevy]\n" + 9216 " │ └─ keys: e2i7u.id\n" + 9217 " │ THEN 1 WHEN (e2i7u.FSK67 = 'z') THEN 2 WHEN (e2i7u.FSK67 = 'CRZ2X') THEN 0 ELSE 3 END as SZ6KK]\n" + 9218 " └─ Project\n" + 9219 " ├─ columns: [e2i7u.id, e2i7u.DKCAJ, e2i7u.KNG7T, e2i7u.TW55N, e2i7u.QRQXW, e2i7u.ECXAJ, e2i7u.FGG57, e2i7u.ZH72S, e2i7u.FSK67, e2i7u.XQDYT, e2i7u.TCE7A, e2i7u.IWV2H, e2i7u.HPCMS, e2i7u.N5CC2, e2i7u.FHCYT, e2i7u.ETAQ7, e2i7u.A75X7, CASE WHEN e2i7u.FGG57 IS NULL THEN 0 WHEN InSubquery\n" + 9220 " │ ├─ left: e2i7u.id\n" + 9221 " │ └─ right: Subquery\n" + 9222 " │ ├─ cacheable: true\n" + 9223 " │ └─ Project\n" + 9224 " │ ├─ columns: [e2i7u.id]\n" + 9225 " │ └─ Project\n" + 9226 " │ ├─ columns: [E2I7U.id, E2I7U.DKCAJ, E2I7U.KNG7T, E2I7U.TW55N, E2I7U.QRQXW, E2I7U.ECXAJ, E2I7U.FGG57, E2I7U.ZH72S, E2I7U.FSK67, E2I7U.XQDYT, E2I7U.TCE7A, E2I7U.IWV2H, E2I7U.HPCMS, E2I7U.N5CC2, E2I7U.FHCYT, E2I7U.ETAQ7, E2I7U.A75X7]\n" + 9227 " │ └─ Filter\n" + 9228 " │ ├─ amyxq.LUEVY IS NULL\n" + 9229 " │ └─ LeftOuterLookupJoin\n" + 9230 " │ ├─ Table\n" + 9231 " │ │ └─ name: E2I7U\n" + 9232 " │ └─ IndexedTableAccess(AMYXQ)\n" + 9233 " │ ├─ index: [AMYXQ.LUEVY]\n" + 9234 " │ ├─ columns: [luevy]\n" + 9235 " │ └─ keys: e2i7u.id\n" + 9236 " │ THEN 1 WHEN (e2i7u.FSK67 = 'z') THEN 2 WHEN (e2i7u.FSK67 = 'CRZ2X') THEN 0 ELSE 3 END as SZ6KK]\n" + 9237 " └─ IndexedTableAccess(E2I7U)\n" + 9238 " ├─ index: [E2I7U.id]\n" + 9239 " └─ filters: [{[NULL, ∞)}]\n" + 9240 "", 9241 ExpectedAnalysis: "Project\n" + 9242 " ├─ columns: [CASE WHEN e2i7u.FGG57 IS NULL THEN 0 WHEN InSubquery\n" + 9243 " │ ├─ left: e2i7u.id\n" + 9244 " │ └─ right: Subquery\n" + 9245 " │ ├─ cacheable: true\n" + 9246 " │ └─ Project\n" + 9247 " │ ├─ columns: [e2i7u.id]\n" + 9248 " │ └─ Project\n" + 9249 " │ ├─ columns: [E2I7U.id, E2I7U.DKCAJ, E2I7U.KNG7T, E2I7U.TW55N, E2I7U.QRQXW, E2I7U.ECXAJ, E2I7U.FGG57, E2I7U.ZH72S, E2I7U.FSK67, E2I7U.XQDYT, E2I7U.TCE7A, E2I7U.IWV2H, E2I7U.HPCMS, E2I7U.N5CC2, E2I7U.FHCYT, E2I7U.ETAQ7, E2I7U.A75X7]\n" + 9250 " │ └─ Filter\n" + 9251 " │ ├─ amyxq.LUEVY IS NULL\n" + 9252 " │ └─ LeftOuterLookupJoin\n" + 9253 " │ ├─ Table\n" + 9254 " │ │ └─ name: E2I7U\n" + 9255 " │ └─ IndexedTableAccess(AMYXQ)\n" + 9256 " │ ├─ index: [AMYXQ.LUEVY]\n" + 9257 " │ ├─ columns: [luevy]\n" + 9258 " │ └─ keys: e2i7u.id\n" + 9259 " │ THEN 1 WHEN (e2i7u.FSK67 = 'z') THEN 2 WHEN (e2i7u.FSK67 = 'CRZ2X') THEN 0 ELSE 3 END as SZ6KK]\n" + 9260 " └─ Project\n" + 9261 " ├─ columns: [e2i7u.id, e2i7u.DKCAJ, e2i7u.KNG7T, e2i7u.TW55N, e2i7u.QRQXW, e2i7u.ECXAJ, e2i7u.FGG57, e2i7u.ZH72S, e2i7u.FSK67, e2i7u.XQDYT, e2i7u.TCE7A, e2i7u.IWV2H, e2i7u.HPCMS, e2i7u.N5CC2, e2i7u.FHCYT, e2i7u.ETAQ7, e2i7u.A75X7, CASE WHEN e2i7u.FGG57 IS NULL THEN 0 WHEN InSubquery\n" + 9262 " │ ├─ left: e2i7u.id\n" + 9263 " │ └─ right: Subquery\n" + 9264 " │ ├─ cacheable: true\n" + 9265 " │ └─ Project\n" + 9266 " │ ├─ columns: [e2i7u.id]\n" + 9267 " │ └─ Project\n" + 9268 " │ ├─ columns: [E2I7U.id, E2I7U.DKCAJ, E2I7U.KNG7T, E2I7U.TW55N, E2I7U.QRQXW, E2I7U.ECXAJ, E2I7U.FGG57, E2I7U.ZH72S, E2I7U.FSK67, E2I7U.XQDYT, E2I7U.TCE7A, E2I7U.IWV2H, E2I7U.HPCMS, E2I7U.N5CC2, E2I7U.FHCYT, E2I7U.ETAQ7, E2I7U.A75X7]\n" + 9269 " │ └─ Filter\n" + 9270 " │ ├─ amyxq.LUEVY IS NULL\n" + 9271 " │ └─ LeftOuterLookupJoin\n" + 9272 " │ ├─ Table\n" + 9273 " │ │ └─ name: E2I7U\n" + 9274 " │ └─ IndexedTableAccess(AMYXQ)\n" + 9275 " │ ├─ index: [AMYXQ.LUEVY]\n" + 9276 " │ ├─ columns: [luevy]\n" + 9277 " │ └─ keys: e2i7u.id\n" + 9278 " │ THEN 1 WHEN (e2i7u.FSK67 = 'z') THEN 2 WHEN (e2i7u.FSK67 = 'CRZ2X') THEN 0 ELSE 3 END as SZ6KK]\n" + 9279 " └─ IndexedTableAccess(E2I7U)\n" + 9280 " ├─ index: [E2I7U.id]\n" + 9281 " └─ filters: [{[NULL, ∞)}]\n" + 9282 "", 9283 }, 9284 { 9285 Query: ` 9286 WITH 9287 BMRZU AS 9288 (SELECT /*+ JOIN_ORDER( cla, bs, mf, sn, aac, W2MAO, vc ) */ 9289 cla.FTQLQ AS T4IBQ, 9290 sn.id AS BDNYB, 9291 aac.BTXC5 AS BTXC5, 9292 mf.id AS Z7CP5, 9293 CASE 9294 WHEN mf.LT7K6 IS NOT NULL THEN mf.LT7K6 9295 ELSE mf.SPPYD 9296 END AS vaf, 9297 CASE 9298 WHEN mf.QCGTS IS NOT NULL THEN QCGTS 9299 ELSE 0.5 9300 END AS QCGTS, 9301 CASE 9302 WHEN vc.ZNP4P = 'L5Q44' THEN 1 9303 ELSE 0 9304 END AS SNY4H 9305 FROM YK2GW cla 9306 INNER JOIN THNTS bs ON bs.IXUXU = cla.id 9307 INNER JOIN HGMQ6 mf ON mf.GXLUB = bs.id 9308 INNER JOIN NOXN3 sn ON sn.BRQP2 = mf.LUEVY 9309 INNER JOIN TPXBU aac ON aac.id = mf.M22QN 9310 INNER JOIN SEQS3 W2MAO ON W2MAO.Z7CP5 = mf.id 9311 INNER JOIN D34QP vc ON vc.id = W2MAO.YH4XB 9312 WHERE cla.FTQLQ IN ('SQ1') 9313 AND mf.FSDY2 IN ('SRARY', 'UBQWG')), 9314 YU7NY AS 9315 (SELECT 9316 nd.TW55N AS KUXQY, 9317 sn.id AS BDNYB, 9318 nma.DZLIM AS YHVEZ, 9319 CASE 9320 WHEN nd.TCE7A < 0.9 THEN 1 9321 ELSE 0 9322 END AS YAZ4X 9323 FROM NOXN3 sn 9324 LEFT JOIN E2I7U nd ON sn.BRQP2 = nd.id 9325 LEFT JOIN TNMXI nma ON nd.HPCMS = nma.id 9326 WHERE nma.DZLIM != 'Q5I4E' 9327 ORDER BY sn.id ASC) 9328 SELECT DISTINCT 9329 OXXEI.T4IBQ, 9330 OXXEI.Z7CP5, 9331 E52AP.KUXQY, 9332 OXXEI.BDNYB, 9333 CKELE.M6T2N, 9334 OXXEI.BTXC5 as BTXC5, 9335 OXXEI.vaf as vaf, 9336 OXXEI.QCGTS as QCGTS, 9337 OXXEI.SNY4H as SNY4H, 9338 E52AP.YHVEZ as YHVEZ, 9339 E52AP.YAZ4X as YAZ4X 9340 FROM 9341 BMRZU OXXEI 9342 INNER JOIN YU7NY E52AP ON E52AP.BDNYB = OXXEI.BDNYB 9343 INNER JOIN 9344 (SELECT 9345 NOXN3.id as LWQ6O, 9346 ROW_NUMBER() OVER (ORDER BY NOXN3.id ASC) M6T2N 9347 FROM NOXN3) CKELE 9348 ON CKELE.LWQ6O = OXXEI.BDNYB 9349 ORDER BY CKELE.M6T2N ASC`, 9350 ExpectedPlan: "Distinct\n" + 9351 " └─ Project\n" + 9352 " ├─ columns: [oxxei.T4IBQ:0!null, oxxei.Z7CP5:3!null, e52ap.KUXQY:7!null, oxxei.BDNYB:1!null, ckele.M6T2N:12!null, oxxei.BTXC5:2 as BTXC5, oxxei.vaf:4 as vaf, oxxei.QCGTS:5 as QCGTS, oxxei.SNY4H:6!null as SNY4H, e52ap.YHVEZ:9!null as YHVEZ, e52ap.YAZ4X:10!null as YAZ4X]\n" + 9353 " └─ Sort(ckele.M6T2N:12!null ASC nullsFirst)\n" + 9354 " └─ Project\n" + 9355 " ├─ columns: [oxxei.T4IBQ:0!null, oxxei.BDNYB:1!null, oxxei.BTXC5:2, oxxei.Z7CP5:3!null, oxxei.vaf:4, oxxei.QCGTS:5, oxxei.SNY4H:6!null, e52ap.KUXQY:7!null, e52ap.BDNYB:8!null, e52ap.YHVEZ:9!null, e52ap.YAZ4X:10!null, ckele.LWQ6O:11!null, ckele.M6T2N:12!null, oxxei.BTXC5:2 as BTXC5, oxxei.vaf:4 as vaf, oxxei.QCGTS:5 as QCGTS, oxxei.SNY4H:6!null as SNY4H, e52ap.YHVEZ:9!null as YHVEZ, e52ap.YAZ4X:10!null as YAZ4X]\n" + 9356 " └─ HashJoin\n" + 9357 " ├─ Eq\n" + 9358 " │ ├─ ckele.LWQ6O:11!null\n" + 9359 " │ └─ oxxei.BDNYB:1!null\n" + 9360 " ├─ HashJoin\n" + 9361 " │ ├─ Eq\n" + 9362 " │ │ ├─ e52ap.BDNYB:8!null\n" + 9363 " │ │ └─ oxxei.BDNYB:1!null\n" + 9364 " │ ├─ SubqueryAlias\n" + 9365 " │ │ ├─ name: oxxei\n" + 9366 " │ │ ├─ outerVisibility: false\n" + 9367 " │ │ ├─ isLateral: false\n" + 9368 " │ │ ├─ cacheable: true\n" + 9369 " │ │ ├─ colSet: (126-132)\n" + 9370 " │ │ ├─ tableId: 15\n" + 9371 " │ │ └─ Project\n" + 9372 " │ │ ├─ columns: [cla.FTQLQ:1!null as T4IBQ, sn.id:12!null as BDNYB, aac.BTXC5:15 as BTXC5, mf.id:4!null as Z7CP5, CASE WHEN NOT\n" + 9373 " │ │ │ └─ mf.LT7K6:9 IS NULL\n" + 9374 " │ │ │ THEN mf.LT7K6:9 ELSE mf.SPPYD:10 END as vaf, CASE WHEN NOT\n" + 9375 " │ │ │ └─ mf.QCGTS:11 IS NULL\n" + 9376 " │ │ │ THEN mf.QCGTS:11 ELSE 0.5 (decimal(2,1)) END as QCGTS, CASE WHEN Eq\n" + 9377 " │ │ │ ├─ vc.ZNP4P:19!null\n" + 9378 " │ │ │ └─ L5Q44 (longtext)\n" + 9379 " │ │ │ THEN 1 (tinyint) ELSE 0 (tinyint) END as SNY4H]\n" + 9380 " │ │ └─ HashJoin\n" + 9381 " │ │ ├─ Eq\n" + 9382 " │ │ │ ├─ vc.id:18!null\n" + 9383 " │ │ │ └─ w2mao.YH4XB:17!null\n" + 9384 " │ │ ├─ HashJoin\n" + 9385 " │ │ │ ├─ Eq\n" + 9386 " │ │ │ │ ├─ mf.GXLUB:5!null\n" + 9387 " │ │ │ │ └─ bs.id:2!null\n" + 9388 " │ │ │ ├─ MergeJoin\n" + 9389 " │ │ │ │ ├─ cmp: Eq\n" + 9390 " │ │ │ │ │ ├─ cla.id:0!null\n" + 9391 " │ │ │ │ │ └─ bs.IXUXU:3\n" + 9392 " │ │ │ │ ├─ Filter\n" + 9393 " │ │ │ │ │ ├─ HashIn\n" + 9394 " │ │ │ │ │ │ ├─ cla.FTQLQ:1!null\n" + 9395 " │ │ │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 9396 " │ │ │ │ │ └─ TableAlias(cla)\n" + 9397 " │ │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 9398 " │ │ │ │ │ ├─ index: [YK2GW.id]\n" + 9399 " │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 9400 " │ │ │ │ │ ├─ colSet: (1-30)\n" + 9401 " │ │ │ │ │ ├─ tableId: 1\n" + 9402 " │ │ │ │ │ └─ Table\n" + 9403 " │ │ │ │ │ ├─ name: YK2GW\n" + 9404 " │ │ │ │ │ └─ columns: [id ftqlq]\n" + 9405 " │ │ │ │ └─ TableAlias(bs)\n" + 9406 " │ │ │ │ └─ IndexedTableAccess(THNTS)\n" + 9407 " │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 9408 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 9409 " │ │ │ │ ├─ colSet: (31-34)\n" + 9410 " │ │ │ │ ├─ tableId: 2\n" + 9411 " │ │ │ │ └─ Table\n" + 9412 " │ │ │ │ ├─ name: THNTS\n" + 9413 " │ │ │ │ └─ columns: [id ixuxu]\n" + 9414 " │ │ │ └─ HashLookup\n" + 9415 " │ │ │ ├─ left-key: TUPLE(bs.id:2!null)\n" + 9416 " │ │ │ ├─ right-key: TUPLE(mf.GXLUB:1!null)\n" + 9417 " │ │ │ └─ LookupJoin\n" + 9418 " │ │ │ ├─ LookupJoin\n" + 9419 " │ │ │ │ ├─ MergeJoin\n" + 9420 " │ │ │ │ │ ├─ cmp: Eq\n" + 9421 " │ │ │ │ │ │ ├─ mf.LUEVY:6!null\n" + 9422 " │ │ │ │ │ │ └─ sn.BRQP2:13!null\n" + 9423 " │ │ │ │ │ ├─ Filter\n" + 9424 " │ │ │ │ │ │ ├─ HashIn\n" + 9425 " │ │ │ │ │ │ │ ├─ mf.FSDY2:4!null\n" + 9426 " │ │ │ │ │ │ │ └─ TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 9427 " │ │ │ │ │ │ └─ TableAlias(mf)\n" + 9428 " │ │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 9429 " │ │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 9430 " │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 9431 " │ │ │ │ │ │ ├─ colSet: (35-51)\n" + 9432 " │ │ │ │ │ │ ├─ tableId: 3\n" + 9433 " │ │ │ │ │ │ └─ Table\n" + 9434 " │ │ │ │ │ │ ├─ name: HGMQ6\n" + 9435 " │ │ │ │ │ │ └─ columns: [id gxlub luevy m22qn fsdy2 lt7k6 sppyd qcgts]\n" + 9436 " │ │ │ │ │ └─ TableAlias(sn)\n" + 9437 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 9438 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 9439 " │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 9440 " │ │ │ │ │ ├─ colSet: (52-61)\n" + 9441 " │ │ │ │ │ ├─ tableId: 4\n" + 9442 " │ │ │ │ │ └─ Table\n" + 9443 " │ │ │ │ │ ├─ name: NOXN3\n" + 9444 " │ │ │ │ │ └─ columns: [id brqp2]\n" + 9445 " │ │ │ │ └─ TableAlias(aac)\n" + 9446 " │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 9447 " │ │ │ │ ├─ index: [TPXBU.id]\n" + 9448 " │ │ │ │ ├─ keys: [mf.M22QN:7!null]\n" + 9449 " │ │ │ │ ├─ colSet: (62-64)\n" + 9450 " │ │ │ │ ├─ tableId: 5\n" + 9451 " │ │ │ │ └─ Table\n" + 9452 " │ │ │ │ ├─ name: TPXBU\n" + 9453 " │ │ │ │ └─ columns: [id btxc5]\n" + 9454 " │ │ │ └─ TableAlias(w2mao)\n" + 9455 " │ │ │ └─ IndexedTableAccess(SEQS3)\n" + 9456 " │ │ │ ├─ index: [SEQS3.Z7CP5]\n" + 9457 " │ │ │ ├─ keys: [mf.id:4!null]\n" + 9458 " │ │ │ ├─ colSet: (65-67)\n" + 9459 " │ │ │ ├─ tableId: 6\n" + 9460 " │ │ │ └─ Table\n" + 9461 " │ │ │ ├─ name: SEQS3\n" + 9462 " │ │ │ └─ columns: [z7cp5 yh4xb]\n" + 9463 " │ │ └─ HashLookup\n" + 9464 " │ │ ├─ left-key: TUPLE(w2mao.YH4XB:17!null)\n" + 9465 " │ │ ├─ right-key: TUPLE(vc.id:0!null)\n" + 9466 " │ │ └─ TableAlias(vc)\n" + 9467 " │ │ └─ Table\n" + 9468 " │ │ ├─ name: D34QP\n" + 9469 " │ │ ├─ columns: [id znp4p]\n" + 9470 " │ │ ├─ colSet: (68-73)\n" + 9471 " │ │ └─ tableId: 7\n" + 9472 " │ └─ HashLookup\n" + 9473 " │ ├─ left-key: TUPLE(oxxei.BDNYB:1!null)\n" + 9474 " │ ├─ right-key: TUPLE(e52ap.BDNYB:1!null)\n" + 9475 " │ └─ SubqueryAlias\n" + 9476 " │ ├─ name: e52ap\n" + 9477 " │ ├─ outerVisibility: false\n" + 9478 " │ ├─ isLateral: false\n" + 9479 " │ ├─ cacheable: true\n" + 9480 " │ ├─ colSet: (133-136)\n" + 9481 " │ ├─ tableId: 16\n" + 9482 " │ └─ Project\n" + 9483 " │ ├─ columns: [nd.TW55N:13!null as KUXQY, sn.id:0!null as BDNYB, nma.DZLIM:28!null as YHVEZ, CASE WHEN LessThan\n" + 9484 " │ │ ├─ nd.TCE7A:20\n" + 9485 " │ │ └─ 0.9 (decimal(2,1))\n" + 9486 " │ │ THEN 1 (tinyint) ELSE 0 (tinyint) END as YAZ4X]\n" + 9487 " │ └─ Sort(sn.id:0!null ASC nullsFirst)\n" + 9488 " │ └─ Project\n" + 9489 " │ ├─ columns: [sn.id:0!null, sn.BRQP2:1!null, sn.FFTBJ:2!null, sn.A7XO2:3, sn.KBO7R:4!null, sn.ECDKM:5, sn.NUMK2:6!null, sn.LETOE:7!null, sn.YKSSU:8, sn.FHCYT:9, nd.id:10!null, nd.DKCAJ:11!null, nd.KNG7T:12, nd.TW55N:13!null, nd.QRQXW:14!null, nd.ECXAJ:15!null, nd.FGG57:16, nd.ZH72S:17, nd.FSK67:18!null, nd.XQDYT:19!null, nd.TCE7A:20, nd.IWV2H:21, nd.HPCMS:22!null, nd.N5CC2:23, nd.FHCYT:24, nd.ETAQ7:25, nd.A75X7:26, nma.id:27!null, nma.DZLIM:28!null, nma.F3YUE:29, nd.TW55N:13!null as KUXQY, sn.id:0!null as BDNYB, nma.DZLIM:28!null as YHVEZ, CASE WHEN LessThan\n" + 9490 " │ │ ├─ nd.TCE7A:20\n" + 9491 " │ │ └─ 0.9 (decimal(2,1))\n" + 9492 " │ │ THEN 1 (tinyint) ELSE 0 (tinyint) END as YAZ4X]\n" + 9493 " │ └─ Filter\n" + 9494 " │ ├─ NOT\n" + 9495 " │ │ └─ Eq\n" + 9496 " │ │ ├─ nma.DZLIM:28!null\n" + 9497 " │ │ └─ Q5I4E (longtext)\n" + 9498 " │ └─ LeftOuterLookupJoin\n" + 9499 " │ ├─ LeftOuterMergeJoin\n" + 9500 " │ │ ├─ cmp: Eq\n" + 9501 " │ │ │ ├─ sn.BRQP2:1!null\n" + 9502 " │ │ │ └─ nd.id:10!null\n" + 9503 " │ │ ├─ TableAlias(sn)\n" + 9504 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 9505 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 9506 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 9507 " │ │ │ ├─ colSet: (88-97)\n" + 9508 " │ │ │ ├─ tableId: 10\n" + 9509 " │ │ │ └─ Table\n" + 9510 " │ │ │ ├─ name: NOXN3\n" + 9511 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 9512 " │ │ └─ TableAlias(nd)\n" + 9513 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 9514 " │ │ ├─ index: [E2I7U.id]\n" + 9515 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 9516 " │ │ ├─ colSet: (98-114)\n" + 9517 " │ │ ├─ tableId: 11\n" + 9518 " │ │ └─ Table\n" + 9519 " │ │ ├─ name: E2I7U\n" + 9520 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 9521 " │ └─ TableAlias(nma)\n" + 9522 " │ └─ IndexedTableAccess(TNMXI)\n" + 9523 " │ ├─ index: [TNMXI.id]\n" + 9524 " │ ├─ keys: [nd.HPCMS:22!null]\n" + 9525 " │ ├─ colSet: (115-117)\n" + 9526 " │ ├─ tableId: 12\n" + 9527 " │ └─ Table\n" + 9528 " │ ├─ name: TNMXI\n" + 9529 " │ └─ columns: [id dzlim f3yue]\n" + 9530 " └─ HashLookup\n" + 9531 " ├─ left-key: TUPLE(oxxei.BDNYB:1!null)\n" + 9532 " ├─ right-key: TUPLE(ckele.LWQ6O:0!null)\n" + 9533 " └─ SubqueryAlias\n" + 9534 " ├─ name: ckele\n" + 9535 " ├─ outerVisibility: false\n" + 9536 " ├─ isLateral: false\n" + 9537 " ├─ cacheable: true\n" + 9538 " ├─ colSet: (150,151)\n" + 9539 " ├─ tableId: 18\n" + 9540 " └─ Project\n" + 9541 " ├─ columns: [noxn3.id:1!null as LWQ6O, row_number() over ( order by noxn3.id asc):0!null as M6T2N]\n" + 9542 " └─ Window\n" + 9543 " ├─ row_number() over ( order by noxn3.id ASC)\n" + 9544 " ├─ noxn3.id:0!null\n" + 9545 " └─ Table\n" + 9546 " ├─ name: NOXN3\n" + 9547 " ├─ columns: [id]\n" + 9548 " ├─ colSet: (137-146)\n" + 9549 " └─ tableId: 17\n" + 9550 "", 9551 ExpectedEstimates: "Distinct\n" + 9552 " └─ Project\n" + 9553 " ├─ columns: [oxxei.T4IBQ, oxxei.Z7CP5, e52ap.KUXQY, oxxei.BDNYB, ckele.M6T2N, oxxei.BTXC5 as BTXC5, oxxei.vaf as vaf, oxxei.QCGTS as QCGTS, oxxei.SNY4H as SNY4H, e52ap.YHVEZ as YHVEZ, e52ap.YAZ4X as YAZ4X]\n" + 9554 " └─ Sort(ckele.M6T2N ASC)\n" + 9555 " └─ Project\n" + 9556 " ├─ columns: [oxxei.T4IBQ, oxxei.BDNYB, oxxei.BTXC5, oxxei.Z7CP5, oxxei.vaf, oxxei.QCGTS, oxxei.SNY4H, e52ap.KUXQY, e52ap.BDNYB, e52ap.YHVEZ, e52ap.YAZ4X, ckele.LWQ6O, ckele.M6T2N, oxxei.BTXC5 as BTXC5, oxxei.vaf as vaf, oxxei.QCGTS as QCGTS, oxxei.SNY4H as SNY4H, e52ap.YHVEZ as YHVEZ, e52ap.YAZ4X as YAZ4X]\n" + 9557 " └─ HashJoin\n" + 9558 " ├─ (ckele.LWQ6O = oxxei.BDNYB)\n" + 9559 " ├─ HashJoin\n" + 9560 " │ ├─ (e52ap.BDNYB = oxxei.BDNYB)\n" + 9561 " │ ├─ SubqueryAlias\n" + 9562 " │ │ ├─ name: oxxei\n" + 9563 " │ │ ├─ outerVisibility: false\n" + 9564 " │ │ ├─ isLateral: false\n" + 9565 " │ │ ├─ cacheable: true\n" + 9566 " │ │ └─ Project\n" + 9567 " │ │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, aac.BTXC5 as BTXC5, mf.id as Z7CP5, CASE WHEN (NOT(mf.LT7K6 IS NULL)) THEN mf.LT7K6 ELSE mf.SPPYD END as vaf, CASE WHEN (NOT(mf.QCGTS IS NULL)) THEN mf.QCGTS ELSE 0.5 END as QCGTS, CASE WHEN (vc.ZNP4P = 'L5Q44') THEN 1 ELSE 0 END as SNY4H]\n" + 9568 " │ │ └─ HashJoin\n" + 9569 " │ │ ├─ (vc.id = w2mao.YH4XB)\n" + 9570 " │ │ ├─ HashJoin\n" + 9571 " │ │ │ ├─ (mf.GXLUB = bs.id)\n" + 9572 " │ │ │ ├─ MergeJoin\n" + 9573 " │ │ │ │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 9574 " │ │ │ │ ├─ Filter\n" + 9575 " │ │ │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 9576 " │ │ │ │ │ └─ TableAlias(cla)\n" + 9577 " │ │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 9578 " │ │ │ │ │ ├─ index: [YK2GW.id]\n" + 9579 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9580 " │ │ │ │ │ └─ columns: [id ftqlq]\n" + 9581 " │ │ │ │ └─ TableAlias(bs)\n" + 9582 " │ │ │ │ └─ IndexedTableAccess(THNTS)\n" + 9583 " │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 9584 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9585 " │ │ │ │ └─ columns: [id ixuxu]\n" + 9586 " │ │ │ └─ HashLookup\n" + 9587 " │ │ │ ├─ left-key: (bs.id)\n" + 9588 " │ │ │ ├─ right-key: (mf.GXLUB)\n" + 9589 " │ │ │ └─ LookupJoin\n" + 9590 " │ │ │ ├─ LookupJoin\n" + 9591 " │ │ │ │ ├─ MergeJoin\n" + 9592 " │ │ │ │ │ ├─ cmp: (mf.LUEVY = sn.BRQP2)\n" + 9593 " │ │ │ │ │ ├─ Filter\n" + 9594 " │ │ │ │ │ │ ├─ (mf.FSDY2 HASH IN ('SRARY', 'UBQWG'))\n" + 9595 " │ │ │ │ │ │ └─ TableAlias(mf)\n" + 9596 " │ │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 9597 " │ │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 9598 " │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9599 " │ │ │ │ │ │ └─ columns: [id gxlub luevy m22qn fsdy2 lt7k6 sppyd qcgts]\n" + 9600 " │ │ │ │ │ └─ TableAlias(sn)\n" + 9601 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 9602 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 9603 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9604 " │ │ │ │ │ └─ columns: [id brqp2]\n" + 9605 " │ │ │ │ └─ TableAlias(aac)\n" + 9606 " │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 9607 " │ │ │ │ ├─ index: [TPXBU.id]\n" + 9608 " │ │ │ │ ├─ columns: [id btxc5]\n" + 9609 " │ │ │ │ └─ keys: mf.M22QN\n" + 9610 " │ │ │ └─ TableAlias(w2mao)\n" + 9611 " │ │ │ └─ IndexedTableAccess(SEQS3)\n" + 9612 " │ │ │ ├─ index: [SEQS3.Z7CP5]\n" + 9613 " │ │ │ ├─ columns: [z7cp5 yh4xb]\n" + 9614 " │ │ │ └─ keys: mf.id\n" + 9615 " │ │ └─ HashLookup\n" + 9616 " │ │ ├─ left-key: (w2mao.YH4XB)\n" + 9617 " │ │ ├─ right-key: (vc.id)\n" + 9618 " │ │ └─ TableAlias(vc)\n" + 9619 " │ │ └─ Table\n" + 9620 " │ │ ├─ name: D34QP\n" + 9621 " │ │ └─ columns: [id znp4p]\n" + 9622 " │ └─ HashLookup\n" + 9623 " │ ├─ left-key: (oxxei.BDNYB)\n" + 9624 " │ ├─ right-key: (e52ap.BDNYB)\n" + 9625 " │ └─ SubqueryAlias\n" + 9626 " │ ├─ name: e52ap\n" + 9627 " │ ├─ outerVisibility: false\n" + 9628 " │ ├─ isLateral: false\n" + 9629 " │ ├─ cacheable: true\n" + 9630 " │ └─ Project\n" + 9631 " │ ├─ columns: [nd.TW55N as KUXQY, sn.id as BDNYB, nma.DZLIM as YHVEZ, CASE WHEN (nd.TCE7A < 0.9) THEN 1 ELSE 0 END as YAZ4X]\n" + 9632 " │ └─ Sort(sn.id ASC)\n" + 9633 " │ └─ Project\n" + 9634 " │ ├─ columns: [sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nma.id, nma.DZLIM, nma.F3YUE, nd.TW55N as KUXQY, sn.id as BDNYB, nma.DZLIM as YHVEZ, CASE WHEN (nd.TCE7A < 0.9) THEN 1 ELSE 0 END as YAZ4X]\n" + 9635 " │ └─ Filter\n" + 9636 " │ ├─ (NOT((nma.DZLIM = 'Q5I4E')))\n" + 9637 " │ └─ LeftOuterLookupJoin\n" + 9638 " │ ├─ LeftOuterMergeJoin\n" + 9639 " │ │ ├─ cmp: (sn.BRQP2 = nd.id)\n" + 9640 " │ │ ├─ TableAlias(sn)\n" + 9641 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 9642 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 9643 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9644 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 9645 " │ │ └─ TableAlias(nd)\n" + 9646 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 9647 " │ │ ├─ index: [E2I7U.id]\n" + 9648 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9649 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 9650 " │ └─ TableAlias(nma)\n" + 9651 " │ └─ IndexedTableAccess(TNMXI)\n" + 9652 " │ ├─ index: [TNMXI.id]\n" + 9653 " │ ├─ columns: [id dzlim f3yue]\n" + 9654 " │ └─ keys: nd.HPCMS\n" + 9655 " └─ HashLookup\n" + 9656 " ├─ left-key: (oxxei.BDNYB)\n" + 9657 " ├─ right-key: (ckele.LWQ6O)\n" + 9658 " └─ SubqueryAlias\n" + 9659 " ├─ name: ckele\n" + 9660 " ├─ outerVisibility: false\n" + 9661 " ├─ isLateral: false\n" + 9662 " ├─ cacheable: true\n" + 9663 " └─ Project\n" + 9664 " ├─ columns: [noxn3.id as LWQ6O, row_number() over ( order by noxn3.id asc) as M6T2N]\n" + 9665 " └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 9666 " └─ Table\n" + 9667 " ├─ name: NOXN3\n" + 9668 " └─ columns: [id]\n" + 9669 "", 9670 ExpectedAnalysis: "Distinct\n" + 9671 " └─ Project\n" + 9672 " ├─ columns: [oxxei.T4IBQ, oxxei.Z7CP5, e52ap.KUXQY, oxxei.BDNYB, ckele.M6T2N, oxxei.BTXC5 as BTXC5, oxxei.vaf as vaf, oxxei.QCGTS as QCGTS, oxxei.SNY4H as SNY4H, e52ap.YHVEZ as YHVEZ, e52ap.YAZ4X as YAZ4X]\n" + 9673 " └─ Sort(ckele.M6T2N ASC)\n" + 9674 " └─ Project\n" + 9675 " ├─ columns: [oxxei.T4IBQ, oxxei.BDNYB, oxxei.BTXC5, oxxei.Z7CP5, oxxei.vaf, oxxei.QCGTS, oxxei.SNY4H, e52ap.KUXQY, e52ap.BDNYB, e52ap.YHVEZ, e52ap.YAZ4X, ckele.LWQ6O, ckele.M6T2N, oxxei.BTXC5 as BTXC5, oxxei.vaf as vaf, oxxei.QCGTS as QCGTS, oxxei.SNY4H as SNY4H, e52ap.YHVEZ as YHVEZ, e52ap.YAZ4X as YAZ4X]\n" + 9676 " └─ HashJoin\n" + 9677 " ├─ (ckele.LWQ6O = oxxei.BDNYB)\n" + 9678 " ├─ HashJoin\n" + 9679 " │ ├─ (e52ap.BDNYB = oxxei.BDNYB)\n" + 9680 " │ ├─ SubqueryAlias\n" + 9681 " │ │ ├─ name: oxxei\n" + 9682 " │ │ ├─ outerVisibility: false\n" + 9683 " │ │ ├─ isLateral: false\n" + 9684 " │ │ ├─ cacheable: true\n" + 9685 " │ │ └─ Project\n" + 9686 " │ │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, aac.BTXC5 as BTXC5, mf.id as Z7CP5, CASE WHEN (NOT(mf.LT7K6 IS NULL)) THEN mf.LT7K6 ELSE mf.SPPYD END as vaf, CASE WHEN (NOT(mf.QCGTS IS NULL)) THEN mf.QCGTS ELSE 0.5 END as QCGTS, CASE WHEN (vc.ZNP4P = 'L5Q44') THEN 1 ELSE 0 END as SNY4H]\n" + 9687 " │ │ └─ HashJoin\n" + 9688 " │ │ ├─ (vc.id = w2mao.YH4XB)\n" + 9689 " │ │ ├─ HashJoin\n" + 9690 " │ │ │ ├─ (mf.GXLUB = bs.id)\n" + 9691 " │ │ │ ├─ MergeJoin\n" + 9692 " │ │ │ │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 9693 " │ │ │ │ ├─ Filter\n" + 9694 " │ │ │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 9695 " │ │ │ │ │ └─ TableAlias(cla)\n" + 9696 " │ │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 9697 " │ │ │ │ │ ├─ index: [YK2GW.id]\n" + 9698 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9699 " │ │ │ │ │ └─ columns: [id ftqlq]\n" + 9700 " │ │ │ │ └─ TableAlias(bs)\n" + 9701 " │ │ │ │ └─ IndexedTableAccess(THNTS)\n" + 9702 " │ │ │ │ ├─ index: [THNTS.IXUXU]\n" + 9703 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9704 " │ │ │ │ └─ columns: [id ixuxu]\n" + 9705 " │ │ │ └─ HashLookup\n" + 9706 " │ │ │ ├─ left-key: (bs.id)\n" + 9707 " │ │ │ ├─ right-key: (mf.GXLUB)\n" + 9708 " │ │ │ └─ LookupJoin\n" + 9709 " │ │ │ ├─ LookupJoin\n" + 9710 " │ │ │ │ ├─ MergeJoin\n" + 9711 " │ │ │ │ │ ├─ cmp: (mf.LUEVY = sn.BRQP2)\n" + 9712 " │ │ │ │ │ ├─ Filter\n" + 9713 " │ │ │ │ │ │ ├─ (mf.FSDY2 HASH IN ('SRARY', 'UBQWG'))\n" + 9714 " │ │ │ │ │ │ └─ TableAlias(mf)\n" + 9715 " │ │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 9716 " │ │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 9717 " │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9718 " │ │ │ │ │ │ └─ columns: [id gxlub luevy m22qn fsdy2 lt7k6 sppyd qcgts]\n" + 9719 " │ │ │ │ │ └─ TableAlias(sn)\n" + 9720 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 9721 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 9722 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9723 " │ │ │ │ │ └─ columns: [id brqp2]\n" + 9724 " │ │ │ │ └─ TableAlias(aac)\n" + 9725 " │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 9726 " │ │ │ │ ├─ index: [TPXBU.id]\n" + 9727 " │ │ │ │ ├─ columns: [id btxc5]\n" + 9728 " │ │ │ │ └─ keys: mf.M22QN\n" + 9729 " │ │ │ └─ TableAlias(w2mao)\n" + 9730 " │ │ │ └─ IndexedTableAccess(SEQS3)\n" + 9731 " │ │ │ ├─ index: [SEQS3.Z7CP5]\n" + 9732 " │ │ │ ├─ columns: [z7cp5 yh4xb]\n" + 9733 " │ │ │ └─ keys: mf.id\n" + 9734 " │ │ └─ HashLookup\n" + 9735 " │ │ ├─ left-key: (w2mao.YH4XB)\n" + 9736 " │ │ ├─ right-key: (vc.id)\n" + 9737 " │ │ └─ TableAlias(vc)\n" + 9738 " │ │ └─ Table\n" + 9739 " │ │ ├─ name: D34QP\n" + 9740 " │ │ └─ columns: [id znp4p]\n" + 9741 " │ └─ HashLookup\n" + 9742 " │ ├─ left-key: (oxxei.BDNYB)\n" + 9743 " │ ├─ right-key: (e52ap.BDNYB)\n" + 9744 " │ └─ SubqueryAlias\n" + 9745 " │ ├─ name: e52ap\n" + 9746 " │ ├─ outerVisibility: false\n" + 9747 " │ ├─ isLateral: false\n" + 9748 " │ ├─ cacheable: true\n" + 9749 " │ └─ Project\n" + 9750 " │ ├─ columns: [nd.TW55N as KUXQY, sn.id as BDNYB, nma.DZLIM as YHVEZ, CASE WHEN (nd.TCE7A < 0.9) THEN 1 ELSE 0 END as YAZ4X]\n" + 9751 " │ └─ Sort(sn.id ASC)\n" + 9752 " │ └─ Project\n" + 9753 " │ ├─ columns: [sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nma.id, nma.DZLIM, nma.F3YUE, nd.TW55N as KUXQY, sn.id as BDNYB, nma.DZLIM as YHVEZ, CASE WHEN (nd.TCE7A < 0.9) THEN 1 ELSE 0 END as YAZ4X]\n" + 9754 " │ └─ Filter\n" + 9755 " │ ├─ (NOT((nma.DZLIM = 'Q5I4E')))\n" + 9756 " │ └─ LeftOuterLookupJoin\n" + 9757 " │ ├─ LeftOuterMergeJoin\n" + 9758 " │ │ ├─ cmp: (sn.BRQP2 = nd.id)\n" + 9759 " │ │ ├─ TableAlias(sn)\n" + 9760 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 9761 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 9762 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9763 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 9764 " │ │ └─ TableAlias(nd)\n" + 9765 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 9766 " │ │ ├─ index: [E2I7U.id]\n" + 9767 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 9768 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 9769 " │ └─ TableAlias(nma)\n" + 9770 " │ └─ IndexedTableAccess(TNMXI)\n" + 9771 " │ ├─ index: [TNMXI.id]\n" + 9772 " │ ├─ columns: [id dzlim f3yue]\n" + 9773 " │ └─ keys: nd.HPCMS\n" + 9774 " └─ HashLookup\n" + 9775 " ├─ left-key: (oxxei.BDNYB)\n" + 9776 " ├─ right-key: (ckele.LWQ6O)\n" + 9777 " └─ SubqueryAlias\n" + 9778 " ├─ name: ckele\n" + 9779 " ├─ outerVisibility: false\n" + 9780 " ├─ isLateral: false\n" + 9781 " ├─ cacheable: true\n" + 9782 " └─ Project\n" + 9783 " ├─ columns: [noxn3.id as LWQ6O, row_number() over ( order by noxn3.id asc) as M6T2N]\n" + 9784 " └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 9785 " └─ Table\n" + 9786 " ├─ name: NOXN3\n" + 9787 " └─ columns: [id]\n" + 9788 "", 9789 }, 9790 { 9791 Query: ` 9792 WITH 9793 BMRZU AS 9794 (SELECT 9795 cla.FTQLQ AS T4IBQ, 9796 sn.id AS BDNYB, 9797 aac.BTXC5 AS BTXC5, 9798 mf.id AS Z7CP5, 9799 CASE 9800 WHEN mf.LT7K6 IS NOT NULL THEN mf.LT7K6 9801 ELSE mf.SPPYD 9802 END AS vaf, 9803 CASE 9804 WHEN mf.QCGTS IS NOT NULL THEN QCGTS 9805 ELSE 0.5 9806 END AS QCGTS, 9807 CASE 9808 WHEN vc.ZNP4P = 'L5Q44' THEN 1 9809 ELSE 0 9810 END AS SNY4H 9811 FROM YK2GW cla 9812 INNER JOIN THNTS bs ON bs.IXUXU = cla.id 9813 INNER JOIN HGMQ6 mf ON mf.GXLUB = bs.id 9814 INNER JOIN NOXN3 sn ON sn.BRQP2 = mf.LUEVY 9815 INNER JOIN TPXBU aac ON aac.id = mf.M22QN 9816 INNER JOIN SEQS3 W2MAO ON W2MAO.Z7CP5 = mf.id 9817 INNER JOIN D34QP vc ON vc.id = W2MAO.YH4XB 9818 WHERE cla.FTQLQ IN ('SQ1') 9819 AND mf.FSDY2 IN ('SRARY', 'UBQWG')), 9820 YU7NY AS 9821 (SELECT 9822 nd.TW55N AS KUXQY, 9823 sn.id AS BDNYB, 9824 nma.DZLIM AS YHVEZ, 9825 CASE 9826 WHEN nd.TCE7A < 0.9 THEN 1 9827 ELSE 0 9828 END AS YAZ4X 9829 FROM NOXN3 sn 9830 LEFT JOIN E2I7U nd ON sn.BRQP2 = nd.id 9831 LEFT JOIN TNMXI nma ON nd.HPCMS = nma.id 9832 WHERE nma.DZLIM != 'Q5I4E' 9833 ORDER BY sn.id ASC) 9834 SELECT DISTINCT 9835 OXXEI.T4IBQ, 9836 OXXEI.Z7CP5, 9837 E52AP.KUXQY, 9838 OXXEI.BDNYB, 9839 CKELE.M6T2N, 9840 OXXEI.BTXC5 as BTXC5, 9841 OXXEI.vaf as vaf, 9842 OXXEI.QCGTS as QCGTS, 9843 OXXEI.SNY4H as SNY4H, 9844 E52AP.YHVEZ as YHVEZ, 9845 E52AP.YAZ4X as YAZ4X 9846 FROM 9847 BMRZU OXXEI 9848 INNER JOIN YU7NY E52AP ON E52AP.BDNYB = OXXEI.BDNYB 9849 INNER JOIN 9850 (SELECT 9851 NOXN3.id as LWQ6O, 9852 ROW_NUMBER() OVER (ORDER BY NOXN3.id ASC) M6T2N 9853 FROM NOXN3) CKELE 9854 ON CKELE.LWQ6O = OXXEI.BDNYB 9855 ORDER BY CKELE.M6T2N ASC`, 9856 ExpectedPlan: "Distinct\n" + 9857 " └─ Project\n" + 9858 " ├─ columns: [oxxei.T4IBQ:0!null, oxxei.Z7CP5:3!null, e52ap.KUXQY:7!null, oxxei.BDNYB:1!null, ckele.M6T2N:12!null, oxxei.BTXC5:2 as BTXC5, oxxei.vaf:4 as vaf, oxxei.QCGTS:5 as QCGTS, oxxei.SNY4H:6!null as SNY4H, e52ap.YHVEZ:9!null as YHVEZ, e52ap.YAZ4X:10!null as YAZ4X]\n" + 9859 " └─ Sort(ckele.M6T2N:12!null ASC nullsFirst)\n" + 9860 " └─ Project\n" + 9861 " ├─ columns: [oxxei.T4IBQ:0!null, oxxei.BDNYB:1!null, oxxei.BTXC5:2, oxxei.Z7CP5:3!null, oxxei.vaf:4, oxxei.QCGTS:5, oxxei.SNY4H:6!null, e52ap.KUXQY:7!null, e52ap.BDNYB:8!null, e52ap.YHVEZ:9!null, e52ap.YAZ4X:10!null, ckele.LWQ6O:11!null, ckele.M6T2N:12!null, oxxei.BTXC5:2 as BTXC5, oxxei.vaf:4 as vaf, oxxei.QCGTS:5 as QCGTS, oxxei.SNY4H:6!null as SNY4H, e52ap.YHVEZ:9!null as YHVEZ, e52ap.YAZ4X:10!null as YAZ4X]\n" + 9862 " └─ HashJoin\n" + 9863 " ├─ Eq\n" + 9864 " │ ├─ ckele.LWQ6O:11!null\n" + 9865 " │ └─ oxxei.BDNYB:1!null\n" + 9866 " ├─ HashJoin\n" + 9867 " │ ├─ Eq\n" + 9868 " │ │ ├─ e52ap.BDNYB:8!null\n" + 9869 " │ │ └─ oxxei.BDNYB:1!null\n" + 9870 " │ ├─ SubqueryAlias\n" + 9871 " │ │ ├─ name: oxxei\n" + 9872 " │ │ ├─ outerVisibility: false\n" + 9873 " │ │ ├─ isLateral: false\n" + 9874 " │ │ ├─ cacheable: true\n" + 9875 " │ │ ├─ colSet: (126-132)\n" + 9876 " │ │ ├─ tableId: 15\n" + 9877 " │ │ └─ Project\n" + 9878 " │ │ ├─ columns: [cla.FTQLQ:15!null as T4IBQ, sn.id:0!null as BDNYB, aac.BTXC5:13 as BTXC5, mf.id:2!null as Z7CP5, CASE WHEN NOT\n" + 9879 " │ │ │ └─ mf.LT7K6:7 IS NULL\n" + 9880 " │ │ │ THEN mf.LT7K6:7 ELSE mf.SPPYD:8 END as vaf, CASE WHEN NOT\n" + 9881 " │ │ │ └─ mf.QCGTS:9 IS NULL\n" + 9882 " │ │ │ THEN mf.QCGTS:9 ELSE 0.5 (decimal(2,1)) END as QCGTS, CASE WHEN Eq\n" + 9883 " │ │ │ ├─ vc.ZNP4P:19!null\n" + 9884 " │ │ │ └─ L5Q44 (longtext)\n" + 9885 " │ │ │ THEN 1 (tinyint) ELSE 0 (tinyint) END as SNY4H]\n" + 9886 " │ │ └─ HashJoin\n" + 9887 " │ │ ├─ Eq\n" + 9888 " │ │ │ ├─ vc.id:18!null\n" + 9889 " │ │ │ └─ w2mao.YH4XB:11!null\n" + 9890 " │ │ ├─ HashJoin\n" + 9891 " │ │ │ ├─ Eq\n" + 9892 " │ │ │ │ ├─ mf.GXLUB:3!null\n" + 9893 " │ │ │ │ └─ bs.id:16!null\n" + 9894 " │ │ │ ├─ LookupJoin\n" + 9895 " │ │ │ │ ├─ LookupJoin\n" + 9896 " │ │ │ │ │ ├─ LookupJoin\n" + 9897 " │ │ │ │ │ │ ├─ TableAlias(sn)\n" + 9898 " │ │ │ │ │ │ │ └─ Table\n" + 9899 " │ │ │ │ │ │ │ ├─ name: NOXN3\n" + 9900 " │ │ │ │ │ │ │ ├─ columns: [id brqp2]\n" + 9901 " │ │ │ │ │ │ │ ├─ colSet: (52-61)\n" + 9902 " │ │ │ │ │ │ │ └─ tableId: 4\n" + 9903 " │ │ │ │ │ │ └─ Filter\n" + 9904 " │ │ │ │ │ │ ├─ HashIn\n" + 9905 " │ │ │ │ │ │ │ ├─ mf.FSDY2:4!null\n" + 9906 " │ │ │ │ │ │ │ └─ TUPLE(SRARY (longtext), UBQWG (longtext))\n" + 9907 " │ │ │ │ │ │ └─ TableAlias(mf)\n" + 9908 " │ │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 9909 " │ │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 9910 " │ │ │ │ │ │ ├─ keys: [sn.BRQP2:1!null]\n" + 9911 " │ │ │ │ │ │ ├─ colSet: (35-51)\n" + 9912 " │ │ │ │ │ │ ├─ tableId: 3\n" + 9913 " │ │ │ │ │ │ └─ Table\n" + 9914 " │ │ │ │ │ │ ├─ name: HGMQ6\n" + 9915 " │ │ │ │ │ │ └─ columns: [id gxlub luevy m22qn fsdy2 lt7k6 sppyd qcgts]\n" + 9916 " │ │ │ │ │ └─ TableAlias(w2mao)\n" + 9917 " │ │ │ │ │ └─ IndexedTableAccess(SEQS3)\n" + 9918 " │ │ │ │ │ ├─ index: [SEQS3.Z7CP5]\n" + 9919 " │ │ │ │ │ ├─ keys: [mf.id:2!null]\n" + 9920 " │ │ │ │ │ ├─ colSet: (65-67)\n" + 9921 " │ │ │ │ │ ├─ tableId: 6\n" + 9922 " │ │ │ │ │ └─ Table\n" + 9923 " │ │ │ │ │ ├─ name: SEQS3\n" + 9924 " │ │ │ │ │ └─ columns: [z7cp5 yh4xb]\n" + 9925 " │ │ │ │ └─ TableAlias(aac)\n" + 9926 " │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 9927 " │ │ │ │ ├─ index: [TPXBU.id]\n" + 9928 " │ │ │ │ ├─ keys: [mf.M22QN:5!null]\n" + 9929 " │ │ │ │ ├─ colSet: (62-64)\n" + 9930 " │ │ │ │ ├─ tableId: 5\n" + 9931 " │ │ │ │ └─ Table\n" + 9932 " │ │ │ │ ├─ name: TPXBU\n" + 9933 " │ │ │ │ └─ columns: [id btxc5]\n" + 9934 " │ │ │ └─ HashLookup\n" + 9935 " │ │ │ ├─ left-key: TUPLE(mf.GXLUB:3!null)\n" + 9936 " │ │ │ ├─ right-key: TUPLE(bs.id:2!null)\n" + 9937 " │ │ │ └─ MergeJoin\n" + 9938 " │ │ │ ├─ cmp: Eq\n" + 9939 " │ │ │ │ ├─ cla.id:14!null\n" + 9940 " │ │ │ │ └─ bs.IXUXU:17\n" + 9941 " │ │ │ ├─ Filter\n" + 9942 " │ │ │ │ ├─ HashIn\n" + 9943 " │ │ │ │ │ ├─ cla.FTQLQ:1!null\n" + 9944 " │ │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 9945 " │ │ │ │ └─ TableAlias(cla)\n" + 9946 " │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 9947 " │ │ │ │ ├─ index: [YK2GW.id]\n" + 9948 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 9949 " │ │ │ │ ├─ colSet: (1-30)\n" + 9950 " │ │ │ │ ├─ tableId: 1\n" + 9951 " │ │ │ │ └─ Table\n" + 9952 " │ │ │ │ ├─ name: YK2GW\n" + 9953 " │ │ │ │ └─ columns: [id ftqlq]\n" + 9954 " │ │ │ └─ TableAlias(bs)\n" + 9955 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 9956 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 9957 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 9958 " │ │ │ ├─ colSet: (31-34)\n" + 9959 " │ │ │ ├─ tableId: 2\n" + 9960 " │ │ │ └─ Table\n" + 9961 " │ │ │ ├─ name: THNTS\n" + 9962 " │ │ │ └─ columns: [id ixuxu]\n" + 9963 " │ │ └─ HashLookup\n" + 9964 " │ │ ├─ left-key: TUPLE(w2mao.YH4XB:11!null)\n" + 9965 " │ │ ├─ right-key: TUPLE(vc.id:0!null)\n" + 9966 " │ │ └─ TableAlias(vc)\n" + 9967 " │ │ └─ Table\n" + 9968 " │ │ ├─ name: D34QP\n" + 9969 " │ │ ├─ columns: [id znp4p]\n" + 9970 " │ │ ├─ colSet: (68-73)\n" + 9971 " │ │ └─ tableId: 7\n" + 9972 " │ └─ HashLookup\n" + 9973 " │ ├─ left-key: TUPLE(oxxei.BDNYB:1!null)\n" + 9974 " │ ├─ right-key: TUPLE(e52ap.BDNYB:1!null)\n" + 9975 " │ └─ SubqueryAlias\n" + 9976 " │ ├─ name: e52ap\n" + 9977 " │ ├─ outerVisibility: false\n" + 9978 " │ ├─ isLateral: false\n" + 9979 " │ ├─ cacheable: true\n" + 9980 " │ ├─ colSet: (133-136)\n" + 9981 " │ ├─ tableId: 16\n" + 9982 " │ └─ Project\n" + 9983 " │ ├─ columns: [nd.TW55N:13!null as KUXQY, sn.id:0!null as BDNYB, nma.DZLIM:28!null as YHVEZ, CASE WHEN LessThan\n" + 9984 " │ │ ├─ nd.TCE7A:20\n" + 9985 " │ │ └─ 0.9 (decimal(2,1))\n" + 9986 " │ │ THEN 1 (tinyint) ELSE 0 (tinyint) END as YAZ4X]\n" + 9987 " │ └─ Sort(sn.id:0!null ASC nullsFirst)\n" + 9988 " │ └─ Project\n" + 9989 " │ ├─ columns: [sn.id:0!null, sn.BRQP2:1!null, sn.FFTBJ:2!null, sn.A7XO2:3, sn.KBO7R:4!null, sn.ECDKM:5, sn.NUMK2:6!null, sn.LETOE:7!null, sn.YKSSU:8, sn.FHCYT:9, nd.id:10!null, nd.DKCAJ:11!null, nd.KNG7T:12, nd.TW55N:13!null, nd.QRQXW:14!null, nd.ECXAJ:15!null, nd.FGG57:16, nd.ZH72S:17, nd.FSK67:18!null, nd.XQDYT:19!null, nd.TCE7A:20, nd.IWV2H:21, nd.HPCMS:22!null, nd.N5CC2:23, nd.FHCYT:24, nd.ETAQ7:25, nd.A75X7:26, nma.id:27!null, nma.DZLIM:28!null, nma.F3YUE:29, nd.TW55N:13!null as KUXQY, sn.id:0!null as BDNYB, nma.DZLIM:28!null as YHVEZ, CASE WHEN LessThan\n" + 9990 " │ │ ├─ nd.TCE7A:20\n" + 9991 " │ │ └─ 0.9 (decimal(2,1))\n" + 9992 " │ │ THEN 1 (tinyint) ELSE 0 (tinyint) END as YAZ4X]\n" + 9993 " │ └─ Filter\n" + 9994 " │ ├─ NOT\n" + 9995 " │ │ └─ Eq\n" + 9996 " │ │ ├─ nma.DZLIM:28!null\n" + 9997 " │ │ └─ Q5I4E (longtext)\n" + 9998 " │ └─ LeftOuterLookupJoin\n" + 9999 " │ ├─ LeftOuterMergeJoin\n" + 10000 " │ │ ├─ cmp: Eq\n" + 10001 " │ │ │ ├─ sn.BRQP2:1!null\n" + 10002 " │ │ │ └─ nd.id:10!null\n" + 10003 " │ │ ├─ TableAlias(sn)\n" + 10004 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 10005 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 10006 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 10007 " │ │ │ ├─ colSet: (88-97)\n" + 10008 " │ │ │ ├─ tableId: 10\n" + 10009 " │ │ │ └─ Table\n" + 10010 " │ │ │ ├─ name: NOXN3\n" + 10011 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 10012 " │ │ └─ TableAlias(nd)\n" + 10013 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 10014 " │ │ ├─ index: [E2I7U.id]\n" + 10015 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 10016 " │ │ ├─ colSet: (98-114)\n" + 10017 " │ │ ├─ tableId: 11\n" + 10018 " │ │ └─ Table\n" + 10019 " │ │ ├─ name: E2I7U\n" + 10020 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 10021 " │ └─ TableAlias(nma)\n" + 10022 " │ └─ IndexedTableAccess(TNMXI)\n" + 10023 " │ ├─ index: [TNMXI.id]\n" + 10024 " │ ├─ keys: [nd.HPCMS:22!null]\n" + 10025 " │ ├─ colSet: (115-117)\n" + 10026 " │ ├─ tableId: 12\n" + 10027 " │ └─ Table\n" + 10028 " │ ├─ name: TNMXI\n" + 10029 " │ └─ columns: [id dzlim f3yue]\n" + 10030 " └─ HashLookup\n" + 10031 " ├─ left-key: TUPLE(oxxei.BDNYB:1!null)\n" + 10032 " ├─ right-key: TUPLE(ckele.LWQ6O:0!null)\n" + 10033 " └─ SubqueryAlias\n" + 10034 " ├─ name: ckele\n" + 10035 " ├─ outerVisibility: false\n" + 10036 " ├─ isLateral: false\n" + 10037 " ├─ cacheable: true\n" + 10038 " ├─ colSet: (150,151)\n" + 10039 " ├─ tableId: 18\n" + 10040 " └─ Project\n" + 10041 " ├─ columns: [noxn3.id:1!null as LWQ6O, row_number() over ( order by noxn3.id asc):0!null as M6T2N]\n" + 10042 " └─ Window\n" + 10043 " ├─ row_number() over ( order by noxn3.id ASC)\n" + 10044 " ├─ noxn3.id:0!null\n" + 10045 " └─ Table\n" + 10046 " ├─ name: NOXN3\n" + 10047 " ├─ columns: [id]\n" + 10048 " ├─ colSet: (137-146)\n" + 10049 " └─ tableId: 17\n" + 10050 "", 10051 ExpectedEstimates: "Distinct\n" + 10052 " └─ Project\n" + 10053 " ├─ columns: [oxxei.T4IBQ, oxxei.Z7CP5, e52ap.KUXQY, oxxei.BDNYB, ckele.M6T2N, oxxei.BTXC5 as BTXC5, oxxei.vaf as vaf, oxxei.QCGTS as QCGTS, oxxei.SNY4H as SNY4H, e52ap.YHVEZ as YHVEZ, e52ap.YAZ4X as YAZ4X]\n" + 10054 " └─ Sort(ckele.M6T2N ASC)\n" + 10055 " └─ Project\n" + 10056 " ├─ columns: [oxxei.T4IBQ, oxxei.BDNYB, oxxei.BTXC5, oxxei.Z7CP5, oxxei.vaf, oxxei.QCGTS, oxxei.SNY4H, e52ap.KUXQY, e52ap.BDNYB, e52ap.YHVEZ, e52ap.YAZ4X, ckele.LWQ6O, ckele.M6T2N, oxxei.BTXC5 as BTXC5, oxxei.vaf as vaf, oxxei.QCGTS as QCGTS, oxxei.SNY4H as SNY4H, e52ap.YHVEZ as YHVEZ, e52ap.YAZ4X as YAZ4X]\n" + 10057 " └─ HashJoin\n" + 10058 " ├─ (ckele.LWQ6O = oxxei.BDNYB)\n" + 10059 " ├─ HashJoin\n" + 10060 " │ ├─ (e52ap.BDNYB = oxxei.BDNYB)\n" + 10061 " │ ├─ SubqueryAlias\n" + 10062 " │ │ ├─ name: oxxei\n" + 10063 " │ │ ├─ outerVisibility: false\n" + 10064 " │ │ ├─ isLateral: false\n" + 10065 " │ │ ├─ cacheable: true\n" + 10066 " │ │ └─ Project\n" + 10067 " │ │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, aac.BTXC5 as BTXC5, mf.id as Z7CP5, CASE WHEN (NOT(mf.LT7K6 IS NULL)) THEN mf.LT7K6 ELSE mf.SPPYD END as vaf, CASE WHEN (NOT(mf.QCGTS IS NULL)) THEN mf.QCGTS ELSE 0.5 END as QCGTS, CASE WHEN (vc.ZNP4P = 'L5Q44') THEN 1 ELSE 0 END as SNY4H]\n" + 10068 " │ │ └─ HashJoin\n" + 10069 " │ │ ├─ (vc.id = w2mao.YH4XB)\n" + 10070 " │ │ ├─ HashJoin\n" + 10071 " │ │ │ ├─ (mf.GXLUB = bs.id)\n" + 10072 " │ │ │ ├─ LookupJoin\n" + 10073 " │ │ │ │ ├─ LookupJoin\n" + 10074 " │ │ │ │ │ ├─ LookupJoin\n" + 10075 " │ │ │ │ │ │ ├─ TableAlias(sn)\n" + 10076 " │ │ │ │ │ │ │ └─ Table\n" + 10077 " │ │ │ │ │ │ │ ├─ name: NOXN3\n" + 10078 " │ │ │ │ │ │ │ └─ columns: [id brqp2]\n" + 10079 " │ │ │ │ │ │ └─ Filter\n" + 10080 " │ │ │ │ │ │ ├─ (mf.FSDY2 HASH IN ('SRARY', 'UBQWG'))\n" + 10081 " │ │ │ │ │ │ └─ TableAlias(mf)\n" + 10082 " │ │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 10083 " │ │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 10084 " │ │ │ │ │ │ ├─ columns: [id gxlub luevy m22qn fsdy2 lt7k6 sppyd qcgts]\n" + 10085 " │ │ │ │ │ │ └─ keys: sn.BRQP2\n" + 10086 " │ │ │ │ │ └─ TableAlias(w2mao)\n" + 10087 " │ │ │ │ │ └─ IndexedTableAccess(SEQS3)\n" + 10088 " │ │ │ │ │ ├─ index: [SEQS3.Z7CP5]\n" + 10089 " │ │ │ │ │ ├─ columns: [z7cp5 yh4xb]\n" + 10090 " │ │ │ │ │ └─ keys: mf.id\n" + 10091 " │ │ │ │ └─ TableAlias(aac)\n" + 10092 " │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 10093 " │ │ │ │ ├─ index: [TPXBU.id]\n" + 10094 " │ │ │ │ ├─ columns: [id btxc5]\n" + 10095 " │ │ │ │ └─ keys: mf.M22QN\n" + 10096 " │ │ │ └─ HashLookup\n" + 10097 " │ │ │ ├─ left-key: (mf.GXLUB)\n" + 10098 " │ │ │ ├─ right-key: (bs.id)\n" + 10099 " │ │ │ └─ MergeJoin\n" + 10100 " │ │ │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 10101 " │ │ │ ├─ Filter\n" + 10102 " │ │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 10103 " │ │ │ │ └─ TableAlias(cla)\n" + 10104 " │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 10105 " │ │ │ │ ├─ index: [YK2GW.id]\n" + 10106 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 10107 " │ │ │ │ └─ columns: [id ftqlq]\n" + 10108 " │ │ │ └─ TableAlias(bs)\n" + 10109 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 10110 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 10111 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 10112 " │ │ │ └─ columns: [id ixuxu]\n" + 10113 " │ │ └─ HashLookup\n" + 10114 " │ │ ├─ left-key: (w2mao.YH4XB)\n" + 10115 " │ │ ├─ right-key: (vc.id)\n" + 10116 " │ │ └─ TableAlias(vc)\n" + 10117 " │ │ └─ Table\n" + 10118 " │ │ ├─ name: D34QP\n" + 10119 " │ │ └─ columns: [id znp4p]\n" + 10120 " │ └─ HashLookup\n" + 10121 " │ ├─ left-key: (oxxei.BDNYB)\n" + 10122 " │ ├─ right-key: (e52ap.BDNYB)\n" + 10123 " │ └─ SubqueryAlias\n" + 10124 " │ ├─ name: e52ap\n" + 10125 " │ ├─ outerVisibility: false\n" + 10126 " │ ├─ isLateral: false\n" + 10127 " │ ├─ cacheable: true\n" + 10128 " │ └─ Project\n" + 10129 " │ ├─ columns: [nd.TW55N as KUXQY, sn.id as BDNYB, nma.DZLIM as YHVEZ, CASE WHEN (nd.TCE7A < 0.9) THEN 1 ELSE 0 END as YAZ4X]\n" + 10130 " │ └─ Sort(sn.id ASC)\n" + 10131 " │ └─ Project\n" + 10132 " │ ├─ columns: [sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nma.id, nma.DZLIM, nma.F3YUE, nd.TW55N as KUXQY, sn.id as BDNYB, nma.DZLIM as YHVEZ, CASE WHEN (nd.TCE7A < 0.9) THEN 1 ELSE 0 END as YAZ4X]\n" + 10133 " │ └─ Filter\n" + 10134 " │ ├─ (NOT((nma.DZLIM = 'Q5I4E')))\n" + 10135 " │ └─ LeftOuterLookupJoin\n" + 10136 " │ ├─ LeftOuterMergeJoin\n" + 10137 " │ │ ├─ cmp: (sn.BRQP2 = nd.id)\n" + 10138 " │ │ ├─ TableAlias(sn)\n" + 10139 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 10140 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 10141 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 10142 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 10143 " │ │ └─ TableAlias(nd)\n" + 10144 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 10145 " │ │ ├─ index: [E2I7U.id]\n" + 10146 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 10147 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 10148 " │ └─ TableAlias(nma)\n" + 10149 " │ └─ IndexedTableAccess(TNMXI)\n" + 10150 " │ ├─ index: [TNMXI.id]\n" + 10151 " │ ├─ columns: [id dzlim f3yue]\n" + 10152 " │ └─ keys: nd.HPCMS\n" + 10153 " └─ HashLookup\n" + 10154 " ├─ left-key: (oxxei.BDNYB)\n" + 10155 " ├─ right-key: (ckele.LWQ6O)\n" + 10156 " └─ SubqueryAlias\n" + 10157 " ├─ name: ckele\n" + 10158 " ├─ outerVisibility: false\n" + 10159 " ├─ isLateral: false\n" + 10160 " ├─ cacheable: true\n" + 10161 " └─ Project\n" + 10162 " ├─ columns: [noxn3.id as LWQ6O, row_number() over ( order by noxn3.id asc) as M6T2N]\n" + 10163 " └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 10164 " └─ Table\n" + 10165 " ├─ name: NOXN3\n" + 10166 " └─ columns: [id]\n" + 10167 "", 10168 ExpectedAnalysis: "Distinct\n" + 10169 " └─ Project\n" + 10170 " ├─ columns: [oxxei.T4IBQ, oxxei.Z7CP5, e52ap.KUXQY, oxxei.BDNYB, ckele.M6T2N, oxxei.BTXC5 as BTXC5, oxxei.vaf as vaf, oxxei.QCGTS as QCGTS, oxxei.SNY4H as SNY4H, e52ap.YHVEZ as YHVEZ, e52ap.YAZ4X as YAZ4X]\n" + 10171 " └─ Sort(ckele.M6T2N ASC)\n" + 10172 " └─ Project\n" + 10173 " ├─ columns: [oxxei.T4IBQ, oxxei.BDNYB, oxxei.BTXC5, oxxei.Z7CP5, oxxei.vaf, oxxei.QCGTS, oxxei.SNY4H, e52ap.KUXQY, e52ap.BDNYB, e52ap.YHVEZ, e52ap.YAZ4X, ckele.LWQ6O, ckele.M6T2N, oxxei.BTXC5 as BTXC5, oxxei.vaf as vaf, oxxei.QCGTS as QCGTS, oxxei.SNY4H as SNY4H, e52ap.YHVEZ as YHVEZ, e52ap.YAZ4X as YAZ4X]\n" + 10174 " └─ HashJoin\n" + 10175 " ├─ (ckele.LWQ6O = oxxei.BDNYB)\n" + 10176 " ├─ HashJoin\n" + 10177 " │ ├─ (e52ap.BDNYB = oxxei.BDNYB)\n" + 10178 " │ ├─ SubqueryAlias\n" + 10179 " │ │ ├─ name: oxxei\n" + 10180 " │ │ ├─ outerVisibility: false\n" + 10181 " │ │ ├─ isLateral: false\n" + 10182 " │ │ ├─ cacheable: true\n" + 10183 " │ │ └─ Project\n" + 10184 " │ │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, aac.BTXC5 as BTXC5, mf.id as Z7CP5, CASE WHEN (NOT(mf.LT7K6 IS NULL)) THEN mf.LT7K6 ELSE mf.SPPYD END as vaf, CASE WHEN (NOT(mf.QCGTS IS NULL)) THEN mf.QCGTS ELSE 0.5 END as QCGTS, CASE WHEN (vc.ZNP4P = 'L5Q44') THEN 1 ELSE 0 END as SNY4H]\n" + 10185 " │ │ └─ HashJoin\n" + 10186 " │ │ ├─ (vc.id = w2mao.YH4XB)\n" + 10187 " │ │ ├─ HashJoin\n" + 10188 " │ │ │ ├─ (mf.GXLUB = bs.id)\n" + 10189 " │ │ │ ├─ LookupJoin\n" + 10190 " │ │ │ │ ├─ LookupJoin\n" + 10191 " │ │ │ │ │ ├─ LookupJoin\n" + 10192 " │ │ │ │ │ │ ├─ TableAlias(sn)\n" + 10193 " │ │ │ │ │ │ │ └─ Table\n" + 10194 " │ │ │ │ │ │ │ ├─ name: NOXN3\n" + 10195 " │ │ │ │ │ │ │ └─ columns: [id brqp2]\n" + 10196 " │ │ │ │ │ │ └─ Filter\n" + 10197 " │ │ │ │ │ │ ├─ (mf.FSDY2 HASH IN ('SRARY', 'UBQWG'))\n" + 10198 " │ │ │ │ │ │ └─ TableAlias(mf)\n" + 10199 " │ │ │ │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 10200 " │ │ │ │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 10201 " │ │ │ │ │ │ ├─ columns: [id gxlub luevy m22qn fsdy2 lt7k6 sppyd qcgts]\n" + 10202 " │ │ │ │ │ │ └─ keys: sn.BRQP2\n" + 10203 " │ │ │ │ │ └─ TableAlias(w2mao)\n" + 10204 " │ │ │ │ │ └─ IndexedTableAccess(SEQS3)\n" + 10205 " │ │ │ │ │ ├─ index: [SEQS3.Z7CP5]\n" + 10206 " │ │ │ │ │ ├─ columns: [z7cp5 yh4xb]\n" + 10207 " │ │ │ │ │ └─ keys: mf.id\n" + 10208 " │ │ │ │ └─ TableAlias(aac)\n" + 10209 " │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 10210 " │ │ │ │ ├─ index: [TPXBU.id]\n" + 10211 " │ │ │ │ ├─ columns: [id btxc5]\n" + 10212 " │ │ │ │ └─ keys: mf.M22QN\n" + 10213 " │ │ │ └─ HashLookup\n" + 10214 " │ │ │ ├─ left-key: (mf.GXLUB)\n" + 10215 " │ │ │ ├─ right-key: (bs.id)\n" + 10216 " │ │ │ └─ MergeJoin\n" + 10217 " │ │ │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 10218 " │ │ │ ├─ Filter\n" + 10219 " │ │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 10220 " │ │ │ │ └─ TableAlias(cla)\n" + 10221 " │ │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 10222 " │ │ │ │ ├─ index: [YK2GW.id]\n" + 10223 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 10224 " │ │ │ │ └─ columns: [id ftqlq]\n" + 10225 " │ │ │ └─ TableAlias(bs)\n" + 10226 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 10227 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 10228 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 10229 " │ │ │ └─ columns: [id ixuxu]\n" + 10230 " │ │ └─ HashLookup\n" + 10231 " │ │ ├─ left-key: (w2mao.YH4XB)\n" + 10232 " │ │ ├─ right-key: (vc.id)\n" + 10233 " │ │ └─ TableAlias(vc)\n" + 10234 " │ │ └─ Table\n" + 10235 " │ │ ├─ name: D34QP\n" + 10236 " │ │ └─ columns: [id znp4p]\n" + 10237 " │ └─ HashLookup\n" + 10238 " │ ├─ left-key: (oxxei.BDNYB)\n" + 10239 " │ ├─ right-key: (e52ap.BDNYB)\n" + 10240 " │ └─ SubqueryAlias\n" + 10241 " │ ├─ name: e52ap\n" + 10242 " │ ├─ outerVisibility: false\n" + 10243 " │ ├─ isLateral: false\n" + 10244 " │ ├─ cacheable: true\n" + 10245 " │ └─ Project\n" + 10246 " │ ├─ columns: [nd.TW55N as KUXQY, sn.id as BDNYB, nma.DZLIM as YHVEZ, CASE WHEN (nd.TCE7A < 0.9) THEN 1 ELSE 0 END as YAZ4X]\n" + 10247 " │ └─ Sort(sn.id ASC)\n" + 10248 " │ └─ Project\n" + 10249 " │ ├─ columns: [sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nma.id, nma.DZLIM, nma.F3YUE, nd.TW55N as KUXQY, sn.id as BDNYB, nma.DZLIM as YHVEZ, CASE WHEN (nd.TCE7A < 0.9) THEN 1 ELSE 0 END as YAZ4X]\n" + 10250 " │ └─ Filter\n" + 10251 " │ ├─ (NOT((nma.DZLIM = 'Q5I4E')))\n" + 10252 " │ └─ LeftOuterLookupJoin\n" + 10253 " │ ├─ LeftOuterMergeJoin\n" + 10254 " │ │ ├─ cmp: (sn.BRQP2 = nd.id)\n" + 10255 " │ │ ├─ TableAlias(sn)\n" + 10256 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 10257 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 10258 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 10259 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 10260 " │ │ └─ TableAlias(nd)\n" + 10261 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 10262 " │ │ ├─ index: [E2I7U.id]\n" + 10263 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 10264 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 10265 " │ └─ TableAlias(nma)\n" + 10266 " │ └─ IndexedTableAccess(TNMXI)\n" + 10267 " │ ├─ index: [TNMXI.id]\n" + 10268 " │ ├─ columns: [id dzlim f3yue]\n" + 10269 " │ └─ keys: nd.HPCMS\n" + 10270 " └─ HashLookup\n" + 10271 " ├─ left-key: (oxxei.BDNYB)\n" + 10272 " ├─ right-key: (ckele.LWQ6O)\n" + 10273 " └─ SubqueryAlias\n" + 10274 " ├─ name: ckele\n" + 10275 " ├─ outerVisibility: false\n" + 10276 " ├─ isLateral: false\n" + 10277 " ├─ cacheable: true\n" + 10278 " └─ Project\n" + 10279 " ├─ columns: [noxn3.id as LWQ6O, row_number() over ( order by noxn3.id asc) as M6T2N]\n" + 10280 " └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 10281 " └─ Table\n" + 10282 " ├─ name: NOXN3\n" + 10283 " └─ columns: [id]\n" + 10284 "", 10285 }, 10286 { 10287 Query: ` 10288 WITH 10289 FZFVD AS ( 10290 SELECT id, ROW_NUMBER() OVER (ORDER BY id ASC) - 1 AS M6T2N FROM NOXN3), 10291 JCHIR AS ( 10292 SELECT 10293 ism.FV24E AS FJDP5, 10294 CPMFE.id AS BJUF2, 10295 CPMFE.TW55N AS PSMU6, 10296 ism.M22QN AS M22QN, 10297 G3YXS.GE5EL, 10298 G3YXS.F7A4Q, 10299 G3YXS.ESFVY, 10300 CASE 10301 WHEN G3YXS.SL76B IN ('FO422', 'SJ53H') THEN 0 10302 WHEN G3YXS.SL76B IN ('DCV4Z', 'UOSM4', 'FUGIP', 'H5MCC', 'YKEQE', 'D3AKL') THEN 1 10303 WHEN G3YXS.SL76B IN ('QJEXM', 'J6S7P', 'VT7FI') THEN 2 10304 WHEN G3YXS.SL76B IN ('Y62X7') THEN 3 10305 END AS CC4AX, 10306 G3YXS.SL76B AS SL76B, 10307 YQIF4.id AS QNI57, 10308 YVHJZ.id AS TDEIU 10309 FROM 10310 HDDVB ism 10311 INNER JOIN YYBCX G3YXS ON G3YXS.id = ism.NZ4MQ 10312 LEFT JOIN 10313 WGSDC NHMXW 10314 ON 10315 NHMXW.id = ism.PRUV2 10316 LEFT JOIN 10317 E2I7U CPMFE 10318 ON 10319 CPMFE.ZH72S = NHMXW.NOHHR AND CPMFE.id <> ism.FV24E 10320 LEFT JOIN 10321 NOXN3 YQIF4 10322 ON 10323 YQIF4.BRQP2 = ism.FV24E 10324 AND 10325 YQIF4.FFTBJ = ism.UJ6XY 10326 LEFT JOIN 10327 NOXN3 YVHJZ 10328 ON 10329 YVHJZ.BRQP2 = ism.UJ6XY 10330 AND 10331 YVHJZ.FFTBJ = ism.FV24E 10332 WHERE 10333 YQIF4.id IS NOT NULL 10334 OR 10335 YVHJZ.id IS NOT NULL 10336 ), 10337 OXDGK AS ( 10338 SELECT 10339 FJDP5, 10340 BJUF2, 10341 PSMU6, 10342 M22QN, 10343 GE5EL, 10344 F7A4Q, 10345 ESFVY, 10346 CC4AX, 10347 SL76B, 10348 QNI57, 10349 TDEIU 10350 FROM 10351 JCHIR 10352 WHERE 10353 (QNI57 IS NOT NULL AND TDEIU IS NULL) 10354 OR 10355 (QNI57 IS NULL AND TDEIU IS NOT NULL) 10356 UNION 10357 SELECT 10358 FJDP5, 10359 BJUF2, 10360 PSMU6, 10361 M22QN, 10362 GE5EL, 10363 F7A4Q, 10364 ESFVY, 10365 CC4AX, 10366 SL76B, 10367 QNI57, 10368 NULL AS TDEIU 10369 FROM 10370 JCHIR 10371 WHERE 10372 (QNI57 IS NOT NULL AND TDEIU IS NOT NULL) 10373 UNION 10374 SELECT 10375 FJDP5, 10376 BJUF2, 10377 PSMU6, 10378 M22QN, 10379 GE5EL, 10380 F7A4Q, 10381 ESFVY, 10382 CC4AX, 10383 SL76B, 10384 NULL AS QNI57, 10385 TDEIU 10386 FROM 10387 JCHIR 10388 WHERE 10389 (QNI57 IS NOT NULL AND TDEIU IS NOT NULL) 10390 ) 10391 SELECT 10392 mf.FTQLQ AS T4IBQ, 10393 10394 CASE 10395 WHEN MJR3D.QNI57 IS NOT NULL 10396 THEN (SELECT ei.M6T2N FROM FZFVD ei WHERE ei.id = MJR3D.QNI57) 10397 WHEN MJR3D.TDEIU IS NOT NULL 10398 THEN (SELECT ei.M6T2N FROM FZFVD ei WHERE ei.id = MJR3D.TDEIU) 10399 END AS M6T2N, 10400 10401 GE5EL AS GE5EL, 10402 F7A4Q AS F7A4Q, 10403 CC4AX AS CC4AX, 10404 SL76B AS SL76B, 10405 aac.BTXC5 AS YEBDJ, 10406 PSMU6 10407 10408 FROM 10409 OXDGK MJR3D 10410 LEFT JOIN 10411 NOXN3 sn 10412 ON 10413 ( 10414 QNI57 IS NOT NULL 10415 AND 10416 sn.id = MJR3D.QNI57 10417 AND 10418 MJR3D.BJUF2 IS NULL 10419 ) 10420 OR 10421 ( 10422 QNI57 IS NOT NULL 10423 AND 10424 MJR3D.BJUF2 IS NOT NULL 10425 AND 10426 sn.id IN (SELECT JTEHG.id FROM NOXN3 JTEHG WHERE BRQP2 = MJR3D.BJUF2) 10427 ) 10428 OR 10429 ( 10430 TDEIU IS NOT NULL 10431 AND 10432 MJR3D.BJUF2 IS NULL 10433 AND 10434 sn.id IN (SELECT XMAFZ.id FROM NOXN3 XMAFZ WHERE BRQP2 = MJR3D.FJDP5) 10435 ) 10436 OR 10437 ( 10438 TDEIU IS NOT NULL 10439 AND 10440 MJR3D.BJUF2 IS NOT NULL 10441 AND 10442 sn.id IN (SELECT XMAFZ.id FROM NOXN3 XMAFZ WHERE BRQP2 = MJR3D.BJUF2) 10443 ) 10444 INNER JOIN 10445 ( 10446 SELECT FTQLQ, mf.LUEVY, mf.M22QN 10447 FROM YK2GW cla 10448 INNER JOIN THNTS bs ON cla.id = bs.IXUXU 10449 INNER JOIN HGMQ6 mf ON bs.id = mf.GXLUB 10450 WHERE cla.FTQLQ IN ('SQ1') 10451 ) mf 10452 ON mf.LUEVY = sn.BRQP2 AND mf.M22QN = MJR3D.M22QN 10453 INNER JOIN 10454 (SELECT * FROM TPXBU) aac 10455 ON aac.id = MJR3D.M22QN`, 10456 ExpectedPlan: "Project\n" + 10457 " ├─ columns: [mf.FTQLQ:21!null as T4IBQ, CASE WHEN NOT\n" + 10458 " │ └─ mjr3d.QNI57:9!null IS NULL\n" + 10459 " │ THEN Subquery\n" + 10460 " │ ├─ cacheable: false\n" + 10461 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.QNI57\n" + 10462 " │ └─ Project\n" + 10463 " │ ├─ columns: [ei.M6T2N:35!null]\n" + 10464 " │ └─ Filter\n" + 10465 " │ ├─ Eq\n" + 10466 " │ │ ├─ ei.id:34!null\n" + 10467 " │ │ └─ mjr3d.QNI57:9!null\n" + 10468 " │ └─ SubqueryAlias\n" + 10469 " │ ├─ name: ei\n" + 10470 " │ ├─ outerVisibility: true\n" + 10471 " │ ├─ isLateral: false\n" + 10472 " │ ├─ cacheable: true\n" + 10473 " │ ├─ colSet: (223,224)\n" + 10474 " │ ├─ tableId: 27\n" + 10475 " │ └─ Project\n" + 10476 " │ ├─ columns: [noxn3.id:35!null, (row_number() over ( order by noxn3.id asc):34!null - 1 (tinyint)) as M6T2N]\n" + 10477 " │ └─ Window\n" + 10478 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 10479 " │ ├─ noxn3.id:34!null\n" + 10480 " │ └─ Table\n" + 10481 " │ ├─ name: NOXN3\n" + 10482 " │ ├─ columns: [id]\n" + 10483 " │ ├─ colSet: (1-10)\n" + 10484 " │ └─ tableId: 1\n" + 10485 " │ WHEN NOT\n" + 10486 " │ └─ mjr3d.TDEIU:10!null IS NULL\n" + 10487 " │ THEN Subquery\n" + 10488 " │ ├─ cacheable: false\n" + 10489 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.TDEIU\n" + 10490 " │ └─ Project\n" + 10491 " │ ├─ columns: [ei.M6T2N:35!null]\n" + 10492 " │ └─ Filter\n" + 10493 " │ ├─ Eq\n" + 10494 " │ │ ├─ ei.id:34!null\n" + 10495 " │ │ └─ mjr3d.TDEIU:10!null\n" + 10496 " │ └─ SubqueryAlias\n" + 10497 " │ ├─ name: ei\n" + 10498 " │ ├─ outerVisibility: true\n" + 10499 " │ ├─ isLateral: false\n" + 10500 " │ ├─ cacheable: true\n" + 10501 " │ ├─ colSet: (225,226)\n" + 10502 " │ ├─ tableId: 28\n" + 10503 " │ └─ Project\n" + 10504 " │ ├─ columns: [noxn3.id:35!null, (row_number() over ( order by noxn3.id asc):34!null - 1 (tinyint)) as M6T2N]\n" + 10505 " │ └─ Window\n" + 10506 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 10507 " │ ├─ noxn3.id:34!null\n" + 10508 " │ └─ Table\n" + 10509 " │ ├─ name: NOXN3\n" + 10510 " │ ├─ columns: [id]\n" + 10511 " │ ├─ colSet: (1-10)\n" + 10512 " │ └─ tableId: 1\n" + 10513 " │ END as M6T2N, mjr3d.GE5EL:4 as GE5EL, mjr3d.F7A4Q:5 as F7A4Q, mjr3d.CC4AX:7 as CC4AX, mjr3d.SL76B:8!null as SL76B, aac.BTXC5:25 as YEBDJ, mjr3d.PSMU6:2!null]\n" + 10514 " └─ Project\n" + 10515 " ├─ columns: [mjr3d.FJDP5:0!null, mjr3d.BJUF2:1!null, mjr3d.PSMU6:2!null, mjr3d.M22QN:3!null, mjr3d.GE5EL:4, mjr3d.F7A4Q:5, mjr3d.ESFVY:6!null, mjr3d.CC4AX:7, mjr3d.SL76B:8!null, mjr3d.QNI57:9!null, mjr3d.TDEIU:10!null, sn.id:11!null, sn.BRQP2:12!null, sn.FFTBJ:13!null, sn.A7XO2:14, sn.KBO7R:15!null, sn.ECDKM:16, sn.NUMK2:17!null, sn.LETOE:18!null, sn.YKSSU:19, sn.FHCYT:20, mf.FTQLQ:21!null, mf.LUEVY:22!null, mf.M22QN:23!null, aac.id:24!null, aac.BTXC5:25, aac.FHCYT:26, mf.FTQLQ:21!null as T4IBQ, CASE WHEN NOT\n" + 10516 " │ └─ mjr3d.QNI57:9!null IS NULL\n" + 10517 " │ THEN Subquery\n" + 10518 " │ ├─ cacheable: false\n" + 10519 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.QNI57\n" + 10520 " │ └─ Project\n" + 10521 " │ ├─ columns: [ei.M6T2N:28!null]\n" + 10522 " │ └─ Filter\n" + 10523 " │ ├─ Eq\n" + 10524 " │ │ ├─ ei.id:27!null\n" + 10525 " │ │ └─ mjr3d.QNI57:9!null\n" + 10526 " │ └─ SubqueryAlias\n" + 10527 " │ ├─ name: ei\n" + 10528 " │ ├─ outerVisibility: true\n" + 10529 " │ ├─ isLateral: false\n" + 10530 " │ ├─ cacheable: true\n" + 10531 " │ ├─ colSet: (223,224)\n" + 10532 " │ ├─ tableId: 27\n" + 10533 " │ └─ Project\n" + 10534 " │ ├─ columns: [noxn3.id:28!null, (row_number() over ( order by noxn3.id asc):27!null - 1 (tinyint)) as M6T2N]\n" + 10535 " │ └─ Window\n" + 10536 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 10537 " │ ├─ noxn3.id:27!null\n" + 10538 " │ └─ Table\n" + 10539 " │ ├─ name: NOXN3\n" + 10540 " │ ├─ columns: [id]\n" + 10541 " │ ├─ colSet: (1-10)\n" + 10542 " │ └─ tableId: 1\n" + 10543 " │ WHEN NOT\n" + 10544 " │ └─ mjr3d.TDEIU:10!null IS NULL\n" + 10545 " │ THEN Subquery\n" + 10546 " │ ├─ cacheable: false\n" + 10547 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.TDEIU\n" + 10548 " │ └─ Project\n" + 10549 " │ ├─ columns: [ei.M6T2N:28!null]\n" + 10550 " │ └─ Filter\n" + 10551 " │ ├─ Eq\n" + 10552 " │ │ ├─ ei.id:27!null\n" + 10553 " │ │ └─ mjr3d.TDEIU:10!null\n" + 10554 " │ └─ SubqueryAlias\n" + 10555 " │ ├─ name: ei\n" + 10556 " │ ├─ outerVisibility: true\n" + 10557 " │ ├─ isLateral: false\n" + 10558 " │ ├─ cacheable: true\n" + 10559 " │ ├─ colSet: (225,226)\n" + 10560 " │ ├─ tableId: 28\n" + 10561 " │ └─ Project\n" + 10562 " │ ├─ columns: [noxn3.id:28!null, (row_number() over ( order by noxn3.id asc):27!null - 1 (tinyint)) as M6T2N]\n" + 10563 " │ └─ Window\n" + 10564 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 10565 " │ ├─ noxn3.id:27!null\n" + 10566 " │ └─ Table\n" + 10567 " │ ├─ name: NOXN3\n" + 10568 " │ ├─ columns: [id]\n" + 10569 " │ ├─ colSet: (1-10)\n" + 10570 " │ └─ tableId: 1\n" + 10571 " │ END as M6T2N, mjr3d.GE5EL:4 as GE5EL, mjr3d.F7A4Q:5 as F7A4Q, mjr3d.CC4AX:7 as CC4AX, mjr3d.SL76B:8!null as SL76B, aac.BTXC5:25 as YEBDJ]\n" + 10572 " └─ HashJoin\n" + 10573 " ├─ Eq\n" + 10574 " │ ├─ aac.id:24!null\n" + 10575 " │ └─ mjr3d.M22QN:3!null\n" + 10576 " ├─ HashJoin\n" + 10577 " │ ├─ AND\n" + 10578 " │ │ ├─ Eq\n" + 10579 " │ │ │ ├─ mf.LUEVY:22!null\n" + 10580 " │ │ │ └─ sn.BRQP2:12!null\n" + 10581 " │ │ └─ Eq\n" + 10582 " │ │ ├─ mf.M22QN:23!null\n" + 10583 " │ │ └─ mjr3d.M22QN:3!null\n" + 10584 " │ ├─ LeftOuterJoin\n" + 10585 " │ │ ├─ Or\n" + 10586 " │ │ │ ├─ Or\n" + 10587 " │ │ │ │ ├─ Or\n" + 10588 " │ │ │ │ │ ├─ AND\n" + 10589 " │ │ │ │ │ │ ├─ AND\n" + 10590 " │ │ │ │ │ │ │ ├─ NOT\n" + 10591 " │ │ │ │ │ │ │ │ └─ mjr3d.QNI57:9!null IS NULL\n" + 10592 " │ │ │ │ │ │ │ └─ Eq\n" + 10593 " │ │ │ │ │ │ │ ├─ sn.id:11!null\n" + 10594 " │ │ │ │ │ │ │ └─ mjr3d.QNI57:9!null\n" + 10595 " │ │ │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 10596 " │ │ │ │ │ └─ AND\n" + 10597 " │ │ │ │ │ ├─ AND\n" + 10598 " │ │ │ │ │ │ ├─ NOT\n" + 10599 " │ │ │ │ │ │ │ └─ mjr3d.QNI57:9!null IS NULL\n" + 10600 " │ │ │ │ │ │ └─ NOT\n" + 10601 " │ │ │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 10602 " │ │ │ │ │ └─ InSubquery\n" + 10603 " │ │ │ │ │ ├─ left: sn.id:11!null\n" + 10604 " │ │ │ │ │ └─ right: Subquery\n" + 10605 " │ │ │ │ │ ├─ cacheable: false\n" + 10606 " │ │ │ │ │ ├─ alias-string: select JTEHG.id from NOXN3 as JTEHG where BRQP2 = MJR3D.BJUF2\n" + 10607 " │ │ │ │ │ └─ Project\n" + 10608 " │ │ │ │ │ ├─ columns: [jtehg.id:21!null]\n" + 10609 " │ │ │ │ │ └─ Filter\n" + 10610 " │ │ │ │ │ ├─ Eq\n" + 10611 " │ │ │ │ │ │ ├─ jtehg.BRQP2:22!null\n" + 10612 " │ │ │ │ │ │ └─ mjr3d.BJUF2:1!null\n" + 10613 " │ │ │ │ │ └─ TableAlias(jtehg)\n" + 10614 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 10615 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 10616 " │ │ │ │ │ ├─ keys: [mjr3d.BJUF2:1!null]\n" + 10617 " │ │ │ │ │ ├─ colSet: (132-141)\n" + 10618 " │ │ │ │ │ ├─ tableId: 18\n" + 10619 " │ │ │ │ │ └─ Table\n" + 10620 " │ │ │ │ │ ├─ name: NOXN3\n" + 10621 " │ │ │ │ │ └─ columns: [id brqp2]\n" + 10622 " │ │ │ │ └─ AND\n" + 10623 " │ │ │ │ ├─ AND\n" + 10624 " │ │ │ │ │ ├─ NOT\n" + 10625 " │ │ │ │ │ │ └─ mjr3d.TDEIU:10!null IS NULL\n" + 10626 " │ │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 10627 " │ │ │ │ └─ InSubquery\n" + 10628 " │ │ │ │ ├─ left: sn.id:11!null\n" + 10629 " │ │ │ │ └─ right: Subquery\n" + 10630 " │ │ │ │ ├─ cacheable: false\n" + 10631 " │ │ │ │ ├─ alias-string: select XMAFZ.id from NOXN3 as XMAFZ where BRQP2 = MJR3D.FJDP5\n" + 10632 " │ │ │ │ └─ Project\n" + 10633 " │ │ │ │ ├─ columns: [xmafz.id:21!null]\n" + 10634 " │ │ │ │ └─ Filter\n" + 10635 " │ │ │ │ ├─ Eq\n" + 10636 " │ │ │ │ │ ├─ xmafz.BRQP2:22!null\n" + 10637 " │ │ │ │ │ └─ mjr3d.FJDP5:0!null\n" + 10638 " │ │ │ │ └─ TableAlias(xmafz)\n" + 10639 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 10640 " │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 10641 " │ │ │ │ ├─ keys: [mjr3d.FJDP5:0!null]\n" + 10642 " │ │ │ │ ├─ colSet: (142-151)\n" + 10643 " │ │ │ │ ├─ tableId: 19\n" + 10644 " │ │ │ │ └─ Table\n" + 10645 " │ │ │ │ ├─ name: NOXN3\n" + 10646 " │ │ │ │ └─ columns: [id brqp2]\n" + 10647 " │ │ │ └─ AND\n" + 10648 " │ │ │ ├─ AND\n" + 10649 " │ │ │ │ ├─ NOT\n" + 10650 " │ │ │ │ │ └─ mjr3d.TDEIU:10!null IS NULL\n" + 10651 " │ │ │ │ └─ NOT\n" + 10652 " │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 10653 " │ │ │ └─ InSubquery\n" + 10654 " │ │ │ ├─ left: sn.id:11!null\n" + 10655 " │ │ │ └─ right: Subquery\n" + 10656 " │ │ │ ├─ cacheable: false\n" + 10657 " │ │ │ ├─ alias-string: select XMAFZ.id from NOXN3 as XMAFZ where BRQP2 = MJR3D.BJUF2\n" + 10658 " │ │ │ └─ Project\n" + 10659 " │ │ │ ├─ columns: [xmafz.id:21!null]\n" + 10660 " │ │ │ └─ Filter\n" + 10661 " │ │ │ ├─ Eq\n" + 10662 " │ │ │ │ ├─ xmafz.BRQP2:22!null\n" + 10663 " │ │ │ │ └─ mjr3d.BJUF2:1!null\n" + 10664 " │ │ │ └─ TableAlias(xmafz)\n" + 10665 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 10666 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 10667 " │ │ │ ├─ keys: [mjr3d.BJUF2:1!null]\n" + 10668 " │ │ │ ├─ colSet: (152-161)\n" + 10669 " │ │ │ ├─ tableId: 20\n" + 10670 " │ │ │ └─ Table\n" + 10671 " │ │ │ ├─ name: NOXN3\n" + 10672 " │ │ │ └─ columns: [id brqp2]\n" + 10673 " │ │ ├─ SubqueryAlias\n" + 10674 " │ │ │ ├─ name: mjr3d\n" + 10675 " │ │ │ ├─ outerVisibility: false\n" + 10676 " │ │ │ ├─ isLateral: false\n" + 10677 " │ │ │ ├─ cacheable: true\n" + 10678 " │ │ │ ├─ colSet: (111-121)\n" + 10679 " │ │ │ ├─ tableId: 16\n" + 10680 " │ │ │ └─ Union distinct\n" + 10681 " │ │ │ ├─ Project\n" + 10682 " │ │ │ │ ├─ columns: [jchir.FJDP5:0!null, jchir.BJUF2:1!null, jchir.PSMU6:2!null, jchir.M22QN:3!null, jchir.GE5EL:4, jchir.F7A4Q:5, jchir.ESFVY:6!null, jchir.CC4AX:7, jchir.SL76B:8!null, convert\n" + 10683 " │ │ │ │ │ ├─ type: char\n" + 10684 " │ │ │ │ │ └─ jchir.QNI57:9!null\n" + 10685 " │ │ │ │ │ as QNI57, TDEIU:10 as TDEIU]\n" + 10686 " │ │ │ │ └─ Union distinct\n" + 10687 " │ │ │ │ ├─ Project\n" + 10688 " │ │ │ │ │ ├─ columns: [jchir.FJDP5:0!null, jchir.BJUF2:1!null, jchir.PSMU6:2!null, jchir.M22QN:3!null, jchir.GE5EL:4, jchir.F7A4Q:5, jchir.ESFVY:6!null, jchir.CC4AX:7, jchir.SL76B:8!null, jchir.QNI57:9!null, convert\n" + 10689 " │ │ │ │ │ │ ├─ type: char\n" + 10690 " │ │ │ │ │ │ └─ jchir.TDEIU:10!null\n" + 10691 " │ │ │ │ │ │ as TDEIU]\n" + 10692 " │ │ │ │ │ └─ SubqueryAlias\n" + 10693 " │ │ │ │ │ ├─ name: jchir\n" + 10694 " │ │ │ │ │ ├─ outerVisibility: false\n" + 10695 " │ │ │ │ │ ├─ isLateral: false\n" + 10696 " │ │ │ │ │ ├─ cacheable: true\n" + 10697 " │ │ │ │ │ ├─ colSet: (87-97)\n" + 10698 " │ │ │ │ │ ├─ tableId: 10\n" + 10699 " │ │ │ │ │ └─ Filter\n" + 10700 " │ │ │ │ │ ├─ Or\n" + 10701 " │ │ │ │ │ │ ├─ AND\n" + 10702 " │ │ │ │ │ │ │ ├─ NOT\n" + 10703 " │ │ │ │ │ │ │ │ └─ QNI57:9!null IS NULL\n" + 10704 " │ │ │ │ │ │ │ └─ TDEIU:10!null IS NULL\n" + 10705 " │ │ │ │ │ │ └─ AND\n" + 10706 " │ │ │ │ │ │ ├─ QNI57:9!null IS NULL\n" + 10707 " │ │ │ │ │ │ └─ NOT\n" + 10708 " │ │ │ │ │ │ └─ TDEIU:10!null IS NULL\n" + 10709 " │ │ │ │ │ └─ Project\n" + 10710 " │ │ │ │ │ ├─ columns: [ism.FV24E:0!null as FJDP5, cpmfe.id:12!null as BJUF2, cpmfe.TW55N:13!null as PSMU6, ism.M22QN:2!null as M22QN, g3yxs.GE5EL:8, g3yxs.F7A4Q:9, g3yxs.ESFVY:6!null, CASE WHEN IN\n" + 10711 " │ │ │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10712 " │ │ │ │ │ │ └─ right: TUPLE(FO422 (longtext), SJ53H (longtext))\n" + 10713 " │ │ │ │ │ │ THEN 0 (tinyint) WHEN IN\n" + 10714 " │ │ │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10715 " │ │ │ │ │ │ └─ right: TUPLE(DCV4Z (longtext), UOSM4 (longtext), FUGIP (longtext), H5MCC (longtext), YKEQE (longtext), D3AKL (longtext))\n" + 10716 " │ │ │ │ │ │ THEN 1 (tinyint) WHEN IN\n" + 10717 " │ │ │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10718 " │ │ │ │ │ │ └─ right: TUPLE(QJEXM (longtext), J6S7P (longtext), VT7FI (longtext))\n" + 10719 " │ │ │ │ │ │ THEN 2 (tinyint) WHEN IN\n" + 10720 " │ │ │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10721 " │ │ │ │ │ │ └─ right: TUPLE(Y62X7 (longtext))\n" + 10722 " │ │ │ │ │ │ THEN 3 (tinyint) END as CC4AX, g3yxs.SL76B:7!null as SL76B, yqif4.id:15!null as QNI57, yvhjz.id:18!null as TDEIU]\n" + 10723 " │ │ │ │ │ └─ Filter\n" + 10724 " │ │ │ │ │ ├─ Or\n" + 10725 " │ │ │ │ │ │ ├─ NOT\n" + 10726 " │ │ │ │ │ │ │ └─ yqif4.id:15!null IS NULL\n" + 10727 " │ │ │ │ │ │ └─ NOT\n" + 10728 " │ │ │ │ │ │ └─ yvhjz.id:18!null IS NULL\n" + 10729 " │ │ │ │ │ └─ LeftOuterLookupJoin\n" + 10730 " │ │ │ │ │ ├─ Eq\n" + 10731 " │ │ │ │ │ │ ├─ yvhjz.BRQP2:19!null\n" + 10732 " │ │ │ │ │ │ └─ ism.UJ6XY:1!null\n" + 10733 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 10734 " │ │ │ │ │ │ ├─ Eq\n" + 10735 " │ │ │ │ │ │ │ ├─ yqif4.BRQP2:16!null\n" + 10736 " │ │ │ │ │ │ │ └─ ism.FV24E:0!null\n" + 10737 " │ │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 10738 " │ │ │ │ │ │ │ ├─ NOT\n" + 10739 " │ │ │ │ │ │ │ │ └─ Eq\n" + 10740 " │ │ │ │ │ │ │ │ ├─ cpmfe.id:12!null\n" + 10741 " │ │ │ │ │ │ │ │ └─ ism.FV24E:0!null\n" + 10742 " │ │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 10743 " │ │ │ │ │ │ │ │ ├─ Eq\n" + 10744 " │ │ │ │ │ │ │ │ │ ├─ nhmxw.id:10!null\n" + 10745 " │ │ │ │ │ │ │ │ │ └─ ism.PRUV2:4\n" + 10746 " │ │ │ │ │ │ │ │ ├─ MergeJoin\n" + 10747 " │ │ │ │ │ │ │ │ │ ├─ cmp: Eq\n" + 10748 " │ │ │ │ │ │ │ │ │ │ ├─ ism.NZ4MQ:3!null\n" + 10749 " │ │ │ │ │ │ │ │ │ │ └─ g3yxs.id:5!null\n" + 10750 " │ │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 10751 " │ │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 10752 " │ │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 10753 " │ │ │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 10754 " │ │ │ │ │ │ │ │ │ │ ├─ colSet: (15-23)\n" + 10755 " │ │ │ │ │ │ │ │ │ │ ├─ tableId: 4\n" + 10756 " │ │ │ │ │ │ │ │ │ │ └─ Table\n" + 10757 " │ │ │ │ │ │ │ │ │ │ ├─ name: HDDVB\n" + 10758 " │ │ │ │ │ │ │ │ │ │ └─ columns: [fv24e uj6xy m22qn nz4mq pruv2]\n" + 10759 " │ │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 10760 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 10761 " │ │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 10762 " │ │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 10763 " │ │ │ │ │ │ │ │ │ ├─ colSet: (24-31)\n" + 10764 " │ │ │ │ │ │ │ │ │ ├─ tableId: 5\n" + 10765 " │ │ │ │ │ │ │ │ │ └─ Table\n" + 10766 " │ │ │ │ │ │ │ │ │ ├─ name: YYBCX\n" + 10767 " │ │ │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q]\n" + 10768 " │ │ │ │ │ │ │ │ └─ HashLookup\n" + 10769 " │ │ │ │ │ │ │ │ ├─ left-key: TUPLE(ism.PRUV2:4)\n" + 10770 " │ │ │ │ │ │ │ │ ├─ right-key: TUPLE(nhmxw.id:0!null)\n" + 10771 " │ │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 10772 " │ │ │ │ │ │ │ │ └─ Table\n" + 10773 " │ │ │ │ │ │ │ │ ├─ name: WGSDC\n" + 10774 " │ │ │ │ │ │ │ │ ├─ columns: [id nohhr]\n" + 10775 " │ │ │ │ │ │ │ │ ├─ colSet: (32-41)\n" + 10776 " │ │ │ │ │ │ │ │ └─ tableId: 6\n" + 10777 " │ │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 10778 " │ │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 10779 " │ │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 10780 " │ │ │ │ │ │ │ ├─ keys: [nhmxw.NOHHR:11!null]\n" + 10781 " │ │ │ │ │ │ │ ├─ colSet: (42-58)\n" + 10782 " │ │ │ │ │ │ │ ├─ tableId: 7\n" + 10783 " │ │ │ │ │ │ │ └─ Table\n" + 10784 " │ │ │ │ │ │ │ ├─ name: E2I7U\n" + 10785 " │ │ │ │ │ │ │ └─ columns: [id tw55n zh72s]\n" + 10786 " │ │ │ │ │ │ └─ TableAlias(yqif4)\n" + 10787 " │ │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 10788 " │ │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 10789 " │ │ │ │ │ │ ├─ keys: [ism.UJ6XY:1!null]\n" + 10790 " │ │ │ │ │ │ ├─ colSet: (59-68)\n" + 10791 " │ │ │ │ │ │ ├─ tableId: 8\n" + 10792 " │ │ │ │ │ │ └─ Table\n" + 10793 " │ │ │ │ │ │ ├─ name: NOXN3\n" + 10794 " │ │ │ │ │ │ └─ columns: [id brqp2 fftbj]\n" + 10795 " │ │ │ │ │ └─ TableAlias(yvhjz)\n" + 10796 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 10797 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 10798 " │ │ │ │ │ ├─ keys: [ism.FV24E:0!null]\n" + 10799 " │ │ │ │ │ ├─ colSet: (69-78)\n" + 10800 " │ │ │ │ │ ├─ tableId: 9\n" + 10801 " │ │ │ │ │ └─ Table\n" + 10802 " │ │ │ │ │ ├─ name: NOXN3\n" + 10803 " │ │ │ │ │ └─ columns: [id brqp2 fftbj]\n" + 10804 " │ │ │ │ └─ Project\n" + 10805 " │ │ │ │ ├─ columns: [jchir.FJDP5:0!null, jchir.BJUF2:1!null, jchir.PSMU6:2!null, jchir.M22QN:3!null, jchir.GE5EL:4, jchir.F7A4Q:5, jchir.ESFVY:6!null, jchir.CC4AX:7, jchir.SL76B:8!null, jchir.QNI57:9!null, convert\n" + 10806 " │ │ │ │ │ ├─ type: char\n" + 10807 " │ │ │ │ │ └─ TDEIU:10\n" + 10808 " │ │ │ │ │ as TDEIU]\n" + 10809 " │ │ │ │ └─ Project\n" + 10810 " │ │ │ │ ├─ columns: [jchir.FJDP5:0!null, jchir.BJUF2:1!null, jchir.PSMU6:2!null, jchir.M22QN:3!null, jchir.GE5EL:4, jchir.F7A4Q:5, jchir.ESFVY:6!null, jchir.CC4AX:7, jchir.SL76B:8!null, jchir.QNI57:9!null, NULL (null) as TDEIU]\n" + 10811 " │ │ │ │ └─ SubqueryAlias\n" + 10812 " │ │ │ │ ├─ name: jchir\n" + 10813 " │ │ │ │ ├─ outerVisibility: false\n" + 10814 " │ │ │ │ ├─ isLateral: false\n" + 10815 " │ │ │ │ ├─ cacheable: true\n" + 10816 " │ │ │ │ ├─ colSet: (87-97)\n" + 10817 " │ │ │ │ ├─ tableId: 10\n" + 10818 " │ │ │ │ └─ Filter\n" + 10819 " │ │ │ │ ├─ AND\n" + 10820 " │ │ │ │ │ ├─ NOT\n" + 10821 " │ │ │ │ │ │ └─ QNI57:9!null IS NULL\n" + 10822 " │ │ │ │ │ └─ NOT\n" + 10823 " │ │ │ │ │ └─ TDEIU:10!null IS NULL\n" + 10824 " │ │ │ │ └─ Project\n" + 10825 " │ │ │ │ ├─ columns: [ism.FV24E:0!null as FJDP5, cpmfe.id:12!null as BJUF2, cpmfe.TW55N:13!null as PSMU6, ism.M22QN:2!null as M22QN, g3yxs.GE5EL:8, g3yxs.F7A4Q:9, g3yxs.ESFVY:6!null, CASE WHEN IN\n" + 10826 " │ │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10827 " │ │ │ │ │ └─ right: TUPLE(FO422 (longtext), SJ53H (longtext))\n" + 10828 " │ │ │ │ │ THEN 0 (tinyint) WHEN IN\n" + 10829 " │ │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10830 " │ │ │ │ │ └─ right: TUPLE(DCV4Z (longtext), UOSM4 (longtext), FUGIP (longtext), H5MCC (longtext), YKEQE (longtext), D3AKL (longtext))\n" + 10831 " │ │ │ │ │ THEN 1 (tinyint) WHEN IN\n" + 10832 " │ │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10833 " │ │ │ │ │ └─ right: TUPLE(QJEXM (longtext), J6S7P (longtext), VT7FI (longtext))\n" + 10834 " │ │ │ │ │ THEN 2 (tinyint) WHEN IN\n" + 10835 " │ │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10836 " │ │ │ │ │ └─ right: TUPLE(Y62X7 (longtext))\n" + 10837 " │ │ │ │ │ THEN 3 (tinyint) END as CC4AX, g3yxs.SL76B:7!null as SL76B, yqif4.id:15!null as QNI57, yvhjz.id:18!null as TDEIU]\n" + 10838 " │ │ │ │ └─ Filter\n" + 10839 " │ │ │ │ ├─ Or\n" + 10840 " │ │ │ │ │ ├─ NOT\n" + 10841 " │ │ │ │ │ │ └─ yqif4.id:15!null IS NULL\n" + 10842 " │ │ │ │ │ └─ NOT\n" + 10843 " │ │ │ │ │ └─ yvhjz.id:18!null IS NULL\n" + 10844 " │ │ │ │ └─ LeftOuterLookupJoin\n" + 10845 " │ │ │ │ ├─ Eq\n" + 10846 " │ │ │ │ │ ├─ yvhjz.BRQP2:19!null\n" + 10847 " │ │ │ │ │ └─ ism.UJ6XY:1!null\n" + 10848 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 10849 " │ │ │ │ │ ├─ Eq\n" + 10850 " │ │ │ │ │ │ ├─ yqif4.BRQP2:16!null\n" + 10851 " │ │ │ │ │ │ └─ ism.FV24E:0!null\n" + 10852 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 10853 " │ │ │ │ │ │ ├─ NOT\n" + 10854 " │ │ │ │ │ │ │ └─ Eq\n" + 10855 " │ │ │ │ │ │ │ ├─ cpmfe.id:12!null\n" + 10856 " │ │ │ │ │ │ │ └─ ism.FV24E:0!null\n" + 10857 " │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 10858 " │ │ │ │ │ │ │ ├─ Eq\n" + 10859 " │ │ │ │ │ │ │ │ ├─ nhmxw.id:10!null\n" + 10860 " │ │ │ │ │ │ │ │ └─ ism.PRUV2:4\n" + 10861 " │ │ │ │ │ │ │ ├─ MergeJoin\n" + 10862 " │ │ │ │ │ │ │ │ ├─ cmp: Eq\n" + 10863 " │ │ │ │ │ │ │ │ │ ├─ ism.NZ4MQ:3!null\n" + 10864 " │ │ │ │ │ │ │ │ │ └─ g3yxs.id:5!null\n" + 10865 " │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 10866 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 10867 " │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 10868 " │ │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 10869 " │ │ │ │ │ │ │ │ │ ├─ colSet: (15-23)\n" + 10870 " │ │ │ │ │ │ │ │ │ ├─ tableId: 4\n" + 10871 " │ │ │ │ │ │ │ │ │ └─ Table\n" + 10872 " │ │ │ │ │ │ │ │ │ ├─ name: HDDVB\n" + 10873 " │ │ │ │ │ │ │ │ │ └─ columns: [fv24e uj6xy m22qn nz4mq pruv2]\n" + 10874 " │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 10875 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 10876 " │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 10877 " │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 10878 " │ │ │ │ │ │ │ │ ├─ colSet: (24-31)\n" + 10879 " │ │ │ │ │ │ │ │ ├─ tableId: 5\n" + 10880 " │ │ │ │ │ │ │ │ └─ Table\n" + 10881 " │ │ │ │ │ │ │ │ ├─ name: YYBCX\n" + 10882 " │ │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q]\n" + 10883 " │ │ │ │ │ │ │ └─ HashLookup\n" + 10884 " │ │ │ │ │ │ │ ├─ left-key: TUPLE(ism.PRUV2:4)\n" + 10885 " │ │ │ │ │ │ │ ├─ right-key: TUPLE(nhmxw.id:0!null)\n" + 10886 " │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 10887 " │ │ │ │ │ │ │ └─ Table\n" + 10888 " │ │ │ │ │ │ │ ├─ name: WGSDC\n" + 10889 " │ │ │ │ │ │ │ ├─ columns: [id nohhr]\n" + 10890 " │ │ │ │ │ │ │ ├─ colSet: (32-41)\n" + 10891 " │ │ │ │ │ │ │ └─ tableId: 6\n" + 10892 " │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 10893 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 10894 " │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 10895 " │ │ │ │ │ │ ├─ keys: [nhmxw.NOHHR:11!null]\n" + 10896 " │ │ │ │ │ │ ├─ colSet: (42-58)\n" + 10897 " │ │ │ │ │ │ ├─ tableId: 7\n" + 10898 " │ │ │ │ │ │ └─ Table\n" + 10899 " │ │ │ │ │ │ ├─ name: E2I7U\n" + 10900 " │ │ │ │ │ │ └─ columns: [id tw55n zh72s]\n" + 10901 " │ │ │ │ │ └─ TableAlias(yqif4)\n" + 10902 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 10903 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 10904 " │ │ │ │ │ ├─ keys: [ism.UJ6XY:1!null]\n" + 10905 " │ │ │ │ │ ├─ colSet: (59-68)\n" + 10906 " │ │ │ │ │ ├─ tableId: 8\n" + 10907 " │ │ │ │ │ └─ Table\n" + 10908 " │ │ │ │ │ ├─ name: NOXN3\n" + 10909 " │ │ │ │ │ └─ columns: [id brqp2 fftbj]\n" + 10910 " │ │ │ │ └─ TableAlias(yvhjz)\n" + 10911 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 10912 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 10913 " │ │ │ │ ├─ keys: [ism.FV24E:0!null]\n" + 10914 " │ │ │ │ ├─ colSet: (69-78)\n" + 10915 " │ │ │ │ ├─ tableId: 9\n" + 10916 " │ │ │ │ └─ Table\n" + 10917 " │ │ │ │ ├─ name: NOXN3\n" + 10918 " │ │ │ │ └─ columns: [id brqp2 fftbj]\n" + 10919 " │ │ │ └─ Project\n" + 10920 " │ │ │ ├─ columns: [jchir.FJDP5:0!null, jchir.BJUF2:1!null, jchir.PSMU6:2!null, jchir.M22QN:3!null, jchir.GE5EL:4, jchir.F7A4Q:5, jchir.ESFVY:6!null, jchir.CC4AX:7, jchir.SL76B:8!null, convert\n" + 10921 " │ │ │ │ ├─ type: char\n" + 10922 " │ │ │ │ └─ QNI57:9\n" + 10923 " │ │ │ │ as QNI57, convert\n" + 10924 " │ │ │ │ ├─ type: char\n" + 10925 " │ │ │ │ └─ jchir.TDEIU:10!null\n" + 10926 " │ │ │ │ as TDEIU]\n" + 10927 " │ │ │ └─ Project\n" + 10928 " │ │ │ ├─ columns: [jchir.FJDP5:0!null, jchir.BJUF2:1!null, jchir.PSMU6:2!null, jchir.M22QN:3!null, jchir.GE5EL:4, jchir.F7A4Q:5, jchir.ESFVY:6!null, jchir.CC4AX:7, jchir.SL76B:8!null, NULL (null) as QNI57, jchir.TDEIU:10!null]\n" + 10929 " │ │ │ └─ SubqueryAlias\n" + 10930 " │ │ │ ├─ name: jchir\n" + 10931 " │ │ │ ├─ outerVisibility: false\n" + 10932 " │ │ │ ├─ isLateral: false\n" + 10933 " │ │ │ ├─ cacheable: true\n" + 10934 " │ │ │ ├─ colSet: (87-97)\n" + 10935 " │ │ │ ├─ tableId: 10\n" + 10936 " │ │ │ └─ Filter\n" + 10937 " │ │ │ ├─ AND\n" + 10938 " │ │ │ │ ├─ NOT\n" + 10939 " │ │ │ │ │ └─ QNI57:9!null IS NULL\n" + 10940 " │ │ │ │ └─ NOT\n" + 10941 " │ │ │ │ └─ TDEIU:10!null IS NULL\n" + 10942 " │ │ │ └─ Project\n" + 10943 " │ │ │ ├─ columns: [ism.FV24E:0!null as FJDP5, cpmfe.id:12!null as BJUF2, cpmfe.TW55N:13!null as PSMU6, ism.M22QN:2!null as M22QN, g3yxs.GE5EL:8, g3yxs.F7A4Q:9, g3yxs.ESFVY:6!null, CASE WHEN IN\n" + 10944 " │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10945 " │ │ │ │ └─ right: TUPLE(FO422 (longtext), SJ53H (longtext))\n" + 10946 " │ │ │ │ THEN 0 (tinyint) WHEN IN\n" + 10947 " │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10948 " │ │ │ │ └─ right: TUPLE(DCV4Z (longtext), UOSM4 (longtext), FUGIP (longtext), H5MCC (longtext), YKEQE (longtext), D3AKL (longtext))\n" + 10949 " │ │ │ │ THEN 1 (tinyint) WHEN IN\n" + 10950 " │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10951 " │ │ │ │ └─ right: TUPLE(QJEXM (longtext), J6S7P (longtext), VT7FI (longtext))\n" + 10952 " │ │ │ │ THEN 2 (tinyint) WHEN IN\n" + 10953 " │ │ │ │ ├─ left: g3yxs.SL76B:7!null\n" + 10954 " │ │ │ │ └─ right: TUPLE(Y62X7 (longtext))\n" + 10955 " │ │ │ │ THEN 3 (tinyint) END as CC4AX, g3yxs.SL76B:7!null as SL76B, yqif4.id:15!null as QNI57, yvhjz.id:18!null as TDEIU]\n" + 10956 " │ │ │ └─ Filter\n" + 10957 " │ │ │ ├─ Or\n" + 10958 " │ │ │ │ ├─ NOT\n" + 10959 " │ │ │ │ │ └─ yqif4.id:15!null IS NULL\n" + 10960 " │ │ │ │ └─ NOT\n" + 10961 " │ │ │ │ └─ yvhjz.id:18!null IS NULL\n" + 10962 " │ │ │ └─ LeftOuterLookupJoin\n" + 10963 " │ │ │ ├─ Eq\n" + 10964 " │ │ │ │ ├─ yvhjz.BRQP2:19!null\n" + 10965 " │ │ │ │ └─ ism.UJ6XY:1!null\n" + 10966 " │ │ │ ├─ LeftOuterLookupJoin\n" + 10967 " │ │ │ │ ├─ Eq\n" + 10968 " │ │ │ │ │ ├─ yqif4.BRQP2:16!null\n" + 10969 " │ │ │ │ │ └─ ism.FV24E:0!null\n" + 10970 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 10971 " │ │ │ │ │ ├─ NOT\n" + 10972 " │ │ │ │ │ │ └─ Eq\n" + 10973 " │ │ │ │ │ │ ├─ cpmfe.id:12!null\n" + 10974 " │ │ │ │ │ │ └─ ism.FV24E:0!null\n" + 10975 " │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 10976 " │ │ │ │ │ │ ├─ Eq\n" + 10977 " │ │ │ │ │ │ │ ├─ nhmxw.id:10!null\n" + 10978 " │ │ │ │ │ │ │ └─ ism.PRUV2:4\n" + 10979 " │ │ │ │ │ │ ├─ MergeJoin\n" + 10980 " │ │ │ │ │ │ │ ├─ cmp: Eq\n" + 10981 " │ │ │ │ │ │ │ │ ├─ ism.NZ4MQ:3!null\n" + 10982 " │ │ │ │ │ │ │ │ └─ g3yxs.id:5!null\n" + 10983 " │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 10984 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 10985 " │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 10986 " │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 10987 " │ │ │ │ │ │ │ │ ├─ colSet: (15-23)\n" + 10988 " │ │ │ │ │ │ │ │ ├─ tableId: 4\n" + 10989 " │ │ │ │ │ │ │ │ └─ Table\n" + 10990 " │ │ │ │ │ │ │ │ ├─ name: HDDVB\n" + 10991 " │ │ │ │ │ │ │ │ └─ columns: [fv24e uj6xy m22qn nz4mq pruv2]\n" + 10992 " │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 10993 " │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 10994 " │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 10995 " │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 10996 " │ │ │ │ │ │ │ ├─ colSet: (24-31)\n" + 10997 " │ │ │ │ │ │ │ ├─ tableId: 5\n" + 10998 " │ │ │ │ │ │ │ └─ Table\n" + 10999 " │ │ │ │ │ │ │ ├─ name: YYBCX\n" + 11000 " │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q]\n" + 11001 " │ │ │ │ │ │ └─ HashLookup\n" + 11002 " │ │ │ │ │ │ ├─ left-key: TUPLE(ism.PRUV2:4)\n" + 11003 " │ │ │ │ │ │ ├─ right-key: TUPLE(nhmxw.id:0!null)\n" + 11004 " │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 11005 " │ │ │ │ │ │ └─ Table\n" + 11006 " │ │ │ │ │ │ ├─ name: WGSDC\n" + 11007 " │ │ │ │ │ │ ├─ columns: [id nohhr]\n" + 11008 " │ │ │ │ │ │ ├─ colSet: (32-41)\n" + 11009 " │ │ │ │ │ │ └─ tableId: 6\n" + 11010 " │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 11011 " │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 11012 " │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 11013 " │ │ │ │ │ ├─ keys: [nhmxw.NOHHR:11!null]\n" + 11014 " │ │ │ │ │ ├─ colSet: (42-58)\n" + 11015 " │ │ │ │ │ ├─ tableId: 7\n" + 11016 " │ │ │ │ │ └─ Table\n" + 11017 " │ │ │ │ │ ├─ name: E2I7U\n" + 11018 " │ │ │ │ │ └─ columns: [id tw55n zh72s]\n" + 11019 " │ │ │ │ └─ TableAlias(yqif4)\n" + 11020 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11021 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11022 " │ │ │ │ ├─ keys: [ism.UJ6XY:1!null]\n" + 11023 " │ │ │ │ ├─ colSet: (59-68)\n" + 11024 " │ │ │ │ ├─ tableId: 8\n" + 11025 " │ │ │ │ └─ Table\n" + 11026 " │ │ │ │ ├─ name: NOXN3\n" + 11027 " │ │ │ │ └─ columns: [id brqp2 fftbj]\n" + 11028 " │ │ │ └─ TableAlias(yvhjz)\n" + 11029 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11030 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11031 " │ │ │ ├─ keys: [ism.FV24E:0!null]\n" + 11032 " │ │ │ ├─ colSet: (69-78)\n" + 11033 " │ │ │ ├─ tableId: 9\n" + 11034 " │ │ │ └─ Table\n" + 11035 " │ │ │ ├─ name: NOXN3\n" + 11036 " │ │ │ └─ columns: [id brqp2 fftbj]\n" + 11037 " │ │ └─ TableAlias(sn)\n" + 11038 " │ │ └─ ProcessTable\n" + 11039 " │ │ └─ Table\n" + 11040 " │ │ ├─ name: NOXN3\n" + 11041 " │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 11042 " │ └─ HashLookup\n" + 11043 " │ ├─ left-key: TUPLE(sn.BRQP2:12!null, mjr3d.M22QN:3!null)\n" + 11044 " │ ├─ right-key: TUPLE(mf.LUEVY:1!null, mf.M22QN:2!null)\n" + 11045 " │ └─ SubqueryAlias\n" + 11046 " │ ├─ name: mf\n" + 11047 " │ ├─ outerVisibility: false\n" + 11048 " │ ├─ isLateral: false\n" + 11049 " │ ├─ cacheable: true\n" + 11050 " │ ├─ colSet: (213-215)\n" + 11051 " │ ├─ tableId: 24\n" + 11052 " │ └─ Project\n" + 11053 " │ ├─ columns: [cla.FTQLQ:4!null, mf.LUEVY:1!null, mf.M22QN:2!null]\n" + 11054 " │ └─ HashJoin\n" + 11055 " │ ├─ Eq\n" + 11056 " │ │ ├─ bs.id:5!null\n" + 11057 " │ │ └─ mf.GXLUB:0!null\n" + 11058 " │ ├─ TableAlias(mf)\n" + 11059 " │ │ └─ Table\n" + 11060 " │ │ ├─ name: HGMQ6\n" + 11061 " │ │ ├─ columns: [gxlub luevy m22qn]\n" + 11062 " │ │ ├─ colSet: (196-212)\n" + 11063 " │ │ └─ tableId: 23\n" + 11064 " │ └─ HashLookup\n" + 11065 " │ ├─ left-key: TUPLE(mf.GXLUB:0!null)\n" + 11066 " │ ├─ right-key: TUPLE(bs.id:2!null)\n" + 11067 " │ └─ MergeJoin\n" + 11068 " │ ├─ cmp: Eq\n" + 11069 " │ │ ├─ cla.id:3!null\n" + 11070 " │ │ └─ bs.IXUXU:6\n" + 11071 " │ ├─ Filter\n" + 11072 " │ │ ├─ HashIn\n" + 11073 " │ │ │ ├─ cla.FTQLQ:1!null\n" + 11074 " │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 11075 " │ │ └─ TableAlias(cla)\n" + 11076 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 11077 " │ │ ├─ index: [YK2GW.id]\n" + 11078 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 11079 " │ │ ├─ colSet: (162-191)\n" + 11080 " │ │ ├─ tableId: 21\n" + 11081 " │ │ └─ Table\n" + 11082 " │ │ ├─ name: YK2GW\n" + 11083 " │ │ └─ columns: [id ftqlq]\n" + 11084 " │ └─ TableAlias(bs)\n" + 11085 " │ └─ IndexedTableAccess(THNTS)\n" + 11086 " │ ├─ index: [THNTS.IXUXU]\n" + 11087 " │ ├─ static: [{[NULL, ∞)}]\n" + 11088 " │ ├─ colSet: (192-195)\n" + 11089 " │ ├─ tableId: 22\n" + 11090 " │ └─ Table\n" + 11091 " │ ├─ name: THNTS\n" + 11092 " │ └─ columns: [id ixuxu]\n" + 11093 " └─ HashLookup\n" + 11094 " ├─ left-key: TUPLE(mjr3d.M22QN:3!null)\n" + 11095 " ├─ right-key: TUPLE(aac.id:0!null)\n" + 11096 " └─ SubqueryAlias\n" + 11097 " ├─ name: aac\n" + 11098 " ├─ outerVisibility: false\n" + 11099 " ├─ isLateral: false\n" + 11100 " ├─ cacheable: true\n" + 11101 " ├─ colSet: (219-221)\n" + 11102 " ├─ tableId: 26\n" + 11103 " └─ Table\n" + 11104 " ├─ name: TPXBU\n" + 11105 " ├─ columns: [id btxc5 fhcyt]\n" + 11106 " ├─ colSet: (216-218)\n" + 11107 " └─ tableId: 25\n" + 11108 "", 11109 ExpectedEstimates: "Project\n" + 11110 " ├─ columns: [mf.FTQLQ as T4IBQ, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 11111 " │ ├─ cacheable: false\n" + 11112 " │ └─ Project\n" + 11113 " │ ├─ columns: [ei.M6T2N]\n" + 11114 " │ └─ Filter\n" + 11115 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 11116 " │ └─ SubqueryAlias\n" + 11117 " │ ├─ name: ei\n" + 11118 " │ ├─ outerVisibility: true\n" + 11119 " │ ├─ isLateral: false\n" + 11120 " │ ├─ cacheable: true\n" + 11121 " │ └─ Project\n" + 11122 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 11123 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 11124 " │ └─ Table\n" + 11125 " │ ├─ name: NOXN3\n" + 11126 " │ └─ columns: [id]\n" + 11127 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 11128 " │ ├─ cacheable: false\n" + 11129 " │ └─ Project\n" + 11130 " │ ├─ columns: [ei.M6T2N]\n" + 11131 " │ └─ Filter\n" + 11132 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 11133 " │ └─ SubqueryAlias\n" + 11134 " │ ├─ name: ei\n" + 11135 " │ ├─ outerVisibility: true\n" + 11136 " │ ├─ isLateral: false\n" + 11137 " │ ├─ cacheable: true\n" + 11138 " │ └─ Project\n" + 11139 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 11140 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 11141 " │ └─ Table\n" + 11142 " │ ├─ name: NOXN3\n" + 11143 " │ └─ columns: [id]\n" + 11144 " │ END as M6T2N, mjr3d.GE5EL as GE5EL, mjr3d.F7A4Q as F7A4Q, mjr3d.CC4AX as CC4AX, mjr3d.SL76B as SL76B, aac.BTXC5 as YEBDJ, mjr3d.PSMU6]\n" + 11145 " └─ Project\n" + 11146 " ├─ columns: [mjr3d.FJDP5, mjr3d.BJUF2, mjr3d.PSMU6, mjr3d.M22QN, mjr3d.GE5EL, mjr3d.F7A4Q, mjr3d.ESFVY, mjr3d.CC4AX, mjr3d.SL76B, mjr3d.QNI57, mjr3d.TDEIU, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, mf.FTQLQ, mf.LUEVY, mf.M22QN, aac.id, aac.BTXC5, aac.FHCYT, mf.FTQLQ as T4IBQ, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 11147 " │ ├─ cacheable: false\n" + 11148 " │ └─ Project\n" + 11149 " │ ├─ columns: [ei.M6T2N]\n" + 11150 " │ └─ Filter\n" + 11151 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 11152 " │ └─ SubqueryAlias\n" + 11153 " │ ├─ name: ei\n" + 11154 " │ ├─ outerVisibility: true\n" + 11155 " │ ├─ isLateral: false\n" + 11156 " │ ├─ cacheable: true\n" + 11157 " │ └─ Project\n" + 11158 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 11159 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 11160 " │ └─ Table\n" + 11161 " │ ├─ name: NOXN3\n" + 11162 " │ └─ columns: [id]\n" + 11163 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 11164 " │ ├─ cacheable: false\n" + 11165 " │ └─ Project\n" + 11166 " │ ├─ columns: [ei.M6T2N]\n" + 11167 " │ └─ Filter\n" + 11168 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 11169 " │ └─ SubqueryAlias\n" + 11170 " │ ├─ name: ei\n" + 11171 " │ ├─ outerVisibility: true\n" + 11172 " │ ├─ isLateral: false\n" + 11173 " │ ├─ cacheable: true\n" + 11174 " │ └─ Project\n" + 11175 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 11176 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 11177 " │ └─ Table\n" + 11178 " │ ├─ name: NOXN3\n" + 11179 " │ └─ columns: [id]\n" + 11180 " │ END as M6T2N, mjr3d.GE5EL as GE5EL, mjr3d.F7A4Q as F7A4Q, mjr3d.CC4AX as CC4AX, mjr3d.SL76B as SL76B, aac.BTXC5 as YEBDJ]\n" + 11181 " └─ HashJoin (estimated cost=427.500 rows=125)\n" + 11182 " ├─ (aac.id = mjr3d.M22QN)\n" + 11183 " ├─ HashJoin (estimated cost=427.500 rows=125)\n" + 11184 " │ ├─ ((mf.LUEVY = sn.BRQP2) AND (mf.M22QN = mjr3d.M22QN))\n" + 11185 " │ ├─ LeftOuterJoin (estimated cost=1193112.000 rows=125)\n" + 11186 " │ │ ├─ ((((((NOT(mjr3d.QNI57 IS NULL)) AND (sn.id = mjr3d.QNI57)) AND mjr3d.BJUF2 IS NULL) OR (((NOT(mjr3d.QNI57 IS NULL)) AND (NOT(mjr3d.BJUF2 IS NULL))) AND InSubquery\n" + 11187 " │ │ │ ├─ left: sn.id\n" + 11188 " │ │ │ └─ right: Subquery\n" + 11189 " │ │ │ ├─ cacheable: false\n" + 11190 " │ │ │ └─ Project\n" + 11191 " │ │ │ ├─ columns: [jtehg.id]\n" + 11192 " │ │ │ └─ Filter\n" + 11193 " │ │ │ ├─ (jtehg.BRQP2 = mjr3d.BJUF2)\n" + 11194 " │ │ │ └─ TableAlias(jtehg)\n" + 11195 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11196 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 11197 " │ │ │ ├─ columns: [id brqp2]\n" + 11198 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 11199 " │ │ │ )) OR (((NOT(mjr3d.TDEIU IS NULL)) AND mjr3d.BJUF2 IS NULL) AND InSubquery\n" + 11200 " │ │ │ ├─ left: sn.id\n" + 11201 " │ │ │ └─ right: Subquery\n" + 11202 " │ │ │ ├─ cacheable: false\n" + 11203 " │ │ │ └─ Project\n" + 11204 " │ │ │ ├─ columns: [xmafz.id]\n" + 11205 " │ │ │ └─ Filter\n" + 11206 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.FJDP5)\n" + 11207 " │ │ │ └─ TableAlias(xmafz)\n" + 11208 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11209 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 11210 " │ │ │ ├─ columns: [id brqp2]\n" + 11211 " │ │ │ └─ keys: mjr3d.FJDP5\n" + 11212 " │ │ │ )) OR (((NOT(mjr3d.TDEIU IS NULL)) AND (NOT(mjr3d.BJUF2 IS NULL))) AND InSubquery\n" + 11213 " │ │ │ ├─ left: sn.id\n" + 11214 " │ │ │ └─ right: Subquery\n" + 11215 " │ │ │ ├─ cacheable: false\n" + 11216 " │ │ │ └─ Project\n" + 11217 " │ │ │ ├─ columns: [xmafz.id]\n" + 11218 " │ │ │ └─ Filter\n" + 11219 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.BJUF2)\n" + 11220 " │ │ │ └─ TableAlias(xmafz)\n" + 11221 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11222 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 11223 " │ │ │ ├─ columns: [id brqp2]\n" + 11224 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 11225 " │ │ │ ))\n" + 11226 " │ │ ├─ SubqueryAlias\n" + 11227 " │ │ │ ├─ name: mjr3d\n" + 11228 " │ │ │ ├─ outerVisibility: false\n" + 11229 " │ │ │ ├─ isLateral: false\n" + 11230 " │ │ │ ├─ cacheable: true\n" + 11231 " │ │ │ └─ Union distinct\n" + 11232 " │ │ │ ├─ Project\n" + 11233 " │ │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, convert(jchir.QNI57, char) as QNI57, TDEIU as TDEIU]\n" + 11234 " │ │ │ │ └─ Union distinct\n" + 11235 " │ │ │ │ ├─ Project\n" + 11236 " │ │ │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, jchir.QNI57, convert(jchir.TDEIU, char) as TDEIU]\n" + 11237 " │ │ │ │ │ └─ SubqueryAlias\n" + 11238 " │ │ │ │ │ ├─ name: jchir\n" + 11239 " │ │ │ │ │ ├─ outerVisibility: false\n" + 11240 " │ │ │ │ │ ├─ isLateral: false\n" + 11241 " │ │ │ │ │ ├─ cacheable: true\n" + 11242 " │ │ │ │ │ └─ Filter\n" + 11243 " │ │ │ │ │ ├─ (((NOT(QNI57 IS NULL)) AND TDEIU IS NULL) OR (QNI57 IS NULL AND (NOT(TDEIU IS NULL))))\n" + 11244 " │ │ │ │ │ └─ Project\n" + 11245 " │ │ │ │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, cpmfe.TW55N as PSMU6, ism.M22QN as M22QN, g3yxs.GE5EL, g3yxs.F7A4Q, g3yxs.ESFVY, CASE WHEN (g3yxs.SL76B IN ('FO422', 'SJ53H')) THEN 0 WHEN (g3yxs.SL76B IN ('DCV4Z', 'UOSM4', 'FUGIP', 'H5MCC', 'YKEQE', 'D3AKL')) THEN 1 WHEN (g3yxs.SL76B IN ('QJEXM', 'J6S7P', 'VT7FI')) THEN 2 WHEN (g3yxs.SL76B IN ('Y62X7')) THEN 3 END as CC4AX, g3yxs.SL76B as SL76B, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 11246 " │ │ │ │ │ └─ Filter\n" + 11247 " │ │ │ │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 11248 " │ │ │ │ │ └─ LeftOuterLookupJoin\n" + 11249 " │ │ │ │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 11250 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 11251 " │ │ │ │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 11252 " │ │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 11253 " │ │ │ │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 11254 " │ │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 11255 " │ │ │ │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 11256 " │ │ │ │ │ │ │ │ ├─ MergeJoin\n" + 11257 " │ │ │ │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 11258 " │ │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 11259 " │ │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 11260 " │ │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 11261 " │ │ │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11262 " │ │ │ │ │ │ │ │ │ │ └─ columns: [fv24e uj6xy m22qn nz4mq pruv2]\n" + 11263 " │ │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 11264 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 11265 " │ │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 11266 " │ │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11267 " │ │ │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q]\n" + 11268 " │ │ │ │ │ │ │ │ └─ HashLookup\n" + 11269 " │ │ │ │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 11270 " │ │ │ │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 11271 " │ │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 11272 " │ │ │ │ │ │ │ │ └─ Table\n" + 11273 " │ │ │ │ │ │ │ │ ├─ name: WGSDC\n" + 11274 " │ │ │ │ │ │ │ │ └─ columns: [id nohhr]\n" + 11275 " │ │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 11276 " │ │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 11277 " │ │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 11278 " │ │ │ │ │ │ │ ├─ columns: [id tw55n zh72s]\n" + 11279 " │ │ │ │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 11280 " │ │ │ │ │ │ └─ TableAlias(yqif4)\n" + 11281 " │ │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11282 " │ │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11283 " │ │ │ │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11284 " │ │ │ │ │ │ └─ keys: ism.UJ6XY\n" + 11285 " │ │ │ │ │ └─ TableAlias(yvhjz)\n" + 11286 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11287 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11288 " │ │ │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11289 " │ │ │ │ │ └─ keys: ism.FV24E\n" + 11290 " │ │ │ │ └─ Project\n" + 11291 " │ │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, jchir.QNI57, convert(TDEIU, char) as TDEIU]\n" + 11292 " │ │ │ │ └─ Project\n" + 11293 " │ │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, jchir.QNI57, NULL as TDEIU]\n" + 11294 " │ │ │ │ └─ SubqueryAlias\n" + 11295 " │ │ │ │ ├─ name: jchir\n" + 11296 " │ │ │ │ ├─ outerVisibility: false\n" + 11297 " │ │ │ │ ├─ isLateral: false\n" + 11298 " │ │ │ │ ├─ cacheable: true\n" + 11299 " │ │ │ │ └─ Filter\n" + 11300 " │ │ │ │ ├─ ((NOT(QNI57 IS NULL)) AND (NOT(TDEIU IS NULL)))\n" + 11301 " │ │ │ │ └─ Project\n" + 11302 " │ │ │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, cpmfe.TW55N as PSMU6, ism.M22QN as M22QN, g3yxs.GE5EL, g3yxs.F7A4Q, g3yxs.ESFVY, CASE WHEN (g3yxs.SL76B IN ('FO422', 'SJ53H')) THEN 0 WHEN (g3yxs.SL76B IN ('DCV4Z', 'UOSM4', 'FUGIP', 'H5MCC', 'YKEQE', 'D3AKL')) THEN 1 WHEN (g3yxs.SL76B IN ('QJEXM', 'J6S7P', 'VT7FI')) THEN 2 WHEN (g3yxs.SL76B IN ('Y62X7')) THEN 3 END as CC4AX, g3yxs.SL76B as SL76B, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 11303 " │ │ │ │ └─ Filter\n" + 11304 " │ │ │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 11305 " │ │ │ │ └─ LeftOuterLookupJoin\n" + 11306 " │ │ │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 11307 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 11308 " │ │ │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 11309 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 11310 " │ │ │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 11311 " │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 11312 " │ │ │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 11313 " │ │ │ │ │ │ │ ├─ MergeJoin\n" + 11314 " │ │ │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 11315 " │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 11316 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 11317 " │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 11318 " │ │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11319 " │ │ │ │ │ │ │ │ │ └─ columns: [fv24e uj6xy m22qn nz4mq pruv2]\n" + 11320 " │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 11321 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 11322 " │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 11323 " │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11324 " │ │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q]\n" + 11325 " │ │ │ │ │ │ │ └─ HashLookup\n" + 11326 " │ │ │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 11327 " │ │ │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 11328 " │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 11329 " │ │ │ │ │ │ │ └─ Table\n" + 11330 " │ │ │ │ │ │ │ ├─ name: WGSDC\n" + 11331 " │ │ │ │ │ │ │ └─ columns: [id nohhr]\n" + 11332 " │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 11333 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 11334 " │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 11335 " │ │ │ │ │ │ ├─ columns: [id tw55n zh72s]\n" + 11336 " │ │ │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 11337 " │ │ │ │ │ └─ TableAlias(yqif4)\n" + 11338 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11339 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11340 " │ │ │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11341 " │ │ │ │ │ └─ keys: ism.UJ6XY\n" + 11342 " │ │ │ │ └─ TableAlias(yvhjz)\n" + 11343 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11344 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11345 " │ │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11346 " │ │ │ │ └─ keys: ism.FV24E\n" + 11347 " │ │ │ └─ Project\n" + 11348 " │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, convert(QNI57, char) as QNI57, convert(jchir.TDEIU, char) as TDEIU]\n" + 11349 " │ │ │ └─ Project\n" + 11350 " │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, NULL as QNI57, jchir.TDEIU]\n" + 11351 " │ │ │ └─ SubqueryAlias\n" + 11352 " │ │ │ ├─ name: jchir\n" + 11353 " │ │ │ ├─ outerVisibility: false\n" + 11354 " │ │ │ ├─ isLateral: false\n" + 11355 " │ │ │ ├─ cacheable: true\n" + 11356 " │ │ │ └─ Filter\n" + 11357 " │ │ │ ├─ ((NOT(QNI57 IS NULL)) AND (NOT(TDEIU IS NULL)))\n" + 11358 " │ │ │ └─ Project\n" + 11359 " │ │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, cpmfe.TW55N as PSMU6, ism.M22QN as M22QN, g3yxs.GE5EL, g3yxs.F7A4Q, g3yxs.ESFVY, CASE WHEN (g3yxs.SL76B IN ('FO422', 'SJ53H')) THEN 0 WHEN (g3yxs.SL76B IN ('DCV4Z', 'UOSM4', 'FUGIP', 'H5MCC', 'YKEQE', 'D3AKL')) THEN 1 WHEN (g3yxs.SL76B IN ('QJEXM', 'J6S7P', 'VT7FI')) THEN 2 WHEN (g3yxs.SL76B IN ('Y62X7')) THEN 3 END as CC4AX, g3yxs.SL76B as SL76B, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 11360 " │ │ │ └─ Filter\n" + 11361 " │ │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 11362 " │ │ │ └─ LeftOuterLookupJoin\n" + 11363 " │ │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 11364 " │ │ │ ├─ LeftOuterLookupJoin\n" + 11365 " │ │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 11366 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 11367 " │ │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 11368 " │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 11369 " │ │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 11370 " │ │ │ │ │ │ ├─ MergeJoin\n" + 11371 " │ │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 11372 " │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 11373 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 11374 " │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 11375 " │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11376 " │ │ │ │ │ │ │ │ └─ columns: [fv24e uj6xy m22qn nz4mq pruv2]\n" + 11377 " │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 11378 " │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 11379 " │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 11380 " │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11381 " │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q]\n" + 11382 " │ │ │ │ │ │ └─ HashLookup\n" + 11383 " │ │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 11384 " │ │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 11385 " │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 11386 " │ │ │ │ │ │ └─ Table\n" + 11387 " │ │ │ │ │ │ ├─ name: WGSDC\n" + 11388 " │ │ │ │ │ │ └─ columns: [id nohhr]\n" + 11389 " │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 11390 " │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 11391 " │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 11392 " │ │ │ │ │ ├─ columns: [id tw55n zh72s]\n" + 11393 " │ │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 11394 " │ │ │ │ └─ TableAlias(yqif4)\n" + 11395 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11396 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11397 " │ │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11398 " │ │ │ │ └─ keys: ism.UJ6XY\n" + 11399 " │ │ │ └─ TableAlias(yvhjz)\n" + 11400 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11401 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11402 " │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11403 " │ │ │ └─ keys: ism.FV24E\n" + 11404 " │ │ └─ TableAlias(sn)\n" + 11405 " │ │ └─ Table\n" + 11406 " │ │ └─ name: NOXN3\n" + 11407 " │ └─ HashLookup\n" + 11408 " │ ├─ left-key: (sn.BRQP2, mjr3d.M22QN)\n" + 11409 " │ ├─ right-key: (mf.LUEVY, mf.M22QN)\n" + 11410 " │ └─ SubqueryAlias\n" + 11411 " │ ├─ name: mf\n" + 11412 " │ ├─ outerVisibility: false\n" + 11413 " │ ├─ isLateral: false\n" + 11414 " │ ├─ cacheable: true\n" + 11415 " │ └─ Project\n" + 11416 " │ ├─ columns: [cla.FTQLQ, mf.LUEVY, mf.M22QN]\n" + 11417 " │ └─ HashJoin\n" + 11418 " │ ├─ (bs.id = mf.GXLUB)\n" + 11419 " │ ├─ TableAlias(mf)\n" + 11420 " │ │ └─ Table\n" + 11421 " │ │ ├─ name: HGMQ6\n" + 11422 " │ │ └─ columns: [gxlub luevy m22qn]\n" + 11423 " │ └─ HashLookup\n" + 11424 " │ ├─ left-key: (mf.GXLUB)\n" + 11425 " │ ├─ right-key: (bs.id)\n" + 11426 " │ └─ MergeJoin\n" + 11427 " │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 11428 " │ ├─ Filter\n" + 11429 " │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 11430 " │ │ └─ TableAlias(cla)\n" + 11431 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 11432 " │ │ ├─ index: [YK2GW.id]\n" + 11433 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11434 " │ │ └─ columns: [id ftqlq]\n" + 11435 " │ └─ TableAlias(bs)\n" + 11436 " │ └─ IndexedTableAccess(THNTS)\n" + 11437 " │ ├─ index: [THNTS.IXUXU]\n" + 11438 " │ ├─ filters: [{[NULL, ∞)}]\n" + 11439 " │ └─ columns: [id ixuxu]\n" + 11440 " └─ HashLookup\n" + 11441 " ├─ left-key: (mjr3d.M22QN)\n" + 11442 " ├─ right-key: (aac.id)\n" + 11443 " └─ SubqueryAlias\n" + 11444 " ├─ name: aac\n" + 11445 " ├─ outerVisibility: false\n" + 11446 " ├─ isLateral: false\n" + 11447 " ├─ cacheable: true\n" + 11448 " └─ Table\n" + 11449 " ├─ name: TPXBU\n" + 11450 " └─ columns: [id btxc5 fhcyt]\n" + 11451 "", 11452 ExpectedAnalysis: "Project\n" + 11453 " ├─ columns: [mf.FTQLQ as T4IBQ, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 11454 " │ ├─ cacheable: false\n" + 11455 " │ └─ Project\n" + 11456 " │ ├─ columns: [ei.M6T2N]\n" + 11457 " │ └─ Filter\n" + 11458 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 11459 " │ └─ SubqueryAlias\n" + 11460 " │ ├─ name: ei\n" + 11461 " │ ├─ outerVisibility: true\n" + 11462 " │ ├─ isLateral: false\n" + 11463 " │ ├─ cacheable: true\n" + 11464 " │ └─ Project\n" + 11465 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 11466 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 11467 " │ └─ Table\n" + 11468 " │ ├─ name: NOXN3\n" + 11469 " │ └─ columns: [id]\n" + 11470 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 11471 " │ ├─ cacheable: false\n" + 11472 " │ └─ Project\n" + 11473 " │ ├─ columns: [ei.M6T2N]\n" + 11474 " │ └─ Filter\n" + 11475 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 11476 " │ └─ SubqueryAlias\n" + 11477 " │ ├─ name: ei\n" + 11478 " │ ├─ outerVisibility: true\n" + 11479 " │ ├─ isLateral: false\n" + 11480 " │ ├─ cacheable: true\n" + 11481 " │ └─ Project\n" + 11482 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 11483 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 11484 " │ └─ Table\n" + 11485 " │ ├─ name: NOXN3\n" + 11486 " │ └─ columns: [id]\n" + 11487 " │ END as M6T2N, mjr3d.GE5EL as GE5EL, mjr3d.F7A4Q as F7A4Q, mjr3d.CC4AX as CC4AX, mjr3d.SL76B as SL76B, aac.BTXC5 as YEBDJ, mjr3d.PSMU6]\n" + 11488 " └─ Project\n" + 11489 " ├─ columns: [mjr3d.FJDP5, mjr3d.BJUF2, mjr3d.PSMU6, mjr3d.M22QN, mjr3d.GE5EL, mjr3d.F7A4Q, mjr3d.ESFVY, mjr3d.CC4AX, mjr3d.SL76B, mjr3d.QNI57, mjr3d.TDEIU, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, mf.FTQLQ, mf.LUEVY, mf.M22QN, aac.id, aac.BTXC5, aac.FHCYT, mf.FTQLQ as T4IBQ, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 11490 " │ ├─ cacheable: false\n" + 11491 " │ └─ Project\n" + 11492 " │ ├─ columns: [ei.M6T2N]\n" + 11493 " │ └─ Filter\n" + 11494 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 11495 " │ └─ SubqueryAlias\n" + 11496 " │ ├─ name: ei\n" + 11497 " │ ├─ outerVisibility: true\n" + 11498 " │ ├─ isLateral: false\n" + 11499 " │ ├─ cacheable: true\n" + 11500 " │ └─ Project\n" + 11501 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 11502 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 11503 " │ └─ Table\n" + 11504 " │ ├─ name: NOXN3\n" + 11505 " │ └─ columns: [id]\n" + 11506 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 11507 " │ ├─ cacheable: false\n" + 11508 " │ └─ Project\n" + 11509 " │ ├─ columns: [ei.M6T2N]\n" + 11510 " │ └─ Filter\n" + 11511 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 11512 " │ └─ SubqueryAlias\n" + 11513 " │ ├─ name: ei\n" + 11514 " │ ├─ outerVisibility: true\n" + 11515 " │ ├─ isLateral: false\n" + 11516 " │ ├─ cacheable: true\n" + 11517 " │ └─ Project\n" + 11518 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 11519 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 11520 " │ └─ Table\n" + 11521 " │ ├─ name: NOXN3\n" + 11522 " │ └─ columns: [id]\n" + 11523 " │ END as M6T2N, mjr3d.GE5EL as GE5EL, mjr3d.F7A4Q as F7A4Q, mjr3d.CC4AX as CC4AX, mjr3d.SL76B as SL76B, aac.BTXC5 as YEBDJ]\n" + 11524 " └─ HashJoin (estimated cost=427.500 rows=125) (actual rows=0 loops=1)\n" + 11525 " ├─ (aac.id = mjr3d.M22QN)\n" + 11526 " ├─ HashJoin (estimated cost=427.500 rows=125) (actual rows=0 loops=1)\n" + 11527 " │ ├─ ((mf.LUEVY = sn.BRQP2) AND (mf.M22QN = mjr3d.M22QN))\n" + 11528 " │ ├─ LeftOuterJoin (estimated cost=1193112.000 rows=125) (actual rows=0 loops=1)\n" + 11529 " │ │ ├─ ((((((NOT(mjr3d.QNI57 IS NULL)) AND (sn.id = mjr3d.QNI57)) AND mjr3d.BJUF2 IS NULL) OR (((NOT(mjr3d.QNI57 IS NULL)) AND (NOT(mjr3d.BJUF2 IS NULL))) AND InSubquery\n" + 11530 " │ │ │ ├─ left: sn.id\n" + 11531 " │ │ │ └─ right: Subquery\n" + 11532 " │ │ │ ├─ cacheable: false\n" + 11533 " │ │ │ └─ Project\n" + 11534 " │ │ │ ├─ columns: [jtehg.id]\n" + 11535 " │ │ │ └─ Filter\n" + 11536 " │ │ │ ├─ (jtehg.BRQP2 = mjr3d.BJUF2)\n" + 11537 " │ │ │ └─ TableAlias(jtehg)\n" + 11538 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11539 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 11540 " │ │ │ ├─ columns: [id brqp2]\n" + 11541 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 11542 " │ │ │ )) OR (((NOT(mjr3d.TDEIU IS NULL)) AND mjr3d.BJUF2 IS NULL) AND InSubquery\n" + 11543 " │ │ │ ├─ left: sn.id\n" + 11544 " │ │ │ └─ right: Subquery\n" + 11545 " │ │ │ ├─ cacheable: false\n" + 11546 " │ │ │ └─ Project\n" + 11547 " │ │ │ ├─ columns: [xmafz.id]\n" + 11548 " │ │ │ └─ Filter\n" + 11549 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.FJDP5)\n" + 11550 " │ │ │ └─ TableAlias(xmafz)\n" + 11551 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11552 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 11553 " │ │ │ ├─ columns: [id brqp2]\n" + 11554 " │ │ │ └─ keys: mjr3d.FJDP5\n" + 11555 " │ │ │ )) OR (((NOT(mjr3d.TDEIU IS NULL)) AND (NOT(mjr3d.BJUF2 IS NULL))) AND InSubquery\n" + 11556 " │ │ │ ├─ left: sn.id\n" + 11557 " │ │ │ └─ right: Subquery\n" + 11558 " │ │ │ ├─ cacheable: false\n" + 11559 " │ │ │ └─ Project\n" + 11560 " │ │ │ ├─ columns: [xmafz.id]\n" + 11561 " │ │ │ └─ Filter\n" + 11562 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.BJUF2)\n" + 11563 " │ │ │ └─ TableAlias(xmafz)\n" + 11564 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11565 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 11566 " │ │ │ ├─ columns: [id brqp2]\n" + 11567 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 11568 " │ │ │ ))\n" + 11569 " │ │ ├─ SubqueryAlias\n" + 11570 " │ │ │ ├─ name: mjr3d\n" + 11571 " │ │ │ ├─ outerVisibility: false\n" + 11572 " │ │ │ ├─ isLateral: false\n" + 11573 " │ │ │ ├─ cacheable: true\n" + 11574 " │ │ │ └─ Union distinct\n" + 11575 " │ │ │ ├─ Project\n" + 11576 " │ │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, convert(jchir.QNI57, char) as QNI57, TDEIU as TDEIU]\n" + 11577 " │ │ │ │ └─ Union distinct\n" + 11578 " │ │ │ │ ├─ Project\n" + 11579 " │ │ │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, jchir.QNI57, convert(jchir.TDEIU, char) as TDEIU]\n" + 11580 " │ │ │ │ │ └─ SubqueryAlias\n" + 11581 " │ │ │ │ │ ├─ name: jchir\n" + 11582 " │ │ │ │ │ ├─ outerVisibility: false\n" + 11583 " │ │ │ │ │ ├─ isLateral: false\n" + 11584 " │ │ │ │ │ ├─ cacheable: true\n" + 11585 " │ │ │ │ │ └─ Filter\n" + 11586 " │ │ │ │ │ ├─ (((NOT(QNI57 IS NULL)) AND TDEIU IS NULL) OR (QNI57 IS NULL AND (NOT(TDEIU IS NULL))))\n" + 11587 " │ │ │ │ │ └─ Project\n" + 11588 " │ │ │ │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, cpmfe.TW55N as PSMU6, ism.M22QN as M22QN, g3yxs.GE5EL, g3yxs.F7A4Q, g3yxs.ESFVY, CASE WHEN (g3yxs.SL76B IN ('FO422', 'SJ53H')) THEN 0 WHEN (g3yxs.SL76B IN ('DCV4Z', 'UOSM4', 'FUGIP', 'H5MCC', 'YKEQE', 'D3AKL')) THEN 1 WHEN (g3yxs.SL76B IN ('QJEXM', 'J6S7P', 'VT7FI')) THEN 2 WHEN (g3yxs.SL76B IN ('Y62X7')) THEN 3 END as CC4AX, g3yxs.SL76B as SL76B, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 11589 " │ │ │ │ │ └─ Filter\n" + 11590 " │ │ │ │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 11591 " │ │ │ │ │ └─ LeftOuterLookupJoin\n" + 11592 " │ │ │ │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 11593 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 11594 " │ │ │ │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 11595 " │ │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 11596 " │ │ │ │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 11597 " │ │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 11598 " │ │ │ │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 11599 " │ │ │ │ │ │ │ │ ├─ MergeJoin\n" + 11600 " │ │ │ │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 11601 " │ │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 11602 " │ │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 11603 " │ │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 11604 " │ │ │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11605 " │ │ │ │ │ │ │ │ │ │ └─ columns: [fv24e uj6xy m22qn nz4mq pruv2]\n" + 11606 " │ │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 11607 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 11608 " │ │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 11609 " │ │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11610 " │ │ │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q]\n" + 11611 " │ │ │ │ │ │ │ │ └─ HashLookup\n" + 11612 " │ │ │ │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 11613 " │ │ │ │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 11614 " │ │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 11615 " │ │ │ │ │ │ │ │ └─ Table\n" + 11616 " │ │ │ │ │ │ │ │ ├─ name: WGSDC\n" + 11617 " │ │ │ │ │ │ │ │ └─ columns: [id nohhr]\n" + 11618 " │ │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 11619 " │ │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 11620 " │ │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 11621 " │ │ │ │ │ │ │ ├─ columns: [id tw55n zh72s]\n" + 11622 " │ │ │ │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 11623 " │ │ │ │ │ │ └─ TableAlias(yqif4)\n" + 11624 " │ │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11625 " │ │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11626 " │ │ │ │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11627 " │ │ │ │ │ │ └─ keys: ism.UJ6XY\n" + 11628 " │ │ │ │ │ └─ TableAlias(yvhjz)\n" + 11629 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11630 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11631 " │ │ │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11632 " │ │ │ │ │ └─ keys: ism.FV24E\n" + 11633 " │ │ │ │ └─ Project\n" + 11634 " │ │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, jchir.QNI57, convert(TDEIU, char) as TDEIU]\n" + 11635 " │ │ │ │ └─ Project\n" + 11636 " │ │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, jchir.QNI57, NULL as TDEIU]\n" + 11637 " │ │ │ │ └─ SubqueryAlias\n" + 11638 " │ │ │ │ ├─ name: jchir\n" + 11639 " │ │ │ │ ├─ outerVisibility: false\n" + 11640 " │ │ │ │ ├─ isLateral: false\n" + 11641 " │ │ │ │ ├─ cacheable: true\n" + 11642 " │ │ │ │ └─ Filter\n" + 11643 " │ │ │ │ ├─ ((NOT(QNI57 IS NULL)) AND (NOT(TDEIU IS NULL)))\n" + 11644 " │ │ │ │ └─ Project\n" + 11645 " │ │ │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, cpmfe.TW55N as PSMU6, ism.M22QN as M22QN, g3yxs.GE5EL, g3yxs.F7A4Q, g3yxs.ESFVY, CASE WHEN (g3yxs.SL76B IN ('FO422', 'SJ53H')) THEN 0 WHEN (g3yxs.SL76B IN ('DCV4Z', 'UOSM4', 'FUGIP', 'H5MCC', 'YKEQE', 'D3AKL')) THEN 1 WHEN (g3yxs.SL76B IN ('QJEXM', 'J6S7P', 'VT7FI')) THEN 2 WHEN (g3yxs.SL76B IN ('Y62X7')) THEN 3 END as CC4AX, g3yxs.SL76B as SL76B, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 11646 " │ │ │ │ └─ Filter\n" + 11647 " │ │ │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 11648 " │ │ │ │ └─ LeftOuterLookupJoin\n" + 11649 " │ │ │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 11650 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 11651 " │ │ │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 11652 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 11653 " │ │ │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 11654 " │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 11655 " │ │ │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 11656 " │ │ │ │ │ │ │ ├─ MergeJoin\n" + 11657 " │ │ │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 11658 " │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 11659 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 11660 " │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 11661 " │ │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11662 " │ │ │ │ │ │ │ │ │ └─ columns: [fv24e uj6xy m22qn nz4mq pruv2]\n" + 11663 " │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 11664 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 11665 " │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 11666 " │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11667 " │ │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q]\n" + 11668 " │ │ │ │ │ │ │ └─ HashLookup\n" + 11669 " │ │ │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 11670 " │ │ │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 11671 " │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 11672 " │ │ │ │ │ │ │ └─ Table\n" + 11673 " │ │ │ │ │ │ │ ├─ name: WGSDC\n" + 11674 " │ │ │ │ │ │ │ └─ columns: [id nohhr]\n" + 11675 " │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 11676 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 11677 " │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 11678 " │ │ │ │ │ │ ├─ columns: [id tw55n zh72s]\n" + 11679 " │ │ │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 11680 " │ │ │ │ │ └─ TableAlias(yqif4)\n" + 11681 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11682 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11683 " │ │ │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11684 " │ │ │ │ │ └─ keys: ism.UJ6XY\n" + 11685 " │ │ │ │ └─ TableAlias(yvhjz)\n" + 11686 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11687 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11688 " │ │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11689 " │ │ │ │ └─ keys: ism.FV24E\n" + 11690 " │ │ │ └─ Project\n" + 11691 " │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, convert(QNI57, char) as QNI57, convert(jchir.TDEIU, char) as TDEIU]\n" + 11692 " │ │ │ └─ Project\n" + 11693 " │ │ │ ├─ columns: [jchir.FJDP5, jchir.BJUF2, jchir.PSMU6, jchir.M22QN, jchir.GE5EL, jchir.F7A4Q, jchir.ESFVY, jchir.CC4AX, jchir.SL76B, NULL as QNI57, jchir.TDEIU]\n" + 11694 " │ │ │ └─ SubqueryAlias\n" + 11695 " │ │ │ ├─ name: jchir\n" + 11696 " │ │ │ ├─ outerVisibility: false\n" + 11697 " │ │ │ ├─ isLateral: false\n" + 11698 " │ │ │ ├─ cacheable: true\n" + 11699 " │ │ │ └─ Filter\n" + 11700 " │ │ │ ├─ ((NOT(QNI57 IS NULL)) AND (NOT(TDEIU IS NULL)))\n" + 11701 " │ │ │ └─ Project\n" + 11702 " │ │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, cpmfe.TW55N as PSMU6, ism.M22QN as M22QN, g3yxs.GE5EL, g3yxs.F7A4Q, g3yxs.ESFVY, CASE WHEN (g3yxs.SL76B IN ('FO422', 'SJ53H')) THEN 0 WHEN (g3yxs.SL76B IN ('DCV4Z', 'UOSM4', 'FUGIP', 'H5MCC', 'YKEQE', 'D3AKL')) THEN 1 WHEN (g3yxs.SL76B IN ('QJEXM', 'J6S7P', 'VT7FI')) THEN 2 WHEN (g3yxs.SL76B IN ('Y62X7')) THEN 3 END as CC4AX, g3yxs.SL76B as SL76B, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 11703 " │ │ │ └─ Filter\n" + 11704 " │ │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 11705 " │ │ │ └─ LeftOuterLookupJoin\n" + 11706 " │ │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 11707 " │ │ │ ├─ LeftOuterLookupJoin\n" + 11708 " │ │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 11709 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 11710 " │ │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 11711 " │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 11712 " │ │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 11713 " │ │ │ │ │ │ ├─ MergeJoin\n" + 11714 " │ │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 11715 " │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 11716 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 11717 " │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 11718 " │ │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11719 " │ │ │ │ │ │ │ │ └─ columns: [fv24e uj6xy m22qn nz4mq pruv2]\n" + 11720 " │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 11721 " │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 11722 " │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 11723 " │ │ │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11724 " │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q]\n" + 11725 " │ │ │ │ │ │ └─ HashLookup\n" + 11726 " │ │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 11727 " │ │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 11728 " │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 11729 " │ │ │ │ │ │ └─ Table\n" + 11730 " │ │ │ │ │ │ ├─ name: WGSDC\n" + 11731 " │ │ │ │ │ │ └─ columns: [id nohhr]\n" + 11732 " │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 11733 " │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 11734 " │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 11735 " │ │ │ │ │ ├─ columns: [id tw55n zh72s]\n" + 11736 " │ │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 11737 " │ │ │ │ └─ TableAlias(yqif4)\n" + 11738 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11739 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11740 " │ │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11741 " │ │ │ │ └─ keys: ism.UJ6XY\n" + 11742 " │ │ │ └─ TableAlias(yvhjz)\n" + 11743 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 11744 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 11745 " │ │ │ ├─ columns: [id brqp2 fftbj]\n" + 11746 " │ │ │ └─ keys: ism.FV24E\n" + 11747 " │ │ └─ TableAlias(sn)\n" + 11748 " │ │ └─ Table\n" + 11749 " │ │ └─ name: NOXN3\n" + 11750 " │ └─ HashLookup\n" + 11751 " │ ├─ left-key: (sn.BRQP2, mjr3d.M22QN)\n" + 11752 " │ ├─ right-key: (mf.LUEVY, mf.M22QN)\n" + 11753 " │ └─ SubqueryAlias\n" + 11754 " │ ├─ name: mf\n" + 11755 " │ ├─ outerVisibility: false\n" + 11756 " │ ├─ isLateral: false\n" + 11757 " │ ├─ cacheable: true\n" + 11758 " │ └─ Project\n" + 11759 " │ ├─ columns: [cla.FTQLQ, mf.LUEVY, mf.M22QN]\n" + 11760 " │ └─ HashJoin\n" + 11761 " │ ├─ (bs.id = mf.GXLUB)\n" + 11762 " │ ├─ TableAlias(mf)\n" + 11763 " │ │ └─ Table\n" + 11764 " │ │ ├─ name: HGMQ6\n" + 11765 " │ │ └─ columns: [gxlub luevy m22qn]\n" + 11766 " │ └─ HashLookup\n" + 11767 " │ ├─ left-key: (mf.GXLUB)\n" + 11768 " │ ├─ right-key: (bs.id)\n" + 11769 " │ └─ MergeJoin\n" + 11770 " │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 11771 " │ ├─ Filter\n" + 11772 " │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 11773 " │ │ └─ TableAlias(cla)\n" + 11774 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 11775 " │ │ ├─ index: [YK2GW.id]\n" + 11776 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 11777 " │ │ └─ columns: [id ftqlq]\n" + 11778 " │ └─ TableAlias(bs)\n" + 11779 " │ └─ IndexedTableAccess(THNTS)\n" + 11780 " │ ├─ index: [THNTS.IXUXU]\n" + 11781 " │ ├─ filters: [{[NULL, ∞)}]\n" + 11782 " │ └─ columns: [id ixuxu]\n" + 11783 " └─ HashLookup\n" + 11784 " ├─ left-key: (mjr3d.M22QN)\n" + 11785 " ├─ right-key: (aac.id)\n" + 11786 " └─ SubqueryAlias\n" + 11787 " ├─ name: aac\n" + 11788 " ├─ outerVisibility: false\n" + 11789 " ├─ isLateral: false\n" + 11790 " ├─ cacheable: true\n" + 11791 " └─ Table\n" + 11792 " ├─ name: TPXBU\n" + 11793 " └─ columns: [id btxc5 fhcyt]\n" + 11794 "", 11795 }, 11796 { 11797 Query: ` 11798 WITH 11799 FZFVD AS ( 11800 SELECT id, ROW_NUMBER() OVER (ORDER BY id ASC) - 1 AS M6T2N FROM NOXN3 11801 ), 11802 OXDGK AS ( 11803 SELECT DISTINCT 11804 ism.FV24E AS FJDP5, 11805 CPMFE.id AS BJUF2, 11806 ism.M22QN AS M22QN, 11807 G3YXS.TUV25 AS TUV25, 11808 G3YXS.ESFVY AS ESFVY, 11809 YQIF4.id AS QNI57, 11810 YVHJZ.id AS TDEIU 11811 FROM 11812 HDDVB ism 11813 INNER JOIN YYBCX G3YXS ON G3YXS.id = ism.NZ4MQ 11814 LEFT JOIN 11815 WGSDC NHMXW 11816 ON 11817 NHMXW.id = ism.PRUV2 11818 LEFT JOIN 11819 E2I7U CPMFE 11820 ON 11821 CPMFE.ZH72S = NHMXW.NOHHR AND CPMFE.id <> ism.FV24E 11822 LEFT JOIN 11823 NOXN3 YQIF4 11824 ON 11825 YQIF4.BRQP2 = ism.FV24E 11826 AND 11827 YQIF4.FFTBJ = ism.UJ6XY 11828 LEFT JOIN 11829 NOXN3 YVHJZ 11830 ON 11831 YVHJZ.BRQP2 = ism.UJ6XY 11832 AND 11833 YVHJZ.FFTBJ = ism.FV24E 11834 WHERE 11835 G3YXS.TUV25 IS NOT NULL 11836 AND 11837 (YQIF4.id IS NOT NULL 11838 OR 11839 YVHJZ.id IS NOT NULL) 11840 ), 11841 11842 HTKBS AS ( 11843 SELECT /*+ JOIN_ORDER(cla, bs, mf, sn) */ 11844 cla.FTQLQ AS T4IBQ, 11845 sn.id AS BDNYB, 11846 mf.M22QN AS M22QN 11847 FROM HGMQ6 mf 11848 INNER JOIN THNTS bs ON bs.id = mf.GXLUB 11849 INNER JOIN YK2GW cla ON cla.id = bs.IXUXU 11850 INNER JOIN NOXN3 sn ON sn.BRQP2 = mf.LUEVY 11851 WHERE cla.FTQLQ IN ('SQ1') 11852 ), 11853 JQHRG AS ( 11854 SELECT 11855 CASE 11856 WHEN MJR3D.QNI57 IS NOT NULL 11857 THEN (SELECT ei.M6T2N FROM FZFVD ei WHERE ei.id = MJR3D.QNI57) 11858 WHEN MJR3D.TDEIU IS NOT NULL 11859 THEN (SELECT ei.M6T2N FROM FZFVD ei WHERE ei.id = MJR3D.TDEIU) 11860 END AS M6T2N, 11861 11862 aac.BTXC5 AS BTXC5, 11863 aac.id AS NTOFG, 11864 sn.id AS LWQ6O, 11865 MJR3D.TUV25 AS TUV25 11866 FROM 11867 OXDGK MJR3D 11868 INNER JOIN TPXBU aac ON aac.id = MJR3D.M22QN 11869 LEFT JOIN 11870 NOXN3 sn 11871 ON 11872 ( 11873 QNI57 IS NOT NULL 11874 AND 11875 sn.id = MJR3D.QNI57 11876 AND 11877 MJR3D.BJUF2 IS NULL 11878 ) 11879 OR 11880 ( 11881 QNI57 IS NOT NULL 11882 AND 11883 sn.id IN (SELECT JTEHG.id FROM NOXN3 JTEHG WHERE BRQP2 = MJR3D.BJUF2) 11884 AND 11885 MJR3D.BJUF2 IS NOT NULL 11886 ) 11887 OR 11888 ( 11889 TDEIU IS NOT NULL 11890 AND 11891 sn.id IN (SELECT XMAFZ.id FROM NOXN3 XMAFZ WHERE BRQP2 = MJR3D.FJDP5) 11892 AND 11893 MJR3D.BJUF2 IS NULL 11894 ) 11895 OR 11896 ( 11897 TDEIU IS NOT NULL 11898 AND 11899 sn.id IN (SELECT XMAFZ.id FROM NOXN3 XMAFZ WHERE BRQP2 = MJR3D.BJUF2) 11900 AND 11901 MJR3D.BJUF2 IS NOT NULL 11902 ) 11903 ), 11904 11905 F6BRC AS ( 11906 SELECT 11907 RSA3Y.T4IBQ AS T4IBQ, 11908 JMHIE.M6T2N AS M6T2N, 11909 JMHIE.BTXC5 AS BTXC5, 11910 JMHIE.TUV25 AS TUV25 11911 FROM 11912 (SELECT DISTINCT M6T2N, BTXC5, TUV25 FROM JQHRG) JMHIE 11913 CROSS JOIN 11914 (SELECT DISTINCT T4IBQ FROM HTKBS) RSA3Y 11915 ), 11916 11917 ZMSPR AS ( 11918 SELECT DISTINCT 11919 cld.T4IBQ AS T4IBQ, 11920 P4PJZ.M6T2N AS M6T2N, 11921 P4PJZ.BTXC5 AS BTXC5, 11922 P4PJZ.TUV25 AS TUV25 11923 FROM 11924 HTKBS cld 11925 LEFT JOIN 11926 JQHRG P4PJZ 11927 ON P4PJZ.LWQ6O = cld.BDNYB AND P4PJZ.NTOFG = cld.M22QN 11928 WHERE 11929 P4PJZ.M6T2N IS NOT NULL 11930 ) 11931 SELECT 11932 fs.T4IBQ AS T4IBQ, 11933 fs.M6T2N AS M6T2N, 11934 fs.TUV25 AS TUV25, 11935 fs.BTXC5 AS YEBDJ 11936 FROM 11937 F6BRC fs 11938 WHERE 11939 (fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25) 11940 NOT IN ( 11941 SELECT 11942 ZMSPR.T4IBQ, 11943 ZMSPR.M6T2N, 11944 ZMSPR.BTXC5, 11945 ZMSPR.TUV25 11946 FROM 11947 ZMSPR 11948 )`, 11949 ExpectedPlan: "Project\n" + 11950 " ├─ columns: [fs.T4IBQ:0!null as T4IBQ, fs.M6T2N:1 as M6T2N, fs.TUV25:3 as TUV25, fs.BTXC5:2 as YEBDJ]\n" + 11951 " └─ Project\n" + 11952 " ├─ columns: [fs.T4IBQ:0!null, fs.M6T2N:1, fs.BTXC5:2, fs.TUV25:3]\n" + 11953 " └─ Filter\n" + 11954 " ├─ AND\n" + 11955 " │ ├─ AND\n" + 11956 " │ │ ├─ AND\n" + 11957 " │ │ │ ├─ zmspr.T4IBQ:4!null IS NULL\n" + 11958 " │ │ │ └─ zmspr.M6T2N:5 IS NULL\n" + 11959 " │ │ └─ zmspr.BTXC5:6 IS NULL\n" + 11960 " │ └─ zmspr.TUV25:7 IS NULL\n" + 11961 " └─ LeftOuterHashJoinExcludeNulls\n" + 11962 " ├─ Eq\n" + 11963 " │ ├─ TUPLE(fs.T4IBQ:0!null, fs.M6T2N:1, fs.BTXC5:2, fs.TUV25:3)\n" + 11964 " │ └─ TUPLE(zmspr.T4IBQ:4!null, zmspr.M6T2N:5, zmspr.BTXC5:6, zmspr.TUV25:7)\n" + 11965 " ├─ SubqueryAlias\n" + 11966 " │ ├─ name: fs\n" + 11967 " │ ├─ outerVisibility: false\n" + 11968 " │ ├─ isLateral: false\n" + 11969 " │ ├─ cacheable: true\n" + 11970 " │ ├─ colSet: (252-255)\n" + 11971 " │ ├─ tableId: 36\n" + 11972 " │ └─ Project\n" + 11973 " │ ├─ columns: [rsa3y.T4IBQ:3!null as T4IBQ, jmhie.M6T2N:0 as M6T2N, jmhie.BTXC5:1 as BTXC5, jmhie.TUV25:2 as TUV25]\n" + 11974 " │ └─ CrossHashJoin\n" + 11975 " │ ├─ SubqueryAlias\n" + 11976 " │ │ ├─ name: jmhie\n" + 11977 " │ │ ├─ outerVisibility: false\n" + 11978 " │ │ ├─ isLateral: false\n" + 11979 " │ │ ├─ cacheable: true\n" + 11980 " │ │ ├─ colSet: (224-226)\n" + 11981 " │ │ ├─ tableId: 28\n" + 11982 " │ │ └─ Distinct\n" + 11983 " │ │ └─ Project\n" + 11984 " │ │ ├─ columns: [jqhrg.M6T2N:0, jqhrg.BTXC5:1, jqhrg.TUV25:4]\n" + 11985 " │ │ └─ SubqueryAlias\n" + 11986 " │ │ ├─ name: jqhrg\n" + 11987 " │ │ ├─ outerVisibility: false\n" + 11988 " │ │ ├─ isLateral: false\n" + 11989 " │ │ ├─ cacheable: true\n" + 11990 " │ │ ├─ colSet: (219-223)\n" + 11991 " │ │ ├─ tableId: 26\n" + 11992 " │ │ └─ Project\n" + 11993 " │ │ ├─ columns: [CASE WHEN NOT\n" + 11994 " │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 11995 " │ │ │ THEN Subquery\n" + 11996 " │ │ │ ├─ cacheable: false\n" + 11997 " │ │ │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.QNI57\n" + 11998 " │ │ │ └─ Project\n" + 11999 " │ │ │ ├─ columns: [ei.M6T2N:26!null]\n" + 12000 " │ │ │ └─ Filter\n" + 12001 " │ │ │ ├─ Eq\n" + 12002 " │ │ │ │ ├─ ei.id:25!null\n" + 12003 " │ │ │ │ └─ mjr3d.QNI57:5!null\n" + 12004 " │ │ │ └─ SubqueryAlias\n" + 12005 " │ │ │ ├─ name: ei\n" + 12006 " │ │ │ ├─ outerVisibility: true\n" + 12007 " │ │ │ ├─ isLateral: false\n" + 12008 " │ │ │ ├─ cacheable: true\n" + 12009 " │ │ │ ├─ colSet: (210,211)\n" + 12010 " │ │ │ ├─ tableId: 24\n" + 12011 " │ │ │ └─ Project\n" + 12012 " │ │ │ ├─ columns: [noxn3.id:26!null, (row_number() over ( order by noxn3.id asc):25!null - 1 (tinyint)) as M6T2N]\n" + 12013 " │ │ │ └─ Window\n" + 12014 " │ │ │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 12015 " │ │ │ ├─ noxn3.id:25!null\n" + 12016 " │ │ │ └─ Table\n" + 12017 " │ │ │ ├─ name: NOXN3\n" + 12018 " │ │ │ ├─ columns: [id]\n" + 12019 " │ │ │ ├─ colSet: (1-10)\n" + 12020 " │ │ │ └─ tableId: 1\n" + 12021 " │ │ │ WHEN NOT\n" + 12022 " │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 12023 " │ │ │ THEN Subquery\n" + 12024 " │ │ │ ├─ cacheable: false\n" + 12025 " │ │ │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.TDEIU\n" + 12026 " │ │ │ └─ Project\n" + 12027 " │ │ │ ├─ columns: [ei.M6T2N:26!null]\n" + 12028 " │ │ │ └─ Filter\n" + 12029 " │ │ │ ├─ Eq\n" + 12030 " │ │ │ │ ├─ ei.id:25!null\n" + 12031 " │ │ │ │ └─ mjr3d.TDEIU:6!null\n" + 12032 " │ │ │ └─ SubqueryAlias\n" + 12033 " │ │ │ ├─ name: ei\n" + 12034 " │ │ │ ├─ outerVisibility: true\n" + 12035 " │ │ │ ├─ isLateral: false\n" + 12036 " │ │ │ ├─ cacheable: true\n" + 12037 " │ │ │ ├─ colSet: (212,213)\n" + 12038 " │ │ │ ├─ tableId: 25\n" + 12039 " │ │ │ └─ Project\n" + 12040 " │ │ │ ├─ columns: [noxn3.id:26!null, (row_number() over ( order by noxn3.id asc):25!null - 1 (tinyint)) as M6T2N]\n" + 12041 " │ │ │ └─ Window\n" + 12042 " │ │ │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 12043 " │ │ │ ├─ noxn3.id:25!null\n" + 12044 " │ │ │ └─ Table\n" + 12045 " │ │ │ ├─ name: NOXN3\n" + 12046 " │ │ │ ├─ columns: [id]\n" + 12047 " │ │ │ ├─ colSet: (1-10)\n" + 12048 " │ │ │ └─ tableId: 1\n" + 12049 " │ │ │ END as M6T2N, aac.BTXC5:8 as BTXC5, aac.id:7!null as NTOFG, sn.id:10!null as LWQ6O, mjr3d.TUV25:3 as TUV25]\n" + 12050 " │ │ └─ Project\n" + 12051 " │ │ ├─ columns: [mjr3d.FJDP5:0!null, mjr3d.BJUF2:1!null, mjr3d.M22QN:2!null, mjr3d.TUV25:3, mjr3d.ESFVY:4!null, mjr3d.QNI57:5!null, mjr3d.TDEIU:6!null, aac.id:7!null, aac.BTXC5:8, aac.FHCYT:9, sn.id:10!null, sn.BRQP2:11!null, sn.FFTBJ:12!null, sn.A7XO2:13, sn.KBO7R:14!null, sn.ECDKM:15, sn.NUMK2:16!null, sn.LETOE:17!null, sn.YKSSU:18, sn.FHCYT:19, CASE WHEN NOT\n" + 12052 " │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 12053 " │ │ │ THEN Subquery\n" + 12054 " │ │ │ ├─ cacheable: false\n" + 12055 " │ │ │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.QNI57\n" + 12056 " │ │ │ └─ Project\n" + 12057 " │ │ │ ├─ columns: [ei.M6T2N:21!null]\n" + 12058 " │ │ │ └─ Filter\n" + 12059 " │ │ │ ├─ Eq\n" + 12060 " │ │ │ │ ├─ ei.id:20!null\n" + 12061 " │ │ │ │ └─ mjr3d.QNI57:5!null\n" + 12062 " │ │ │ └─ SubqueryAlias\n" + 12063 " │ │ │ ├─ name: ei\n" + 12064 " │ │ │ ├─ outerVisibility: true\n" + 12065 " │ │ │ ├─ isLateral: false\n" + 12066 " │ │ │ ├─ cacheable: true\n" + 12067 " │ │ │ ├─ colSet: (210,211)\n" + 12068 " │ │ │ ├─ tableId: 24\n" + 12069 " │ │ │ └─ Project\n" + 12070 " │ │ │ ├─ columns: [noxn3.id:21!null, (row_number() over ( order by noxn3.id asc):20!null - 1 (tinyint)) as M6T2N]\n" + 12071 " │ │ │ └─ Window\n" + 12072 " │ │ │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 12073 " │ │ │ ├─ noxn3.id:20!null\n" + 12074 " │ │ │ └─ Table\n" + 12075 " │ │ │ ├─ name: NOXN3\n" + 12076 " │ │ │ ├─ columns: [id]\n" + 12077 " │ │ │ ├─ colSet: (1-10)\n" + 12078 " │ │ │ └─ tableId: 1\n" + 12079 " │ │ │ WHEN NOT\n" + 12080 " │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 12081 " │ │ │ THEN Subquery\n" + 12082 " │ │ │ ├─ cacheable: false\n" + 12083 " │ │ │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.TDEIU\n" + 12084 " │ │ │ └─ Project\n" + 12085 " │ │ │ ├─ columns: [ei.M6T2N:21!null]\n" + 12086 " │ │ │ └─ Filter\n" + 12087 " │ │ │ ├─ Eq\n" + 12088 " │ │ │ │ ├─ ei.id:20!null\n" + 12089 " │ │ │ │ └─ mjr3d.TDEIU:6!null\n" + 12090 " │ │ │ └─ SubqueryAlias\n" + 12091 " │ │ │ ├─ name: ei\n" + 12092 " │ │ │ ├─ outerVisibility: true\n" + 12093 " │ │ │ ├─ isLateral: false\n" + 12094 " │ │ │ ├─ cacheable: true\n" + 12095 " │ │ │ ├─ colSet: (212,213)\n" + 12096 " │ │ │ ├─ tableId: 25\n" + 12097 " │ │ │ └─ Project\n" + 12098 " │ │ │ ├─ columns: [noxn3.id:21!null, (row_number() over ( order by noxn3.id asc):20!null - 1 (tinyint)) as M6T2N]\n" + 12099 " │ │ │ └─ Window\n" + 12100 " │ │ │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 12101 " │ │ │ ├─ noxn3.id:20!null\n" + 12102 " │ │ │ └─ Table\n" + 12103 " │ │ │ ├─ name: NOXN3\n" + 12104 " │ │ │ ├─ columns: [id]\n" + 12105 " │ │ │ ├─ colSet: (1-10)\n" + 12106 " │ │ │ └─ tableId: 1\n" + 12107 " │ │ │ END as M6T2N, aac.BTXC5:8 as BTXC5, aac.id:7!null as NTOFG, sn.id:10!null as LWQ6O, mjr3d.TUV25:3 as TUV25]\n" + 12108 " │ │ └─ LeftOuterJoin\n" + 12109 " │ │ ├─ Or\n" + 12110 " │ │ │ ├─ Or\n" + 12111 " │ │ │ │ ├─ Or\n" + 12112 " │ │ │ │ │ ├─ AND\n" + 12113 " │ │ │ │ │ │ ├─ AND\n" + 12114 " │ │ │ │ │ │ │ ├─ NOT\n" + 12115 " │ │ │ │ │ │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 12116 " │ │ │ │ │ │ │ └─ Eq\n" + 12117 " │ │ │ │ │ │ │ ├─ sn.id:10!null\n" + 12118 " │ │ │ │ │ │ │ └─ mjr3d.QNI57:5!null\n" + 12119 " │ │ │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 12120 " │ │ │ │ │ └─ AND\n" + 12121 " │ │ │ │ │ ├─ AND\n" + 12122 " │ │ │ │ │ │ ├─ NOT\n" + 12123 " │ │ │ │ │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 12124 " │ │ │ │ │ │ └─ InSubquery\n" + 12125 " │ │ │ │ │ │ ├─ left: sn.id:10!null\n" + 12126 " │ │ │ │ │ │ └─ right: Subquery\n" + 12127 " │ │ │ │ │ │ ├─ cacheable: false\n" + 12128 " │ │ │ │ │ │ ├─ alias-string: select JTEHG.id from NOXN3 as JTEHG where BRQP2 = MJR3D.BJUF2\n" + 12129 " │ │ │ │ │ │ └─ Project\n" + 12130 " │ │ │ │ │ │ ├─ columns: [jtehg.id:20!null]\n" + 12131 " │ │ │ │ │ │ └─ Filter\n" + 12132 " │ │ │ │ │ │ ├─ Eq\n" + 12133 " │ │ │ │ │ │ │ ├─ jtehg.BRQP2:21!null\n" + 12134 " │ │ │ │ │ │ │ └─ mjr3d.BJUF2:1!null\n" + 12135 " │ │ │ │ │ │ └─ TableAlias(jtehg)\n" + 12136 " │ │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12137 " │ │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 12138 " │ │ │ │ │ │ ├─ keys: [mjr3d.BJUF2:1!null]\n" + 12139 " │ │ │ │ │ │ ├─ colSet: (180-189)\n" + 12140 " │ │ │ │ │ │ ├─ tableId: 21\n" + 12141 " │ │ │ │ │ │ └─ Table\n" + 12142 " │ │ │ │ │ │ ├─ name: NOXN3\n" + 12143 " │ │ │ │ │ │ └─ columns: [id brqp2]\n" + 12144 " │ │ │ │ │ └─ NOT\n" + 12145 " │ │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 12146 " │ │ │ │ └─ AND\n" + 12147 " │ │ │ │ ├─ AND\n" + 12148 " │ │ │ │ │ ├─ NOT\n" + 12149 " │ │ │ │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 12150 " │ │ │ │ │ └─ InSubquery\n" + 12151 " │ │ │ │ │ ├─ left: sn.id:10!null\n" + 12152 " │ │ │ │ │ └─ right: Subquery\n" + 12153 " │ │ │ │ │ ├─ cacheable: false\n" + 12154 " │ │ │ │ │ ├─ alias-string: select XMAFZ.id from NOXN3 as XMAFZ where BRQP2 = MJR3D.FJDP5\n" + 12155 " │ │ │ │ │ └─ Project\n" + 12156 " │ │ │ │ │ ├─ columns: [xmafz.id:20!null]\n" + 12157 " │ │ │ │ │ └─ Filter\n" + 12158 " │ │ │ │ │ ├─ Eq\n" + 12159 " │ │ │ │ │ │ ├─ xmafz.BRQP2:21!null\n" + 12160 " │ │ │ │ │ │ └─ mjr3d.FJDP5:0!null\n" + 12161 " │ │ │ │ │ └─ TableAlias(xmafz)\n" + 12162 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12163 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 12164 " │ │ │ │ │ ├─ keys: [mjr3d.FJDP5:0!null]\n" + 12165 " │ │ │ │ │ ├─ colSet: (190-199)\n" + 12166 " │ │ │ │ │ ├─ tableId: 22\n" + 12167 " │ │ │ │ │ └─ Table\n" + 12168 " │ │ │ │ │ ├─ name: NOXN3\n" + 12169 " │ │ │ │ │ └─ columns: [id brqp2]\n" + 12170 " │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 12171 " │ │ │ └─ AND\n" + 12172 " │ │ │ ├─ AND\n" + 12173 " │ │ │ │ ├─ NOT\n" + 12174 " │ │ │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 12175 " │ │ │ │ └─ InSubquery\n" + 12176 " │ │ │ │ ├─ left: sn.id:10!null\n" + 12177 " │ │ │ │ └─ right: Subquery\n" + 12178 " │ │ │ │ ├─ cacheable: false\n" + 12179 " │ │ │ │ ├─ alias-string: select XMAFZ.id from NOXN3 as XMAFZ where BRQP2 = MJR3D.BJUF2\n" + 12180 " │ │ │ │ └─ Project\n" + 12181 " │ │ │ │ ├─ columns: [xmafz.id:20!null]\n" + 12182 " │ │ │ │ └─ Filter\n" + 12183 " │ │ │ │ ├─ Eq\n" + 12184 " │ │ │ │ │ ├─ xmafz.BRQP2:21!null\n" + 12185 " │ │ │ │ │ └─ mjr3d.BJUF2:1!null\n" + 12186 " │ │ │ │ └─ TableAlias(xmafz)\n" + 12187 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12188 " │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 12189 " │ │ │ │ ├─ keys: [mjr3d.BJUF2:1!null]\n" + 12190 " │ │ │ │ ├─ colSet: (200-209)\n" + 12191 " │ │ │ │ ├─ tableId: 23\n" + 12192 " │ │ │ │ └─ Table\n" + 12193 " │ │ │ │ ├─ name: NOXN3\n" + 12194 " │ │ │ │ └─ columns: [id brqp2]\n" + 12195 " │ │ │ └─ NOT\n" + 12196 " │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 12197 " │ │ ├─ LookupJoin\n" + 12198 " │ │ │ ├─ SubqueryAlias\n" + 12199 " │ │ │ │ ├─ name: mjr3d\n" + 12200 " │ │ │ │ ├─ outerVisibility: false\n" + 12201 " │ │ │ │ ├─ isLateral: false\n" + 12202 " │ │ │ │ ├─ cacheable: true\n" + 12203 " │ │ │ │ ├─ colSet: (160-166)\n" + 12204 " │ │ │ │ ├─ tableId: 18\n" + 12205 " │ │ │ │ └─ Distinct\n" + 12206 " │ │ │ │ └─ Project\n" + 12207 " │ │ │ │ ├─ columns: [ism.FV24E:1!null as FJDP5, cpmfe.id:27!null as BJUF2, ism.M22QN:3!null as M22QN, g3yxs.TUV25:14 as TUV25, g3yxs.ESFVY:10!null as ESFVY, yqif4.id:44!null as QNI57, yvhjz.id:54!null as TDEIU]\n" + 12208 " │ │ │ │ └─ Filter\n" + 12209 " │ │ │ │ ├─ Or\n" + 12210 " │ │ │ │ │ ├─ NOT\n" + 12211 " │ │ │ │ │ │ └─ yqif4.id:44!null IS NULL\n" + 12212 " │ │ │ │ │ └─ NOT\n" + 12213 " │ │ │ │ │ └─ yvhjz.id:54!null IS NULL\n" + 12214 " │ │ │ │ └─ LeftOuterLookupJoin\n" + 12215 " │ │ │ │ ├─ Eq\n" + 12216 " │ │ │ │ │ ├─ yvhjz.BRQP2:55!null\n" + 12217 " │ │ │ │ │ └─ ism.UJ6XY:2!null\n" + 12218 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 12219 " │ │ │ │ │ ├─ Eq\n" + 12220 " │ │ │ │ │ │ ├─ yqif4.BRQP2:45!null\n" + 12221 " │ │ │ │ │ │ └─ ism.FV24E:1!null\n" + 12222 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 12223 " │ │ │ │ │ │ ├─ NOT\n" + 12224 " │ │ │ │ │ │ │ └─ Eq\n" + 12225 " │ │ │ │ │ │ │ ├─ cpmfe.id:27!null\n" + 12226 " │ │ │ │ │ │ │ └─ ism.FV24E:1!null\n" + 12227 " │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 12228 " │ │ │ │ │ │ │ ├─ Eq\n" + 12229 " │ │ │ │ │ │ │ │ ├─ nhmxw.id:17!null\n" + 12230 " │ │ │ │ │ │ │ │ └─ ism.PRUV2:6\n" + 12231 " │ │ │ │ │ │ │ ├─ MergeJoin\n" + 12232 " │ │ │ │ │ │ │ │ ├─ cmp: Eq\n" + 12233 " │ │ │ │ │ │ │ │ │ ├─ ism.NZ4MQ:4!null\n" + 12234 " │ │ │ │ │ │ │ │ │ └─ g3yxs.id:9!null\n" + 12235 " │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 12236 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 12237 " │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 12238 " │ │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 12239 " │ │ │ │ │ │ │ │ │ ├─ colSet: (15-23)\n" + 12240 " │ │ │ │ │ │ │ │ │ ├─ tableId: 4\n" + 12241 " │ │ │ │ │ │ │ │ │ └─ Table\n" + 12242 " │ │ │ │ │ │ │ │ │ ├─ name: HDDVB\n" + 12243 " │ │ │ │ │ │ │ │ │ └─ columns: [id fv24e uj6xy m22qn nz4mq etpqv pruv2 ykssu fhcyt]\n" + 12244 " │ │ │ │ │ │ │ │ └─ Filter\n" + 12245 " │ │ │ │ │ │ │ │ ├─ NOT\n" + 12246 " │ │ │ │ │ │ │ │ │ └─ g3yxs.TUV25:5 IS NULL\n" + 12247 " │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 12248 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 12249 " │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 12250 " │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 12251 " │ │ │ │ │ │ │ │ ├─ colSet: (24-31)\n" + 12252 " │ │ │ │ │ │ │ │ ├─ tableId: 5\n" + 12253 " │ │ │ │ │ │ │ │ └─ Table\n" + 12254 " │ │ │ │ │ │ │ │ ├─ name: YYBCX\n" + 12255 " │ │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q tuv25 ykssu fhcyt]\n" + 12256 " │ │ │ │ │ │ │ └─ HashLookup\n" + 12257 " │ │ │ │ │ │ │ ├─ left-key: TUPLE(ism.PRUV2:6)\n" + 12258 " │ │ │ │ │ │ │ ├─ right-key: TUPLE(nhmxw.id:0!null)\n" + 12259 " │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 12260 " │ │ │ │ │ │ │ └─ Table\n" + 12261 " │ │ │ │ │ │ │ ├─ name: WGSDC\n" + 12262 " │ │ │ │ │ │ │ ├─ columns: [id nohhr avpyf sypkf idut2 fzxv5 dqygv swcqv ykssu fhcyt]\n" + 12263 " │ │ │ │ │ │ │ ├─ colSet: (32-41)\n" + 12264 " │ │ │ │ │ │ │ └─ tableId: 6\n" + 12265 " │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 12266 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 12267 " │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 12268 " │ │ │ │ │ │ ├─ keys: [nhmxw.NOHHR:18!null]\n" + 12269 " │ │ │ │ │ │ ├─ colSet: (42-58)\n" + 12270 " │ │ │ │ │ │ ├─ tableId: 7\n" + 12271 " │ │ │ │ │ │ └─ Table\n" + 12272 " │ │ │ │ │ │ ├─ name: E2I7U\n" + 12273 " │ │ │ │ │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 12274 " │ │ │ │ │ └─ TableAlias(yqif4)\n" + 12275 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12276 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 12277 " │ │ │ │ │ ├─ keys: [ism.UJ6XY:2!null]\n" + 12278 " │ │ │ │ │ ├─ colSet: (59-68)\n" + 12279 " │ │ │ │ │ ├─ tableId: 8\n" + 12280 " │ │ │ │ │ └─ Table\n" + 12281 " │ │ │ │ │ ├─ name: NOXN3\n" + 12282 " │ │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 12283 " │ │ │ │ └─ TableAlias(yvhjz)\n" + 12284 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12285 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 12286 " │ │ │ │ ├─ keys: [ism.FV24E:1!null]\n" + 12287 " │ │ │ │ ├─ colSet: (69-78)\n" + 12288 " │ │ │ │ ├─ tableId: 9\n" + 12289 " │ │ │ │ └─ Table\n" + 12290 " │ │ │ │ ├─ name: NOXN3\n" + 12291 " │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 12292 " │ │ │ └─ TableAlias(aac)\n" + 12293 " │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 12294 " │ │ │ ├─ index: [TPXBU.id]\n" + 12295 " │ │ │ ├─ keys: [mjr3d.M22QN:2!null]\n" + 12296 " │ │ │ ├─ colSet: (167-169)\n" + 12297 " │ │ │ ├─ tableId: 19\n" + 12298 " │ │ │ └─ Table\n" + 12299 " │ │ │ ├─ name: TPXBU\n" + 12300 " │ │ │ └─ columns: [id btxc5 fhcyt]\n" + 12301 " │ │ └─ TableAlias(sn)\n" + 12302 " │ │ └─ Table\n" + 12303 " │ │ ├─ name: NOXN3\n" + 12304 " │ │ ├─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 12305 " │ │ ├─ colSet: (170-179)\n" + 12306 " │ │ └─ tableId: 20\n" + 12307 " │ └─ HashLookup\n" + 12308 " │ ├─ left-key: TUPLE()\n" + 12309 " │ ├─ right-key: TUPLE()\n" + 12310 " │ └─ SubqueryAlias\n" + 12311 " │ ├─ name: rsa3y\n" + 12312 " │ ├─ outerVisibility: false\n" + 12313 " │ ├─ isLateral: false\n" + 12314 " │ ├─ cacheable: true\n" + 12315 " │ ├─ colSet: (227)\n" + 12316 " │ ├─ tableId: 29\n" + 12317 " │ └─ Distinct\n" + 12318 " │ └─ Project\n" + 12319 " │ ├─ columns: [htkbs.T4IBQ:0!null]\n" + 12320 " │ └─ SubqueryAlias\n" + 12321 " │ ├─ name: htkbs\n" + 12322 " │ ├─ outerVisibility: false\n" + 12323 " │ ├─ isLateral: false\n" + 12324 " │ ├─ cacheable: true\n" + 12325 " │ ├─ colSet: (157-159)\n" + 12326 " │ ├─ tableId: 16\n" + 12327 " │ └─ Project\n" + 12328 " │ ├─ columns: [cla.FTQLQ:1!null as T4IBQ, sn.id:7!null as BDNYB, mf.M22QN:6!null as M22QN]\n" + 12329 " │ └─ HashJoin\n" + 12330 " │ ├─ Eq\n" + 12331 " │ │ ├─ bs.id:2!null\n" + 12332 " │ │ └─ mf.GXLUB:4!null\n" + 12333 " │ ├─ MergeJoin\n" + 12334 " │ │ ├─ cmp: Eq\n" + 12335 " │ │ │ ├─ cla.id:0!null\n" + 12336 " │ │ │ └─ bs.IXUXU:3\n" + 12337 " │ │ ├─ Filter\n" + 12338 " │ │ │ ├─ HashIn\n" + 12339 " │ │ │ │ ├─ cla.FTQLQ:1!null\n" + 12340 " │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 12341 " │ │ │ └─ TableAlias(cla)\n" + 12342 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 12343 " │ │ │ ├─ index: [YK2GW.id]\n" + 12344 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 12345 " │ │ │ ├─ colSet: (114-143)\n" + 12346 " │ │ │ ├─ tableId: 14\n" + 12347 " │ │ │ └─ Table\n" + 12348 " │ │ │ ├─ name: YK2GW\n" + 12349 " │ │ │ └─ columns: [id ftqlq]\n" + 12350 " │ │ └─ TableAlias(bs)\n" + 12351 " │ │ └─ IndexedTableAccess(THNTS)\n" + 12352 " │ │ ├─ index: [THNTS.IXUXU]\n" + 12353 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 12354 " │ │ ├─ colSet: (110-113)\n" + 12355 " │ │ ├─ tableId: 13\n" + 12356 " │ │ └─ Table\n" + 12357 " │ │ ├─ name: THNTS\n" + 12358 " │ │ └─ columns: [id ixuxu]\n" + 12359 " │ └─ HashLookup\n" + 12360 " │ ├─ left-key: TUPLE(bs.id:2!null)\n" + 12361 " │ ├─ right-key: TUPLE(mf.GXLUB:0!null)\n" + 12362 " │ └─ MergeJoin\n" + 12363 " │ ├─ cmp: Eq\n" + 12364 " │ │ ├─ mf.LUEVY:5!null\n" + 12365 " │ │ └─ sn.BRQP2:8!null\n" + 12366 " │ ├─ TableAlias(mf)\n" + 12367 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 12368 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 12369 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 12370 " │ │ ├─ colSet: (93-109)\n" + 12371 " │ │ ├─ tableId: 12\n" + 12372 " │ │ └─ Table\n" + 12373 " │ │ ├─ name: HGMQ6\n" + 12374 " │ │ └─ columns: [gxlub luevy m22qn]\n" + 12375 " │ └─ TableAlias(sn)\n" + 12376 " │ └─ IndexedTableAccess(NOXN3)\n" + 12377 " │ ├─ index: [NOXN3.BRQP2]\n" + 12378 " │ ├─ static: [{[NULL, ∞)}]\n" + 12379 " │ ├─ colSet: (144-153)\n" + 12380 " │ ├─ tableId: 15\n" + 12381 " │ └─ Table\n" + 12382 " │ ├─ name: NOXN3\n" + 12383 " │ └─ columns: [id brqp2]\n" + 12384 " └─ HashLookup\n" + 12385 " ├─ left-key: TUPLE(TUPLE(fs.T4IBQ:0!null, fs.M6T2N:1, fs.BTXC5:2, fs.TUV25:3))\n" + 12386 " ├─ right-key: TUPLE(TUPLE(zmspr.T4IBQ:0!null, zmspr.M6T2N:1, zmspr.BTXC5:2, zmspr.TUV25:3))\n" + 12387 " └─ SubqueryAlias\n" + 12388 " ├─ name: zmspr\n" + 12389 " ├─ outerVisibility: false\n" + 12390 " ├─ isLateral: false\n" + 12391 " ├─ cacheable: true\n" + 12392 " ├─ colSet: (248-251)\n" + 12393 " ├─ tableId: 34\n" + 12394 " └─ Distinct\n" + 12395 " └─ Project\n" + 12396 " ├─ columns: [cld.T4IBQ:0!null as T4IBQ, p4pjz.M6T2N:3 as M6T2N, p4pjz.BTXC5:4 as BTXC5, p4pjz.TUV25:7 as TUV25]\n" + 12397 " └─ Filter\n" + 12398 " ├─ NOT\n" + 12399 " │ └─ p4pjz.M6T2N:3 IS NULL\n" + 12400 " └─ LeftOuterHashJoin\n" + 12401 " ├─ AND\n" + 12402 " │ ├─ Eq\n" + 12403 " │ │ ├─ p4pjz.LWQ6O:6!null\n" + 12404 " │ │ └─ cld.BDNYB:1!null\n" + 12405 " │ └─ Eq\n" + 12406 " │ ├─ p4pjz.NTOFG:5!null\n" + 12407 " │ └─ cld.M22QN:2!null\n" + 12408 " ├─ SubqueryAlias\n" + 12409 " │ ├─ name: cld\n" + 12410 " │ ├─ outerVisibility: false\n" + 12411 " │ ├─ isLateral: false\n" + 12412 " │ ├─ cacheable: true\n" + 12413 " │ ├─ colSet: (236-238)\n" + 12414 " │ ├─ tableId: 32\n" + 12415 " │ └─ Project\n" + 12416 " │ ├─ columns: [cla.FTQLQ:1!null as T4IBQ, sn.id:7!null as BDNYB, mf.M22QN:6!null as M22QN]\n" + 12417 " │ └─ HashJoin\n" + 12418 " │ ├─ Eq\n" + 12419 " │ │ ├─ bs.id:2!null\n" + 12420 " │ │ └─ mf.GXLUB:4!null\n" + 12421 " │ ├─ MergeJoin\n" + 12422 " │ │ ├─ cmp: Eq\n" + 12423 " │ │ │ ├─ cla.id:0!null\n" + 12424 " │ │ │ └─ bs.IXUXU:3\n" + 12425 " │ │ ├─ Filter\n" + 12426 " │ │ │ ├─ HashIn\n" + 12427 " │ │ │ │ ├─ cla.FTQLQ:1!null\n" + 12428 " │ │ │ │ └─ TUPLE(SQ1 (longtext))\n" + 12429 " │ │ │ └─ TableAlias(cla)\n" + 12430 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 12431 " │ │ │ ├─ index: [YK2GW.id]\n" + 12432 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 12433 " │ │ │ ├─ colSet: (114-143)\n" + 12434 " │ │ │ ├─ tableId: 14\n" + 12435 " │ │ │ └─ Table\n" + 12436 " │ │ │ ├─ name: YK2GW\n" + 12437 " │ │ │ └─ columns: [id ftqlq]\n" + 12438 " │ │ └─ TableAlias(bs)\n" + 12439 " │ │ └─ IndexedTableAccess(THNTS)\n" + 12440 " │ │ ├─ index: [THNTS.IXUXU]\n" + 12441 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 12442 " │ │ ├─ colSet: (110-113)\n" + 12443 " │ │ ├─ tableId: 13\n" + 12444 " │ │ └─ Table\n" + 12445 " │ │ ├─ name: THNTS\n" + 12446 " │ │ └─ columns: [id ixuxu]\n" + 12447 " │ └─ HashLookup\n" + 12448 " │ ├─ left-key: TUPLE(bs.id:2!null)\n" + 12449 " │ ├─ right-key: TUPLE(mf.GXLUB:0!null)\n" + 12450 " │ └─ MergeJoin\n" + 12451 " │ ├─ cmp: Eq\n" + 12452 " │ │ ├─ mf.LUEVY:5!null\n" + 12453 " │ │ └─ sn.BRQP2:8!null\n" + 12454 " │ ├─ TableAlias(mf)\n" + 12455 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 12456 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 12457 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 12458 " │ │ ├─ colSet: (93-109)\n" + 12459 " │ │ ├─ tableId: 12\n" + 12460 " │ │ └─ Table\n" + 12461 " │ │ ├─ name: HGMQ6\n" + 12462 " │ │ └─ columns: [gxlub luevy m22qn]\n" + 12463 " │ └─ TableAlias(sn)\n" + 12464 " │ └─ IndexedTableAccess(NOXN3)\n" + 12465 " │ ├─ index: [NOXN3.BRQP2]\n" + 12466 " │ ├─ static: [{[NULL, ∞)}]\n" + 12467 " │ ├─ colSet: (144-153)\n" + 12468 " │ ├─ tableId: 15\n" + 12469 " │ └─ Table\n" + 12470 " │ ├─ name: NOXN3\n" + 12471 " │ └─ columns: [id brqp2]\n" + 12472 " └─ HashLookup\n" + 12473 " ├─ left-key: TUPLE(cld.BDNYB:1!null, cld.M22QN:2!null)\n" + 12474 " ├─ right-key: TUPLE(p4pjz.LWQ6O:3!null, p4pjz.NTOFG:2!null)\n" + 12475 " └─ SubqueryAlias\n" + 12476 " ├─ name: p4pjz\n" + 12477 " ├─ outerVisibility: false\n" + 12478 " ├─ isLateral: false\n" + 12479 " ├─ cacheable: true\n" + 12480 " ├─ colSet: (239-243)\n" + 12481 " ├─ tableId: 33\n" + 12482 " └─ Project\n" + 12483 " ├─ columns: [CASE WHEN NOT\n" + 12484 " │ └─ mjr3d.QNI57:5!null IS NULL\n" + 12485 " │ THEN Subquery\n" + 12486 " │ ├─ cacheable: false\n" + 12487 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.QNI57\n" + 12488 " │ └─ Project\n" + 12489 " │ ├─ columns: [ei.M6T2N:26!null]\n" + 12490 " │ └─ Filter\n" + 12491 " │ ├─ Eq\n" + 12492 " │ │ ├─ ei.id:25!null\n" + 12493 " │ │ └─ mjr3d.QNI57:5!null\n" + 12494 " │ └─ SubqueryAlias\n" + 12495 " │ ├─ name: ei\n" + 12496 " │ ├─ outerVisibility: true\n" + 12497 " │ ├─ isLateral: false\n" + 12498 " │ ├─ cacheable: true\n" + 12499 " │ ├─ colSet: (210,211)\n" + 12500 " │ ├─ tableId: 24\n" + 12501 " │ └─ Project\n" + 12502 " │ ├─ columns: [noxn3.id:26!null, (row_number() over ( order by noxn3.id asc):25!null - 1 (tinyint)) as M6T2N]\n" + 12503 " │ └─ Window\n" + 12504 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 12505 " │ ├─ noxn3.id:25!null\n" + 12506 " │ └─ Table\n" + 12507 " │ ├─ name: NOXN3\n" + 12508 " │ ├─ columns: [id]\n" + 12509 " │ ├─ colSet: (1-10)\n" + 12510 " │ └─ tableId: 1\n" + 12511 " │ WHEN NOT\n" + 12512 " │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 12513 " │ THEN Subquery\n" + 12514 " │ ├─ cacheable: false\n" + 12515 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.TDEIU\n" + 12516 " │ └─ Project\n" + 12517 " │ ├─ columns: [ei.M6T2N:26!null]\n" + 12518 " │ └─ Filter\n" + 12519 " │ ├─ Eq\n" + 12520 " │ │ ├─ ei.id:25!null\n" + 12521 " │ │ └─ mjr3d.TDEIU:6!null\n" + 12522 " │ └─ SubqueryAlias\n" + 12523 " │ ├─ name: ei\n" + 12524 " │ ├─ outerVisibility: true\n" + 12525 " │ ├─ isLateral: false\n" + 12526 " │ ├─ cacheable: true\n" + 12527 " │ ├─ colSet: (212,213)\n" + 12528 " │ ├─ tableId: 25\n" + 12529 " │ └─ Project\n" + 12530 " │ ├─ columns: [noxn3.id:26!null, (row_number() over ( order by noxn3.id asc):25!null - 1 (tinyint)) as M6T2N]\n" + 12531 " │ └─ Window\n" + 12532 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 12533 " │ ├─ noxn3.id:25!null\n" + 12534 " │ └─ Table\n" + 12535 " │ ├─ name: NOXN3\n" + 12536 " │ ├─ columns: [id]\n" + 12537 " │ ├─ colSet: (1-10)\n" + 12538 " │ └─ tableId: 1\n" + 12539 " │ END as M6T2N, aac.BTXC5:8 as BTXC5, aac.id:7!null as NTOFG, sn.id:10!null as LWQ6O, mjr3d.TUV25:3 as TUV25]\n" + 12540 " └─ Project\n" + 12541 " ├─ columns: [mjr3d.FJDP5:0!null, mjr3d.BJUF2:1!null, mjr3d.M22QN:2!null, mjr3d.TUV25:3, mjr3d.ESFVY:4!null, mjr3d.QNI57:5!null, mjr3d.TDEIU:6!null, aac.id:7!null, aac.BTXC5:8, aac.FHCYT:9, sn.id:10!null, sn.BRQP2:11!null, sn.FFTBJ:12!null, sn.A7XO2:13, sn.KBO7R:14!null, sn.ECDKM:15, sn.NUMK2:16!null, sn.LETOE:17!null, sn.YKSSU:18, sn.FHCYT:19, CASE WHEN NOT\n" + 12542 " │ └─ mjr3d.QNI57:5!null IS NULL\n" + 12543 " │ THEN Subquery\n" + 12544 " │ ├─ cacheable: false\n" + 12545 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.QNI57\n" + 12546 " │ └─ Project\n" + 12547 " │ ├─ columns: [ei.M6T2N:21!null]\n" + 12548 " │ └─ Filter\n" + 12549 " │ ├─ Eq\n" + 12550 " │ │ ├─ ei.id:20!null\n" + 12551 " │ │ └─ mjr3d.QNI57:5!null\n" + 12552 " │ └─ SubqueryAlias\n" + 12553 " │ ├─ name: ei\n" + 12554 " │ ├─ outerVisibility: true\n" + 12555 " │ ├─ isLateral: false\n" + 12556 " │ ├─ cacheable: true\n" + 12557 " │ ├─ colSet: (210,211)\n" + 12558 " │ ├─ tableId: 24\n" + 12559 " │ └─ Project\n" + 12560 " │ ├─ columns: [noxn3.id:21!null, (row_number() over ( order by noxn3.id asc):20!null - 1 (tinyint)) as M6T2N]\n" + 12561 " │ └─ Window\n" + 12562 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 12563 " │ ├─ noxn3.id:20!null\n" + 12564 " │ └─ Table\n" + 12565 " │ ├─ name: NOXN3\n" + 12566 " │ ├─ columns: [id]\n" + 12567 " │ ├─ colSet: (1-10)\n" + 12568 " │ └─ tableId: 1\n" + 12569 " │ WHEN NOT\n" + 12570 " │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 12571 " │ THEN Subquery\n" + 12572 " │ ├─ cacheable: false\n" + 12573 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.TDEIU\n" + 12574 " │ └─ Project\n" + 12575 " │ ├─ columns: [ei.M6T2N:21!null]\n" + 12576 " │ └─ Filter\n" + 12577 " │ ├─ Eq\n" + 12578 " │ │ ├─ ei.id:20!null\n" + 12579 " │ │ └─ mjr3d.TDEIU:6!null\n" + 12580 " │ └─ SubqueryAlias\n" + 12581 " │ ├─ name: ei\n" + 12582 " │ ├─ outerVisibility: true\n" + 12583 " │ ├─ isLateral: false\n" + 12584 " │ ├─ cacheable: true\n" + 12585 " │ ├─ colSet: (212,213)\n" + 12586 " │ ├─ tableId: 25\n" + 12587 " │ └─ Project\n" + 12588 " │ ├─ columns: [noxn3.id:21!null, (row_number() over ( order by noxn3.id asc):20!null - 1 (tinyint)) as M6T2N]\n" + 12589 " │ └─ Window\n" + 12590 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 12591 " │ ├─ noxn3.id:20!null\n" + 12592 " │ └─ Table\n" + 12593 " │ ├─ name: NOXN3\n" + 12594 " │ ├─ columns: [id]\n" + 12595 " │ ├─ colSet: (1-10)\n" + 12596 " │ └─ tableId: 1\n" + 12597 " │ END as M6T2N, aac.BTXC5:8 as BTXC5, aac.id:7!null as NTOFG, sn.id:10!null as LWQ6O, mjr3d.TUV25:3 as TUV25]\n" + 12598 " └─ LeftOuterJoin\n" + 12599 " ├─ Or\n" + 12600 " │ ├─ Or\n" + 12601 " │ │ ├─ Or\n" + 12602 " │ │ │ ├─ AND\n" + 12603 " │ │ │ │ ├─ AND\n" + 12604 " │ │ │ │ │ ├─ NOT\n" + 12605 " │ │ │ │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 12606 " │ │ │ │ │ └─ Eq\n" + 12607 " │ │ │ │ │ ├─ sn.id:10!null\n" + 12608 " │ │ │ │ │ └─ mjr3d.QNI57:5!null\n" + 12609 " │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 12610 " │ │ │ └─ AND\n" + 12611 " │ │ │ ├─ AND\n" + 12612 " │ │ │ │ ├─ NOT\n" + 12613 " │ │ │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 12614 " │ │ │ │ └─ InSubquery\n" + 12615 " │ │ │ │ ├─ left: sn.id:10!null\n" + 12616 " │ │ │ │ └─ right: Subquery\n" + 12617 " │ │ │ │ ├─ cacheable: false\n" + 12618 " │ │ │ │ ├─ alias-string: select JTEHG.id from NOXN3 as JTEHG where BRQP2 = MJR3D.BJUF2\n" + 12619 " │ │ │ │ └─ Project\n" + 12620 " │ │ │ │ ├─ columns: [jtehg.id:20!null]\n" + 12621 " │ │ │ │ └─ Filter\n" + 12622 " │ │ │ │ ├─ Eq\n" + 12623 " │ │ │ │ │ ├─ jtehg.BRQP2:21!null\n" + 12624 " │ │ │ │ │ └─ mjr3d.BJUF2:1!null\n" + 12625 " │ │ │ │ └─ TableAlias(jtehg)\n" + 12626 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12627 " │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 12628 " │ │ │ │ ├─ keys: [mjr3d.BJUF2:1!null]\n" + 12629 " │ │ │ │ ├─ colSet: (180-189)\n" + 12630 " │ │ │ │ ├─ tableId: 21\n" + 12631 " │ │ │ │ └─ Table\n" + 12632 " │ │ │ │ ├─ name: NOXN3\n" + 12633 " │ │ │ │ └─ columns: [id brqp2]\n" + 12634 " │ │ │ └─ NOT\n" + 12635 " │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 12636 " │ │ └─ AND\n" + 12637 " │ │ ├─ AND\n" + 12638 " │ │ │ ├─ NOT\n" + 12639 " │ │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 12640 " │ │ │ └─ InSubquery\n" + 12641 " │ │ │ ├─ left: sn.id:10!null\n" + 12642 " │ │ │ └─ right: Subquery\n" + 12643 " │ │ │ ├─ cacheable: false\n" + 12644 " │ │ │ ├─ alias-string: select XMAFZ.id from NOXN3 as XMAFZ where BRQP2 = MJR3D.FJDP5\n" + 12645 " │ │ │ └─ Project\n" + 12646 " │ │ │ ├─ columns: [xmafz.id:20!null]\n" + 12647 " │ │ │ └─ Filter\n" + 12648 " │ │ │ ├─ Eq\n" + 12649 " │ │ │ │ ├─ xmafz.BRQP2:21!null\n" + 12650 " │ │ │ │ └─ mjr3d.FJDP5:0!null\n" + 12651 " │ │ │ └─ TableAlias(xmafz)\n" + 12652 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12653 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 12654 " │ │ │ ├─ keys: [mjr3d.FJDP5:0!null]\n" + 12655 " │ │ │ ├─ colSet: (190-199)\n" + 12656 " │ │ │ ├─ tableId: 22\n" + 12657 " │ │ │ └─ Table\n" + 12658 " │ │ │ ├─ name: NOXN3\n" + 12659 " │ │ │ └─ columns: [id brqp2]\n" + 12660 " │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 12661 " │ └─ AND\n" + 12662 " │ ├─ AND\n" + 12663 " │ │ ├─ NOT\n" + 12664 " │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 12665 " │ │ └─ InSubquery\n" + 12666 " │ │ ├─ left: sn.id:10!null\n" + 12667 " │ │ └─ right: Subquery\n" + 12668 " │ │ ├─ cacheable: false\n" + 12669 " │ │ ├─ alias-string: select XMAFZ.id from NOXN3 as XMAFZ where BRQP2 = MJR3D.BJUF2\n" + 12670 " │ │ └─ Project\n" + 12671 " │ │ ├─ columns: [xmafz.id:20!null]\n" + 12672 " │ │ └─ Filter\n" + 12673 " │ │ ├─ Eq\n" + 12674 " │ │ │ ├─ xmafz.BRQP2:21!null\n" + 12675 " │ │ │ └─ mjr3d.BJUF2:1!null\n" + 12676 " │ │ └─ TableAlias(xmafz)\n" + 12677 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 12678 " │ │ ├─ index: [NOXN3.BRQP2]\n" + 12679 " │ │ ├─ keys: [mjr3d.BJUF2:1!null]\n" + 12680 " │ │ ├─ colSet: (200-209)\n" + 12681 " │ │ ├─ tableId: 23\n" + 12682 " │ │ └─ Table\n" + 12683 " │ │ ├─ name: NOXN3\n" + 12684 " │ │ └─ columns: [id brqp2]\n" + 12685 " │ └─ NOT\n" + 12686 " │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 12687 " ├─ LookupJoin\n" + 12688 " │ ├─ SubqueryAlias\n" + 12689 " │ │ ├─ name: mjr3d\n" + 12690 " │ │ ├─ outerVisibility: false\n" + 12691 " │ │ ├─ isLateral: false\n" + 12692 " │ │ ├─ cacheable: true\n" + 12693 " │ │ ├─ colSet: (160-166)\n" + 12694 " │ │ ├─ tableId: 18\n" + 12695 " │ │ └─ Distinct\n" + 12696 " │ │ └─ Project\n" + 12697 " │ │ ├─ columns: [ism.FV24E:1!null as FJDP5, cpmfe.id:27!null as BJUF2, ism.M22QN:3!null as M22QN, g3yxs.TUV25:14 as TUV25, g3yxs.ESFVY:10!null as ESFVY, yqif4.id:44!null as QNI57, yvhjz.id:54!null as TDEIU]\n" + 12698 " │ │ └─ Filter\n" + 12699 " │ │ ├─ Or\n" + 12700 " │ │ │ ├─ NOT\n" + 12701 " │ │ │ │ └─ yqif4.id:44!null IS NULL\n" + 12702 " │ │ │ └─ NOT\n" + 12703 " │ │ │ └─ yvhjz.id:54!null IS NULL\n" + 12704 " │ │ └─ LeftOuterLookupJoin\n" + 12705 " │ │ ├─ Eq\n" + 12706 " │ │ │ ├─ yvhjz.BRQP2:55!null\n" + 12707 " │ │ │ └─ ism.UJ6XY:2!null\n" + 12708 " │ │ ├─ LeftOuterLookupJoin\n" + 12709 " │ │ │ ├─ Eq\n" + 12710 " │ │ │ │ ├─ yqif4.BRQP2:45!null\n" + 12711 " │ │ │ │ └─ ism.FV24E:1!null\n" + 12712 " │ │ │ ├─ LeftOuterLookupJoin\n" + 12713 " │ │ │ │ ├─ NOT\n" + 12714 " │ │ │ │ │ └─ Eq\n" + 12715 " │ │ │ │ │ ├─ cpmfe.id:27!null\n" + 12716 " │ │ │ │ │ └─ ism.FV24E:1!null\n" + 12717 " │ │ │ │ ├─ LeftOuterHashJoin\n" + 12718 " │ │ │ │ │ ├─ Eq\n" + 12719 " │ │ │ │ │ │ ├─ nhmxw.id:17!null\n" + 12720 " │ │ │ │ │ │ └─ ism.PRUV2:6\n" + 12721 " │ │ │ │ │ ├─ MergeJoin\n" + 12722 " │ │ │ │ │ │ ├─ cmp: Eq\n" + 12723 " │ │ │ │ │ │ │ ├─ ism.NZ4MQ:4!null\n" + 12724 " │ │ │ │ │ │ │ └─ g3yxs.id:9!null\n" + 12725 " │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 12726 " │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 12727 " │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 12728 " │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 12729 " │ │ │ │ │ │ │ ├─ colSet: (15-23)\n" + 12730 " │ │ │ │ │ │ │ ├─ tableId: 4\n" + 12731 " │ │ │ │ │ │ │ └─ Table\n" + 12732 " │ │ │ │ │ │ │ ├─ name: HDDVB\n" + 12733 " │ │ │ │ │ │ │ └─ columns: [id fv24e uj6xy m22qn nz4mq etpqv pruv2 ykssu fhcyt]\n" + 12734 " │ │ │ │ │ │ └─ Filter\n" + 12735 " │ │ │ │ │ │ ├─ NOT\n" + 12736 " │ │ │ │ │ │ │ └─ g3yxs.TUV25:5 IS NULL\n" + 12737 " │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 12738 " │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 12739 " │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 12740 " │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 12741 " │ │ │ │ │ │ ├─ colSet: (24-31)\n" + 12742 " │ │ │ │ │ │ ├─ tableId: 5\n" + 12743 " │ │ │ │ │ │ └─ Table\n" + 12744 " │ │ │ │ │ │ ├─ name: YYBCX\n" + 12745 " │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q tuv25 ykssu fhcyt]\n" + 12746 " │ │ │ │ │ └─ HashLookup\n" + 12747 " │ │ │ │ │ ├─ left-key: TUPLE(ism.PRUV2:6)\n" + 12748 " │ │ │ │ │ ├─ right-key: TUPLE(nhmxw.id:0!null)\n" + 12749 " │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 12750 " │ │ │ │ │ └─ Table\n" + 12751 " │ │ │ │ │ ├─ name: WGSDC\n" + 12752 " │ │ │ │ │ ├─ columns: [id nohhr avpyf sypkf idut2 fzxv5 dqygv swcqv ykssu fhcyt]\n" + 12753 " │ │ │ │ │ ├─ colSet: (32-41)\n" + 12754 " │ │ │ │ │ └─ tableId: 6\n" + 12755 " │ │ │ │ └─ TableAlias(cpmfe)\n" + 12756 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 12757 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 12758 " │ │ │ │ ├─ keys: [nhmxw.NOHHR:18!null]\n" + 12759 " │ │ │ │ ├─ colSet: (42-58)\n" + 12760 " │ │ │ │ ├─ tableId: 7\n" + 12761 " │ │ │ │ └─ Table\n" + 12762 " │ │ │ │ ├─ name: E2I7U\n" + 12763 " │ │ │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 12764 " │ │ │ └─ TableAlias(yqif4)\n" + 12765 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12766 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 12767 " │ │ │ ├─ keys: [ism.UJ6XY:2!null]\n" + 12768 " │ │ │ ├─ colSet: (59-68)\n" + 12769 " │ │ │ ├─ tableId: 8\n" + 12770 " │ │ │ └─ Table\n" + 12771 " │ │ │ ├─ name: NOXN3\n" + 12772 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 12773 " │ │ └─ TableAlias(yvhjz)\n" + 12774 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 12775 " │ │ ├─ index: [NOXN3.FFTBJ]\n" + 12776 " │ │ ├─ keys: [ism.FV24E:1!null]\n" + 12777 " │ │ ├─ colSet: (69-78)\n" + 12778 " │ │ ├─ tableId: 9\n" + 12779 " │ │ └─ Table\n" + 12780 " │ │ ├─ name: NOXN3\n" + 12781 " │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 12782 " │ └─ TableAlias(aac)\n" + 12783 " │ └─ IndexedTableAccess(TPXBU)\n" + 12784 " │ ├─ index: [TPXBU.id]\n" + 12785 " │ ├─ keys: [mjr3d.M22QN:2!null]\n" + 12786 " │ ├─ colSet: (167-169)\n" + 12787 " │ ├─ tableId: 19\n" + 12788 " │ └─ Table\n" + 12789 " │ ├─ name: TPXBU\n" + 12790 " │ └─ columns: [id btxc5 fhcyt]\n" + 12791 " └─ TableAlias(sn)\n" + 12792 " └─ Table\n" + 12793 " ├─ name: NOXN3\n" + 12794 " ├─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 12795 " ├─ colSet: (170-179)\n" + 12796 " └─ tableId: 20\n" + 12797 "", 12798 ExpectedEstimates: "Project\n" + 12799 " ├─ columns: [fs.T4IBQ as T4IBQ, fs.M6T2N as M6T2N, fs.TUV25 as TUV25, fs.BTXC5 as YEBDJ]\n" + 12800 " └─ Project\n" + 12801 " ├─ columns: [fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25]\n" + 12802 " └─ Filter\n" + 12803 " ├─ (((zmspr.T4IBQ IS NULL AND zmspr.M6T2N IS NULL) AND zmspr.BTXC5 IS NULL) AND zmspr.TUV25 IS NULL)\n" + 12804 " └─ LeftOuterHashJoinExcludeNulls (estimated cost=402.250 rows=125)\n" + 12805 " ├─ ((fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25) = (zmspr.T4IBQ, zmspr.M6T2N, zmspr.BTXC5, zmspr.TUV25))\n" + 12806 " ├─ SubqueryAlias\n" + 12807 " │ ├─ name: fs\n" + 12808 " │ ├─ outerVisibility: false\n" + 12809 " │ ├─ isLateral: false\n" + 12810 " │ ├─ cacheable: true\n" + 12811 " │ └─ Project\n" + 12812 " │ ├─ columns: [rsa3y.T4IBQ as T4IBQ, jmhie.M6T2N as M6T2N, jmhie.BTXC5 as BTXC5, jmhie.TUV25 as TUV25]\n" + 12813 " │ └─ CrossHashJoin\n" + 12814 " │ ├─ SubqueryAlias\n" + 12815 " │ │ ├─ name: jmhie\n" + 12816 " │ │ ├─ outerVisibility: false\n" + 12817 " │ │ ├─ isLateral: false\n" + 12818 " │ │ ├─ cacheable: true\n" + 12819 " │ │ └─ Distinct\n" + 12820 " │ │ └─ Project\n" + 12821 " │ │ ├─ columns: [jqhrg.M6T2N, jqhrg.BTXC5, jqhrg.TUV25]\n" + 12822 " │ │ └─ SubqueryAlias\n" + 12823 " │ │ ├─ name: jqhrg\n" + 12824 " │ │ ├─ outerVisibility: false\n" + 12825 " │ │ ├─ isLateral: false\n" + 12826 " │ │ ├─ cacheable: true\n" + 12827 " │ │ └─ Project\n" + 12828 " │ │ ├─ columns: [CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 12829 " │ │ │ ├─ cacheable: false\n" + 12830 " │ │ │ └─ Project\n" + 12831 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 12832 " │ │ │ └─ Filter\n" + 12833 " │ │ │ ├─ (ei.id = mjr3d.QNI57)\n" + 12834 " │ │ │ └─ SubqueryAlias\n" + 12835 " │ │ │ ├─ name: ei\n" + 12836 " │ │ │ ├─ outerVisibility: true\n" + 12837 " │ │ │ ├─ isLateral: false\n" + 12838 " │ │ │ ├─ cacheable: true\n" + 12839 " │ │ │ └─ Project\n" + 12840 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 12841 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 12842 " │ │ │ └─ Table\n" + 12843 " │ │ │ ├─ name: NOXN3\n" + 12844 " │ │ │ └─ columns: [id]\n" + 12845 " │ │ │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 12846 " │ │ │ ├─ cacheable: false\n" + 12847 " │ │ │ └─ Project\n" + 12848 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 12849 " │ │ │ └─ Filter\n" + 12850 " │ │ │ ├─ (ei.id = mjr3d.TDEIU)\n" + 12851 " │ │ │ └─ SubqueryAlias\n" + 12852 " │ │ │ ├─ name: ei\n" + 12853 " │ │ │ ├─ outerVisibility: true\n" + 12854 " │ │ │ ├─ isLateral: false\n" + 12855 " │ │ │ ├─ cacheable: true\n" + 12856 " │ │ │ └─ Project\n" + 12857 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 12858 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 12859 " │ │ │ └─ Table\n" + 12860 " │ │ │ ├─ name: NOXN3\n" + 12861 " │ │ │ └─ columns: [id]\n" + 12862 " │ │ │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 12863 " │ │ └─ Project\n" + 12864 " │ │ ├─ columns: [mjr3d.FJDP5, mjr3d.BJUF2, mjr3d.M22QN, mjr3d.TUV25, mjr3d.ESFVY, mjr3d.QNI57, mjr3d.TDEIU, aac.id, aac.BTXC5, aac.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 12865 " │ │ │ ├─ cacheable: false\n" + 12866 " │ │ │ └─ Project\n" + 12867 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 12868 " │ │ │ └─ Filter\n" + 12869 " │ │ │ ├─ (ei.id = mjr3d.QNI57)\n" + 12870 " │ │ │ └─ SubqueryAlias\n" + 12871 " │ │ │ ├─ name: ei\n" + 12872 " │ │ │ ├─ outerVisibility: true\n" + 12873 " │ │ │ ├─ isLateral: false\n" + 12874 " │ │ │ ├─ cacheable: true\n" + 12875 " │ │ │ └─ Project\n" + 12876 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 12877 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 12878 " │ │ │ └─ Table\n" + 12879 " │ │ │ ├─ name: NOXN3\n" + 12880 " │ │ │ └─ columns: [id]\n" + 12881 " │ │ │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 12882 " │ │ │ ├─ cacheable: false\n" + 12883 " │ │ │ └─ Project\n" + 12884 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 12885 " │ │ │ └─ Filter\n" + 12886 " │ │ │ ├─ (ei.id = mjr3d.TDEIU)\n" + 12887 " │ │ │ └─ SubqueryAlias\n" + 12888 " │ │ │ ├─ name: ei\n" + 12889 " │ │ │ ├─ outerVisibility: true\n" + 12890 " │ │ │ ├─ isLateral: false\n" + 12891 " │ │ │ ├─ cacheable: true\n" + 12892 " │ │ │ └─ Project\n" + 12893 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 12894 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 12895 " │ │ │ └─ Table\n" + 12896 " │ │ │ ├─ name: NOXN3\n" + 12897 " │ │ │ └─ columns: [id]\n" + 12898 " │ │ │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 12899 " │ │ └─ LeftOuterJoin\n" + 12900 " │ │ ├─ ((((((NOT(mjr3d.QNI57 IS NULL)) AND (sn.id = mjr3d.QNI57)) AND mjr3d.BJUF2 IS NULL) OR (((NOT(mjr3d.QNI57 IS NULL)) AND InSubquery\n" + 12901 " │ │ │ ├─ left: sn.id\n" + 12902 " │ │ │ └─ right: Subquery\n" + 12903 " │ │ │ ├─ cacheable: false\n" + 12904 " │ │ │ └─ Project\n" + 12905 " │ │ │ ├─ columns: [jtehg.id]\n" + 12906 " │ │ │ └─ Filter\n" + 12907 " │ │ │ ├─ (jtehg.BRQP2 = mjr3d.BJUF2)\n" + 12908 " │ │ │ └─ TableAlias(jtehg)\n" + 12909 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12910 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 12911 " │ │ │ ├─ columns: [id brqp2]\n" + 12912 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 12913 " │ │ │ ) AND (NOT(mjr3d.BJUF2 IS NULL)))) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 12914 " │ │ │ ├─ left: sn.id\n" + 12915 " │ │ │ └─ right: Subquery\n" + 12916 " │ │ │ ├─ cacheable: false\n" + 12917 " │ │ │ └─ Project\n" + 12918 " │ │ │ ├─ columns: [xmafz.id]\n" + 12919 " │ │ │ └─ Filter\n" + 12920 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.FJDP5)\n" + 12921 " │ │ │ └─ TableAlias(xmafz)\n" + 12922 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12923 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 12924 " │ │ │ ├─ columns: [id brqp2]\n" + 12925 " │ │ │ └─ keys: mjr3d.FJDP5\n" + 12926 " │ │ │ ) AND mjr3d.BJUF2 IS NULL)) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 12927 " │ │ │ ├─ left: sn.id\n" + 12928 " │ │ │ └─ right: Subquery\n" + 12929 " │ │ │ ├─ cacheable: false\n" + 12930 " │ │ │ └─ Project\n" + 12931 " │ │ │ ├─ columns: [xmafz.id]\n" + 12932 " │ │ │ └─ Filter\n" + 12933 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.BJUF2)\n" + 12934 " │ │ │ └─ TableAlias(xmafz)\n" + 12935 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12936 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 12937 " │ │ │ ├─ columns: [id brqp2]\n" + 12938 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 12939 " │ │ │ ) AND (NOT(mjr3d.BJUF2 IS NULL))))\n" + 12940 " │ │ ├─ LookupJoin\n" + 12941 " │ │ │ ├─ SubqueryAlias\n" + 12942 " │ │ │ │ ├─ name: mjr3d\n" + 12943 " │ │ │ │ ├─ outerVisibility: false\n" + 12944 " │ │ │ │ ├─ isLateral: false\n" + 12945 " │ │ │ │ ├─ cacheable: true\n" + 12946 " │ │ │ │ └─ Distinct\n" + 12947 " │ │ │ │ └─ Project\n" + 12948 " │ │ │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, ism.M22QN as M22QN, g3yxs.TUV25 as TUV25, g3yxs.ESFVY as ESFVY, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 12949 " │ │ │ │ └─ Filter\n" + 12950 " │ │ │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 12951 " │ │ │ │ └─ LeftOuterLookupJoin\n" + 12952 " │ │ │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 12953 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 12954 " │ │ │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 12955 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 12956 " │ │ │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 12957 " │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 12958 " │ │ │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 12959 " │ │ │ │ │ │ │ ├─ MergeJoin\n" + 12960 " │ │ │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 12961 " │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 12962 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 12963 " │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 12964 " │ │ │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 12965 " │ │ │ │ │ │ │ │ └─ Filter\n" + 12966 " │ │ │ │ │ │ │ │ ├─ (NOT(g3yxs.TUV25 IS NULL))\n" + 12967 " │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 12968 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 12969 " │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 12970 " │ │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 12971 " │ │ │ │ │ │ │ └─ HashLookup\n" + 12972 " │ │ │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 12973 " │ │ │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 12974 " │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 12975 " │ │ │ │ │ │ │ └─ Table\n" + 12976 " │ │ │ │ │ │ │ └─ name: WGSDC\n" + 12977 " │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 12978 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 12979 " │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 12980 " │ │ │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 12981 " │ │ │ │ │ └─ TableAlias(yqif4)\n" + 12982 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12983 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 12984 " │ │ │ │ │ └─ keys: ism.UJ6XY\n" + 12985 " │ │ │ │ └─ TableAlias(yvhjz)\n" + 12986 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 12987 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 12988 " │ │ │ │ └─ keys: ism.FV24E\n" + 12989 " │ │ │ └─ TableAlias(aac)\n" + 12990 " │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 12991 " │ │ │ ├─ index: [TPXBU.id]\n" + 12992 " │ │ │ └─ keys: mjr3d.M22QN\n" + 12993 " │ │ └─ TableAlias(sn)\n" + 12994 " │ │ └─ Table\n" + 12995 " │ │ └─ name: NOXN3\n" + 12996 " │ └─ HashLookup\n" + 12997 " │ ├─ left-key: ()\n" + 12998 " │ ├─ right-key: ()\n" + 12999 " │ └─ SubqueryAlias\n" + 13000 " │ ├─ name: rsa3y\n" + 13001 " │ ├─ outerVisibility: false\n" + 13002 " │ ├─ isLateral: false\n" + 13003 " │ ├─ cacheable: true\n" + 13004 " │ └─ Distinct\n" + 13005 " │ └─ Project\n" + 13006 " │ ├─ columns: [htkbs.T4IBQ]\n" + 13007 " │ └─ SubqueryAlias\n" + 13008 " │ ├─ name: htkbs\n" + 13009 " │ ├─ outerVisibility: false\n" + 13010 " │ ├─ isLateral: false\n" + 13011 " │ ├─ cacheable: true\n" + 13012 " │ └─ Project\n" + 13013 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, mf.M22QN as M22QN]\n" + 13014 " │ └─ HashJoin\n" + 13015 " │ ├─ (bs.id = mf.GXLUB)\n" + 13016 " │ ├─ MergeJoin\n" + 13017 " │ │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 13018 " │ │ ├─ Filter\n" + 13019 " │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 13020 " │ │ │ └─ TableAlias(cla)\n" + 13021 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 13022 " │ │ │ ├─ index: [YK2GW.id]\n" + 13023 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13024 " │ │ │ └─ columns: [id ftqlq]\n" + 13025 " │ │ └─ TableAlias(bs)\n" + 13026 " │ │ └─ IndexedTableAccess(THNTS)\n" + 13027 " │ │ ├─ index: [THNTS.IXUXU]\n" + 13028 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13029 " │ │ └─ columns: [id ixuxu]\n" + 13030 " │ └─ HashLookup\n" + 13031 " │ ├─ left-key: (bs.id)\n" + 13032 " │ ├─ right-key: (mf.GXLUB)\n" + 13033 " │ └─ MergeJoin\n" + 13034 " │ ├─ cmp: (mf.LUEVY = sn.BRQP2)\n" + 13035 " │ ├─ TableAlias(mf)\n" + 13036 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 13037 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 13038 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13039 " │ │ └─ columns: [gxlub luevy m22qn]\n" + 13040 " │ └─ TableAlias(sn)\n" + 13041 " │ └─ IndexedTableAccess(NOXN3)\n" + 13042 " │ ├─ index: [NOXN3.BRQP2]\n" + 13043 " │ ├─ filters: [{[NULL, ∞)}]\n" + 13044 " │ └─ columns: [id brqp2]\n" + 13045 " └─ HashLookup\n" + 13046 " ├─ left-key: ((fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25))\n" + 13047 " ├─ right-key: ((zmspr.T4IBQ, zmspr.M6T2N, zmspr.BTXC5, zmspr.TUV25))\n" + 13048 " └─ SubqueryAlias\n" + 13049 " ├─ name: zmspr\n" + 13050 " ├─ outerVisibility: false\n" + 13051 " ├─ isLateral: false\n" + 13052 " ├─ cacheable: true\n" + 13053 " └─ Distinct\n" + 13054 " └─ Project\n" + 13055 " ├─ columns: [cld.T4IBQ as T4IBQ, p4pjz.M6T2N as M6T2N, p4pjz.BTXC5 as BTXC5, p4pjz.TUV25 as TUV25]\n" + 13056 " └─ Filter\n" + 13057 " ├─ (NOT(p4pjz.M6T2N IS NULL))\n" + 13058 " └─ LeftOuterHashJoin\n" + 13059 " ├─ ((p4pjz.LWQ6O = cld.BDNYB) AND (p4pjz.NTOFG = cld.M22QN))\n" + 13060 " ├─ SubqueryAlias\n" + 13061 " │ ├─ name: cld\n" + 13062 " │ ├─ outerVisibility: false\n" + 13063 " │ ├─ isLateral: false\n" + 13064 " │ ├─ cacheable: true\n" + 13065 " │ └─ Project\n" + 13066 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, mf.M22QN as M22QN]\n" + 13067 " │ └─ HashJoin\n" + 13068 " │ ├─ (bs.id = mf.GXLUB)\n" + 13069 " │ ├─ MergeJoin\n" + 13070 " │ │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 13071 " │ │ ├─ Filter\n" + 13072 " │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 13073 " │ │ │ └─ TableAlias(cla)\n" + 13074 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 13075 " │ │ │ ├─ index: [YK2GW.id]\n" + 13076 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13077 " │ │ │ └─ columns: [id ftqlq]\n" + 13078 " │ │ └─ TableAlias(bs)\n" + 13079 " │ │ └─ IndexedTableAccess(THNTS)\n" + 13080 " │ │ ├─ index: [THNTS.IXUXU]\n" + 13081 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13082 " │ │ └─ columns: [id ixuxu]\n" + 13083 " │ └─ HashLookup\n" + 13084 " │ ├─ left-key: (bs.id)\n" + 13085 " │ ├─ right-key: (mf.GXLUB)\n" + 13086 " │ └─ MergeJoin\n" + 13087 " │ ├─ cmp: (mf.LUEVY = sn.BRQP2)\n" + 13088 " │ ├─ TableAlias(mf)\n" + 13089 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 13090 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 13091 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13092 " │ │ └─ columns: [gxlub luevy m22qn]\n" + 13093 " │ └─ TableAlias(sn)\n" + 13094 " │ └─ IndexedTableAccess(NOXN3)\n" + 13095 " │ ├─ index: [NOXN3.BRQP2]\n" + 13096 " │ ├─ filters: [{[NULL, ∞)}]\n" + 13097 " │ └─ columns: [id brqp2]\n" + 13098 " └─ HashLookup\n" + 13099 " ├─ left-key: (cld.BDNYB, cld.M22QN)\n" + 13100 " ├─ right-key: (p4pjz.LWQ6O, p4pjz.NTOFG)\n" + 13101 " └─ SubqueryAlias\n" + 13102 " ├─ name: p4pjz\n" + 13103 " ├─ outerVisibility: false\n" + 13104 " ├─ isLateral: false\n" + 13105 " ├─ cacheable: true\n" + 13106 " └─ Project\n" + 13107 " ├─ columns: [CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 13108 " │ ├─ cacheable: false\n" + 13109 " │ └─ Project\n" + 13110 " │ ├─ columns: [ei.M6T2N]\n" + 13111 " │ └─ Filter\n" + 13112 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 13113 " │ └─ SubqueryAlias\n" + 13114 " │ ├─ name: ei\n" + 13115 " │ ├─ outerVisibility: true\n" + 13116 " │ ├─ isLateral: false\n" + 13117 " │ ├─ cacheable: true\n" + 13118 " │ └─ Project\n" + 13119 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13120 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13121 " │ └─ Table\n" + 13122 " │ ├─ name: NOXN3\n" + 13123 " │ └─ columns: [id]\n" + 13124 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 13125 " │ ├─ cacheable: false\n" + 13126 " │ └─ Project\n" + 13127 " │ ├─ columns: [ei.M6T2N]\n" + 13128 " │ └─ Filter\n" + 13129 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 13130 " │ └─ SubqueryAlias\n" + 13131 " │ ├─ name: ei\n" + 13132 " │ ├─ outerVisibility: true\n" + 13133 " │ ├─ isLateral: false\n" + 13134 " │ ├─ cacheable: true\n" + 13135 " │ └─ Project\n" + 13136 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13137 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13138 " │ └─ Table\n" + 13139 " │ ├─ name: NOXN3\n" + 13140 " │ └─ columns: [id]\n" + 13141 " │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 13142 " └─ Project\n" + 13143 " ├─ columns: [mjr3d.FJDP5, mjr3d.BJUF2, mjr3d.M22QN, mjr3d.TUV25, mjr3d.ESFVY, mjr3d.QNI57, mjr3d.TDEIU, aac.id, aac.BTXC5, aac.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 13144 " │ ├─ cacheable: false\n" + 13145 " │ └─ Project\n" + 13146 " │ ├─ columns: [ei.M6T2N]\n" + 13147 " │ └─ Filter\n" + 13148 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 13149 " │ └─ SubqueryAlias\n" + 13150 " │ ├─ name: ei\n" + 13151 " │ ├─ outerVisibility: true\n" + 13152 " │ ├─ isLateral: false\n" + 13153 " │ ├─ cacheable: true\n" + 13154 " │ └─ Project\n" + 13155 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13156 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13157 " │ └─ Table\n" + 13158 " │ ├─ name: NOXN3\n" + 13159 " │ └─ columns: [id]\n" + 13160 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 13161 " │ ├─ cacheable: false\n" + 13162 " │ └─ Project\n" + 13163 " │ ├─ columns: [ei.M6T2N]\n" + 13164 " │ └─ Filter\n" + 13165 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 13166 " │ └─ SubqueryAlias\n" + 13167 " │ ├─ name: ei\n" + 13168 " │ ├─ outerVisibility: true\n" + 13169 " │ ├─ isLateral: false\n" + 13170 " │ ├─ cacheable: true\n" + 13171 " │ └─ Project\n" + 13172 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13173 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13174 " │ └─ Table\n" + 13175 " │ ├─ name: NOXN3\n" + 13176 " │ └─ columns: [id]\n" + 13177 " │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 13178 " └─ LeftOuterJoin\n" + 13179 " ├─ ((((((NOT(mjr3d.QNI57 IS NULL)) AND (sn.id = mjr3d.QNI57)) AND mjr3d.BJUF2 IS NULL) OR (((NOT(mjr3d.QNI57 IS NULL)) AND InSubquery\n" + 13180 " │ ├─ left: sn.id\n" + 13181 " │ └─ right: Subquery\n" + 13182 " │ ├─ cacheable: false\n" + 13183 " │ └─ Project\n" + 13184 " │ ├─ columns: [jtehg.id]\n" + 13185 " │ └─ Filter\n" + 13186 " │ ├─ (jtehg.BRQP2 = mjr3d.BJUF2)\n" + 13187 " │ └─ TableAlias(jtehg)\n" + 13188 " │ └─ IndexedTableAccess(NOXN3)\n" + 13189 " │ ├─ index: [NOXN3.BRQP2]\n" + 13190 " │ ├─ columns: [id brqp2]\n" + 13191 " │ └─ keys: mjr3d.BJUF2\n" + 13192 " │ ) AND (NOT(mjr3d.BJUF2 IS NULL)))) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 13193 " │ ├─ left: sn.id\n" + 13194 " │ └─ right: Subquery\n" + 13195 " │ ├─ cacheable: false\n" + 13196 " │ └─ Project\n" + 13197 " │ ├─ columns: [xmafz.id]\n" + 13198 " │ └─ Filter\n" + 13199 " │ ├─ (xmafz.BRQP2 = mjr3d.FJDP5)\n" + 13200 " │ └─ TableAlias(xmafz)\n" + 13201 " │ └─ IndexedTableAccess(NOXN3)\n" + 13202 " │ ├─ index: [NOXN3.BRQP2]\n" + 13203 " │ ├─ columns: [id brqp2]\n" + 13204 " │ └─ keys: mjr3d.FJDP5\n" + 13205 " │ ) AND mjr3d.BJUF2 IS NULL)) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 13206 " │ ├─ left: sn.id\n" + 13207 " │ └─ right: Subquery\n" + 13208 " │ ├─ cacheable: false\n" + 13209 " │ └─ Project\n" + 13210 " │ ├─ columns: [xmafz.id]\n" + 13211 " │ └─ Filter\n" + 13212 " │ ├─ (xmafz.BRQP2 = mjr3d.BJUF2)\n" + 13213 " │ └─ TableAlias(xmafz)\n" + 13214 " │ └─ IndexedTableAccess(NOXN3)\n" + 13215 " │ ├─ index: [NOXN3.BRQP2]\n" + 13216 " │ ├─ columns: [id brqp2]\n" + 13217 " │ └─ keys: mjr3d.BJUF2\n" + 13218 " │ ) AND (NOT(mjr3d.BJUF2 IS NULL))))\n" + 13219 " ├─ LookupJoin\n" + 13220 " │ ├─ SubqueryAlias\n" + 13221 " │ │ ├─ name: mjr3d\n" + 13222 " │ │ ├─ outerVisibility: false\n" + 13223 " │ │ ├─ isLateral: false\n" + 13224 " │ │ ├─ cacheable: true\n" + 13225 " │ │ └─ Distinct\n" + 13226 " │ │ └─ Project\n" + 13227 " │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, ism.M22QN as M22QN, g3yxs.TUV25 as TUV25, g3yxs.ESFVY as ESFVY, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 13228 " │ │ └─ Filter\n" + 13229 " │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 13230 " │ │ └─ LeftOuterLookupJoin\n" + 13231 " │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 13232 " │ │ ├─ LeftOuterLookupJoin\n" + 13233 " │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 13234 " │ │ │ ├─ LeftOuterLookupJoin\n" + 13235 " │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 13236 " │ │ │ │ ├─ LeftOuterHashJoin\n" + 13237 " │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 13238 " │ │ │ │ │ ├─ MergeJoin\n" + 13239 " │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 13240 " │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 13241 " │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 13242 " │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 13243 " │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 13244 " │ │ │ │ │ │ └─ Filter\n" + 13245 " │ │ │ │ │ │ ├─ (NOT(g3yxs.TUV25 IS NULL))\n" + 13246 " │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 13247 " │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 13248 " │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 13249 " │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 13250 " │ │ │ │ │ └─ HashLookup\n" + 13251 " │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 13252 " │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 13253 " │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 13254 " │ │ │ │ │ └─ Table\n" + 13255 " │ │ │ │ │ └─ name: WGSDC\n" + 13256 " │ │ │ │ └─ TableAlias(cpmfe)\n" + 13257 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 13258 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 13259 " │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 13260 " │ │ │ └─ TableAlias(yqif4)\n" + 13261 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 13262 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 13263 " │ │ │ └─ keys: ism.UJ6XY\n" + 13264 " │ │ └─ TableAlias(yvhjz)\n" + 13265 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 13266 " │ │ ├─ index: [NOXN3.FFTBJ]\n" + 13267 " │ │ └─ keys: ism.FV24E\n" + 13268 " │ └─ TableAlias(aac)\n" + 13269 " │ └─ IndexedTableAccess(TPXBU)\n" + 13270 " │ ├─ index: [TPXBU.id]\n" + 13271 " │ └─ keys: mjr3d.M22QN\n" + 13272 " └─ TableAlias(sn)\n" + 13273 " └─ Table\n" + 13274 " └─ name: NOXN3\n" + 13275 "", 13276 ExpectedAnalysis: "Project\n" + 13277 " ├─ columns: [fs.T4IBQ as T4IBQ, fs.M6T2N as M6T2N, fs.TUV25 as TUV25, fs.BTXC5 as YEBDJ]\n" + 13278 " └─ Project\n" + 13279 " ├─ columns: [fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25]\n" + 13280 " └─ Filter\n" + 13281 " ├─ (((zmspr.T4IBQ IS NULL AND zmspr.M6T2N IS NULL) AND zmspr.BTXC5 IS NULL) AND zmspr.TUV25 IS NULL)\n" + 13282 " └─ LeftOuterHashJoinExcludeNulls (estimated cost=402.250 rows=125) (actual rows=0 loops=1)\n" + 13283 " ├─ ((fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25) = (zmspr.T4IBQ, zmspr.M6T2N, zmspr.BTXC5, zmspr.TUV25))\n" + 13284 " ├─ SubqueryAlias\n" + 13285 " │ ├─ name: fs\n" + 13286 " │ ├─ outerVisibility: false\n" + 13287 " │ ├─ isLateral: false\n" + 13288 " │ ├─ cacheable: true\n" + 13289 " │ └─ Project\n" + 13290 " │ ├─ columns: [rsa3y.T4IBQ as T4IBQ, jmhie.M6T2N as M6T2N, jmhie.BTXC5 as BTXC5, jmhie.TUV25 as TUV25]\n" + 13291 " │ └─ CrossHashJoin\n" + 13292 " │ ├─ SubqueryAlias\n" + 13293 " │ │ ├─ name: jmhie\n" + 13294 " │ │ ├─ outerVisibility: false\n" + 13295 " │ │ ├─ isLateral: false\n" + 13296 " │ │ ├─ cacheable: true\n" + 13297 " │ │ └─ Distinct\n" + 13298 " │ │ └─ Project\n" + 13299 " │ │ ├─ columns: [jqhrg.M6T2N, jqhrg.BTXC5, jqhrg.TUV25]\n" + 13300 " │ │ └─ SubqueryAlias\n" + 13301 " │ │ ├─ name: jqhrg\n" + 13302 " │ │ ├─ outerVisibility: false\n" + 13303 " │ │ ├─ isLateral: false\n" + 13304 " │ │ ├─ cacheable: true\n" + 13305 " │ │ └─ Project\n" + 13306 " │ │ ├─ columns: [CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 13307 " │ │ │ ├─ cacheable: false\n" + 13308 " │ │ │ └─ Project\n" + 13309 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 13310 " │ │ │ └─ Filter\n" + 13311 " │ │ │ ├─ (ei.id = mjr3d.QNI57)\n" + 13312 " │ │ │ └─ SubqueryAlias\n" + 13313 " │ │ │ ├─ name: ei\n" + 13314 " │ │ │ ├─ outerVisibility: true\n" + 13315 " │ │ │ ├─ isLateral: false\n" + 13316 " │ │ │ ├─ cacheable: true\n" + 13317 " │ │ │ └─ Project\n" + 13318 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13319 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13320 " │ │ │ └─ Table\n" + 13321 " │ │ │ ├─ name: NOXN3\n" + 13322 " │ │ │ └─ columns: [id]\n" + 13323 " │ │ │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 13324 " │ │ │ ├─ cacheable: false\n" + 13325 " │ │ │ └─ Project\n" + 13326 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 13327 " │ │ │ └─ Filter\n" + 13328 " │ │ │ ├─ (ei.id = mjr3d.TDEIU)\n" + 13329 " │ │ │ └─ SubqueryAlias\n" + 13330 " │ │ │ ├─ name: ei\n" + 13331 " │ │ │ ├─ outerVisibility: true\n" + 13332 " │ │ │ ├─ isLateral: false\n" + 13333 " │ │ │ ├─ cacheable: true\n" + 13334 " │ │ │ └─ Project\n" + 13335 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13336 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13337 " │ │ │ └─ Table\n" + 13338 " │ │ │ ├─ name: NOXN3\n" + 13339 " │ │ │ └─ columns: [id]\n" + 13340 " │ │ │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 13341 " │ │ └─ Project\n" + 13342 " │ │ ├─ columns: [mjr3d.FJDP5, mjr3d.BJUF2, mjr3d.M22QN, mjr3d.TUV25, mjr3d.ESFVY, mjr3d.QNI57, mjr3d.TDEIU, aac.id, aac.BTXC5, aac.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 13343 " │ │ │ ├─ cacheable: false\n" + 13344 " │ │ │ └─ Project\n" + 13345 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 13346 " │ │ │ └─ Filter\n" + 13347 " │ │ │ ├─ (ei.id = mjr3d.QNI57)\n" + 13348 " │ │ │ └─ SubqueryAlias\n" + 13349 " │ │ │ ├─ name: ei\n" + 13350 " │ │ │ ├─ outerVisibility: true\n" + 13351 " │ │ │ ├─ isLateral: false\n" + 13352 " │ │ │ ├─ cacheable: true\n" + 13353 " │ │ │ └─ Project\n" + 13354 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13355 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13356 " │ │ │ └─ Table\n" + 13357 " │ │ │ ├─ name: NOXN3\n" + 13358 " │ │ │ └─ columns: [id]\n" + 13359 " │ │ │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 13360 " │ │ │ ├─ cacheable: false\n" + 13361 " │ │ │ └─ Project\n" + 13362 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 13363 " │ │ │ └─ Filter\n" + 13364 " │ │ │ ├─ (ei.id = mjr3d.TDEIU)\n" + 13365 " │ │ │ └─ SubqueryAlias\n" + 13366 " │ │ │ ├─ name: ei\n" + 13367 " │ │ │ ├─ outerVisibility: true\n" + 13368 " │ │ │ ├─ isLateral: false\n" + 13369 " │ │ │ ├─ cacheable: true\n" + 13370 " │ │ │ └─ Project\n" + 13371 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13372 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13373 " │ │ │ └─ Table\n" + 13374 " │ │ │ ├─ name: NOXN3\n" + 13375 " │ │ │ └─ columns: [id]\n" + 13376 " │ │ │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 13377 " │ │ └─ LeftOuterJoin\n" + 13378 " │ │ ├─ ((((((NOT(mjr3d.QNI57 IS NULL)) AND (sn.id = mjr3d.QNI57)) AND mjr3d.BJUF2 IS NULL) OR (((NOT(mjr3d.QNI57 IS NULL)) AND InSubquery\n" + 13379 " │ │ │ ├─ left: sn.id\n" + 13380 " │ │ │ └─ right: Subquery\n" + 13381 " │ │ │ ├─ cacheable: false\n" + 13382 " │ │ │ └─ Project\n" + 13383 " │ │ │ ├─ columns: [jtehg.id]\n" + 13384 " │ │ │ └─ Filter\n" + 13385 " │ │ │ ├─ (jtehg.BRQP2 = mjr3d.BJUF2)\n" + 13386 " │ │ │ └─ TableAlias(jtehg)\n" + 13387 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 13388 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 13389 " │ │ │ ├─ columns: [id brqp2]\n" + 13390 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 13391 " │ │ │ ) AND (NOT(mjr3d.BJUF2 IS NULL)))) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 13392 " │ │ │ ├─ left: sn.id\n" + 13393 " │ │ │ └─ right: Subquery\n" + 13394 " │ │ │ ├─ cacheable: false\n" + 13395 " │ │ │ └─ Project\n" + 13396 " │ │ │ ├─ columns: [xmafz.id]\n" + 13397 " │ │ │ └─ Filter\n" + 13398 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.FJDP5)\n" + 13399 " │ │ │ └─ TableAlias(xmafz)\n" + 13400 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 13401 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 13402 " │ │ │ ├─ columns: [id brqp2]\n" + 13403 " │ │ │ └─ keys: mjr3d.FJDP5\n" + 13404 " │ │ │ ) AND mjr3d.BJUF2 IS NULL)) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 13405 " │ │ │ ├─ left: sn.id\n" + 13406 " │ │ │ └─ right: Subquery\n" + 13407 " │ │ │ ├─ cacheable: false\n" + 13408 " │ │ │ └─ Project\n" + 13409 " │ │ │ ├─ columns: [xmafz.id]\n" + 13410 " │ │ │ └─ Filter\n" + 13411 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.BJUF2)\n" + 13412 " │ │ │ └─ TableAlias(xmafz)\n" + 13413 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 13414 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 13415 " │ │ │ ├─ columns: [id brqp2]\n" + 13416 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 13417 " │ │ │ ) AND (NOT(mjr3d.BJUF2 IS NULL))))\n" + 13418 " │ │ ├─ LookupJoin\n" + 13419 " │ │ │ ├─ SubqueryAlias\n" + 13420 " │ │ │ │ ├─ name: mjr3d\n" + 13421 " │ │ │ │ ├─ outerVisibility: false\n" + 13422 " │ │ │ │ ├─ isLateral: false\n" + 13423 " │ │ │ │ ├─ cacheable: true\n" + 13424 " │ │ │ │ └─ Distinct\n" + 13425 " │ │ │ │ └─ Project\n" + 13426 " │ │ │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, ism.M22QN as M22QN, g3yxs.TUV25 as TUV25, g3yxs.ESFVY as ESFVY, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 13427 " │ │ │ │ └─ Filter\n" + 13428 " │ │ │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 13429 " │ │ │ │ └─ LeftOuterLookupJoin\n" + 13430 " │ │ │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 13431 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 13432 " │ │ │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 13433 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 13434 " │ │ │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 13435 " │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 13436 " │ │ │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 13437 " │ │ │ │ │ │ │ ├─ MergeJoin\n" + 13438 " │ │ │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 13439 " │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 13440 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 13441 " │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 13442 " │ │ │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 13443 " │ │ │ │ │ │ │ │ └─ Filter\n" + 13444 " │ │ │ │ │ │ │ │ ├─ (NOT(g3yxs.TUV25 IS NULL))\n" + 13445 " │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 13446 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 13447 " │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 13448 " │ │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 13449 " │ │ │ │ │ │ │ └─ HashLookup\n" + 13450 " │ │ │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 13451 " │ │ │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 13452 " │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 13453 " │ │ │ │ │ │ │ └─ Table\n" + 13454 " │ │ │ │ │ │ │ └─ name: WGSDC\n" + 13455 " │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 13456 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 13457 " │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 13458 " │ │ │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 13459 " │ │ │ │ │ └─ TableAlias(yqif4)\n" + 13460 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 13461 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 13462 " │ │ │ │ │ └─ keys: ism.UJ6XY\n" + 13463 " │ │ │ │ └─ TableAlias(yvhjz)\n" + 13464 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 13465 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 13466 " │ │ │ │ └─ keys: ism.FV24E\n" + 13467 " │ │ │ └─ TableAlias(aac)\n" + 13468 " │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 13469 " │ │ │ ├─ index: [TPXBU.id]\n" + 13470 " │ │ │ └─ keys: mjr3d.M22QN\n" + 13471 " │ │ └─ TableAlias(sn)\n" + 13472 " │ │ └─ Table\n" + 13473 " │ │ └─ name: NOXN3\n" + 13474 " │ └─ HashLookup\n" + 13475 " │ ├─ left-key: ()\n" + 13476 " │ ├─ right-key: ()\n" + 13477 " │ └─ SubqueryAlias\n" + 13478 " │ ├─ name: rsa3y\n" + 13479 " │ ├─ outerVisibility: false\n" + 13480 " │ ├─ isLateral: false\n" + 13481 " │ ├─ cacheable: true\n" + 13482 " │ └─ Distinct\n" + 13483 " │ └─ Project\n" + 13484 " │ ├─ columns: [htkbs.T4IBQ]\n" + 13485 " │ └─ SubqueryAlias\n" + 13486 " │ ├─ name: htkbs\n" + 13487 " │ ├─ outerVisibility: false\n" + 13488 " │ ├─ isLateral: false\n" + 13489 " │ ├─ cacheable: true\n" + 13490 " │ └─ Project\n" + 13491 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, mf.M22QN as M22QN]\n" + 13492 " │ └─ HashJoin\n" + 13493 " │ ├─ (bs.id = mf.GXLUB)\n" + 13494 " │ ├─ MergeJoin\n" + 13495 " │ │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 13496 " │ │ ├─ Filter\n" + 13497 " │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 13498 " │ │ │ └─ TableAlias(cla)\n" + 13499 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 13500 " │ │ │ ├─ index: [YK2GW.id]\n" + 13501 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13502 " │ │ │ └─ columns: [id ftqlq]\n" + 13503 " │ │ └─ TableAlias(bs)\n" + 13504 " │ │ └─ IndexedTableAccess(THNTS)\n" + 13505 " │ │ ├─ index: [THNTS.IXUXU]\n" + 13506 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13507 " │ │ └─ columns: [id ixuxu]\n" + 13508 " │ └─ HashLookup\n" + 13509 " │ ├─ left-key: (bs.id)\n" + 13510 " │ ├─ right-key: (mf.GXLUB)\n" + 13511 " │ └─ MergeJoin\n" + 13512 " │ ├─ cmp: (mf.LUEVY = sn.BRQP2)\n" + 13513 " │ ├─ TableAlias(mf)\n" + 13514 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 13515 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 13516 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13517 " │ │ └─ columns: [gxlub luevy m22qn]\n" + 13518 " │ └─ TableAlias(sn)\n" + 13519 " │ └─ IndexedTableAccess(NOXN3)\n" + 13520 " │ ├─ index: [NOXN3.BRQP2]\n" + 13521 " │ ├─ filters: [{[NULL, ∞)}]\n" + 13522 " │ └─ columns: [id brqp2]\n" + 13523 " └─ HashLookup\n" + 13524 " ├─ left-key: ((fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25))\n" + 13525 " ├─ right-key: ((zmspr.T4IBQ, zmspr.M6T2N, zmspr.BTXC5, zmspr.TUV25))\n" + 13526 " └─ SubqueryAlias\n" + 13527 " ├─ name: zmspr\n" + 13528 " ├─ outerVisibility: false\n" + 13529 " ├─ isLateral: false\n" + 13530 " ├─ cacheable: true\n" + 13531 " └─ Distinct\n" + 13532 " └─ Project\n" + 13533 " ├─ columns: [cld.T4IBQ as T4IBQ, p4pjz.M6T2N as M6T2N, p4pjz.BTXC5 as BTXC5, p4pjz.TUV25 as TUV25]\n" + 13534 " └─ Filter\n" + 13535 " ├─ (NOT(p4pjz.M6T2N IS NULL))\n" + 13536 " └─ LeftOuterHashJoin\n" + 13537 " ├─ ((p4pjz.LWQ6O = cld.BDNYB) AND (p4pjz.NTOFG = cld.M22QN))\n" + 13538 " ├─ SubqueryAlias\n" + 13539 " │ ├─ name: cld\n" + 13540 " │ ├─ outerVisibility: false\n" + 13541 " │ ├─ isLateral: false\n" + 13542 " │ ├─ cacheable: true\n" + 13543 " │ └─ Project\n" + 13544 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, mf.M22QN as M22QN]\n" + 13545 " │ └─ HashJoin\n" + 13546 " │ ├─ (bs.id = mf.GXLUB)\n" + 13547 " │ ├─ MergeJoin\n" + 13548 " │ │ ├─ cmp: (cla.id = bs.IXUXU)\n" + 13549 " │ │ ├─ Filter\n" + 13550 " │ │ │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 13551 " │ │ │ └─ TableAlias(cla)\n" + 13552 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 13553 " │ │ │ ├─ index: [YK2GW.id]\n" + 13554 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13555 " │ │ │ └─ columns: [id ftqlq]\n" + 13556 " │ │ └─ TableAlias(bs)\n" + 13557 " │ │ └─ IndexedTableAccess(THNTS)\n" + 13558 " │ │ ├─ index: [THNTS.IXUXU]\n" + 13559 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13560 " │ │ └─ columns: [id ixuxu]\n" + 13561 " │ └─ HashLookup\n" + 13562 " │ ├─ left-key: (bs.id)\n" + 13563 " │ ├─ right-key: (mf.GXLUB)\n" + 13564 " │ └─ MergeJoin\n" + 13565 " │ ├─ cmp: (mf.LUEVY = sn.BRQP2)\n" + 13566 " │ ├─ TableAlias(mf)\n" + 13567 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 13568 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 13569 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 13570 " │ │ └─ columns: [gxlub luevy m22qn]\n" + 13571 " │ └─ TableAlias(sn)\n" + 13572 " │ └─ IndexedTableAccess(NOXN3)\n" + 13573 " │ ├─ index: [NOXN3.BRQP2]\n" + 13574 " │ ├─ filters: [{[NULL, ∞)}]\n" + 13575 " │ └─ columns: [id brqp2]\n" + 13576 " └─ HashLookup\n" + 13577 " ├─ left-key: (cld.BDNYB, cld.M22QN)\n" + 13578 " ├─ right-key: (p4pjz.LWQ6O, p4pjz.NTOFG)\n" + 13579 " └─ SubqueryAlias\n" + 13580 " ├─ name: p4pjz\n" + 13581 " ├─ outerVisibility: false\n" + 13582 " ├─ isLateral: false\n" + 13583 " ├─ cacheable: true\n" + 13584 " └─ Project\n" + 13585 " ├─ columns: [CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 13586 " │ ├─ cacheable: false\n" + 13587 " │ └─ Project\n" + 13588 " │ ├─ columns: [ei.M6T2N]\n" + 13589 " │ └─ Filter\n" + 13590 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 13591 " │ └─ SubqueryAlias\n" + 13592 " │ ├─ name: ei\n" + 13593 " │ ├─ outerVisibility: true\n" + 13594 " │ ├─ isLateral: false\n" + 13595 " │ ├─ cacheable: true\n" + 13596 " │ └─ Project\n" + 13597 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13598 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13599 " │ └─ Table\n" + 13600 " │ ├─ name: NOXN3\n" + 13601 " │ └─ columns: [id]\n" + 13602 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 13603 " │ ├─ cacheable: false\n" + 13604 " │ └─ Project\n" + 13605 " │ ├─ columns: [ei.M6T2N]\n" + 13606 " │ └─ Filter\n" + 13607 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 13608 " │ └─ SubqueryAlias\n" + 13609 " │ ├─ name: ei\n" + 13610 " │ ├─ outerVisibility: true\n" + 13611 " │ ├─ isLateral: false\n" + 13612 " │ ├─ cacheable: true\n" + 13613 " │ └─ Project\n" + 13614 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13615 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13616 " │ └─ Table\n" + 13617 " │ ├─ name: NOXN3\n" + 13618 " │ └─ columns: [id]\n" + 13619 " │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 13620 " └─ Project\n" + 13621 " ├─ columns: [mjr3d.FJDP5, mjr3d.BJUF2, mjr3d.M22QN, mjr3d.TUV25, mjr3d.ESFVY, mjr3d.QNI57, mjr3d.TDEIU, aac.id, aac.BTXC5, aac.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 13622 " │ ├─ cacheable: false\n" + 13623 " │ └─ Project\n" + 13624 " │ ├─ columns: [ei.M6T2N]\n" + 13625 " │ └─ Filter\n" + 13626 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 13627 " │ └─ SubqueryAlias\n" + 13628 " │ ├─ name: ei\n" + 13629 " │ ├─ outerVisibility: true\n" + 13630 " │ ├─ isLateral: false\n" + 13631 " │ ├─ cacheable: true\n" + 13632 " │ └─ Project\n" + 13633 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13634 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13635 " │ └─ Table\n" + 13636 " │ ├─ name: NOXN3\n" + 13637 " │ └─ columns: [id]\n" + 13638 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 13639 " │ ├─ cacheable: false\n" + 13640 " │ └─ Project\n" + 13641 " │ ├─ columns: [ei.M6T2N]\n" + 13642 " │ └─ Filter\n" + 13643 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 13644 " │ └─ SubqueryAlias\n" + 13645 " │ ├─ name: ei\n" + 13646 " │ ├─ outerVisibility: true\n" + 13647 " │ ├─ isLateral: false\n" + 13648 " │ ├─ cacheable: true\n" + 13649 " │ └─ Project\n" + 13650 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 13651 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 13652 " │ └─ Table\n" + 13653 " │ ├─ name: NOXN3\n" + 13654 " │ └─ columns: [id]\n" + 13655 " │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 13656 " └─ LeftOuterJoin\n" + 13657 " ├─ ((((((NOT(mjr3d.QNI57 IS NULL)) AND (sn.id = mjr3d.QNI57)) AND mjr3d.BJUF2 IS NULL) OR (((NOT(mjr3d.QNI57 IS NULL)) AND InSubquery\n" + 13658 " │ ├─ left: sn.id\n" + 13659 " │ └─ right: Subquery\n" + 13660 " │ ├─ cacheable: false\n" + 13661 " │ └─ Project\n" + 13662 " │ ├─ columns: [jtehg.id]\n" + 13663 " │ └─ Filter\n" + 13664 " │ ├─ (jtehg.BRQP2 = mjr3d.BJUF2)\n" + 13665 " │ └─ TableAlias(jtehg)\n" + 13666 " │ └─ IndexedTableAccess(NOXN3)\n" + 13667 " │ ├─ index: [NOXN3.BRQP2]\n" + 13668 " │ ├─ columns: [id brqp2]\n" + 13669 " │ └─ keys: mjr3d.BJUF2\n" + 13670 " │ ) AND (NOT(mjr3d.BJUF2 IS NULL)))) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 13671 " │ ├─ left: sn.id\n" + 13672 " │ └─ right: Subquery\n" + 13673 " │ ├─ cacheable: false\n" + 13674 " │ └─ Project\n" + 13675 " │ ├─ columns: [xmafz.id]\n" + 13676 " │ └─ Filter\n" + 13677 " │ ├─ (xmafz.BRQP2 = mjr3d.FJDP5)\n" + 13678 " │ └─ TableAlias(xmafz)\n" + 13679 " │ └─ IndexedTableAccess(NOXN3)\n" + 13680 " │ ├─ index: [NOXN3.BRQP2]\n" + 13681 " │ ├─ columns: [id brqp2]\n" + 13682 " │ └─ keys: mjr3d.FJDP5\n" + 13683 " │ ) AND mjr3d.BJUF2 IS NULL)) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 13684 " │ ├─ left: sn.id\n" + 13685 " │ └─ right: Subquery\n" + 13686 " │ ├─ cacheable: false\n" + 13687 " │ └─ Project\n" + 13688 " │ ├─ columns: [xmafz.id]\n" + 13689 " │ └─ Filter\n" + 13690 " │ ├─ (xmafz.BRQP2 = mjr3d.BJUF2)\n" + 13691 " │ └─ TableAlias(xmafz)\n" + 13692 " │ └─ IndexedTableAccess(NOXN3)\n" + 13693 " │ ├─ index: [NOXN3.BRQP2]\n" + 13694 " │ ├─ columns: [id brqp2]\n" + 13695 " │ └─ keys: mjr3d.BJUF2\n" + 13696 " │ ) AND (NOT(mjr3d.BJUF2 IS NULL))))\n" + 13697 " ├─ LookupJoin\n" + 13698 " │ ├─ SubqueryAlias\n" + 13699 " │ │ ├─ name: mjr3d\n" + 13700 " │ │ ├─ outerVisibility: false\n" + 13701 " │ │ ├─ isLateral: false\n" + 13702 " │ │ ├─ cacheable: true\n" + 13703 " │ │ └─ Distinct\n" + 13704 " │ │ └─ Project\n" + 13705 " │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, ism.M22QN as M22QN, g3yxs.TUV25 as TUV25, g3yxs.ESFVY as ESFVY, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 13706 " │ │ └─ Filter\n" + 13707 " │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 13708 " │ │ └─ LeftOuterLookupJoin\n" + 13709 " │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 13710 " │ │ ├─ LeftOuterLookupJoin\n" + 13711 " │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 13712 " │ │ │ ├─ LeftOuterLookupJoin\n" + 13713 " │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 13714 " │ │ │ │ ├─ LeftOuterHashJoin\n" + 13715 " │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 13716 " │ │ │ │ │ ├─ MergeJoin\n" + 13717 " │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 13718 " │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 13719 " │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 13720 " │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 13721 " │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 13722 " │ │ │ │ │ │ └─ Filter\n" + 13723 " │ │ │ │ │ │ ├─ (NOT(g3yxs.TUV25 IS NULL))\n" + 13724 " │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 13725 " │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 13726 " │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 13727 " │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 13728 " │ │ │ │ │ └─ HashLookup\n" + 13729 " │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 13730 " │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 13731 " │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 13732 " │ │ │ │ │ └─ Table\n" + 13733 " │ │ │ │ │ └─ name: WGSDC\n" + 13734 " │ │ │ │ └─ TableAlias(cpmfe)\n" + 13735 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 13736 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 13737 " │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 13738 " │ │ │ └─ TableAlias(yqif4)\n" + 13739 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 13740 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 13741 " │ │ │ └─ keys: ism.UJ6XY\n" + 13742 " │ │ └─ TableAlias(yvhjz)\n" + 13743 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 13744 " │ │ ├─ index: [NOXN3.FFTBJ]\n" + 13745 " │ │ └─ keys: ism.FV24E\n" + 13746 " │ └─ TableAlias(aac)\n" + 13747 " │ └─ IndexedTableAccess(TPXBU)\n" + 13748 " │ ├─ index: [TPXBU.id]\n" + 13749 " │ └─ keys: mjr3d.M22QN\n" + 13750 " └─ TableAlias(sn)\n" + 13751 " └─ Table\n" + 13752 " └─ name: NOXN3\n" + 13753 "", 13754 }, 13755 { 13756 Query: ` 13757 WITH 13758 13759 FZFVD AS ( 13760 SELECT id, ROW_NUMBER() OVER (ORDER BY id ASC) - 1 AS M6T2N FROM NOXN3 13761 ), 13762 OXDGK AS ( 13763 SELECT DISTINCT 13764 ism.FV24E AS FJDP5, 13765 CPMFE.id AS BJUF2, 13766 ism.M22QN AS M22QN, 13767 G3YXS.TUV25 AS TUV25, 13768 G3YXS.ESFVY AS ESFVY, 13769 YQIF4.id AS QNI57, 13770 YVHJZ.id AS TDEIU 13771 FROM 13772 HDDVB ism 13773 INNER JOIN YYBCX G3YXS ON G3YXS.id = ism.NZ4MQ 13774 LEFT JOIN 13775 WGSDC NHMXW 13776 ON 13777 NHMXW.id = ism.PRUV2 13778 LEFT JOIN 13779 E2I7U CPMFE 13780 ON 13781 CPMFE.ZH72S = NHMXW.NOHHR AND CPMFE.id <> ism.FV24E 13782 LEFT JOIN 13783 NOXN3 YQIF4 13784 ON 13785 YQIF4.BRQP2 = ism.FV24E 13786 AND 13787 YQIF4.FFTBJ = ism.UJ6XY 13788 LEFT JOIN 13789 NOXN3 YVHJZ 13790 ON 13791 YVHJZ.BRQP2 = ism.UJ6XY 13792 AND 13793 YVHJZ.FFTBJ = ism.FV24E 13794 WHERE 13795 G3YXS.TUV25 IS NOT NULL 13796 AND 13797 (YQIF4.id IS NOT NULL 13798 OR 13799 YVHJZ.id IS NOT NULL) 13800 ), 13801 13802 HTKBS AS ( 13803 SELECT 13804 cla.FTQLQ AS T4IBQ, 13805 sn.id AS BDNYB, 13806 mf.M22QN AS M22QN 13807 FROM HGMQ6 mf 13808 INNER JOIN THNTS bs ON bs.id = mf.GXLUB 13809 INNER JOIN YK2GW cla ON cla.id = bs.IXUXU 13810 INNER JOIN NOXN3 sn ON sn.BRQP2 = mf.LUEVY 13811 WHERE cla.FTQLQ IN ('SQ1') 13812 ), 13813 JQHRG AS ( 13814 SELECT 13815 CASE 13816 WHEN MJR3D.QNI57 IS NOT NULL 13817 THEN (SELECT ei.M6T2N FROM FZFVD ei WHERE ei.id = MJR3D.QNI57) 13818 WHEN MJR3D.TDEIU IS NOT NULL 13819 THEN (SELECT ei.M6T2N FROM FZFVD ei WHERE ei.id = MJR3D.TDEIU) 13820 END AS M6T2N, 13821 13822 aac.BTXC5 AS BTXC5, 13823 aac.id AS NTOFG, 13824 sn.id AS LWQ6O, 13825 MJR3D.TUV25 AS TUV25 13826 FROM 13827 OXDGK MJR3D 13828 INNER JOIN TPXBU aac ON aac.id = MJR3D.M22QN 13829 LEFT JOIN 13830 NOXN3 sn 13831 ON 13832 ( 13833 QNI57 IS NOT NULL 13834 AND 13835 sn.id = MJR3D.QNI57 13836 AND 13837 MJR3D.BJUF2 IS NULL 13838 ) 13839 OR 13840 ( 13841 QNI57 IS NOT NULL 13842 AND 13843 sn.id IN (SELECT JTEHG.id FROM NOXN3 JTEHG WHERE BRQP2 = MJR3D.BJUF2) 13844 AND 13845 MJR3D.BJUF2 IS NOT NULL 13846 ) 13847 OR 13848 ( 13849 TDEIU IS NOT NULL 13850 AND 13851 sn.id IN (SELECT XMAFZ.id FROM NOXN3 XMAFZ WHERE BRQP2 = MJR3D.FJDP5) 13852 AND 13853 MJR3D.BJUF2 IS NULL 13854 ) 13855 OR 13856 ( 13857 TDEIU IS NOT NULL 13858 AND 13859 sn.id IN (SELECT XMAFZ.id FROM NOXN3 XMAFZ WHERE BRQP2 = MJR3D.BJUF2) 13860 AND 13861 MJR3D.BJUF2 IS NOT NULL 13862 ) 13863 ), 13864 13865 F6BRC AS ( 13866 SELECT 13867 RSA3Y.T4IBQ AS T4IBQ, 13868 JMHIE.M6T2N AS M6T2N, 13869 JMHIE.BTXC5 AS BTXC5, 13870 JMHIE.TUV25 AS TUV25 13871 FROM 13872 (SELECT DISTINCT M6T2N, BTXC5, TUV25 FROM JQHRG) JMHIE 13873 CROSS JOIN 13874 (SELECT DISTINCT T4IBQ FROM HTKBS) RSA3Y 13875 ), 13876 13877 ZMSPR AS ( 13878 SELECT DISTINCT 13879 cld.T4IBQ AS T4IBQ, 13880 P4PJZ.M6T2N AS M6T2N, 13881 P4PJZ.BTXC5 AS BTXC5, 13882 P4PJZ.TUV25 AS TUV25 13883 FROM 13884 HTKBS cld 13885 LEFT JOIN 13886 JQHRG P4PJZ 13887 ON P4PJZ.LWQ6O = cld.BDNYB AND P4PJZ.NTOFG = cld.M22QN 13888 WHERE 13889 P4PJZ.M6T2N IS NOT NULL 13890 ) 13891 SELECT 13892 fs.T4IBQ AS T4IBQ, 13893 fs.M6T2N AS M6T2N, 13894 fs.TUV25 AS TUV25, 13895 fs.BTXC5 AS YEBDJ 13896 FROM 13897 F6BRC fs 13898 WHERE 13899 (fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25) 13900 NOT IN ( 13901 SELECT 13902 ZMSPR.T4IBQ, 13903 ZMSPR.M6T2N, 13904 ZMSPR.BTXC5, 13905 ZMSPR.TUV25 13906 FROM 13907 ZMSPR 13908 )`, 13909 ExpectedPlan: "Project\n" + 13910 " ├─ columns: [fs.T4IBQ:0!null as T4IBQ, fs.M6T2N:1 as M6T2N, fs.TUV25:3 as TUV25, fs.BTXC5:2 as YEBDJ]\n" + 13911 " └─ Project\n" + 13912 " ├─ columns: [fs.T4IBQ:0!null, fs.M6T2N:1, fs.BTXC5:2, fs.TUV25:3]\n" + 13913 " └─ Filter\n" + 13914 " ├─ AND\n" + 13915 " │ ├─ AND\n" + 13916 " │ │ ├─ AND\n" + 13917 " │ │ │ ├─ zmspr.T4IBQ:4!null IS NULL\n" + 13918 " │ │ │ └─ zmspr.M6T2N:5 IS NULL\n" + 13919 " │ │ └─ zmspr.BTXC5:6 IS NULL\n" + 13920 " │ └─ zmspr.TUV25:7 IS NULL\n" + 13921 " └─ LeftOuterHashJoinExcludeNulls\n" + 13922 " ├─ Eq\n" + 13923 " │ ├─ TUPLE(fs.T4IBQ:0!null, fs.M6T2N:1, fs.BTXC5:2, fs.TUV25:3)\n" + 13924 " │ └─ TUPLE(zmspr.T4IBQ:4!null, zmspr.M6T2N:5, zmspr.BTXC5:6, zmspr.TUV25:7)\n" + 13925 " ├─ SubqueryAlias\n" + 13926 " │ ├─ name: fs\n" + 13927 " │ ├─ outerVisibility: false\n" + 13928 " │ ├─ isLateral: false\n" + 13929 " │ ├─ cacheable: true\n" + 13930 " │ ├─ colSet: (252-255)\n" + 13931 " │ ├─ tableId: 36\n" + 13932 " │ └─ Project\n" + 13933 " │ ├─ columns: [rsa3y.T4IBQ:3!null as T4IBQ, jmhie.M6T2N:0 as M6T2N, jmhie.BTXC5:1 as BTXC5, jmhie.TUV25:2 as TUV25]\n" + 13934 " │ └─ CrossHashJoin\n" + 13935 " │ ├─ SubqueryAlias\n" + 13936 " │ │ ├─ name: jmhie\n" + 13937 " │ │ ├─ outerVisibility: false\n" + 13938 " │ │ ├─ isLateral: false\n" + 13939 " │ │ ├─ cacheable: true\n" + 13940 " │ │ ├─ colSet: (224-226)\n" + 13941 " │ │ ├─ tableId: 28\n" + 13942 " │ │ └─ Distinct\n" + 13943 " │ │ └─ Project\n" + 13944 " │ │ ├─ columns: [jqhrg.M6T2N:0, jqhrg.BTXC5:1, jqhrg.TUV25:4]\n" + 13945 " │ │ └─ SubqueryAlias\n" + 13946 " │ │ ├─ name: jqhrg\n" + 13947 " │ │ ├─ outerVisibility: false\n" + 13948 " │ │ ├─ isLateral: false\n" + 13949 " │ │ ├─ cacheable: true\n" + 13950 " │ │ ├─ colSet: (219-223)\n" + 13951 " │ │ ├─ tableId: 26\n" + 13952 " │ │ └─ Project\n" + 13953 " │ │ ├─ columns: [CASE WHEN NOT\n" + 13954 " │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 13955 " │ │ │ THEN Subquery\n" + 13956 " │ │ │ ├─ cacheable: false\n" + 13957 " │ │ │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.QNI57\n" + 13958 " │ │ │ └─ Project\n" + 13959 " │ │ │ ├─ columns: [ei.M6T2N:26!null]\n" + 13960 " │ │ │ └─ Filter\n" + 13961 " │ │ │ ├─ Eq\n" + 13962 " │ │ │ │ ├─ ei.id:25!null\n" + 13963 " │ │ │ │ └─ mjr3d.QNI57:5!null\n" + 13964 " │ │ │ └─ SubqueryAlias\n" + 13965 " │ │ │ ├─ name: ei\n" + 13966 " │ │ │ ├─ outerVisibility: true\n" + 13967 " │ │ │ ├─ isLateral: false\n" + 13968 " │ │ │ ├─ cacheable: true\n" + 13969 " │ │ │ ├─ colSet: (210,211)\n" + 13970 " │ │ │ ├─ tableId: 24\n" + 13971 " │ │ │ └─ Project\n" + 13972 " │ │ │ ├─ columns: [noxn3.id:26!null, (row_number() over ( order by noxn3.id asc):25!null - 1 (tinyint)) as M6T2N]\n" + 13973 " │ │ │ └─ Window\n" + 13974 " │ │ │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 13975 " │ │ │ ├─ noxn3.id:25!null\n" + 13976 " │ │ │ └─ Table\n" + 13977 " │ │ │ ├─ name: NOXN3\n" + 13978 " │ │ │ ├─ columns: [id]\n" + 13979 " │ │ │ ├─ colSet: (1-10)\n" + 13980 " │ │ │ └─ tableId: 1\n" + 13981 " │ │ │ WHEN NOT\n" + 13982 " │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 13983 " │ │ │ THEN Subquery\n" + 13984 " │ │ │ ├─ cacheable: false\n" + 13985 " │ │ │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.TDEIU\n" + 13986 " │ │ │ └─ Project\n" + 13987 " │ │ │ ├─ columns: [ei.M6T2N:26!null]\n" + 13988 " │ │ │ └─ Filter\n" + 13989 " │ │ │ ├─ Eq\n" + 13990 " │ │ │ │ ├─ ei.id:25!null\n" + 13991 " │ │ │ │ └─ mjr3d.TDEIU:6!null\n" + 13992 " │ │ │ └─ SubqueryAlias\n" + 13993 " │ │ │ ├─ name: ei\n" + 13994 " │ │ │ ├─ outerVisibility: true\n" + 13995 " │ │ │ ├─ isLateral: false\n" + 13996 " │ │ │ ├─ cacheable: true\n" + 13997 " │ │ │ ├─ colSet: (212,213)\n" + 13998 " │ │ │ ├─ tableId: 25\n" + 13999 " │ │ │ └─ Project\n" + 14000 " │ │ │ ├─ columns: [noxn3.id:26!null, (row_number() over ( order by noxn3.id asc):25!null - 1 (tinyint)) as M6T2N]\n" + 14001 " │ │ │ └─ Window\n" + 14002 " │ │ │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 14003 " │ │ │ ├─ noxn3.id:25!null\n" + 14004 " │ │ │ └─ Table\n" + 14005 " │ │ │ ├─ name: NOXN3\n" + 14006 " │ │ │ ├─ columns: [id]\n" + 14007 " │ │ │ ├─ colSet: (1-10)\n" + 14008 " │ │ │ └─ tableId: 1\n" + 14009 " │ │ │ END as M6T2N, aac.BTXC5:8 as BTXC5, aac.id:7!null as NTOFG, sn.id:10!null as LWQ6O, mjr3d.TUV25:3 as TUV25]\n" + 14010 " │ │ └─ Project\n" + 14011 " │ │ ├─ columns: [mjr3d.FJDP5:0!null, mjr3d.BJUF2:1!null, mjr3d.M22QN:2!null, mjr3d.TUV25:3, mjr3d.ESFVY:4!null, mjr3d.QNI57:5!null, mjr3d.TDEIU:6!null, aac.id:7!null, aac.BTXC5:8, aac.FHCYT:9, sn.id:10!null, sn.BRQP2:11!null, sn.FFTBJ:12!null, sn.A7XO2:13, sn.KBO7R:14!null, sn.ECDKM:15, sn.NUMK2:16!null, sn.LETOE:17!null, sn.YKSSU:18, sn.FHCYT:19, CASE WHEN NOT\n" + 14012 " │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 14013 " │ │ │ THEN Subquery\n" + 14014 " │ │ │ ├─ cacheable: false\n" + 14015 " │ │ │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.QNI57\n" + 14016 " │ │ │ └─ Project\n" + 14017 " │ │ │ ├─ columns: [ei.M6T2N:21!null]\n" + 14018 " │ │ │ └─ Filter\n" + 14019 " │ │ │ ├─ Eq\n" + 14020 " │ │ │ │ ├─ ei.id:20!null\n" + 14021 " │ │ │ │ └─ mjr3d.QNI57:5!null\n" + 14022 " │ │ │ └─ SubqueryAlias\n" + 14023 " │ │ │ ├─ name: ei\n" + 14024 " │ │ │ ├─ outerVisibility: true\n" + 14025 " │ │ │ ├─ isLateral: false\n" + 14026 " │ │ │ ├─ cacheable: true\n" + 14027 " │ │ │ ├─ colSet: (210,211)\n" + 14028 " │ │ │ ├─ tableId: 24\n" + 14029 " │ │ │ └─ Project\n" + 14030 " │ │ │ ├─ columns: [noxn3.id:21!null, (row_number() over ( order by noxn3.id asc):20!null - 1 (tinyint)) as M6T2N]\n" + 14031 " │ │ │ └─ Window\n" + 14032 " │ │ │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 14033 " │ │ │ ├─ noxn3.id:20!null\n" + 14034 " │ │ │ └─ Table\n" + 14035 " │ │ │ ├─ name: NOXN3\n" + 14036 " │ │ │ ├─ columns: [id]\n" + 14037 " │ │ │ ├─ colSet: (1-10)\n" + 14038 " │ │ │ └─ tableId: 1\n" + 14039 " │ │ │ WHEN NOT\n" + 14040 " │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 14041 " │ │ │ THEN Subquery\n" + 14042 " │ │ │ ├─ cacheable: false\n" + 14043 " │ │ │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.TDEIU\n" + 14044 " │ │ │ └─ Project\n" + 14045 " │ │ │ ├─ columns: [ei.M6T2N:21!null]\n" + 14046 " │ │ │ └─ Filter\n" + 14047 " │ │ │ ├─ Eq\n" + 14048 " │ │ │ │ ├─ ei.id:20!null\n" + 14049 " │ │ │ │ └─ mjr3d.TDEIU:6!null\n" + 14050 " │ │ │ └─ SubqueryAlias\n" + 14051 " │ │ │ ├─ name: ei\n" + 14052 " │ │ │ ├─ outerVisibility: true\n" + 14053 " │ │ │ ├─ isLateral: false\n" + 14054 " │ │ │ ├─ cacheable: true\n" + 14055 " │ │ │ ├─ colSet: (212,213)\n" + 14056 " │ │ │ ├─ tableId: 25\n" + 14057 " │ │ │ └─ Project\n" + 14058 " │ │ │ ├─ columns: [noxn3.id:21!null, (row_number() over ( order by noxn3.id asc):20!null - 1 (tinyint)) as M6T2N]\n" + 14059 " │ │ │ └─ Window\n" + 14060 " │ │ │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 14061 " │ │ │ ├─ noxn3.id:20!null\n" + 14062 " │ │ │ └─ Table\n" + 14063 " │ │ │ ├─ name: NOXN3\n" + 14064 " │ │ │ ├─ columns: [id]\n" + 14065 " │ │ │ ├─ colSet: (1-10)\n" + 14066 " │ │ │ └─ tableId: 1\n" + 14067 " │ │ │ END as M6T2N, aac.BTXC5:8 as BTXC5, aac.id:7!null as NTOFG, sn.id:10!null as LWQ6O, mjr3d.TUV25:3 as TUV25]\n" + 14068 " │ │ └─ LeftOuterJoin\n" + 14069 " │ │ ├─ Or\n" + 14070 " │ │ │ ├─ Or\n" + 14071 " │ │ │ │ ├─ Or\n" + 14072 " │ │ │ │ │ ├─ AND\n" + 14073 " │ │ │ │ │ │ ├─ AND\n" + 14074 " │ │ │ │ │ │ │ ├─ NOT\n" + 14075 " │ │ │ │ │ │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 14076 " │ │ │ │ │ │ │ └─ Eq\n" + 14077 " │ │ │ │ │ │ │ ├─ sn.id:10!null\n" + 14078 " │ │ │ │ │ │ │ └─ mjr3d.QNI57:5!null\n" + 14079 " │ │ │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 14080 " │ │ │ │ │ └─ AND\n" + 14081 " │ │ │ │ │ ├─ AND\n" + 14082 " │ │ │ │ │ │ ├─ NOT\n" + 14083 " │ │ │ │ │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 14084 " │ │ │ │ │ │ └─ InSubquery\n" + 14085 " │ │ │ │ │ │ ├─ left: sn.id:10!null\n" + 14086 " │ │ │ │ │ │ └─ right: Subquery\n" + 14087 " │ │ │ │ │ │ ├─ cacheable: false\n" + 14088 " │ │ │ │ │ │ ├─ alias-string: select JTEHG.id from NOXN3 as JTEHG where BRQP2 = MJR3D.BJUF2\n" + 14089 " │ │ │ │ │ │ └─ Project\n" + 14090 " │ │ │ │ │ │ ├─ columns: [jtehg.id:20!null]\n" + 14091 " │ │ │ │ │ │ └─ Filter\n" + 14092 " │ │ │ │ │ │ ├─ Eq\n" + 14093 " │ │ │ │ │ │ │ ├─ jtehg.BRQP2:21!null\n" + 14094 " │ │ │ │ │ │ │ └─ mjr3d.BJUF2:1!null\n" + 14095 " │ │ │ │ │ │ └─ TableAlias(jtehg)\n" + 14096 " │ │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14097 " │ │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 14098 " │ │ │ │ │ │ ├─ keys: [mjr3d.BJUF2:1!null]\n" + 14099 " │ │ │ │ │ │ ├─ colSet: (180-189)\n" + 14100 " │ │ │ │ │ │ ├─ tableId: 21\n" + 14101 " │ │ │ │ │ │ └─ Table\n" + 14102 " │ │ │ │ │ │ ├─ name: NOXN3\n" + 14103 " │ │ │ │ │ │ └─ columns: [id brqp2]\n" + 14104 " │ │ │ │ │ └─ NOT\n" + 14105 " │ │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 14106 " │ │ │ │ └─ AND\n" + 14107 " │ │ │ │ ├─ AND\n" + 14108 " │ │ │ │ │ ├─ NOT\n" + 14109 " │ │ │ │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 14110 " │ │ │ │ │ └─ InSubquery\n" + 14111 " │ │ │ │ │ ├─ left: sn.id:10!null\n" + 14112 " │ │ │ │ │ └─ right: Subquery\n" + 14113 " │ │ │ │ │ ├─ cacheable: false\n" + 14114 " │ │ │ │ │ ├─ alias-string: select XMAFZ.id from NOXN3 as XMAFZ where BRQP2 = MJR3D.FJDP5\n" + 14115 " │ │ │ │ │ └─ Project\n" + 14116 " │ │ │ │ │ ├─ columns: [xmafz.id:20!null]\n" + 14117 " │ │ │ │ │ └─ Filter\n" + 14118 " │ │ │ │ │ ├─ Eq\n" + 14119 " │ │ │ │ │ │ ├─ xmafz.BRQP2:21!null\n" + 14120 " │ │ │ │ │ │ └─ mjr3d.FJDP5:0!null\n" + 14121 " │ │ │ │ │ └─ TableAlias(xmafz)\n" + 14122 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14123 " │ │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 14124 " │ │ │ │ │ ├─ keys: [mjr3d.FJDP5:0!null]\n" + 14125 " │ │ │ │ │ ├─ colSet: (190-199)\n" + 14126 " │ │ │ │ │ ├─ tableId: 22\n" + 14127 " │ │ │ │ │ └─ Table\n" + 14128 " │ │ │ │ │ ├─ name: NOXN3\n" + 14129 " │ │ │ │ │ └─ columns: [id brqp2]\n" + 14130 " │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 14131 " │ │ │ └─ AND\n" + 14132 " │ │ │ ├─ AND\n" + 14133 " │ │ │ │ ├─ NOT\n" + 14134 " │ │ │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 14135 " │ │ │ │ └─ InSubquery\n" + 14136 " │ │ │ │ ├─ left: sn.id:10!null\n" + 14137 " │ │ │ │ └─ right: Subquery\n" + 14138 " │ │ │ │ ├─ cacheable: false\n" + 14139 " │ │ │ │ ├─ alias-string: select XMAFZ.id from NOXN3 as XMAFZ where BRQP2 = MJR3D.BJUF2\n" + 14140 " │ │ │ │ └─ Project\n" + 14141 " │ │ │ │ ├─ columns: [xmafz.id:20!null]\n" + 14142 " │ │ │ │ └─ Filter\n" + 14143 " │ │ │ │ ├─ Eq\n" + 14144 " │ │ │ │ │ ├─ xmafz.BRQP2:21!null\n" + 14145 " │ │ │ │ │ └─ mjr3d.BJUF2:1!null\n" + 14146 " │ │ │ │ └─ TableAlias(xmafz)\n" + 14147 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14148 " │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 14149 " │ │ │ │ ├─ keys: [mjr3d.BJUF2:1!null]\n" + 14150 " │ │ │ │ ├─ colSet: (200-209)\n" + 14151 " │ │ │ │ ├─ tableId: 23\n" + 14152 " │ │ │ │ └─ Table\n" + 14153 " │ │ │ │ ├─ name: NOXN3\n" + 14154 " │ │ │ │ └─ columns: [id brqp2]\n" + 14155 " │ │ │ └─ NOT\n" + 14156 " │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 14157 " │ │ ├─ LookupJoin\n" + 14158 " │ │ │ ├─ SubqueryAlias\n" + 14159 " │ │ │ │ ├─ name: mjr3d\n" + 14160 " │ │ │ │ ├─ outerVisibility: false\n" + 14161 " │ │ │ │ ├─ isLateral: false\n" + 14162 " │ │ │ │ ├─ cacheable: true\n" + 14163 " │ │ │ │ ├─ colSet: (160-166)\n" + 14164 " │ │ │ │ ├─ tableId: 18\n" + 14165 " │ │ │ │ └─ Distinct\n" + 14166 " │ │ │ │ └─ Project\n" + 14167 " │ │ │ │ ├─ columns: [ism.FV24E:1!null as FJDP5, cpmfe.id:27!null as BJUF2, ism.M22QN:3!null as M22QN, g3yxs.TUV25:14 as TUV25, g3yxs.ESFVY:10!null as ESFVY, yqif4.id:44!null as QNI57, yvhjz.id:54!null as TDEIU]\n" + 14168 " │ │ │ │ └─ Filter\n" + 14169 " │ │ │ │ ├─ Or\n" + 14170 " │ │ │ │ │ ├─ NOT\n" + 14171 " │ │ │ │ │ │ └─ yqif4.id:44!null IS NULL\n" + 14172 " │ │ │ │ │ └─ NOT\n" + 14173 " │ │ │ │ │ └─ yvhjz.id:54!null IS NULL\n" + 14174 " │ │ │ │ └─ LeftOuterLookupJoin\n" + 14175 " │ │ │ │ ├─ Eq\n" + 14176 " │ │ │ │ │ ├─ yvhjz.BRQP2:55!null\n" + 14177 " │ │ │ │ │ └─ ism.UJ6XY:2!null\n" + 14178 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 14179 " │ │ │ │ │ ├─ Eq\n" + 14180 " │ │ │ │ │ │ ├─ yqif4.BRQP2:45!null\n" + 14181 " │ │ │ │ │ │ └─ ism.FV24E:1!null\n" + 14182 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 14183 " │ │ │ │ │ │ ├─ NOT\n" + 14184 " │ │ │ │ │ │ │ └─ Eq\n" + 14185 " │ │ │ │ │ │ │ ├─ cpmfe.id:27!null\n" + 14186 " │ │ │ │ │ │ │ └─ ism.FV24E:1!null\n" + 14187 " │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 14188 " │ │ │ │ │ │ │ ├─ Eq\n" + 14189 " │ │ │ │ │ │ │ │ ├─ nhmxw.id:17!null\n" + 14190 " │ │ │ │ │ │ │ │ └─ ism.PRUV2:6\n" + 14191 " │ │ │ │ │ │ │ ├─ MergeJoin\n" + 14192 " │ │ │ │ │ │ │ │ ├─ cmp: Eq\n" + 14193 " │ │ │ │ │ │ │ │ │ ├─ ism.NZ4MQ:4!null\n" + 14194 " │ │ │ │ │ │ │ │ │ └─ g3yxs.id:9!null\n" + 14195 " │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 14196 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 14197 " │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 14198 " │ │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 14199 " │ │ │ │ │ │ │ │ │ ├─ colSet: (15-23)\n" + 14200 " │ │ │ │ │ │ │ │ │ ├─ tableId: 4\n" + 14201 " │ │ │ │ │ │ │ │ │ └─ Table\n" + 14202 " │ │ │ │ │ │ │ │ │ ├─ name: HDDVB\n" + 14203 " │ │ │ │ │ │ │ │ │ └─ columns: [id fv24e uj6xy m22qn nz4mq etpqv pruv2 ykssu fhcyt]\n" + 14204 " │ │ │ │ │ │ │ │ └─ Filter\n" + 14205 " │ │ │ │ │ │ │ │ ├─ NOT\n" + 14206 " │ │ │ │ │ │ │ │ │ └─ g3yxs.TUV25:5 IS NULL\n" + 14207 " │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 14208 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 14209 " │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 14210 " │ │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 14211 " │ │ │ │ │ │ │ │ ├─ colSet: (24-31)\n" + 14212 " │ │ │ │ │ │ │ │ ├─ tableId: 5\n" + 14213 " │ │ │ │ │ │ │ │ └─ Table\n" + 14214 " │ │ │ │ │ │ │ │ ├─ name: YYBCX\n" + 14215 " │ │ │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q tuv25 ykssu fhcyt]\n" + 14216 " │ │ │ │ │ │ │ └─ HashLookup\n" + 14217 " │ │ │ │ │ │ │ ├─ left-key: TUPLE(ism.PRUV2:6)\n" + 14218 " │ │ │ │ │ │ │ ├─ right-key: TUPLE(nhmxw.id:0!null)\n" + 14219 " │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 14220 " │ │ │ │ │ │ │ └─ Table\n" + 14221 " │ │ │ │ │ │ │ ├─ name: WGSDC\n" + 14222 " │ │ │ │ │ │ │ ├─ columns: [id nohhr avpyf sypkf idut2 fzxv5 dqygv swcqv ykssu fhcyt]\n" + 14223 " │ │ │ │ │ │ │ ├─ colSet: (32-41)\n" + 14224 " │ │ │ │ │ │ │ └─ tableId: 6\n" + 14225 " │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 14226 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 14227 " │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 14228 " │ │ │ │ │ │ ├─ keys: [nhmxw.NOHHR:18!null]\n" + 14229 " │ │ │ │ │ │ ├─ colSet: (42-58)\n" + 14230 " │ │ │ │ │ │ ├─ tableId: 7\n" + 14231 " │ │ │ │ │ │ └─ Table\n" + 14232 " │ │ │ │ │ │ ├─ name: E2I7U\n" + 14233 " │ │ │ │ │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 14234 " │ │ │ │ │ └─ TableAlias(yqif4)\n" + 14235 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14236 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 14237 " │ │ │ │ │ ├─ keys: [ism.UJ6XY:2!null]\n" + 14238 " │ │ │ │ │ ├─ colSet: (59-68)\n" + 14239 " │ │ │ │ │ ├─ tableId: 8\n" + 14240 " │ │ │ │ │ └─ Table\n" + 14241 " │ │ │ │ │ ├─ name: NOXN3\n" + 14242 " │ │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 14243 " │ │ │ │ └─ TableAlias(yvhjz)\n" + 14244 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14245 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 14246 " │ │ │ │ ├─ keys: [ism.FV24E:1!null]\n" + 14247 " │ │ │ │ ├─ colSet: (69-78)\n" + 14248 " │ │ │ │ ├─ tableId: 9\n" + 14249 " │ │ │ │ └─ Table\n" + 14250 " │ │ │ │ ├─ name: NOXN3\n" + 14251 " │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 14252 " │ │ │ └─ TableAlias(aac)\n" + 14253 " │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 14254 " │ │ │ ├─ index: [TPXBU.id]\n" + 14255 " │ │ │ ├─ keys: [mjr3d.M22QN:2!null]\n" + 14256 " │ │ │ ├─ colSet: (167-169)\n" + 14257 " │ │ │ ├─ tableId: 19\n" + 14258 " │ │ │ └─ Table\n" + 14259 " │ │ │ ├─ name: TPXBU\n" + 14260 " │ │ │ └─ columns: [id btxc5 fhcyt]\n" + 14261 " │ │ └─ TableAlias(sn)\n" + 14262 " │ │ └─ Table\n" + 14263 " │ │ ├─ name: NOXN3\n" + 14264 " │ │ ├─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 14265 " │ │ ├─ colSet: (170-179)\n" + 14266 " │ │ └─ tableId: 20\n" + 14267 " │ └─ HashLookup\n" + 14268 " │ ├─ left-key: TUPLE()\n" + 14269 " │ ├─ right-key: TUPLE()\n" + 14270 " │ └─ SubqueryAlias\n" + 14271 " │ ├─ name: rsa3y\n" + 14272 " │ ├─ outerVisibility: false\n" + 14273 " │ ├─ isLateral: false\n" + 14274 " │ ├─ cacheable: true\n" + 14275 " │ ├─ colSet: (227)\n" + 14276 " │ ├─ tableId: 29\n" + 14277 " │ └─ Distinct\n" + 14278 " │ └─ Project\n" + 14279 " │ ├─ columns: [htkbs.T4IBQ:0!null]\n" + 14280 " │ └─ SubqueryAlias\n" + 14281 " │ ├─ name: htkbs\n" + 14282 " │ ├─ outerVisibility: false\n" + 14283 " │ ├─ isLateral: false\n" + 14284 " │ ├─ cacheable: true\n" + 14285 " │ ├─ colSet: (157-159)\n" + 14286 " │ ├─ tableId: 16\n" + 14287 " │ └─ Project\n" + 14288 " │ ├─ columns: [cla.FTQLQ:8!null as T4IBQ, sn.id:0!null as BDNYB, mf.M22QN:4!null as M22QN]\n" + 14289 " │ └─ HashJoin\n" + 14290 " │ ├─ Eq\n" + 14291 " │ │ ├─ bs.id:5!null\n" + 14292 " │ │ └─ mf.GXLUB:2!null\n" + 14293 " │ ├─ LookupJoin\n" + 14294 " │ │ ├─ TableAlias(sn)\n" + 14295 " │ │ │ └─ Table\n" + 14296 " │ │ │ ├─ name: NOXN3\n" + 14297 " │ │ │ ├─ columns: [id brqp2]\n" + 14298 " │ │ │ ├─ colSet: (144-153)\n" + 14299 " │ │ │ └─ tableId: 15\n" + 14300 " │ │ └─ TableAlias(mf)\n" + 14301 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 14302 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 14303 " │ │ ├─ keys: [sn.BRQP2:1!null]\n" + 14304 " │ │ ├─ colSet: (93-109)\n" + 14305 " │ │ ├─ tableId: 12\n" + 14306 " │ │ └─ Table\n" + 14307 " │ │ ├─ name: HGMQ6\n" + 14308 " │ │ └─ columns: [gxlub luevy m22qn]\n" + 14309 " │ └─ HashLookup\n" + 14310 " │ ├─ left-key: TUPLE(mf.GXLUB:2!null)\n" + 14311 " │ ├─ right-key: TUPLE(bs.id:0!null)\n" + 14312 " │ └─ MergeJoin\n" + 14313 " │ ├─ cmp: Eq\n" + 14314 " │ │ ├─ bs.IXUXU:6\n" + 14315 " │ │ └─ cla.id:7!null\n" + 14316 " │ ├─ TableAlias(bs)\n" + 14317 " │ │ └─ IndexedTableAccess(THNTS)\n" + 14318 " │ │ ├─ index: [THNTS.IXUXU]\n" + 14319 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 14320 " │ │ ├─ colSet: (110-113)\n" + 14321 " │ │ ├─ tableId: 13\n" + 14322 " │ │ └─ Table\n" + 14323 " │ │ ├─ name: THNTS\n" + 14324 " │ │ └─ columns: [id ixuxu]\n" + 14325 " │ └─ Filter\n" + 14326 " │ ├─ HashIn\n" + 14327 " │ │ ├─ cla.FTQLQ:1!null\n" + 14328 " │ │ └─ TUPLE(SQ1 (longtext))\n" + 14329 " │ └─ TableAlias(cla)\n" + 14330 " │ └─ IndexedTableAccess(YK2GW)\n" + 14331 " │ ├─ index: [YK2GW.id]\n" + 14332 " │ ├─ static: [{[NULL, ∞)}]\n" + 14333 " │ ├─ colSet: (114-143)\n" + 14334 " │ ├─ tableId: 14\n" + 14335 " │ └─ Table\n" + 14336 " │ ├─ name: YK2GW\n" + 14337 " │ └─ columns: [id ftqlq]\n" + 14338 " └─ HashLookup\n" + 14339 " ├─ left-key: TUPLE(TUPLE(fs.T4IBQ:0!null, fs.M6T2N:1, fs.BTXC5:2, fs.TUV25:3))\n" + 14340 " ├─ right-key: TUPLE(TUPLE(zmspr.T4IBQ:0!null, zmspr.M6T2N:1, zmspr.BTXC5:2, zmspr.TUV25:3))\n" + 14341 " └─ SubqueryAlias\n" + 14342 " ├─ name: zmspr\n" + 14343 " ├─ outerVisibility: false\n" + 14344 " ├─ isLateral: false\n" + 14345 " ├─ cacheable: true\n" + 14346 " ├─ colSet: (248-251)\n" + 14347 " ├─ tableId: 34\n" + 14348 " └─ Distinct\n" + 14349 " └─ Project\n" + 14350 " ├─ columns: [cld.T4IBQ:0!null as T4IBQ, p4pjz.M6T2N:3 as M6T2N, p4pjz.BTXC5:4 as BTXC5, p4pjz.TUV25:7 as TUV25]\n" + 14351 " └─ Filter\n" + 14352 " ├─ NOT\n" + 14353 " │ └─ p4pjz.M6T2N:3 IS NULL\n" + 14354 " └─ LeftOuterHashJoin\n" + 14355 " ├─ AND\n" + 14356 " │ ├─ Eq\n" + 14357 " │ │ ├─ p4pjz.LWQ6O:6!null\n" + 14358 " │ │ └─ cld.BDNYB:1!null\n" + 14359 " │ └─ Eq\n" + 14360 " │ ├─ p4pjz.NTOFG:5!null\n" + 14361 " │ └─ cld.M22QN:2!null\n" + 14362 " ├─ SubqueryAlias\n" + 14363 " │ ├─ name: cld\n" + 14364 " │ ├─ outerVisibility: false\n" + 14365 " │ ├─ isLateral: false\n" + 14366 " │ ├─ cacheable: true\n" + 14367 " │ ├─ colSet: (236-238)\n" + 14368 " │ ├─ tableId: 32\n" + 14369 " │ └─ Project\n" + 14370 " │ ├─ columns: [cla.FTQLQ:8!null as T4IBQ, sn.id:0!null as BDNYB, mf.M22QN:4!null as M22QN]\n" + 14371 " │ └─ HashJoin\n" + 14372 " │ ├─ Eq\n" + 14373 " │ │ ├─ bs.id:5!null\n" + 14374 " │ │ └─ mf.GXLUB:2!null\n" + 14375 " │ ├─ LookupJoin\n" + 14376 " │ │ ├─ TableAlias(sn)\n" + 14377 " │ │ │ └─ Table\n" + 14378 " │ │ │ ├─ name: NOXN3\n" + 14379 " │ │ │ ├─ columns: [id brqp2]\n" + 14380 " │ │ │ ├─ colSet: (144-153)\n" + 14381 " │ │ │ └─ tableId: 15\n" + 14382 " │ │ └─ TableAlias(mf)\n" + 14383 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 14384 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 14385 " │ │ ├─ keys: [sn.BRQP2:1!null]\n" + 14386 " │ │ ├─ colSet: (93-109)\n" + 14387 " │ │ ├─ tableId: 12\n" + 14388 " │ │ └─ Table\n" + 14389 " │ │ ├─ name: HGMQ6\n" + 14390 " │ │ └─ columns: [gxlub luevy m22qn]\n" + 14391 " │ └─ HashLookup\n" + 14392 " │ ├─ left-key: TUPLE(mf.GXLUB:2!null)\n" + 14393 " │ ├─ right-key: TUPLE(bs.id:0!null)\n" + 14394 " │ └─ MergeJoin\n" + 14395 " │ ├─ cmp: Eq\n" + 14396 " │ │ ├─ bs.IXUXU:6\n" + 14397 " │ │ └─ cla.id:7!null\n" + 14398 " │ ├─ TableAlias(bs)\n" + 14399 " │ │ └─ IndexedTableAccess(THNTS)\n" + 14400 " │ │ ├─ index: [THNTS.IXUXU]\n" + 14401 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 14402 " │ │ ├─ colSet: (110-113)\n" + 14403 " │ │ ├─ tableId: 13\n" + 14404 " │ │ └─ Table\n" + 14405 " │ │ ├─ name: THNTS\n" + 14406 " │ │ └─ columns: [id ixuxu]\n" + 14407 " │ └─ Filter\n" + 14408 " │ ├─ HashIn\n" + 14409 " │ │ ├─ cla.FTQLQ:1!null\n" + 14410 " │ │ └─ TUPLE(SQ1 (longtext))\n" + 14411 " │ └─ TableAlias(cla)\n" + 14412 " │ └─ IndexedTableAccess(YK2GW)\n" + 14413 " │ ├─ index: [YK2GW.id]\n" + 14414 " │ ├─ static: [{[NULL, ∞)}]\n" + 14415 " │ ├─ colSet: (114-143)\n" + 14416 " │ ├─ tableId: 14\n" + 14417 " │ └─ Table\n" + 14418 " │ ├─ name: YK2GW\n" + 14419 " │ └─ columns: [id ftqlq]\n" + 14420 " └─ HashLookup\n" + 14421 " ├─ left-key: TUPLE(cld.BDNYB:1!null, cld.M22QN:2!null)\n" + 14422 " ├─ right-key: TUPLE(p4pjz.LWQ6O:3!null, p4pjz.NTOFG:2!null)\n" + 14423 " └─ SubqueryAlias\n" + 14424 " ├─ name: p4pjz\n" + 14425 " ├─ outerVisibility: false\n" + 14426 " ├─ isLateral: false\n" + 14427 " ├─ cacheable: true\n" + 14428 " ├─ colSet: (239-243)\n" + 14429 " ├─ tableId: 33\n" + 14430 " └─ Project\n" + 14431 " ├─ columns: [CASE WHEN NOT\n" + 14432 " │ └─ mjr3d.QNI57:5!null IS NULL\n" + 14433 " │ THEN Subquery\n" + 14434 " │ ├─ cacheable: false\n" + 14435 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.QNI57\n" + 14436 " │ └─ Project\n" + 14437 " │ ├─ columns: [ei.M6T2N:26!null]\n" + 14438 " │ └─ Filter\n" + 14439 " │ ├─ Eq\n" + 14440 " │ │ ├─ ei.id:25!null\n" + 14441 " │ │ └─ mjr3d.QNI57:5!null\n" + 14442 " │ └─ SubqueryAlias\n" + 14443 " │ ├─ name: ei\n" + 14444 " │ ├─ outerVisibility: true\n" + 14445 " │ ├─ isLateral: false\n" + 14446 " │ ├─ cacheable: true\n" + 14447 " │ ├─ colSet: (210,211)\n" + 14448 " │ ├─ tableId: 24\n" + 14449 " │ └─ Project\n" + 14450 " │ ├─ columns: [noxn3.id:26!null, (row_number() over ( order by noxn3.id asc):25!null - 1 (tinyint)) as M6T2N]\n" + 14451 " │ └─ Window\n" + 14452 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 14453 " │ ├─ noxn3.id:25!null\n" + 14454 " │ └─ Table\n" + 14455 " │ ├─ name: NOXN3\n" + 14456 " │ ├─ columns: [id]\n" + 14457 " │ ├─ colSet: (1-10)\n" + 14458 " │ └─ tableId: 1\n" + 14459 " │ WHEN NOT\n" + 14460 " │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 14461 " │ THEN Subquery\n" + 14462 " │ ├─ cacheable: false\n" + 14463 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.TDEIU\n" + 14464 " │ └─ Project\n" + 14465 " │ ├─ columns: [ei.M6T2N:26!null]\n" + 14466 " │ └─ Filter\n" + 14467 " │ ├─ Eq\n" + 14468 " │ │ ├─ ei.id:25!null\n" + 14469 " │ │ └─ mjr3d.TDEIU:6!null\n" + 14470 " │ └─ SubqueryAlias\n" + 14471 " │ ├─ name: ei\n" + 14472 " │ ├─ outerVisibility: true\n" + 14473 " │ ├─ isLateral: false\n" + 14474 " │ ├─ cacheable: true\n" + 14475 " │ ├─ colSet: (212,213)\n" + 14476 " │ ├─ tableId: 25\n" + 14477 " │ └─ Project\n" + 14478 " │ ├─ columns: [noxn3.id:26!null, (row_number() over ( order by noxn3.id asc):25!null - 1 (tinyint)) as M6T2N]\n" + 14479 " │ └─ Window\n" + 14480 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 14481 " │ ├─ noxn3.id:25!null\n" + 14482 " │ └─ Table\n" + 14483 " │ ├─ name: NOXN3\n" + 14484 " │ ├─ columns: [id]\n" + 14485 " │ ├─ colSet: (1-10)\n" + 14486 " │ └─ tableId: 1\n" + 14487 " │ END as M6T2N, aac.BTXC5:8 as BTXC5, aac.id:7!null as NTOFG, sn.id:10!null as LWQ6O, mjr3d.TUV25:3 as TUV25]\n" + 14488 " └─ Project\n" + 14489 " ├─ columns: [mjr3d.FJDP5:0!null, mjr3d.BJUF2:1!null, mjr3d.M22QN:2!null, mjr3d.TUV25:3, mjr3d.ESFVY:4!null, mjr3d.QNI57:5!null, mjr3d.TDEIU:6!null, aac.id:7!null, aac.BTXC5:8, aac.FHCYT:9, sn.id:10!null, sn.BRQP2:11!null, sn.FFTBJ:12!null, sn.A7XO2:13, sn.KBO7R:14!null, sn.ECDKM:15, sn.NUMK2:16!null, sn.LETOE:17!null, sn.YKSSU:18, sn.FHCYT:19, CASE WHEN NOT\n" + 14490 " │ └─ mjr3d.QNI57:5!null IS NULL\n" + 14491 " │ THEN Subquery\n" + 14492 " │ ├─ cacheable: false\n" + 14493 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.QNI57\n" + 14494 " │ └─ Project\n" + 14495 " │ ├─ columns: [ei.M6T2N:21!null]\n" + 14496 " │ └─ Filter\n" + 14497 " │ ├─ Eq\n" + 14498 " │ │ ├─ ei.id:20!null\n" + 14499 " │ │ └─ mjr3d.QNI57:5!null\n" + 14500 " │ └─ SubqueryAlias\n" + 14501 " │ ├─ name: ei\n" + 14502 " │ ├─ outerVisibility: true\n" + 14503 " │ ├─ isLateral: false\n" + 14504 " │ ├─ cacheable: true\n" + 14505 " │ ├─ colSet: (210,211)\n" + 14506 " │ ├─ tableId: 24\n" + 14507 " │ └─ Project\n" + 14508 " │ ├─ columns: [noxn3.id:21!null, (row_number() over ( order by noxn3.id asc):20!null - 1 (tinyint)) as M6T2N]\n" + 14509 " │ └─ Window\n" + 14510 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 14511 " │ ├─ noxn3.id:20!null\n" + 14512 " │ └─ Table\n" + 14513 " │ ├─ name: NOXN3\n" + 14514 " │ ├─ columns: [id]\n" + 14515 " │ ├─ colSet: (1-10)\n" + 14516 " │ └─ tableId: 1\n" + 14517 " │ WHEN NOT\n" + 14518 " │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 14519 " │ THEN Subquery\n" + 14520 " │ ├─ cacheable: false\n" + 14521 " │ ├─ alias-string: select ei.M6T2N from FZFVD as ei where ei.id = MJR3D.TDEIU\n" + 14522 " │ └─ Project\n" + 14523 " │ ├─ columns: [ei.M6T2N:21!null]\n" + 14524 " │ └─ Filter\n" + 14525 " │ ├─ Eq\n" + 14526 " │ │ ├─ ei.id:20!null\n" + 14527 " │ │ └─ mjr3d.TDEIU:6!null\n" + 14528 " │ └─ SubqueryAlias\n" + 14529 " │ ├─ name: ei\n" + 14530 " │ ├─ outerVisibility: true\n" + 14531 " │ ├─ isLateral: false\n" + 14532 " │ ├─ cacheable: true\n" + 14533 " │ ├─ colSet: (212,213)\n" + 14534 " │ ├─ tableId: 25\n" + 14535 " │ └─ Project\n" + 14536 " │ ├─ columns: [noxn3.id:21!null, (row_number() over ( order by noxn3.id asc):20!null - 1 (tinyint)) as M6T2N]\n" + 14537 " │ └─ Window\n" + 14538 " │ ├─ row_number() over ( order by noxn3.id ASC)\n" + 14539 " │ ├─ noxn3.id:20!null\n" + 14540 " │ └─ Table\n" + 14541 " │ ├─ name: NOXN3\n" + 14542 " │ ├─ columns: [id]\n" + 14543 " │ ├─ colSet: (1-10)\n" + 14544 " │ └─ tableId: 1\n" + 14545 " │ END as M6T2N, aac.BTXC5:8 as BTXC5, aac.id:7!null as NTOFG, sn.id:10!null as LWQ6O, mjr3d.TUV25:3 as TUV25]\n" + 14546 " └─ LeftOuterJoin\n" + 14547 " ├─ Or\n" + 14548 " │ ├─ Or\n" + 14549 " │ │ ├─ Or\n" + 14550 " │ │ │ ├─ AND\n" + 14551 " │ │ │ │ ├─ AND\n" + 14552 " │ │ │ │ │ ├─ NOT\n" + 14553 " │ │ │ │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 14554 " │ │ │ │ │ └─ Eq\n" + 14555 " │ │ │ │ │ ├─ sn.id:10!null\n" + 14556 " │ │ │ │ │ └─ mjr3d.QNI57:5!null\n" + 14557 " │ │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 14558 " │ │ │ └─ AND\n" + 14559 " │ │ │ ├─ AND\n" + 14560 " │ │ │ │ ├─ NOT\n" + 14561 " │ │ │ │ │ └─ mjr3d.QNI57:5!null IS NULL\n" + 14562 " │ │ │ │ └─ InSubquery\n" + 14563 " │ │ │ │ ├─ left: sn.id:10!null\n" + 14564 " │ │ │ │ └─ right: Subquery\n" + 14565 " │ │ │ │ ├─ cacheable: false\n" + 14566 " │ │ │ │ ├─ alias-string: select JTEHG.id from NOXN3 as JTEHG where BRQP2 = MJR3D.BJUF2\n" + 14567 " │ │ │ │ └─ Project\n" + 14568 " │ │ │ │ ├─ columns: [jtehg.id:20!null]\n" + 14569 " │ │ │ │ └─ Filter\n" + 14570 " │ │ │ │ ├─ Eq\n" + 14571 " │ │ │ │ │ ├─ jtehg.BRQP2:21!null\n" + 14572 " │ │ │ │ │ └─ mjr3d.BJUF2:1!null\n" + 14573 " │ │ │ │ └─ TableAlias(jtehg)\n" + 14574 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14575 " │ │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 14576 " │ │ │ │ ├─ keys: [mjr3d.BJUF2:1!null]\n" + 14577 " │ │ │ │ ├─ colSet: (180-189)\n" + 14578 " │ │ │ │ ├─ tableId: 21\n" + 14579 " │ │ │ │ └─ Table\n" + 14580 " │ │ │ │ ├─ name: NOXN3\n" + 14581 " │ │ │ │ └─ columns: [id brqp2]\n" + 14582 " │ │ │ └─ NOT\n" + 14583 " │ │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 14584 " │ │ └─ AND\n" + 14585 " │ │ ├─ AND\n" + 14586 " │ │ │ ├─ NOT\n" + 14587 " │ │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 14588 " │ │ │ └─ InSubquery\n" + 14589 " │ │ │ ├─ left: sn.id:10!null\n" + 14590 " │ │ │ └─ right: Subquery\n" + 14591 " │ │ │ ├─ cacheable: false\n" + 14592 " │ │ │ ├─ alias-string: select XMAFZ.id from NOXN3 as XMAFZ where BRQP2 = MJR3D.FJDP5\n" + 14593 " │ │ │ └─ Project\n" + 14594 " │ │ │ ├─ columns: [xmafz.id:20!null]\n" + 14595 " │ │ │ └─ Filter\n" + 14596 " │ │ │ ├─ Eq\n" + 14597 " │ │ │ │ ├─ xmafz.BRQP2:21!null\n" + 14598 " │ │ │ │ └─ mjr3d.FJDP5:0!null\n" + 14599 " │ │ │ └─ TableAlias(xmafz)\n" + 14600 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14601 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 14602 " │ │ │ ├─ keys: [mjr3d.FJDP5:0!null]\n" + 14603 " │ │ │ ├─ colSet: (190-199)\n" + 14604 " │ │ │ ├─ tableId: 22\n" + 14605 " │ │ │ └─ Table\n" + 14606 " │ │ │ ├─ name: NOXN3\n" + 14607 " │ │ │ └─ columns: [id brqp2]\n" + 14608 " │ │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 14609 " │ └─ AND\n" + 14610 " │ ├─ AND\n" + 14611 " │ │ ├─ NOT\n" + 14612 " │ │ │ └─ mjr3d.TDEIU:6!null IS NULL\n" + 14613 " │ │ └─ InSubquery\n" + 14614 " │ │ ├─ left: sn.id:10!null\n" + 14615 " │ │ └─ right: Subquery\n" + 14616 " │ │ ├─ cacheable: false\n" + 14617 " │ │ ├─ alias-string: select XMAFZ.id from NOXN3 as XMAFZ where BRQP2 = MJR3D.BJUF2\n" + 14618 " │ │ └─ Project\n" + 14619 " │ │ ├─ columns: [xmafz.id:20!null]\n" + 14620 " │ │ └─ Filter\n" + 14621 " │ │ ├─ Eq\n" + 14622 " │ │ │ ├─ xmafz.BRQP2:21!null\n" + 14623 " │ │ │ └─ mjr3d.BJUF2:1!null\n" + 14624 " │ │ └─ TableAlias(xmafz)\n" + 14625 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 14626 " │ │ ├─ index: [NOXN3.BRQP2]\n" + 14627 " │ │ ├─ keys: [mjr3d.BJUF2:1!null]\n" + 14628 " │ │ ├─ colSet: (200-209)\n" + 14629 " │ │ ├─ tableId: 23\n" + 14630 " │ │ └─ Table\n" + 14631 " │ │ ├─ name: NOXN3\n" + 14632 " │ │ └─ columns: [id brqp2]\n" + 14633 " │ └─ NOT\n" + 14634 " │ └─ mjr3d.BJUF2:1!null IS NULL\n" + 14635 " ├─ LookupJoin\n" + 14636 " │ ├─ SubqueryAlias\n" + 14637 " │ │ ├─ name: mjr3d\n" + 14638 " │ │ ├─ outerVisibility: false\n" + 14639 " │ │ ├─ isLateral: false\n" + 14640 " │ │ ├─ cacheable: true\n" + 14641 " │ │ ├─ colSet: (160-166)\n" + 14642 " │ │ ├─ tableId: 18\n" + 14643 " │ │ └─ Distinct\n" + 14644 " │ │ └─ Project\n" + 14645 " │ │ ├─ columns: [ism.FV24E:1!null as FJDP5, cpmfe.id:27!null as BJUF2, ism.M22QN:3!null as M22QN, g3yxs.TUV25:14 as TUV25, g3yxs.ESFVY:10!null as ESFVY, yqif4.id:44!null as QNI57, yvhjz.id:54!null as TDEIU]\n" + 14646 " │ │ └─ Filter\n" + 14647 " │ │ ├─ Or\n" + 14648 " │ │ │ ├─ NOT\n" + 14649 " │ │ │ │ └─ yqif4.id:44!null IS NULL\n" + 14650 " │ │ │ └─ NOT\n" + 14651 " │ │ │ └─ yvhjz.id:54!null IS NULL\n" + 14652 " │ │ └─ LeftOuterLookupJoin\n" + 14653 " │ │ ├─ Eq\n" + 14654 " │ │ │ ├─ yvhjz.BRQP2:55!null\n" + 14655 " │ │ │ └─ ism.UJ6XY:2!null\n" + 14656 " │ │ ├─ LeftOuterLookupJoin\n" + 14657 " │ │ │ ├─ Eq\n" + 14658 " │ │ │ │ ├─ yqif4.BRQP2:45!null\n" + 14659 " │ │ │ │ └─ ism.FV24E:1!null\n" + 14660 " │ │ │ ├─ LeftOuterLookupJoin\n" + 14661 " │ │ │ │ ├─ NOT\n" + 14662 " │ │ │ │ │ └─ Eq\n" + 14663 " │ │ │ │ │ ├─ cpmfe.id:27!null\n" + 14664 " │ │ │ │ │ └─ ism.FV24E:1!null\n" + 14665 " │ │ │ │ ├─ LeftOuterHashJoin\n" + 14666 " │ │ │ │ │ ├─ Eq\n" + 14667 " │ │ │ │ │ │ ├─ nhmxw.id:17!null\n" + 14668 " │ │ │ │ │ │ └─ ism.PRUV2:6\n" + 14669 " │ │ │ │ │ ├─ MergeJoin\n" + 14670 " │ │ │ │ │ │ ├─ cmp: Eq\n" + 14671 " │ │ │ │ │ │ │ ├─ ism.NZ4MQ:4!null\n" + 14672 " │ │ │ │ │ │ │ └─ g3yxs.id:9!null\n" + 14673 " │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 14674 " │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 14675 " │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 14676 " │ │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 14677 " │ │ │ │ │ │ │ ├─ colSet: (15-23)\n" + 14678 " │ │ │ │ │ │ │ ├─ tableId: 4\n" + 14679 " │ │ │ │ │ │ │ └─ Table\n" + 14680 " │ │ │ │ │ │ │ ├─ name: HDDVB\n" + 14681 " │ │ │ │ │ │ │ └─ columns: [id fv24e uj6xy m22qn nz4mq etpqv pruv2 ykssu fhcyt]\n" + 14682 " │ │ │ │ │ │ └─ Filter\n" + 14683 " │ │ │ │ │ │ ├─ NOT\n" + 14684 " │ │ │ │ │ │ │ └─ g3yxs.TUV25:5 IS NULL\n" + 14685 " │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 14686 " │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 14687 " │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 14688 " │ │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 14689 " │ │ │ │ │ │ ├─ colSet: (24-31)\n" + 14690 " │ │ │ │ │ │ ├─ tableId: 5\n" + 14691 " │ │ │ │ │ │ └─ Table\n" + 14692 " │ │ │ │ │ │ ├─ name: YYBCX\n" + 14693 " │ │ │ │ │ │ └─ columns: [id esfvy sl76b ge5el f7a4q tuv25 ykssu fhcyt]\n" + 14694 " │ │ │ │ │ └─ HashLookup\n" + 14695 " │ │ │ │ │ ├─ left-key: TUPLE(ism.PRUV2:6)\n" + 14696 " │ │ │ │ │ ├─ right-key: TUPLE(nhmxw.id:0!null)\n" + 14697 " │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 14698 " │ │ │ │ │ └─ Table\n" + 14699 " │ │ │ │ │ ├─ name: WGSDC\n" + 14700 " │ │ │ │ │ ├─ columns: [id nohhr avpyf sypkf idut2 fzxv5 dqygv swcqv ykssu fhcyt]\n" + 14701 " │ │ │ │ │ ├─ colSet: (32-41)\n" + 14702 " │ │ │ │ │ └─ tableId: 6\n" + 14703 " │ │ │ │ └─ TableAlias(cpmfe)\n" + 14704 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 14705 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 14706 " │ │ │ │ ├─ keys: [nhmxw.NOHHR:18!null]\n" + 14707 " │ │ │ │ ├─ colSet: (42-58)\n" + 14708 " │ │ │ │ ├─ tableId: 7\n" + 14709 " │ │ │ │ └─ Table\n" + 14710 " │ │ │ │ ├─ name: E2I7U\n" + 14711 " │ │ │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 14712 " │ │ │ └─ TableAlias(yqif4)\n" + 14713 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14714 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 14715 " │ │ │ ├─ keys: [ism.UJ6XY:2!null]\n" + 14716 " │ │ │ ├─ colSet: (59-68)\n" + 14717 " │ │ │ ├─ tableId: 8\n" + 14718 " │ │ │ └─ Table\n" + 14719 " │ │ │ ├─ name: NOXN3\n" + 14720 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 14721 " │ │ └─ TableAlias(yvhjz)\n" + 14722 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 14723 " │ │ ├─ index: [NOXN3.FFTBJ]\n" + 14724 " │ │ ├─ keys: [ism.FV24E:1!null]\n" + 14725 " │ │ ├─ colSet: (69-78)\n" + 14726 " │ │ ├─ tableId: 9\n" + 14727 " │ │ └─ Table\n" + 14728 " │ │ ├─ name: NOXN3\n" + 14729 " │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 14730 " │ └─ TableAlias(aac)\n" + 14731 " │ └─ IndexedTableAccess(TPXBU)\n" + 14732 " │ ├─ index: [TPXBU.id]\n" + 14733 " │ ├─ keys: [mjr3d.M22QN:2!null]\n" + 14734 " │ ├─ colSet: (167-169)\n" + 14735 " │ ├─ tableId: 19\n" + 14736 " │ └─ Table\n" + 14737 " │ ├─ name: TPXBU\n" + 14738 " │ └─ columns: [id btxc5 fhcyt]\n" + 14739 " └─ TableAlias(sn)\n" + 14740 " └─ Table\n" + 14741 " ├─ name: NOXN3\n" + 14742 " ├─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 14743 " ├─ colSet: (170-179)\n" + 14744 " └─ tableId: 20\n" + 14745 "", 14746 ExpectedEstimates: "Project\n" + 14747 " ├─ columns: [fs.T4IBQ as T4IBQ, fs.M6T2N as M6T2N, fs.TUV25 as TUV25, fs.BTXC5 as YEBDJ]\n" + 14748 " └─ Project\n" + 14749 " ├─ columns: [fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25]\n" + 14750 " └─ Filter\n" + 14751 " ├─ (((zmspr.T4IBQ IS NULL AND zmspr.M6T2N IS NULL) AND zmspr.BTXC5 IS NULL) AND zmspr.TUV25 IS NULL)\n" + 14752 " └─ LeftOuterHashJoinExcludeNulls (estimated cost=402.250 rows=125)\n" + 14753 " ├─ ((fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25) = (zmspr.T4IBQ, zmspr.M6T2N, zmspr.BTXC5, zmspr.TUV25))\n" + 14754 " ├─ SubqueryAlias\n" + 14755 " │ ├─ name: fs\n" + 14756 " │ ├─ outerVisibility: false\n" + 14757 " │ ├─ isLateral: false\n" + 14758 " │ ├─ cacheable: true\n" + 14759 " │ └─ Project\n" + 14760 " │ ├─ columns: [rsa3y.T4IBQ as T4IBQ, jmhie.M6T2N as M6T2N, jmhie.BTXC5 as BTXC5, jmhie.TUV25 as TUV25]\n" + 14761 " │ └─ CrossHashJoin\n" + 14762 " │ ├─ SubqueryAlias\n" + 14763 " │ │ ├─ name: jmhie\n" + 14764 " │ │ ├─ outerVisibility: false\n" + 14765 " │ │ ├─ isLateral: false\n" + 14766 " │ │ ├─ cacheable: true\n" + 14767 " │ │ └─ Distinct\n" + 14768 " │ │ └─ Project\n" + 14769 " │ │ ├─ columns: [jqhrg.M6T2N, jqhrg.BTXC5, jqhrg.TUV25]\n" + 14770 " │ │ └─ SubqueryAlias\n" + 14771 " │ │ ├─ name: jqhrg\n" + 14772 " │ │ ├─ outerVisibility: false\n" + 14773 " │ │ ├─ isLateral: false\n" + 14774 " │ │ ├─ cacheable: true\n" + 14775 " │ │ └─ Project\n" + 14776 " │ │ ├─ columns: [CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 14777 " │ │ │ ├─ cacheable: false\n" + 14778 " │ │ │ └─ Project\n" + 14779 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 14780 " │ │ │ └─ Filter\n" + 14781 " │ │ │ ├─ (ei.id = mjr3d.QNI57)\n" + 14782 " │ │ │ └─ SubqueryAlias\n" + 14783 " │ │ │ ├─ name: ei\n" + 14784 " │ │ │ ├─ outerVisibility: true\n" + 14785 " │ │ │ ├─ isLateral: false\n" + 14786 " │ │ │ ├─ cacheable: true\n" + 14787 " │ │ │ └─ Project\n" + 14788 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 14789 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 14790 " │ │ │ └─ Table\n" + 14791 " │ │ │ ├─ name: NOXN3\n" + 14792 " │ │ │ └─ columns: [id]\n" + 14793 " │ │ │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 14794 " │ │ │ ├─ cacheable: false\n" + 14795 " │ │ │ └─ Project\n" + 14796 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 14797 " │ │ │ └─ Filter\n" + 14798 " │ │ │ ├─ (ei.id = mjr3d.TDEIU)\n" + 14799 " │ │ │ └─ SubqueryAlias\n" + 14800 " │ │ │ ├─ name: ei\n" + 14801 " │ │ │ ├─ outerVisibility: true\n" + 14802 " │ │ │ ├─ isLateral: false\n" + 14803 " │ │ │ ├─ cacheable: true\n" + 14804 " │ │ │ └─ Project\n" + 14805 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 14806 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 14807 " │ │ │ └─ Table\n" + 14808 " │ │ │ ├─ name: NOXN3\n" + 14809 " │ │ │ └─ columns: [id]\n" + 14810 " │ │ │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 14811 " │ │ └─ Project\n" + 14812 " │ │ ├─ columns: [mjr3d.FJDP5, mjr3d.BJUF2, mjr3d.M22QN, mjr3d.TUV25, mjr3d.ESFVY, mjr3d.QNI57, mjr3d.TDEIU, aac.id, aac.BTXC5, aac.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 14813 " │ │ │ ├─ cacheable: false\n" + 14814 " │ │ │ └─ Project\n" + 14815 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 14816 " │ │ │ └─ Filter\n" + 14817 " │ │ │ ├─ (ei.id = mjr3d.QNI57)\n" + 14818 " │ │ │ └─ SubqueryAlias\n" + 14819 " │ │ │ ├─ name: ei\n" + 14820 " │ │ │ ├─ outerVisibility: true\n" + 14821 " │ │ │ ├─ isLateral: false\n" + 14822 " │ │ │ ├─ cacheable: true\n" + 14823 " │ │ │ └─ Project\n" + 14824 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 14825 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 14826 " │ │ │ └─ Table\n" + 14827 " │ │ │ ├─ name: NOXN3\n" + 14828 " │ │ │ └─ columns: [id]\n" + 14829 " │ │ │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 14830 " │ │ │ ├─ cacheable: false\n" + 14831 " │ │ │ └─ Project\n" + 14832 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 14833 " │ │ │ └─ Filter\n" + 14834 " │ │ │ ├─ (ei.id = mjr3d.TDEIU)\n" + 14835 " │ │ │ └─ SubqueryAlias\n" + 14836 " │ │ │ ├─ name: ei\n" + 14837 " │ │ │ ├─ outerVisibility: true\n" + 14838 " │ │ │ ├─ isLateral: false\n" + 14839 " │ │ │ ├─ cacheable: true\n" + 14840 " │ │ │ └─ Project\n" + 14841 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 14842 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 14843 " │ │ │ └─ Table\n" + 14844 " │ │ │ ├─ name: NOXN3\n" + 14845 " │ │ │ └─ columns: [id]\n" + 14846 " │ │ │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 14847 " │ │ └─ LeftOuterJoin\n" + 14848 " │ │ ├─ ((((((NOT(mjr3d.QNI57 IS NULL)) AND (sn.id = mjr3d.QNI57)) AND mjr3d.BJUF2 IS NULL) OR (((NOT(mjr3d.QNI57 IS NULL)) AND InSubquery\n" + 14849 " │ │ │ ├─ left: sn.id\n" + 14850 " │ │ │ └─ right: Subquery\n" + 14851 " │ │ │ ├─ cacheable: false\n" + 14852 " │ │ │ └─ Project\n" + 14853 " │ │ │ ├─ columns: [jtehg.id]\n" + 14854 " │ │ │ └─ Filter\n" + 14855 " │ │ │ ├─ (jtehg.BRQP2 = mjr3d.BJUF2)\n" + 14856 " │ │ │ └─ TableAlias(jtehg)\n" + 14857 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14858 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 14859 " │ │ │ ├─ columns: [id brqp2]\n" + 14860 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 14861 " │ │ │ ) AND (NOT(mjr3d.BJUF2 IS NULL)))) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 14862 " │ │ │ ├─ left: sn.id\n" + 14863 " │ │ │ └─ right: Subquery\n" + 14864 " │ │ │ ├─ cacheable: false\n" + 14865 " │ │ │ └─ Project\n" + 14866 " │ │ │ ├─ columns: [xmafz.id]\n" + 14867 " │ │ │ └─ Filter\n" + 14868 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.FJDP5)\n" + 14869 " │ │ │ └─ TableAlias(xmafz)\n" + 14870 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14871 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 14872 " │ │ │ ├─ columns: [id brqp2]\n" + 14873 " │ │ │ └─ keys: mjr3d.FJDP5\n" + 14874 " │ │ │ ) AND mjr3d.BJUF2 IS NULL)) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 14875 " │ │ │ ├─ left: sn.id\n" + 14876 " │ │ │ └─ right: Subquery\n" + 14877 " │ │ │ ├─ cacheable: false\n" + 14878 " │ │ │ └─ Project\n" + 14879 " │ │ │ ├─ columns: [xmafz.id]\n" + 14880 " │ │ │ └─ Filter\n" + 14881 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.BJUF2)\n" + 14882 " │ │ │ └─ TableAlias(xmafz)\n" + 14883 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14884 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 14885 " │ │ │ ├─ columns: [id brqp2]\n" + 14886 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 14887 " │ │ │ ) AND (NOT(mjr3d.BJUF2 IS NULL))))\n" + 14888 " │ │ ├─ LookupJoin\n" + 14889 " │ │ │ ├─ SubqueryAlias\n" + 14890 " │ │ │ │ ├─ name: mjr3d\n" + 14891 " │ │ │ │ ├─ outerVisibility: false\n" + 14892 " │ │ │ │ ├─ isLateral: false\n" + 14893 " │ │ │ │ ├─ cacheable: true\n" + 14894 " │ │ │ │ └─ Distinct\n" + 14895 " │ │ │ │ └─ Project\n" + 14896 " │ │ │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, ism.M22QN as M22QN, g3yxs.TUV25 as TUV25, g3yxs.ESFVY as ESFVY, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 14897 " │ │ │ │ └─ Filter\n" + 14898 " │ │ │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 14899 " │ │ │ │ └─ LeftOuterLookupJoin\n" + 14900 " │ │ │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 14901 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 14902 " │ │ │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 14903 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 14904 " │ │ │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 14905 " │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 14906 " │ │ │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 14907 " │ │ │ │ │ │ │ ├─ MergeJoin\n" + 14908 " │ │ │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 14909 " │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 14910 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 14911 " │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 14912 " │ │ │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 14913 " │ │ │ │ │ │ │ │ └─ Filter\n" + 14914 " │ │ │ │ │ │ │ │ ├─ (NOT(g3yxs.TUV25 IS NULL))\n" + 14915 " │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 14916 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 14917 " │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 14918 " │ │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 14919 " │ │ │ │ │ │ │ └─ HashLookup\n" + 14920 " │ │ │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 14921 " │ │ │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 14922 " │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 14923 " │ │ │ │ │ │ │ └─ Table\n" + 14924 " │ │ │ │ │ │ │ └─ name: WGSDC\n" + 14925 " │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 14926 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 14927 " │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 14928 " │ │ │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 14929 " │ │ │ │ │ └─ TableAlias(yqif4)\n" + 14930 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14931 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 14932 " │ │ │ │ │ └─ keys: ism.UJ6XY\n" + 14933 " │ │ │ │ └─ TableAlias(yvhjz)\n" + 14934 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 14935 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 14936 " │ │ │ │ └─ keys: ism.FV24E\n" + 14937 " │ │ │ └─ TableAlias(aac)\n" + 14938 " │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 14939 " │ │ │ ├─ index: [TPXBU.id]\n" + 14940 " │ │ │ └─ keys: mjr3d.M22QN\n" + 14941 " │ │ └─ TableAlias(sn)\n" + 14942 " │ │ └─ Table\n" + 14943 " │ │ └─ name: NOXN3\n" + 14944 " │ └─ HashLookup\n" + 14945 " │ ├─ left-key: ()\n" + 14946 " │ ├─ right-key: ()\n" + 14947 " │ └─ SubqueryAlias\n" + 14948 " │ ├─ name: rsa3y\n" + 14949 " │ ├─ outerVisibility: false\n" + 14950 " │ ├─ isLateral: false\n" + 14951 " │ ├─ cacheable: true\n" + 14952 " │ └─ Distinct\n" + 14953 " │ └─ Project\n" + 14954 " │ ├─ columns: [htkbs.T4IBQ]\n" + 14955 " │ └─ SubqueryAlias\n" + 14956 " │ ├─ name: htkbs\n" + 14957 " │ ├─ outerVisibility: false\n" + 14958 " │ ├─ isLateral: false\n" + 14959 " │ ├─ cacheable: true\n" + 14960 " │ └─ Project\n" + 14961 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, mf.M22QN as M22QN]\n" + 14962 " │ └─ HashJoin\n" + 14963 " │ ├─ (bs.id = mf.GXLUB)\n" + 14964 " │ ├─ LookupJoin\n" + 14965 " │ │ ├─ TableAlias(sn)\n" + 14966 " │ │ │ └─ Table\n" + 14967 " │ │ │ ├─ name: NOXN3\n" + 14968 " │ │ │ └─ columns: [id brqp2]\n" + 14969 " │ │ └─ TableAlias(mf)\n" + 14970 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 14971 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 14972 " │ │ ├─ columns: [gxlub luevy m22qn]\n" + 14973 " │ │ └─ keys: sn.BRQP2\n" + 14974 " │ └─ HashLookup\n" + 14975 " │ ├─ left-key: (mf.GXLUB)\n" + 14976 " │ ├─ right-key: (bs.id)\n" + 14977 " │ └─ MergeJoin\n" + 14978 " │ ├─ cmp: (bs.IXUXU = cla.id)\n" + 14979 " │ ├─ TableAlias(bs)\n" + 14980 " │ │ └─ IndexedTableAccess(THNTS)\n" + 14981 " │ │ ├─ index: [THNTS.IXUXU]\n" + 14982 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 14983 " │ │ └─ columns: [id ixuxu]\n" + 14984 " │ └─ Filter\n" + 14985 " │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 14986 " │ └─ TableAlias(cla)\n" + 14987 " │ └─ IndexedTableAccess(YK2GW)\n" + 14988 " │ ├─ index: [YK2GW.id]\n" + 14989 " │ ├─ filters: [{[NULL, ∞)}]\n" + 14990 " │ └─ columns: [id ftqlq]\n" + 14991 " └─ HashLookup\n" + 14992 " ├─ left-key: ((fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25))\n" + 14993 " ├─ right-key: ((zmspr.T4IBQ, zmspr.M6T2N, zmspr.BTXC5, zmspr.TUV25))\n" + 14994 " └─ SubqueryAlias\n" + 14995 " ├─ name: zmspr\n" + 14996 " ├─ outerVisibility: false\n" + 14997 " ├─ isLateral: false\n" + 14998 " ├─ cacheable: true\n" + 14999 " └─ Distinct\n" + 15000 " └─ Project\n" + 15001 " ├─ columns: [cld.T4IBQ as T4IBQ, p4pjz.M6T2N as M6T2N, p4pjz.BTXC5 as BTXC5, p4pjz.TUV25 as TUV25]\n" + 15002 " └─ Filter\n" + 15003 " ├─ (NOT(p4pjz.M6T2N IS NULL))\n" + 15004 " └─ LeftOuterHashJoin\n" + 15005 " ├─ ((p4pjz.LWQ6O = cld.BDNYB) AND (p4pjz.NTOFG = cld.M22QN))\n" + 15006 " ├─ SubqueryAlias\n" + 15007 " │ ├─ name: cld\n" + 15008 " │ ├─ outerVisibility: false\n" + 15009 " │ ├─ isLateral: false\n" + 15010 " │ ├─ cacheable: true\n" + 15011 " │ └─ Project\n" + 15012 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, mf.M22QN as M22QN]\n" + 15013 " │ └─ HashJoin\n" + 15014 " │ ├─ (bs.id = mf.GXLUB)\n" + 15015 " │ ├─ LookupJoin\n" + 15016 " │ │ ├─ TableAlias(sn)\n" + 15017 " │ │ │ └─ Table\n" + 15018 " │ │ │ ├─ name: NOXN3\n" + 15019 " │ │ │ └─ columns: [id brqp2]\n" + 15020 " │ │ └─ TableAlias(mf)\n" + 15021 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 15022 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 15023 " │ │ ├─ columns: [gxlub luevy m22qn]\n" + 15024 " │ │ └─ keys: sn.BRQP2\n" + 15025 " │ └─ HashLookup\n" + 15026 " │ ├─ left-key: (mf.GXLUB)\n" + 15027 " │ ├─ right-key: (bs.id)\n" + 15028 " │ └─ MergeJoin\n" + 15029 " │ ├─ cmp: (bs.IXUXU = cla.id)\n" + 15030 " │ ├─ TableAlias(bs)\n" + 15031 " │ │ └─ IndexedTableAccess(THNTS)\n" + 15032 " │ │ ├─ index: [THNTS.IXUXU]\n" + 15033 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 15034 " │ │ └─ columns: [id ixuxu]\n" + 15035 " │ └─ Filter\n" + 15036 " │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 15037 " │ └─ TableAlias(cla)\n" + 15038 " │ └─ IndexedTableAccess(YK2GW)\n" + 15039 " │ ├─ index: [YK2GW.id]\n" + 15040 " │ ├─ filters: [{[NULL, ∞)}]\n" + 15041 " │ └─ columns: [id ftqlq]\n" + 15042 " └─ HashLookup\n" + 15043 " ├─ left-key: (cld.BDNYB, cld.M22QN)\n" + 15044 " ├─ right-key: (p4pjz.LWQ6O, p4pjz.NTOFG)\n" + 15045 " └─ SubqueryAlias\n" + 15046 " ├─ name: p4pjz\n" + 15047 " ├─ outerVisibility: false\n" + 15048 " ├─ isLateral: false\n" + 15049 " ├─ cacheable: true\n" + 15050 " └─ Project\n" + 15051 " ├─ columns: [CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 15052 " │ ├─ cacheable: false\n" + 15053 " │ └─ Project\n" + 15054 " │ ├─ columns: [ei.M6T2N]\n" + 15055 " │ └─ Filter\n" + 15056 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 15057 " │ └─ SubqueryAlias\n" + 15058 " │ ├─ name: ei\n" + 15059 " │ ├─ outerVisibility: true\n" + 15060 " │ ├─ isLateral: false\n" + 15061 " │ ├─ cacheable: true\n" + 15062 " │ └─ Project\n" + 15063 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15064 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15065 " │ └─ Table\n" + 15066 " │ ├─ name: NOXN3\n" + 15067 " │ └─ columns: [id]\n" + 15068 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 15069 " │ ├─ cacheable: false\n" + 15070 " │ └─ Project\n" + 15071 " │ ├─ columns: [ei.M6T2N]\n" + 15072 " │ └─ Filter\n" + 15073 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 15074 " │ └─ SubqueryAlias\n" + 15075 " │ ├─ name: ei\n" + 15076 " │ ├─ outerVisibility: true\n" + 15077 " │ ├─ isLateral: false\n" + 15078 " │ ├─ cacheable: true\n" + 15079 " │ └─ Project\n" + 15080 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15081 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15082 " │ └─ Table\n" + 15083 " │ ├─ name: NOXN3\n" + 15084 " │ └─ columns: [id]\n" + 15085 " │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 15086 " └─ Project\n" + 15087 " ├─ columns: [mjr3d.FJDP5, mjr3d.BJUF2, mjr3d.M22QN, mjr3d.TUV25, mjr3d.ESFVY, mjr3d.QNI57, mjr3d.TDEIU, aac.id, aac.BTXC5, aac.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 15088 " │ ├─ cacheable: false\n" + 15089 " │ └─ Project\n" + 15090 " │ ├─ columns: [ei.M6T2N]\n" + 15091 " │ └─ Filter\n" + 15092 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 15093 " │ └─ SubqueryAlias\n" + 15094 " │ ├─ name: ei\n" + 15095 " │ ├─ outerVisibility: true\n" + 15096 " │ ├─ isLateral: false\n" + 15097 " │ ├─ cacheable: true\n" + 15098 " │ └─ Project\n" + 15099 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15100 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15101 " │ └─ Table\n" + 15102 " │ ├─ name: NOXN3\n" + 15103 " │ └─ columns: [id]\n" + 15104 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 15105 " │ ├─ cacheable: false\n" + 15106 " │ └─ Project\n" + 15107 " │ ├─ columns: [ei.M6T2N]\n" + 15108 " │ └─ Filter\n" + 15109 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 15110 " │ └─ SubqueryAlias\n" + 15111 " │ ├─ name: ei\n" + 15112 " │ ├─ outerVisibility: true\n" + 15113 " │ ├─ isLateral: false\n" + 15114 " │ ├─ cacheable: true\n" + 15115 " │ └─ Project\n" + 15116 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15117 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15118 " │ └─ Table\n" + 15119 " │ ├─ name: NOXN3\n" + 15120 " │ └─ columns: [id]\n" + 15121 " │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 15122 " └─ LeftOuterJoin\n" + 15123 " ├─ ((((((NOT(mjr3d.QNI57 IS NULL)) AND (sn.id = mjr3d.QNI57)) AND mjr3d.BJUF2 IS NULL) OR (((NOT(mjr3d.QNI57 IS NULL)) AND InSubquery\n" + 15124 " │ ├─ left: sn.id\n" + 15125 " │ └─ right: Subquery\n" + 15126 " │ ├─ cacheable: false\n" + 15127 " │ └─ Project\n" + 15128 " │ ├─ columns: [jtehg.id]\n" + 15129 " │ └─ Filter\n" + 15130 " │ ├─ (jtehg.BRQP2 = mjr3d.BJUF2)\n" + 15131 " │ └─ TableAlias(jtehg)\n" + 15132 " │ └─ IndexedTableAccess(NOXN3)\n" + 15133 " │ ├─ index: [NOXN3.BRQP2]\n" + 15134 " │ ├─ columns: [id brqp2]\n" + 15135 " │ └─ keys: mjr3d.BJUF2\n" + 15136 " │ ) AND (NOT(mjr3d.BJUF2 IS NULL)))) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 15137 " │ ├─ left: sn.id\n" + 15138 " │ └─ right: Subquery\n" + 15139 " │ ├─ cacheable: false\n" + 15140 " │ └─ Project\n" + 15141 " │ ├─ columns: [xmafz.id]\n" + 15142 " │ └─ Filter\n" + 15143 " │ ├─ (xmafz.BRQP2 = mjr3d.FJDP5)\n" + 15144 " │ └─ TableAlias(xmafz)\n" + 15145 " │ └─ IndexedTableAccess(NOXN3)\n" + 15146 " │ ├─ index: [NOXN3.BRQP2]\n" + 15147 " │ ├─ columns: [id brqp2]\n" + 15148 " │ └─ keys: mjr3d.FJDP5\n" + 15149 " │ ) AND mjr3d.BJUF2 IS NULL)) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 15150 " │ ├─ left: sn.id\n" + 15151 " │ └─ right: Subquery\n" + 15152 " │ ├─ cacheable: false\n" + 15153 " │ └─ Project\n" + 15154 " │ ├─ columns: [xmafz.id]\n" + 15155 " │ └─ Filter\n" + 15156 " │ ├─ (xmafz.BRQP2 = mjr3d.BJUF2)\n" + 15157 " │ └─ TableAlias(xmafz)\n" + 15158 " │ └─ IndexedTableAccess(NOXN3)\n" + 15159 " │ ├─ index: [NOXN3.BRQP2]\n" + 15160 " │ ├─ columns: [id brqp2]\n" + 15161 " │ └─ keys: mjr3d.BJUF2\n" + 15162 " │ ) AND (NOT(mjr3d.BJUF2 IS NULL))))\n" + 15163 " ├─ LookupJoin\n" + 15164 " │ ├─ SubqueryAlias\n" + 15165 " │ │ ├─ name: mjr3d\n" + 15166 " │ │ ├─ outerVisibility: false\n" + 15167 " │ │ ├─ isLateral: false\n" + 15168 " │ │ ├─ cacheable: true\n" + 15169 " │ │ └─ Distinct\n" + 15170 " │ │ └─ Project\n" + 15171 " │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, ism.M22QN as M22QN, g3yxs.TUV25 as TUV25, g3yxs.ESFVY as ESFVY, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 15172 " │ │ └─ Filter\n" + 15173 " │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 15174 " │ │ └─ LeftOuterLookupJoin\n" + 15175 " │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 15176 " │ │ ├─ LeftOuterLookupJoin\n" + 15177 " │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 15178 " │ │ │ ├─ LeftOuterLookupJoin\n" + 15179 " │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 15180 " │ │ │ │ ├─ LeftOuterHashJoin\n" + 15181 " │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 15182 " │ │ │ │ │ ├─ MergeJoin\n" + 15183 " │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 15184 " │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 15185 " │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 15186 " │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 15187 " │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 15188 " │ │ │ │ │ │ └─ Filter\n" + 15189 " │ │ │ │ │ │ ├─ (NOT(g3yxs.TUV25 IS NULL))\n" + 15190 " │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 15191 " │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 15192 " │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 15193 " │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 15194 " │ │ │ │ │ └─ HashLookup\n" + 15195 " │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 15196 " │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 15197 " │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 15198 " │ │ │ │ │ └─ Table\n" + 15199 " │ │ │ │ │ └─ name: WGSDC\n" + 15200 " │ │ │ │ └─ TableAlias(cpmfe)\n" + 15201 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 15202 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 15203 " │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 15204 " │ │ │ └─ TableAlias(yqif4)\n" + 15205 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 15206 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 15207 " │ │ │ └─ keys: ism.UJ6XY\n" + 15208 " │ │ └─ TableAlias(yvhjz)\n" + 15209 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 15210 " │ │ ├─ index: [NOXN3.FFTBJ]\n" + 15211 " │ │ └─ keys: ism.FV24E\n" + 15212 " │ └─ TableAlias(aac)\n" + 15213 " │ └─ IndexedTableAccess(TPXBU)\n" + 15214 " │ ├─ index: [TPXBU.id]\n" + 15215 " │ └─ keys: mjr3d.M22QN\n" + 15216 " └─ TableAlias(sn)\n" + 15217 " └─ Table\n" + 15218 " └─ name: NOXN3\n" + 15219 "", 15220 ExpectedAnalysis: "Project\n" + 15221 " ├─ columns: [fs.T4IBQ as T4IBQ, fs.M6T2N as M6T2N, fs.TUV25 as TUV25, fs.BTXC5 as YEBDJ]\n" + 15222 " └─ Project\n" + 15223 " ├─ columns: [fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25]\n" + 15224 " └─ Filter\n" + 15225 " ├─ (((zmspr.T4IBQ IS NULL AND zmspr.M6T2N IS NULL) AND zmspr.BTXC5 IS NULL) AND zmspr.TUV25 IS NULL)\n" + 15226 " └─ LeftOuterHashJoinExcludeNulls (estimated cost=402.250 rows=125) (actual rows=0 loops=1)\n" + 15227 " ├─ ((fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25) = (zmspr.T4IBQ, zmspr.M6T2N, zmspr.BTXC5, zmspr.TUV25))\n" + 15228 " ├─ SubqueryAlias\n" + 15229 " │ ├─ name: fs\n" + 15230 " │ ├─ outerVisibility: false\n" + 15231 " │ ├─ isLateral: false\n" + 15232 " │ ├─ cacheable: true\n" + 15233 " │ └─ Project\n" + 15234 " │ ├─ columns: [rsa3y.T4IBQ as T4IBQ, jmhie.M6T2N as M6T2N, jmhie.BTXC5 as BTXC5, jmhie.TUV25 as TUV25]\n" + 15235 " │ └─ CrossHashJoin\n" + 15236 " │ ├─ SubqueryAlias\n" + 15237 " │ │ ├─ name: jmhie\n" + 15238 " │ │ ├─ outerVisibility: false\n" + 15239 " │ │ ├─ isLateral: false\n" + 15240 " │ │ ├─ cacheable: true\n" + 15241 " │ │ └─ Distinct\n" + 15242 " │ │ └─ Project\n" + 15243 " │ │ ├─ columns: [jqhrg.M6T2N, jqhrg.BTXC5, jqhrg.TUV25]\n" + 15244 " │ │ └─ SubqueryAlias\n" + 15245 " │ │ ├─ name: jqhrg\n" + 15246 " │ │ ├─ outerVisibility: false\n" + 15247 " │ │ ├─ isLateral: false\n" + 15248 " │ │ ├─ cacheable: true\n" + 15249 " │ │ └─ Project\n" + 15250 " │ │ ├─ columns: [CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 15251 " │ │ │ ├─ cacheable: false\n" + 15252 " │ │ │ └─ Project\n" + 15253 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 15254 " │ │ │ └─ Filter\n" + 15255 " │ │ │ ├─ (ei.id = mjr3d.QNI57)\n" + 15256 " │ │ │ └─ SubqueryAlias\n" + 15257 " │ │ │ ├─ name: ei\n" + 15258 " │ │ │ ├─ outerVisibility: true\n" + 15259 " │ │ │ ├─ isLateral: false\n" + 15260 " │ │ │ ├─ cacheable: true\n" + 15261 " │ │ │ └─ Project\n" + 15262 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15263 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15264 " │ │ │ └─ Table\n" + 15265 " │ │ │ ├─ name: NOXN3\n" + 15266 " │ │ │ └─ columns: [id]\n" + 15267 " │ │ │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 15268 " │ │ │ ├─ cacheable: false\n" + 15269 " │ │ │ └─ Project\n" + 15270 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 15271 " │ │ │ └─ Filter\n" + 15272 " │ │ │ ├─ (ei.id = mjr3d.TDEIU)\n" + 15273 " │ │ │ └─ SubqueryAlias\n" + 15274 " │ │ │ ├─ name: ei\n" + 15275 " │ │ │ ├─ outerVisibility: true\n" + 15276 " │ │ │ ├─ isLateral: false\n" + 15277 " │ │ │ ├─ cacheable: true\n" + 15278 " │ │ │ └─ Project\n" + 15279 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15280 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15281 " │ │ │ └─ Table\n" + 15282 " │ │ │ ├─ name: NOXN3\n" + 15283 " │ │ │ └─ columns: [id]\n" + 15284 " │ │ │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 15285 " │ │ └─ Project\n" + 15286 " │ │ ├─ columns: [mjr3d.FJDP5, mjr3d.BJUF2, mjr3d.M22QN, mjr3d.TUV25, mjr3d.ESFVY, mjr3d.QNI57, mjr3d.TDEIU, aac.id, aac.BTXC5, aac.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 15287 " │ │ │ ├─ cacheable: false\n" + 15288 " │ │ │ └─ Project\n" + 15289 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 15290 " │ │ │ └─ Filter\n" + 15291 " │ │ │ ├─ (ei.id = mjr3d.QNI57)\n" + 15292 " │ │ │ └─ SubqueryAlias\n" + 15293 " │ │ │ ├─ name: ei\n" + 15294 " │ │ │ ├─ outerVisibility: true\n" + 15295 " │ │ │ ├─ isLateral: false\n" + 15296 " │ │ │ ├─ cacheable: true\n" + 15297 " │ │ │ └─ Project\n" + 15298 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15299 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15300 " │ │ │ └─ Table\n" + 15301 " │ │ │ ├─ name: NOXN3\n" + 15302 " │ │ │ └─ columns: [id]\n" + 15303 " │ │ │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 15304 " │ │ │ ├─ cacheable: false\n" + 15305 " │ │ │ └─ Project\n" + 15306 " │ │ │ ├─ columns: [ei.M6T2N]\n" + 15307 " │ │ │ └─ Filter\n" + 15308 " │ │ │ ├─ (ei.id = mjr3d.TDEIU)\n" + 15309 " │ │ │ └─ SubqueryAlias\n" + 15310 " │ │ │ ├─ name: ei\n" + 15311 " │ │ │ ├─ outerVisibility: true\n" + 15312 " │ │ │ ├─ isLateral: false\n" + 15313 " │ │ │ ├─ cacheable: true\n" + 15314 " │ │ │ └─ Project\n" + 15315 " │ │ │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15316 " │ │ │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15317 " │ │ │ └─ Table\n" + 15318 " │ │ │ ├─ name: NOXN3\n" + 15319 " │ │ │ └─ columns: [id]\n" + 15320 " │ │ │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 15321 " │ │ └─ LeftOuterJoin\n" + 15322 " │ │ ├─ ((((((NOT(mjr3d.QNI57 IS NULL)) AND (sn.id = mjr3d.QNI57)) AND mjr3d.BJUF2 IS NULL) OR (((NOT(mjr3d.QNI57 IS NULL)) AND InSubquery\n" + 15323 " │ │ │ ├─ left: sn.id\n" + 15324 " │ │ │ └─ right: Subquery\n" + 15325 " │ │ │ ├─ cacheable: false\n" + 15326 " │ │ │ └─ Project\n" + 15327 " │ │ │ ├─ columns: [jtehg.id]\n" + 15328 " │ │ │ └─ Filter\n" + 15329 " │ │ │ ├─ (jtehg.BRQP2 = mjr3d.BJUF2)\n" + 15330 " │ │ │ └─ TableAlias(jtehg)\n" + 15331 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 15332 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 15333 " │ │ │ ├─ columns: [id brqp2]\n" + 15334 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 15335 " │ │ │ ) AND (NOT(mjr3d.BJUF2 IS NULL)))) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 15336 " │ │ │ ├─ left: sn.id\n" + 15337 " │ │ │ └─ right: Subquery\n" + 15338 " │ │ │ ├─ cacheable: false\n" + 15339 " │ │ │ └─ Project\n" + 15340 " │ │ │ ├─ columns: [xmafz.id]\n" + 15341 " │ │ │ └─ Filter\n" + 15342 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.FJDP5)\n" + 15343 " │ │ │ └─ TableAlias(xmafz)\n" + 15344 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 15345 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 15346 " │ │ │ ├─ columns: [id brqp2]\n" + 15347 " │ │ │ └─ keys: mjr3d.FJDP5\n" + 15348 " │ │ │ ) AND mjr3d.BJUF2 IS NULL)) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 15349 " │ │ │ ├─ left: sn.id\n" + 15350 " │ │ │ └─ right: Subquery\n" + 15351 " │ │ │ ├─ cacheable: false\n" + 15352 " │ │ │ └─ Project\n" + 15353 " │ │ │ ├─ columns: [xmafz.id]\n" + 15354 " │ │ │ └─ Filter\n" + 15355 " │ │ │ ├─ (xmafz.BRQP2 = mjr3d.BJUF2)\n" + 15356 " │ │ │ └─ TableAlias(xmafz)\n" + 15357 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 15358 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 15359 " │ │ │ ├─ columns: [id brqp2]\n" + 15360 " │ │ │ └─ keys: mjr3d.BJUF2\n" + 15361 " │ │ │ ) AND (NOT(mjr3d.BJUF2 IS NULL))))\n" + 15362 " │ │ ├─ LookupJoin\n" + 15363 " │ │ │ ├─ SubqueryAlias\n" + 15364 " │ │ │ │ ├─ name: mjr3d\n" + 15365 " │ │ │ │ ├─ outerVisibility: false\n" + 15366 " │ │ │ │ ├─ isLateral: false\n" + 15367 " │ │ │ │ ├─ cacheable: true\n" + 15368 " │ │ │ │ └─ Distinct\n" + 15369 " │ │ │ │ └─ Project\n" + 15370 " │ │ │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, ism.M22QN as M22QN, g3yxs.TUV25 as TUV25, g3yxs.ESFVY as ESFVY, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 15371 " │ │ │ │ └─ Filter\n" + 15372 " │ │ │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 15373 " │ │ │ │ └─ LeftOuterLookupJoin\n" + 15374 " │ │ │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 15375 " │ │ │ │ ├─ LeftOuterLookupJoin\n" + 15376 " │ │ │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 15377 " │ │ │ │ │ ├─ LeftOuterLookupJoin\n" + 15378 " │ │ │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 15379 " │ │ │ │ │ │ ├─ LeftOuterHashJoin\n" + 15380 " │ │ │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 15381 " │ │ │ │ │ │ │ ├─ MergeJoin\n" + 15382 " │ │ │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 15383 " │ │ │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 15384 " │ │ │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 15385 " │ │ │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 15386 " │ │ │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 15387 " │ │ │ │ │ │ │ │ └─ Filter\n" + 15388 " │ │ │ │ │ │ │ │ ├─ (NOT(g3yxs.TUV25 IS NULL))\n" + 15389 " │ │ │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 15390 " │ │ │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 15391 " │ │ │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 15392 " │ │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 15393 " │ │ │ │ │ │ │ └─ HashLookup\n" + 15394 " │ │ │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 15395 " │ │ │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 15396 " │ │ │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 15397 " │ │ │ │ │ │ │ └─ Table\n" + 15398 " │ │ │ │ │ │ │ └─ name: WGSDC\n" + 15399 " │ │ │ │ │ │ └─ TableAlias(cpmfe)\n" + 15400 " │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 15401 " │ │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 15402 " │ │ │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 15403 " │ │ │ │ │ └─ TableAlias(yqif4)\n" + 15404 " │ │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 15405 " │ │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 15406 " │ │ │ │ │ └─ keys: ism.UJ6XY\n" + 15407 " │ │ │ │ └─ TableAlias(yvhjz)\n" + 15408 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 15409 " │ │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 15410 " │ │ │ │ └─ keys: ism.FV24E\n" + 15411 " │ │ │ └─ TableAlias(aac)\n" + 15412 " │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 15413 " │ │ │ ├─ index: [TPXBU.id]\n" + 15414 " │ │ │ └─ keys: mjr3d.M22QN\n" + 15415 " │ │ └─ TableAlias(sn)\n" + 15416 " │ │ └─ Table\n" + 15417 " │ │ └─ name: NOXN3\n" + 15418 " │ └─ HashLookup\n" + 15419 " │ ├─ left-key: ()\n" + 15420 " │ ├─ right-key: ()\n" + 15421 " │ └─ SubqueryAlias\n" + 15422 " │ ├─ name: rsa3y\n" + 15423 " │ ├─ outerVisibility: false\n" + 15424 " │ ├─ isLateral: false\n" + 15425 " │ ├─ cacheable: true\n" + 15426 " │ └─ Distinct\n" + 15427 " │ └─ Project\n" + 15428 " │ ├─ columns: [htkbs.T4IBQ]\n" + 15429 " │ └─ SubqueryAlias\n" + 15430 " │ ├─ name: htkbs\n" + 15431 " │ ├─ outerVisibility: false\n" + 15432 " │ ├─ isLateral: false\n" + 15433 " │ ├─ cacheable: true\n" + 15434 " │ └─ Project\n" + 15435 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, mf.M22QN as M22QN]\n" + 15436 " │ └─ HashJoin\n" + 15437 " │ ├─ (bs.id = mf.GXLUB)\n" + 15438 " │ ├─ LookupJoin\n" + 15439 " │ │ ├─ TableAlias(sn)\n" + 15440 " │ │ │ └─ Table\n" + 15441 " │ │ │ ├─ name: NOXN3\n" + 15442 " │ │ │ └─ columns: [id brqp2]\n" + 15443 " │ │ └─ TableAlias(mf)\n" + 15444 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 15445 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 15446 " │ │ ├─ columns: [gxlub luevy m22qn]\n" + 15447 " │ │ └─ keys: sn.BRQP2\n" + 15448 " │ └─ HashLookup\n" + 15449 " │ ├─ left-key: (mf.GXLUB)\n" + 15450 " │ ├─ right-key: (bs.id)\n" + 15451 " │ └─ MergeJoin\n" + 15452 " │ ├─ cmp: (bs.IXUXU = cla.id)\n" + 15453 " │ ├─ TableAlias(bs)\n" + 15454 " │ │ └─ IndexedTableAccess(THNTS)\n" + 15455 " │ │ ├─ index: [THNTS.IXUXU]\n" + 15456 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 15457 " │ │ └─ columns: [id ixuxu]\n" + 15458 " │ └─ Filter\n" + 15459 " │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 15460 " │ └─ TableAlias(cla)\n" + 15461 " │ └─ IndexedTableAccess(YK2GW)\n" + 15462 " │ ├─ index: [YK2GW.id]\n" + 15463 " │ ├─ filters: [{[NULL, ∞)}]\n" + 15464 " │ └─ columns: [id ftqlq]\n" + 15465 " └─ HashLookup\n" + 15466 " ├─ left-key: ((fs.T4IBQ, fs.M6T2N, fs.BTXC5, fs.TUV25))\n" + 15467 " ├─ right-key: ((zmspr.T4IBQ, zmspr.M6T2N, zmspr.BTXC5, zmspr.TUV25))\n" + 15468 " └─ SubqueryAlias\n" + 15469 " ├─ name: zmspr\n" + 15470 " ├─ outerVisibility: false\n" + 15471 " ├─ isLateral: false\n" + 15472 " ├─ cacheable: true\n" + 15473 " └─ Distinct\n" + 15474 " └─ Project\n" + 15475 " ├─ columns: [cld.T4IBQ as T4IBQ, p4pjz.M6T2N as M6T2N, p4pjz.BTXC5 as BTXC5, p4pjz.TUV25 as TUV25]\n" + 15476 " └─ Filter\n" + 15477 " ├─ (NOT(p4pjz.M6T2N IS NULL))\n" + 15478 " └─ LeftOuterHashJoin\n" + 15479 " ├─ ((p4pjz.LWQ6O = cld.BDNYB) AND (p4pjz.NTOFG = cld.M22QN))\n" + 15480 " ├─ SubqueryAlias\n" + 15481 " │ ├─ name: cld\n" + 15482 " │ ├─ outerVisibility: false\n" + 15483 " │ ├─ isLateral: false\n" + 15484 " │ ├─ cacheable: true\n" + 15485 " │ └─ Project\n" + 15486 " │ ├─ columns: [cla.FTQLQ as T4IBQ, sn.id as BDNYB, mf.M22QN as M22QN]\n" + 15487 " │ └─ HashJoin\n" + 15488 " │ ├─ (bs.id = mf.GXLUB)\n" + 15489 " │ ├─ LookupJoin\n" + 15490 " │ │ ├─ TableAlias(sn)\n" + 15491 " │ │ │ └─ Table\n" + 15492 " │ │ │ ├─ name: NOXN3\n" + 15493 " │ │ │ └─ columns: [id brqp2]\n" + 15494 " │ │ └─ TableAlias(mf)\n" + 15495 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 15496 " │ │ ├─ index: [HGMQ6.LUEVY]\n" + 15497 " │ │ ├─ columns: [gxlub luevy m22qn]\n" + 15498 " │ │ └─ keys: sn.BRQP2\n" + 15499 " │ └─ HashLookup\n" + 15500 " │ ├─ left-key: (mf.GXLUB)\n" + 15501 " │ ├─ right-key: (bs.id)\n" + 15502 " │ └─ MergeJoin\n" + 15503 " │ ├─ cmp: (bs.IXUXU = cla.id)\n" + 15504 " │ ├─ TableAlias(bs)\n" + 15505 " │ │ └─ IndexedTableAccess(THNTS)\n" + 15506 " │ │ ├─ index: [THNTS.IXUXU]\n" + 15507 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 15508 " │ │ └─ columns: [id ixuxu]\n" + 15509 " │ └─ Filter\n" + 15510 " │ ├─ (cla.FTQLQ HASH IN ('SQ1'))\n" + 15511 " │ └─ TableAlias(cla)\n" + 15512 " │ └─ IndexedTableAccess(YK2GW)\n" + 15513 " │ ├─ index: [YK2GW.id]\n" + 15514 " │ ├─ filters: [{[NULL, ∞)}]\n" + 15515 " │ └─ columns: [id ftqlq]\n" + 15516 " └─ HashLookup\n" + 15517 " ├─ left-key: (cld.BDNYB, cld.M22QN)\n" + 15518 " ├─ right-key: (p4pjz.LWQ6O, p4pjz.NTOFG)\n" + 15519 " └─ SubqueryAlias\n" + 15520 " ├─ name: p4pjz\n" + 15521 " ├─ outerVisibility: false\n" + 15522 " ├─ isLateral: false\n" + 15523 " ├─ cacheable: true\n" + 15524 " └─ Project\n" + 15525 " ├─ columns: [CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 15526 " │ ├─ cacheable: false\n" + 15527 " │ └─ Project\n" + 15528 " │ ├─ columns: [ei.M6T2N]\n" + 15529 " │ └─ Filter\n" + 15530 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 15531 " │ └─ SubqueryAlias\n" + 15532 " │ ├─ name: ei\n" + 15533 " │ ├─ outerVisibility: true\n" + 15534 " │ ├─ isLateral: false\n" + 15535 " │ ├─ cacheable: true\n" + 15536 " │ └─ Project\n" + 15537 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15538 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15539 " │ └─ Table\n" + 15540 " │ ├─ name: NOXN3\n" + 15541 " │ └─ columns: [id]\n" + 15542 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 15543 " │ ├─ cacheable: false\n" + 15544 " │ └─ Project\n" + 15545 " │ ├─ columns: [ei.M6T2N]\n" + 15546 " │ └─ Filter\n" + 15547 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 15548 " │ └─ SubqueryAlias\n" + 15549 " │ ├─ name: ei\n" + 15550 " │ ├─ outerVisibility: true\n" + 15551 " │ ├─ isLateral: false\n" + 15552 " │ ├─ cacheable: true\n" + 15553 " │ └─ Project\n" + 15554 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15555 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15556 " │ └─ Table\n" + 15557 " │ ├─ name: NOXN3\n" + 15558 " │ └─ columns: [id]\n" + 15559 " │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 15560 " └─ Project\n" + 15561 " ├─ columns: [mjr3d.FJDP5, mjr3d.BJUF2, mjr3d.M22QN, mjr3d.TUV25, mjr3d.ESFVY, mjr3d.QNI57, mjr3d.TDEIU, aac.id, aac.BTXC5, aac.FHCYT, sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, CASE WHEN (NOT(mjr3d.QNI57 IS NULL)) THEN Subquery\n" + 15562 " │ ├─ cacheable: false\n" + 15563 " │ └─ Project\n" + 15564 " │ ├─ columns: [ei.M6T2N]\n" + 15565 " │ └─ Filter\n" + 15566 " │ ├─ (ei.id = mjr3d.QNI57)\n" + 15567 " │ └─ SubqueryAlias\n" + 15568 " │ ├─ name: ei\n" + 15569 " │ ├─ outerVisibility: true\n" + 15570 " │ ├─ isLateral: false\n" + 15571 " │ ├─ cacheable: true\n" + 15572 " │ └─ Project\n" + 15573 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15574 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15575 " │ └─ Table\n" + 15576 " │ ├─ name: NOXN3\n" + 15577 " │ └─ columns: [id]\n" + 15578 " │ WHEN (NOT(mjr3d.TDEIU IS NULL)) THEN Subquery\n" + 15579 " │ ├─ cacheable: false\n" + 15580 " │ └─ Project\n" + 15581 " │ ├─ columns: [ei.M6T2N]\n" + 15582 " │ └─ Filter\n" + 15583 " │ ├─ (ei.id = mjr3d.TDEIU)\n" + 15584 " │ └─ SubqueryAlias\n" + 15585 " │ ├─ name: ei\n" + 15586 " │ ├─ outerVisibility: true\n" + 15587 " │ ├─ isLateral: false\n" + 15588 " │ ├─ cacheable: true\n" + 15589 " │ └─ Project\n" + 15590 " │ ├─ columns: [noxn3.id, (row_number() over ( order by noxn3.id asc) - 1) as M6T2N]\n" + 15591 " │ └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15592 " │ └─ Table\n" + 15593 " │ ├─ name: NOXN3\n" + 15594 " │ └─ columns: [id]\n" + 15595 " │ END as M6T2N, aac.BTXC5 as BTXC5, aac.id as NTOFG, sn.id as LWQ6O, mjr3d.TUV25 as TUV25]\n" + 15596 " └─ LeftOuterJoin\n" + 15597 " ├─ ((((((NOT(mjr3d.QNI57 IS NULL)) AND (sn.id = mjr3d.QNI57)) AND mjr3d.BJUF2 IS NULL) OR (((NOT(mjr3d.QNI57 IS NULL)) AND InSubquery\n" + 15598 " │ ├─ left: sn.id\n" + 15599 " │ └─ right: Subquery\n" + 15600 " │ ├─ cacheable: false\n" + 15601 " │ └─ Project\n" + 15602 " │ ├─ columns: [jtehg.id]\n" + 15603 " │ └─ Filter\n" + 15604 " │ ├─ (jtehg.BRQP2 = mjr3d.BJUF2)\n" + 15605 " │ └─ TableAlias(jtehg)\n" + 15606 " │ └─ IndexedTableAccess(NOXN3)\n" + 15607 " │ ├─ index: [NOXN3.BRQP2]\n" + 15608 " │ ├─ columns: [id brqp2]\n" + 15609 " │ └─ keys: mjr3d.BJUF2\n" + 15610 " │ ) AND (NOT(mjr3d.BJUF2 IS NULL)))) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 15611 " │ ├─ left: sn.id\n" + 15612 " │ └─ right: Subquery\n" + 15613 " │ ├─ cacheable: false\n" + 15614 " │ └─ Project\n" + 15615 " │ ├─ columns: [xmafz.id]\n" + 15616 " │ └─ Filter\n" + 15617 " │ ├─ (xmafz.BRQP2 = mjr3d.FJDP5)\n" + 15618 " │ └─ TableAlias(xmafz)\n" + 15619 " │ └─ IndexedTableAccess(NOXN3)\n" + 15620 " │ ├─ index: [NOXN3.BRQP2]\n" + 15621 " │ ├─ columns: [id brqp2]\n" + 15622 " │ └─ keys: mjr3d.FJDP5\n" + 15623 " │ ) AND mjr3d.BJUF2 IS NULL)) OR (((NOT(mjr3d.TDEIU IS NULL)) AND InSubquery\n" + 15624 " │ ├─ left: sn.id\n" + 15625 " │ └─ right: Subquery\n" + 15626 " │ ├─ cacheable: false\n" + 15627 " │ └─ Project\n" + 15628 " │ ├─ columns: [xmafz.id]\n" + 15629 " │ └─ Filter\n" + 15630 " │ ├─ (xmafz.BRQP2 = mjr3d.BJUF2)\n" + 15631 " │ └─ TableAlias(xmafz)\n" + 15632 " │ └─ IndexedTableAccess(NOXN3)\n" + 15633 " │ ├─ index: [NOXN3.BRQP2]\n" + 15634 " │ ├─ columns: [id brqp2]\n" + 15635 " │ └─ keys: mjr3d.BJUF2\n" + 15636 " │ ) AND (NOT(mjr3d.BJUF2 IS NULL))))\n" + 15637 " ├─ LookupJoin\n" + 15638 " │ ├─ SubqueryAlias\n" + 15639 " │ │ ├─ name: mjr3d\n" + 15640 " │ │ ├─ outerVisibility: false\n" + 15641 " │ │ ├─ isLateral: false\n" + 15642 " │ │ ├─ cacheable: true\n" + 15643 " │ │ └─ Distinct\n" + 15644 " │ │ └─ Project\n" + 15645 " │ │ ├─ columns: [ism.FV24E as FJDP5, cpmfe.id as BJUF2, ism.M22QN as M22QN, g3yxs.TUV25 as TUV25, g3yxs.ESFVY as ESFVY, yqif4.id as QNI57, yvhjz.id as TDEIU]\n" + 15646 " │ │ └─ Filter\n" + 15647 " │ │ ├─ ((NOT(yqif4.id IS NULL)) OR (NOT(yvhjz.id IS NULL)))\n" + 15648 " │ │ └─ LeftOuterLookupJoin\n" + 15649 " │ │ ├─ (yvhjz.BRQP2 = ism.UJ6XY)\n" + 15650 " │ │ ├─ LeftOuterLookupJoin\n" + 15651 " │ │ │ ├─ (yqif4.BRQP2 = ism.FV24E)\n" + 15652 " │ │ │ ├─ LeftOuterLookupJoin\n" + 15653 " │ │ │ │ ├─ (NOT((cpmfe.id = ism.FV24E)))\n" + 15654 " │ │ │ │ ├─ LeftOuterHashJoin\n" + 15655 " │ │ │ │ │ ├─ (nhmxw.id = ism.PRUV2)\n" + 15656 " │ │ │ │ │ ├─ MergeJoin\n" + 15657 " │ │ │ │ │ │ ├─ cmp: (ism.NZ4MQ = g3yxs.id)\n" + 15658 " │ │ │ │ │ │ ├─ TableAlias(ism)\n" + 15659 " │ │ │ │ │ │ │ └─ IndexedTableAccess(HDDVB)\n" + 15660 " │ │ │ │ │ │ │ ├─ index: [HDDVB.NZ4MQ]\n" + 15661 " │ │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 15662 " │ │ │ │ │ │ └─ Filter\n" + 15663 " │ │ │ │ │ │ ├─ (NOT(g3yxs.TUV25 IS NULL))\n" + 15664 " │ │ │ │ │ │ └─ TableAlias(g3yxs)\n" + 15665 " │ │ │ │ │ │ └─ IndexedTableAccess(YYBCX)\n" + 15666 " │ │ │ │ │ │ ├─ index: [YYBCX.id]\n" + 15667 " │ │ │ │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 15668 " │ │ │ │ │ └─ HashLookup\n" + 15669 " │ │ │ │ │ ├─ left-key: (ism.PRUV2)\n" + 15670 " │ │ │ │ │ ├─ right-key: (nhmxw.id)\n" + 15671 " │ │ │ │ │ └─ TableAlias(nhmxw)\n" + 15672 " │ │ │ │ │ └─ Table\n" + 15673 " │ │ │ │ │ └─ name: WGSDC\n" + 15674 " │ │ │ │ └─ TableAlias(cpmfe)\n" + 15675 " │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 15676 " │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 15677 " │ │ │ │ └─ keys: nhmxw.NOHHR\n" + 15678 " │ │ │ └─ TableAlias(yqif4)\n" + 15679 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 15680 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 15681 " │ │ │ └─ keys: ism.UJ6XY\n" + 15682 " │ │ └─ TableAlias(yvhjz)\n" + 15683 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 15684 " │ │ ├─ index: [NOXN3.FFTBJ]\n" + 15685 " │ │ └─ keys: ism.FV24E\n" + 15686 " │ └─ TableAlias(aac)\n" + 15687 " │ └─ IndexedTableAccess(TPXBU)\n" + 15688 " │ ├─ index: [TPXBU.id]\n" + 15689 " │ └─ keys: mjr3d.M22QN\n" + 15690 " └─ TableAlias(sn)\n" + 15691 " └─ Table\n" + 15692 " └─ name: NOXN3\n" + 15693 "", 15694 }, 15695 { 15696 Query: ` 15697 SELECT 15698 TW55N 15699 FROM 15700 E2I7U 15701 ORDER BY id ASC`, 15702 ExpectedPlan: "Project\n" + 15703 " ├─ columns: [e2i7u.TW55N:1!null]\n" + 15704 " └─ IndexedTableAccess(E2I7U)\n" + 15705 " ├─ index: [E2I7U.id]\n" + 15706 " ├─ static: [{[NULL, ∞)}]\n" + 15707 " ├─ colSet: (1-17)\n" + 15708 " ├─ tableId: 1\n" + 15709 " └─ Table\n" + 15710 " ├─ name: E2I7U\n" + 15711 " └─ columns: [id tw55n]\n" + 15712 "", 15713 ExpectedEstimates: "Project\n" + 15714 " ├─ columns: [e2i7u.TW55N]\n" + 15715 " └─ IndexedTableAccess(E2I7U)\n" + 15716 " ├─ index: [E2I7U.id]\n" + 15717 " ├─ filters: [{[NULL, ∞)}]\n" + 15718 " └─ columns: [id tw55n]\n" + 15719 "", 15720 ExpectedAnalysis: "Project\n" + 15721 " ├─ columns: [e2i7u.TW55N]\n" + 15722 " └─ IndexedTableAccess(E2I7U)\n" + 15723 " ├─ index: [E2I7U.id]\n" + 15724 " ├─ filters: [{[NULL, ∞)}]\n" + 15725 " └─ columns: [id tw55n]\n" + 15726 "", 15727 }, 15728 { 15729 Query: ` 15730 SELECT 15731 TW55N, FGG57 15732 FROM 15733 E2I7U 15734 ORDER BY id ASC`, 15735 ExpectedPlan: "Project\n" + 15736 " ├─ columns: [e2i7u.TW55N:1!null, e2i7u.FGG57:2]\n" + 15737 " └─ IndexedTableAccess(E2I7U)\n" + 15738 " ├─ index: [E2I7U.id]\n" + 15739 " ├─ static: [{[NULL, ∞)}]\n" + 15740 " ├─ colSet: (1-17)\n" + 15741 " ├─ tableId: 1\n" + 15742 " └─ Table\n" + 15743 " ├─ name: E2I7U\n" + 15744 " └─ columns: [id tw55n fgg57]\n" + 15745 "", 15746 ExpectedEstimates: "Project\n" + 15747 " ├─ columns: [e2i7u.TW55N, e2i7u.FGG57]\n" + 15748 " └─ IndexedTableAccess(E2I7U)\n" + 15749 " ├─ index: [E2I7U.id]\n" + 15750 " ├─ filters: [{[NULL, ∞)}]\n" + 15751 " └─ columns: [id tw55n fgg57]\n" + 15752 "", 15753 ExpectedAnalysis: "Project\n" + 15754 " ├─ columns: [e2i7u.TW55N, e2i7u.FGG57]\n" + 15755 " └─ IndexedTableAccess(E2I7U)\n" + 15756 " ├─ index: [E2I7U.id]\n" + 15757 " ├─ filters: [{[NULL, ∞)}]\n" + 15758 " └─ columns: [id tw55n fgg57]\n" + 15759 "", 15760 }, 15761 { 15762 Query: ` 15763 SELECT COUNT(*) FROM E2I7U`, 15764 ExpectedPlan: "Project\n" + 15765 " ├─ columns: [count(1):0!null as COUNT(*)]\n" + 15766 " └─ Project\n" + 15767 " ├─ columns: [E2I7U.COUNT(1):0!null as COUNT(1)]\n" + 15768 " └─ table_count(E2I7U) as COUNT(1)\n" + 15769 "", 15770 ExpectedEstimates: "Project\n" + 15771 " ├─ columns: [count(1) as COUNT(*)]\n" + 15772 " └─ Project\n" + 15773 " ├─ columns: [E2I7U.COUNT(1) as COUNT(1)]\n" + 15774 " └─ table_count(E2I7U) as COUNT(1)\n" + 15775 "", 15776 ExpectedAnalysis: "Project\n" + 15777 " ├─ columns: [count(1) as COUNT(*)]\n" + 15778 " └─ Project\n" + 15779 " ├─ columns: [E2I7U.COUNT(1) as COUNT(1)]\n" + 15780 " └─ table_count(E2I7U) as COUNT(1)\n" + 15781 "", 15782 }, 15783 { 15784 Query: ` 15785 SELECT 15786 ROW_NUMBER() OVER (ORDER BY id ASC) -1 DICQO, 15787 TW55N 15788 FROM 15789 E2I7U`, 15790 ExpectedPlan: "Project\n" + 15791 " ├─ columns: [(row_number() over ( order by e2i7u.id asc):0!null - 1 (tinyint)) as DICQO, e2i7u.TW55N:1!null]\n" + 15792 " └─ Window\n" + 15793 " ├─ row_number() over ( order by e2i7u.id ASC)\n" + 15794 " ├─ e2i7u.TW55N:1!null\n" + 15795 " └─ ProcessTable\n" + 15796 " └─ Table\n" + 15797 " ├─ name: E2I7U\n" + 15798 " └─ columns: [id tw55n]\n" + 15799 "", 15800 ExpectedEstimates: "Project\n" + 15801 " ├─ columns: [(row_number() over ( order by e2i7u.id asc) - 1) as DICQO, e2i7u.TW55N]\n" + 15802 " └─ Window(row_number() over ( order by e2i7u.id ASC), e2i7u.TW55N)\n" + 15803 " └─ Table\n" + 15804 " ├─ name: E2I7U\n" + 15805 " └─ columns: [id tw55n]\n" + 15806 "", 15807 ExpectedAnalysis: "Project\n" + 15808 " ├─ columns: [(row_number() over ( order by e2i7u.id asc) - 1) as DICQO, e2i7u.TW55N]\n" + 15809 " └─ Window(row_number() over ( order by e2i7u.id ASC), e2i7u.TW55N)\n" + 15810 " └─ Table\n" + 15811 " ├─ name: E2I7U\n" + 15812 " └─ columns: [id tw55n]\n" + 15813 "", 15814 }, 15815 { 15816 Query: ` 15817 SELECT 15818 TUSAY.Y3IOU AS Q7H3X 15819 FROM 15820 (SELECT 15821 id AS Y46B2, 15822 HHVLX AS HHVLX, 15823 HVHRZ AS HVHRZ 15824 FROM 15825 QYWQD) XJ2RD 15826 INNER JOIN 15827 (SELECT 15828 ROW_NUMBER() OVER (ORDER BY id ASC) Y3IOU, 15829 id AS XLFIA 15830 FROM 15831 NOXN3) TUSAY 15832 15833 ON XJ2RD.HHVLX = TUSAY.XLFIA 15834 ORDER BY Y46B2 ASC`, 15835 ExpectedPlan: "Project\n" + 15836 " ├─ columns: [tusay.Y3IOU:3!null as Q7H3X]\n" + 15837 " └─ Sort(xj2rd.Y46B2:0!null ASC nullsFirst)\n" + 15838 " └─ Project\n" + 15839 " ├─ columns: [xj2rd.Y46B2:0!null, xj2rd.HHVLX:1!null, xj2rd.HVHRZ:2!null, tusay.Y3IOU:3!null, tusay.XLFIA:4!null, tusay.Y3IOU:3!null as Q7H3X]\n" + 15840 " └─ HashJoin\n" + 15841 " ├─ Eq\n" + 15842 " │ ├─ xj2rd.HHVLX:1!null\n" + 15843 " │ └─ tusay.XLFIA:4!null\n" + 15844 " ├─ SubqueryAlias\n" + 15845 " │ ├─ name: xj2rd\n" + 15846 " │ ├─ outerVisibility: false\n" + 15847 " │ ├─ isLateral: false\n" + 15848 " │ ├─ cacheable: true\n" + 15849 " │ ├─ colSet: (10-12)\n" + 15850 " │ ├─ tableId: 2\n" + 15851 " │ └─ Project\n" + 15852 " │ ├─ columns: [qywqd.id:0!null as Y46B2, qywqd.HHVLX:1!null as HHVLX, qywqd.HVHRZ:2!null as HVHRZ]\n" + 15853 " │ └─ Table\n" + 15854 " │ ├─ name: QYWQD\n" + 15855 " │ ├─ columns: [id hhvlx hvhrz]\n" + 15856 " │ ├─ colSet: (1-6)\n" + 15857 " │ └─ tableId: 1\n" + 15858 " └─ HashLookup\n" + 15859 " ├─ left-key: TUPLE(xj2rd.HHVLX:1!null)\n" + 15860 " ├─ right-key: TUPLE(tusay.XLFIA:1!null)\n" + 15861 " └─ SubqueryAlias\n" + 15862 " ├─ name: tusay\n" + 15863 " ├─ outerVisibility: false\n" + 15864 " ├─ isLateral: false\n" + 15865 " ├─ cacheable: true\n" + 15866 " ├─ colSet: (26,27)\n" + 15867 " ├─ tableId: 4\n" + 15868 " └─ Project\n" + 15869 " ├─ columns: [row_number() over ( order by noxn3.id asc):0!null as Y3IOU, noxn3.id:1!null as XLFIA]\n" + 15870 " └─ Window\n" + 15871 " ├─ row_number() over ( order by noxn3.id ASC)\n" + 15872 " ├─ noxn3.id:0!null\n" + 15873 " └─ Table\n" + 15874 " ├─ name: NOXN3\n" + 15875 " ├─ columns: [id]\n" + 15876 " ├─ colSet: (13-22)\n" + 15877 " └─ tableId: 3\n" + 15878 "", 15879 ExpectedEstimates: "Project\n" + 15880 " ├─ columns: [tusay.Y3IOU as Q7H3X]\n" + 15881 " └─ Sort(xj2rd.Y46B2 ASC)\n" + 15882 " └─ Project\n" + 15883 " ├─ columns: [xj2rd.Y46B2, xj2rd.HHVLX, xj2rd.HVHRZ, tusay.Y3IOU, tusay.XLFIA, tusay.Y3IOU as Q7H3X]\n" + 15884 " └─ HashJoin\n" + 15885 " ├─ (xj2rd.HHVLX = tusay.XLFIA)\n" + 15886 " ├─ SubqueryAlias\n" + 15887 " │ ├─ name: xj2rd\n" + 15888 " │ ├─ outerVisibility: false\n" + 15889 " │ ├─ isLateral: false\n" + 15890 " │ ├─ cacheable: true\n" + 15891 " │ └─ Project\n" + 15892 " │ ├─ columns: [qywqd.id as Y46B2, qywqd.HHVLX as HHVLX, qywqd.HVHRZ as HVHRZ]\n" + 15893 " │ └─ Table\n" + 15894 " │ ├─ name: QYWQD\n" + 15895 " │ └─ columns: [id hhvlx hvhrz]\n" + 15896 " └─ HashLookup\n" + 15897 " ├─ left-key: (xj2rd.HHVLX)\n" + 15898 " ├─ right-key: (tusay.XLFIA)\n" + 15899 " └─ SubqueryAlias\n" + 15900 " ├─ name: tusay\n" + 15901 " ├─ outerVisibility: false\n" + 15902 " ├─ isLateral: false\n" + 15903 " ├─ cacheable: true\n" + 15904 " └─ Project\n" + 15905 " ├─ columns: [row_number() over ( order by noxn3.id asc) as Y3IOU, noxn3.id as XLFIA]\n" + 15906 " └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15907 " └─ Table\n" + 15908 " ├─ name: NOXN3\n" + 15909 " └─ columns: [id]\n" + 15910 "", 15911 ExpectedAnalysis: "Project\n" + 15912 " ├─ columns: [tusay.Y3IOU as Q7H3X]\n" + 15913 " └─ Sort(xj2rd.Y46B2 ASC)\n" + 15914 " └─ Project\n" + 15915 " ├─ columns: [xj2rd.Y46B2, xj2rd.HHVLX, xj2rd.HVHRZ, tusay.Y3IOU, tusay.XLFIA, tusay.Y3IOU as Q7H3X]\n" + 15916 " └─ HashJoin\n" + 15917 " ├─ (xj2rd.HHVLX = tusay.XLFIA)\n" + 15918 " ├─ SubqueryAlias\n" + 15919 " │ ├─ name: xj2rd\n" + 15920 " │ ├─ outerVisibility: false\n" + 15921 " │ ├─ isLateral: false\n" + 15922 " │ ├─ cacheable: true\n" + 15923 " │ └─ Project\n" + 15924 " │ ├─ columns: [qywqd.id as Y46B2, qywqd.HHVLX as HHVLX, qywqd.HVHRZ as HVHRZ]\n" + 15925 " │ └─ Table\n" + 15926 " │ ├─ name: QYWQD\n" + 15927 " │ └─ columns: [id hhvlx hvhrz]\n" + 15928 " └─ HashLookup\n" + 15929 " ├─ left-key: (xj2rd.HHVLX)\n" + 15930 " ├─ right-key: (tusay.XLFIA)\n" + 15931 " └─ SubqueryAlias\n" + 15932 " ├─ name: tusay\n" + 15933 " ├─ outerVisibility: false\n" + 15934 " ├─ isLateral: false\n" + 15935 " ├─ cacheable: true\n" + 15936 " └─ Project\n" + 15937 " ├─ columns: [row_number() over ( order by noxn3.id asc) as Y3IOU, noxn3.id as XLFIA]\n" + 15938 " └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id)\n" + 15939 " └─ Table\n" + 15940 " ├─ name: NOXN3\n" + 15941 " └─ columns: [id]\n" + 15942 "", 15943 }, 15944 { 15945 Query: ` 15946 SELECT 15947 I2GJ5.R2SR7 15948 FROM 15949 (SELECT 15950 id AS XLFIA, 15951 BRQP2 15952 FROM 15953 NOXN3 15954 ORDER BY id ASC) sn 15955 LEFT JOIN 15956 (SELECT 15957 nd.LUEVY, 15958 CASE 15959 WHEN nma.DZLIM = 'Q5I4E' THEN 1 15960 ELSE 0 15961 END AS R2SR7 15962 FROM 15963 (SELECT 15964 id AS LUEVY, 15965 HPCMS AS HPCMS 15966 FROM 15967 E2I7U) nd 15968 LEFT JOIN 15969 (SELECT 15970 id AS MLECF, 15971 DZLIM 15972 FROM 15973 TNMXI) nma 15974 ON nd.HPCMS = nma.MLECF) I2GJ5 15975 ON sn.BRQP2 = I2GJ5.LUEVY 15976 ORDER BY sn.XLFIA ASC`, 15977 ExpectedPlan: "Project\n" + 15978 " ├─ columns: [i2gj5.R2SR7:3!null]\n" + 15979 " └─ Sort(sn.XLFIA:0!null ASC nullsFirst)\n" + 15980 " └─ LeftOuterHashJoin\n" + 15981 " ├─ Eq\n" + 15982 " │ ├─ sn.BRQP2:1!null\n" + 15983 " │ └─ i2gj5.LUEVY:2!null\n" + 15984 " ├─ SubqueryAlias\n" + 15985 " │ ├─ name: sn\n" + 15986 " │ ├─ outerVisibility: false\n" + 15987 " │ ├─ isLateral: false\n" + 15988 " │ ├─ cacheable: true\n" + 15989 " │ ├─ colSet: (12,13)\n" + 15990 " │ ├─ tableId: 2\n" + 15991 " │ └─ Project\n" + 15992 " │ ├─ columns: [noxn3.id:0!null as XLFIA, noxn3.BRQP2:1!null]\n" + 15993 " │ └─ Project\n" + 15994 " │ ├─ columns: [noxn3.id:0!null, noxn3.BRQP2:1!null, noxn3.FFTBJ:2!null, noxn3.A7XO2:3, noxn3.KBO7R:4!null, noxn3.ECDKM:5, noxn3.NUMK2:6!null, noxn3.LETOE:7!null, noxn3.YKSSU:8, noxn3.FHCYT:9, noxn3.id:0!null as XLFIA]\n" + 15995 " │ └─ IndexedTableAccess(NOXN3)\n" + 15996 " │ ├─ index: [NOXN3.id]\n" + 15997 " │ ├─ static: [{[NULL, ∞)}]\n" + 15998 " │ ├─ colSet: (1-10)\n" + 15999 " │ ├─ tableId: 1\n" + 16000 " │ └─ Table\n" + 16001 " │ ├─ name: NOXN3\n" + 16002 " │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 16003 " └─ HashLookup\n" + 16004 " ├─ left-key: TUPLE(sn.BRQP2:1!null)\n" + 16005 " ├─ right-key: TUPLE(i2gj5.LUEVY:0!null)\n" + 16006 " └─ SubqueryAlias\n" + 16007 " ├─ name: i2gj5\n" + 16008 " ├─ outerVisibility: false\n" + 16009 " ├─ isLateral: false\n" + 16010 " ├─ cacheable: true\n" + 16011 " ├─ colSet: (42,43)\n" + 16012 " ├─ tableId: 7\n" + 16013 " └─ Project\n" + 16014 " ├─ columns: [nd.LUEVY:0!null, CASE WHEN Eq\n" + 16015 " │ ├─ nma.DZLIM:3!null\n" + 16016 " │ └─ Q5I4E (longtext)\n" + 16017 " │ THEN 1 (tinyint) ELSE 0 (tinyint) END as R2SR7]\n" + 16018 " └─ LeftOuterHashJoin\n" + 16019 " ├─ Eq\n" + 16020 " │ ├─ nd.HPCMS:1!null\n" + 16021 " │ └─ nma.MLECF:2!null\n" + 16022 " ├─ SubqueryAlias\n" + 16023 " │ ├─ name: nd\n" + 16024 " │ ├─ outerVisibility: false\n" + 16025 " │ ├─ isLateral: false\n" + 16026 " │ ├─ cacheable: true\n" + 16027 " │ ├─ colSet: (33,34)\n" + 16028 " │ ├─ tableId: 4\n" + 16029 " │ └─ Project\n" + 16030 " │ ├─ columns: [e2i7u.id:0!null as LUEVY, e2i7u.HPCMS:1!null as HPCMS]\n" + 16031 " │ └─ Table\n" + 16032 " │ ├─ name: E2I7U\n" + 16033 " │ ├─ columns: [id hpcms]\n" + 16034 " │ ├─ colSet: (14-30)\n" + 16035 " │ └─ tableId: 3\n" + 16036 " └─ HashLookup\n" + 16037 " ├─ left-key: TUPLE(nd.HPCMS:1!null)\n" + 16038 " ├─ right-key: TUPLE(nma.MLECF:0!null)\n" + 16039 " └─ SubqueryAlias\n" + 16040 " ├─ name: nma\n" + 16041 " ├─ outerVisibility: false\n" + 16042 " ├─ isLateral: false\n" + 16043 " ├─ cacheable: true\n" + 16044 " ├─ colSet: (39,40)\n" + 16045 " ├─ tableId: 6\n" + 16046 " └─ Project\n" + 16047 " ├─ columns: [tnmxi.id:0!null as MLECF, tnmxi.DZLIM:1!null]\n" + 16048 " └─ Table\n" + 16049 " ├─ name: TNMXI\n" + 16050 " ├─ columns: [id dzlim]\n" + 16051 " ├─ colSet: (35-37)\n" + 16052 " └─ tableId: 5\n" + 16053 "", 16054 ExpectedEstimates: "Project\n" + 16055 " ├─ columns: [i2gj5.R2SR7]\n" + 16056 " └─ Sort(sn.XLFIA ASC)\n" + 16057 " └─ LeftOuterHashJoin\n" + 16058 " ├─ (sn.BRQP2 = i2gj5.LUEVY)\n" + 16059 " ├─ SubqueryAlias\n" + 16060 " │ ├─ name: sn\n" + 16061 " │ ├─ outerVisibility: false\n" + 16062 " │ ├─ isLateral: false\n" + 16063 " │ ├─ cacheable: true\n" + 16064 " │ └─ Project\n" + 16065 " │ ├─ columns: [noxn3.id as XLFIA, noxn3.BRQP2]\n" + 16066 " │ └─ Project\n" + 16067 " │ ├─ columns: [noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.A7XO2, noxn3.KBO7R, noxn3.ECDKM, noxn3.NUMK2, noxn3.LETOE, noxn3.YKSSU, noxn3.FHCYT, noxn3.id as XLFIA]\n" + 16068 " │ └─ IndexedTableAccess(NOXN3)\n" + 16069 " │ ├─ index: [NOXN3.id]\n" + 16070 " │ ├─ filters: [{[NULL, ∞)}]\n" + 16071 " │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 16072 " └─ HashLookup\n" + 16073 " ├─ left-key: (sn.BRQP2)\n" + 16074 " ├─ right-key: (i2gj5.LUEVY)\n" + 16075 " └─ SubqueryAlias\n" + 16076 " ├─ name: i2gj5\n" + 16077 " ├─ outerVisibility: false\n" + 16078 " ├─ isLateral: false\n" + 16079 " ├─ cacheable: true\n" + 16080 " └─ Project\n" + 16081 " ├─ columns: [nd.LUEVY, CASE WHEN (nma.DZLIM = 'Q5I4E') THEN 1 ELSE 0 END as R2SR7]\n" + 16082 " └─ LeftOuterHashJoin\n" + 16083 " ├─ (nd.HPCMS = nma.MLECF)\n" + 16084 " ├─ SubqueryAlias\n" + 16085 " │ ├─ name: nd\n" + 16086 " │ ├─ outerVisibility: false\n" + 16087 " │ ├─ isLateral: false\n" + 16088 " │ ├─ cacheable: true\n" + 16089 " │ └─ Project\n" + 16090 " │ ├─ columns: [e2i7u.id as LUEVY, e2i7u.HPCMS as HPCMS]\n" + 16091 " │ └─ Table\n" + 16092 " │ ├─ name: E2I7U\n" + 16093 " │ └─ columns: [id hpcms]\n" + 16094 " └─ HashLookup\n" + 16095 " ├─ left-key: (nd.HPCMS)\n" + 16096 " ├─ right-key: (nma.MLECF)\n" + 16097 " └─ SubqueryAlias\n" + 16098 " ├─ name: nma\n" + 16099 " ├─ outerVisibility: false\n" + 16100 " ├─ isLateral: false\n" + 16101 " ├─ cacheable: true\n" + 16102 " └─ Project\n" + 16103 " ├─ columns: [tnmxi.id as MLECF, tnmxi.DZLIM]\n" + 16104 " └─ Table\n" + 16105 " ├─ name: TNMXI\n" + 16106 " └─ columns: [id dzlim]\n" + 16107 "", 16108 ExpectedAnalysis: "Project\n" + 16109 " ├─ columns: [i2gj5.R2SR7]\n" + 16110 " └─ Sort(sn.XLFIA ASC)\n" + 16111 " └─ LeftOuterHashJoin\n" + 16112 " ├─ (sn.BRQP2 = i2gj5.LUEVY)\n" + 16113 " ├─ SubqueryAlias\n" + 16114 " │ ├─ name: sn\n" + 16115 " │ ├─ outerVisibility: false\n" + 16116 " │ ├─ isLateral: false\n" + 16117 " │ ├─ cacheable: true\n" + 16118 " │ └─ Project\n" + 16119 " │ ├─ columns: [noxn3.id as XLFIA, noxn3.BRQP2]\n" + 16120 " │ └─ Project\n" + 16121 " │ ├─ columns: [noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.A7XO2, noxn3.KBO7R, noxn3.ECDKM, noxn3.NUMK2, noxn3.LETOE, noxn3.YKSSU, noxn3.FHCYT, noxn3.id as XLFIA]\n" + 16122 " │ └─ IndexedTableAccess(NOXN3)\n" + 16123 " │ ├─ index: [NOXN3.id]\n" + 16124 " │ ├─ filters: [{[NULL, ∞)}]\n" + 16125 " │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 16126 " └─ HashLookup\n" + 16127 " ├─ left-key: (sn.BRQP2)\n" + 16128 " ├─ right-key: (i2gj5.LUEVY)\n" + 16129 " └─ SubqueryAlias\n" + 16130 " ├─ name: i2gj5\n" + 16131 " ├─ outerVisibility: false\n" + 16132 " ├─ isLateral: false\n" + 16133 " ├─ cacheable: true\n" + 16134 " └─ Project\n" + 16135 " ├─ columns: [nd.LUEVY, CASE WHEN (nma.DZLIM = 'Q5I4E') THEN 1 ELSE 0 END as R2SR7]\n" + 16136 " └─ LeftOuterHashJoin\n" + 16137 " ├─ (nd.HPCMS = nma.MLECF)\n" + 16138 " ├─ SubqueryAlias\n" + 16139 " │ ├─ name: nd\n" + 16140 " │ ├─ outerVisibility: false\n" + 16141 " │ ├─ isLateral: false\n" + 16142 " │ ├─ cacheable: true\n" + 16143 " │ └─ Project\n" + 16144 " │ ├─ columns: [e2i7u.id as LUEVY, e2i7u.HPCMS as HPCMS]\n" + 16145 " │ └─ Table\n" + 16146 " │ ├─ name: E2I7U\n" + 16147 " │ └─ columns: [id hpcms]\n" + 16148 " └─ HashLookup\n" + 16149 " ├─ left-key: (nd.HPCMS)\n" + 16150 " ├─ right-key: (nma.MLECF)\n" + 16151 " └─ SubqueryAlias\n" + 16152 " ├─ name: nma\n" + 16153 " ├─ outerVisibility: false\n" + 16154 " ├─ isLateral: false\n" + 16155 " ├─ cacheable: true\n" + 16156 " └─ Project\n" + 16157 " ├─ columns: [tnmxi.id as MLECF, tnmxi.DZLIM]\n" + 16158 " └─ Table\n" + 16159 " ├─ name: TNMXI\n" + 16160 " └─ columns: [id dzlim]\n" + 16161 "", 16162 }, 16163 { 16164 Query: ` 16165 SELECT 16166 QI2IE.DICQO AS DICQO 16167 FROM 16168 (SELECT 16169 id AS XLFIA, 16170 BRQP2 AS AHMDT 16171 FROM 16172 NOXN3) GRRB6 16173 LEFT JOIN 16174 (SELECT 16175 ROW_NUMBER() OVER (ORDER BY id ASC) DICQO, 16176 id AS VIBZI 16177 FROM 16178 E2I7U) QI2IE 16179 ON QI2IE.VIBZI = GRRB6.AHMDT 16180 ORDER BY GRRB6.XLFIA ASC`, 16181 ExpectedPlan: "Project\n" + 16182 " ├─ columns: [qi2ie.DICQO:2!null as DICQO]\n" + 16183 " └─ Sort(grrb6.XLFIA:0!null ASC nullsFirst)\n" + 16184 " └─ Project\n" + 16185 " ├─ columns: [grrb6.XLFIA:0!null, grrb6.AHMDT:1!null, qi2ie.DICQO:2!null, qi2ie.VIBZI:3!null, qi2ie.DICQO:2!null as DICQO]\n" + 16186 " └─ LeftOuterHashJoin\n" + 16187 " ├─ Eq\n" + 16188 " │ ├─ qi2ie.VIBZI:3!null\n" + 16189 " │ └─ grrb6.AHMDT:1!null\n" + 16190 " ├─ SubqueryAlias\n" + 16191 " │ ├─ name: grrb6\n" + 16192 " │ ├─ outerVisibility: false\n" + 16193 " │ ├─ isLateral: false\n" + 16194 " │ ├─ cacheable: true\n" + 16195 " │ ├─ colSet: (13,14)\n" + 16196 " │ ├─ tableId: 2\n" + 16197 " │ └─ Project\n" + 16198 " │ ├─ columns: [noxn3.id:0!null as XLFIA, noxn3.BRQP2:1!null as AHMDT]\n" + 16199 " │ └─ Table\n" + 16200 " │ ├─ name: NOXN3\n" + 16201 " │ ├─ columns: [id brqp2]\n" + 16202 " │ ├─ colSet: (1-10)\n" + 16203 " │ └─ tableId: 1\n" + 16204 " └─ HashLookup\n" + 16205 " ├─ left-key: TUPLE(grrb6.AHMDT:1!null)\n" + 16206 " ├─ right-key: TUPLE(qi2ie.VIBZI:1!null)\n" + 16207 " └─ SubqueryAlias\n" + 16208 " ├─ name: qi2ie\n" + 16209 " ├─ outerVisibility: false\n" + 16210 " ├─ isLateral: false\n" + 16211 " ├─ cacheable: true\n" + 16212 " ├─ colSet: (35,36)\n" + 16213 " ├─ tableId: 4\n" + 16214 " └─ Project\n" + 16215 " ├─ columns: [row_number() over ( order by e2i7u.id asc):0!null as DICQO, e2i7u.id:1!null as VIBZI]\n" + 16216 " └─ Window\n" + 16217 " ├─ row_number() over ( order by e2i7u.id ASC)\n" + 16218 " ├─ e2i7u.id:0!null\n" + 16219 " └─ Table\n" + 16220 " ├─ name: E2I7U\n" + 16221 " ├─ columns: [id]\n" + 16222 " ├─ colSet: (15-31)\n" + 16223 " └─ tableId: 3\n" + 16224 "", 16225 ExpectedEstimates: "Project\n" + 16226 " ├─ columns: [qi2ie.DICQO as DICQO]\n" + 16227 " └─ Sort(grrb6.XLFIA ASC)\n" + 16228 " └─ Project\n" + 16229 " ├─ columns: [grrb6.XLFIA, grrb6.AHMDT, qi2ie.DICQO, qi2ie.VIBZI, qi2ie.DICQO as DICQO]\n" + 16230 " └─ LeftOuterHashJoin\n" + 16231 " ├─ (qi2ie.VIBZI = grrb6.AHMDT)\n" + 16232 " ├─ SubqueryAlias\n" + 16233 " │ ├─ name: grrb6\n" + 16234 " │ ├─ outerVisibility: false\n" + 16235 " │ ├─ isLateral: false\n" + 16236 " │ ├─ cacheable: true\n" + 16237 " │ └─ Project\n" + 16238 " │ ├─ columns: [noxn3.id as XLFIA, noxn3.BRQP2 as AHMDT]\n" + 16239 " │ └─ Table\n" + 16240 " │ ├─ name: NOXN3\n" + 16241 " │ └─ columns: [id brqp2]\n" + 16242 " └─ HashLookup\n" + 16243 " ├─ left-key: (grrb6.AHMDT)\n" + 16244 " ├─ right-key: (qi2ie.VIBZI)\n" + 16245 " └─ SubqueryAlias\n" + 16246 " ├─ name: qi2ie\n" + 16247 " ├─ outerVisibility: false\n" + 16248 " ├─ isLateral: false\n" + 16249 " ├─ cacheable: true\n" + 16250 " └─ Project\n" + 16251 " ├─ columns: [row_number() over ( order by e2i7u.id asc) as DICQO, e2i7u.id as VIBZI]\n" + 16252 " └─ Window(row_number() over ( order by e2i7u.id ASC), e2i7u.id)\n" + 16253 " └─ Table\n" + 16254 " ├─ name: E2I7U\n" + 16255 " └─ columns: [id]\n" + 16256 "", 16257 ExpectedAnalysis: "Project\n" + 16258 " ├─ columns: [qi2ie.DICQO as DICQO]\n" + 16259 " └─ Sort(grrb6.XLFIA ASC)\n" + 16260 " └─ Project\n" + 16261 " ├─ columns: [grrb6.XLFIA, grrb6.AHMDT, qi2ie.DICQO, qi2ie.VIBZI, qi2ie.DICQO as DICQO]\n" + 16262 " └─ LeftOuterHashJoin\n" + 16263 " ├─ (qi2ie.VIBZI = grrb6.AHMDT)\n" + 16264 " ├─ SubqueryAlias\n" + 16265 " │ ├─ name: grrb6\n" + 16266 " │ ├─ outerVisibility: false\n" + 16267 " │ ├─ isLateral: false\n" + 16268 " │ ├─ cacheable: true\n" + 16269 " │ └─ Project\n" + 16270 " │ ├─ columns: [noxn3.id as XLFIA, noxn3.BRQP2 as AHMDT]\n" + 16271 " │ └─ Table\n" + 16272 " │ ├─ name: NOXN3\n" + 16273 " │ └─ columns: [id brqp2]\n" + 16274 " └─ HashLookup\n" + 16275 " ├─ left-key: (grrb6.AHMDT)\n" + 16276 " ├─ right-key: (qi2ie.VIBZI)\n" + 16277 " └─ SubqueryAlias\n" + 16278 " ├─ name: qi2ie\n" + 16279 " ├─ outerVisibility: false\n" + 16280 " ├─ isLateral: false\n" + 16281 " ├─ cacheable: true\n" + 16282 " └─ Project\n" + 16283 " ├─ columns: [row_number() over ( order by e2i7u.id asc) as DICQO, e2i7u.id as VIBZI]\n" + 16284 " └─ Window(row_number() over ( order by e2i7u.id ASC), e2i7u.id)\n" + 16285 " └─ Table\n" + 16286 " ├─ name: E2I7U\n" + 16287 " └─ columns: [id]\n" + 16288 "", 16289 }, 16290 { 16291 Query: ` 16292 SELECT 16293 DISTINCT cla.FTQLQ 16294 FROM 16295 YK2GW cla 16296 WHERE 16297 cla.id IN ( 16298 SELECT bs.IXUXU 16299 FROM THNTS bs 16300 WHERE 16301 bs.id IN (SELECT GXLUB FROM HGMQ6) 16302 AND bs.id IN (SELECT GXLUB FROM AMYXQ) 16303 ) 16304 ORDER BY cla.FTQLQ ASC`, 16305 ExpectedPlan: "Distinct\n" + 16306 " └─ Project\n" + 16307 " ├─ columns: [cla.FTQLQ:1!null]\n" + 16308 " └─ Sort(cla.FTQLQ:1!null ASC nullsFirst)\n" + 16309 " └─ Project\n" + 16310 " ├─ columns: [cla.id:1!null, cla.FTQLQ:2!null, cla.TUXML:3, cla.PAEF5:4, cla.RUCY4:5, cla.TPNJ6:6!null, cla.LBL53:7, cla.NB3QS:8, cla.EO7IV:9, cla.MUHJF:10, cla.FM34L:11, cla.TY5RF:12, cla.ZHTLH:13, cla.NPB7W:14, cla.SX3HH:15, cla.ISBNF:16, cla.YA7YB:17, cla.C5YKB:18, cla.QK7KT:19, cla.FFGE6:20, cla.FIIGJ:21, cla.SH3NC:22, cla.NTENA:23, cla.M4AUB:24, cla.X5AIR:25, cla.SAB6M:26, cla.G5QI5:27, cla.ZVQVD:28, cla.YKSSU:29, cla.FHCYT:30]\n" + 16311 " └─ HashJoin\n" + 16312 " ├─ Eq\n" + 16313 " │ ├─ cla.id:1!null\n" + 16314 " │ └─ bs.IXUXU:0\n" + 16315 " ├─ Distinct\n" + 16316 " │ └─ Project\n" + 16317 " │ ├─ columns: [bs.IXUXU:2]\n" + 16318 " │ └─ SemiLookupJoin\n" + 16319 " │ ├─ Project\n" + 16320 " │ │ ├─ columns: [bs.id:0!null, bs.NFRYN:1!null, bs.IXUXU:2, bs.FHCYT:3]\n" + 16321 " │ │ └─ MergeJoin\n" + 16322 " │ │ ├─ cmp: Eq\n" + 16323 " │ │ │ ├─ bs.id:0!null\n" + 16324 " │ │ │ └─ hgmq6.GXLUB:4!null\n" + 16325 " │ │ ├─ TableAlias(bs)\n" + 16326 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 16327 " │ │ │ ├─ index: [THNTS.id]\n" + 16328 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 16329 " │ │ │ ├─ colSet: (31-34)\n" + 16330 " │ │ │ ├─ tableId: 2\n" + 16331 " │ │ │ └─ Table\n" + 16332 " │ │ │ ├─ name: THNTS\n" + 16333 " │ │ │ └─ columns: [id nfryn ixuxu fhcyt]\n" + 16334 " │ │ └─ Project\n" + 16335 " │ │ ├─ columns: [hgmq6.GXLUB:1!null]\n" + 16336 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 16337 " │ │ ├─ index: [HGMQ6.GXLUB]\n" + 16338 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 16339 " │ │ ├─ colSet: (35-51)\n" + 16340 " │ │ ├─ tableId: 3\n" + 16341 " │ │ └─ Table\n" + 16342 " │ │ ├─ name: HGMQ6\n" + 16343 " │ │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 16344 " │ └─ Project\n" + 16345 " │ ├─ columns: [amyxq.GXLUB:1!null]\n" + 16346 " │ └─ IndexedTableAccess(AMYXQ)\n" + 16347 " │ ├─ index: [AMYXQ.GXLUB]\n" + 16348 " │ ├─ keys: [bs.id:0!null]\n" + 16349 " │ ├─ colSet: (52-59)\n" + 16350 " │ ├─ tableId: 4\n" + 16351 " │ └─ Table\n" + 16352 " │ ├─ name: AMYXQ\n" + 16353 " │ └─ columns: [id gxlub luevy xqdyt amyxq oztqf z35gy kkgn5]\n" + 16354 " └─ HashLookup\n" + 16355 " ├─ left-key: TUPLE(bs.IXUXU:0)\n" + 16356 " ├─ right-key: TUPLE(cla.id:0!null)\n" + 16357 " └─ TableAlias(cla)\n" + 16358 " └─ ProcessTable\n" + 16359 " └─ Table\n" + 16360 " ├─ name: YK2GW\n" + 16361 " └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 16362 "", 16363 ExpectedEstimates: "Distinct\n" + 16364 " └─ Project\n" + 16365 " ├─ columns: [cla.FTQLQ]\n" + 16366 " └─ Sort(cla.FTQLQ ASC)\n" + 16367 " └─ Project\n" + 16368 " ├─ columns: [cla.id, cla.FTQLQ, cla.TUXML, cla.PAEF5, cla.RUCY4, cla.TPNJ6, cla.LBL53, cla.NB3QS, cla.EO7IV, cla.MUHJF, cla.FM34L, cla.TY5RF, cla.ZHTLH, cla.NPB7W, cla.SX3HH, cla.ISBNF, cla.YA7YB, cla.C5YKB, cla.QK7KT, cla.FFGE6, cla.FIIGJ, cla.SH3NC, cla.NTENA, cla.M4AUB, cla.X5AIR, cla.SAB6M, cla.G5QI5, cla.ZVQVD, cla.YKSSU, cla.FHCYT]\n" + 16369 " └─ HashJoin\n" + 16370 " ├─ (cla.id = bs.IXUXU)\n" + 16371 " ├─ Distinct\n" + 16372 " │ └─ Project\n" + 16373 " │ ├─ columns: [bs.IXUXU]\n" + 16374 " │ └─ SemiLookupJoin\n" + 16375 " │ ├─ Project\n" + 16376 " │ │ ├─ columns: [bs.id, bs.NFRYN, bs.IXUXU, bs.FHCYT]\n" + 16377 " │ │ └─ MergeJoin\n" + 16378 " │ │ ├─ cmp: (bs.id = hgmq6.GXLUB)\n" + 16379 " │ │ ├─ TableAlias(bs)\n" + 16380 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 16381 " │ │ │ ├─ index: [THNTS.id]\n" + 16382 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 16383 " │ │ └─ Project\n" + 16384 " │ │ ├─ columns: [hgmq6.GXLUB]\n" + 16385 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 16386 " │ │ ├─ index: [HGMQ6.GXLUB]\n" + 16387 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 16388 " │ └─ Project\n" + 16389 " │ ├─ columns: [amyxq.GXLUB]\n" + 16390 " │ └─ IndexedTableAccess(AMYXQ)\n" + 16391 " │ ├─ index: [AMYXQ.GXLUB]\n" + 16392 " │ └─ keys: bs.id\n" + 16393 " └─ HashLookup\n" + 16394 " ├─ left-key: (bs.IXUXU)\n" + 16395 " ├─ right-key: (cla.id)\n" + 16396 " └─ TableAlias(cla)\n" + 16397 " └─ Table\n" + 16398 " └─ name: YK2GW\n" + 16399 "", 16400 ExpectedAnalysis: "Distinct\n" + 16401 " └─ Project\n" + 16402 " ├─ columns: [cla.FTQLQ]\n" + 16403 " └─ Sort(cla.FTQLQ ASC)\n" + 16404 " └─ Project\n" + 16405 " ├─ columns: [cla.id, cla.FTQLQ, cla.TUXML, cla.PAEF5, cla.RUCY4, cla.TPNJ6, cla.LBL53, cla.NB3QS, cla.EO7IV, cla.MUHJF, cla.FM34L, cla.TY5RF, cla.ZHTLH, cla.NPB7W, cla.SX3HH, cla.ISBNF, cla.YA7YB, cla.C5YKB, cla.QK7KT, cla.FFGE6, cla.FIIGJ, cla.SH3NC, cla.NTENA, cla.M4AUB, cla.X5AIR, cla.SAB6M, cla.G5QI5, cla.ZVQVD, cla.YKSSU, cla.FHCYT]\n" + 16406 " └─ HashJoin\n" + 16407 " ├─ (cla.id = bs.IXUXU)\n" + 16408 " ├─ Distinct\n" + 16409 " │ └─ Project\n" + 16410 " │ ├─ columns: [bs.IXUXU]\n" + 16411 " │ └─ SemiLookupJoin\n" + 16412 " │ ├─ Project\n" + 16413 " │ │ ├─ columns: [bs.id, bs.NFRYN, bs.IXUXU, bs.FHCYT]\n" + 16414 " │ │ └─ MergeJoin\n" + 16415 " │ │ ├─ cmp: (bs.id = hgmq6.GXLUB)\n" + 16416 " │ │ ├─ TableAlias(bs)\n" + 16417 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 16418 " │ │ │ ├─ index: [THNTS.id]\n" + 16419 " │ │ │ └─ filters: [{[NULL, ∞)}]\n" + 16420 " │ │ └─ Project\n" + 16421 " │ │ ├─ columns: [hgmq6.GXLUB]\n" + 16422 " │ │ └─ IndexedTableAccess(HGMQ6)\n" + 16423 " │ │ ├─ index: [HGMQ6.GXLUB]\n" + 16424 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 16425 " │ └─ Project\n" + 16426 " │ ├─ columns: [amyxq.GXLUB]\n" + 16427 " │ └─ IndexedTableAccess(AMYXQ)\n" + 16428 " │ ├─ index: [AMYXQ.GXLUB]\n" + 16429 " │ └─ keys: bs.id\n" + 16430 " └─ HashLookup\n" + 16431 " ├─ left-key: (bs.IXUXU)\n" + 16432 " ├─ right-key: (cla.id)\n" + 16433 " └─ TableAlias(cla)\n" + 16434 " └─ Table\n" + 16435 " └─ name: YK2GW\n" + 16436 "", 16437 }, 16438 { 16439 Query: ` 16440 SELECT 16441 DISTINCT cla.FTQLQ 16442 FROM HGMQ6 mf 16443 INNER JOIN THNTS bs 16444 ON mf.GXLUB = bs.id 16445 INNER JOIN YK2GW cla 16446 ON bs.IXUXU = cla.id 16447 ORDER BY cla.FTQLQ ASC`, 16448 ExpectedPlan: "Distinct\n" + 16449 " └─ Project\n" + 16450 " ├─ columns: [cla.FTQLQ:22!null]\n" + 16451 " └─ Sort(cla.FTQLQ:22!null ASC nullsFirst)\n" + 16452 " └─ HashJoin\n" + 16453 " ├─ Eq\n" + 16454 " │ ├─ mf.GXLUB:1!null\n" + 16455 " │ └─ bs.id:17!null\n" + 16456 " ├─ TableAlias(mf)\n" + 16457 " │ └─ ProcessTable\n" + 16458 " │ └─ Table\n" + 16459 " │ ├─ name: HGMQ6\n" + 16460 " │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 16461 " └─ HashLookup\n" + 16462 " ├─ left-key: TUPLE(mf.GXLUB:1!null)\n" + 16463 " ├─ right-key: TUPLE(bs.id:0!null)\n" + 16464 " └─ MergeJoin\n" + 16465 " ├─ cmp: Eq\n" + 16466 " │ ├─ bs.IXUXU:19\n" + 16467 " │ └─ cla.id:21!null\n" + 16468 " ├─ TableAlias(bs)\n" + 16469 " │ └─ IndexedTableAccess(THNTS)\n" + 16470 " │ ├─ index: [THNTS.IXUXU]\n" + 16471 " │ ├─ static: [{[NULL, ∞)}]\n" + 16472 " │ ├─ colSet: (18-21)\n" + 16473 " │ ├─ tableId: 2\n" + 16474 " │ └─ Table\n" + 16475 " │ ├─ name: THNTS\n" + 16476 " │ └─ columns: [id nfryn ixuxu fhcyt]\n" + 16477 " └─ TableAlias(cla)\n" + 16478 " └─ IndexedTableAccess(YK2GW)\n" + 16479 " ├─ index: [YK2GW.id]\n" + 16480 " ├─ static: [{[NULL, ∞)}]\n" + 16481 " ├─ colSet: (22-51)\n" + 16482 " ├─ tableId: 3\n" + 16483 " └─ Table\n" + 16484 " ├─ name: YK2GW\n" + 16485 " └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 16486 "", 16487 ExpectedEstimates: "Distinct\n" + 16488 " └─ Project\n" + 16489 " ├─ columns: [cla.FTQLQ]\n" + 16490 " └─ Sort(cla.FTQLQ ASC)\n" + 16491 " └─ HashJoin\n" + 16492 " ├─ (mf.GXLUB = bs.id)\n" + 16493 " ├─ TableAlias(mf)\n" + 16494 " │ └─ Table\n" + 16495 " │ └─ name: HGMQ6\n" + 16496 " └─ HashLookup\n" + 16497 " ├─ left-key: (mf.GXLUB)\n" + 16498 " ├─ right-key: (bs.id)\n" + 16499 " └─ MergeJoin\n" + 16500 " ├─ cmp: (bs.IXUXU = cla.id)\n" + 16501 " ├─ TableAlias(bs)\n" + 16502 " │ └─ IndexedTableAccess(THNTS)\n" + 16503 " │ ├─ index: [THNTS.IXUXU]\n" + 16504 " │ └─ filters: [{[NULL, ∞)}]\n" + 16505 " └─ TableAlias(cla)\n" + 16506 " └─ IndexedTableAccess(YK2GW)\n" + 16507 " ├─ index: [YK2GW.id]\n" + 16508 " └─ filters: [{[NULL, ∞)}]\n" + 16509 "", 16510 ExpectedAnalysis: "Distinct\n" + 16511 " └─ Project\n" + 16512 " ├─ columns: [cla.FTQLQ]\n" + 16513 " └─ Sort(cla.FTQLQ ASC)\n" + 16514 " └─ HashJoin\n" + 16515 " ├─ (mf.GXLUB = bs.id)\n" + 16516 " ├─ TableAlias(mf)\n" + 16517 " │ └─ Table\n" + 16518 " │ └─ name: HGMQ6\n" + 16519 " └─ HashLookup\n" + 16520 " ├─ left-key: (mf.GXLUB)\n" + 16521 " ├─ right-key: (bs.id)\n" + 16522 " └─ MergeJoin\n" + 16523 " ├─ cmp: (bs.IXUXU = cla.id)\n" + 16524 " ├─ TableAlias(bs)\n" + 16525 " │ └─ IndexedTableAccess(THNTS)\n" + 16526 " │ ├─ index: [THNTS.IXUXU]\n" + 16527 " │ └─ filters: [{[NULL, ∞)}]\n" + 16528 " └─ TableAlias(cla)\n" + 16529 " └─ IndexedTableAccess(YK2GW)\n" + 16530 " ├─ index: [YK2GW.id]\n" + 16531 " └─ filters: [{[NULL, ∞)}]\n" + 16532 "", 16533 }, 16534 { 16535 Query: ` 16536 SELECT 16537 DISTINCT cla.FTQLQ 16538 FROM YK2GW cla 16539 WHERE cla.id IN 16540 (SELECT IXUXU FROM THNTS bs 16541 WHERE bs.id IN (SELECT GXLUB FROM AMYXQ)) 16542 ORDER BY cla.FTQLQ ASC`, 16543 ExpectedPlan: "Distinct\n" + 16544 " └─ Project\n" + 16545 " ├─ columns: [cla.FTQLQ:1!null]\n" + 16546 " └─ Sort(cla.FTQLQ:1!null ASC nullsFirst)\n" + 16547 " └─ Project\n" + 16548 " ├─ columns: [cla.id:1!null, cla.FTQLQ:2!null, cla.TUXML:3, cla.PAEF5:4, cla.RUCY4:5, cla.TPNJ6:6!null, cla.LBL53:7, cla.NB3QS:8, cla.EO7IV:9, cla.MUHJF:10, cla.FM34L:11, cla.TY5RF:12, cla.ZHTLH:13, cla.NPB7W:14, cla.SX3HH:15, cla.ISBNF:16, cla.YA7YB:17, cla.C5YKB:18, cla.QK7KT:19, cla.FFGE6:20, cla.FIIGJ:21, cla.SH3NC:22, cla.NTENA:23, cla.M4AUB:24, cla.X5AIR:25, cla.SAB6M:26, cla.G5QI5:27, cla.ZVQVD:28, cla.YKSSU:29, cla.FHCYT:30]\n" + 16549 " └─ HashJoin\n" + 16550 " ├─ Eq\n" + 16551 " │ ├─ cla.id:1!null\n" + 16552 " │ └─ bs.IXUXU:0\n" + 16553 " ├─ Distinct\n" + 16554 " │ └─ Project\n" + 16555 " │ ├─ columns: [bs.IXUXU:2]\n" + 16556 " │ └─ Project\n" + 16557 " │ ├─ columns: [bs.id:0!null, bs.NFRYN:1!null, bs.IXUXU:2, bs.FHCYT:3]\n" + 16558 " │ └─ MergeJoin\n" + 16559 " │ ├─ cmp: Eq\n" + 16560 " │ │ ├─ bs.id:0!null\n" + 16561 " │ │ └─ amyxq.GXLUB:4!null\n" + 16562 " │ ├─ TableAlias(bs)\n" + 16563 " │ │ └─ IndexedTableAccess(THNTS)\n" + 16564 " │ │ ├─ index: [THNTS.id]\n" + 16565 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 16566 " │ │ ├─ colSet: (31-34)\n" + 16567 " │ │ ├─ tableId: 2\n" + 16568 " │ │ └─ Table\n" + 16569 " │ │ ├─ name: THNTS\n" + 16570 " │ │ └─ columns: [id nfryn ixuxu fhcyt]\n" + 16571 " │ └─ Project\n" + 16572 " │ ├─ columns: [amyxq.GXLUB:1!null]\n" + 16573 " │ └─ IndexedTableAccess(AMYXQ)\n" + 16574 " │ ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 16575 " │ ├─ static: [{[NULL, ∞), [NULL, ∞)}]\n" + 16576 " │ ├─ colSet: (35-42)\n" + 16577 " │ ├─ tableId: 3\n" + 16578 " │ └─ Table\n" + 16579 " │ ├─ name: AMYXQ\n" + 16580 " │ └─ columns: [id gxlub luevy xqdyt amyxq oztqf z35gy kkgn5]\n" + 16581 " └─ HashLookup\n" + 16582 " ├─ left-key: TUPLE(bs.IXUXU:0)\n" + 16583 " ├─ right-key: TUPLE(cla.id:0!null)\n" + 16584 " └─ TableAlias(cla)\n" + 16585 " └─ ProcessTable\n" + 16586 " └─ Table\n" + 16587 " ├─ name: YK2GW\n" + 16588 " └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 16589 "", 16590 ExpectedEstimates: "Distinct\n" + 16591 " └─ Project\n" + 16592 " ├─ columns: [cla.FTQLQ]\n" + 16593 " └─ Sort(cla.FTQLQ ASC)\n" + 16594 " └─ Project\n" + 16595 " ├─ columns: [cla.id, cla.FTQLQ, cla.TUXML, cla.PAEF5, cla.RUCY4, cla.TPNJ6, cla.LBL53, cla.NB3QS, cla.EO7IV, cla.MUHJF, cla.FM34L, cla.TY5RF, cla.ZHTLH, cla.NPB7W, cla.SX3HH, cla.ISBNF, cla.YA7YB, cla.C5YKB, cla.QK7KT, cla.FFGE6, cla.FIIGJ, cla.SH3NC, cla.NTENA, cla.M4AUB, cla.X5AIR, cla.SAB6M, cla.G5QI5, cla.ZVQVD, cla.YKSSU, cla.FHCYT]\n" + 16596 " └─ HashJoin\n" + 16597 " ├─ (cla.id = bs.IXUXU)\n" + 16598 " ├─ Distinct\n" + 16599 " │ └─ Project\n" + 16600 " │ ├─ columns: [bs.IXUXU]\n" + 16601 " │ └─ Project\n" + 16602 " │ ├─ columns: [bs.id, bs.NFRYN, bs.IXUXU, bs.FHCYT]\n" + 16603 " │ └─ MergeJoin\n" + 16604 " │ ├─ cmp: (bs.id = amyxq.GXLUB)\n" + 16605 " │ ├─ TableAlias(bs)\n" + 16606 " │ │ └─ IndexedTableAccess(THNTS)\n" + 16607 " │ │ ├─ index: [THNTS.id]\n" + 16608 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 16609 " │ └─ Project\n" + 16610 " │ ├─ columns: [amyxq.GXLUB]\n" + 16611 " │ └─ IndexedTableAccess(AMYXQ)\n" + 16612 " │ ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 16613 " │ └─ filters: [{[NULL, ∞), [NULL, ∞)}]\n" + 16614 " └─ HashLookup\n" + 16615 " ├─ left-key: (bs.IXUXU)\n" + 16616 " ├─ right-key: (cla.id)\n" + 16617 " └─ TableAlias(cla)\n" + 16618 " └─ Table\n" + 16619 " └─ name: YK2GW\n" + 16620 "", 16621 ExpectedAnalysis: "Distinct\n" + 16622 " └─ Project\n" + 16623 " ├─ columns: [cla.FTQLQ]\n" + 16624 " └─ Sort(cla.FTQLQ ASC)\n" + 16625 " └─ Project\n" + 16626 " ├─ columns: [cla.id, cla.FTQLQ, cla.TUXML, cla.PAEF5, cla.RUCY4, cla.TPNJ6, cla.LBL53, cla.NB3QS, cla.EO7IV, cla.MUHJF, cla.FM34L, cla.TY5RF, cla.ZHTLH, cla.NPB7W, cla.SX3HH, cla.ISBNF, cla.YA7YB, cla.C5YKB, cla.QK7KT, cla.FFGE6, cla.FIIGJ, cla.SH3NC, cla.NTENA, cla.M4AUB, cla.X5AIR, cla.SAB6M, cla.G5QI5, cla.ZVQVD, cla.YKSSU, cla.FHCYT]\n" + 16627 " └─ HashJoin\n" + 16628 " ├─ (cla.id = bs.IXUXU)\n" + 16629 " ├─ Distinct\n" + 16630 " │ └─ Project\n" + 16631 " │ ├─ columns: [bs.IXUXU]\n" + 16632 " │ └─ Project\n" + 16633 " │ ├─ columns: [bs.id, bs.NFRYN, bs.IXUXU, bs.FHCYT]\n" + 16634 " │ └─ MergeJoin\n" + 16635 " │ ├─ cmp: (bs.id = amyxq.GXLUB)\n" + 16636 " │ ├─ TableAlias(bs)\n" + 16637 " │ │ └─ IndexedTableAccess(THNTS)\n" + 16638 " │ │ ├─ index: [THNTS.id]\n" + 16639 " │ │ └─ filters: [{[NULL, ∞)}]\n" + 16640 " │ └─ Project\n" + 16641 " │ ├─ columns: [amyxq.GXLUB]\n" + 16642 " │ └─ IndexedTableAccess(AMYXQ)\n" + 16643 " │ ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 16644 " │ └─ filters: [{[NULL, ∞), [NULL, ∞)}]\n" + 16645 " └─ HashLookup\n" + 16646 " ├─ left-key: (bs.IXUXU)\n" + 16647 " ├─ right-key: (cla.id)\n" + 16648 " └─ TableAlias(cla)\n" + 16649 " └─ Table\n" + 16650 " └─ name: YK2GW\n" + 16651 "", 16652 }, 16653 { 16654 Query: ` 16655 SELECT 16656 DISTINCT ci.FTQLQ 16657 FROM FLQLP ct 16658 INNER JOIN JDLNA ci 16659 ON ct.FZ2R5 = ci.id 16660 ORDER BY ci.FTQLQ`, 16661 ExpectedPlan: "Distinct\n" + 16662 " └─ Project\n" + 16663 " ├─ columns: [ci.FTQLQ:13!null]\n" + 16664 " └─ Sort(ci.FTQLQ:13!null ASC nullsFirst)\n" + 16665 " └─ MergeJoin\n" + 16666 " ├─ cmp: Eq\n" + 16667 " │ ├─ ct.FZ2R5:1!null\n" + 16668 " │ └─ ci.id:12!null\n" + 16669 " ├─ TableAlias(ct)\n" + 16670 " │ └─ IndexedTableAccess(FLQLP)\n" + 16671 " │ ├─ index: [FLQLP.FZ2R5]\n" + 16672 " │ ├─ static: [{[NULL, ∞)}]\n" + 16673 " │ ├─ colSet: (1-12)\n" + 16674 " │ ├─ tableId: 1\n" + 16675 " │ └─ Table\n" + 16676 " │ ├─ name: FLQLP\n" + 16677 " │ └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 16678 " └─ TableAlias(ci)\n" + 16679 " └─ IndexedTableAccess(JDLNA)\n" + 16680 " ├─ index: [JDLNA.id]\n" + 16681 " ├─ static: [{[NULL, ∞)}]\n" + 16682 " ├─ colSet: (13-17)\n" + 16683 " ├─ tableId: 2\n" + 16684 " └─ Table\n" + 16685 " ├─ name: JDLNA\n" + 16686 " └─ columns: [id ftqlq fwwiq o3qxw fhcyt]\n" + 16687 "", 16688 ExpectedEstimates: "Distinct\n" + 16689 " └─ Project\n" + 16690 " ├─ columns: [ci.FTQLQ]\n" + 16691 " └─ Sort(ci.FTQLQ ASC)\n" + 16692 " └─ MergeJoin\n" + 16693 " ├─ cmp: (ct.FZ2R5 = ci.id)\n" + 16694 " ├─ TableAlias(ct)\n" + 16695 " │ └─ IndexedTableAccess(FLQLP)\n" + 16696 " │ ├─ index: [FLQLP.FZ2R5]\n" + 16697 " │ └─ filters: [{[NULL, ∞)}]\n" + 16698 " └─ TableAlias(ci)\n" + 16699 " └─ IndexedTableAccess(JDLNA)\n" + 16700 " ├─ index: [JDLNA.id]\n" + 16701 " └─ filters: [{[NULL, ∞)}]\n" + 16702 "", 16703 ExpectedAnalysis: "Distinct\n" + 16704 " └─ Project\n" + 16705 " ├─ columns: [ci.FTQLQ]\n" + 16706 " └─ Sort(ci.FTQLQ ASC)\n" + 16707 " └─ MergeJoin\n" + 16708 " ├─ cmp: (ct.FZ2R5 = ci.id)\n" + 16709 " ├─ TableAlias(ct)\n" + 16710 " │ └─ IndexedTableAccess(FLQLP)\n" + 16711 " │ ├─ index: [FLQLP.FZ2R5]\n" + 16712 " │ └─ filters: [{[NULL, ∞)}]\n" + 16713 " └─ TableAlias(ci)\n" + 16714 " └─ IndexedTableAccess(JDLNA)\n" + 16715 " ├─ index: [JDLNA.id]\n" + 16716 " └─ filters: [{[NULL, ∞)}]\n" + 16717 "", 16718 }, 16719 { 16720 Query: ` 16721 SELECT 16722 YPGDA.LUEVY AS LUEVY, 16723 YPGDA.TW55N AS TW55N, 16724 YPGDA.IYDZV AS IYDZV, 16725 '' AS IIISV, 16726 YPGDA.QRQXW AS QRQXW, 16727 YPGDA.CAECS AS CAECS, 16728 YPGDA.CJLLY AS CJLLY, 16729 YPGDA.SHP7H AS SHP7H, 16730 YPGDA.HARAZ AS HARAZ, 16731 '' AS ECUWU, 16732 '' AS LDMO7, 16733 CASE 16734 WHEN YBBG5.DZLIM = 'HGUEM' THEN 's30' 16735 WHEN YBBG5.DZLIM = 'YUHMV' THEN 'r90' 16736 WHEN YBBG5.DZLIM = 'T3JIU' THEN 'r50' 16737 WHEN YBBG5.DZLIM = 's' THEN 's' 16738 WHEN YBBG5.DZLIM = 'AX25H' THEN 'r70' 16739 WHEN YBBG5.DZLIM IS NULL then '' 16740 ELSE YBBG5.DZLIM 16741 END AS UBUYI, 16742 YPGDA.FUG6J AS FUG6J, 16743 YPGDA.NF5AM AS NF5AM, 16744 YPGDA.FRCVC AS FRCVC 16745 FROM 16746 (SELECT 16747 nd.id AS LUEVY, 16748 nd.TW55N AS TW55N, 16749 nd.FGG57 AS IYDZV, 16750 nd.QRQXW AS QRQXW, 16751 nd.IWV2H AS CAECS, 16752 nd.ECXAJ AS CJLLY, 16753 nma.DZLIM AS SHP7H, 16754 nd.N5CC2 AS HARAZ, 16755 (SELECT 16756 XQDYT 16757 FROM AMYXQ 16758 WHERE LUEVY = nd.id 16759 LIMIT 1) AS I3L5A, 16760 nd.ETAQ7 AS FUG6J, 16761 nd.A75X7 AS NF5AM, 16762 nd.FSK67 AS FRCVC 16763 FROM E2I7U nd 16764 LEFT JOIN TNMXI nma 16765 ON nma.id = nd.HPCMS) YPGDA 16766 LEFT JOIN XGSJM YBBG5 16767 ON YPGDA.I3L5A = YBBG5.id 16768 ORDER BY LUEVY`, 16769 ExpectedPlan: "Project\n" + 16770 " ├─ columns: [ypgda.LUEVY:0!null as LUEVY, ypgda.TW55N:1!null as TW55N, ypgda.IYDZV:2 as IYDZV, (longtext) as IIISV, ypgda.QRQXW:3!null as QRQXW, ypgda.CAECS:4 as CAECS, ypgda.CJLLY:5!null as CJLLY, ypgda.SHP7H:6!null as SHP7H, ypgda.HARAZ:7 as HARAZ, (longtext) as ECUWU, (longtext) as LDMO7, CASE WHEN Eq\n" + 16771 " │ ├─ ybbg5.DZLIM:13!null\n" + 16772 " │ └─ HGUEM (longtext)\n" + 16773 " │ THEN s30 (longtext) WHEN Eq\n" + 16774 " │ ├─ ybbg5.DZLIM:13!null\n" + 16775 " │ └─ YUHMV (longtext)\n" + 16776 " │ THEN r90 (longtext) WHEN Eq\n" + 16777 " │ ├─ ybbg5.DZLIM:13!null\n" + 16778 " │ └─ T3JIU (longtext)\n" + 16779 " │ THEN r50 (longtext) WHEN Eq\n" + 16780 " │ ├─ ybbg5.DZLIM:13!null\n" + 16781 " │ └─ s (longtext)\n" + 16782 " │ THEN s (longtext) WHEN Eq\n" + 16783 " │ ├─ ybbg5.DZLIM:13!null\n" + 16784 " │ └─ AX25H (longtext)\n" + 16785 " │ THEN r70 (longtext) WHEN ybbg5.DZLIM:13!null IS NULL THEN (longtext) ELSE ybbg5.DZLIM:13!null END as UBUYI, ypgda.FUG6J:9 as FUG6J, ypgda.NF5AM:10 as NF5AM, ypgda.FRCVC:11!null as FRCVC]\n" + 16786 " └─ Sort(ypgda.LUEVY:0!null as LUEVY ASC nullsFirst)\n" + 16787 " └─ Project\n" + 16788 " ├─ columns: [ypgda.LUEVY:0!null, ypgda.TW55N:1!null, ypgda.IYDZV:2, ypgda.QRQXW:3!null, ypgda.CAECS:4, ypgda.CJLLY:5!null, ypgda.SHP7H:6!null, ypgda.HARAZ:7, ypgda.I3L5A:8, ypgda.FUG6J:9, ypgda.NF5AM:10, ypgda.FRCVC:11!null, ybbg5.id:12!null, ybbg5.DZLIM:13!null, ybbg5.F3YUE:14, ypgda.LUEVY:0!null as LUEVY, ypgda.TW55N:1!null as TW55N, ypgda.IYDZV:2 as IYDZV, (longtext) as IIISV, ypgda.QRQXW:3!null as QRQXW, ypgda.CAECS:4 as CAECS, ypgda.CJLLY:5!null as CJLLY, ypgda.SHP7H:6!null as SHP7H, ypgda.HARAZ:7 as HARAZ, (longtext) as ECUWU, (longtext) as LDMO7, CASE WHEN Eq\n" + 16789 " │ ├─ ybbg5.DZLIM:13!null\n" + 16790 " │ └─ HGUEM (longtext)\n" + 16791 " │ THEN s30 (longtext) WHEN Eq\n" + 16792 " │ ├─ ybbg5.DZLIM:13!null\n" + 16793 " │ └─ YUHMV (longtext)\n" + 16794 " │ THEN r90 (longtext) WHEN Eq\n" + 16795 " │ ├─ ybbg5.DZLIM:13!null\n" + 16796 " │ └─ T3JIU (longtext)\n" + 16797 " │ THEN r50 (longtext) WHEN Eq\n" + 16798 " │ ├─ ybbg5.DZLIM:13!null\n" + 16799 " │ └─ s (longtext)\n" + 16800 " │ THEN s (longtext) WHEN Eq\n" + 16801 " │ ├─ ybbg5.DZLIM:13!null\n" + 16802 " │ └─ AX25H (longtext)\n" + 16803 " │ THEN r70 (longtext) WHEN ybbg5.DZLIM:13!null IS NULL THEN (longtext) ELSE ybbg5.DZLIM:13!null END as UBUYI, ypgda.FUG6J:9 as FUG6J, ypgda.NF5AM:10 as NF5AM, ypgda.FRCVC:11!null as FRCVC]\n" + 16804 " └─ LeftOuterHashJoin\n" + 16805 " ├─ Eq\n" + 16806 " │ ├─ ypgda.I3L5A:8\n" + 16807 " │ └─ ybbg5.id:12!null\n" + 16808 " ├─ SubqueryAlias\n" + 16809 " │ ├─ name: ypgda\n" + 16810 " │ ├─ outerVisibility: false\n" + 16811 " │ ├─ isLateral: false\n" + 16812 " │ ├─ cacheable: true\n" + 16813 " │ ├─ colSet: (41-52)\n" + 16814 " │ ├─ tableId: 4\n" + 16815 " │ └─ Project\n" + 16816 " │ ├─ columns: [nd.id:0!null as LUEVY, nd.TW55N:3!null as TW55N, nd.FGG57:6 as IYDZV, nd.QRQXW:4!null as QRQXW, nd.IWV2H:11 as CAECS, nd.ECXAJ:5!null as CJLLY, nma.DZLIM:18!null as SHP7H, nd.N5CC2:13 as HARAZ, Subquery\n" + 16817 " │ │ ├─ cacheable: false\n" + 16818 " │ │ ├─ alias-string: select XQDYT from AMYXQ where LUEVY = nd.id limit 1\n" + 16819 " │ │ └─ Limit(1)\n" + 16820 " │ │ └─ Project\n" + 16821 " │ │ ├─ columns: [amyxq.XQDYT:33!null]\n" + 16822 " │ │ └─ Filter\n" + 16823 " │ │ ├─ Eq\n" + 16824 " │ │ │ ├─ amyxq.LUEVY:32!null\n" + 16825 " │ │ │ └─ nd.id:0!null\n" + 16826 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 16827 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 16828 " │ │ ├─ keys: [nd.id:0!null]\n" + 16829 " │ │ ├─ colSet: (29-36)\n" + 16830 " │ │ ├─ tableId: 3\n" + 16831 " │ │ └─ Table\n" + 16832 " │ │ ├─ name: AMYXQ\n" + 16833 " │ │ └─ columns: [luevy xqdyt]\n" + 16834 " │ │ as I3L5A, nd.ETAQ7:15 as FUG6J, nd.A75X7:16 as NF5AM, nd.FSK67:8!null as FRCVC]\n" + 16835 " │ └─ Project\n" + 16836 " │ ├─ columns: [nd.id:0!null, nd.DKCAJ:1!null, nd.KNG7T:2, nd.TW55N:3!null, nd.QRQXW:4!null, nd.ECXAJ:5!null, nd.FGG57:6, nd.ZH72S:7, nd.FSK67:8!null, nd.XQDYT:9!null, nd.TCE7A:10, nd.IWV2H:11, nd.HPCMS:12!null, nd.N5CC2:13, nd.FHCYT:14, nd.ETAQ7:15, nd.A75X7:16, nma.id:17!null, nma.DZLIM:18!null, nma.F3YUE:19, nd.id:0!null as LUEVY, nd.TW55N:3!null as TW55N, nd.FGG57:6 as IYDZV, nd.QRQXW:4!null as QRQXW, nd.IWV2H:11 as CAECS, nd.ECXAJ:5!null as CJLLY, nma.DZLIM:18!null as SHP7H, nd.N5CC2:13 as HARAZ, Subquery\n" + 16837 " │ │ ├─ cacheable: false\n" + 16838 " │ │ ├─ alias-string: select XQDYT from AMYXQ where LUEVY = nd.id limit 1\n" + 16839 " │ │ └─ Limit(1)\n" + 16840 " │ │ └─ Project\n" + 16841 " │ │ ├─ columns: [amyxq.XQDYT:21!null]\n" + 16842 " │ │ └─ Filter\n" + 16843 " │ │ ├─ Eq\n" + 16844 " │ │ │ ├─ amyxq.LUEVY:20!null\n" + 16845 " │ │ │ └─ nd.id:0!null\n" + 16846 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 16847 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 16848 " │ │ ├─ keys: [nd.id:0!null]\n" + 16849 " │ │ ├─ colSet: (29-36)\n" + 16850 " │ │ ├─ tableId: 3\n" + 16851 " │ │ └─ Table\n" + 16852 " │ │ ├─ name: AMYXQ\n" + 16853 " │ │ └─ columns: [luevy xqdyt]\n" + 16854 " │ │ as I3L5A, nd.ETAQ7:15 as FUG6J, nd.A75X7:16 as NF5AM, nd.FSK67:8!null as FRCVC]\n" + 16855 " │ └─ LeftOuterLookupJoin\n" + 16856 " │ ├─ TableAlias(nd)\n" + 16857 " │ │ └─ Table\n" + 16858 " │ │ ├─ name: E2I7U\n" + 16859 " │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 16860 " │ │ ├─ colSet: (1-17)\n" + 16861 " │ │ └─ tableId: 1\n" + 16862 " │ └─ TableAlias(nma)\n" + 16863 " │ └─ IndexedTableAccess(TNMXI)\n" + 16864 " │ ├─ index: [TNMXI.id]\n" + 16865 " │ ├─ keys: [nd.HPCMS:12!null]\n" + 16866 " │ ├─ colSet: (18-20)\n" + 16867 " │ ├─ tableId: 2\n" + 16868 " │ └─ Table\n" + 16869 " │ ├─ name: TNMXI\n" + 16870 " │ └─ columns: [id dzlim f3yue]\n" + 16871 " └─ HashLookup\n" + 16872 " ├─ left-key: TUPLE(ypgda.I3L5A:8)\n" + 16873 " ├─ right-key: TUPLE(ybbg5.id:0!null)\n" + 16874 " └─ TableAlias(ybbg5)\n" + 16875 " └─ ProcessTable\n" + 16876 " └─ Table\n" + 16877 " ├─ name: XGSJM\n" + 16878 " └─ columns: [id dzlim f3yue]\n" + 16879 "", 16880 ExpectedEstimates: "Project\n" + 16881 " ├─ columns: [ypgda.LUEVY as LUEVY, ypgda.TW55N as TW55N, ypgda.IYDZV as IYDZV, '' as IIISV, ypgda.QRQXW as QRQXW, ypgda.CAECS as CAECS, ypgda.CJLLY as CJLLY, ypgda.SHP7H as SHP7H, ypgda.HARAZ as HARAZ, '' as ECUWU, '' as LDMO7, CASE WHEN (ybbg5.DZLIM = 'HGUEM') THEN 's30' WHEN (ybbg5.DZLIM = 'YUHMV') THEN 'r90' WHEN (ybbg5.DZLIM = 'T3JIU') THEN 'r50' WHEN (ybbg5.DZLIM = 's') THEN 's' WHEN (ybbg5.DZLIM = 'AX25H') THEN 'r70' WHEN ybbg5.DZLIM IS NULL THEN '' ELSE ybbg5.DZLIM END as UBUYI, ypgda.FUG6J as FUG6J, ypgda.NF5AM as NF5AM, ypgda.FRCVC as FRCVC]\n" + 16882 " └─ Sort(ypgda.LUEVY as LUEVY ASC)\n" + 16883 " └─ Project\n" + 16884 " ├─ columns: [ypgda.LUEVY, ypgda.TW55N, ypgda.IYDZV, ypgda.QRQXW, ypgda.CAECS, ypgda.CJLLY, ypgda.SHP7H, ypgda.HARAZ, ypgda.I3L5A, ypgda.FUG6J, ypgda.NF5AM, ypgda.FRCVC, ybbg5.id, ybbg5.DZLIM, ybbg5.F3YUE, ypgda.LUEVY as LUEVY, ypgda.TW55N as TW55N, ypgda.IYDZV as IYDZV, '' as IIISV, ypgda.QRQXW as QRQXW, ypgda.CAECS as CAECS, ypgda.CJLLY as CJLLY, ypgda.SHP7H as SHP7H, ypgda.HARAZ as HARAZ, '' as ECUWU, '' as LDMO7, CASE WHEN (ybbg5.DZLIM = 'HGUEM') THEN 's30' WHEN (ybbg5.DZLIM = 'YUHMV') THEN 'r90' WHEN (ybbg5.DZLIM = 'T3JIU') THEN 'r50' WHEN (ybbg5.DZLIM = 's') THEN 's' WHEN (ybbg5.DZLIM = 'AX25H') THEN 'r70' WHEN ybbg5.DZLIM IS NULL THEN '' ELSE ybbg5.DZLIM END as UBUYI, ypgda.FUG6J as FUG6J, ypgda.NF5AM as NF5AM, ypgda.FRCVC as FRCVC]\n" + 16885 " └─ LeftOuterHashJoin\n" + 16886 " ├─ (ypgda.I3L5A = ybbg5.id)\n" + 16887 " ├─ SubqueryAlias\n" + 16888 " │ ├─ name: ypgda\n" + 16889 " │ ├─ outerVisibility: false\n" + 16890 " │ ├─ isLateral: false\n" + 16891 " │ ├─ cacheable: true\n" + 16892 " │ └─ Project\n" + 16893 " │ ├─ columns: [nd.id as LUEVY, nd.TW55N as TW55N, nd.FGG57 as IYDZV, nd.QRQXW as QRQXW, nd.IWV2H as CAECS, nd.ECXAJ as CJLLY, nma.DZLIM as SHP7H, nd.N5CC2 as HARAZ, Subquery\n" + 16894 " │ │ ├─ cacheable: false\n" + 16895 " │ │ └─ Limit(1)\n" + 16896 " │ │ └─ Project\n" + 16897 " │ │ ├─ columns: [amyxq.XQDYT]\n" + 16898 " │ │ └─ Filter\n" + 16899 " │ │ ├─ (amyxq.LUEVY = nd.id)\n" + 16900 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 16901 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 16902 " │ │ ├─ columns: [luevy xqdyt]\n" + 16903 " │ │ └─ keys: nd.id\n" + 16904 " │ │ as I3L5A, nd.ETAQ7 as FUG6J, nd.A75X7 as NF5AM, nd.FSK67 as FRCVC]\n" + 16905 " │ └─ Project\n" + 16906 " │ ├─ columns: [nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nma.id, nma.DZLIM, nma.F3YUE, nd.id as LUEVY, nd.TW55N as TW55N, nd.FGG57 as IYDZV, nd.QRQXW as QRQXW, nd.IWV2H as CAECS, nd.ECXAJ as CJLLY, nma.DZLIM as SHP7H, nd.N5CC2 as HARAZ, Subquery\n" + 16907 " │ │ ├─ cacheable: false\n" + 16908 " │ │ └─ Limit(1)\n" + 16909 " │ │ └─ Project\n" + 16910 " │ │ ├─ columns: [amyxq.XQDYT]\n" + 16911 " │ │ └─ Filter\n" + 16912 " │ │ ├─ (amyxq.LUEVY = nd.id)\n" + 16913 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 16914 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 16915 " │ │ ├─ columns: [luevy xqdyt]\n" + 16916 " │ │ └─ keys: nd.id\n" + 16917 " │ │ as I3L5A, nd.ETAQ7 as FUG6J, nd.A75X7 as NF5AM, nd.FSK67 as FRCVC]\n" + 16918 " │ └─ LeftOuterLookupJoin\n" + 16919 " │ ├─ TableAlias(nd)\n" + 16920 " │ │ └─ Table\n" + 16921 " │ │ └─ name: E2I7U\n" + 16922 " │ └─ TableAlias(nma)\n" + 16923 " │ └─ IndexedTableAccess(TNMXI)\n" + 16924 " │ ├─ index: [TNMXI.id]\n" + 16925 " │ └─ keys: nd.HPCMS\n" + 16926 " └─ HashLookup\n" + 16927 " ├─ left-key: (ypgda.I3L5A)\n" + 16928 " ├─ right-key: (ybbg5.id)\n" + 16929 " └─ TableAlias(ybbg5)\n" + 16930 " └─ Table\n" + 16931 " ├─ name: XGSJM\n" + 16932 " └─ columns: [id dzlim f3yue]\n" + 16933 "", 16934 ExpectedAnalysis: "Project\n" + 16935 " ├─ columns: [ypgda.LUEVY as LUEVY, ypgda.TW55N as TW55N, ypgda.IYDZV as IYDZV, '' as IIISV, ypgda.QRQXW as QRQXW, ypgda.CAECS as CAECS, ypgda.CJLLY as CJLLY, ypgda.SHP7H as SHP7H, ypgda.HARAZ as HARAZ, '' as ECUWU, '' as LDMO7, CASE WHEN (ybbg5.DZLIM = 'HGUEM') THEN 's30' WHEN (ybbg5.DZLIM = 'YUHMV') THEN 'r90' WHEN (ybbg5.DZLIM = 'T3JIU') THEN 'r50' WHEN (ybbg5.DZLIM = 's') THEN 's' WHEN (ybbg5.DZLIM = 'AX25H') THEN 'r70' WHEN ybbg5.DZLIM IS NULL THEN '' ELSE ybbg5.DZLIM END as UBUYI, ypgda.FUG6J as FUG6J, ypgda.NF5AM as NF5AM, ypgda.FRCVC as FRCVC]\n" + 16936 " └─ Sort(ypgda.LUEVY as LUEVY ASC)\n" + 16937 " └─ Project\n" + 16938 " ├─ columns: [ypgda.LUEVY, ypgda.TW55N, ypgda.IYDZV, ypgda.QRQXW, ypgda.CAECS, ypgda.CJLLY, ypgda.SHP7H, ypgda.HARAZ, ypgda.I3L5A, ypgda.FUG6J, ypgda.NF5AM, ypgda.FRCVC, ybbg5.id, ybbg5.DZLIM, ybbg5.F3YUE, ypgda.LUEVY as LUEVY, ypgda.TW55N as TW55N, ypgda.IYDZV as IYDZV, '' as IIISV, ypgda.QRQXW as QRQXW, ypgda.CAECS as CAECS, ypgda.CJLLY as CJLLY, ypgda.SHP7H as SHP7H, ypgda.HARAZ as HARAZ, '' as ECUWU, '' as LDMO7, CASE WHEN (ybbg5.DZLIM = 'HGUEM') THEN 's30' WHEN (ybbg5.DZLIM = 'YUHMV') THEN 'r90' WHEN (ybbg5.DZLIM = 'T3JIU') THEN 'r50' WHEN (ybbg5.DZLIM = 's') THEN 's' WHEN (ybbg5.DZLIM = 'AX25H') THEN 'r70' WHEN ybbg5.DZLIM IS NULL THEN '' ELSE ybbg5.DZLIM END as UBUYI, ypgda.FUG6J as FUG6J, ypgda.NF5AM as NF5AM, ypgda.FRCVC as FRCVC]\n" + 16939 " └─ LeftOuterHashJoin\n" + 16940 " ├─ (ypgda.I3L5A = ybbg5.id)\n" + 16941 " ├─ SubqueryAlias\n" + 16942 " │ ├─ name: ypgda\n" + 16943 " │ ├─ outerVisibility: false\n" + 16944 " │ ├─ isLateral: false\n" + 16945 " │ ├─ cacheable: true\n" + 16946 " │ └─ Project\n" + 16947 " │ ├─ columns: [nd.id as LUEVY, nd.TW55N as TW55N, nd.FGG57 as IYDZV, nd.QRQXW as QRQXW, nd.IWV2H as CAECS, nd.ECXAJ as CJLLY, nma.DZLIM as SHP7H, nd.N5CC2 as HARAZ, Subquery\n" + 16948 " │ │ ├─ cacheable: false\n" + 16949 " │ │ └─ Limit(1)\n" + 16950 " │ │ └─ Project\n" + 16951 " │ │ ├─ columns: [amyxq.XQDYT]\n" + 16952 " │ │ └─ Filter\n" + 16953 " │ │ ├─ (amyxq.LUEVY = nd.id)\n" + 16954 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 16955 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 16956 " │ │ ├─ columns: [luevy xqdyt]\n" + 16957 " │ │ └─ keys: nd.id\n" + 16958 " │ │ as I3L5A, nd.ETAQ7 as FUG6J, nd.A75X7 as NF5AM, nd.FSK67 as FRCVC]\n" + 16959 " │ └─ Project\n" + 16960 " │ ├─ columns: [nd.id, nd.DKCAJ, nd.KNG7T, nd.TW55N, nd.QRQXW, nd.ECXAJ, nd.FGG57, nd.ZH72S, nd.FSK67, nd.XQDYT, nd.TCE7A, nd.IWV2H, nd.HPCMS, nd.N5CC2, nd.FHCYT, nd.ETAQ7, nd.A75X7, nma.id, nma.DZLIM, nma.F3YUE, nd.id as LUEVY, nd.TW55N as TW55N, nd.FGG57 as IYDZV, nd.QRQXW as QRQXW, nd.IWV2H as CAECS, nd.ECXAJ as CJLLY, nma.DZLIM as SHP7H, nd.N5CC2 as HARAZ, Subquery\n" + 16961 " │ │ ├─ cacheable: false\n" + 16962 " │ │ └─ Limit(1)\n" + 16963 " │ │ └─ Project\n" + 16964 " │ │ ├─ columns: [amyxq.XQDYT]\n" + 16965 " │ │ └─ Filter\n" + 16966 " │ │ ├─ (amyxq.LUEVY = nd.id)\n" + 16967 " │ │ └─ IndexedTableAccess(AMYXQ)\n" + 16968 " │ │ ├─ index: [AMYXQ.LUEVY]\n" + 16969 " │ │ ├─ columns: [luevy xqdyt]\n" + 16970 " │ │ └─ keys: nd.id\n" + 16971 " │ │ as I3L5A, nd.ETAQ7 as FUG6J, nd.A75X7 as NF5AM, nd.FSK67 as FRCVC]\n" + 16972 " │ └─ LeftOuterLookupJoin\n" + 16973 " │ ├─ TableAlias(nd)\n" + 16974 " │ │ └─ Table\n" + 16975 " │ │ └─ name: E2I7U\n" + 16976 " │ └─ TableAlias(nma)\n" + 16977 " │ └─ IndexedTableAccess(TNMXI)\n" + 16978 " │ ├─ index: [TNMXI.id]\n" + 16979 " │ └─ keys: nd.HPCMS\n" + 16980 " └─ HashLookup\n" + 16981 " ├─ left-key: (ypgda.I3L5A)\n" + 16982 " ├─ right-key: (ybbg5.id)\n" + 16983 " └─ TableAlias(ybbg5)\n" + 16984 " └─ Table\n" + 16985 " ├─ name: XGSJM\n" + 16986 " └─ columns: [id dzlim f3yue]\n" + 16987 "", 16988 }, 16989 { 16990 Query: ` 16991 SELECT LUEVY, F6NSZ FROM ARLV5`, 16992 ExpectedPlan: "ProcessTable\n" + 16993 " └─ Table\n" + 16994 " ├─ name: ARLV5\n" + 16995 " └─ columns: [luevy f6nsz]\n" + 16996 "", 16997 ExpectedEstimates: "Table\n" + 16998 " ├─ name: ARLV5\n" + 16999 " └─ columns: [luevy f6nsz]\n" + 17000 "", 17001 ExpectedAnalysis: "Table\n" + 17002 " ├─ name: ARLV5\n" + 17003 " └─ columns: [luevy f6nsz]\n" + 17004 "", 17005 }, 17006 { 17007 Query: ` 17008 SELECT id, DZLIM FROM IIISV`, 17009 ExpectedPlan: "ProcessTable\n" + 17010 " └─ Table\n" + 17011 " ├─ name: IIISV\n" + 17012 " └─ columns: [id dzlim]\n" + 17013 "", 17014 ExpectedEstimates: "Table\n" + 17015 " ├─ name: IIISV\n" + 17016 " └─ columns: [id dzlim]\n" + 17017 "", 17018 ExpectedAnalysis: "Table\n" + 17019 " ├─ name: IIISV\n" + 17020 " └─ columns: [id dzlim]\n" + 17021 "", 17022 }, 17023 { 17024 Query: ` 17025 SELECT 17026 TVQG4.TW55N 17027 AS FJVD7, 17028 LSM32.TW55N 17029 AS KBXXJ, 17030 sn.NUMK2 17031 AS NUMK2, 17032 CASE 17033 WHEN it.DZLIM IS NULL 17034 THEN "N/A" 17035 ELSE it.DZLIM 17036 END 17037 AS TP6BK, 17038 sn.ECDKM 17039 AS ECDKM, 17040 sn.KBO7R 17041 AS KBO7R, 17042 CASE 17043 WHEN sn.YKSSU IS NULL 17044 THEN "N/A" 17045 ELSE sn.YKSSU 17046 END 17047 AS RQI4M, 17048 CASE 17049 WHEN sn.FHCYT IS NULL 17050 THEN "N/A" 17051 ELSE sn.FHCYT 17052 END 17053 AS RNVLS, 17054 sn.LETOE 17055 AS LETOE 17056 FROM 17057 NOXN3 sn 17058 LEFT JOIN 17059 E2I7U TVQG4 17060 ON sn.BRQP2 = TVQG4.id 17061 LEFT JOIN 17062 E2I7U LSM32 17063 ON sn.FFTBJ = LSM32.id 17064 LEFT JOIN 17065 FEVH4 it 17066 ON sn.A7XO2 = it.id 17067 ORDER BY sn.id ASC`, 17068 ExpectedPlan: "Project\n" + 17069 " ├─ columns: [tvqg4.TW55N:13!null as FJVD7, lsm32.TW55N:30!null as KBXXJ, sn.NUMK2:6!null as NUMK2, CASE WHEN it.DZLIM:45!null IS NULL THEN N/A (longtext) ELSE it.DZLIM:45!null END as TP6BK, sn.ECDKM:5 as ECDKM, sn.KBO7R:4!null as KBO7R, CASE WHEN sn.YKSSU:8 IS NULL THEN N/A (longtext) ELSE sn.YKSSU:8 END as RQI4M, CASE WHEN sn.FHCYT:9 IS NULL THEN N/A (longtext) ELSE sn.FHCYT:9 END as RNVLS, sn.LETOE:7!null as LETOE]\n" + 17070 " └─ Sort(sn.id:0!null ASC nullsFirst)\n" + 17071 " └─ Project\n" + 17072 " ├─ columns: [sn.id:0!null, sn.BRQP2:1!null, sn.FFTBJ:2!null, sn.A7XO2:3, sn.KBO7R:4!null, sn.ECDKM:5, sn.NUMK2:6!null, sn.LETOE:7!null, sn.YKSSU:8, sn.FHCYT:9, tvqg4.id:10!null, tvqg4.DKCAJ:11!null, tvqg4.KNG7T:12, tvqg4.TW55N:13!null, tvqg4.QRQXW:14!null, tvqg4.ECXAJ:15!null, tvqg4.FGG57:16, tvqg4.ZH72S:17, tvqg4.FSK67:18!null, tvqg4.XQDYT:19!null, tvqg4.TCE7A:20, tvqg4.IWV2H:21, tvqg4.HPCMS:22!null, tvqg4.N5CC2:23, tvqg4.FHCYT:24, tvqg4.ETAQ7:25, tvqg4.A75X7:26, lsm32.id:27!null, lsm32.DKCAJ:28!null, lsm32.KNG7T:29, lsm32.TW55N:30!null, lsm32.QRQXW:31!null, lsm32.ECXAJ:32!null, lsm32.FGG57:33, lsm32.ZH72S:34, lsm32.FSK67:35!null, lsm32.XQDYT:36!null, lsm32.TCE7A:37, lsm32.IWV2H:38, lsm32.HPCMS:39!null, lsm32.N5CC2:40, lsm32.FHCYT:41, lsm32.ETAQ7:42, lsm32.A75X7:43, it.id:44!null, it.DZLIM:45!null, it.F3YUE:46, tvqg4.TW55N:13!null as FJVD7, lsm32.TW55N:30!null as KBXXJ, sn.NUMK2:6!null as NUMK2, CASE WHEN it.DZLIM:45!null IS NULL THEN N/A (longtext) ELSE it.DZLIM:45!null END as TP6BK, sn.ECDKM:5 as ECDKM, sn.KBO7R:4!null as KBO7R, CASE WHEN sn.YKSSU:8 IS NULL THEN N/A (longtext) ELSE sn.YKSSU:8 END as RQI4M, CASE WHEN sn.FHCYT:9 IS NULL THEN N/A (longtext) ELSE sn.FHCYT:9 END as RNVLS, sn.LETOE:7!null as LETOE]\n" + 17073 " └─ LeftOuterLookupJoin\n" + 17074 " ├─ LeftOuterLookupJoin\n" + 17075 " │ ├─ LeftOuterMergeJoin\n" + 17076 " │ │ ├─ cmp: Eq\n" + 17077 " │ │ │ ├─ sn.BRQP2:1!null\n" + 17078 " │ │ │ └─ tvqg4.id:10!null\n" + 17079 " │ │ ├─ TableAlias(sn)\n" + 17080 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 17081 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 17082 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 17083 " │ │ │ ├─ colSet: (1-10)\n" + 17084 " │ │ │ ├─ tableId: 1\n" + 17085 " │ │ │ └─ Table\n" + 17086 " │ │ │ ├─ name: NOXN3\n" + 17087 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17088 " │ │ └─ TableAlias(tvqg4)\n" + 17089 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 17090 " │ │ ├─ index: [E2I7U.id]\n" + 17091 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 17092 " │ │ ├─ colSet: (11-27)\n" + 17093 " │ │ ├─ tableId: 2\n" + 17094 " │ │ └─ Table\n" + 17095 " │ │ ├─ name: E2I7U\n" + 17096 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17097 " │ └─ TableAlias(lsm32)\n" + 17098 " │ └─ IndexedTableAccess(E2I7U)\n" + 17099 " │ ├─ index: [E2I7U.id]\n" + 17100 " │ ├─ keys: [sn.FFTBJ:2!null]\n" + 17101 " │ ├─ colSet: (28-44)\n" + 17102 " │ ├─ tableId: 3\n" + 17103 " │ └─ Table\n" + 17104 " │ ├─ name: E2I7U\n" + 17105 " │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17106 " └─ TableAlias(it)\n" + 17107 " └─ IndexedTableAccess(FEVH4)\n" + 17108 " ├─ index: [FEVH4.id]\n" + 17109 " ├─ keys: [sn.A7XO2:3]\n" + 17110 " ├─ colSet: (45-47)\n" + 17111 " ├─ tableId: 4\n" + 17112 " └─ Table\n" + 17113 " ├─ name: FEVH4\n" + 17114 " └─ columns: [id dzlim f3yue]\n" + 17115 "", 17116 ExpectedEstimates: "Project\n" + 17117 " ├─ columns: [tvqg4.TW55N as FJVD7, lsm32.TW55N as KBXXJ, sn.NUMK2 as NUMK2, CASE WHEN it.DZLIM IS NULL THEN 'N/A' ELSE it.DZLIM END as TP6BK, sn.ECDKM as ECDKM, sn.KBO7R as KBO7R, CASE WHEN sn.YKSSU IS NULL THEN 'N/A' ELSE sn.YKSSU END as RQI4M, CASE WHEN sn.FHCYT IS NULL THEN 'N/A' ELSE sn.FHCYT END as RNVLS, sn.LETOE as LETOE]\n" + 17118 " └─ Sort(sn.id ASC)\n" + 17119 " └─ Project\n" + 17120 " ├─ columns: [sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, tvqg4.id, tvqg4.DKCAJ, tvqg4.KNG7T, tvqg4.TW55N, tvqg4.QRQXW, tvqg4.ECXAJ, tvqg4.FGG57, tvqg4.ZH72S, tvqg4.FSK67, tvqg4.XQDYT, tvqg4.TCE7A, tvqg4.IWV2H, tvqg4.HPCMS, tvqg4.N5CC2, tvqg4.FHCYT, tvqg4.ETAQ7, tvqg4.A75X7, lsm32.id, lsm32.DKCAJ, lsm32.KNG7T, lsm32.TW55N, lsm32.QRQXW, lsm32.ECXAJ, lsm32.FGG57, lsm32.ZH72S, lsm32.FSK67, lsm32.XQDYT, lsm32.TCE7A, lsm32.IWV2H, lsm32.HPCMS, lsm32.N5CC2, lsm32.FHCYT, lsm32.ETAQ7, lsm32.A75X7, it.id, it.DZLIM, it.F3YUE, tvqg4.TW55N as FJVD7, lsm32.TW55N as KBXXJ, sn.NUMK2 as NUMK2, CASE WHEN it.DZLIM IS NULL THEN 'N/A' ELSE it.DZLIM END as TP6BK, sn.ECDKM as ECDKM, sn.KBO7R as KBO7R, CASE WHEN sn.YKSSU IS NULL THEN 'N/A' ELSE sn.YKSSU END as RQI4M, CASE WHEN sn.FHCYT IS NULL THEN 'N/A' ELSE sn.FHCYT END as RNVLS, sn.LETOE as LETOE]\n" + 17121 " └─ LeftOuterLookupJoin\n" + 17122 " ├─ LeftOuterLookupJoin\n" + 17123 " │ ├─ LeftOuterMergeJoin\n" + 17124 " │ │ ├─ cmp: (sn.BRQP2 = tvqg4.id)\n" + 17125 " │ │ ├─ TableAlias(sn)\n" + 17126 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 17127 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 17128 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 17129 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17130 " │ │ └─ TableAlias(tvqg4)\n" + 17131 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 17132 " │ │ ├─ index: [E2I7U.id]\n" + 17133 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 17134 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17135 " │ └─ TableAlias(lsm32)\n" + 17136 " │ └─ IndexedTableAccess(E2I7U)\n" + 17137 " │ ├─ index: [E2I7U.id]\n" + 17138 " │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17139 " │ └─ keys: sn.FFTBJ\n" + 17140 " └─ TableAlias(it)\n" + 17141 " └─ IndexedTableAccess(FEVH4)\n" + 17142 " ├─ index: [FEVH4.id]\n" + 17143 " ├─ columns: [id dzlim f3yue]\n" + 17144 " └─ keys: sn.A7XO2\n" + 17145 "", 17146 ExpectedAnalysis: "Project\n" + 17147 " ├─ columns: [tvqg4.TW55N as FJVD7, lsm32.TW55N as KBXXJ, sn.NUMK2 as NUMK2, CASE WHEN it.DZLIM IS NULL THEN 'N/A' ELSE it.DZLIM END as TP6BK, sn.ECDKM as ECDKM, sn.KBO7R as KBO7R, CASE WHEN sn.YKSSU IS NULL THEN 'N/A' ELSE sn.YKSSU END as RQI4M, CASE WHEN sn.FHCYT IS NULL THEN 'N/A' ELSE sn.FHCYT END as RNVLS, sn.LETOE as LETOE]\n" + 17148 " └─ Sort(sn.id ASC)\n" + 17149 " └─ Project\n" + 17150 " ├─ columns: [sn.id, sn.BRQP2, sn.FFTBJ, sn.A7XO2, sn.KBO7R, sn.ECDKM, sn.NUMK2, sn.LETOE, sn.YKSSU, sn.FHCYT, tvqg4.id, tvqg4.DKCAJ, tvqg4.KNG7T, tvqg4.TW55N, tvqg4.QRQXW, tvqg4.ECXAJ, tvqg4.FGG57, tvqg4.ZH72S, tvqg4.FSK67, tvqg4.XQDYT, tvqg4.TCE7A, tvqg4.IWV2H, tvqg4.HPCMS, tvqg4.N5CC2, tvqg4.FHCYT, tvqg4.ETAQ7, tvqg4.A75X7, lsm32.id, lsm32.DKCAJ, lsm32.KNG7T, lsm32.TW55N, lsm32.QRQXW, lsm32.ECXAJ, lsm32.FGG57, lsm32.ZH72S, lsm32.FSK67, lsm32.XQDYT, lsm32.TCE7A, lsm32.IWV2H, lsm32.HPCMS, lsm32.N5CC2, lsm32.FHCYT, lsm32.ETAQ7, lsm32.A75X7, it.id, it.DZLIM, it.F3YUE, tvqg4.TW55N as FJVD7, lsm32.TW55N as KBXXJ, sn.NUMK2 as NUMK2, CASE WHEN it.DZLIM IS NULL THEN 'N/A' ELSE it.DZLIM END as TP6BK, sn.ECDKM as ECDKM, sn.KBO7R as KBO7R, CASE WHEN sn.YKSSU IS NULL THEN 'N/A' ELSE sn.YKSSU END as RQI4M, CASE WHEN sn.FHCYT IS NULL THEN 'N/A' ELSE sn.FHCYT END as RNVLS, sn.LETOE as LETOE]\n" + 17151 " └─ LeftOuterLookupJoin\n" + 17152 " ├─ LeftOuterLookupJoin\n" + 17153 " │ ├─ LeftOuterMergeJoin\n" + 17154 " │ │ ├─ cmp: (sn.BRQP2 = tvqg4.id)\n" + 17155 " │ │ ├─ TableAlias(sn)\n" + 17156 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 17157 " │ │ │ ├─ index: [NOXN3.BRQP2]\n" + 17158 " │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 17159 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17160 " │ │ └─ TableAlias(tvqg4)\n" + 17161 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 17162 " │ │ ├─ index: [E2I7U.id]\n" + 17163 " │ │ ├─ filters: [{[NULL, ∞)}]\n" + 17164 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17165 " │ └─ TableAlias(lsm32)\n" + 17166 " │ └─ IndexedTableAccess(E2I7U)\n" + 17167 " │ ├─ index: [E2I7U.id]\n" + 17168 " │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17169 " │ └─ keys: sn.FFTBJ\n" + 17170 " └─ TableAlias(it)\n" + 17171 " └─ IndexedTableAccess(FEVH4)\n" + 17172 " ├─ index: [FEVH4.id]\n" + 17173 " ├─ columns: [id dzlim f3yue]\n" + 17174 " └─ keys: sn.A7XO2\n" + 17175 "", 17176 }, 17177 { 17178 Query: ` 17179 SELECT 17180 KBO7R 17181 FROM 17182 NOXN3 17183 ORDER BY id ASC`, 17184 ExpectedPlan: "Project\n" + 17185 " ├─ columns: [noxn3.KBO7R:1!null]\n" + 17186 " └─ IndexedTableAccess(NOXN3)\n" + 17187 " ├─ index: [NOXN3.id]\n" + 17188 " ├─ static: [{[NULL, ∞)}]\n" + 17189 " ├─ colSet: (1-10)\n" + 17190 " ├─ tableId: 1\n" + 17191 " └─ Table\n" + 17192 " ├─ name: NOXN3\n" + 17193 " └─ columns: [id kbo7r]\n" + 17194 "", 17195 ExpectedEstimates: "Project\n" + 17196 " ├─ columns: [noxn3.KBO7R]\n" + 17197 " └─ IndexedTableAccess(NOXN3)\n" + 17198 " ├─ index: [NOXN3.id]\n" + 17199 " ├─ filters: [{[NULL, ∞)}]\n" + 17200 " └─ columns: [id kbo7r]\n" + 17201 "", 17202 ExpectedAnalysis: "Project\n" + 17203 " ├─ columns: [noxn3.KBO7R]\n" + 17204 " └─ IndexedTableAccess(NOXN3)\n" + 17205 " ├─ index: [NOXN3.id]\n" + 17206 " ├─ filters: [{[NULL, ∞)}]\n" + 17207 " └─ columns: [id kbo7r]\n" + 17208 "", 17209 }, 17210 { 17211 Query: ` 17212 SELECT 17213 SDLLR.TW55N 17214 AS FZX4Y, 17215 JGT2H.LETOE 17216 AS QWTOI, 17217 RIIW6.TW55N 17218 AS PDX5Y, 17219 AYFCD.NUMK2 17220 AS V45YB , 17221 AYFCD.LETOE 17222 AS DAGQN, 17223 FA75Y.TW55N 17224 AS SFQTS, 17225 rn.HVHRZ 17226 AS HVHRZ, 17227 CASE 17228 WHEN rn.YKSSU IS NULL 17229 THEN "N/A" 17230 ELSE rn.YKSSU 17231 END 17232 AS RQI4M, 17233 CASE 17234 WHEN rn.FHCYT IS NULL 17235 THEN "N/A" 17236 ELSE rn.FHCYT 17237 END 17238 AS RNVLS 17239 FROM 17240 QYWQD rn 17241 LEFT JOIN 17242 NOXN3 JGT2H 17243 ON rn.WNUNU = JGT2H.id 17244 LEFT JOIN 17245 NOXN3 AYFCD 17246 ON rn.HHVLX = AYFCD.id 17247 LEFT JOIN 17248 E2I7U SDLLR 17249 ON JGT2H.BRQP2 = SDLLR.id 17250 LEFT JOIN 17251 E2I7U RIIW6 17252 ON JGT2H.FFTBJ = RIIW6.id 17253 LEFT JOIN 17254 E2I7U FA75Y 17255 ON AYFCD.FFTBJ = FA75Y.id 17256 ORDER BY rn.id ASC`, 17257 ExpectedPlan: "Project\n" + 17258 " ├─ columns: [sdllr.TW55N:29!null as FZX4Y, jgt2h.LETOE:13!null as QWTOI, riiw6.TW55N:46!null as PDX5Y, ayfcd.NUMK2:22!null as V45YB, ayfcd.LETOE:23!null as DAGQN, fa75y.TW55N:63!null as SFQTS, rn.HVHRZ:3!null as HVHRZ, CASE WHEN rn.YKSSU:4 IS NULL THEN N/A (longtext) ELSE rn.YKSSU:4 END as RQI4M, CASE WHEN rn.FHCYT:5 IS NULL THEN N/A (longtext) ELSE rn.FHCYT:5 END as RNVLS]\n" + 17259 " └─ Sort(rn.id:0!null ASC nullsFirst)\n" + 17260 " └─ Project\n" + 17261 " ├─ columns: [rn.id:0!null, rn.WNUNU:1!null, rn.HHVLX:2!null, rn.HVHRZ:3!null, rn.YKSSU:4, rn.FHCYT:5, jgt2h.id:6!null, jgt2h.BRQP2:7!null, jgt2h.FFTBJ:8!null, jgt2h.A7XO2:9, jgt2h.KBO7R:10!null, jgt2h.ECDKM:11, jgt2h.NUMK2:12!null, jgt2h.LETOE:13!null, jgt2h.YKSSU:14, jgt2h.FHCYT:15, ayfcd.id:16!null, ayfcd.BRQP2:17!null, ayfcd.FFTBJ:18!null, ayfcd.A7XO2:19, ayfcd.KBO7R:20!null, ayfcd.ECDKM:21, ayfcd.NUMK2:22!null, ayfcd.LETOE:23!null, ayfcd.YKSSU:24, ayfcd.FHCYT:25, sdllr.id:26!null, sdllr.DKCAJ:27!null, sdllr.KNG7T:28, sdllr.TW55N:29!null, sdllr.QRQXW:30!null, sdllr.ECXAJ:31!null, sdllr.FGG57:32, sdllr.ZH72S:33, sdllr.FSK67:34!null, sdllr.XQDYT:35!null, sdllr.TCE7A:36, sdllr.IWV2H:37, sdllr.HPCMS:38!null, sdllr.N5CC2:39, sdllr.FHCYT:40, sdllr.ETAQ7:41, sdllr.A75X7:42, riiw6.id:43!null, riiw6.DKCAJ:44!null, riiw6.KNG7T:45, riiw6.TW55N:46!null, riiw6.QRQXW:47!null, riiw6.ECXAJ:48!null, riiw6.FGG57:49, riiw6.ZH72S:50, riiw6.FSK67:51!null, riiw6.XQDYT:52!null, riiw6.TCE7A:53, riiw6.IWV2H:54, riiw6.HPCMS:55!null, riiw6.N5CC2:56, riiw6.FHCYT:57, riiw6.ETAQ7:58, riiw6.A75X7:59, fa75y.id:60!null, fa75y.DKCAJ:61!null, fa75y.KNG7T:62, fa75y.TW55N:63!null, fa75y.QRQXW:64!null, fa75y.ECXAJ:65!null, fa75y.FGG57:66, fa75y.ZH72S:67, fa75y.FSK67:68!null, fa75y.XQDYT:69!null, fa75y.TCE7A:70, fa75y.IWV2H:71, fa75y.HPCMS:72!null, fa75y.N5CC2:73, fa75y.FHCYT:74, fa75y.ETAQ7:75, fa75y.A75X7:76, sdllr.TW55N:29!null as FZX4Y, jgt2h.LETOE:13!null as QWTOI, riiw6.TW55N:46!null as PDX5Y, ayfcd.NUMK2:22!null as V45YB, ayfcd.LETOE:23!null as DAGQN, fa75y.TW55N:63!null as SFQTS, rn.HVHRZ:3!null as HVHRZ, CASE WHEN rn.YKSSU:4 IS NULL THEN N/A (longtext) ELSE rn.YKSSU:4 END as RQI4M, CASE WHEN rn.FHCYT:5 IS NULL THEN N/A (longtext) ELSE rn.FHCYT:5 END as RNVLS]\n" + 17262 " └─ LeftOuterLookupJoin\n" + 17263 " ├─ LeftOuterLookupJoin\n" + 17264 " │ ├─ LeftOuterLookupJoin\n" + 17265 " │ │ ├─ LeftOuterLookupJoin\n" + 17266 " │ │ │ ├─ LeftOuterMergeJoin\n" + 17267 " │ │ │ │ ├─ cmp: Eq\n" + 17268 " │ │ │ │ │ ├─ rn.WNUNU:1!null\n" + 17269 " │ │ │ │ │ └─ jgt2h.id:6!null\n" + 17270 " │ │ │ │ ├─ TableAlias(rn)\n" + 17271 " │ │ │ │ │ └─ IndexedTableAccess(QYWQD)\n" + 17272 " │ │ │ │ │ ├─ index: [QYWQD.WNUNU]\n" + 17273 " │ │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 17274 " │ │ │ │ │ ├─ colSet: (1-6)\n" + 17275 " │ │ │ │ │ ├─ tableId: 1\n" + 17276 " │ │ │ │ │ └─ Table\n" + 17277 " │ │ │ │ │ ├─ name: QYWQD\n" + 17278 " │ │ │ │ │ └─ columns: [id wnunu hhvlx hvhrz ykssu fhcyt]\n" + 17279 " │ │ │ │ └─ TableAlias(jgt2h)\n" + 17280 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 17281 " │ │ │ │ ├─ index: [NOXN3.id]\n" + 17282 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 17283 " │ │ │ │ ├─ colSet: (7-16)\n" + 17284 " │ │ │ │ ├─ tableId: 2\n" + 17285 " │ │ │ │ └─ Table\n" + 17286 " │ │ │ │ ├─ name: NOXN3\n" + 17287 " │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17288 " │ │ │ └─ TableAlias(ayfcd)\n" + 17289 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 17290 " │ │ │ ├─ index: [NOXN3.id]\n" + 17291 " │ │ │ ├─ keys: [rn.HHVLX:2!null]\n" + 17292 " │ │ │ ├─ colSet: (17-26)\n" + 17293 " │ │ │ ├─ tableId: 3\n" + 17294 " │ │ │ └─ Table\n" + 17295 " │ │ │ ├─ name: NOXN3\n" + 17296 " │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17297 " │ │ └─ TableAlias(sdllr)\n" + 17298 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 17299 " │ │ ├─ index: [E2I7U.id]\n" + 17300 " │ │ ├─ keys: [jgt2h.BRQP2:7!null]\n" + 17301 " │ │ ├─ colSet: (27-43)\n" + 17302 " │ │ ├─ tableId: 4\n" + 17303 " │ │ └─ Table\n" + 17304 " │ │ ├─ name: E2I7U\n" + 17305 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17306 " │ └─ TableAlias(riiw6)\n" + 17307 " │ └─ IndexedTableAccess(E2I7U)\n" + 17308 " │ ├─ index: [E2I7U.id]\n" + 17309 " │ ├─ keys: [jgt2h.FFTBJ:8!null]\n" + 17310 " │ ├─ colSet: (44-60)\n" + 17311 " │ ├─ tableId: 5\n" + 17312 " │ └─ Table\n" + 17313 " │ ├─ name: E2I7U\n" + 17314 " │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17315 " └─ TableAlias(fa75y)\n" + 17316 " └─ IndexedTableAccess(E2I7U)\n" + 17317 " ├─ index: [E2I7U.id]\n" + 17318 " ├─ keys: [ayfcd.FFTBJ:18!null]\n" + 17319 " ├─ colSet: (61-77)\n" + 17320 " ├─ tableId: 6\n" + 17321 " └─ Table\n" + 17322 " ├─ name: E2I7U\n" + 17323 " └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17324 "", 17325 ExpectedEstimates: "Project\n" + 17326 " ├─ columns: [sdllr.TW55N as FZX4Y, jgt2h.LETOE as QWTOI, riiw6.TW55N as PDX5Y, ayfcd.NUMK2 as V45YB, ayfcd.LETOE as DAGQN, fa75y.TW55N as SFQTS, rn.HVHRZ as HVHRZ, CASE WHEN rn.YKSSU IS NULL THEN 'N/A' ELSE rn.YKSSU END as RQI4M, CASE WHEN rn.FHCYT IS NULL THEN 'N/A' ELSE rn.FHCYT END as RNVLS]\n" + 17327 " └─ Sort(rn.id ASC)\n" + 17328 " └─ Project\n" + 17329 " ├─ columns: [rn.id, rn.WNUNU, rn.HHVLX, rn.HVHRZ, rn.YKSSU, rn.FHCYT, jgt2h.id, jgt2h.BRQP2, jgt2h.FFTBJ, jgt2h.A7XO2, jgt2h.KBO7R, jgt2h.ECDKM, jgt2h.NUMK2, jgt2h.LETOE, jgt2h.YKSSU, jgt2h.FHCYT, ayfcd.id, ayfcd.BRQP2, ayfcd.FFTBJ, ayfcd.A7XO2, ayfcd.KBO7R, ayfcd.ECDKM, ayfcd.NUMK2, ayfcd.LETOE, ayfcd.YKSSU, ayfcd.FHCYT, sdllr.id, sdllr.DKCAJ, sdllr.KNG7T, sdllr.TW55N, sdllr.QRQXW, sdllr.ECXAJ, sdllr.FGG57, sdllr.ZH72S, sdllr.FSK67, sdllr.XQDYT, sdllr.TCE7A, sdllr.IWV2H, sdllr.HPCMS, sdllr.N5CC2, sdllr.FHCYT, sdllr.ETAQ7, sdllr.A75X7, riiw6.id, riiw6.DKCAJ, riiw6.KNG7T, riiw6.TW55N, riiw6.QRQXW, riiw6.ECXAJ, riiw6.FGG57, riiw6.ZH72S, riiw6.FSK67, riiw6.XQDYT, riiw6.TCE7A, riiw6.IWV2H, riiw6.HPCMS, riiw6.N5CC2, riiw6.FHCYT, riiw6.ETAQ7, riiw6.A75X7, fa75y.id, fa75y.DKCAJ, fa75y.KNG7T, fa75y.TW55N, fa75y.QRQXW, fa75y.ECXAJ, fa75y.FGG57, fa75y.ZH72S, fa75y.FSK67, fa75y.XQDYT, fa75y.TCE7A, fa75y.IWV2H, fa75y.HPCMS, fa75y.N5CC2, fa75y.FHCYT, fa75y.ETAQ7, fa75y.A75X7, sdllr.TW55N as FZX4Y, jgt2h.LETOE as QWTOI, riiw6.TW55N as PDX5Y, ayfcd.NUMK2 as V45YB, ayfcd.LETOE as DAGQN, fa75y.TW55N as SFQTS, rn.HVHRZ as HVHRZ, CASE WHEN rn.YKSSU IS NULL THEN 'N/A' ELSE rn.YKSSU END as RQI4M, CASE WHEN rn.FHCYT IS NULL THEN 'N/A' ELSE rn.FHCYT END as RNVLS]\n" + 17330 " └─ LeftOuterLookupJoin\n" + 17331 " ├─ LeftOuterLookupJoin\n" + 17332 " │ ├─ LeftOuterLookupJoin\n" + 17333 " │ │ ├─ LeftOuterLookupJoin\n" + 17334 " │ │ │ ├─ LeftOuterMergeJoin\n" + 17335 " │ │ │ │ ├─ cmp: (rn.WNUNU = jgt2h.id)\n" + 17336 " │ │ │ │ ├─ TableAlias(rn)\n" + 17337 " │ │ │ │ │ └─ IndexedTableAccess(QYWQD)\n" + 17338 " │ │ │ │ │ ├─ index: [QYWQD.WNUNU]\n" + 17339 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 17340 " │ │ │ │ │ └─ columns: [id wnunu hhvlx hvhrz ykssu fhcyt]\n" + 17341 " │ │ │ │ └─ TableAlias(jgt2h)\n" + 17342 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 17343 " │ │ │ │ ├─ index: [NOXN3.id]\n" + 17344 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 17345 " │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17346 " │ │ │ └─ TableAlias(ayfcd)\n" + 17347 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 17348 " │ │ │ ├─ index: [NOXN3.id]\n" + 17349 " │ │ │ ├─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17350 " │ │ │ └─ keys: rn.HHVLX\n" + 17351 " │ │ └─ TableAlias(sdllr)\n" + 17352 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 17353 " │ │ ├─ index: [E2I7U.id]\n" + 17354 " │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17355 " │ │ └─ keys: jgt2h.BRQP2\n" + 17356 " │ └─ TableAlias(riiw6)\n" + 17357 " │ └─ IndexedTableAccess(E2I7U)\n" + 17358 " │ ├─ index: [E2I7U.id]\n" + 17359 " │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17360 " │ └─ keys: jgt2h.FFTBJ\n" + 17361 " └─ TableAlias(fa75y)\n" + 17362 " └─ IndexedTableAccess(E2I7U)\n" + 17363 " ├─ index: [E2I7U.id]\n" + 17364 " ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17365 " └─ keys: ayfcd.FFTBJ\n" + 17366 "", 17367 ExpectedAnalysis: "Project\n" + 17368 " ├─ columns: [sdllr.TW55N as FZX4Y, jgt2h.LETOE as QWTOI, riiw6.TW55N as PDX5Y, ayfcd.NUMK2 as V45YB, ayfcd.LETOE as DAGQN, fa75y.TW55N as SFQTS, rn.HVHRZ as HVHRZ, CASE WHEN rn.YKSSU IS NULL THEN 'N/A' ELSE rn.YKSSU END as RQI4M, CASE WHEN rn.FHCYT IS NULL THEN 'N/A' ELSE rn.FHCYT END as RNVLS]\n" + 17369 " └─ Sort(rn.id ASC)\n" + 17370 " └─ Project\n" + 17371 " ├─ columns: [rn.id, rn.WNUNU, rn.HHVLX, rn.HVHRZ, rn.YKSSU, rn.FHCYT, jgt2h.id, jgt2h.BRQP2, jgt2h.FFTBJ, jgt2h.A7XO2, jgt2h.KBO7R, jgt2h.ECDKM, jgt2h.NUMK2, jgt2h.LETOE, jgt2h.YKSSU, jgt2h.FHCYT, ayfcd.id, ayfcd.BRQP2, ayfcd.FFTBJ, ayfcd.A7XO2, ayfcd.KBO7R, ayfcd.ECDKM, ayfcd.NUMK2, ayfcd.LETOE, ayfcd.YKSSU, ayfcd.FHCYT, sdllr.id, sdllr.DKCAJ, sdllr.KNG7T, sdllr.TW55N, sdllr.QRQXW, sdllr.ECXAJ, sdllr.FGG57, sdllr.ZH72S, sdllr.FSK67, sdllr.XQDYT, sdllr.TCE7A, sdllr.IWV2H, sdllr.HPCMS, sdllr.N5CC2, sdllr.FHCYT, sdllr.ETAQ7, sdllr.A75X7, riiw6.id, riiw6.DKCAJ, riiw6.KNG7T, riiw6.TW55N, riiw6.QRQXW, riiw6.ECXAJ, riiw6.FGG57, riiw6.ZH72S, riiw6.FSK67, riiw6.XQDYT, riiw6.TCE7A, riiw6.IWV2H, riiw6.HPCMS, riiw6.N5CC2, riiw6.FHCYT, riiw6.ETAQ7, riiw6.A75X7, fa75y.id, fa75y.DKCAJ, fa75y.KNG7T, fa75y.TW55N, fa75y.QRQXW, fa75y.ECXAJ, fa75y.FGG57, fa75y.ZH72S, fa75y.FSK67, fa75y.XQDYT, fa75y.TCE7A, fa75y.IWV2H, fa75y.HPCMS, fa75y.N5CC2, fa75y.FHCYT, fa75y.ETAQ7, fa75y.A75X7, sdllr.TW55N as FZX4Y, jgt2h.LETOE as QWTOI, riiw6.TW55N as PDX5Y, ayfcd.NUMK2 as V45YB, ayfcd.LETOE as DAGQN, fa75y.TW55N as SFQTS, rn.HVHRZ as HVHRZ, CASE WHEN rn.YKSSU IS NULL THEN 'N/A' ELSE rn.YKSSU END as RQI4M, CASE WHEN rn.FHCYT IS NULL THEN 'N/A' ELSE rn.FHCYT END as RNVLS]\n" + 17372 " └─ LeftOuterLookupJoin\n" + 17373 " ├─ LeftOuterLookupJoin\n" + 17374 " │ ├─ LeftOuterLookupJoin\n" + 17375 " │ │ ├─ LeftOuterLookupJoin\n" + 17376 " │ │ │ ├─ LeftOuterMergeJoin\n" + 17377 " │ │ │ │ ├─ cmp: (rn.WNUNU = jgt2h.id)\n" + 17378 " │ │ │ │ ├─ TableAlias(rn)\n" + 17379 " │ │ │ │ │ └─ IndexedTableAccess(QYWQD)\n" + 17380 " │ │ │ │ │ ├─ index: [QYWQD.WNUNU]\n" + 17381 " │ │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 17382 " │ │ │ │ │ └─ columns: [id wnunu hhvlx hvhrz ykssu fhcyt]\n" + 17383 " │ │ │ │ └─ TableAlias(jgt2h)\n" + 17384 " │ │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 17385 " │ │ │ │ ├─ index: [NOXN3.id]\n" + 17386 " │ │ │ │ ├─ filters: [{[NULL, ∞)}]\n" + 17387 " │ │ │ │ └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17388 " │ │ │ └─ TableAlias(ayfcd)\n" + 17389 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 17390 " │ │ │ ├─ index: [NOXN3.id]\n" + 17391 " │ │ │ ├─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17392 " │ │ │ └─ keys: rn.HHVLX\n" + 17393 " │ │ └─ TableAlias(sdllr)\n" + 17394 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 17395 " │ │ ├─ index: [E2I7U.id]\n" + 17396 " │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17397 " │ │ └─ keys: jgt2h.BRQP2\n" + 17398 " │ └─ TableAlias(riiw6)\n" + 17399 " │ └─ IndexedTableAccess(E2I7U)\n" + 17400 " │ ├─ index: [E2I7U.id]\n" + 17401 " │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17402 " │ └─ keys: jgt2h.FFTBJ\n" + 17403 " └─ TableAlias(fa75y)\n" + 17404 " └─ IndexedTableAccess(E2I7U)\n" + 17405 " ├─ index: [E2I7U.id]\n" + 17406 " ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17407 " └─ keys: ayfcd.FFTBJ\n" + 17408 "", 17409 }, 17410 { 17411 Query: ` 17412 SELECT 17413 QRQXW 17414 FROM 17415 E2I7U 17416 ORDER BY id ASC`, 17417 ExpectedPlan: "Project\n" + 17418 " ├─ columns: [e2i7u.QRQXW:1!null]\n" + 17419 " └─ IndexedTableAccess(E2I7U)\n" + 17420 " ├─ index: [E2I7U.id]\n" + 17421 " ├─ static: [{[NULL, ∞)}]\n" + 17422 " ├─ colSet: (1-17)\n" + 17423 " ├─ tableId: 1\n" + 17424 " └─ Table\n" + 17425 " ├─ name: E2I7U\n" + 17426 " └─ columns: [id qrqxw]\n" + 17427 "", 17428 ExpectedEstimates: "Project\n" + 17429 " ├─ columns: [e2i7u.QRQXW]\n" + 17430 " └─ IndexedTableAccess(E2I7U)\n" + 17431 " ├─ index: [E2I7U.id]\n" + 17432 " ├─ filters: [{[NULL, ∞)}]\n" + 17433 " └─ columns: [id qrqxw]\n" + 17434 "", 17435 ExpectedAnalysis: "Project\n" + 17436 " ├─ columns: [e2i7u.QRQXW]\n" + 17437 " └─ IndexedTableAccess(E2I7U)\n" + 17438 " ├─ index: [E2I7U.id]\n" + 17439 " ├─ filters: [{[NULL, ∞)}]\n" + 17440 " └─ columns: [id qrqxw]\n" + 17441 "", 17442 }, 17443 { 17444 Query: ` 17445 SELECT 17446 sn.Y3IOU, 17447 sn.ECDKM 17448 FROM 17449 (SELECT 17450 ROW_NUMBER() OVER (ORDER BY id ASC) Y3IOU, 17451 id, 17452 NUMK2, 17453 ECDKM 17454 FROM 17455 NOXN3) sn 17456 WHERE NUMK2 = 4 17457 ORDER BY id ASC`, 17458 ExpectedPlan: "Project\n" + 17459 " ├─ columns: [sn.Y3IOU:0!null, sn.ECDKM:3]\n" + 17460 " └─ Sort(sn.id:1!null ASC nullsFirst)\n" + 17461 " └─ SubqueryAlias\n" + 17462 " ├─ name: sn\n" + 17463 " ├─ outerVisibility: false\n" + 17464 " ├─ isLateral: false\n" + 17465 " ├─ cacheable: true\n" + 17466 " ├─ colSet: (13-16)\n" + 17467 " ├─ tableId: 2\n" + 17468 " └─ Filter\n" + 17469 " ├─ Eq\n" + 17470 " │ ├─ noxn3.NUMK2:2!null\n" + 17471 " │ └─ 4 (tinyint)\n" + 17472 " └─ Project\n" + 17473 " ├─ columns: [row_number() over ( order by noxn3.id asc):0!null as Y3IOU, noxn3.id:1!null, noxn3.NUMK2:2!null, noxn3.ECDKM:3]\n" + 17474 " └─ Window\n" + 17475 " ├─ row_number() over ( order by noxn3.id ASC)\n" + 17476 " ├─ noxn3.id:0!null\n" + 17477 " ├─ noxn3.NUMK2:2!null\n" + 17478 " ├─ noxn3.ECDKM:1\n" + 17479 " └─ Table\n" + 17480 " ├─ name: NOXN3\n" + 17481 " ├─ columns: [id ecdkm numk2]\n" + 17482 " ├─ colSet: (1-10)\n" + 17483 " └─ tableId: 1\n" + 17484 "", 17485 ExpectedEstimates: "Project\n" + 17486 " ├─ columns: [sn.Y3IOU, sn.ECDKM]\n" + 17487 " └─ Sort(sn.id ASC)\n" + 17488 " └─ SubqueryAlias\n" + 17489 " ├─ name: sn\n" + 17490 " ├─ outerVisibility: false\n" + 17491 " ├─ isLateral: false\n" + 17492 " ├─ cacheable: true\n" + 17493 " └─ Filter\n" + 17494 " ├─ (noxn3.NUMK2 = 4)\n" + 17495 " └─ Project\n" + 17496 " ├─ columns: [row_number() over ( order by noxn3.id asc) as Y3IOU, noxn3.id, noxn3.NUMK2, noxn3.ECDKM]\n" + 17497 " └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id, noxn3.NUMK2, noxn3.ECDKM)\n" + 17498 " └─ Table\n" + 17499 " ├─ name: NOXN3\n" + 17500 " └─ columns: [id ecdkm numk2]\n" + 17501 "", 17502 ExpectedAnalysis: "Project\n" + 17503 " ├─ columns: [sn.Y3IOU, sn.ECDKM]\n" + 17504 " └─ Sort(sn.id ASC)\n" + 17505 " └─ SubqueryAlias\n" + 17506 " ├─ name: sn\n" + 17507 " ├─ outerVisibility: false\n" + 17508 " ├─ isLateral: false\n" + 17509 " ├─ cacheable: true\n" + 17510 " └─ Filter\n" + 17511 " ├─ (noxn3.NUMK2 = 4)\n" + 17512 " └─ Project\n" + 17513 " ├─ columns: [row_number() over ( order by noxn3.id asc) as Y3IOU, noxn3.id, noxn3.NUMK2, noxn3.ECDKM]\n" + 17514 " └─ Window(row_number() over ( order by noxn3.id ASC), noxn3.id, noxn3.NUMK2, noxn3.ECDKM)\n" + 17515 " └─ Table\n" + 17516 " ├─ name: NOXN3\n" + 17517 " └─ columns: [id ecdkm numk2]\n" + 17518 "", 17519 }, 17520 { 17521 Query: ` 17522 SELECT id, NUMK2, ECDKM 17523 FROM NOXN3 17524 ORDER BY id ASC`, 17525 ExpectedPlan: "Project\n" + 17526 " ├─ columns: [noxn3.id:0!null, noxn3.NUMK2:2!null, noxn3.ECDKM:1]\n" + 17527 " └─ IndexedTableAccess(NOXN3)\n" + 17528 " ├─ index: [NOXN3.id]\n" + 17529 " ├─ static: [{[NULL, ∞)}]\n" + 17530 " ├─ colSet: (1-10)\n" + 17531 " ├─ tableId: 1\n" + 17532 " └─ Table\n" + 17533 " ├─ name: NOXN3\n" + 17534 " └─ columns: [id ecdkm numk2]\n" + 17535 "", 17536 ExpectedEstimates: "Project\n" + 17537 " ├─ columns: [noxn3.id, noxn3.NUMK2, noxn3.ECDKM]\n" + 17538 " └─ IndexedTableAccess(NOXN3)\n" + 17539 " ├─ index: [NOXN3.id]\n" + 17540 " ├─ filters: [{[NULL, ∞)}]\n" + 17541 " └─ columns: [id ecdkm numk2]\n" + 17542 "", 17543 ExpectedAnalysis: "Project\n" + 17544 " ├─ columns: [noxn3.id, noxn3.NUMK2, noxn3.ECDKM]\n" + 17545 " └─ IndexedTableAccess(NOXN3)\n" + 17546 " ├─ index: [NOXN3.id]\n" + 17547 " ├─ filters: [{[NULL, ∞)}]\n" + 17548 " └─ columns: [id ecdkm numk2]\n" + 17549 "", 17550 }, 17551 { 17552 Query: ` 17553 SELECT 17554 CASE 17555 WHEN NUMK2 = 2 THEN ECDKM 17556 ELSE 0 17557 END AS RGXLL 17558 FROM NOXN3 17559 ORDER BY id ASC`, 17560 ExpectedPlan: "Project\n" + 17561 " ├─ columns: [CASE WHEN Eq\n" + 17562 " │ ├─ noxn3.NUMK2:6!null\n" + 17563 " │ └─ 2 (tinyint)\n" + 17564 " │ THEN noxn3.ECDKM:5 ELSE 0 (tinyint) END as RGXLL]\n" + 17565 " └─ Project\n" + 17566 " ├─ columns: [noxn3.id:0!null, noxn3.BRQP2:1!null, noxn3.FFTBJ:2!null, noxn3.A7XO2:3, noxn3.KBO7R:4!null, noxn3.ECDKM:5, noxn3.NUMK2:6!null, noxn3.LETOE:7!null, noxn3.YKSSU:8, noxn3.FHCYT:9, CASE WHEN Eq\n" + 17567 " │ ├─ noxn3.NUMK2:6!null\n" + 17568 " │ └─ 2 (tinyint)\n" + 17569 " │ THEN noxn3.ECDKM:5 ELSE 0 (tinyint) END as RGXLL]\n" + 17570 " └─ IndexedTableAccess(NOXN3)\n" + 17571 " ├─ index: [NOXN3.id]\n" + 17572 " ├─ static: [{[NULL, ∞)}]\n" + 17573 " ├─ colSet: (1-10)\n" + 17574 " ├─ tableId: 1\n" + 17575 " └─ Table\n" + 17576 " ├─ name: NOXN3\n" + 17577 " └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17578 "", 17579 ExpectedEstimates: "Project\n" + 17580 " ├─ columns: [CASE WHEN (noxn3.NUMK2 = 2) THEN noxn3.ECDKM ELSE 0 END as RGXLL]\n" + 17581 " └─ Project\n" + 17582 " ├─ columns: [noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.A7XO2, noxn3.KBO7R, noxn3.ECDKM, noxn3.NUMK2, noxn3.LETOE, noxn3.YKSSU, noxn3.FHCYT, CASE WHEN (noxn3.NUMK2 = 2) THEN noxn3.ECDKM ELSE 0 END as RGXLL]\n" + 17583 " └─ IndexedTableAccess(NOXN3)\n" + 17584 " ├─ index: [NOXN3.id]\n" + 17585 " ├─ filters: [{[NULL, ∞)}]\n" + 17586 " └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17587 "", 17588 ExpectedAnalysis: "Project\n" + 17589 " ├─ columns: [CASE WHEN (noxn3.NUMK2 = 2) THEN noxn3.ECDKM ELSE 0 END as RGXLL]\n" + 17590 " └─ Project\n" + 17591 " ├─ columns: [noxn3.id, noxn3.BRQP2, noxn3.FFTBJ, noxn3.A7XO2, noxn3.KBO7R, noxn3.ECDKM, noxn3.NUMK2, noxn3.LETOE, noxn3.YKSSU, noxn3.FHCYT, CASE WHEN (noxn3.NUMK2 = 2) THEN noxn3.ECDKM ELSE 0 END as RGXLL]\n" + 17592 " └─ IndexedTableAccess(NOXN3)\n" + 17593 " ├─ index: [NOXN3.id]\n" + 17594 " ├─ filters: [{[NULL, ∞)}]\n" + 17595 " └─ columns: [id brqp2 fftbj a7xo2 kbo7r ecdkm numk2 letoe ykssu fhcyt]\n" + 17596 "", 17597 }, 17598 { 17599 Query: ` 17600 SELECT 17601 pa.DZLIM as ECUWU, 17602 nd.TW55N 17603 FROM JJGQT QNRBH 17604 INNER JOIN E2I7U nd 17605 ON QNRBH.LUEVY = nd.id 17606 INNER JOIN XOAOP pa 17607 ON QNRBH.CH3FR = pa.id`, 17608 ExpectedPlan: "Project\n" + 17609 " ├─ columns: [pa.DZLIM:5!null as ECUWU, nd.TW55N:3!null]\n" + 17610 " └─ LookupJoin\n" + 17611 " ├─ LookupJoin\n" + 17612 " │ ├─ TableAlias(qnrbh)\n" + 17613 " │ │ └─ ProcessTable\n" + 17614 " │ │ └─ Table\n" + 17615 " │ │ ├─ name: JJGQT\n" + 17616 " │ │ └─ columns: [ch3fr luevy]\n" + 17617 " │ └─ TableAlias(nd)\n" + 17618 " │ └─ IndexedTableAccess(E2I7U)\n" + 17619 " │ ├─ index: [E2I7U.id]\n" + 17620 " │ ├─ keys: [qnrbh.LUEVY:1!null]\n" + 17621 " │ ├─ colSet: (4-20)\n" + 17622 " │ ├─ tableId: 2\n" + 17623 " │ └─ Table\n" + 17624 " │ ├─ name: E2I7U\n" + 17625 " │ └─ columns: [id tw55n]\n" + 17626 " └─ TableAlias(pa)\n" + 17627 " └─ IndexedTableAccess(XOAOP)\n" + 17628 " ├─ index: [XOAOP.id]\n" + 17629 " ├─ keys: [qnrbh.CH3FR:0!null]\n" + 17630 " ├─ colSet: (21-23)\n" + 17631 " ├─ tableId: 3\n" + 17632 " └─ Table\n" + 17633 " ├─ name: XOAOP\n" + 17634 " └─ columns: [id dzlim]\n" + 17635 "", 17636 ExpectedEstimates: "Project\n" + 17637 " ├─ columns: [pa.DZLIM as ECUWU, nd.TW55N]\n" + 17638 " └─ LookupJoin (estimated cost=19.800 rows=6)\n" + 17639 " ├─ LookupJoin (estimated cost=19.800 rows=6)\n" + 17640 " │ ├─ TableAlias(qnrbh)\n" + 17641 " │ │ └─ Table\n" + 17642 " │ │ ├─ name: JJGQT\n" + 17643 " │ │ └─ columns: [ch3fr luevy]\n" + 17644 " │ └─ TableAlias(nd)\n" + 17645 " │ └─ IndexedTableAccess(E2I7U)\n" + 17646 " │ ├─ index: [E2I7U.id]\n" + 17647 " │ ├─ columns: [id tw55n]\n" + 17648 " │ └─ keys: qnrbh.LUEVY\n" + 17649 " └─ TableAlias(pa)\n" + 17650 " └─ IndexedTableAccess(XOAOP)\n" + 17651 " ├─ index: [XOAOP.id]\n" + 17652 " ├─ columns: [id dzlim]\n" + 17653 " └─ keys: qnrbh.CH3FR\n" + 17654 "", 17655 ExpectedAnalysis: "Project\n" + 17656 " ├─ columns: [pa.DZLIM as ECUWU, nd.TW55N]\n" + 17657 " └─ LookupJoin (estimated cost=19.800 rows=6) (actual rows=0 loops=1)\n" + 17658 " ├─ LookupJoin (estimated cost=19.800 rows=6) (actual rows=0 loops=1)\n" + 17659 " │ ├─ TableAlias(qnrbh)\n" + 17660 " │ │ └─ Table\n" + 17661 " │ │ ├─ name: JJGQT\n" + 17662 " │ │ └─ columns: [ch3fr luevy]\n" + 17663 " │ └─ TableAlias(nd)\n" + 17664 " │ └─ IndexedTableAccess(E2I7U)\n" + 17665 " │ ├─ index: [E2I7U.id]\n" + 17666 " │ ├─ columns: [id tw55n]\n" + 17667 " │ └─ keys: qnrbh.LUEVY\n" + 17668 " └─ TableAlias(pa)\n" + 17669 " └─ IndexedTableAccess(XOAOP)\n" + 17670 " ├─ index: [XOAOP.id]\n" + 17671 " ├─ columns: [id dzlim]\n" + 17672 " └─ keys: qnrbh.CH3FR\n" + 17673 "", 17674 }, 17675 { 17676 Query: `-- deletes 17677 DELETE FROM QYWQD 17678 WHERE id IN ('1','2','3')`, 17679 ExpectedPlan: "RowUpdateAccumulator\n" + 17680 " └─ Delete\n" + 17681 " └─ Filter\n" + 17682 " ├─ HashIn\n" + 17683 " │ ├─ qywqd.id:0!null\n" + 17684 " │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 17685 " └─ IndexedTableAccess(QYWQD)\n" + 17686 " ├─ index: [QYWQD.id]\n" + 17687 " ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 17688 " ├─ colSet: (1-6)\n" + 17689 " ├─ tableId: 1\n" + 17690 " └─ Table\n" + 17691 " ├─ name: QYWQD\n" + 17692 " └─ columns: [id wnunu hhvlx hvhrz ykssu fhcyt]\n" + 17693 "", 17694 }, 17695 { 17696 Query: ` 17697 DELETE FROM HDDVB 17698 WHERE 17699 FV24E IN ('1', '2', '3') OR 17700 UJ6XY IN ('1', '2', '3')`, 17701 ExpectedPlan: "RowUpdateAccumulator\n" + 17702 " └─ Delete\n" + 17703 " └─ Filter\n" + 17704 " ├─ Or\n" + 17705 " │ ├─ HashIn\n" + 17706 " │ │ ├─ hddvb.FV24E:1!null\n" + 17707 " │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 17708 " │ └─ HashIn\n" + 17709 " │ ├─ hddvb.UJ6XY:2!null\n" + 17710 " │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 17711 " └─ ProcessTable\n" + 17712 " └─ Table\n" + 17713 " ├─ name: HDDVB\n" + 17714 " └─ columns: [id fv24e uj6xy m22qn nz4mq etpqv pruv2 ykssu fhcyt]\n" + 17715 "", 17716 }, 17717 { 17718 Query: ` 17719 DELETE FROM QYWQD 17720 WHERE id IN ('1', '2', '3')`, 17721 ExpectedPlan: "RowUpdateAccumulator\n" + 17722 " └─ Delete\n" + 17723 " └─ Filter\n" + 17724 " ├─ HashIn\n" + 17725 " │ ├─ qywqd.id:0!null\n" + 17726 " │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 17727 " └─ IndexedTableAccess(QYWQD)\n" + 17728 " ├─ index: [QYWQD.id]\n" + 17729 " ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 17730 " ├─ colSet: (1-6)\n" + 17731 " ├─ tableId: 1\n" + 17732 " └─ Table\n" + 17733 " ├─ name: QYWQD\n" + 17734 " └─ columns: [id wnunu hhvlx hvhrz ykssu fhcyt]\n" + 17735 "", 17736 }, 17737 { 17738 Query: ` 17739 DELETE FROM AMYXQ 17740 WHERE LUEVY IN ('1', '2', '3')`, 17741 ExpectedPlan: "RowUpdateAccumulator\n" + 17742 " └─ Delete\n" + 17743 " └─ Filter\n" + 17744 " ├─ HashIn\n" + 17745 " │ ├─ amyxq.LUEVY:2!null\n" + 17746 " │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 17747 " └─ IndexedTableAccess(AMYXQ)\n" + 17748 " ├─ index: [AMYXQ.GXLUB,AMYXQ.LUEVY]\n" + 17749 " ├─ static: [{[NULL, ∞), [1, 1]}, {[NULL, ∞), [2, 2]}, {[NULL, ∞), [3, 3]}]\n" + 17750 " ├─ colSet: (1-8)\n" + 17751 " ├─ tableId: 1\n" + 17752 " └─ Table\n" + 17753 " ├─ name: AMYXQ\n" + 17754 " └─ columns: [id gxlub luevy xqdyt amyxq oztqf z35gy kkgn5]\n" + 17755 "", 17756 }, 17757 { 17758 Query: ` 17759 DELETE FROM HGMQ6 17760 WHERE id IN ('1', '2', '3')`, 17761 ExpectedPlan: "RowUpdateAccumulator\n" + 17762 " └─ Delete\n" + 17763 " └─ Filter\n" + 17764 " ├─ HashIn\n" + 17765 " │ ├─ hgmq6.id:0!null\n" + 17766 " │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 17767 " └─ IndexedTableAccess(HGMQ6)\n" + 17768 " ├─ index: [HGMQ6.id]\n" + 17769 " ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 17770 " ├─ colSet: (1-17)\n" + 17771 " ├─ tableId: 1\n" + 17772 " └─ Table\n" + 17773 " ├─ name: HGMQ6\n" + 17774 " └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 17775 "", 17776 }, 17777 { 17778 Query: ` 17779 DELETE FROM HDDVB 17780 WHERE id IN ('1', '2', '3')`, 17781 ExpectedPlan: "RowUpdateAccumulator\n" + 17782 " └─ Delete\n" + 17783 " └─ Filter\n" + 17784 " ├─ HashIn\n" + 17785 " │ ├─ hddvb.id:0!null\n" + 17786 " │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 17787 " └─ IndexedTableAccess(HDDVB)\n" + 17788 " ├─ index: [HDDVB.id]\n" + 17789 " ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 17790 " ├─ colSet: (1-9)\n" + 17791 " ├─ tableId: 1\n" + 17792 " └─ Table\n" + 17793 " ├─ name: HDDVB\n" + 17794 " └─ columns: [id fv24e uj6xy m22qn nz4mq etpqv pruv2 ykssu fhcyt]\n" + 17795 "", 17796 }, 17797 { 17798 Query: ` 17799 DELETE FROM FLQLP 17800 WHERE LUEVY IN ('1', '2', '3')`, 17801 ExpectedPlan: "RowUpdateAccumulator\n" + 17802 " └─ Delete\n" + 17803 " └─ Filter\n" + 17804 " ├─ HashIn\n" + 17805 " │ ├─ flqlp.LUEVY:2!null\n" + 17806 " │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 17807 " └─ IndexedTableAccess(FLQLP)\n" + 17808 " ├─ index: [FLQLP.LUEVY]\n" + 17809 " ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 17810 " ├─ colSet: (1-12)\n" + 17811 " ├─ tableId: 1\n" + 17812 " └─ Table\n" + 17813 " ├─ name: FLQLP\n" + 17814 " └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 17815 "", 17816 }, 17817 { 17818 Query: ` 17819 DELETE FROM FLQLP 17820 WHERE id IN ('1', '2', '3')`, 17821 ExpectedPlan: "RowUpdateAccumulator\n" + 17822 " └─ Delete\n" + 17823 " └─ Filter\n" + 17824 " ├─ HashIn\n" + 17825 " │ ├─ flqlp.id:0!null\n" + 17826 " │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 17827 " └─ IndexedTableAccess(FLQLP)\n" + 17828 " ├─ index: [FLQLP.id]\n" + 17829 " ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 17830 " ├─ colSet: (1-12)\n" + 17831 " ├─ tableId: 1\n" + 17832 " └─ Table\n" + 17833 " ├─ name: FLQLP\n" + 17834 " └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 17835 "", 17836 }, 17837 { 17838 Query: ` 17839 DELETE FROM FLQLP 17840 WHERE id IN ('1', '2', '3')`, 17841 ExpectedPlan: "RowUpdateAccumulator\n" + 17842 " └─ Delete\n" + 17843 " └─ Filter\n" + 17844 " ├─ HashIn\n" + 17845 " │ ├─ flqlp.id:0!null\n" + 17846 " │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 17847 " └─ IndexedTableAccess(FLQLP)\n" + 17848 " ├─ index: [FLQLP.id]\n" + 17849 " ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 17850 " ├─ colSet: (1-12)\n" + 17851 " ├─ tableId: 1\n" + 17852 " └─ Table\n" + 17853 " ├─ name: FLQLP\n" + 17854 " └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 17855 "", 17856 }, 17857 { 17858 Query: ` 17859 -- updates 17860 UPDATE E2I7U nd 17861 SET nd.KNG7T = (SELECT gn.id FROM WE72E gn INNER JOIN TDRVG ltnm ON ltnm.SSHPJ = gn.SSHPJ WHERE ltnm.FGG57 = nd.FGG57) 17862 WHERE nd.FGG57 IS NOT NULL AND nd.KNG7T IS NULL`, 17863 ExpectedPlan: "RowUpdateAccumulator\n" + 17864 " └─ Update\n" + 17865 " └─ UpdateSource(SET nd.KNG7T:2 = Subquery\n" + 17866 " ├─ cacheable: false\n" + 17867 " ├─ alias-string: select gn.id from WE72E as gn join TDRVG as ltnm on ltnm.SSHPJ = gn.SSHPJ where ltnm.FGG57 = nd.FGG57\n" + 17868 " └─ Project\n" + 17869 " ├─ columns: [gn.id:17!null]\n" + 17870 " └─ Filter\n" + 17871 " ├─ Eq\n" + 17872 " │ ├─ ltnm.FGG57:19!null\n" + 17873 " │ └─ nd.FGG57:6\n" + 17874 " └─ MergeJoin\n" + 17875 " ├─ cmp: Eq\n" + 17876 " │ ├─ gn.SSHPJ:18!null\n" + 17877 " │ └─ ltnm.SSHPJ:20!null\n" + 17878 " ├─ TableAlias(gn)\n" + 17879 " │ └─ IndexedTableAccess(WE72E)\n" + 17880 " │ ├─ index: [WE72E.SSHPJ]\n" + 17881 " │ ├─ static: [{[NULL, ∞)}]\n" + 17882 " │ ├─ colSet: (18-21)\n" + 17883 " │ ├─ tableId: 2\n" + 17884 " │ └─ Table\n" + 17885 " │ ├─ name: WE72E\n" + 17886 " │ └─ columns: [id sshpj]\n" + 17887 " └─ TableAlias(ltnm)\n" + 17888 " └─ IndexedTableAccess(TDRVG)\n" + 17889 " ├─ index: [TDRVG.SSHPJ]\n" + 17890 " ├─ static: [{[NULL, ∞)}]\n" + 17891 " ├─ colSet: (22-26)\n" + 17892 " ├─ tableId: 3\n" + 17893 " └─ Table\n" + 17894 " ├─ name: TDRVG\n" + 17895 " └─ columns: [fgg57 sshpj]\n" + 17896 " )\n" + 17897 " └─ Filter\n" + 17898 " ├─ NOT\n" + 17899 " │ └─ nd.FGG57:6 IS NULL\n" + 17900 " └─ TableAlias(nd)\n" + 17901 " └─ IndexedTableAccess(E2I7U)\n" + 17902 " ├─ index: [E2I7U.KNG7T]\n" + 17903 " ├─ static: [{[NULL, NULL]}]\n" + 17904 " ├─ colSet: (1-17)\n" + 17905 " ├─ tableId: 1\n" + 17906 " └─ Table\n" + 17907 " ├─ name: E2I7U\n" + 17908 " └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 17909 "", 17910 }, 17911 { 17912 Query: ` 17913 17914 UPDATE S3FQX SET ADWYM = 0, FPUYA = 0`, 17915 ExpectedPlan: "TriggerRollback\n" + 17916 " └─ RowUpdateAccumulator\n" + 17917 " └─ Update\n" + 17918 " └─ Trigger(CREATE TRIGGER S3FQX_on_update BEFORE UPDATE ON S3FQX\n" + 17919 " FOR EACH ROW\n" + 17920 " BEGIN\n" + 17921 " IF NEW.ADWYM NOT IN (0, 1)\n" + 17922 " THEN\n" + 17923 " -- SET @custom_error_message = 'The ADWYM field is an int boolean (0/1).';\n" + 17924 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 17925 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The ADWYM field is an int boolean (0/1).';\n" + 17926 " END IF;\n" + 17927 " IF NEW.FPUYA NOT IN (0, 1)\n" + 17928 " THEN\n" + 17929 " -- SET @custom_error_message = 'The FPUYA field is an int boolean (0/1).';\n" + 17930 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 17931 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The FPUYA field is an int boolean (0/1).';\n" + 17932 " END IF;\n" + 17933 " END//)\n" + 17934 " ├─ UpdateSource(SET s3fqx.ADWYM:1!null = 0 (tinyint),SET s3fqx.FPUYA:2!null = 0 (tinyint))\n" + 17935 " │ └─ ProcessTable\n" + 17936 " │ └─ Table\n" + 17937 " │ ├─ name: S3FQX\n" + 17938 " │ └─ columns: [id adwym fpuya]\n" + 17939 " └─ BEGIN .. END\n" + 17940 " ├─ IF BLOCK\n" + 17941 " │ └─ IF(NOT\n" + 17942 " │ └─ IN\n" + 17943 " │ ├─ left: new.ADWYM:4!null\n" + 17944 " │ └─ right: TUPLE(0 (tinyint), 1 (tinyint))\n" + 17945 " │ )\n" + 17946 " │ └─ BLOCK\n" + 17947 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The ADWYM field is an int boolean (0/1)., MYSQL_ERRNO = 1644\n" + 17948 " └─ IF BLOCK\n" + 17949 " └─ IF(NOT\n" + 17950 " └─ IN\n" + 17951 " ├─ left: new.FPUYA:5!null\n" + 17952 " └─ right: TUPLE(0 (tinyint), 1 (tinyint))\n" + 17953 " )\n" + 17954 " └─ BLOCK\n" + 17955 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The FPUYA field is an int boolean (0/1)., MYSQL_ERRNO = 1644\n" + 17956 "", 17957 }, 17958 { 17959 Query: ` 17960 -- inserts 17961 INSERT INTO THNTS 17962 (id, NFRYN, IXUXU, FHCYT) 17963 SELECT 17964 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 17965 (SELECT id FROM JMRQL WHERE DZLIM = 'T4IBQ') AS NFRYN, 17966 id AS IXUXU, 17967 NULL AS FHCYT 17968 FROM 17969 YK2GW 17970 WHERE 17971 id IN ('1','2','3')`, 17972 ExpectedPlan: "TriggerRollback\n" + 17973 " └─ RowUpdateAccumulator\n" + 17974 " └─ Insert(id, NFRYN, IXUXU, FHCYT)\n" + 17975 " ├─ InsertDestination\n" + 17976 " │ └─ ProcessTable\n" + 17977 " │ └─ Table\n" + 17978 " │ ├─ name: THNTS\n" + 17979 " │ └─ columns: [id nfryn ixuxu fhcyt]\n" + 17980 " └─ Trigger(CREATE TRIGGER THNTS_on_insert BEFORE INSERT ON THNTS\n" + 17981 " FOR EACH ROW\n" + 17982 " BEGIN\n" + 17983 " IF\n" + 17984 " NEW.IXUXU IS NULL\n" + 17985 " THEN\n" + 17986 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The IXUXU field is mandatory.';\n" + 17987 " END IF;\n" + 17988 " END//)\n" + 17989 " ├─ Project\n" + 17990 " │ ├─ columns: [id:0!null, NFRYN:1!null, IXUXU:2, FHCYT:3]\n" + 17991 " │ └─ Project\n" + 17992 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 17993 " │ │ ├─ cacheable: true\n" + 17994 " │ │ ├─ alias-string: select id from JMRQL where DZLIM = 'T4IBQ'\n" + 17995 " │ │ └─ Project\n" + 17996 " │ │ ├─ columns: [jmrql.id:34!null]\n" + 17997 " │ │ └─ Filter\n" + 17998 " │ │ ├─ Eq\n" + 17999 " │ │ │ ├─ jmrql.DZLIM:35!null\n" + 18000 " │ │ │ └─ T4IBQ (longtext)\n" + 18001 " │ │ └─ IndexedTableAccess(JMRQL)\n" + 18002 " │ │ ├─ index: [JMRQL.DZLIM]\n" + 18003 " │ │ ├─ static: [{[T4IBQ, T4IBQ]}]\n" + 18004 " │ │ ├─ colSet: (36-38)\n" + 18005 " │ │ ├─ tableId: 3\n" + 18006 " │ │ └─ Table\n" + 18007 " │ │ ├─ name: JMRQL\n" + 18008 " │ │ └─ columns: [id dzlim]\n" + 18009 " │ │ as NFRYN, yk2gw.id:0!null as IXUXU, NULL (null) as FHCYT]\n" + 18010 " │ └─ Project\n" + 18011 " │ ├─ columns: [yk2gw.id:0!null, yk2gw.FTQLQ:1!null, yk2gw.TUXML:2, yk2gw.PAEF5:3, yk2gw.RUCY4:4, yk2gw.TPNJ6:5!null, yk2gw.LBL53:6, yk2gw.NB3QS:7, yk2gw.EO7IV:8, yk2gw.MUHJF:9, yk2gw.FM34L:10, yk2gw.TY5RF:11, yk2gw.ZHTLH:12, yk2gw.NPB7W:13, yk2gw.SX3HH:14, yk2gw.ISBNF:15, yk2gw.YA7YB:16, yk2gw.C5YKB:17, yk2gw.QK7KT:18, yk2gw.FFGE6:19, yk2gw.FIIGJ:20, yk2gw.SH3NC:21, yk2gw.NTENA:22, yk2gw.M4AUB:23, yk2gw.X5AIR:24, yk2gw.SAB6M:25, yk2gw.G5QI5:26, yk2gw.ZVQVD:27, yk2gw.YKSSU:28, yk2gw.FHCYT:29, lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 18012 " │ │ ├─ cacheable: true\n" + 18013 " │ │ ├─ alias-string: select id from JMRQL where DZLIM = 'T4IBQ'\n" + 18014 " │ │ └─ Project\n" + 18015 " │ │ ├─ columns: [jmrql.id:30!null]\n" + 18016 " │ │ └─ Filter\n" + 18017 " │ │ ├─ Eq\n" + 18018 " │ │ │ ├─ jmrql.DZLIM:31!null\n" + 18019 " │ │ │ └─ T4IBQ (longtext)\n" + 18020 " │ │ └─ IndexedTableAccess(JMRQL)\n" + 18021 " │ │ ├─ index: [JMRQL.DZLIM]\n" + 18022 " │ │ ├─ static: [{[T4IBQ, T4IBQ]}]\n" + 18023 " │ │ ├─ colSet: (36-38)\n" + 18024 " │ │ ├─ tableId: 3\n" + 18025 " │ │ └─ Table\n" + 18026 " │ │ ├─ name: JMRQL\n" + 18027 " │ │ └─ columns: [id dzlim]\n" + 18028 " │ │ as NFRYN, yk2gw.id:0!null as IXUXU, NULL (null) as FHCYT]\n" + 18029 " │ └─ Filter\n" + 18030 " │ ├─ HashIn\n" + 18031 " │ │ ├─ yk2gw.id:0!null\n" + 18032 " │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 18033 " │ └─ IndexedTableAccess(YK2GW)\n" + 18034 " │ ├─ index: [YK2GW.id]\n" + 18035 " │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 18036 " │ ├─ colSet: (5-34)\n" + 18037 " │ ├─ tableId: 2\n" + 18038 " │ └─ Table\n" + 18039 " │ ├─ name: YK2GW\n" + 18040 " │ └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 18041 " └─ BEGIN .. END\n" + 18042 " └─ IF BLOCK\n" + 18043 " └─ IF(new.IXUXU:2 IS NULL)\n" + 18044 " └─ BLOCK\n" + 18045 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The IXUXU field is mandatory., MYSQL_ERRNO = 1644\n" + 18046 "", 18047 }, 18048 { 18049 Query: ` 18050 INSERT INTO QYWQD 18051 (id, WNUNU, HHVLX, HVHRZ, YKSSU, FHCYT) 18052 SELECT 18053 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 18054 ITWML.DRIWM AS WNUNU, 18055 ITWML.JIEVY AS HHVLX, 18056 1.0 AS HVHRZ, 18057 NULL AS YKSSU, 18058 NULL AS FHCYT 18059 FROM 18060 ( 18061 SELECT 18062 sn.id AS DRIWM, 18063 SKPM6.id AS JIEVY, 18064 sn.ECDKM AS HVHRZ 18065 FROM 18066 NOXN3 sn -- Potential upstream VUMUY 18067 INNER JOIN 18068 NOXN3 SKPM6 -- We can find a potential downstream edge 18069 ON 18070 SKPM6.BRQP2 = sn.FFTBJ 18071 LEFT JOIN 18072 QYWQD rn -- Join existing regnet records and keep where no corresponding is found 18073 ON 18074 rn.WNUNU = sn.id 18075 AND 18076 rn.HHVLX = SKPM6.id 18077 WHERE 18078 sn.NUMK2 = 1 -- Potential upstream edge is activity TAFAX 18079 AND 18080 rn.WNUNU IS NULL AND rn.HHVLX IS NULL -- Keep only where no corresponding is found 18081 ) ITWML`, 18082 ExpectedPlan: "TriggerRollback\n" + 18083 " └─ RowUpdateAccumulator\n" + 18084 " └─ Insert(id, WNUNU, HHVLX, HVHRZ, YKSSU, FHCYT)\n" + 18085 " ├─ InsertDestination\n" + 18086 " │ └─ ProcessTable\n" + 18087 " │ └─ Table\n" + 18088 " │ ├─ name: QYWQD\n" + 18089 " │ └─ columns: [id wnunu hhvlx hvhrz ykssu fhcyt]\n" + 18090 " └─ Trigger(CREATE TRIGGER QYWQD_on_insert BEFORE INSERT ON QYWQD\n" + 18091 " FOR EACH ROW\n" + 18092 " BEGIN\n" + 18093 " IF\n" + 18094 " (SELECT FFTBJ FROM NOXN3 WHERE id = NEW.WNUNU) <> (SELECT BRQP2 FROM NOXN3 WHERE id = NEW.HHVLX)\n" + 18095 " THEN\n" + 18096 " -- SET @custom_error_message = 'The target UWBAI of the upstream edge must be the same as the source UWBAI of the downstream edge (the enzyme UWBAI).';\n" + 18097 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 18098 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The target UWBAI of the upstream edge must be the same as the source UWBAI of the downstream edge (the enzyme UWBAI).';\n" + 18099 " END IF;\n" + 18100 " END//)\n" + 18101 " ├─ Project\n" + 18102 " │ ├─ columns: [id:0!null, WNUNU:1!null, HHVLX:2!null, HVHRZ:3!null, YKSSU:4, FHCYT:5]\n" + 18103 " │ └─ Project\n" + 18104 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, itwml.DRIWM:0!null as WNUNU, itwml.JIEVY:1!null as HHVLX, 1 (decimal(2,1)) as HVHRZ, NULL (null) as YKSSU, NULL (null) as FHCYT]\n" + 18105 " │ └─ SubqueryAlias\n" + 18106 " │ ├─ name: itwml\n" + 18107 " │ ├─ outerVisibility: false\n" + 18108 " │ ├─ isLateral: false\n" + 18109 " │ ├─ cacheable: true\n" + 18110 " │ ├─ colSet: (36-38)\n" + 18111 " │ ├─ tableId: 5\n" + 18112 " │ └─ Project\n" + 18113 " │ ├─ columns: [sn.id:0!null as DRIWM, skpm6.id:4!null as JIEVY, sn.ECDKM:2 as HVHRZ]\n" + 18114 " │ └─ Filter\n" + 18115 " │ ├─ AND\n" + 18116 " │ │ ├─ rn.WNUNU:6!null IS NULL\n" + 18117 " │ │ └─ rn.HHVLX:7!null IS NULL\n" + 18118 " │ └─ LeftOuterLookupJoin\n" + 18119 " │ ├─ Eq\n" + 18120 " │ │ ├─ rn.HHVLX:7!null\n" + 18121 " │ │ └─ skpm6.id:4!null\n" + 18122 " │ ├─ MergeJoin\n" + 18123 " │ │ ├─ cmp: Eq\n" + 18124 " │ │ │ ├─ sn.FFTBJ:1!null\n" + 18125 " │ │ │ └─ skpm6.BRQP2:5!null\n" + 18126 " │ │ ├─ Filter\n" + 18127 " │ │ │ ├─ Eq\n" + 18128 " │ │ │ │ ├─ sn.NUMK2:3!null\n" + 18129 " │ │ │ │ └─ 1 (tinyint)\n" + 18130 " │ │ │ └─ TableAlias(sn)\n" + 18131 " │ │ │ └─ IndexedTableAccess(NOXN3)\n" + 18132 " │ │ │ ├─ index: [NOXN3.FFTBJ]\n" + 18133 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 18134 " │ │ │ ├─ colSet: (7-16)\n" + 18135 " │ │ │ ├─ tableId: 2\n" + 18136 " │ │ │ └─ Table\n" + 18137 " │ │ │ ├─ name: NOXN3\n" + 18138 " │ │ │ └─ columns: [id fftbj ecdkm numk2]\n" + 18139 " │ │ └─ TableAlias(skpm6)\n" + 18140 " │ │ └─ IndexedTableAccess(NOXN3)\n" + 18141 " │ │ ├─ index: [NOXN3.BRQP2]\n" + 18142 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 18143 " │ │ ├─ colSet: (17-26)\n" + 18144 " │ │ ├─ tableId: 3\n" + 18145 " │ │ └─ Table\n" + 18146 " │ │ ├─ name: NOXN3\n" + 18147 " │ │ └─ columns: [id brqp2]\n" + 18148 " │ └─ TableAlias(rn)\n" + 18149 " │ └─ IndexedTableAccess(QYWQD)\n" + 18150 " │ ├─ index: [QYWQD.WNUNU]\n" + 18151 " │ ├─ keys: [sn.id:0!null]\n" + 18152 " │ ├─ colSet: (27-32)\n" + 18153 " │ ├─ tableId: 4\n" + 18154 " │ └─ Table\n" + 18155 " │ ├─ name: QYWQD\n" + 18156 " │ └─ columns: [wnunu hhvlx]\n" + 18157 " └─ BEGIN .. END\n" + 18158 " └─ IF BLOCK\n" + 18159 " └─ IF(NOT\n" + 18160 " └─ Eq\n" + 18161 " ├─ Subquery\n" + 18162 " │ ├─ cacheable: false\n" + 18163 " │ ├─ alias-string: select FFTBJ from NOXN3 where id = NEW.WNUNU\n" + 18164 " │ └─ Project\n" + 18165 " │ ├─ columns: [noxn3.FFTBJ:7!null]\n" + 18166 " │ └─ Filter\n" + 18167 " │ ├─ Eq\n" + 18168 " │ │ ├─ noxn3.id:6!null\n" + 18169 " │ │ └─ new.WNUNU:1!null\n" + 18170 " │ └─ IndexedTableAccess(NOXN3)\n" + 18171 " │ ├─ index: [NOXN3.id]\n" + 18172 " │ ├─ keys: [new.WNUNU:1!null]\n" + 18173 " │ ├─ colSet: (13-22)\n" + 18174 " │ ├─ tableId: 3\n" + 18175 " │ └─ Table\n" + 18176 " │ ├─ name: NOXN3\n" + 18177 " │ └─ columns: [id fftbj]\n" + 18178 " └─ Subquery\n" + 18179 " ├─ cacheable: false\n" + 18180 " ├─ alias-string: select BRQP2 from NOXN3 where id = NEW.HHVLX\n" + 18181 " └─ Project\n" + 18182 " ├─ columns: [noxn3.BRQP2:7!null]\n" + 18183 " └─ Filter\n" + 18184 " ├─ Eq\n" + 18185 " │ ├─ noxn3.id:6!null\n" + 18186 " │ └─ new.HHVLX:2!null\n" + 18187 " └─ IndexedTableAccess(NOXN3)\n" + 18188 " ├─ index: [NOXN3.id]\n" + 18189 " ├─ keys: [new.HHVLX:2!null]\n" + 18190 " ├─ colSet: (23-32)\n" + 18191 " ├─ tableId: 4\n" + 18192 " └─ Table\n" + 18193 " ├─ name: NOXN3\n" + 18194 " └─ columns: [id brqp2]\n" + 18195 " )\n" + 18196 " └─ BLOCK\n" + 18197 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The target UWBAI of the upstream edge must be the same as the source UWBAI of the downstream edge (the enzyme UWBAI)., MYSQL_ERRNO = 1644\n" + 18198 "", 18199 }, 18200 { 18201 Query: ` 18202 INSERT INTO WE72E 18203 (id, QZ7E7, SSHPJ, FHCYT) 18204 SELECT 18205 id, 18206 SFJ6L, 18207 SSHPJ, 18208 NULL AS FHCYT 18209 FROM 18210 TDRVG 18211 WHERE 18212 id IN ('1','2','3')`, 18213 ExpectedPlan: "TriggerRollback\n" + 18214 " └─ RowUpdateAccumulator\n" + 18215 " └─ Insert(id, QZ7E7, SSHPJ, FHCYT)\n" + 18216 " ├─ InsertDestination\n" + 18217 " │ └─ ProcessTable\n" + 18218 " │ └─ Table\n" + 18219 " │ ├─ name: WE72E\n" + 18220 " │ └─ columns: [id qz7e7 sshpj fhcyt]\n" + 18221 " └─ Trigger(CREATE TRIGGER WE72E_on_insert BEFORE INSERT ON WE72E\n" + 18222 " FOR EACH ROW\n" + 18223 " BEGIN\n" + 18224 " IF\n" + 18225 " NEW.QZ7E7 IN (SELECT SVAZ4 FROM TPXHZ)\n" + 18226 " OR\n" + 18227 " NEW.SSHPJ IN (SELECT SVAZ4 FROM TPXHZ)\n" + 18228 " THEN\n" + 18229 " -- SET @custom_error_message = (SELECT error_message FROM trigger_helper_error_message WHERE DZLIM = 'SVAZ4');\n" + 18230 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 18231 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'String field contains invalid value, like empty string, ''none'', ''null'', ''n/a'', ''nan'' etc.';\n" + 18232 " END IF;\n" + 18233 " END//)\n" + 18234 " ├─ Project\n" + 18235 " │ ├─ columns: [id:0!null, QZ7E7:1!null, SSHPJ:2!null, FHCYT:3]\n" + 18236 " │ └─ Project\n" + 18237 " │ ├─ columns: [tdrvg.id:0!null, tdrvg.SFJ6L:2!null, tdrvg.SSHPJ:1!null, NULL (null) as FHCYT]\n" + 18238 " │ └─ Filter\n" + 18239 " │ ├─ HashIn\n" + 18240 " │ │ ├─ tdrvg.id:0!null\n" + 18241 " │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 18242 " │ └─ IndexedTableAccess(TDRVG)\n" + 18243 " │ ├─ index: [TDRVG.id]\n" + 18244 " │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 18245 " │ ├─ colSet: (5-9)\n" + 18246 " │ ├─ tableId: 2\n" + 18247 " │ └─ Table\n" + 18248 " │ ├─ name: TDRVG\n" + 18249 " │ └─ columns: [id sshpj sfj6l]\n" + 18250 " └─ BEGIN .. END\n" + 18251 " └─ IF BLOCK\n" + 18252 " └─ IF(Or\n" + 18253 " ├─ InSubquery\n" + 18254 " │ ├─ left: new.QZ7E7:1!null\n" + 18255 " │ └─ right: Subquery\n" + 18256 " │ ├─ cacheable: false\n" + 18257 " │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 18258 " │ └─ Table\n" + 18259 " │ ├─ name: TPXHZ\n" + 18260 " │ ├─ columns: [svaz4]\n" + 18261 " │ ├─ colSet: (9,10)\n" + 18262 " │ └─ tableId: 3\n" + 18263 " └─ InSubquery\n" + 18264 " ├─ left: new.SSHPJ:2!null\n" + 18265 " └─ right: Subquery\n" + 18266 " ├─ cacheable: false\n" + 18267 " ├─ alias-string: select SVAZ4 from TPXHZ\n" + 18268 " └─ Table\n" + 18269 " ├─ name: TPXHZ\n" + 18270 " ├─ columns: [svaz4]\n" + 18271 " ├─ colSet: (11,12)\n" + 18272 " └─ tableId: 4\n" + 18273 " )\n" + 18274 " └─ BLOCK\n" + 18275 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = String field contains invalid value, like empty string, 'none', 'null', 'n/a', 'nan' etc., MYSQL_ERRNO = 1644\n" + 18276 "", 18277 }, 18278 { 18279 Query: ` 18280 INSERT INTO AMYXQ 18281 (id, GXLUB, LUEVY, XQDYT, AMYXQ, OZTQF, Z35GY, KKGN5) 18282 SELECT /*+ JOIN_ORDER(ufc, nd, YBBG5) */ 18283 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 18284 (SELECT /*+ JOIN_ORDER(cla, bs) */ bs.id FROM THNTS bs INNER JOIN YK2GW cla ON cla.id = bs.IXUXU WHERE cla.FTQLQ = ufc.T4IBQ) AS GXLUB, 18285 nd.id AS LUEVY, 18286 nd.XQDYT AS XQDYT, 18287 ufc.AMYXQ + 0.0 AS AMYXQ, 18288 CASE 18289 WHEN 18290 YBBG5.DZLIM = 'KTNZ2' 18291 THEN ufc.KTNZ2 + 0.0 18292 WHEN 18293 YBBG5.DZLIM = 'HIID2' 18294 THEN ufc.HIID2 + 0.0 18295 WHEN 18296 YBBG5.DZLIM = 'SH7TP' 18297 THEN ufc.SH7TP + 0.0 18298 WHEN 18299 YBBG5.DZLIM = 'VVKNB' 18300 THEN ufc.VVKNB + 0.0 18301 WHEN 18302 YBBG5.DZLIM = 'DN3OQ' 18303 THEN ufc.DN3OQ + 0.0 18304 ELSE NULL 18305 END AS OZTQF, 18306 ufc.SRZZO + 0.0 AS Z35GY, 18307 ufc.id AS KKGN5 18308 FROM 18309 SISUT ufc 18310 INNER JOIN 18311 E2I7U nd 18312 ON 18313 nd.ZH72S = ufc.ZH72S 18314 INNER JOIN 18315 XGSJM YBBG5 18316 ON 18317 YBBG5.id = nd.XQDYT 18318 WHERE 18319 ufc.id IN ('1','2','3')`, 18320 ExpectedPlan: "TriggerRollback\n" + 18321 " └─ RowUpdateAccumulator\n" + 18322 " └─ Insert(id, GXLUB, LUEVY, XQDYT, AMYXQ, OZTQF, Z35GY, KKGN5)\n" + 18323 " ├─ InsertDestination\n" + 18324 " │ └─ ProcessTable\n" + 18325 " │ └─ Table\n" + 18326 " │ ├─ name: AMYXQ\n" + 18327 " │ └─ columns: [id gxlub luevy xqdyt amyxq oztqf z35gy kkgn5]\n" + 18328 " └─ Trigger(CREATE TRIGGER AMYXQ_on_insert BEFORE INSERT ON AMYXQ\n" + 18329 " FOR EACH ROW\n" + 18330 " BEGIN\n" + 18331 " IF\n" + 18332 " (SELECT FGG57 FROM E2I7U WHERE id = NEW.LUEVY) IS NULL\n" + 18333 " THEN\n" + 18334 " -- SET @custom_error_message = 'The given UWBAI can not be connected to a AMYXQ record as it does not have IYDZV.';\n" + 18335 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 18336 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The given UWBAI can not be connected to a AMYXQ record as it does not have IYDZV.';\n" + 18337 " END IF;\n" + 18338 " IF\n" + 18339 " NEW.AMYXQ < 0 OR NEW.OZTQF < 0 OR NEW.Z35GY < 0\n" + 18340 " THEN\n" + 18341 " -- SET @custom_error_message = 'All values in AMYXQ must ne non-negative.';\n" + 18342 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 18343 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'All values in AMYXQ must ne non-negative.';\n" + 18344 " END IF;\n" + 18345 " END//)\n" + 18346 " ├─ Project\n" + 18347 " │ ├─ columns: [id:0!null, GXLUB:1!null, LUEVY:2!null, XQDYT:3!null, AMYXQ:4!null, OZTQF:5!null, Z35GY:6!null, KKGN5:7]\n" + 18348 " │ └─ Project\n" + 18349 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 18350 " │ │ ├─ cacheable: false\n" + 18351 " │ │ ├─ alias-string: select /*+ JOIN_ORDER(cla, bs) */ bs.id from THNTS as bs join YK2GW as cla on cla.id = bs.IXUXU where cla.FTQLQ = ufc.T4IBQ\n" + 18352 " │ │ └─ Project\n" + 18353 " │ │ ├─ columns: [bs.id:41!null]\n" + 18354 " │ │ └─ Filter\n" + 18355 " │ │ ├─ Eq\n" + 18356 " │ │ │ ├─ cla.FTQLQ:40!null\n" + 18357 " │ │ │ └─ ufc.T4IBQ:1\n" + 18358 " │ │ └─ MergeJoin\n" + 18359 " │ │ ├─ cmp: Eq\n" + 18360 " │ │ │ ├─ cla.id:39!null\n" + 18361 " │ │ │ └─ bs.IXUXU:42\n" + 18362 " │ │ ├─ TableAlias(cla)\n" + 18363 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 18364 " │ │ │ ├─ index: [YK2GW.id]\n" + 18365 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 18366 " │ │ │ ├─ colSet: (45-74)\n" + 18367 " │ │ │ ├─ tableId: 6\n" + 18368 " │ │ │ └─ Table\n" + 18369 " │ │ │ ├─ name: YK2GW\n" + 18370 " │ │ │ └─ columns: [id ftqlq]\n" + 18371 " │ │ └─ TableAlias(bs)\n" + 18372 " │ │ └─ IndexedTableAccess(THNTS)\n" + 18373 " │ │ ├─ index: [THNTS.IXUXU]\n" + 18374 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 18375 " │ │ ├─ colSet: (41-44)\n" + 18376 " │ │ ├─ tableId: 5\n" + 18377 " │ │ └─ Table\n" + 18378 " │ │ ├─ name: THNTS\n" + 18379 " │ │ └─ columns: [id ixuxu]\n" + 18380 " │ │ as GXLUB, nd.id:11!null as LUEVY, nd.XQDYT:20!null as XQDYT, (ufc.AMYXQ:3 + 0 (decimal(2,1))) as AMYXQ, CASE WHEN Eq\n" + 18381 " │ │ ├─ ybbg5.DZLIM:29!null\n" + 18382 " │ │ └─ KTNZ2 (longtext)\n" + 18383 " │ │ THEN (ufc.KTNZ2:4 + 0 (decimal(2,1))) WHEN Eq\n" + 18384 " │ │ ├─ ybbg5.DZLIM:29!null\n" + 18385 " │ │ └─ HIID2 (longtext)\n" + 18386 " │ │ THEN (ufc.HIID2:5 + 0 (decimal(2,1))) WHEN Eq\n" + 18387 " │ │ ├─ ybbg5.DZLIM:29!null\n" + 18388 " │ │ └─ SH7TP (longtext)\n" + 18389 " │ │ THEN (ufc.SH7TP:8 + 0 (decimal(2,1))) WHEN Eq\n" + 18390 " │ │ ├─ ybbg5.DZLIM:29!null\n" + 18391 " │ │ └─ VVKNB (longtext)\n" + 18392 " │ │ THEN (ufc.VVKNB:7 + 0 (decimal(2,1))) WHEN Eq\n" + 18393 " │ │ ├─ ybbg5.DZLIM:29!null\n" + 18394 " │ │ └─ DN3OQ (longtext)\n" + 18395 " │ │ THEN (ufc.DN3OQ:6 + 0 (decimal(2,1))) ELSE NULL (null) END as OZTQF, (ufc.SRZZO:9 + 0 (decimal(2,1))) as Z35GY, ufc.id:0!null as KKGN5]\n" + 18396 " │ └─ Project\n" + 18397 " │ ├─ columns: [ufc.id:0!null, ufc.T4IBQ:1, ufc.ZH72S:2, ufc.AMYXQ:3, ufc.KTNZ2:4, ufc.HIID2:5, ufc.DN3OQ:6, ufc.VVKNB:7, ufc.SH7TP:8, ufc.SRZZO:9, ufc.QZ6VT:10, nd.id:11!null, nd.DKCAJ:12!null, nd.KNG7T:13, nd.TW55N:14!null, nd.QRQXW:15!null, nd.ECXAJ:16!null, nd.FGG57:17, nd.ZH72S:18, nd.FSK67:19!null, nd.XQDYT:20!null, nd.TCE7A:21, nd.IWV2H:22, nd.HPCMS:23!null, nd.N5CC2:24, nd.FHCYT:25, nd.ETAQ7:26, nd.A75X7:27, ybbg5.id:28!null, ybbg5.DZLIM:29!null, ybbg5.F3YUE:30, lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 18398 " │ │ ├─ cacheable: false\n" + 18399 " │ │ ├─ alias-string: select /*+ JOIN_ORDER(cla, bs) */ bs.id from THNTS as bs join YK2GW as cla on cla.id = bs.IXUXU where cla.FTQLQ = ufc.T4IBQ\n" + 18400 " │ │ └─ Project\n" + 18401 " │ │ ├─ columns: [bs.id:33!null]\n" + 18402 " │ │ └─ Filter\n" + 18403 " │ │ ├─ Eq\n" + 18404 " │ │ │ ├─ cla.FTQLQ:32!null\n" + 18405 " │ │ │ └─ ufc.T4IBQ:1\n" + 18406 " │ │ └─ MergeJoin\n" + 18407 " │ │ ├─ cmp: Eq\n" + 18408 " │ │ │ ├─ cla.id:31!null\n" + 18409 " │ │ │ └─ bs.IXUXU:34\n" + 18410 " │ │ ├─ TableAlias(cla)\n" + 18411 " │ │ │ └─ IndexedTableAccess(YK2GW)\n" + 18412 " │ │ │ ├─ index: [YK2GW.id]\n" + 18413 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 18414 " │ │ │ ├─ colSet: (45-74)\n" + 18415 " │ │ │ ├─ tableId: 6\n" + 18416 " │ │ │ └─ Table\n" + 18417 " │ │ │ ├─ name: YK2GW\n" + 18418 " │ │ │ └─ columns: [id ftqlq]\n" + 18419 " │ │ └─ TableAlias(bs)\n" + 18420 " │ │ └─ IndexedTableAccess(THNTS)\n" + 18421 " │ │ ├─ index: [THNTS.IXUXU]\n" + 18422 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 18423 " │ │ ├─ colSet: (41-44)\n" + 18424 " │ │ ├─ tableId: 5\n" + 18425 " │ │ └─ Table\n" + 18426 " │ │ ├─ name: THNTS\n" + 18427 " │ │ └─ columns: [id ixuxu]\n" + 18428 " │ │ as GXLUB, nd.id:11!null as LUEVY, nd.XQDYT:20!null as XQDYT, (ufc.AMYXQ:3 + 0 (decimal(2,1))) as AMYXQ, CASE WHEN Eq\n" + 18429 " │ │ ├─ ybbg5.DZLIM:29!null\n" + 18430 " │ │ └─ KTNZ2 (longtext)\n" + 18431 " │ │ THEN (ufc.KTNZ2:4 + 0 (decimal(2,1))) WHEN Eq\n" + 18432 " │ │ ├─ ybbg5.DZLIM:29!null\n" + 18433 " │ │ └─ HIID2 (longtext)\n" + 18434 " │ │ THEN (ufc.HIID2:5 + 0 (decimal(2,1))) WHEN Eq\n" + 18435 " │ │ ├─ ybbg5.DZLIM:29!null\n" + 18436 " │ │ └─ SH7TP (longtext)\n" + 18437 " │ │ THEN (ufc.SH7TP:8 + 0 (decimal(2,1))) WHEN Eq\n" + 18438 " │ │ ├─ ybbg5.DZLIM:29!null\n" + 18439 " │ │ └─ VVKNB (longtext)\n" + 18440 " │ │ THEN (ufc.VVKNB:7 + 0 (decimal(2,1))) WHEN Eq\n" + 18441 " │ │ ├─ ybbg5.DZLIM:29!null\n" + 18442 " │ │ └─ DN3OQ (longtext)\n" + 18443 " │ │ THEN (ufc.DN3OQ:6 + 0 (decimal(2,1))) ELSE NULL (null) END as OZTQF, (ufc.SRZZO:9 + 0 (decimal(2,1))) as Z35GY, ufc.id:0!null as KKGN5]\n" + 18444 " │ └─ HashJoin\n" + 18445 " │ ├─ Eq\n" + 18446 " │ │ ├─ ybbg5.id:28!null\n" + 18447 " │ │ └─ nd.XQDYT:20!null\n" + 18448 " │ ├─ LookupJoin\n" + 18449 " │ │ ├─ Filter\n" + 18450 " │ │ │ ├─ HashIn\n" + 18451 " │ │ │ │ ├─ ufc.id:0!null\n" + 18452 " │ │ │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 18453 " │ │ │ └─ TableAlias(ufc)\n" + 18454 " │ │ │ └─ IndexedTableAccess(SISUT)\n" + 18455 " │ │ │ ├─ index: [SISUT.id]\n" + 18456 " │ │ │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 18457 " │ │ │ ├─ colSet: (9-19)\n" + 18458 " │ │ │ ├─ tableId: 2\n" + 18459 " │ │ │ └─ Table\n" + 18460 " │ │ │ ├─ name: SISUT\n" + 18461 " │ │ │ └─ columns: [id t4ibq zh72s amyxq ktnz2 hiid2 dn3oq vvknb sh7tp srzzo qz6vt]\n" + 18462 " │ │ └─ TableAlias(nd)\n" + 18463 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 18464 " │ │ ├─ index: [E2I7U.ZH72S]\n" + 18465 " │ │ ├─ keys: [ufc.ZH72S:2]\n" + 18466 " │ │ ├─ colSet: (20-36)\n" + 18467 " │ │ ├─ tableId: 3\n" + 18468 " │ │ └─ Table\n" + 18469 " │ │ ├─ name: E2I7U\n" + 18470 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 18471 " │ └─ HashLookup\n" + 18472 " │ ├─ left-key: TUPLE(nd.XQDYT:20!null)\n" + 18473 " │ ├─ right-key: TUPLE(ybbg5.id:0!null)\n" + 18474 " │ └─ TableAlias(ybbg5)\n" + 18475 " │ └─ ProcessTable\n" + 18476 " │ └─ Table\n" + 18477 " │ ├─ name: XGSJM\n" + 18478 " │ └─ columns: [id dzlim f3yue]\n" + 18479 " └─ BEGIN .. END\n" + 18480 " ├─ IF BLOCK\n" + 18481 " │ └─ IF(Subquery\n" + 18482 " │ ├─ cacheable: false\n" + 18483 " │ ├─ alias-string: select FGG57 from E2I7U where id = NEW.LUEVY\n" + 18484 " │ └─ Project\n" + 18485 " │ ├─ columns: [e2i7u.FGG57:9]\n" + 18486 " │ └─ Filter\n" + 18487 " │ ├─ Eq\n" + 18488 " │ │ ├─ e2i7u.id:8!null\n" + 18489 " │ │ └─ new.LUEVY:2!null\n" + 18490 " │ └─ IndexedTableAccess(E2I7U)\n" + 18491 " │ ├─ index: [E2I7U.id]\n" + 18492 " │ ├─ keys: [new.LUEVY:2!null]\n" + 18493 " │ ├─ colSet: (17-33)\n" + 18494 " │ ├─ tableId: 3\n" + 18495 " │ └─ Table\n" + 18496 " │ ├─ name: E2I7U\n" + 18497 " │ └─ columns: [id fgg57]\n" + 18498 " │ IS NULL)\n" + 18499 " │ └─ BLOCK\n" + 18500 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The given UWBAI can not be connected to a AMYXQ record as it does not have IYDZV., MYSQL_ERRNO = 1644\n" + 18501 " └─ IF BLOCK\n" + 18502 " └─ IF(Or\n" + 18503 " ├─ Or\n" + 18504 " │ ├─ LessThan\n" + 18505 " │ │ ├─ new.AMYXQ:4!null\n" + 18506 " │ │ └─ 0 (tinyint)\n" + 18507 " │ └─ LessThan\n" + 18508 " │ ├─ new.OZTQF:5!null\n" + 18509 " │ └─ 0 (tinyint)\n" + 18510 " └─ LessThan\n" + 18511 " ├─ new.Z35GY:6!null\n" + 18512 " └─ 0 (tinyint)\n" + 18513 " )\n" + 18514 " └─ BLOCK\n" + 18515 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = All values in AMYXQ must ne non-negative., MYSQL_ERRNO = 1644\n" + 18516 "", 18517 }, 18518 { 18519 Query: ` 18520 INSERT INTO SZQWJ 18521 (id, GXLUB, CH3FR, D237E, JOGI6) 18522 SELECT 18523 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 18524 (SELECT bs.id FROM THNTS bs INNER JOIN YK2GW cla ON cla.id = bs.IXUXU WHERE cla.FTQLQ = ums.T4IBQ) AS GXLUB, 18525 (SELECT id FROM XOAOP WHERE DZLIM = 'NER') AS CH3FR, 18526 CASE -- This ugly thing is because of Dolt's problematic conversion handling at insertions 18527 WHEN ums.ner > 0.5 THEN 1 18528 WHEN ums.ner < 0.5 THEN 0 18529 ELSE NULL 18530 END AS D237E, 18531 ums.id AS JOGI6 18532 FROM 18533 FG26Y ums 18534 WHERE 18535 ums.id IN ('1','2','3')`, 18536 ExpectedPlan: "TriggerRollback\n" + 18537 " └─ RowUpdateAccumulator\n" + 18538 " └─ Insert(id, GXLUB, CH3FR, D237E, JOGI6)\n" + 18539 " ├─ InsertDestination\n" + 18540 " │ └─ ProcessTable\n" + 18541 " │ └─ Table\n" + 18542 " │ ├─ name: SZQWJ\n" + 18543 " │ └─ columns: [id gxlub ch3fr d237e jogi6]\n" + 18544 " └─ Trigger(CREATE TRIGGER SZQWJ_on_insert BEFORE INSERT ON SZQWJ\n" + 18545 " FOR EACH ROW\n" + 18546 " BEGIN\n" + 18547 " IF\n" + 18548 " (SELECT DZLIM FROM XOAOP WHERE id = NEW.CH3FR) NOT IN ('NER', 'BER', 'HR', 'MMR')\n" + 18549 " THEN\n" + 18550 " -- SET @custom_error_message = 'The ECUWU must be one of the following: ''NER'', ''BER'', ''HR'', ''MMR''.';\n" + 18551 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 18552 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The ECUWU must be one of the following: ''NER'', ''BER'', ''HR'', ''MMR''.';\n" + 18553 " END IF;\n" + 18554 " IF\n" + 18555 " NEW.D237E NOT IN (0, 1)\n" + 18556 " THEN\n" + 18557 " -- SET @custom_error_message = 'The D237E field must be either 0 or 1.';\n" + 18558 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 18559 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The D237E field must be either 0 or 1.';\n" + 18560 " END IF;\n" + 18561 " END//)\n" + 18562 " ├─ Project\n" + 18563 " │ ├─ columns: [id:0!null, GXLUB:1!null, CH3FR:2!null, D237E:3!null, JOGI6:4]\n" + 18564 " │ └─ Project\n" + 18565 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 18566 " │ │ ├─ cacheable: false\n" + 18567 " │ │ ├─ alias-string: select bs.id from THNTS as bs join YK2GW as cla on cla.id = bs.IXUXU where cla.FTQLQ = ums.T4IBQ\n" + 18568 " │ │ └─ Project\n" + 18569 " │ │ ├─ columns: [bs.id:12!null]\n" + 18570 " │ │ └─ Filter\n" + 18571 " │ │ ├─ Eq\n" + 18572 " │ │ │ ├─ cla.FTQLQ:15!null\n" + 18573 " │ │ │ └─ ums.T4IBQ:1\n" + 18574 " │ │ └─ MergeJoin\n" + 18575 " │ │ ├─ cmp: Eq\n" + 18576 " │ │ │ ├─ bs.IXUXU:13\n" + 18577 " │ │ │ └─ cla.id:14!null\n" + 18578 " │ │ ├─ TableAlias(bs)\n" + 18579 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 18580 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 18581 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 18582 " │ │ │ ├─ colSet: (14-17)\n" + 18583 " │ │ │ ├─ tableId: 3\n" + 18584 " │ │ │ └─ Table\n" + 18585 " │ │ │ ├─ name: THNTS\n" + 18586 " │ │ │ └─ columns: [id ixuxu]\n" + 18587 " │ │ └─ TableAlias(cla)\n" + 18588 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 18589 " │ │ ├─ index: [YK2GW.id]\n" + 18590 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 18591 " │ │ ├─ colSet: (18-47)\n" + 18592 " │ │ ├─ tableId: 4\n" + 18593 " │ │ └─ Table\n" + 18594 " │ │ ├─ name: YK2GW\n" + 18595 " │ │ └─ columns: [id ftqlq]\n" + 18596 " │ │ as GXLUB, Subquery\n" + 18597 " │ │ ├─ cacheable: true\n" + 18598 " │ │ ├─ alias-string: select id from XOAOP where DZLIM = 'NER'\n" + 18599 " │ │ └─ Project\n" + 18600 " │ │ ├─ columns: [xoaop.id:12!null]\n" + 18601 " │ │ └─ Filter\n" + 18602 " │ │ ├─ Eq\n" + 18603 " │ │ │ ├─ xoaop.DZLIM:13!null\n" + 18604 " │ │ │ └─ NER (longtext)\n" + 18605 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 18606 " │ │ ├─ index: [XOAOP.DZLIM]\n" + 18607 " │ │ ├─ static: [{[NER, NER]}]\n" + 18608 " │ │ ├─ colSet: (49-51)\n" + 18609 " │ │ ├─ tableId: 5\n" + 18610 " │ │ └─ Table\n" + 18611 " │ │ ├─ name: XOAOP\n" + 18612 " │ │ └─ columns: [id dzlim]\n" + 18613 " │ │ as CH3FR, CASE WHEN GreaterThan\n" + 18614 " │ │ ├─ ums.ner:2\n" + 18615 " │ │ └─ 0.5 (decimal(2,1))\n" + 18616 " │ │ THEN 1 (tinyint) WHEN LessThan\n" + 18617 " │ │ ├─ ums.ner:2\n" + 18618 " │ │ └─ 0.5 (decimal(2,1))\n" + 18619 " │ │ THEN 0 (tinyint) ELSE NULL (null) END as D237E, ums.id:0!null as JOGI6]\n" + 18620 " │ └─ Project\n" + 18621 " │ ├─ columns: [ums.id:0!null, ums.T4IBQ:1, ums.ner:2, ums.ber:3, ums.hr:4, ums.mmr:5, ums.QZ6VT:6, lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 18622 " │ │ ├─ cacheable: false\n" + 18623 " │ │ ├─ alias-string: select bs.id from THNTS as bs join YK2GW as cla on cla.id = bs.IXUXU where cla.FTQLQ = ums.T4IBQ\n" + 18624 " │ │ └─ Project\n" + 18625 " │ │ ├─ columns: [bs.id:7!null]\n" + 18626 " │ │ └─ Filter\n" + 18627 " │ │ ├─ Eq\n" + 18628 " │ │ │ ├─ cla.FTQLQ:10!null\n" + 18629 " │ │ │ └─ ums.T4IBQ:1\n" + 18630 " │ │ └─ MergeJoin\n" + 18631 " │ │ ├─ cmp: Eq\n" + 18632 " │ │ │ ├─ bs.IXUXU:8\n" + 18633 " │ │ │ └─ cla.id:9!null\n" + 18634 " │ │ ├─ TableAlias(bs)\n" + 18635 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 18636 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 18637 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 18638 " │ │ │ ├─ colSet: (14-17)\n" + 18639 " │ │ │ ├─ tableId: 3\n" + 18640 " │ │ │ └─ Table\n" + 18641 " │ │ │ ├─ name: THNTS\n" + 18642 " │ │ │ └─ columns: [id ixuxu]\n" + 18643 " │ │ └─ TableAlias(cla)\n" + 18644 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 18645 " │ │ ├─ index: [YK2GW.id]\n" + 18646 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 18647 " │ │ ├─ colSet: (18-47)\n" + 18648 " │ │ ├─ tableId: 4\n" + 18649 " │ │ └─ Table\n" + 18650 " │ │ ├─ name: YK2GW\n" + 18651 " │ │ └─ columns: [id ftqlq]\n" + 18652 " │ │ as GXLUB, Subquery\n" + 18653 " │ │ ├─ cacheable: true\n" + 18654 " │ │ ├─ alias-string: select id from XOAOP where DZLIM = 'NER'\n" + 18655 " │ │ └─ Project\n" + 18656 " │ │ ├─ columns: [xoaop.id:7!null]\n" + 18657 " │ │ └─ Filter\n" + 18658 " │ │ ├─ Eq\n" + 18659 " │ │ │ ├─ xoaop.DZLIM:8!null\n" + 18660 " │ │ │ └─ NER (longtext)\n" + 18661 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 18662 " │ │ ├─ index: [XOAOP.DZLIM]\n" + 18663 " │ │ ├─ static: [{[NER, NER]}]\n" + 18664 " │ │ ├─ colSet: (49-51)\n" + 18665 " │ │ ├─ tableId: 5\n" + 18666 " │ │ └─ Table\n" + 18667 " │ │ ├─ name: XOAOP\n" + 18668 " │ │ └─ columns: [id dzlim]\n" + 18669 " │ │ as CH3FR, CASE WHEN GreaterThan\n" + 18670 " │ │ ├─ ums.ner:2\n" + 18671 " │ │ └─ 0.5 (decimal(2,1))\n" + 18672 " │ │ THEN 1 (tinyint) WHEN LessThan\n" + 18673 " │ │ ├─ ums.ner:2\n" + 18674 " │ │ └─ 0.5 (decimal(2,1))\n" + 18675 " │ │ THEN 0 (tinyint) ELSE NULL (null) END as D237E, ums.id:0!null as JOGI6]\n" + 18676 " │ └─ Filter\n" + 18677 " │ ├─ HashIn\n" + 18678 " │ │ ├─ ums.id:0!null\n" + 18679 " │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 18680 " │ └─ TableAlias(ums)\n" + 18681 " │ └─ IndexedTableAccess(FG26Y)\n" + 18682 " │ ├─ index: [FG26Y.id]\n" + 18683 " │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 18684 " │ ├─ colSet: (6-12)\n" + 18685 " │ ├─ tableId: 2\n" + 18686 " │ └─ Table\n" + 18687 " │ ├─ name: FG26Y\n" + 18688 " │ └─ columns: [id t4ibq ner ber hr mmr qz6vt]\n" + 18689 " └─ BEGIN .. END\n" + 18690 " ├─ IF BLOCK\n" + 18691 " │ └─ IF(NOT\n" + 18692 " │ └─ IN\n" + 18693 " │ ├─ left: Subquery\n" + 18694 " │ │ ├─ cacheable: false\n" + 18695 " │ │ ├─ alias-string: select DZLIM from XOAOP where id = NEW.CH3FR\n" + 18696 " │ │ └─ Project\n" + 18697 " │ │ ├─ columns: [xoaop.DZLIM:6!null]\n" + 18698 " │ │ └─ Filter\n" + 18699 " │ │ ├─ Eq\n" + 18700 " │ │ │ ├─ xoaop.id:5!null\n" + 18701 " │ │ │ └─ new.CH3FR:2!null\n" + 18702 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 18703 " │ │ ├─ index: [XOAOP.id]\n" + 18704 " │ │ ├─ keys: [new.CH3FR:2!null]\n" + 18705 " │ │ ├─ colSet: (11-13)\n" + 18706 " │ │ ├─ tableId: 3\n" + 18707 " │ │ └─ Table\n" + 18708 " │ │ ├─ name: XOAOP\n" + 18709 " │ │ └─ columns: [id dzlim]\n" + 18710 " │ └─ right: TUPLE(NER (longtext), BER (longtext), HR (longtext), MMR (longtext))\n" + 18711 " │ )\n" + 18712 " │ └─ BLOCK\n" + 18713 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The ECUWU must be one of the following: 'NER', 'BER', 'HR', 'MMR'., MYSQL_ERRNO = 1644\n" + 18714 " └─ IF BLOCK\n" + 18715 " └─ IF(NOT\n" + 18716 " └─ IN\n" + 18717 " ├─ left: new.D237E:3!null\n" + 18718 " └─ right: TUPLE(0 (tinyint), 1 (tinyint))\n" + 18719 " )\n" + 18720 " └─ BLOCK\n" + 18721 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The D237E field must be either 0 or 1., MYSQL_ERRNO = 1644\n" + 18722 "", 18723 }, 18724 { 18725 Query: ` 18726 INSERT INTO SZQWJ 18727 (id, GXLUB, CH3FR, D237E, JOGI6) 18728 SELECT 18729 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 18730 (SELECT bs.id FROM THNTS bs INNER JOIN YK2GW cla ON cla.id = bs.IXUXU WHERE cla.FTQLQ = ums.T4IBQ) AS GXLUB, 18731 (SELECT id FROM XOAOP WHERE DZLIM = 'BER') AS CH3FR, 18732 CASE -- This ugly thing is because of Dolt's problematic conversion handling at insertions 18733 WHEN ums.ber > 0.5 THEN 1 18734 WHEN ums.ber < 0.5 THEN 0 18735 ELSE NULL 18736 END AS D237E, 18737 ums.id AS JOGI6 18738 FROM 18739 FG26Y ums 18740 WHERE 18741 ums.id IN ('1','2','3')`, 18742 ExpectedPlan: "TriggerRollback\n" + 18743 " └─ RowUpdateAccumulator\n" + 18744 " └─ Insert(id, GXLUB, CH3FR, D237E, JOGI6)\n" + 18745 " ├─ InsertDestination\n" + 18746 " │ └─ ProcessTable\n" + 18747 " │ └─ Table\n" + 18748 " │ ├─ name: SZQWJ\n" + 18749 " │ └─ columns: [id gxlub ch3fr d237e jogi6]\n" + 18750 " └─ Trigger(CREATE TRIGGER SZQWJ_on_insert BEFORE INSERT ON SZQWJ\n" + 18751 " FOR EACH ROW\n" + 18752 " BEGIN\n" + 18753 " IF\n" + 18754 " (SELECT DZLIM FROM XOAOP WHERE id = NEW.CH3FR) NOT IN ('NER', 'BER', 'HR', 'MMR')\n" + 18755 " THEN\n" + 18756 " -- SET @custom_error_message = 'The ECUWU must be one of the following: ''NER'', ''BER'', ''HR'', ''MMR''.';\n" + 18757 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 18758 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The ECUWU must be one of the following: ''NER'', ''BER'', ''HR'', ''MMR''.';\n" + 18759 " END IF;\n" + 18760 " IF\n" + 18761 " NEW.D237E NOT IN (0, 1)\n" + 18762 " THEN\n" + 18763 " -- SET @custom_error_message = 'The D237E field must be either 0 or 1.';\n" + 18764 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 18765 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The D237E field must be either 0 or 1.';\n" + 18766 " END IF;\n" + 18767 " END//)\n" + 18768 " ├─ Project\n" + 18769 " │ ├─ columns: [id:0!null, GXLUB:1!null, CH3FR:2!null, D237E:3!null, JOGI6:4]\n" + 18770 " │ └─ Project\n" + 18771 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 18772 " │ │ ├─ cacheable: false\n" + 18773 " │ │ ├─ alias-string: select bs.id from THNTS as bs join YK2GW as cla on cla.id = bs.IXUXU where cla.FTQLQ = ums.T4IBQ\n" + 18774 " │ │ └─ Project\n" + 18775 " │ │ ├─ columns: [bs.id:12!null]\n" + 18776 " │ │ └─ Filter\n" + 18777 " │ │ ├─ Eq\n" + 18778 " │ │ │ ├─ cla.FTQLQ:15!null\n" + 18779 " │ │ │ └─ ums.T4IBQ:1\n" + 18780 " │ │ └─ MergeJoin\n" + 18781 " │ │ ├─ cmp: Eq\n" + 18782 " │ │ │ ├─ bs.IXUXU:13\n" + 18783 " │ │ │ └─ cla.id:14!null\n" + 18784 " │ │ ├─ TableAlias(bs)\n" + 18785 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 18786 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 18787 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 18788 " │ │ │ ├─ colSet: (14-17)\n" + 18789 " │ │ │ ├─ tableId: 3\n" + 18790 " │ │ │ └─ Table\n" + 18791 " │ │ │ ├─ name: THNTS\n" + 18792 " │ │ │ └─ columns: [id ixuxu]\n" + 18793 " │ │ └─ TableAlias(cla)\n" + 18794 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 18795 " │ │ ├─ index: [YK2GW.id]\n" + 18796 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 18797 " │ │ ├─ colSet: (18-47)\n" + 18798 " │ │ ├─ tableId: 4\n" + 18799 " │ │ └─ Table\n" + 18800 " │ │ ├─ name: YK2GW\n" + 18801 " │ │ └─ columns: [id ftqlq]\n" + 18802 " │ │ as GXLUB, Subquery\n" + 18803 " │ │ ├─ cacheable: true\n" + 18804 " │ │ ├─ alias-string: select id from XOAOP where DZLIM = 'BER'\n" + 18805 " │ │ └─ Project\n" + 18806 " │ │ ├─ columns: [xoaop.id:12!null]\n" + 18807 " │ │ └─ Filter\n" + 18808 " │ │ ├─ Eq\n" + 18809 " │ │ │ ├─ xoaop.DZLIM:13!null\n" + 18810 " │ │ │ └─ BER (longtext)\n" + 18811 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 18812 " │ │ ├─ index: [XOAOP.DZLIM]\n" + 18813 " │ │ ├─ static: [{[BER, BER]}]\n" + 18814 " │ │ ├─ colSet: (49-51)\n" + 18815 " │ │ ├─ tableId: 5\n" + 18816 " │ │ └─ Table\n" + 18817 " │ │ ├─ name: XOAOP\n" + 18818 " │ │ └─ columns: [id dzlim]\n" + 18819 " │ │ as CH3FR, CASE WHEN GreaterThan\n" + 18820 " │ │ ├─ ums.ber:3\n" + 18821 " │ │ └─ 0.5 (decimal(2,1))\n" + 18822 " │ │ THEN 1 (tinyint) WHEN LessThan\n" + 18823 " │ │ ├─ ums.ber:3\n" + 18824 " │ │ └─ 0.5 (decimal(2,1))\n" + 18825 " │ │ THEN 0 (tinyint) ELSE NULL (null) END as D237E, ums.id:0!null as JOGI6]\n" + 18826 " │ └─ Project\n" + 18827 " │ ├─ columns: [ums.id:0!null, ums.T4IBQ:1, ums.ner:2, ums.ber:3, ums.hr:4, ums.mmr:5, ums.QZ6VT:6, lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 18828 " │ │ ├─ cacheable: false\n" + 18829 " │ │ ├─ alias-string: select bs.id from THNTS as bs join YK2GW as cla on cla.id = bs.IXUXU where cla.FTQLQ = ums.T4IBQ\n" + 18830 " │ │ └─ Project\n" + 18831 " │ │ ├─ columns: [bs.id:7!null]\n" + 18832 " │ │ └─ Filter\n" + 18833 " │ │ ├─ Eq\n" + 18834 " │ │ │ ├─ cla.FTQLQ:10!null\n" + 18835 " │ │ │ └─ ums.T4IBQ:1\n" + 18836 " │ │ └─ MergeJoin\n" + 18837 " │ │ ├─ cmp: Eq\n" + 18838 " │ │ │ ├─ bs.IXUXU:8\n" + 18839 " │ │ │ └─ cla.id:9!null\n" + 18840 " │ │ ├─ TableAlias(bs)\n" + 18841 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 18842 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 18843 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 18844 " │ │ │ ├─ colSet: (14-17)\n" + 18845 " │ │ │ ├─ tableId: 3\n" + 18846 " │ │ │ └─ Table\n" + 18847 " │ │ │ ├─ name: THNTS\n" + 18848 " │ │ │ └─ columns: [id ixuxu]\n" + 18849 " │ │ └─ TableAlias(cla)\n" + 18850 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 18851 " │ │ ├─ index: [YK2GW.id]\n" + 18852 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 18853 " │ │ ├─ colSet: (18-47)\n" + 18854 " │ │ ├─ tableId: 4\n" + 18855 " │ │ └─ Table\n" + 18856 " │ │ ├─ name: YK2GW\n" + 18857 " │ │ └─ columns: [id ftqlq]\n" + 18858 " │ │ as GXLUB, Subquery\n" + 18859 " │ │ ├─ cacheable: true\n" + 18860 " │ │ ├─ alias-string: select id from XOAOP where DZLIM = 'BER'\n" + 18861 " │ │ └─ Project\n" + 18862 " │ │ ├─ columns: [xoaop.id:7!null]\n" + 18863 " │ │ └─ Filter\n" + 18864 " │ │ ├─ Eq\n" + 18865 " │ │ │ ├─ xoaop.DZLIM:8!null\n" + 18866 " │ │ │ └─ BER (longtext)\n" + 18867 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 18868 " │ │ ├─ index: [XOAOP.DZLIM]\n" + 18869 " │ │ ├─ static: [{[BER, BER]}]\n" + 18870 " │ │ ├─ colSet: (49-51)\n" + 18871 " │ │ ├─ tableId: 5\n" + 18872 " │ │ └─ Table\n" + 18873 " │ │ ├─ name: XOAOP\n" + 18874 " │ │ └─ columns: [id dzlim]\n" + 18875 " │ │ as CH3FR, CASE WHEN GreaterThan\n" + 18876 " │ │ ├─ ums.ber:3\n" + 18877 " │ │ └─ 0.5 (decimal(2,1))\n" + 18878 " │ │ THEN 1 (tinyint) WHEN LessThan\n" + 18879 " │ │ ├─ ums.ber:3\n" + 18880 " │ │ └─ 0.5 (decimal(2,1))\n" + 18881 " │ │ THEN 0 (tinyint) ELSE NULL (null) END as D237E, ums.id:0!null as JOGI6]\n" + 18882 " │ └─ Filter\n" + 18883 " │ ├─ HashIn\n" + 18884 " │ │ ├─ ums.id:0!null\n" + 18885 " │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 18886 " │ └─ TableAlias(ums)\n" + 18887 " │ └─ IndexedTableAccess(FG26Y)\n" + 18888 " │ ├─ index: [FG26Y.id]\n" + 18889 " │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 18890 " │ ├─ colSet: (6-12)\n" + 18891 " │ ├─ tableId: 2\n" + 18892 " │ └─ Table\n" + 18893 " │ ├─ name: FG26Y\n" + 18894 " │ └─ columns: [id t4ibq ner ber hr mmr qz6vt]\n" + 18895 " └─ BEGIN .. END\n" + 18896 " ├─ IF BLOCK\n" + 18897 " │ └─ IF(NOT\n" + 18898 " │ └─ IN\n" + 18899 " │ ├─ left: Subquery\n" + 18900 " │ │ ├─ cacheable: false\n" + 18901 " │ │ ├─ alias-string: select DZLIM from XOAOP where id = NEW.CH3FR\n" + 18902 " │ │ └─ Project\n" + 18903 " │ │ ├─ columns: [xoaop.DZLIM:6!null]\n" + 18904 " │ │ └─ Filter\n" + 18905 " │ │ ├─ Eq\n" + 18906 " │ │ │ ├─ xoaop.id:5!null\n" + 18907 " │ │ │ └─ new.CH3FR:2!null\n" + 18908 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 18909 " │ │ ├─ index: [XOAOP.id]\n" + 18910 " │ │ ├─ keys: [new.CH3FR:2!null]\n" + 18911 " │ │ ├─ colSet: (11-13)\n" + 18912 " │ │ ├─ tableId: 3\n" + 18913 " │ │ └─ Table\n" + 18914 " │ │ ├─ name: XOAOP\n" + 18915 " │ │ └─ columns: [id dzlim]\n" + 18916 " │ └─ right: TUPLE(NER (longtext), BER (longtext), HR (longtext), MMR (longtext))\n" + 18917 " │ )\n" + 18918 " │ └─ BLOCK\n" + 18919 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The ECUWU must be one of the following: 'NER', 'BER', 'HR', 'MMR'., MYSQL_ERRNO = 1644\n" + 18920 " └─ IF BLOCK\n" + 18921 " └─ IF(NOT\n" + 18922 " └─ IN\n" + 18923 " ├─ left: new.D237E:3!null\n" + 18924 " └─ right: TUPLE(0 (tinyint), 1 (tinyint))\n" + 18925 " )\n" + 18926 " └─ BLOCK\n" + 18927 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The D237E field must be either 0 or 1., MYSQL_ERRNO = 1644\n" + 18928 "", 18929 }, 18930 { 18931 Query: ` 18932 INSERT INTO SZQWJ 18933 (id, GXLUB, CH3FR, D237E, JOGI6) 18934 SELECT 18935 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 18936 (SELECT bs.id FROM THNTS bs INNER JOIN YK2GW cla ON cla.id = bs.IXUXU WHERE cla.FTQLQ = ums.T4IBQ) AS GXLUB, 18937 (SELECT id FROM XOAOP WHERE DZLIM = 'HR') AS CH3FR, 18938 CASE -- This ugly thing is because of Dolt's problematic conversion handling at insertions 18939 WHEN ums.hr > 0.5 THEN 1 18940 WHEN ums.hr < 0.5 THEN 0 18941 ELSE NULL 18942 END AS D237E, 18943 ums.id AS JOGI6 18944 FROM 18945 FG26Y ums 18946 WHERE 18947 ums.id IN ('1','2','3')`, 18948 ExpectedPlan: "TriggerRollback\n" + 18949 " └─ RowUpdateAccumulator\n" + 18950 " └─ Insert(id, GXLUB, CH3FR, D237E, JOGI6)\n" + 18951 " ├─ InsertDestination\n" + 18952 " │ └─ ProcessTable\n" + 18953 " │ └─ Table\n" + 18954 " │ ├─ name: SZQWJ\n" + 18955 " │ └─ columns: [id gxlub ch3fr d237e jogi6]\n" + 18956 " └─ Trigger(CREATE TRIGGER SZQWJ_on_insert BEFORE INSERT ON SZQWJ\n" + 18957 " FOR EACH ROW\n" + 18958 " BEGIN\n" + 18959 " IF\n" + 18960 " (SELECT DZLIM FROM XOAOP WHERE id = NEW.CH3FR) NOT IN ('NER', 'BER', 'HR', 'MMR')\n" + 18961 " THEN\n" + 18962 " -- SET @custom_error_message = 'The ECUWU must be one of the following: ''NER'', ''BER'', ''HR'', ''MMR''.';\n" + 18963 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 18964 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The ECUWU must be one of the following: ''NER'', ''BER'', ''HR'', ''MMR''.';\n" + 18965 " END IF;\n" + 18966 " IF\n" + 18967 " NEW.D237E NOT IN (0, 1)\n" + 18968 " THEN\n" + 18969 " -- SET @custom_error_message = 'The D237E field must be either 0 or 1.';\n" + 18970 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 18971 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The D237E field must be either 0 or 1.';\n" + 18972 " END IF;\n" + 18973 " END//)\n" + 18974 " ├─ Project\n" + 18975 " │ ├─ columns: [id:0!null, GXLUB:1!null, CH3FR:2!null, D237E:3!null, JOGI6:4]\n" + 18976 " │ └─ Project\n" + 18977 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 18978 " │ │ ├─ cacheable: false\n" + 18979 " │ │ ├─ alias-string: select bs.id from THNTS as bs join YK2GW as cla on cla.id = bs.IXUXU where cla.FTQLQ = ums.T4IBQ\n" + 18980 " │ │ └─ Project\n" + 18981 " │ │ ├─ columns: [bs.id:12!null]\n" + 18982 " │ │ └─ Filter\n" + 18983 " │ │ ├─ Eq\n" + 18984 " │ │ │ ├─ cla.FTQLQ:15!null\n" + 18985 " │ │ │ └─ ums.T4IBQ:1\n" + 18986 " │ │ └─ MergeJoin\n" + 18987 " │ │ ├─ cmp: Eq\n" + 18988 " │ │ │ ├─ bs.IXUXU:13\n" + 18989 " │ │ │ └─ cla.id:14!null\n" + 18990 " │ │ ├─ TableAlias(bs)\n" + 18991 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 18992 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 18993 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 18994 " │ │ │ ├─ colSet: (14-17)\n" + 18995 " │ │ │ ├─ tableId: 3\n" + 18996 " │ │ │ └─ Table\n" + 18997 " │ │ │ ├─ name: THNTS\n" + 18998 " │ │ │ └─ columns: [id ixuxu]\n" + 18999 " │ │ └─ TableAlias(cla)\n" + 19000 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 19001 " │ │ ├─ index: [YK2GW.id]\n" + 19002 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 19003 " │ │ ├─ colSet: (18-47)\n" + 19004 " │ │ ├─ tableId: 4\n" + 19005 " │ │ └─ Table\n" + 19006 " │ │ ├─ name: YK2GW\n" + 19007 " │ │ └─ columns: [id ftqlq]\n" + 19008 " │ │ as GXLUB, Subquery\n" + 19009 " │ │ ├─ cacheable: true\n" + 19010 " │ │ ├─ alias-string: select id from XOAOP where DZLIM = 'HR'\n" + 19011 " │ │ └─ Project\n" + 19012 " │ │ ├─ columns: [xoaop.id:12!null]\n" + 19013 " │ │ └─ Filter\n" + 19014 " │ │ ├─ Eq\n" + 19015 " │ │ │ ├─ xoaop.DZLIM:13!null\n" + 19016 " │ │ │ └─ HR (longtext)\n" + 19017 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 19018 " │ │ ├─ index: [XOAOP.DZLIM]\n" + 19019 " │ │ ├─ static: [{[HR, HR]}]\n" + 19020 " │ │ ├─ colSet: (49-51)\n" + 19021 " │ │ ├─ tableId: 5\n" + 19022 " │ │ └─ Table\n" + 19023 " │ │ ├─ name: XOAOP\n" + 19024 " │ │ └─ columns: [id dzlim]\n" + 19025 " │ │ as CH3FR, CASE WHEN GreaterThan\n" + 19026 " │ │ ├─ ums.hr:4\n" + 19027 " │ │ └─ 0.5 (decimal(2,1))\n" + 19028 " │ │ THEN 1 (tinyint) WHEN LessThan\n" + 19029 " │ │ ├─ ums.hr:4\n" + 19030 " │ │ └─ 0.5 (decimal(2,1))\n" + 19031 " │ │ THEN 0 (tinyint) ELSE NULL (null) END as D237E, ums.id:0!null as JOGI6]\n" + 19032 " │ └─ Project\n" + 19033 " │ ├─ columns: [ums.id:0!null, ums.T4IBQ:1, ums.ner:2, ums.ber:3, ums.hr:4, ums.mmr:5, ums.QZ6VT:6, lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 19034 " │ │ ├─ cacheable: false\n" + 19035 " │ │ ├─ alias-string: select bs.id from THNTS as bs join YK2GW as cla on cla.id = bs.IXUXU where cla.FTQLQ = ums.T4IBQ\n" + 19036 " │ │ └─ Project\n" + 19037 " │ │ ├─ columns: [bs.id:7!null]\n" + 19038 " │ │ └─ Filter\n" + 19039 " │ │ ├─ Eq\n" + 19040 " │ │ │ ├─ cla.FTQLQ:10!null\n" + 19041 " │ │ │ └─ ums.T4IBQ:1\n" + 19042 " │ │ └─ MergeJoin\n" + 19043 " │ │ ├─ cmp: Eq\n" + 19044 " │ │ │ ├─ bs.IXUXU:8\n" + 19045 " │ │ │ └─ cla.id:9!null\n" + 19046 " │ │ ├─ TableAlias(bs)\n" + 19047 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 19048 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 19049 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 19050 " │ │ │ ├─ colSet: (14-17)\n" + 19051 " │ │ │ ├─ tableId: 3\n" + 19052 " │ │ │ └─ Table\n" + 19053 " │ │ │ ├─ name: THNTS\n" + 19054 " │ │ │ └─ columns: [id ixuxu]\n" + 19055 " │ │ └─ TableAlias(cla)\n" + 19056 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 19057 " │ │ ├─ index: [YK2GW.id]\n" + 19058 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 19059 " │ │ ├─ colSet: (18-47)\n" + 19060 " │ │ ├─ tableId: 4\n" + 19061 " │ │ └─ Table\n" + 19062 " │ │ ├─ name: YK2GW\n" + 19063 " │ │ └─ columns: [id ftqlq]\n" + 19064 " │ │ as GXLUB, Subquery\n" + 19065 " │ │ ├─ cacheable: true\n" + 19066 " │ │ ├─ alias-string: select id from XOAOP where DZLIM = 'HR'\n" + 19067 " │ │ └─ Project\n" + 19068 " │ │ ├─ columns: [xoaop.id:7!null]\n" + 19069 " │ │ └─ Filter\n" + 19070 " │ │ ├─ Eq\n" + 19071 " │ │ │ ├─ xoaop.DZLIM:8!null\n" + 19072 " │ │ │ └─ HR (longtext)\n" + 19073 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 19074 " │ │ ├─ index: [XOAOP.DZLIM]\n" + 19075 " │ │ ├─ static: [{[HR, HR]}]\n" + 19076 " │ │ ├─ colSet: (49-51)\n" + 19077 " │ │ ├─ tableId: 5\n" + 19078 " │ │ └─ Table\n" + 19079 " │ │ ├─ name: XOAOP\n" + 19080 " │ │ └─ columns: [id dzlim]\n" + 19081 " │ │ as CH3FR, CASE WHEN GreaterThan\n" + 19082 " │ │ ├─ ums.hr:4\n" + 19083 " │ │ └─ 0.5 (decimal(2,1))\n" + 19084 " │ │ THEN 1 (tinyint) WHEN LessThan\n" + 19085 " │ │ ├─ ums.hr:4\n" + 19086 " │ │ └─ 0.5 (decimal(2,1))\n" + 19087 " │ │ THEN 0 (tinyint) ELSE NULL (null) END as D237E, ums.id:0!null as JOGI6]\n" + 19088 " │ └─ Filter\n" + 19089 " │ ├─ HashIn\n" + 19090 " │ │ ├─ ums.id:0!null\n" + 19091 " │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 19092 " │ └─ TableAlias(ums)\n" + 19093 " │ └─ IndexedTableAccess(FG26Y)\n" + 19094 " │ ├─ index: [FG26Y.id]\n" + 19095 " │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 19096 " │ ├─ colSet: (6-12)\n" + 19097 " │ ├─ tableId: 2\n" + 19098 " │ └─ Table\n" + 19099 " │ ├─ name: FG26Y\n" + 19100 " │ └─ columns: [id t4ibq ner ber hr mmr qz6vt]\n" + 19101 " └─ BEGIN .. END\n" + 19102 " ├─ IF BLOCK\n" + 19103 " │ └─ IF(NOT\n" + 19104 " │ └─ IN\n" + 19105 " │ ├─ left: Subquery\n" + 19106 " │ │ ├─ cacheable: false\n" + 19107 " │ │ ├─ alias-string: select DZLIM from XOAOP where id = NEW.CH3FR\n" + 19108 " │ │ └─ Project\n" + 19109 " │ │ ├─ columns: [xoaop.DZLIM:6!null]\n" + 19110 " │ │ └─ Filter\n" + 19111 " │ │ ├─ Eq\n" + 19112 " │ │ │ ├─ xoaop.id:5!null\n" + 19113 " │ │ │ └─ new.CH3FR:2!null\n" + 19114 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 19115 " │ │ ├─ index: [XOAOP.id]\n" + 19116 " │ │ ├─ keys: [new.CH3FR:2!null]\n" + 19117 " │ │ ├─ colSet: (11-13)\n" + 19118 " │ │ ├─ tableId: 3\n" + 19119 " │ │ └─ Table\n" + 19120 " │ │ ├─ name: XOAOP\n" + 19121 " │ │ └─ columns: [id dzlim]\n" + 19122 " │ └─ right: TUPLE(NER (longtext), BER (longtext), HR (longtext), MMR (longtext))\n" + 19123 " │ )\n" + 19124 " │ └─ BLOCK\n" + 19125 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The ECUWU must be one of the following: 'NER', 'BER', 'HR', 'MMR'., MYSQL_ERRNO = 1644\n" + 19126 " └─ IF BLOCK\n" + 19127 " └─ IF(NOT\n" + 19128 " └─ IN\n" + 19129 " ├─ left: new.D237E:3!null\n" + 19130 " └─ right: TUPLE(0 (tinyint), 1 (tinyint))\n" + 19131 " )\n" + 19132 " └─ BLOCK\n" + 19133 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The D237E field must be either 0 or 1., MYSQL_ERRNO = 1644\n" + 19134 "", 19135 }, 19136 { 19137 Query: ` 19138 INSERT INTO SZQWJ 19139 (id, GXLUB, CH3FR, D237E, JOGI6) 19140 SELECT 19141 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 19142 (SELECT bs.id FROM THNTS bs INNER JOIN YK2GW cla ON cla.id = bs.IXUXU WHERE cla.FTQLQ = ums.T4IBQ) AS GXLUB, 19143 (SELECT id FROM XOAOP WHERE DZLIM = 'MMR') AS CH3FR, 19144 CASE -- This ugly thing is because of Dolt's problematic conversion handling at insertions 19145 WHEN ums.mmr > 0.5 THEN 1 19146 WHEN ums.mmr < 0.5 THEN 0 19147 ELSE NULL 19148 END AS D237E, 19149 ums.id AS JOGI6 19150 FROM 19151 FG26Y ums 19152 WHERE 19153 ums.id IN ('1','2','3')`, 19154 ExpectedPlan: "TriggerRollback\n" + 19155 " └─ RowUpdateAccumulator\n" + 19156 " └─ Insert(id, GXLUB, CH3FR, D237E, JOGI6)\n" + 19157 " ├─ InsertDestination\n" + 19158 " │ └─ ProcessTable\n" + 19159 " │ └─ Table\n" + 19160 " │ ├─ name: SZQWJ\n" + 19161 " │ └─ columns: [id gxlub ch3fr d237e jogi6]\n" + 19162 " └─ Trigger(CREATE TRIGGER SZQWJ_on_insert BEFORE INSERT ON SZQWJ\n" + 19163 " FOR EACH ROW\n" + 19164 " BEGIN\n" + 19165 " IF\n" + 19166 " (SELECT DZLIM FROM XOAOP WHERE id = NEW.CH3FR) NOT IN ('NER', 'BER', 'HR', 'MMR')\n" + 19167 " THEN\n" + 19168 " -- SET @custom_error_message = 'The ECUWU must be one of the following: ''NER'', ''BER'', ''HR'', ''MMR''.';\n" + 19169 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 19170 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The ECUWU must be one of the following: ''NER'', ''BER'', ''HR'', ''MMR''.';\n" + 19171 " END IF;\n" + 19172 " IF\n" + 19173 " NEW.D237E NOT IN (0, 1)\n" + 19174 " THEN\n" + 19175 " -- SET @custom_error_message = 'The D237E field must be either 0 or 1.';\n" + 19176 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 19177 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The D237E field must be either 0 or 1.';\n" + 19178 " END IF;\n" + 19179 " END//)\n" + 19180 " ├─ Project\n" + 19181 " │ ├─ columns: [id:0!null, GXLUB:1!null, CH3FR:2!null, D237E:3!null, JOGI6:4]\n" + 19182 " │ └─ Project\n" + 19183 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 19184 " │ │ ├─ cacheable: false\n" + 19185 " │ │ ├─ alias-string: select bs.id from THNTS as bs join YK2GW as cla on cla.id = bs.IXUXU where cla.FTQLQ = ums.T4IBQ\n" + 19186 " │ │ └─ Project\n" + 19187 " │ │ ├─ columns: [bs.id:12!null]\n" + 19188 " │ │ └─ Filter\n" + 19189 " │ │ ├─ Eq\n" + 19190 " │ │ │ ├─ cla.FTQLQ:15!null\n" + 19191 " │ │ │ └─ ums.T4IBQ:1\n" + 19192 " │ │ └─ MergeJoin\n" + 19193 " │ │ ├─ cmp: Eq\n" + 19194 " │ │ │ ├─ bs.IXUXU:13\n" + 19195 " │ │ │ └─ cla.id:14!null\n" + 19196 " │ │ ├─ TableAlias(bs)\n" + 19197 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 19198 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 19199 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 19200 " │ │ │ ├─ colSet: (14-17)\n" + 19201 " │ │ │ ├─ tableId: 3\n" + 19202 " │ │ │ └─ Table\n" + 19203 " │ │ │ ├─ name: THNTS\n" + 19204 " │ │ │ └─ columns: [id ixuxu]\n" + 19205 " │ │ └─ TableAlias(cla)\n" + 19206 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 19207 " │ │ ├─ index: [YK2GW.id]\n" + 19208 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 19209 " │ │ ├─ colSet: (18-47)\n" + 19210 " │ │ ├─ tableId: 4\n" + 19211 " │ │ └─ Table\n" + 19212 " │ │ ├─ name: YK2GW\n" + 19213 " │ │ └─ columns: [id ftqlq]\n" + 19214 " │ │ as GXLUB, Subquery\n" + 19215 " │ │ ├─ cacheable: true\n" + 19216 " │ │ ├─ alias-string: select id from XOAOP where DZLIM = 'MMR'\n" + 19217 " │ │ └─ Project\n" + 19218 " │ │ ├─ columns: [xoaop.id:12!null]\n" + 19219 " │ │ └─ Filter\n" + 19220 " │ │ ├─ Eq\n" + 19221 " │ │ │ ├─ xoaop.DZLIM:13!null\n" + 19222 " │ │ │ └─ MMR (longtext)\n" + 19223 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 19224 " │ │ ├─ index: [XOAOP.DZLIM]\n" + 19225 " │ │ ├─ static: [{[MMR, MMR]}]\n" + 19226 " │ │ ├─ colSet: (49-51)\n" + 19227 " │ │ ├─ tableId: 5\n" + 19228 " │ │ └─ Table\n" + 19229 " │ │ ├─ name: XOAOP\n" + 19230 " │ │ └─ columns: [id dzlim]\n" + 19231 " │ │ as CH3FR, CASE WHEN GreaterThan\n" + 19232 " │ │ ├─ ums.mmr:5\n" + 19233 " │ │ └─ 0.5 (decimal(2,1))\n" + 19234 " │ │ THEN 1 (tinyint) WHEN LessThan\n" + 19235 " │ │ ├─ ums.mmr:5\n" + 19236 " │ │ └─ 0.5 (decimal(2,1))\n" + 19237 " │ │ THEN 0 (tinyint) ELSE NULL (null) END as D237E, ums.id:0!null as JOGI6]\n" + 19238 " │ └─ Project\n" + 19239 " │ ├─ columns: [ums.id:0!null, ums.T4IBQ:1, ums.ner:2, ums.ber:3, ums.hr:4, ums.mmr:5, ums.QZ6VT:6, lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 19240 " │ │ ├─ cacheable: false\n" + 19241 " │ │ ├─ alias-string: select bs.id from THNTS as bs join YK2GW as cla on cla.id = bs.IXUXU where cla.FTQLQ = ums.T4IBQ\n" + 19242 " │ │ └─ Project\n" + 19243 " │ │ ├─ columns: [bs.id:7!null]\n" + 19244 " │ │ └─ Filter\n" + 19245 " │ │ ├─ Eq\n" + 19246 " │ │ │ ├─ cla.FTQLQ:10!null\n" + 19247 " │ │ │ └─ ums.T4IBQ:1\n" + 19248 " │ │ └─ MergeJoin\n" + 19249 " │ │ ├─ cmp: Eq\n" + 19250 " │ │ │ ├─ bs.IXUXU:8\n" + 19251 " │ │ │ └─ cla.id:9!null\n" + 19252 " │ │ ├─ TableAlias(bs)\n" + 19253 " │ │ │ └─ IndexedTableAccess(THNTS)\n" + 19254 " │ │ │ ├─ index: [THNTS.IXUXU]\n" + 19255 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 19256 " │ │ │ ├─ colSet: (14-17)\n" + 19257 " │ │ │ ├─ tableId: 3\n" + 19258 " │ │ │ └─ Table\n" + 19259 " │ │ │ ├─ name: THNTS\n" + 19260 " │ │ │ └─ columns: [id ixuxu]\n" + 19261 " │ │ └─ TableAlias(cla)\n" + 19262 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 19263 " │ │ ├─ index: [YK2GW.id]\n" + 19264 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 19265 " │ │ ├─ colSet: (18-47)\n" + 19266 " │ │ ├─ tableId: 4\n" + 19267 " │ │ └─ Table\n" + 19268 " │ │ ├─ name: YK2GW\n" + 19269 " │ │ └─ columns: [id ftqlq]\n" + 19270 " │ │ as GXLUB, Subquery\n" + 19271 " │ │ ├─ cacheable: true\n" + 19272 " │ │ ├─ alias-string: select id from XOAOP where DZLIM = 'MMR'\n" + 19273 " │ │ └─ Project\n" + 19274 " │ │ ├─ columns: [xoaop.id:7!null]\n" + 19275 " │ │ └─ Filter\n" + 19276 " │ │ ├─ Eq\n" + 19277 " │ │ │ ├─ xoaop.DZLIM:8!null\n" + 19278 " │ │ │ └─ MMR (longtext)\n" + 19279 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 19280 " │ │ ├─ index: [XOAOP.DZLIM]\n" + 19281 " │ │ ├─ static: [{[MMR, MMR]}]\n" + 19282 " │ │ ├─ colSet: (49-51)\n" + 19283 " │ │ ├─ tableId: 5\n" + 19284 " │ │ └─ Table\n" + 19285 " │ │ ├─ name: XOAOP\n" + 19286 " │ │ └─ columns: [id dzlim]\n" + 19287 " │ │ as CH3FR, CASE WHEN GreaterThan\n" + 19288 " │ │ ├─ ums.mmr:5\n" + 19289 " │ │ └─ 0.5 (decimal(2,1))\n" + 19290 " │ │ THEN 1 (tinyint) WHEN LessThan\n" + 19291 " │ │ ├─ ums.mmr:5\n" + 19292 " │ │ └─ 0.5 (decimal(2,1))\n" + 19293 " │ │ THEN 0 (tinyint) ELSE NULL (null) END as D237E, ums.id:0!null as JOGI6]\n" + 19294 " │ └─ Filter\n" + 19295 " │ ├─ HashIn\n" + 19296 " │ │ ├─ ums.id:0!null\n" + 19297 " │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 19298 " │ └─ TableAlias(ums)\n" + 19299 " │ └─ IndexedTableAccess(FG26Y)\n" + 19300 " │ ├─ index: [FG26Y.id]\n" + 19301 " │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 19302 " │ ├─ colSet: (6-12)\n" + 19303 " │ ├─ tableId: 2\n" + 19304 " │ └─ Table\n" + 19305 " │ ├─ name: FG26Y\n" + 19306 " │ └─ columns: [id t4ibq ner ber hr mmr qz6vt]\n" + 19307 " └─ BEGIN .. END\n" + 19308 " ├─ IF BLOCK\n" + 19309 " │ └─ IF(NOT\n" + 19310 " │ └─ IN\n" + 19311 " │ ├─ left: Subquery\n" + 19312 " │ │ ├─ cacheable: false\n" + 19313 " │ │ ├─ alias-string: select DZLIM from XOAOP where id = NEW.CH3FR\n" + 19314 " │ │ └─ Project\n" + 19315 " │ │ ├─ columns: [xoaop.DZLIM:6!null]\n" + 19316 " │ │ └─ Filter\n" + 19317 " │ │ ├─ Eq\n" + 19318 " │ │ │ ├─ xoaop.id:5!null\n" + 19319 " │ │ │ └─ new.CH3FR:2!null\n" + 19320 " │ │ └─ IndexedTableAccess(XOAOP)\n" + 19321 " │ │ ├─ index: [XOAOP.id]\n" + 19322 " │ │ ├─ keys: [new.CH3FR:2!null]\n" + 19323 " │ │ ├─ colSet: (11-13)\n" + 19324 " │ │ ├─ tableId: 3\n" + 19325 " │ │ └─ Table\n" + 19326 " │ │ ├─ name: XOAOP\n" + 19327 " │ │ └─ columns: [id dzlim]\n" + 19328 " │ └─ right: TUPLE(NER (longtext), BER (longtext), HR (longtext), MMR (longtext))\n" + 19329 " │ )\n" + 19330 " │ └─ BLOCK\n" + 19331 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The ECUWU must be one of the following: 'NER', 'BER', 'HR', 'MMR'., MYSQL_ERRNO = 1644\n" + 19332 " └─ IF BLOCK\n" + 19333 " └─ IF(NOT\n" + 19334 " └─ IN\n" + 19335 " ├─ left: new.D237E:3!null\n" + 19336 " └─ right: TUPLE(0 (tinyint), 1 (tinyint))\n" + 19337 " )\n" + 19338 " └─ BLOCK\n" + 19339 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The D237E field must be either 0 or 1., MYSQL_ERRNO = 1644\n" + 19340 "", 19341 }, 19342 { 19343 Query: ` 19344 INSERT INTO TPXBU 19345 (id, BTXC5, FHCYT) 19346 SELECT 19347 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 19348 NCVD2.BTXC5 AS BTXC5, 19349 NULL AS FHCYT 19350 FROM 19351 ( 19352 SELECT DISTINCT 19353 umf.SYPKF AS BTXC5 19354 FROM 19355 NZKPM umf 19356 WHERE 19357 umf.SYPKF NOT IN (SELECT BTXC5 FROM TPXBU WHERE BTXC5 IS NOT NULL) 19358 AND 19359 umf.SYPKF IS NOT NULL 19360 AND 19361 umf.SYPKF <> 'N/A' 19362 AND 19363 umf.id IN ('1','2','3') 19364 ) NCVD2`, 19365 ExpectedPlan: "TriggerRollback\n" + 19366 " └─ RowUpdateAccumulator\n" + 19367 " └─ Insert(id, BTXC5, FHCYT)\n" + 19368 " ├─ InsertDestination\n" + 19369 " │ └─ ProcessTable\n" + 19370 " │ └─ Table\n" + 19371 " │ ├─ name: TPXBU\n" + 19372 " │ └─ columns: [id btxc5 fhcyt]\n" + 19373 " └─ Trigger(CREATE TRIGGER TPXBU_on_insert BEFORE INSERT ON TPXBU\n" + 19374 " FOR EACH ROW\n" + 19375 " BEGIN\n" + 19376 " IF\n" + 19377 " NEW.BTXC5 IN (SELECT SVAZ4 FROM TPXHZ)\n" + 19378 " THEN\n" + 19379 " -- SET @custom_error_message = (SELECT error_message FROM trigger_helper_error_message WHERE DZLIM = 'SVAZ4');\n" + 19380 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 19381 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'String field contains invalid value, like empty string, ''none'', ''null'', ''n/a'', ''nan'' etc.';\n" + 19382 " END IF;\n" + 19383 " END//)\n" + 19384 " ├─ Project\n" + 19385 " │ ├─ columns: [id:0!null, BTXC5:1, FHCYT:2]\n" + 19386 " │ └─ Project\n" + 19387 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, ncvd2.BTXC5:0 as BTXC5, NULL (null) as FHCYT]\n" + 19388 " │ └─ SubqueryAlias\n" + 19389 " │ ├─ name: ncvd2\n" + 19390 " │ ├─ outerVisibility: false\n" + 19391 " │ ├─ isLateral: false\n" + 19392 " │ ├─ cacheable: true\n" + 19393 " │ ├─ colSet: (33)\n" + 19394 " │ ├─ tableId: 4\n" + 19395 " │ └─ Distinct\n" + 19396 " │ └─ Project\n" + 19397 " │ ├─ columns: [umf.SYPKF:8 as BTXC5]\n" + 19398 " │ └─ Filter\n" + 19399 " │ ├─ AND\n" + 19400 " │ │ ├─ AND\n" + 19401 " │ │ │ ├─ AND\n" + 19402 " │ │ │ │ ├─ NOT\n" + 19403 " │ │ │ │ │ └─ InSubquery\n" + 19404 " │ │ │ │ │ ├─ left: umf.SYPKF:8\n" + 19405 " │ │ │ │ │ └─ right: Subquery\n" + 19406 " │ │ │ │ │ ├─ cacheable: true\n" + 19407 " │ │ │ │ │ ├─ alias-string: select BTXC5 from TPXBU where BTXC5 is not null\n" + 19408 " │ │ │ │ │ └─ IndexedTableAccess(TPXBU)\n" + 19409 " │ │ │ │ │ ├─ index: [TPXBU.BTXC5]\n" + 19410 " │ │ │ │ │ ├─ static: [{(NULL, ∞)}]\n" + 19411 " │ │ │ │ │ ├─ colSet: (29-31)\n" + 19412 " │ │ │ │ │ ├─ tableId: 3\n" + 19413 " │ │ │ │ │ └─ Table\n" + 19414 " │ │ │ │ │ ├─ name: TPXBU\n" + 19415 " │ │ │ │ │ └─ columns: [btxc5]\n" + 19416 " │ │ │ │ └─ NOT\n" + 19417 " │ │ │ │ └─ umf.SYPKF:8 IS NULL\n" + 19418 " │ │ │ └─ NOT\n" + 19419 " │ │ │ └─ Eq\n" + 19420 " │ │ │ ├─ umf.SYPKF:8\n" + 19421 " │ │ │ └─ N/A (longtext)\n" + 19422 " │ │ └─ HashIn\n" + 19423 " │ │ ├─ umf.id:0!null\n" + 19424 " │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 19425 " │ └─ TableAlias(umf)\n" + 19426 " │ └─ IndexedTableAccess(NZKPM)\n" + 19427 " │ ├─ index: [NZKPM.id]\n" + 19428 " │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 19429 " │ ├─ colSet: (4-28)\n" + 19430 " │ ├─ tableId: 2\n" + 19431 " │ └─ Table\n" + 19432 " │ ├─ name: NZKPM\n" + 19433 " │ └─ columns: [id t4ibq fgg57 sshpj nla6o sfj6l tjpt7 arn5p sypkf ivfmk ide43 az6sp fsdy2 xosd4 hmw4h s76om vaf zroh6 qcgts lnfm6 tvawl hdlcl bhhw6 fhcyt qz6vt]\n" + 19434 " └─ BEGIN .. END\n" + 19435 " └─ IF BLOCK\n" + 19436 " └─ IF(InSubquery\n" + 19437 " ├─ left: new.BTXC5:1\n" + 19438 " └─ right: Subquery\n" + 19439 " ├─ cacheable: false\n" + 19440 " ├─ alias-string: select SVAZ4 from TPXHZ\n" + 19441 " └─ Table\n" + 19442 " ├─ name: TPXHZ\n" + 19443 " ├─ columns: [svaz4]\n" + 19444 " ├─ colSet: (7,8)\n" + 19445 " └─ tableId: 3\n" + 19446 " )\n" + 19447 " └─ BLOCK\n" + 19448 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = String field contains invalid value, like empty string, 'none', 'null', 'n/a', 'nan' etc., MYSQL_ERRNO = 1644\n" + 19449 "", 19450 }, 19451 { 19452 Query: ` 19453 INSERT INTO HGMQ6 19454 (id, GXLUB, LUEVY, M22QN, TJPT7, ARN5P, XOSD4, IDE43, HMW4H, ZBT6R, FSDY2, LT7K6, SPPYD, QCGTS, TEUJA, QQV4M, FHCYT) 19455 SELECT 19456 umf.id AS id, 19457 bs.id AS GXLUB, 19458 CASE 19459 WHEN TJ5D2.id IS NOT NULL THEN (SELECT nd_for_id_overridden.id FROM E2I7U nd_for_id_overridden WHERE nd_for_id_overridden.TW55N = TJ5D2.H4DMT) 19460 ELSE (SELECT nd_for_id.id FROM E2I7U nd_for_id WHERE nd_for_id.FGG57 IS NOT NULL AND nd_for_id.FGG57 = umf.FGG57) 19461 END AS LUEVY, 19462 CASE 19463 WHEN umf.SYPKF = 'N/A' THEN (SELECT id FROM TPXBU WHERE BTXC5 IS NULL) 19464 ELSE (SELECT aac.id FROM TPXBU aac WHERE aac.BTXC5 = umf.SYPKF) 19465 END AS M22QN, 19466 umf.TJPT7 AS TJPT7, 19467 umf.ARN5P AS ARN5P, 19468 umf.XOSD4 AS XOSD4, 19469 umf.IDE43 AS IDE43, 19470 CASE 19471 WHEN umf.HMW4H <> 'N/A' THEN umf.HMW4H 19472 ELSE NULL 19473 END AS HMW4H, 19474 CASE 19475 WHEN umf.S76OM <> 'N/A' THEN (umf.S76OM + 0) 19476 ELSE NULL 19477 END AS ZBT6R, 19478 CASE 19479 WHEN umf.FSDY2 <> 'N/A' THEN umf.FSDY2 19480 ELSE 'VUS' 19481 END AS FSDY2, 19482 CASE 19483 WHEN umf.vaf <> '' THEN (umf.vaf + 0.0) 19484 ELSE NULL 19485 END AS LT7K6, 19486 CASE 19487 WHEN umf.ZROH6 <> '' THEN (umf.ZROH6 + 0.0) 19488 ELSE NULL 19489 END AS SPPYD, 19490 CASE 19491 WHEN umf.QCGTS <> '' THEN (umf.QCGTS + 0.0) 19492 ELSE NULL 19493 END AS QCGTS, 19494 umf.id AS TEUJA, 19495 TJ5D2.id AS QQV4M, 19496 umf.FHCYT AS FHCYT 19497 FROM 19498 (SELECT 19499 * 19500 FROM 19501 NZKPM 19502 WHERE 19503 id IN ('1','2','3') 19504 AND ARN5P <> 'N/A' 19505 AND T4IBQ IN (SELECT FTQLQ FROM YK2GW) 19506 AND FGG57 IN (SELECT FGG57 FROM E2I7U WHERE FGG57 IS NOT NULL) 19507 ) umf 19508 LEFT JOIN 19509 SZW6V TJ5D2 19510 ON 19511 TJ5D2.SWCQV = 0 -- Override is turned on 19512 AND 19513 TJ5D2.T4IBQ = umf.T4IBQ 19514 AND 19515 TJ5D2.V7UFH = umf.FGG57 19516 AND 19517 TJ5D2.SYPKF = umf.SYPKF 19518 INNER JOIN YK2GW cla ON umf.T4IBQ = cla.FTQLQ 19519 INNER JOIN THNTS bs ON cla.id = bs.IXUXU`, 19520 ExpectedPlan: "TriggerRollback\n" + 19521 " └─ RowUpdateAccumulator\n" + 19522 " └─ Insert(id, GXLUB, LUEVY, M22QN, TJPT7, ARN5P, XOSD4, IDE43, HMW4H, ZBT6R, FSDY2, LT7K6, SPPYD, QCGTS, TEUJA, QQV4M, FHCYT)\n" + 19523 " ├─ InsertDestination\n" + 19524 " │ └─ ProcessTable\n" + 19525 " │ └─ Table\n" + 19526 " │ ├─ name: HGMQ6\n" + 19527 " │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 19528 " └─ Trigger(CREATE TRIGGER HGMQ6_on_insert BEFORE INSERT ON HGMQ6\n" + 19529 " FOR EACH ROW\n" + 19530 " BEGIN\n" + 19531 " IF\n" + 19532 " NEW.TJPT7 IN (SELECT SVAZ4 FROM TPXHZ)\n" + 19533 " OR\n" + 19534 " NEW.ARN5P IN (SELECT SVAZ4 FROM TPXHZ)\n" + 19535 " OR\n" + 19536 " NEW.XOSD4 IN (SELECT SVAZ4 FROM TPXHZ)\n" + 19537 " OR\n" + 19538 " NEW.IDE43 IN (SELECT SVAZ4 FROM TPXHZ)\n" + 19539 " OR\n" + 19540 " NEW.HMW4H IN (SELECT SVAZ4 FROM TPXHZ)\n" + 19541 " THEN\n" + 19542 " -- SET @custom_error_message = (SELECT error_message FROM trigger_helper_error_message WHERE DZLIM = 'SVAZ4');\n" + 19543 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 19544 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'String field contains invalid value, like empty string, ''none'', ''null'', ''n/a'', ''nan'' etc.';\n" + 19545 " END IF;\n" + 19546 " IF\n" + 19547 " NEW.FSDY2 NOT IN ('benign', 'VUS', 'SRARY', 'UBQWG')\n" + 19548 " THEN\n" + 19549 " -- SET @custom_error_message = 'FSDY2 must be either ''benign'', ''VUS'', ''SRARY'' or ''UBQWG''.';\n" + 19550 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 19551 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'FSDY2 must be either ''benign'', ''VUS'', ''SRARY'' or ''UBQWG''.';\n" + 19552 " END IF;\n" + 19553 " IF NEW.LT7K6 IS NOT NULL AND NEW.SPPYD IS NOT NULL\n" + 19554 " THEN\n" + 19555 " -- SET @custom_error_message = 'If LT7K6 has value, SPPYD must be NULL.';\n" + 19556 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 19557 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'If LT7K6 has value, SPPYD must be NULL.';\n" + 19558 " END IF;\n" + 19559 " IF NEW.LT7K6 IS NULL AND (NEW.SPPYD IS NULL OR NEW.SPPYD <> 0.5)\n" + 19560 " THEN\n" + 19561 " -- SET @custom_error_message = 'If LT7K6 does not have value, SPPYD must be 0.5.';\n" + 19562 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 19563 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'If LT7K6 does not have value, SPPYD must be 0.5.';\n" + 19564 " END IF;\n" + 19565 " END//)\n" + 19566 " ├─ Project\n" + 19567 " │ ├─ columns: [id:0!null, GXLUB:1!null, LUEVY:2!null, M22QN:3!null, TJPT7:4!null, ARN5P:5!null, XOSD4:6!null, IDE43:7, HMW4H:8, ZBT6R:9, FSDY2:10!null, LT7K6:11, SPPYD:12, QCGTS:13, TEUJA:14, QQV4M:15, FHCYT:16]\n" + 19568 " │ └─ Project\n" + 19569 " │ ├─ columns: [umf.id:0!null as id, bs.id:63!null as GXLUB, CASE WHEN NOT\n" + 19570 " │ │ └─ tj5d2.id:25!null IS NULL\n" + 19571 " │ │ THEN Subquery\n" + 19572 " │ │ ├─ cacheable: false\n" + 19573 " │ │ ├─ alias-string: select nd_for_id_overridden.id from E2I7U as nd_for_id_overridden where nd_for_id_overridden.TW55N = TJ5D2.H4DMT\n" + 19574 " │ │ └─ Project\n" + 19575 " │ │ ├─ columns: [nd_for_id_overridden.id:84!null]\n" + 19576 " │ │ └─ Filter\n" + 19577 " │ │ ├─ Eq\n" + 19578 " │ │ │ ├─ nd_for_id_overridden.TW55N:85!null\n" + 19579 " │ │ │ └─ tj5d2.H4DMT:29!null\n" + 19580 " │ │ └─ TableAlias(nd_for_id_overridden)\n" + 19581 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 19582 " │ │ ├─ index: [E2I7U.TW55N]\n" + 19583 " │ │ ├─ keys: [tj5d2.H4DMT:29!null]\n" + 19584 " │ │ ├─ colSet: (159-175)\n" + 19585 " │ │ ├─ tableId: 9\n" + 19586 " │ │ └─ Table\n" + 19587 " │ │ ├─ name: E2I7U\n" + 19588 " │ │ └─ columns: [id tw55n]\n" + 19589 " │ │ ELSE Subquery\n" + 19590 " │ │ ├─ cacheable: false\n" + 19591 " │ │ ├─ alias-string: select nd_for_id.id from E2I7U as nd_for_id where nd_for_id.FGG57 is not null and nd_for_id.FGG57 = umf.FGG57\n" + 19592 " │ │ └─ Project\n" + 19593 " │ │ ├─ columns: [nd_for_id.id:84!null]\n" + 19594 " │ │ └─ Filter\n" + 19595 " │ │ ├─ Eq\n" + 19596 " │ │ │ ├─ nd_for_id.FGG57:85\n" + 19597 " │ │ │ └─ umf.FGG57:2\n" + 19598 " │ │ └─ TableAlias(nd_for_id)\n" + 19599 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 19600 " │ │ ├─ index: [E2I7U.FGG57]\n" + 19601 " │ │ ├─ static: [{(NULL, ∞)}]\n" + 19602 " │ │ ├─ colSet: (176-192)\n" + 19603 " │ │ ├─ tableId: 10\n" + 19604 " │ │ └─ Table\n" + 19605 " │ │ ├─ name: E2I7U\n" + 19606 " │ │ └─ columns: [id fgg57]\n" + 19607 " │ │ END as LUEVY, CASE WHEN Eq\n" + 19608 " │ │ ├─ umf.SYPKF:8\n" + 19609 " │ │ └─ N/A (longtext)\n" + 19610 " │ │ THEN Subquery\n" + 19611 " │ │ ├─ cacheable: true\n" + 19612 " │ │ ├─ alias-string: select id from TPXBU where BTXC5 is null\n" + 19613 " │ │ └─ Project\n" + 19614 " │ │ ├─ columns: [tpxbu.id:84!null]\n" + 19615 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 19616 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 19617 " │ │ ├─ static: [{[NULL, NULL]}]\n" + 19618 " │ │ ├─ colSet: (194-196)\n" + 19619 " │ │ ├─ tableId: 11\n" + 19620 " │ │ └─ Table\n" + 19621 " │ │ ├─ name: TPXBU\n" + 19622 " │ │ └─ columns: [id btxc5]\n" + 19623 " │ │ ELSE Subquery\n" + 19624 " │ │ ├─ cacheable: false\n" + 19625 " │ │ ├─ alias-string: select aac.id from TPXBU as aac where aac.BTXC5 = umf.SYPKF\n" + 19626 " │ │ └─ Project\n" + 19627 " │ │ ├─ columns: [aac.id:84!null]\n" + 19628 " │ │ └─ Filter\n" + 19629 " │ │ ├─ Eq\n" + 19630 " │ │ │ ├─ aac.BTXC5:85\n" + 19631 " │ │ │ └─ umf.SYPKF:8\n" + 19632 " │ │ └─ TableAlias(aac)\n" + 19633 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 19634 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 19635 " │ │ ├─ keys: [umf.SYPKF:8]\n" + 19636 " │ │ ├─ colSet: (197-199)\n" + 19637 " │ │ ├─ tableId: 12\n" + 19638 " │ │ └─ Table\n" + 19639 " │ │ ├─ name: TPXBU\n" + 19640 " │ │ └─ columns: [id btxc5]\n" + 19641 " │ │ END as M22QN, umf.TJPT7:6 as TJPT7, umf.ARN5P:7 as ARN5P, umf.XOSD4:13 as XOSD4, umf.IDE43:10 as IDE43, CASE WHEN NOT\n" + 19642 " │ │ └─ Eq\n" + 19643 " │ │ ├─ umf.HMW4H:14\n" + 19644 " │ │ └─ N/A (longtext)\n" + 19645 " │ │ THEN umf.HMW4H:14 ELSE NULL (null) END as HMW4H, CASE WHEN NOT\n" + 19646 " │ │ └─ Eq\n" + 19647 " │ │ ├─ umf.S76OM:15\n" + 19648 " │ │ └─ N/A (longtext)\n" + 19649 " │ │ THEN (umf.S76OM:15 + 0 (tinyint)) ELSE NULL (null) END as ZBT6R, CASE WHEN NOT\n" + 19650 " │ │ └─ Eq\n" + 19651 " │ │ ├─ umf.FSDY2:12\n" + 19652 " │ │ └─ N/A (longtext)\n" + 19653 " │ │ THEN umf.FSDY2:12 ELSE VUS (longtext) END as FSDY2, CASE WHEN NOT\n" + 19654 " │ │ └─ Eq\n" + 19655 " │ │ ├─ umf.vaf:16\n" + 19656 " │ │ └─ (longtext)\n" + 19657 " │ │ THEN (umf.vaf:16 + 0 (decimal(2,1))) ELSE NULL (null) END as LT7K6, CASE WHEN NOT\n" + 19658 " │ │ └─ Eq\n" + 19659 " │ │ ├─ umf.ZROH6:17\n" + 19660 " │ │ └─ (longtext)\n" + 19661 " │ │ THEN (umf.ZROH6:17 + 0 (decimal(2,1))) ELSE NULL (null) END as SPPYD, CASE WHEN NOT\n" + 19662 " │ │ └─ Eq\n" + 19663 " │ │ ├─ umf.QCGTS:18\n" + 19664 " │ │ └─ (longtext)\n" + 19665 " │ │ THEN (umf.QCGTS:18 + 0 (decimal(2,1))) ELSE NULL (null) END as QCGTS, umf.id:0!null as TEUJA, tj5d2.id:25!null as QQV4M, umf.FHCYT:23 as FHCYT]\n" + 19666 " │ └─ Project\n" + 19667 " │ ├─ columns: [umf.id:0!null, umf.T4IBQ:1, umf.FGG57:2, umf.SSHPJ:3, umf.NLA6O:4, umf.SFJ6L:5, umf.TJPT7:6, umf.ARN5P:7, umf.SYPKF:8, umf.IVFMK:9, umf.IDE43:10, umf.AZ6SP:11, umf.FSDY2:12, umf.XOSD4:13, umf.HMW4H:14, umf.S76OM:15, umf.vaf:16, umf.ZROH6:17, umf.QCGTS:18, umf.LNFM6:19, umf.TVAWL:20, umf.HDLCL:21, umf.BHHW6:22, umf.FHCYT:23, umf.QZ6VT:24, tj5d2.id:25!null, tj5d2.T4IBQ:26!null, tj5d2.V7UFH:27!null, tj5d2.SYPKF:28!null, tj5d2.H4DMT:29!null, tj5d2.SWCQV:30!null, tj5d2.YKSSU:31, tj5d2.FHCYT:32, cla.id:33!null, cla.FTQLQ:34!null, cla.TUXML:35, cla.PAEF5:36, cla.RUCY4:37, cla.TPNJ6:38!null, cla.LBL53:39, cla.NB3QS:40, cla.EO7IV:41, cla.MUHJF:42, cla.FM34L:43, cla.TY5RF:44, cla.ZHTLH:45, cla.NPB7W:46, cla.SX3HH:47, cla.ISBNF:48, cla.YA7YB:49, cla.C5YKB:50, cla.QK7KT:51, cla.FFGE6:52, cla.FIIGJ:53, cla.SH3NC:54, cla.NTENA:55, cla.M4AUB:56, cla.X5AIR:57, cla.SAB6M:58, cla.G5QI5:59, cla.ZVQVD:60, cla.YKSSU:61, cla.FHCYT:62, bs.id:63!null, bs.NFRYN:64!null, bs.IXUXU:65, bs.FHCYT:66, umf.id:0!null as id, bs.id:63!null as GXLUB, CASE WHEN NOT\n" + 19668 " │ │ └─ tj5d2.id:25!null IS NULL\n" + 19669 " │ │ THEN Subquery\n" + 19670 " │ │ ├─ cacheable: false\n" + 19671 " │ │ ├─ alias-string: select nd_for_id_overridden.id from E2I7U as nd_for_id_overridden where nd_for_id_overridden.TW55N = TJ5D2.H4DMT\n" + 19672 " │ │ └─ Project\n" + 19673 " │ │ ├─ columns: [nd_for_id_overridden.id:67!null]\n" + 19674 " │ │ └─ Filter\n" + 19675 " │ │ ├─ Eq\n" + 19676 " │ │ │ ├─ nd_for_id_overridden.TW55N:68!null\n" + 19677 " │ │ │ └─ tj5d2.H4DMT:29!null\n" + 19678 " │ │ └─ TableAlias(nd_for_id_overridden)\n" + 19679 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 19680 " │ │ ├─ index: [E2I7U.TW55N]\n" + 19681 " │ │ ├─ keys: [tj5d2.H4DMT:29!null]\n" + 19682 " │ │ ├─ colSet: (159-175)\n" + 19683 " │ │ ├─ tableId: 9\n" + 19684 " │ │ └─ Table\n" + 19685 " │ │ ├─ name: E2I7U\n" + 19686 " │ │ └─ columns: [id tw55n]\n" + 19687 " │ │ ELSE Subquery\n" + 19688 " │ │ ├─ cacheable: false\n" + 19689 " │ │ ├─ alias-string: select nd_for_id.id from E2I7U as nd_for_id where nd_for_id.FGG57 is not null and nd_for_id.FGG57 = umf.FGG57\n" + 19690 " │ │ └─ Project\n" + 19691 " │ │ ├─ columns: [nd_for_id.id:67!null]\n" + 19692 " │ │ └─ Filter\n" + 19693 " │ │ ├─ Eq\n" + 19694 " │ │ │ ├─ nd_for_id.FGG57:68\n" + 19695 " │ │ │ └─ umf.FGG57:2\n" + 19696 " │ │ └─ TableAlias(nd_for_id)\n" + 19697 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 19698 " │ │ ├─ index: [E2I7U.FGG57]\n" + 19699 " │ │ ├─ static: [{(NULL, ∞)}]\n" + 19700 " │ │ ├─ colSet: (176-192)\n" + 19701 " │ │ ├─ tableId: 10\n" + 19702 " │ │ └─ Table\n" + 19703 " │ │ ├─ name: E2I7U\n" + 19704 " │ │ └─ columns: [id fgg57]\n" + 19705 " │ │ END as LUEVY, CASE WHEN Eq\n" + 19706 " │ │ ├─ umf.SYPKF:8\n" + 19707 " │ │ └─ N/A (longtext)\n" + 19708 " │ │ THEN Subquery\n" + 19709 " │ │ ├─ cacheable: true\n" + 19710 " │ │ ├─ alias-string: select id from TPXBU where BTXC5 is null\n" + 19711 " │ │ └─ Project\n" + 19712 " │ │ ├─ columns: [tpxbu.id:67!null]\n" + 19713 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 19714 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 19715 " │ │ ├─ static: [{[NULL, NULL]}]\n" + 19716 " │ │ ├─ colSet: (194-196)\n" + 19717 " │ │ ├─ tableId: 11\n" + 19718 " │ │ └─ Table\n" + 19719 " │ │ ├─ name: TPXBU\n" + 19720 " │ │ └─ columns: [id btxc5]\n" + 19721 " │ │ ELSE Subquery\n" + 19722 " │ │ ├─ cacheable: false\n" + 19723 " │ │ ├─ alias-string: select aac.id from TPXBU as aac where aac.BTXC5 = umf.SYPKF\n" + 19724 " │ │ └─ Project\n" + 19725 " │ │ ├─ columns: [aac.id:67!null]\n" + 19726 " │ │ └─ Filter\n" + 19727 " │ │ ├─ Eq\n" + 19728 " │ │ │ ├─ aac.BTXC5:68\n" + 19729 " │ │ │ └─ umf.SYPKF:8\n" + 19730 " │ │ └─ TableAlias(aac)\n" + 19731 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 19732 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 19733 " │ │ ├─ keys: [umf.SYPKF:8]\n" + 19734 " │ │ ├─ colSet: (197-199)\n" + 19735 " │ │ ├─ tableId: 12\n" + 19736 " │ │ └─ Table\n" + 19737 " │ │ ├─ name: TPXBU\n" + 19738 " │ │ └─ columns: [id btxc5]\n" + 19739 " │ │ END as M22QN, umf.TJPT7:6 as TJPT7, umf.ARN5P:7 as ARN5P, umf.XOSD4:13 as XOSD4, umf.IDE43:10 as IDE43, CASE WHEN NOT\n" + 19740 " │ │ └─ Eq\n" + 19741 " │ │ ├─ umf.HMW4H:14\n" + 19742 " │ │ └─ N/A (longtext)\n" + 19743 " │ │ THEN umf.HMW4H:14 ELSE NULL (null) END as HMW4H, CASE WHEN NOT\n" + 19744 " │ │ └─ Eq\n" + 19745 " │ │ ├─ umf.S76OM:15\n" + 19746 " │ │ └─ N/A (longtext)\n" + 19747 " │ │ THEN (umf.S76OM:15 + 0 (tinyint)) ELSE NULL (null) END as ZBT6R, CASE WHEN NOT\n" + 19748 " │ │ └─ Eq\n" + 19749 " │ │ ├─ umf.FSDY2:12\n" + 19750 " │ │ └─ N/A (longtext)\n" + 19751 " │ │ THEN umf.FSDY2:12 ELSE VUS (longtext) END as FSDY2, CASE WHEN NOT\n" + 19752 " │ │ └─ Eq\n" + 19753 " │ │ ├─ umf.vaf:16\n" + 19754 " │ │ └─ (longtext)\n" + 19755 " │ │ THEN (umf.vaf:16 + 0 (decimal(2,1))) ELSE NULL (null) END as LT7K6, CASE WHEN NOT\n" + 19756 " │ │ └─ Eq\n" + 19757 " │ │ ├─ umf.ZROH6:17\n" + 19758 " │ │ └─ (longtext)\n" + 19759 " │ │ THEN (umf.ZROH6:17 + 0 (decimal(2,1))) ELSE NULL (null) END as SPPYD, CASE WHEN NOT\n" + 19760 " │ │ └─ Eq\n" + 19761 " │ │ ├─ umf.QCGTS:18\n" + 19762 " │ │ └─ (longtext)\n" + 19763 " │ │ THEN (umf.QCGTS:18 + 0 (decimal(2,1))) ELSE NULL (null) END as QCGTS, umf.id:0!null as TEUJA, tj5d2.id:25!null as QQV4M, umf.FHCYT:23 as FHCYT]\n" + 19764 " │ └─ LookupJoin\n" + 19765 " │ ├─ LookupJoin\n" + 19766 " │ │ ├─ LeftOuterJoin\n" + 19767 " │ │ │ ├─ AND\n" + 19768 " │ │ │ │ ├─ AND\n" + 19769 " │ │ │ │ │ ├─ AND\n" + 19770 " │ │ │ │ │ │ ├─ Eq\n" + 19771 " │ │ │ │ │ │ │ ├─ tj5d2.SWCQV:30!null\n" + 19772 " │ │ │ │ │ │ │ └─ 0 (tinyint)\n" + 19773 " │ │ │ │ │ │ └─ Eq\n" + 19774 " │ │ │ │ │ │ ├─ tj5d2.T4IBQ:26!null\n" + 19775 " │ │ │ │ │ │ └─ umf.T4IBQ:1\n" + 19776 " │ │ │ │ │ └─ Eq\n" + 19777 " │ │ │ │ │ ├─ tj5d2.V7UFH:27!null\n" + 19778 " │ │ │ │ │ └─ umf.FGG57:2\n" + 19779 " │ │ │ │ └─ Eq\n" + 19780 " │ │ │ │ ├─ tj5d2.SYPKF:28!null\n" + 19781 " │ │ │ │ └─ umf.SYPKF:8\n" + 19782 " │ │ │ ├─ SubqueryAlias\n" + 19783 " │ │ │ │ ├─ name: umf\n" + 19784 " │ │ │ │ ├─ outerVisibility: false\n" + 19785 " │ │ │ │ ├─ isLateral: false\n" + 19786 " │ │ │ │ ├─ cacheable: true\n" + 19787 " │ │ │ │ ├─ colSet: (90-114)\n" + 19788 " │ │ │ │ ├─ tableId: 5\n" + 19789 " │ │ │ │ └─ Filter\n" + 19790 " │ │ │ │ ├─ AND\n" + 19791 " │ │ │ │ │ ├─ AND\n" + 19792 " │ │ │ │ │ │ ├─ AND\n" + 19793 " │ │ │ │ │ │ │ ├─ InSubquery\n" + 19794 " │ │ │ │ │ │ │ │ ├─ left: nzkpm.T4IBQ:1\n" + 19795 " │ │ │ │ │ │ │ │ └─ right: Subquery\n" + 19796 " │ │ │ │ │ │ │ │ ├─ cacheable: true\n" + 19797 " │ │ │ │ │ │ │ │ ├─ alias-string: select FTQLQ from YK2GW\n" + 19798 " │ │ │ │ │ │ │ │ └─ Table\n" + 19799 " │ │ │ │ │ │ │ │ ├─ name: YK2GW\n" + 19800 " │ │ │ │ │ │ │ │ ├─ columns: [ftqlq]\n" + 19801 " │ │ │ │ │ │ │ │ ├─ colSet: (43-72)\n" + 19802 " │ │ │ │ │ │ │ │ └─ tableId: 3\n" + 19803 " │ │ │ │ │ │ │ └─ InSubquery\n" + 19804 " │ │ │ │ │ │ │ ├─ left: nzkpm.FGG57:2\n" + 19805 " │ │ │ │ │ │ │ └─ right: Subquery\n" + 19806 " │ │ │ │ │ │ │ ├─ cacheable: true\n" + 19807 " │ │ │ │ │ │ │ ├─ alias-string: select FGG57 from E2I7U where FGG57 is not null\n" + 19808 " │ │ │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 19809 " │ │ │ │ │ │ │ ├─ index: [E2I7U.FGG57]\n" + 19810 " │ │ │ │ │ │ │ ├─ static: [{(NULL, ∞)}]\n" + 19811 " │ │ │ │ │ │ │ ├─ colSet: (73-89)\n" + 19812 " │ │ │ │ │ │ │ ├─ tableId: 4\n" + 19813 " │ │ │ │ │ │ │ └─ Table\n" + 19814 " │ │ │ │ │ │ │ ├─ name: E2I7U\n" + 19815 " │ │ │ │ │ │ │ └─ columns: [fgg57]\n" + 19816 " │ │ │ │ │ │ └─ HashIn\n" + 19817 " │ │ │ │ │ │ ├─ nzkpm.id:0!null\n" + 19818 " │ │ │ │ │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 19819 " │ │ │ │ │ └─ NOT\n" + 19820 " │ │ │ │ │ └─ Eq\n" + 19821 " │ │ │ │ │ ├─ nzkpm.ARN5P:7\n" + 19822 " │ │ │ │ │ └─ N/A (longtext)\n" + 19823 " │ │ │ │ └─ IndexedTableAccess(NZKPM)\n" + 19824 " │ │ │ │ ├─ index: [NZKPM.id]\n" + 19825 " │ │ │ │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 19826 " │ │ │ │ ├─ colSet: (18-42)\n" + 19827 " │ │ │ │ ├─ tableId: 2\n" + 19828 " │ │ │ │ └─ Table\n" + 19829 " │ │ │ │ ├─ name: NZKPM\n" + 19830 " │ │ │ │ └─ columns: [id t4ibq fgg57 sshpj nla6o sfj6l tjpt7 arn5p sypkf ivfmk ide43 az6sp fsdy2 xosd4 hmw4h s76om vaf zroh6 qcgts lnfm6 tvawl hdlcl bhhw6 fhcyt qz6vt]\n" + 19831 " │ │ │ └─ TableAlias(tj5d2)\n" + 19832 " │ │ │ └─ ProcessTable\n" + 19833 " │ │ │ └─ Table\n" + 19834 " │ │ │ ├─ name: SZW6V\n" + 19835 " │ │ │ └─ columns: [id t4ibq v7ufh sypkf h4dmt swcqv ykssu fhcyt]\n" + 19836 " │ │ └─ TableAlias(cla)\n" + 19837 " │ │ └─ IndexedTableAccess(YK2GW)\n" + 19838 " │ │ ├─ index: [YK2GW.FTQLQ]\n" + 19839 " │ │ ├─ keys: [umf.T4IBQ:1]\n" + 19840 " │ │ ├─ colSet: (123-152)\n" + 19841 " │ │ ├─ tableId: 7\n" + 19842 " │ │ └─ Table\n" + 19843 " │ │ ├─ name: YK2GW\n" + 19844 " │ │ └─ columns: [id ftqlq tuxml paef5 rucy4 tpnj6 lbl53 nb3qs eo7iv muhjf fm34l ty5rf zhtlh npb7w sx3hh isbnf ya7yb c5ykb qk7kt ffge6 fiigj sh3nc ntena m4aub x5air sab6m g5qi5 zvqvd ykssu fhcyt]\n" + 19845 " │ └─ TableAlias(bs)\n" + 19846 " │ └─ IndexedTableAccess(THNTS)\n" + 19847 " │ ├─ index: [THNTS.IXUXU]\n" + 19848 " │ ├─ keys: [cla.id:33!null]\n" + 19849 " │ ├─ colSet: (153-156)\n" + 19850 " │ ├─ tableId: 8\n" + 19851 " │ └─ Table\n" + 19852 " │ ├─ name: THNTS\n" + 19853 " │ └─ columns: [id nfryn ixuxu fhcyt]\n" + 19854 " └─ BEGIN .. END\n" + 19855 " ├─ IF BLOCK\n" + 19856 " │ └─ IF(Or\n" + 19857 " │ ├─ Or\n" + 19858 " │ │ ├─ Or\n" + 19859 " │ │ │ ├─ Or\n" + 19860 " │ │ │ │ ├─ InSubquery\n" + 19861 " │ │ │ │ │ ├─ left: new.TJPT7:4!null\n" + 19862 " │ │ │ │ │ └─ right: Subquery\n" + 19863 " │ │ │ │ │ ├─ cacheable: false\n" + 19864 " │ │ │ │ │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 19865 " │ │ │ │ │ └─ Table\n" + 19866 " │ │ │ │ │ ├─ name: TPXHZ\n" + 19867 " │ │ │ │ │ ├─ columns: [svaz4]\n" + 19868 " │ │ │ │ │ ├─ colSet: (35,36)\n" + 19869 " │ │ │ │ │ └─ tableId: 3\n" + 19870 " │ │ │ │ └─ InSubquery\n" + 19871 " │ │ │ │ ├─ left: new.ARN5P:5!null\n" + 19872 " │ │ │ │ └─ right: Subquery\n" + 19873 " │ │ │ │ ├─ cacheable: false\n" + 19874 " │ │ │ │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 19875 " │ │ │ │ └─ Table\n" + 19876 " │ │ │ │ ├─ name: TPXHZ\n" + 19877 " │ │ │ │ ├─ columns: [svaz4]\n" + 19878 " │ │ │ │ ├─ colSet: (37,38)\n" + 19879 " │ │ │ │ └─ tableId: 4\n" + 19880 " │ │ │ └─ InSubquery\n" + 19881 " │ │ │ ├─ left: new.XOSD4:6!null\n" + 19882 " │ │ │ └─ right: Subquery\n" + 19883 " │ │ │ ├─ cacheable: false\n" + 19884 " │ │ │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 19885 " │ │ │ └─ Table\n" + 19886 " │ │ │ ├─ name: TPXHZ\n" + 19887 " │ │ │ ├─ columns: [svaz4]\n" + 19888 " │ │ │ ├─ colSet: (39,40)\n" + 19889 " │ │ │ └─ tableId: 5\n" + 19890 " │ │ └─ InSubquery\n" + 19891 " │ │ ├─ left: new.IDE43:7\n" + 19892 " │ │ └─ right: Subquery\n" + 19893 " │ │ ├─ cacheable: false\n" + 19894 " │ │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 19895 " │ │ └─ Table\n" + 19896 " │ │ ├─ name: TPXHZ\n" + 19897 " │ │ ├─ columns: [svaz4]\n" + 19898 " │ │ ├─ colSet: (41,42)\n" + 19899 " │ │ └─ tableId: 6\n" + 19900 " │ └─ InSubquery\n" + 19901 " │ ├─ left: new.HMW4H:8\n" + 19902 " │ └─ right: Subquery\n" + 19903 " │ ├─ cacheable: false\n" + 19904 " │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 19905 " │ └─ Table\n" + 19906 " │ ├─ name: TPXHZ\n" + 19907 " │ ├─ columns: [svaz4]\n" + 19908 " │ ├─ colSet: (43,44)\n" + 19909 " │ └─ tableId: 7\n" + 19910 " │ )\n" + 19911 " │ └─ BLOCK\n" + 19912 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = String field contains invalid value, like empty string, 'none', 'null', 'n/a', 'nan' etc., MYSQL_ERRNO = 1644\n" + 19913 " ├─ IF BLOCK\n" + 19914 " │ └─ IF(NOT\n" + 19915 " │ └─ IN\n" + 19916 " │ ├─ left: new.FSDY2:10!null\n" + 19917 " │ └─ right: TUPLE(benign (longtext), VUS (longtext), SRARY (longtext), UBQWG (longtext))\n" + 19918 " │ )\n" + 19919 " │ └─ BLOCK\n" + 19920 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = FSDY2 must be either 'benign', 'VUS', 'SRARY' or 'UBQWG'., MYSQL_ERRNO = 1644\n" + 19921 " ├─ IF BLOCK\n" + 19922 " │ └─ IF(AND\n" + 19923 " │ ├─ NOT\n" + 19924 " │ │ └─ new.LT7K6:11 IS NULL\n" + 19925 " │ └─ NOT\n" + 19926 " │ └─ new.SPPYD:12 IS NULL\n" + 19927 " │ )\n" + 19928 " │ └─ BLOCK\n" + 19929 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = If LT7K6 has value, SPPYD must be NULL., MYSQL_ERRNO = 1644\n" + 19930 " └─ IF BLOCK\n" + 19931 " └─ IF(AND\n" + 19932 " ├─ new.LT7K6:11 IS NULL\n" + 19933 " └─ Or\n" + 19934 " ├─ new.SPPYD:12 IS NULL\n" + 19935 " └─ NOT\n" + 19936 " └─ Eq\n" + 19937 " ├─ new.SPPYD:12\n" + 19938 " └─ 0.5 (decimal(2,1))\n" + 19939 " )\n" + 19940 " └─ BLOCK\n" + 19941 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = If LT7K6 does not have value, SPPYD must be 0.5., MYSQL_ERRNO = 1644\n" + 19942 "", 19943 }, 19944 { 19945 Query: ` 19946 INSERT INTO SEQS3 19947 (id, Z7CP5, YH4XB) 19948 SELECT 19949 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 19950 C6PUD.id AS Z7CP5, 19951 vc.id AS YH4XB 19952 FROM ( 19953 SELECT 19954 mf.id AS id, 19955 umf.AZ6SP AS AZ6SP 19956 FROM 19957 HGMQ6 mf 19958 INNER JOIN NZKPM umf ON umf.id = mf.TEUJA 19959 WHERE 19960 umf.id IN ('1','2','3') 19961 ) C6PUD 19962 INNER JOIN D34QP vc ON C6PUD.AZ6SP LIKE CONCAT(CONCAT('%', vc.TWMSR), '%')`, 19963 ExpectedPlan: "RowUpdateAccumulator\n" + 19964 " └─ Insert(id, Z7CP5, YH4XB)\n" + 19965 " ├─ InsertDestination\n" + 19966 " │ └─ ProcessTable\n" + 19967 " │ └─ Table\n" + 19968 " │ ├─ name: SEQS3\n" + 19969 " │ └─ columns: [id z7cp5 yh4xb]\n" + 19970 " └─ Project\n" + 19971 " ├─ columns: [id:0!null, Z7CP5:1!null, YH4XB:2!null]\n" + 19972 " └─ Project\n" + 19973 " ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, c6pud.id:2!null as Z7CP5, vc.id:0!null as YH4XB]\n" + 19974 " └─ InnerJoin\n" + 19975 " ├─ c6pud.AZ6SP LIKE concat(concat('%',vc.TWMSR),'%')\n" + 19976 " ├─ TableAlias(vc)\n" + 19977 " │ └─ ProcessTable\n" + 19978 " │ └─ Table\n" + 19979 " │ ├─ name: D34QP\n" + 19980 " │ └─ columns: [id twmsr]\n" + 19981 " └─ SubqueryAlias\n" + 19982 " ├─ name: c6pud\n" + 19983 " ├─ outerVisibility: false\n" + 19984 " ├─ isLateral: false\n" + 19985 " ├─ cacheable: true\n" + 19986 " ├─ colSet: (48,49)\n" + 19987 " ├─ tableId: 4\n" + 19988 " └─ Project\n" + 19989 " ├─ columns: [mf.id:0!null as id, umf.AZ6SP:3 as AZ6SP]\n" + 19990 " └─ LookupJoin\n" + 19991 " ├─ TableAlias(mf)\n" + 19992 " │ └─ Table\n" + 19993 " │ ├─ name: HGMQ6\n" + 19994 " │ ├─ columns: [id teuja]\n" + 19995 " │ ├─ colSet: (4-20)\n" + 19996 " │ └─ tableId: 2\n" + 19997 " └─ Filter\n" + 19998 " ├─ HashIn\n" + 19999 " │ ├─ umf.id:0!null\n" + 20000 " │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 20001 " └─ TableAlias(umf)\n" + 20002 " └─ IndexedTableAccess(NZKPM)\n" + 20003 " ├─ index: [NZKPM.id]\n" + 20004 " ├─ keys: [mf.TEUJA:1]\n" + 20005 " ├─ colSet: (21-45)\n" + 20006 " ├─ tableId: 3\n" + 20007 " └─ Table\n" + 20008 " ├─ name: NZKPM\n" + 20009 " └─ columns: [id az6sp]\n" + 20010 "", 20011 }, 20012 { 20013 Query: ` 20014 INSERT INTO HDDVB(id, FV24E, UJ6XY, M22QN, NZ4MQ, ETPQV, PRUV2, YKSSU, FHCYT) 20015 -- The ones without overrides - mutfunc check is necessary 20016 SELECT 20017 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 20018 BPNW2.FV24E AS FV24E, 20019 BPNW2.UJ6XY AS UJ6XY, 20020 BPNW2.M22QN AS M22QN, 20021 BPNW2.NZ4MQ AS NZ4MQ, 20022 BPNW2.MU3KG AS ETPQV, 20023 NULL AS PRUV2, 20024 BPNW2.YKSSU AS YKSSU, 20025 BPNW2.FHCYT AS FHCYT 20026 FROM 20027 ( 20028 SELECT DISTINCT 20029 TIZHK.id AS MU3KG, 20030 J4JYP.id AS FV24E, 20031 RHUZN.id AS UJ6XY, 20032 aac.id AS M22QN, 20033 (SELECT G3YXS.id FROM YYBCX G3YXS WHERE CONCAT(G3YXS.ESFVY, '(MI:', G3YXS.SL76B, ')') = TIZHK.IDUT2) AS NZ4MQ, 20034 NULL AS FHCYT, 20035 NULL AS YKSSU 20036 FROM 20037 WRZVO TIZHK 20038 LEFT JOIN 20039 WGSDC NHMXW 20040 ON 20041 NHMXW.SWCQV = 0 -- Override is turned on 20042 AND 20043 NHMXW.NOHHR = TIZHK.TVNW2 20044 AND 20045 NHMXW.AVPYF = TIZHK.ZHITY 20046 AND 20047 NHMXW.SYPKF = TIZHK.SYPKF 20048 AND 20049 NHMXW.IDUT2 = TIZHK.IDUT2 20050 INNER JOIN 20051 E2I7U J4JYP ON J4JYP.ZH72S = TIZHK.TVNW2 20052 INNER JOIN 20053 E2I7U RHUZN ON RHUZN.ZH72S = TIZHK.ZHITY 20054 INNER JOIN 20055 HGMQ6 mf ON mf.LUEVY = J4JYP.id 20056 INNER JOIN 20057 TPXBU aac ON aac.id = mf.M22QN 20058 WHERE 20059 TIZHK.id IN ('1','2','3') 20060 AND 20061 aac.BTXC5 = TIZHK.SYPKF 20062 AND 20063 NHMXW.id IS NULL -- No overrides here 20064 ) BPNW2 20065 UNION 20066 -- The ones with overrides - no mutfunc check is necessary 20067 SELECT 20068 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 20069 BPNW2.FV24E AS FV24E, 20070 BPNW2.UJ6XY AS UJ6XY, 20071 (SELECT aac.id FROM TPXBU aac WHERE aac.BTXC5 = BPNW2.SYPKF) AS M22QN, 20072 BPNW2.NZ4MQ AS NZ4MQ, 20073 BPNW2.MU3KG AS ETPQV, 20074 BPNW2.I4NDZ AS PRUV2, 20075 BPNW2.YKSSU AS YKSSU, 20076 BPNW2.FHCYT AS FHCYT 20077 FROM 20078 ( 20079 SELECT DISTINCT 20080 TIZHK.id AS MU3KG, 20081 CASE 20082 WHEN NHMXW.FZXV5 IS NOT NULL 20083 THEN (SELECT overridden_nd_mutant.id FROM E2I7U overridden_nd_mutant WHERE overridden_nd_mutant.TW55N = NHMXW.FZXV5) 20084 ELSE J4JYP.id 20085 END AS FV24E, 20086 CASE 20087 WHEN NHMXW.DQYGV IS NOT NULL 20088 THEN (SELECT overridden_QI2IEner.id FROM E2I7U overridden_QI2IEner WHERE overridden_QI2IEner.TW55N = NHMXW.DQYGV) 20089 ELSE RHUZN.id 20090 END AS UJ6XY, 20091 TIZHK.SYPKF AS SYPKF, 20092 (SELECT G3YXS.id FROM YYBCX G3YXS WHERE CONCAT(G3YXS.ESFVY, '(MI:', G3YXS.SL76B, ')') = TIZHK.IDUT2) AS NZ4MQ, 20093 NULL AS FHCYT, 20094 NULL AS YKSSU, 20095 NHMXW.id AS I4NDZ 20096 FROM 20097 WRZVO TIZHK 20098 LEFT JOIN 20099 WGSDC NHMXW 20100 ON 20101 NHMXW.SWCQV = 0 -- Override is turned on 20102 AND 20103 NHMXW.NOHHR = TIZHK.TVNW2 20104 AND 20105 NHMXW.AVPYF = TIZHK.ZHITY 20106 AND 20107 NHMXW.SYPKF = TIZHK.SYPKF 20108 AND 20109 NHMXW.IDUT2 = TIZHK.IDUT2 20110 LEFT JOIN 20111 E2I7U J4JYP ON J4JYP.ZH72S = TIZHK.TVNW2 20112 LEFT JOIN 20113 E2I7U RHUZN ON RHUZN.ZH72S = TIZHK.ZHITY 20114 WHERE 20115 TIZHK.id IN ('1','2','3') 20116 AND 20117 NHMXW.id IS NOT NULL -- Only overrides here 20118 ) BPNW2`, 20119 ExpectedPlan: "RowUpdateAccumulator\n" + 20120 " └─ Insert(id, FV24E, UJ6XY, M22QN, NZ4MQ, ETPQV, PRUV2, YKSSU, FHCYT)\n" + 20121 " ├─ InsertDestination\n" + 20122 " │ └─ ProcessTable\n" + 20123 " │ └─ Table\n" + 20124 " │ ├─ name: HDDVB\n" + 20125 " │ └─ columns: [id fv24e uj6xy m22qn nz4mq etpqv pruv2 ykssu fhcyt]\n" + 20126 " └─ Project\n" + 20127 " ├─ columns: [id:0!null, FV24E:1!null, UJ6XY:2!null, M22QN:3!null, NZ4MQ:4!null, ETPQV:5, PRUV2:6, YKSSU:7, FHCYT:8]\n" + 20128 " └─ Union distinct\n" + 20129 " ├─ Project\n" + 20130 " │ ├─ columns: [id:0!null, convert\n" + 20131 " │ │ ├─ type: char\n" + 20132 " │ │ └─ FV24E:1!null\n" + 20133 " │ │ as FV24E, convert\n" + 20134 " │ │ ├─ type: char\n" + 20135 " │ │ └─ UJ6XY:2!null\n" + 20136 " │ │ as UJ6XY, M22QN:3!null, NZ4MQ:4, ETPQV:5!null, convert\n" + 20137 " │ │ ├─ type: char\n" + 20138 " │ │ └─ PRUV2:6\n" + 20139 " │ │ as PRUV2, YKSSU:7, FHCYT:8]\n" + 20140 " │ └─ Project\n" + 20141 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, bpnw2.FV24E:1!null as FV24E, bpnw2.UJ6XY:2!null as UJ6XY, bpnw2.M22QN:3!null as M22QN, bpnw2.NZ4MQ:4 as NZ4MQ, bpnw2.MU3KG:0!null as ETPQV, NULL (null) as PRUV2, bpnw2.YKSSU:6 as YKSSU, bpnw2.FHCYT:5 as FHCYT]\n" + 20142 " │ └─ SubqueryAlias\n" + 20143 " │ ├─ name: bpnw2\n" + 20144 " │ ├─ outerVisibility: false\n" + 20145 " │ ├─ isLateral: false\n" + 20146 " │ ├─ cacheable: true\n" + 20147 " │ ├─ colSet: (99-105)\n" + 20148 " │ ├─ tableId: 9\n" + 20149 " │ └─ Distinct\n" + 20150 " │ └─ Project\n" + 20151 " │ ├─ columns: [tizhk.id:0!null as MU3KG, j4jyp.id:20!null as FV24E, rhuzn.id:37!null as UJ6XY, aac.id:71!null as M22QN, Subquery\n" + 20152 " │ │ ├─ cacheable: false\n" + 20153 " │ │ ├─ alias-string: select G3YXS.id from YYBCX as G3YXS where CONCAT(G3YXS.ESFVY, '(MI:', G3YXS.SL76B, ')') = TIZHK.IDUT2\n" + 20154 " │ │ └─ Project\n" + 20155 " │ │ ├─ columns: [g3yxs.id:81!null]\n" + 20156 " │ │ └─ Filter\n" + 20157 " │ │ ├─ Eq\n" + 20158 " │ │ │ ├─ concat(g3yxs.ESFVY:82!null,(MI: (longtext),g3yxs.SL76B:83!null,) (longtext))\n" + 20159 " │ │ │ └─ tizhk.IDUT2:4\n" + 20160 " │ │ └─ TableAlias(g3yxs)\n" + 20161 " │ │ └─ Table\n" + 20162 " │ │ ├─ name: YYBCX\n" + 20163 " │ │ ├─ columns: [id esfvy sl76b]\n" + 20164 " │ │ ├─ colSet: (88-95)\n" + 20165 " │ │ └─ tableId: 8\n" + 20166 " │ │ as NZ4MQ, NULL (null) as FHCYT, NULL (null) as YKSSU]\n" + 20167 " │ └─ Project\n" + 20168 " │ ├─ columns: [tizhk.id:17!null, tizhk.TVNW2:18, tizhk.ZHITY:19, tizhk.SYPKF:20, tizhk.IDUT2:21, tizhk.O6QJ3:22, tizhk.NO2JA:23, tizhk.YKSSU:24, tizhk.FHCYT:25, tizhk.QZ6VT:26, nhmxw.id:27!null, nhmxw.NOHHR:28!null, nhmxw.AVPYF:29!null, nhmxw.SYPKF:30!null, nhmxw.IDUT2:31!null, nhmxw.FZXV5:32, nhmxw.DQYGV:33, nhmxw.SWCQV:34!null, nhmxw.YKSSU:35, nhmxw.FHCYT:36, j4jyp.id:0!null, j4jyp.DKCAJ:1!null, j4jyp.KNG7T:2, j4jyp.TW55N:3!null, j4jyp.QRQXW:4!null, j4jyp.ECXAJ:5!null, j4jyp.FGG57:6, j4jyp.ZH72S:7, j4jyp.FSK67:8!null, j4jyp.XQDYT:9!null, j4jyp.TCE7A:10, j4jyp.IWV2H:11, j4jyp.HPCMS:12!null, j4jyp.N5CC2:13, j4jyp.FHCYT:14, j4jyp.ETAQ7:15, j4jyp.A75X7:16, rhuzn.id:57!null, rhuzn.DKCAJ:58!null, rhuzn.KNG7T:59, rhuzn.TW55N:60!null, rhuzn.QRQXW:61!null, rhuzn.ECXAJ:62!null, rhuzn.FGG57:63, rhuzn.ZH72S:64, rhuzn.FSK67:65!null, rhuzn.XQDYT:66!null, rhuzn.TCE7A:67, rhuzn.IWV2H:68, rhuzn.HPCMS:69!null, rhuzn.N5CC2:70, rhuzn.FHCYT:71, rhuzn.ETAQ7:72, rhuzn.A75X7:73, mf.id:37!null, mf.GXLUB:38!null, mf.LUEVY:39!null, mf.M22QN:40!null, mf.TJPT7:41!null, mf.ARN5P:42!null, mf.XOSD4:43!null, mf.IDE43:44, mf.HMW4H:45, mf.ZBT6R:46, mf.FSDY2:47!null, mf.LT7K6:48, mf.SPPYD:49, mf.QCGTS:50, mf.TEUJA:51, mf.QQV4M:52, mf.FHCYT:53, aac.id:54!null, aac.BTXC5:55, aac.FHCYT:56, tizhk.id:17!null as MU3KG, j4jyp.id:0!null as FV24E, rhuzn.id:57!null as UJ6XY, aac.id:54!null as M22QN, Subquery\n" + 20169 " │ │ ├─ cacheable: false\n" + 20170 " │ │ ├─ alias-string: select G3YXS.id from YYBCX as G3YXS where CONCAT(G3YXS.ESFVY, '(MI:', G3YXS.SL76B, ')') = TIZHK.IDUT2\n" + 20171 " │ │ └─ Project\n" + 20172 " │ │ ├─ columns: [g3yxs.id:74!null]\n" + 20173 " │ │ └─ Filter\n" + 20174 " │ │ ├─ Eq\n" + 20175 " │ │ │ ├─ concat(g3yxs.ESFVY:75!null,(MI: (longtext),g3yxs.SL76B:76!null,) (longtext))\n" + 20176 " │ │ │ └─ tizhk.IDUT2:21\n" + 20177 " │ │ └─ TableAlias(g3yxs)\n" + 20178 " │ │ └─ Table\n" + 20179 " │ │ ├─ name: YYBCX\n" + 20180 " │ │ ├─ columns: [id esfvy sl76b]\n" + 20181 " │ │ ├─ colSet: (88-95)\n" + 20182 " │ │ └─ tableId: 8\n" + 20183 " │ │ as NZ4MQ, NULL (null) as FHCYT, NULL (null) as YKSSU]\n" + 20184 " │ └─ Filter\n" + 20185 " │ ├─ AND\n" + 20186 " │ │ ├─ Eq\n" + 20187 " │ │ │ ├─ aac.BTXC5:55\n" + 20188 " │ │ │ └─ tizhk.SYPKF:20\n" + 20189 " │ │ └─ nhmxw.id:27!null IS NULL\n" + 20190 " │ └─ LookupJoin\n" + 20191 " │ ├─ LookupJoin\n" + 20192 " │ │ ├─ LookupJoin\n" + 20193 " │ │ │ ├─ LeftOuterHashJoin\n" + 20194 " │ │ │ │ ├─ AND\n" + 20195 " │ │ │ │ │ ├─ AND\n" + 20196 " │ │ │ │ │ │ ├─ AND\n" + 20197 " │ │ │ │ │ │ │ ├─ AND\n" + 20198 " │ │ │ │ │ │ │ │ ├─ Eq\n" + 20199 " │ │ │ │ │ │ │ │ │ ├─ nhmxw.SWCQV:34!null\n" + 20200 " │ │ │ │ │ │ │ │ │ └─ 0 (tinyint)\n" + 20201 " │ │ │ │ │ │ │ │ └─ Eq\n" + 20202 " │ │ │ │ │ │ │ │ ├─ nhmxw.NOHHR:28!null\n" + 20203 " │ │ │ │ │ │ │ │ └─ tizhk.TVNW2:18\n" + 20204 " │ │ │ │ │ │ │ └─ Eq\n" + 20205 " │ │ │ │ │ │ │ ├─ nhmxw.AVPYF:29!null\n" + 20206 " │ │ │ │ │ │ │ └─ tizhk.ZHITY:19\n" + 20207 " │ │ │ │ │ │ └─ Eq\n" + 20208 " │ │ │ │ │ │ ├─ nhmxw.SYPKF:30!null\n" + 20209 " │ │ │ │ │ │ └─ tizhk.SYPKF:20\n" + 20210 " │ │ │ │ │ └─ Eq\n" + 20211 " │ │ │ │ │ ├─ nhmxw.IDUT2:31!null\n" + 20212 " │ │ │ │ │ └─ tizhk.IDUT2:21\n" + 20213 " │ │ │ │ ├─ LookupJoin\n" + 20214 " │ │ │ │ │ ├─ TableAlias(j4jyp)\n" + 20215 " │ │ │ │ │ │ └─ Table\n" + 20216 " │ │ │ │ │ │ ├─ name: E2I7U\n" + 20217 " │ │ │ │ │ │ ├─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 20218 " │ │ │ │ │ │ ├─ colSet: (30-46)\n" + 20219 " │ │ │ │ │ │ └─ tableId: 4\n" + 20220 " │ │ │ │ │ └─ Filter\n" + 20221 " │ │ │ │ │ ├─ HashIn\n" + 20222 " │ │ │ │ │ │ ├─ tizhk.id:0!null\n" + 20223 " │ │ │ │ │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 20224 " │ │ │ │ │ └─ TableAlias(tizhk)\n" + 20225 " │ │ │ │ │ └─ IndexedTableAccess(WRZVO)\n" + 20226 " │ │ │ │ │ ├─ index: [WRZVO.TVNW2]\n" + 20227 " │ │ │ │ │ ├─ keys: [j4jyp.ZH72S:7]\n" + 20228 " │ │ │ │ │ ├─ colSet: (10-19)\n" + 20229 " │ │ │ │ │ ├─ tableId: 2\n" + 20230 " │ │ │ │ │ └─ Table\n" + 20231 " │ │ │ │ │ ├─ name: WRZVO\n" + 20232 " │ │ │ │ │ └─ columns: [id tvnw2 zhity sypkf idut2 o6qj3 no2ja ykssu fhcyt qz6vt]\n" + 20233 " │ │ │ │ └─ HashLookup\n" + 20234 " │ │ │ │ ├─ left-key: TUPLE(0 (tinyint), tizhk.TVNW2:18, tizhk.ZHITY:19, tizhk.SYPKF:20, tizhk.IDUT2:21)\n" + 20235 " │ │ │ │ ├─ right-key: TUPLE(nhmxw.SWCQV:7!null, nhmxw.NOHHR:1!null, nhmxw.AVPYF:2!null, nhmxw.SYPKF:3!null, nhmxw.IDUT2:4!null)\n" + 20236 " │ │ │ │ └─ TableAlias(nhmxw)\n" + 20237 " │ │ │ │ └─ Table\n" + 20238 " │ │ │ │ ├─ name: WGSDC\n" + 20239 " │ │ │ │ ├─ columns: [id nohhr avpyf sypkf idut2 fzxv5 dqygv swcqv ykssu fhcyt]\n" + 20240 " │ │ │ │ ├─ colSet: (20-29)\n" + 20241 " │ │ │ │ └─ tableId: 3\n" + 20242 " │ │ │ └─ TableAlias(mf)\n" + 20243 " │ │ │ └─ IndexedTableAccess(HGMQ6)\n" + 20244 " │ │ │ ├─ index: [HGMQ6.LUEVY]\n" + 20245 " │ │ │ ├─ keys: [j4jyp.id:0!null]\n" + 20246 " │ │ │ ├─ colSet: (64-80)\n" + 20247 " │ │ │ ├─ tableId: 6\n" + 20248 " │ │ │ └─ Table\n" + 20249 " │ │ │ ├─ name: HGMQ6\n" + 20250 " │ │ │ └─ columns: [id gxlub luevy m22qn tjpt7 arn5p xosd4 ide43 hmw4h zbt6r fsdy2 lt7k6 sppyd qcgts teuja qqv4m fhcyt]\n" + 20251 " │ │ └─ TableAlias(aac)\n" + 20252 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 20253 " │ │ ├─ index: [TPXBU.id]\n" + 20254 " │ │ ├─ keys: [mf.M22QN:40!null]\n" + 20255 " │ │ ├─ colSet: (81-83)\n" + 20256 " │ │ ├─ tableId: 7\n" + 20257 " │ │ └─ Table\n" + 20258 " │ │ ├─ name: TPXBU\n" + 20259 " │ │ └─ columns: [id btxc5 fhcyt]\n" + 20260 " │ └─ TableAlias(rhuzn)\n" + 20261 " │ └─ IndexedTableAccess(E2I7U)\n" + 20262 " │ ├─ index: [E2I7U.ZH72S]\n" + 20263 " │ ├─ keys: [tizhk.ZHITY:19]\n" + 20264 " │ ├─ colSet: (47-63)\n" + 20265 " │ ├─ tableId: 5\n" + 20266 " │ └─ Table\n" + 20267 " │ ├─ name: E2I7U\n" + 20268 " │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 20269 " └─ Project\n" + 20270 " ├─ columns: [id:0!null, FV24E:1 as FV24E, UJ6XY:2 as UJ6XY, M22QN:3, NZ4MQ:4, ETPQV:5!null, convert\n" + 20271 " │ ├─ type: char\n" + 20272 " │ └─ PRUV2:6!null\n" + 20273 " │ as PRUV2, YKSSU:7, FHCYT:8]\n" + 20274 " └─ Project\n" + 20275 " ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, bpnw2.FV24E:1 as FV24E, bpnw2.UJ6XY:2 as UJ6XY, Subquery\n" + 20276 " │ ├─ cacheable: false\n" + 20277 " │ ├─ alias-string: select aac.id from TPXBU as aac where aac.BTXC5 = BPNW2.SYPKF\n" + 20278 " │ └─ Project\n" + 20279 " │ ├─ columns: [aac.id:17!null]\n" + 20280 " │ └─ Filter\n" + 20281 " │ ├─ Eq\n" + 20282 " │ │ ├─ aac.BTXC5:18\n" + 20283 " │ │ └─ bpnw2.SYPKF:3\n" + 20284 " │ └─ TableAlias(aac)\n" + 20285 " │ └─ IndexedTableAccess(TPXBU)\n" + 20286 " │ ├─ index: [TPXBU.BTXC5]\n" + 20287 " │ ├─ keys: [bpnw2.SYPKF:3]\n" + 20288 " │ ├─ colSet: (230-232)\n" + 20289 " │ ├─ tableId: 18\n" + 20290 " │ └─ Table\n" + 20291 " │ ├─ name: TPXBU\n" + 20292 " │ └─ columns: [id btxc5]\n" + 20293 " │ as M22QN, bpnw2.NZ4MQ:4 as NZ4MQ, bpnw2.MU3KG:0!null as ETPQV, bpnw2.I4NDZ:7!null as PRUV2, bpnw2.YKSSU:6 as YKSSU, bpnw2.FHCYT:5 as FHCYT]\n" + 20294 " └─ Project\n" + 20295 " ├─ columns: [bpnw2.MU3KG:0!null, bpnw2.FV24E:1, bpnw2.UJ6XY:2, bpnw2.SYPKF:3, bpnw2.NZ4MQ:4, bpnw2.FHCYT:5, bpnw2.YKSSU:6, bpnw2.I4NDZ:7!null, lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, bpnw2.FV24E:1 as FV24E, bpnw2.UJ6XY:2 as UJ6XY, Subquery\n" + 20296 " │ ├─ cacheable: false\n" + 20297 " │ ├─ alias-string: select aac.id from TPXBU as aac where aac.BTXC5 = BPNW2.SYPKF\n" + 20298 " │ └─ Project\n" + 20299 " │ ├─ columns: [aac.id:8!null]\n" + 20300 " │ └─ Filter\n" + 20301 " │ ├─ Eq\n" + 20302 " │ │ ├─ aac.BTXC5:9\n" + 20303 " │ │ └─ bpnw2.SYPKF:3\n" + 20304 " │ └─ TableAlias(aac)\n" + 20305 " │ └─ IndexedTableAccess(TPXBU)\n" + 20306 " │ ├─ index: [TPXBU.BTXC5]\n" + 20307 " │ ├─ keys: [bpnw2.SYPKF:3]\n" + 20308 " │ ├─ colSet: (230-232)\n" + 20309 " │ ├─ tableId: 18\n" + 20310 " │ └─ Table\n" + 20311 " │ ├─ name: TPXBU\n" + 20312 " │ └─ columns: [id btxc5]\n" + 20313 " │ as M22QN, bpnw2.NZ4MQ:4 as NZ4MQ, bpnw2.MU3KG:0!null as ETPQV, bpnw2.I4NDZ:7!null as PRUV2, bpnw2.YKSSU:6 as YKSSU, bpnw2.FHCYT:5 as FHCYT]\n" + 20314 " └─ SubqueryAlias\n" + 20315 " ├─ name: bpnw2\n" + 20316 " ├─ outerVisibility: false\n" + 20317 " ├─ isLateral: false\n" + 20318 " ├─ cacheable: true\n" + 20319 " ├─ colSet: (219-226)\n" + 20320 " ├─ tableId: 17\n" + 20321 " └─ Distinct\n" + 20322 " └─ Project\n" + 20323 " ├─ columns: [tizhk.id:0!null as MU3KG, CASE WHEN NOT\n" + 20324 " │ └─ nhmxw.FZXV5:15 IS NULL\n" + 20325 " │ THEN Subquery\n" + 20326 " │ ├─ cacheable: false\n" + 20327 " │ ├─ alias-string: select overridden_nd_mutant.id from E2I7U as overridden_nd_mutant where overridden_nd_mutant.TW55N = NHMXW.FZXV5\n" + 20328 " │ └─ Project\n" + 20329 " │ ├─ columns: [overridden_nd_mutant.id:62!null]\n" + 20330 " │ └─ Filter\n" + 20331 " │ ├─ Eq\n" + 20332 " │ │ ├─ overridden_nd_mutant.TW55N:63!null\n" + 20333 " │ │ └─ nhmxw.FZXV5:15\n" + 20334 " │ └─ TableAlias(overridden_nd_mutant)\n" + 20335 " │ └─ IndexedTableAccess(E2I7U)\n" + 20336 " │ ├─ index: [E2I7U.TW55N]\n" + 20337 " │ ├─ keys: [nhmxw.FZXV5:15]\n" + 20338 " │ ├─ colSet: (170-186)\n" + 20339 " │ ├─ tableId: 14\n" + 20340 " │ └─ Table\n" + 20341 " │ ├─ name: E2I7U\n" + 20342 " │ └─ columns: [id tw55n]\n" + 20343 " │ ELSE j4jyp.id:20!null END as FV24E, CASE WHEN NOT\n" + 20344 " │ └─ nhmxw.DQYGV:16 IS NULL\n" + 20345 " │ THEN Subquery\n" + 20346 " │ ├─ cacheable: false\n" + 20347 " │ ├─ alias-string: select overridden_QI2IEner.id from E2I7U as overridden_QI2IEner where overridden_QI2IEner.TW55N = NHMXW.DQYGV\n" + 20348 " │ └─ Project\n" + 20349 " │ ├─ columns: [overridden_qi2iener.id:62!null]\n" + 20350 " │ └─ Filter\n" + 20351 " │ ├─ Eq\n" + 20352 " │ │ ├─ overridden_qi2iener.TW55N:63!null\n" + 20353 " │ │ └─ nhmxw.DQYGV:16\n" + 20354 " │ └─ TableAlias(overridden_qi2iener)\n" + 20355 " │ └─ IndexedTableAccess(E2I7U)\n" + 20356 " │ ├─ index: [E2I7U.TW55N]\n" + 20357 " │ ├─ keys: [nhmxw.DQYGV:16]\n" + 20358 " │ ├─ colSet: (188-204)\n" + 20359 " │ ├─ tableId: 15\n" + 20360 " │ └─ Table\n" + 20361 " │ ├─ name: E2I7U\n" + 20362 " │ └─ columns: [id tw55n]\n" + 20363 " │ ELSE rhuzn.id:37!null END as UJ6XY, tizhk.SYPKF:3 as SYPKF, Subquery\n" + 20364 " │ ├─ cacheable: false\n" + 20365 " │ ├─ alias-string: select G3YXS.id from YYBCX as G3YXS where CONCAT(G3YXS.ESFVY, '(MI:', G3YXS.SL76B, ')') = TIZHK.IDUT2\n" + 20366 " │ └─ Project\n" + 20367 " │ ├─ columns: [g3yxs.id:62!null]\n" + 20368 " │ └─ Filter\n" + 20369 " │ ├─ Eq\n" + 20370 " │ │ ├─ concat(g3yxs.ESFVY:63!null,(MI: (longtext),g3yxs.SL76B:64!null,) (longtext))\n" + 20371 " │ │ └─ tizhk.IDUT2:4\n" + 20372 " │ └─ TableAlias(g3yxs)\n" + 20373 " │ └─ Table\n" + 20374 " │ ├─ name: YYBCX\n" + 20375 " │ ├─ columns: [id esfvy sl76b]\n" + 20376 " │ ├─ colSet: (207-214)\n" + 20377 " │ └─ tableId: 16\n" + 20378 " │ as NZ4MQ, NULL (null) as FHCYT, NULL (null) as YKSSU, nhmxw.id:10!null as I4NDZ]\n" + 20379 " └─ Project\n" + 20380 " ├─ columns: [tizhk.id:0!null, tizhk.TVNW2:1, tizhk.ZHITY:2, tizhk.SYPKF:3, tizhk.IDUT2:4, tizhk.O6QJ3:5, tizhk.NO2JA:6, tizhk.YKSSU:7, tizhk.FHCYT:8, tizhk.QZ6VT:9, nhmxw.id:10!null, nhmxw.NOHHR:11!null, nhmxw.AVPYF:12!null, nhmxw.SYPKF:13!null, nhmxw.IDUT2:14!null, nhmxw.FZXV5:15, nhmxw.DQYGV:16, nhmxw.SWCQV:17!null, nhmxw.YKSSU:18, nhmxw.FHCYT:19, j4jyp.id:20!null, j4jyp.DKCAJ:21!null, j4jyp.KNG7T:22, j4jyp.TW55N:23!null, j4jyp.QRQXW:24!null, j4jyp.ECXAJ:25!null, j4jyp.FGG57:26, j4jyp.ZH72S:27, j4jyp.FSK67:28!null, j4jyp.XQDYT:29!null, j4jyp.TCE7A:30, j4jyp.IWV2H:31, j4jyp.HPCMS:32!null, j4jyp.N5CC2:33, j4jyp.FHCYT:34, j4jyp.ETAQ7:35, j4jyp.A75X7:36, rhuzn.id:37!null, rhuzn.DKCAJ:38!null, rhuzn.KNG7T:39, rhuzn.TW55N:40!null, rhuzn.QRQXW:41!null, rhuzn.ECXAJ:42!null, rhuzn.FGG57:43, rhuzn.ZH72S:44, rhuzn.FSK67:45!null, rhuzn.XQDYT:46!null, rhuzn.TCE7A:47, rhuzn.IWV2H:48, rhuzn.HPCMS:49!null, rhuzn.N5CC2:50, rhuzn.FHCYT:51, rhuzn.ETAQ7:52, rhuzn.A75X7:53, tizhk.id:0!null as MU3KG, CASE WHEN NOT\n" + 20381 " │ └─ nhmxw.FZXV5:15 IS NULL\n" + 20382 " │ THEN Subquery\n" + 20383 " │ ├─ cacheable: false\n" + 20384 " │ ├─ alias-string: select overridden_nd_mutant.id from E2I7U as overridden_nd_mutant where overridden_nd_mutant.TW55N = NHMXW.FZXV5\n" + 20385 " │ └─ Project\n" + 20386 " │ ├─ columns: [overridden_nd_mutant.id:54!null]\n" + 20387 " │ └─ Filter\n" + 20388 " │ ├─ Eq\n" + 20389 " │ │ ├─ overridden_nd_mutant.TW55N:55!null\n" + 20390 " │ │ └─ nhmxw.FZXV5:15\n" + 20391 " │ └─ TableAlias(overridden_nd_mutant)\n" + 20392 " │ └─ IndexedTableAccess(E2I7U)\n" + 20393 " │ ├─ index: [E2I7U.TW55N]\n" + 20394 " │ ├─ keys: [nhmxw.FZXV5:15]\n" + 20395 " │ ├─ colSet: (170-186)\n" + 20396 " │ ├─ tableId: 14\n" + 20397 " │ └─ Table\n" + 20398 " │ ├─ name: E2I7U\n" + 20399 " │ └─ columns: [id tw55n]\n" + 20400 " │ ELSE j4jyp.id:20!null END as FV24E, CASE WHEN NOT\n" + 20401 " │ └─ nhmxw.DQYGV:16 IS NULL\n" + 20402 " │ THEN Subquery\n" + 20403 " │ ├─ cacheable: false\n" + 20404 " │ ├─ alias-string: select overridden_QI2IEner.id from E2I7U as overridden_QI2IEner where overridden_QI2IEner.TW55N = NHMXW.DQYGV\n" + 20405 " │ └─ Project\n" + 20406 " │ ├─ columns: [overridden_qi2iener.id:54!null]\n" + 20407 " │ └─ Filter\n" + 20408 " │ ├─ Eq\n" + 20409 " │ │ ├─ overridden_qi2iener.TW55N:55!null\n" + 20410 " │ │ └─ nhmxw.DQYGV:16\n" + 20411 " │ └─ TableAlias(overridden_qi2iener)\n" + 20412 " │ └─ IndexedTableAccess(E2I7U)\n" + 20413 " │ ├─ index: [E2I7U.TW55N]\n" + 20414 " │ ├─ keys: [nhmxw.DQYGV:16]\n" + 20415 " │ ├─ colSet: (188-204)\n" + 20416 " │ ├─ tableId: 15\n" + 20417 " │ └─ Table\n" + 20418 " │ ├─ name: E2I7U\n" + 20419 " │ └─ columns: [id tw55n]\n" + 20420 " │ ELSE rhuzn.id:37!null END as UJ6XY, tizhk.SYPKF:3 as SYPKF, Subquery\n" + 20421 " │ ├─ cacheable: false\n" + 20422 " │ ├─ alias-string: select G3YXS.id from YYBCX as G3YXS where CONCAT(G3YXS.ESFVY, '(MI:', G3YXS.SL76B, ')') = TIZHK.IDUT2\n" + 20423 " │ └─ Project\n" + 20424 " │ ├─ columns: [g3yxs.id:54!null]\n" + 20425 " │ └─ Filter\n" + 20426 " │ ├─ Eq\n" + 20427 " │ │ ├─ concat(g3yxs.ESFVY:55!null,(MI: (longtext),g3yxs.SL76B:56!null,) (longtext))\n" + 20428 " │ │ └─ tizhk.IDUT2:4\n" + 20429 " │ └─ TableAlias(g3yxs)\n" + 20430 " │ └─ Table\n" + 20431 " │ ├─ name: YYBCX\n" + 20432 " │ ├─ columns: [id esfvy sl76b]\n" + 20433 " │ ├─ colSet: (207-214)\n" + 20434 " │ └─ tableId: 16\n" + 20435 " │ as NZ4MQ, NULL (null) as FHCYT, NULL (null) as YKSSU, nhmxw.id:10!null as I4NDZ]\n" + 20436 " └─ Filter\n" + 20437 " ├─ NOT\n" + 20438 " │ └─ nhmxw.id:10!null IS NULL\n" + 20439 " └─ LeftOuterLookupJoin\n" + 20440 " ├─ LeftOuterLookupJoin\n" + 20441 " │ ├─ LeftOuterLookupJoin\n" + 20442 " │ │ ├─ AND\n" + 20443 " │ │ │ ├─ AND\n" + 20444 " │ │ │ │ ├─ AND\n" + 20445 " │ │ │ │ │ ├─ Eq\n" + 20446 " │ │ │ │ │ │ ├─ nhmxw.SWCQV:17!null\n" + 20447 " │ │ │ │ │ │ └─ 0 (tinyint)\n" + 20448 " │ │ │ │ │ └─ Eq\n" + 20449 " │ │ │ │ │ ├─ nhmxw.AVPYF:12!null\n" + 20450 " │ │ │ │ │ └─ tizhk.ZHITY:2\n" + 20451 " │ │ │ │ └─ Eq\n" + 20452 " │ │ │ │ ├─ nhmxw.SYPKF:13!null\n" + 20453 " │ │ │ │ └─ tizhk.SYPKF:3\n" + 20454 " │ │ │ └─ Eq\n" + 20455 " │ │ │ ├─ nhmxw.IDUT2:14!null\n" + 20456 " │ │ │ └─ tizhk.IDUT2:4\n" + 20457 " │ │ ├─ Filter\n" + 20458 " │ │ │ ├─ HashIn\n" + 20459 " │ │ │ │ ├─ tizhk.id:0!null\n" + 20460 " │ │ │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 20461 " │ │ │ └─ TableAlias(tizhk)\n" + 20462 " │ │ │ └─ IndexedTableAccess(WRZVO)\n" + 20463 " │ │ │ ├─ index: [WRZVO.id]\n" + 20464 " │ │ │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 20465 " │ │ │ ├─ colSet: (115-124)\n" + 20466 " │ │ │ ├─ tableId: 10\n" + 20467 " │ │ │ └─ Table\n" + 20468 " │ │ │ ├─ name: WRZVO\n" + 20469 " │ │ │ └─ columns: [id tvnw2 zhity sypkf idut2 o6qj3 no2ja ykssu fhcyt qz6vt]\n" + 20470 " │ │ └─ TableAlias(nhmxw)\n" + 20471 " │ │ └─ IndexedTableAccess(WGSDC)\n" + 20472 " │ │ ├─ index: [WGSDC.NOHHR]\n" + 20473 " │ │ ├─ keys: [tizhk.TVNW2:1]\n" + 20474 " │ │ ├─ colSet: (125-134)\n" + 20475 " │ │ ├─ tableId: 11\n" + 20476 " │ │ └─ Table\n" + 20477 " │ │ ├─ name: WGSDC\n" + 20478 " │ │ └─ columns: [id nohhr avpyf sypkf idut2 fzxv5 dqygv swcqv ykssu fhcyt]\n" + 20479 " │ └─ TableAlias(j4jyp)\n" + 20480 " │ └─ IndexedTableAccess(E2I7U)\n" + 20481 " │ ├─ index: [E2I7U.ZH72S]\n" + 20482 " │ ├─ keys: [tizhk.TVNW2:1]\n" + 20483 " │ ├─ colSet: (135-151)\n" + 20484 " │ ├─ tableId: 12\n" + 20485 " │ └─ Table\n" + 20486 " │ ├─ name: E2I7U\n" + 20487 " │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 20488 " └─ TableAlias(rhuzn)\n" + 20489 " └─ IndexedTableAccess(E2I7U)\n" + 20490 " ├─ index: [E2I7U.ZH72S]\n" + 20491 " ├─ keys: [tizhk.ZHITY:2]\n" + 20492 " ├─ colSet: (152-168)\n" + 20493 " ├─ tableId: 13\n" + 20494 " └─ Table\n" + 20495 " ├─ name: E2I7U\n" + 20496 " └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 20497 "", 20498 }, 20499 { 20500 Query: ` 20501 INSERT INTO 20502 SFEGG(id, NO52D, VYO5E, DKCAJ, ADURZ, FHCYT) 20503 SELECT 20504 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 20505 rs.NO52D AS NO52D, 20506 rs.VYO5E AS VYO5E, 20507 rs.DKCAJ AS DKCAJ, 20508 CASE 20509 WHEN rs.NO52D = 'FZB3D' AND rs.F35MI = 'SUZTA' THEN 1 20510 WHEN rs.NO52D = 'FZB3D' AND rs.F35MI <> 'SUZTA' THEN 3 20511 WHEN rs.NO52D LIKE 'AC%' OR rs.NO52D LIKE 'EC%' THEN 3 20512 WHEN rs.NO52D LIKE 'IC%' AND rs.VYO5E IS NULL THEN 2 20513 WHEN rs.NO52D LIKE 'IC%' AND rs.VYO5E = 'CF' THEN 1 20514 WHEN rs.NO52D LIKE 'IC%' AND rs.VYO5E IS NOT NULL AND NOT(rs.VYO5E = 'CF') THEN 4 20515 WHEN rs.NO52D = 'Ki' THEN 1 20516 WHEN rs.NO52D = 'Kd' THEN 2 20517 ELSE NULL 20518 END AS ADURZ, 20519 NULL AS FHCYT 20520 FROM 20521 ( 20522 SELECT DISTINCT 20523 NK7FP.NO52D AS NO52D, 20524 CASE 20525 WHEN NK7FP.VYO5E = 'N/A' THEN NULL 20526 ELSE NK7FP.VYO5E 20527 END AS VYO5E, 20528 nt.id AS DKCAJ, 20529 nt.DZLIM AS F35MI 20530 FROM 20531 ( 20532 SELECT DISTINCT 20533 uct.NO52D, 20534 uct.VYO5E, 20535 uct.ZH72S, 20536 I7HCR.FVUCX 20537 FROM 20538 OUBDL uct 20539 LEFT JOIN -- Joining overrides, we need the overridden UWBAI TAFAX in this case 20540 EPZU6 I7HCR 20541 ON 20542 I7HCR.SWCQV = 0 -- Override is turned on 20543 AND 20544 I7HCR.TOFPN = uct.FTQLQ 20545 AND 20546 I7HCR.SJYN2 = uct.ZH72S 20547 AND 20548 I7HCR.BTXC5 = uct.LJLUM 20549 WHERE 20550 uct.id IN ('1','2','3') 20551 ) NK7FP 20552 INNER JOIN 20553 E2I7U nd 20554 ON 20555 ( 20556 NK7FP.FVUCX IS NULL 20557 AND 20558 nd.ZH72S = NK7FP.ZH72S 20559 ) 20560 OR 20561 ( 20562 NK7FP.FVUCX IS NOT NULL 20563 AND 20564 nd.TW55N = NK7FP.FVUCX 20565 ) 20566 INNER JOIN 20567 F35MI nt ON nt.id = nd.DKCAJ 20568 ) rs 20569 WHERE 20570 ( 20571 rs.VYO5E IS NOT NULL 20572 AND 20573 (rs.NO52D, rs.VYO5E, rs.DKCAJ) NOT IN (SELECT DISTINCT NO52D, VYO5E, DKCAJ FROM SFEGG WHERE VYO5E IS NOT NULL) 20574 ) 20575 OR 20576 ( 20577 rs.VYO5E IS NULL 20578 AND 20579 (rs.NO52D, rs.DKCAJ) NOT IN (SELECT DISTINCT NO52D, DKCAJ FROM SFEGG WHERE VYO5E IS NULL) 20580 )`, 20581 ExpectedPlan: "TriggerRollback\n" + 20582 " └─ RowUpdateAccumulator\n" + 20583 " └─ Insert(id, NO52D, VYO5E, DKCAJ, ADURZ, FHCYT)\n" + 20584 " ├─ InsertDestination\n" + 20585 " │ └─ ProcessTable\n" + 20586 " │ └─ Table\n" + 20587 " │ ├─ name: SFEGG\n" + 20588 " │ └─ columns: [id no52d vyo5e dkcaj adurz fhcyt]\n" + 20589 " └─ Trigger(CREATE TRIGGER SFEGG_on_insert BEFORE INSERT ON SFEGG\n" + 20590 " FOR EACH ROW\n" + 20591 " BEGIN\n" + 20592 " IF\n" + 20593 " NEW.NO52D IN (SELECT SVAZ4 FROM TPXHZ)\n" + 20594 " OR NEW.VYO5E IN (SELECT SVAZ4 FROM TPXHZ)\n" + 20595 " THEN\n" + 20596 " -- SET @custom_error_message = (SELECT error_message FROM trigger_helper_error_message WHERE DZLIM = 'SVAZ4');\n" + 20597 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 20598 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'String field contains invalid value, like empty string, ''none'', ''null'', ''n/a'', ''nan'' etc.';\n" + 20599 " END IF;\n" + 20600 " IF\n" + 20601 " NEW.ADURZ <= 0\n" + 20602 " THEN\n" + 20603 " -- SET @custom_error_message = 'ADURZ must be positive.';\n" + 20604 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 20605 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'ADURZ must be positive.';\n" + 20606 " END IF;\n" + 20607 " END//)\n" + 20608 " ├─ Project\n" + 20609 " │ ├─ columns: [id:0!null, NO52D:1!null, VYO5E:2, DKCAJ:3!null, ADURZ:4!null, FHCYT:5]\n" + 20610 " │ └─ Project\n" + 20611 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, rs.NO52D:0 as NO52D, rs.VYO5E:1 as VYO5E, rs.DKCAJ:2!null as DKCAJ, CASE WHEN AND\n" + 20612 " │ │ ├─ Eq\n" + 20613 " │ │ │ ├─ rs.NO52D:0\n" + 20614 " │ │ │ └─ FZB3D (longtext)\n" + 20615 " │ │ └─ Eq\n" + 20616 " │ │ ├─ rs.F35MI:3!null\n" + 20617 " │ │ └─ SUZTA (longtext)\n" + 20618 " │ │ THEN 1 (tinyint) WHEN AND\n" + 20619 " │ │ ├─ Eq\n" + 20620 " │ │ │ ├─ rs.NO52D:0\n" + 20621 " │ │ │ └─ FZB3D (longtext)\n" + 20622 " │ │ └─ NOT\n" + 20623 " │ │ └─ Eq\n" + 20624 " │ │ ├─ rs.F35MI:3!null\n" + 20625 " │ │ └─ SUZTA (longtext)\n" + 20626 " │ │ THEN 3 (tinyint) WHEN Or\n" + 20627 " │ │ ├─ rs.NO52D LIKE 'AC%'\n" + 20628 " │ │ └─ rs.NO52D LIKE 'EC%'\n" + 20629 " │ │ THEN 3 (tinyint) WHEN AND\n" + 20630 " │ │ ├─ rs.NO52D LIKE 'IC%'\n" + 20631 " │ │ └─ rs.VYO5E:1 IS NULL\n" + 20632 " │ │ THEN 2 (tinyint) WHEN AND\n" + 20633 " │ │ ├─ rs.NO52D LIKE 'IC%'\n" + 20634 " │ │ └─ Eq\n" + 20635 " │ │ ├─ rs.VYO5E:1\n" + 20636 " │ │ └─ CF (longtext)\n" + 20637 " │ │ THEN 1 (tinyint) WHEN AND\n" + 20638 " │ │ ├─ AND\n" + 20639 " │ │ │ ├─ rs.NO52D LIKE 'IC%'\n" + 20640 " │ │ │ └─ NOT\n" + 20641 " │ │ │ └─ rs.VYO5E:1 IS NULL\n" + 20642 " │ │ └─ NOT\n" + 20643 " │ │ └─ Eq\n" + 20644 " │ │ ├─ rs.VYO5E:1\n" + 20645 " │ │ └─ CF (longtext)\n" + 20646 " │ │ THEN 4 (tinyint) WHEN Eq\n" + 20647 " │ │ ├─ rs.NO52D:0\n" + 20648 " │ │ └─ Ki (longtext)\n" + 20649 " │ │ THEN 1 (tinyint) WHEN Eq\n" + 20650 " │ │ ├─ rs.NO52D:0\n" + 20651 " │ │ └─ Kd (longtext)\n" + 20652 " │ │ THEN 2 (tinyint) ELSE NULL (null) END as ADURZ, NULL (null) as FHCYT]\n" + 20653 " │ └─ Filter\n" + 20654 " │ ├─ Or\n" + 20655 " │ │ ├─ AND\n" + 20656 " │ │ │ ├─ NOT\n" + 20657 " │ │ │ │ └─ rs.VYO5E:1 IS NULL\n" + 20658 " │ │ │ └─ NOT\n" + 20659 " │ │ │ └─ InSubquery\n" + 20660 " │ │ │ ├─ left: TUPLE(rs.NO52D:0, rs.VYO5E:1, rs.DKCAJ:2!null)\n" + 20661 " │ │ │ └─ right: Subquery\n" + 20662 " │ │ │ ├─ cacheable: true\n" + 20663 " │ │ │ ├─ alias-string: select distinct NO52D, VYO5E, DKCAJ from SFEGG where VYO5E is not null\n" + 20664 " │ │ │ └─ Distinct\n" + 20665 " │ │ │ └─ Project\n" + 20666 " │ │ │ ├─ columns: [sfegg.NO52D:5!null, sfegg.VYO5E:6, sfegg.DKCAJ:7!null]\n" + 20667 " │ │ │ └─ Filter\n" + 20668 " │ │ │ ├─ NOT\n" + 20669 " │ │ │ │ └─ sfegg.VYO5E:6 IS NULL\n" + 20670 " │ │ │ └─ Table\n" + 20671 " │ │ │ ├─ name: SFEGG\n" + 20672 " │ │ │ ├─ columns: [id no52d vyo5e dkcaj adurz fhcyt]\n" + 20673 " │ │ │ ├─ colSet: (60-65)\n" + 20674 " │ │ │ └─ tableId: 8\n" + 20675 " │ │ └─ AND\n" + 20676 " │ │ ├─ rs.VYO5E:1 IS NULL\n" + 20677 " │ │ └─ NOT\n" + 20678 " │ │ └─ InSubquery\n" + 20679 " │ │ ├─ left: TUPLE(rs.NO52D:0, rs.DKCAJ:2!null)\n" + 20680 " │ │ └─ right: Subquery\n" + 20681 " │ │ ├─ cacheable: true\n" + 20682 " │ │ ├─ alias-string: select distinct NO52D, DKCAJ from SFEGG where VYO5E is null\n" + 20683 " │ │ └─ Distinct\n" + 20684 " │ │ └─ Project\n" + 20685 " │ │ ├─ columns: [sfegg.NO52D:5!null, sfegg.DKCAJ:7!null]\n" + 20686 " │ │ └─ Filter\n" + 20687 " │ │ ├─ sfegg.VYO5E:6 IS NULL\n" + 20688 " │ │ └─ Table\n" + 20689 " │ │ ├─ name: SFEGG\n" + 20690 " │ │ ├─ columns: [id no52d vyo5e dkcaj adurz fhcyt]\n" + 20691 " │ │ ├─ colSet: (66-71)\n" + 20692 " │ │ └─ tableId: 9\n" + 20693 " │ └─ SubqueryAlias\n" + 20694 " │ ├─ name: rs\n" + 20695 " │ ├─ outerVisibility: false\n" + 20696 " │ ├─ isLateral: false\n" + 20697 " │ ├─ cacheable: true\n" + 20698 " │ ├─ colSet: (56-59)\n" + 20699 " │ ├─ tableId: 7\n" + 20700 " │ └─ Distinct\n" + 20701 " │ └─ Project\n" + 20702 " │ ├─ columns: [nk7fp.NO52D:0 as NO52D, CASE WHEN Eq\n" + 20703 " │ │ ├─ nk7fp.VYO5E:1\n" + 20704 " │ │ └─ N/A (longtext)\n" + 20705 " │ │ THEN NULL (null) ELSE nk7fp.VYO5E:1 END as VYO5E, nt.id:21!null as DKCAJ, nt.DZLIM:22!null as F35MI]\n" + 20706 " │ └─ HashJoin\n" + 20707 " │ ├─ Eq\n" + 20708 " │ │ ├─ nt.id:21!null\n" + 20709 " │ │ └─ nd.DKCAJ:5!null\n" + 20710 " │ ├─ LookupJoin\n" + 20711 " │ │ ├─ Or\n" + 20712 " │ │ │ ├─ AND\n" + 20713 " │ │ │ │ ├─ nk7fp.FVUCX:3!null IS NULL\n" + 20714 " │ │ │ │ └─ Eq\n" + 20715 " │ │ │ │ ├─ nd.ZH72S:11\n" + 20716 " │ │ │ │ └─ nk7fp.ZH72S:2\n" + 20717 " │ │ │ └─ AND\n" + 20718 " │ │ │ ├─ NOT\n" + 20719 " │ │ │ │ └─ nk7fp.FVUCX:3!null IS NULL\n" + 20720 " │ │ │ └─ Eq\n" + 20721 " │ │ │ ├─ nd.TW55N:7!null\n" + 20722 " │ │ │ └─ nk7fp.FVUCX:3!null\n" + 20723 " │ │ ├─ SubqueryAlias\n" + 20724 " │ │ │ ├─ name: nk7fp\n" + 20725 " │ │ │ ├─ outerVisibility: false\n" + 20726 " │ │ │ ├─ isLateral: false\n" + 20727 " │ │ │ ├─ cacheable: true\n" + 20728 " │ │ │ ├─ colSet: (28-31)\n" + 20729 " │ │ │ ├─ tableId: 4\n" + 20730 " │ │ │ └─ Distinct\n" + 20731 " │ │ │ └─ Project\n" + 20732 " │ │ │ ├─ columns: [uct.NO52D:7, uct.VYO5E:9, uct.ZH72S:2, i7hcr.FVUCX:17!null]\n" + 20733 " │ │ │ └─ LeftOuterMergeJoin\n" + 20734 " │ │ │ ├─ cmp: Eq\n" + 20735 " │ │ │ │ ├─ uct.FTQLQ:1\n" + 20736 " │ │ │ │ └─ i7hcr.TOFPN:14!null\n" + 20737 " │ │ │ ├─ sel: AND\n" + 20738 " │ │ │ │ ├─ AND\n" + 20739 " │ │ │ │ │ ├─ Eq\n" + 20740 " │ │ │ │ │ │ ├─ i7hcr.SWCQV:18!null\n" + 20741 " │ │ │ │ │ │ └─ 0 (tinyint)\n" + 20742 " │ │ │ │ │ └─ Eq\n" + 20743 " │ │ │ │ │ ├─ i7hcr.SJYN2:15!null\n" + 20744 " │ │ │ │ │ └─ uct.ZH72S:2\n" + 20745 " │ │ │ │ └─ Eq\n" + 20746 " │ │ │ │ ├─ i7hcr.BTXC5:16!null\n" + 20747 " │ │ │ │ └─ uct.LJLUM:5\n" + 20748 " │ │ │ ├─ Filter\n" + 20749 " │ │ │ │ ├─ HashIn\n" + 20750 " │ │ │ │ │ ├─ uct.id:0!null\n" + 20751 " │ │ │ │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 20752 " │ │ │ │ └─ TableAlias(uct)\n" + 20753 " │ │ │ │ └─ IndexedTableAccess(OUBDL)\n" + 20754 " │ │ │ │ ├─ index: [OUBDL.FTQLQ]\n" + 20755 " │ │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 20756 " │ │ │ │ ├─ colSet: (7-19)\n" + 20757 " │ │ │ │ ├─ tableId: 2\n" + 20758 " │ │ │ │ └─ Table\n" + 20759 " │ │ │ │ ├─ name: OUBDL\n" + 20760 " │ │ │ │ └─ columns: [id ftqlq zh72s sfj6l v5dpx ljlum idpk7 no52d zrv3b vyo5e ykssu fhcyt qz6vt]\n" + 20761 " │ │ │ └─ TableAlias(i7hcr)\n" + 20762 " │ │ │ └─ IndexedTableAccess(EPZU6)\n" + 20763 " │ │ │ ├─ index: [EPZU6.TOFPN]\n" + 20764 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 20765 " │ │ │ ├─ colSet: (20-27)\n" + 20766 " │ │ │ ├─ tableId: 3\n" + 20767 " │ │ │ └─ Table\n" + 20768 " │ │ │ ├─ name: EPZU6\n" + 20769 " │ │ │ └─ columns: [id tofpn sjyn2 btxc5 fvucx swcqv ykssu fhcyt]\n" + 20770 " │ │ └─ TableAlias(nd)\n" + 20771 " │ │ └─ Concat\n" + 20772 " │ │ ├─ TableAlias(nd)\n" + 20773 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 20774 " │ │ │ ├─ index: [E2I7U.TW55N]\n" + 20775 " │ │ │ ├─ keys: [nk7fp.FVUCX:3!null]\n" + 20776 " │ │ │ ├─ colSet: (32-48)\n" + 20777 " │ │ │ ├─ tableId: 5\n" + 20778 " │ │ │ └─ Table\n" + 20779 " │ │ │ ├─ name: E2I7U\n" + 20780 " │ │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 20781 " │ │ └─ TableAlias(nd)\n" + 20782 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 20783 " │ │ ├─ index: [E2I7U.ZH72S]\n" + 20784 " │ │ ├─ keys: [nk7fp.ZH72S:2]\n" + 20785 " │ │ ├─ colSet: (32-48)\n" + 20786 " │ │ ├─ tableId: 5\n" + 20787 " │ │ └─ Table\n" + 20788 " │ │ ├─ name: E2I7U\n" + 20789 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 20790 " │ └─ HashLookup\n" + 20791 " │ ├─ left-key: TUPLE(nd.DKCAJ:5!null)\n" + 20792 " │ ├─ right-key: TUPLE(nt.id:0!null)\n" + 20793 " │ └─ TableAlias(nt)\n" + 20794 " │ └─ Table\n" + 20795 " │ ├─ name: F35MI\n" + 20796 " │ ├─ columns: [id dzlim f3yue]\n" + 20797 " │ ├─ colSet: (49-51)\n" + 20798 " │ └─ tableId: 6\n" + 20799 " └─ BEGIN .. END\n" + 20800 " ├─ IF BLOCK\n" + 20801 " │ └─ IF(Or\n" + 20802 " │ ├─ InSubquery\n" + 20803 " │ │ ├─ left: new.NO52D:1!null\n" + 20804 " │ │ └─ right: Subquery\n" + 20805 " │ │ ├─ cacheable: false\n" + 20806 " │ │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 20807 " │ │ └─ Table\n" + 20808 " │ │ ├─ name: TPXHZ\n" + 20809 " │ │ ├─ columns: [svaz4]\n" + 20810 " │ │ ├─ colSet: (13,14)\n" + 20811 " │ │ └─ tableId: 3\n" + 20812 " │ └─ InSubquery\n" + 20813 " │ ├─ left: new.VYO5E:2\n" + 20814 " │ └─ right: Subquery\n" + 20815 " │ ├─ cacheable: false\n" + 20816 " │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 20817 " │ └─ Table\n" + 20818 " │ ├─ name: TPXHZ\n" + 20819 " │ ├─ columns: [svaz4]\n" + 20820 " │ ├─ colSet: (15,16)\n" + 20821 " │ └─ tableId: 4\n" + 20822 " │ )\n" + 20823 " │ └─ BLOCK\n" + 20824 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = String field contains invalid value, like empty string, 'none', 'null', 'n/a', 'nan' etc., MYSQL_ERRNO = 1644\n" + 20825 " └─ IF BLOCK\n" + 20826 " └─ IF(LessThanOrEqual\n" + 20827 " ├─ new.ADURZ:4!null\n" + 20828 " └─ 0 (tinyint)\n" + 20829 " )\n" + 20830 " └─ BLOCK\n" + 20831 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = ADURZ must be positive., MYSQL_ERRNO = 1644\n" + 20832 "", 20833 }, 20834 { 20835 Query: ` 20836 INSERT INTO FLQLP 20837 (id, FZ2R5, LUEVY, M22QN, OVE3E, NRURT, OCA7E, XMM6Q, V5DPX, S3Q3Y, ZRV3B, FHCYT) 20838 SELECT 20839 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 20840 PQSXB.FZ2R5 AS FZ2R5, 20841 nd.id AS LUEVY, 20842 (SELECT aac.id FROM TPXBU aac WHERE aac.BTXC5 = PQSXB.BTXC5) AS M22QN, 20843 PQSXB.OVE3E AS OVE3E, 20844 PQSXB.NRURT AS NRURT, 20845 PQSXB.OCA7E AS OCA7E, 20846 PQSXB.XMM6Q AS XMM6Q, 20847 PQSXB.V5DPX AS V5DPX, 20848 PQSXB.S3Q3Y AS S3Q3Y, 20849 PQSXB.ZRV3B AS ZRV3B, 20850 PQSXB.FHCYT AS FHCYT 20851 FROM 20852 ( 20853 SELECT 20854 -- Base fields to insert to FLQLP 20855 (SELECT id FROM JDLNA WHERE JDLNA.FTQLQ = uct.FTQLQ) AS FZ2R5, 20856 (SELECT id FROM SFEGG WHERE 20857 SFEGG.NO52D = uct.NO52D AND 20858 ( 20859 SFEGG.VYO5E = uct.VYO5E OR 20860 (SFEGG.VYO5E IS NULL AND (uct.VYO5E IS NULL OR uct.VYO5E = 'N/A' OR uct.VYO5E = 'NA')) 20861 ) AND 20862 SFEGG.DKCAJ = ( 20863 SELECT 20864 CASE 20865 WHEN I7HCR.FVUCX IS NULL 20866 THEN (SELECT nd.DKCAJ FROM E2I7U nd WHERE nd.ZH72S = uct.ZH72S LIMIT 1) 20867 ELSE 20868 (SELECT nd.DKCAJ FROM E2I7U nd WHERE nd.TW55N = I7HCR.FVUCX) 20869 END 20870 ) 20871 ) AS OVE3E, 20872 uct.id AS NRURT, 20873 I7HCR.id AS OCA7E, 20874 NULL AS XMM6Q, -- Here we do not care with additionals 20875 uct.V5DPX AS V5DPX, 20876 uct.IDPK7 + 0.0 AS S3Q3Y, 20877 uct.ZRV3B AS ZRV3B, 20878 CASE 20879 WHEN uct.FHCYT <> 'N/A' THEN uct.FHCYT 20880 ELSE NULL 20881 END AS FHCYT, 20882 -- Extra fields to use 20883 uct.ZH72S AS K3B6V, 20884 uct.LJLUM AS BTXC5, 20885 I7HCR.FVUCX AS H4DMT 20886 FROM 20887 OUBDL uct 20888 LEFT JOIN -- Joining overrides 20889 EPZU6 I7HCR 20890 ON 20891 I7HCR.SWCQV = 0 -- Override is turned on 20892 AND 20893 I7HCR.TOFPN = uct.FTQLQ 20894 AND 20895 I7HCR.SJYN2 = uct.ZH72S 20896 AND 20897 I7HCR.BTXC5 = uct.LJLUM 20898 WHERE 20899 uct.id IN ('1','2','3') 20900 ) PQSXB 20901 INNER JOIN 20902 E2I7U nd 20903 ON 20904 ( 20905 PQSXB.H4DMT IS NOT NULL 20906 AND 20907 nd.TW55N = PQSXB.H4DMT 20908 ) 20909 OR 20910 ( 20911 PQSXB.H4DMT IS NULL 20912 AND 20913 nd.ZH72S = PQSXB.K3B6V 20914 ) 20915 WHERE 20916 -- In the case we could not build-in evidence class for some 20917 PQSXB.OVE3E IS NOT NULL`, 20918 ExpectedPlan: "TriggerRollback\n" + 20919 " └─ RowUpdateAccumulator\n" + 20920 " └─ Insert(id, FZ2R5, LUEVY, M22QN, OVE3E, NRURT, OCA7E, XMM6Q, V5DPX, S3Q3Y, ZRV3B, FHCYT)\n" + 20921 " ├─ InsertDestination\n" + 20922 " │ └─ ProcessTable\n" + 20923 " │ └─ Table\n" + 20924 " │ ├─ name: FLQLP\n" + 20925 " │ └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 20926 " └─ Trigger(CREATE TRIGGER FLQLP_on_insert BEFORE INSERT ON FLQLP\n" + 20927 " FOR EACH ROW\n" + 20928 " BEGIN\n" + 20929 " IF\n" + 20930 " NEW.V5DPX IN (SELECT SVAZ4 FROM TPXHZ)\n" + 20931 " THEN\n" + 20932 " -- SET @custom_error_message = (SELECT error_message FROM trigger_helper_error_message WHERE DZLIM = 'SVAZ4');\n" + 20933 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 20934 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'String field contains invalid value, like empty string, ''none'', ''null'', ''n/a'', ''nan'' etc.';\n" + 20935 " END IF;\n" + 20936 " IF\n" + 20937 " NEW.ZRV3B NOT IN ('=', '<=', '>=', '<', '>')\n" + 20938 " THEN\n" + 20939 " -- SET @custom_error_message = 'The ZRV3B must be on of the following: ''='', ''<='', ''>='', ''<'', ''>''.';\n" + 20940 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 20941 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The ZRV3B must be on of the following: ''='', ''<='', ''>='', ''<'', ''>''.';\n" + 20942 " END IF;\n" + 20943 " END//)\n" + 20944 " ├─ Project\n" + 20945 " │ ├─ columns: [id:0!null, FZ2R5:1!null, LUEVY:2!null, M22QN:3!null, OVE3E:4!null, NRURT:5, OCA7E:6, XMM6Q:7, V5DPX:8!null, S3Q3Y:9!null, ZRV3B:10!null, FHCYT:11]\n" + 20946 " │ └─ Project\n" + 20947 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, pqsxb.FZ2R5:0 as FZ2R5, nd.id:12!null as LUEVY, Subquery\n" + 20948 " │ │ ├─ cacheable: false\n" + 20949 " │ │ ├─ alias-string: select aac.id from TPXBU as aac where aac.BTXC5 = PQSXB.BTXC5\n" + 20950 " │ │ └─ Project\n" + 20951 " │ │ ├─ columns: [aac.id:41!null]\n" + 20952 " │ │ └─ Filter\n" + 20953 " │ │ ├─ Eq\n" + 20954 " │ │ │ ├─ aac.BTXC5:42\n" + 20955 " │ │ │ └─ pqsxb.BTXC5:10\n" + 20956 " │ │ └─ TableAlias(aac)\n" + 20957 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 20958 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 20959 " │ │ ├─ keys: [pqsxb.BTXC5:10]\n" + 20960 " │ │ ├─ colSet: (124-126)\n" + 20961 " │ │ ├─ tableId: 10\n" + 20962 " │ │ └─ Table\n" + 20963 " │ │ ├─ name: TPXBU\n" + 20964 " │ │ └─ columns: [id btxc5]\n" + 20965 " │ │ as M22QN, pqsxb.OVE3E:1 as OVE3E, pqsxb.NRURT:2!null as NRURT, pqsxb.OCA7E:3!null as OCA7E, pqsxb.XMM6Q:4 as XMM6Q, pqsxb.V5DPX:5 as V5DPX, pqsxb.S3Q3Y:6 as S3Q3Y, pqsxb.ZRV3B:7 as ZRV3B, pqsxb.FHCYT:8 as FHCYT]\n" + 20966 " │ └─ Project\n" + 20967 " │ ├─ columns: [pqsxb.FZ2R5:0, pqsxb.OVE3E:1, pqsxb.NRURT:2!null, pqsxb.OCA7E:3!null, pqsxb.XMM6Q:4, pqsxb.V5DPX:5, pqsxb.S3Q3Y:6, pqsxb.ZRV3B:7, pqsxb.FHCYT:8, pqsxb.K3B6V:9, pqsxb.BTXC5:10, pqsxb.H4DMT:11!null, nd.id:12!null, nd.DKCAJ:13!null, nd.KNG7T:14, nd.TW55N:15!null, nd.QRQXW:16!null, nd.ECXAJ:17!null, nd.FGG57:18, nd.ZH72S:19, nd.FSK67:20!null, nd.XQDYT:21!null, nd.TCE7A:22, nd.IWV2H:23, nd.HPCMS:24!null, nd.N5CC2:25, nd.FHCYT:26, nd.ETAQ7:27, nd.A75X7:28, lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, pqsxb.FZ2R5:0 as FZ2R5, nd.id:12!null as LUEVY, Subquery\n" + 20968 " │ │ ├─ cacheable: false\n" + 20969 " │ │ ├─ alias-string: select aac.id from TPXBU as aac where aac.BTXC5 = PQSXB.BTXC5\n" + 20970 " │ │ └─ Project\n" + 20971 " │ │ ├─ columns: [aac.id:29!null]\n" + 20972 " │ │ └─ Filter\n" + 20973 " │ │ ├─ Eq\n" + 20974 " │ │ │ ├─ aac.BTXC5:30\n" + 20975 " │ │ │ └─ pqsxb.BTXC5:10\n" + 20976 " │ │ └─ TableAlias(aac)\n" + 20977 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 20978 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 20979 " │ │ ├─ keys: [pqsxb.BTXC5:10]\n" + 20980 " │ │ ├─ colSet: (124-126)\n" + 20981 " │ │ ├─ tableId: 10\n" + 20982 " │ │ └─ Table\n" + 20983 " │ │ ├─ name: TPXBU\n" + 20984 " │ │ └─ columns: [id btxc5]\n" + 20985 " │ │ as M22QN, pqsxb.OVE3E:1 as OVE3E, pqsxb.NRURT:2!null as NRURT, pqsxb.OCA7E:3!null as OCA7E, pqsxb.XMM6Q:4 as XMM6Q, pqsxb.V5DPX:5 as V5DPX, pqsxb.S3Q3Y:6 as S3Q3Y, pqsxb.ZRV3B:7 as ZRV3B, pqsxb.FHCYT:8 as FHCYT]\n" + 20986 " │ └─ Filter\n" + 20987 " │ ├─ NOT\n" + 20988 " │ │ └─ pqsxb.OVE3E:1 IS NULL\n" + 20989 " │ └─ LookupJoin\n" + 20990 " │ ├─ Or\n" + 20991 " │ │ ├─ AND\n" + 20992 " │ │ │ ├─ NOT\n" + 20993 " │ │ │ │ └─ pqsxb.H4DMT:11!null IS NULL\n" + 20994 " │ │ │ └─ Eq\n" + 20995 " │ │ │ ├─ nd.TW55N:15!null\n" + 20996 " │ │ │ └─ pqsxb.H4DMT:11!null\n" + 20997 " │ │ └─ AND\n" + 20998 " │ │ ├─ pqsxb.H4DMT:11!null IS NULL\n" + 20999 " │ │ └─ Eq\n" + 21000 " │ │ ├─ nd.ZH72S:19\n" + 21001 " │ │ └─ pqsxb.K3B6V:9\n" + 21002 " │ ├─ SubqueryAlias\n" + 21003 " │ │ ├─ name: pqsxb\n" + 21004 " │ │ ├─ outerVisibility: false\n" + 21005 " │ │ ├─ isLateral: false\n" + 21006 " │ │ ├─ cacheable: true\n" + 21007 " │ │ ├─ colSet: (92-103)\n" + 21008 " │ │ ├─ tableId: 8\n" + 21009 " │ │ └─ Project\n" + 21010 " │ │ ├─ columns: [Subquery\n" + 21011 " │ │ │ ├─ cacheable: false\n" + 21012 " │ │ │ ├─ alias-string: select id from JDLNA where JDLNA.FTQLQ = uct.FTQLQ\n" + 21013 " │ │ │ └─ Project\n" + 21014 " │ │ │ ├─ columns: [jdlna.id:33!null]\n" + 21015 " │ │ │ └─ Filter\n" + 21016 " │ │ │ ├─ Eq\n" + 21017 " │ │ │ │ ├─ jdlna.FTQLQ:34!null\n" + 21018 " │ │ │ │ └─ uct.FTQLQ:1\n" + 21019 " │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 21020 " │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 21021 " │ │ │ ├─ keys: [uct.FTQLQ:1]\n" + 21022 " │ │ │ ├─ colSet: (34-38)\n" + 21023 " │ │ │ ├─ tableId: 4\n" + 21024 " │ │ │ └─ Table\n" + 21025 " │ │ │ ├─ name: JDLNA\n" + 21026 " │ │ │ └─ columns: [id ftqlq]\n" + 21027 " │ │ │ as FZ2R5, Subquery\n" + 21028 " │ │ │ ├─ cacheable: false\n" + 21029 " │ │ │ ├─ alias-string: select id from SFEGG where SFEGG.NO52D = uct.NO52D and (SFEGG.VYO5E = uct.VYO5E or (SFEGG.VYO5E is null and (uct.VYO5E is null or uct.VYO5E = 'N/A' or uct.VYO5E = 'NA'))) and SFEGG.DKCAJ = (select case when I7HCR.FVUCX is null then (select nd.DKCAJ from E2I7U as nd where nd.ZH72S = uct.ZH72S limit 1) else (select nd.DKCAJ from E2I7U as nd where nd.TW55N = I7HCR.FVUCX) end)\n" + 21030 " │ │ │ └─ Project\n" + 21031 " │ │ │ ├─ columns: [sfegg.id:33!null]\n" + 21032 " │ │ │ └─ Filter\n" + 21033 " │ │ │ ├─ AND\n" + 21034 " │ │ │ │ ├─ AND\n" + 21035 " │ │ │ │ │ ├─ Eq\n" + 21036 " │ │ │ │ │ │ ├─ sfegg.NO52D:34!null\n" + 21037 " │ │ │ │ │ │ └─ uct.NO52D:7\n" + 21038 " │ │ │ │ │ └─ Or\n" + 21039 " │ │ │ │ │ ├─ Eq\n" + 21040 " │ │ │ │ │ │ ├─ sfegg.VYO5E:35\n" + 21041 " │ │ │ │ │ │ └─ uct.VYO5E:9\n" + 21042 " │ │ │ │ │ └─ AND\n" + 21043 " │ │ │ │ │ ├─ sfegg.VYO5E:35 IS NULL\n" + 21044 " │ │ │ │ │ └─ Or\n" + 21045 " │ │ │ │ │ ├─ Or\n" + 21046 " │ │ │ │ │ │ ├─ uct.VYO5E:9 IS NULL\n" + 21047 " │ │ │ │ │ │ └─ Eq\n" + 21048 " │ │ │ │ │ │ ├─ uct.VYO5E:9\n" + 21049 " │ │ │ │ │ │ └─ N/A (longtext)\n" + 21050 " │ │ │ │ │ └─ Eq\n" + 21051 " │ │ │ │ │ ├─ uct.VYO5E:9\n" + 21052 " │ │ │ │ │ └─ NA (longtext)\n" + 21053 " │ │ │ │ └─ Eq\n" + 21054 " │ │ │ │ ├─ sfegg.DKCAJ:36!null\n" + 21055 " │ │ │ │ └─ Subquery\n" + 21056 " │ │ │ │ ├─ cacheable: false\n" + 21057 " │ │ │ │ ├─ alias-string: select case when I7HCR.FVUCX is null then (select nd.DKCAJ from E2I7U as nd where nd.ZH72S = uct.ZH72S limit 1) else (select nd.DKCAJ from E2I7U as nd where nd.TW55N = I7HCR.FVUCX) end\n" + 21058 " │ │ │ │ └─ Project\n" + 21059 " │ │ │ │ ├─ columns: [CASE WHEN i7hcr.FVUCX:17!null IS NULL THEN Subquery\n" + 21060 " │ │ │ │ │ ├─ cacheable: false\n" + 21061 " │ │ │ │ │ ├─ alias-string: select nd.DKCAJ from E2I7U as nd where nd.ZH72S = uct.ZH72S limit 1\n" + 21062 " │ │ │ │ │ └─ Limit(1)\n" + 21063 " │ │ │ │ │ └─ Project\n" + 21064 " │ │ │ │ │ ├─ columns: [nd.DKCAJ:40!null]\n" + 21065 " │ │ │ │ │ └─ Filter\n" + 21066 " │ │ │ │ │ ├─ Eq\n" + 21067 " │ │ │ │ │ │ ├─ nd.ZH72S:41\n" + 21068 " │ │ │ │ │ │ └─ uct.ZH72S:2\n" + 21069 " │ │ │ │ │ └─ TableAlias(nd)\n" + 21070 " │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 21071 " │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 21072 " │ │ │ │ │ ├─ keys: [uct.ZH72S:2]\n" + 21073 " │ │ │ │ │ ├─ colSet: (46-62)\n" + 21074 " │ │ │ │ │ ├─ tableId: 6\n" + 21075 " │ │ │ │ │ └─ Table\n" + 21076 " │ │ │ │ │ ├─ name: E2I7U\n" + 21077 " │ │ │ │ │ └─ columns: [dkcaj zh72s]\n" + 21078 " │ │ │ │ │ ELSE Subquery\n" + 21079 " │ │ │ │ │ ├─ cacheable: false\n" + 21080 " │ │ │ │ │ ├─ alias-string: select nd.DKCAJ from E2I7U as nd where nd.TW55N = I7HCR.FVUCX\n" + 21081 " │ │ │ │ │ └─ Project\n" + 21082 " │ │ │ │ │ ├─ columns: [nd.DKCAJ:40!null]\n" + 21083 " │ │ │ │ │ └─ Filter\n" + 21084 " │ │ │ │ │ ├─ Eq\n" + 21085 " │ │ │ │ │ │ ├─ nd.TW55N:41!null\n" + 21086 " │ │ │ │ │ │ └─ i7hcr.FVUCX:17!null\n" + 21087 " │ │ │ │ │ └─ TableAlias(nd)\n" + 21088 " │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 21089 " │ │ │ │ │ ├─ index: [E2I7U.TW55N]\n" + 21090 " │ │ │ │ │ ├─ keys: [i7hcr.FVUCX:17!null]\n" + 21091 " │ │ │ │ │ ├─ colSet: (63-79)\n" + 21092 " │ │ │ │ │ ├─ tableId: 7\n" + 21093 " │ │ │ │ │ └─ Table\n" + 21094 " │ │ │ │ │ ├─ name: E2I7U\n" + 21095 " │ │ │ │ │ └─ columns: [dkcaj tw55n]\n" + 21096 " │ │ │ │ │ END]\n" + 21097 " │ │ │ │ └─ Project\n" + 21098 " │ │ │ │ ├─ columns: [dual.:39!null]\n" + 21099 " │ │ │ │ └─ Table\n" + 21100 " │ │ │ │ ├─ name: \n" + 21101 " │ │ │ │ ├─ columns: []\n" + 21102 " │ │ │ │ ├─ colSet: ()\n" + 21103 " │ │ │ │ └─ tableId: 0\n" + 21104 " │ │ │ └─ IndexedTableAccess(SFEGG)\n" + 21105 " │ │ │ ├─ index: [SFEGG.NO52D,SFEGG.VYO5E,SFEGG.DKCAJ]\n" + 21106 " │ │ │ ├─ keys: [uct.NO52D:7]\n" + 21107 " │ │ │ ├─ colSet: (40-45)\n" + 21108 " │ │ │ ├─ tableId: 5\n" + 21109 " │ │ │ └─ Table\n" + 21110 " │ │ │ ├─ name: SFEGG\n" + 21111 " │ │ │ └─ columns: [id no52d vyo5e dkcaj adurz fhcyt]\n" + 21112 " │ │ │ as OVE3E, uct.id:0!null as NRURT, i7hcr.id:13!null as OCA7E, NULL (null) as XMM6Q, uct.V5DPX:4 as V5DPX, (uct.IDPK7:6 + 0 (decimal(2,1))) as S3Q3Y, uct.ZRV3B:8 as ZRV3B, CASE WHEN NOT\n" + 21113 " │ │ │ └─ Eq\n" + 21114 " │ │ │ ├─ uct.FHCYT:11\n" + 21115 " │ │ │ └─ N/A (longtext)\n" + 21116 " │ │ │ THEN uct.FHCYT:11 ELSE NULL (null) END as FHCYT, uct.ZH72S:2 as K3B6V, uct.LJLUM:5 as BTXC5, i7hcr.FVUCX:17!null as H4DMT]\n" + 21117 " │ │ └─ Project\n" + 21118 " │ │ ├─ columns: [uct.id:0!null, uct.FTQLQ:1, uct.ZH72S:2, uct.SFJ6L:3, uct.V5DPX:4, uct.LJLUM:5, uct.IDPK7:6, uct.NO52D:7, uct.ZRV3B:8, uct.VYO5E:9, uct.YKSSU:10, uct.FHCYT:11, uct.QZ6VT:12, i7hcr.id:13!null, i7hcr.TOFPN:14!null, i7hcr.SJYN2:15!null, i7hcr.BTXC5:16!null, i7hcr.FVUCX:17!null, i7hcr.SWCQV:18!null, i7hcr.YKSSU:19, i7hcr.FHCYT:20, Subquery\n" + 21119 " │ │ │ ├─ cacheable: false\n" + 21120 " │ │ │ ├─ alias-string: select id from JDLNA where JDLNA.FTQLQ = uct.FTQLQ\n" + 21121 " │ │ │ └─ Project\n" + 21122 " │ │ │ ├─ columns: [jdlna.id:21!null]\n" + 21123 " │ │ │ └─ Filter\n" + 21124 " │ │ │ ├─ Eq\n" + 21125 " │ │ │ │ ├─ jdlna.FTQLQ:22!null\n" + 21126 " │ │ │ │ └─ uct.FTQLQ:1\n" + 21127 " │ │ │ └─ IndexedTableAccess(JDLNA)\n" + 21128 " │ │ │ ├─ index: [JDLNA.FTQLQ]\n" + 21129 " │ │ │ ├─ keys: [uct.FTQLQ:1]\n" + 21130 " │ │ │ ├─ colSet: (34-38)\n" + 21131 " │ │ │ ├─ tableId: 4\n" + 21132 " │ │ │ └─ Table\n" + 21133 " │ │ │ ├─ name: JDLNA\n" + 21134 " │ │ │ └─ columns: [id ftqlq]\n" + 21135 " │ │ │ as FZ2R5, Subquery\n" + 21136 " │ │ │ ├─ cacheable: false\n" + 21137 " │ │ │ ├─ alias-string: select id from SFEGG where SFEGG.NO52D = uct.NO52D and (SFEGG.VYO5E = uct.VYO5E or (SFEGG.VYO5E is null and (uct.VYO5E is null or uct.VYO5E = 'N/A' or uct.VYO5E = 'NA'))) and SFEGG.DKCAJ = (select case when I7HCR.FVUCX is null then (select nd.DKCAJ from E2I7U as nd where nd.ZH72S = uct.ZH72S limit 1) else (select nd.DKCAJ from E2I7U as nd where nd.TW55N = I7HCR.FVUCX) end)\n" + 21138 " │ │ │ └─ Project\n" + 21139 " │ │ │ ├─ columns: [sfegg.id:21!null]\n" + 21140 " │ │ │ └─ Filter\n" + 21141 " │ │ │ ├─ AND\n" + 21142 " │ │ │ │ ├─ AND\n" + 21143 " │ │ │ │ │ ├─ Eq\n" + 21144 " │ │ │ │ │ │ ├─ sfegg.NO52D:22!null\n" + 21145 " │ │ │ │ │ │ └─ uct.NO52D:7\n" + 21146 " │ │ │ │ │ └─ Or\n" + 21147 " │ │ │ │ │ ├─ Eq\n" + 21148 " │ │ │ │ │ │ ├─ sfegg.VYO5E:23\n" + 21149 " │ │ │ │ │ │ └─ uct.VYO5E:9\n" + 21150 " │ │ │ │ │ └─ AND\n" + 21151 " │ │ │ │ │ ├─ sfegg.VYO5E:23 IS NULL\n" + 21152 " │ │ │ │ │ └─ Or\n" + 21153 " │ │ │ │ │ ├─ Or\n" + 21154 " │ │ │ │ │ │ ├─ uct.VYO5E:9 IS NULL\n" + 21155 " │ │ │ │ │ │ └─ Eq\n" + 21156 " │ │ │ │ │ │ ├─ uct.VYO5E:9\n" + 21157 " │ │ │ │ │ │ └─ N/A (longtext)\n" + 21158 " │ │ │ │ │ └─ Eq\n" + 21159 " │ │ │ │ │ ├─ uct.VYO5E:9\n" + 21160 " │ │ │ │ │ └─ NA (longtext)\n" + 21161 " │ │ │ │ └─ Eq\n" + 21162 " │ │ │ │ ├─ sfegg.DKCAJ:24!null\n" + 21163 " │ │ │ │ └─ Subquery\n" + 21164 " │ │ │ │ ├─ cacheable: false\n" + 21165 " │ │ │ │ ├─ alias-string: select case when I7HCR.FVUCX is null then (select nd.DKCAJ from E2I7U as nd where nd.ZH72S = uct.ZH72S limit 1) else (select nd.DKCAJ from E2I7U as nd where nd.TW55N = I7HCR.FVUCX) end\n" + 21166 " │ │ │ │ └─ Project\n" + 21167 " │ │ │ │ ├─ columns: [CASE WHEN i7hcr.FVUCX:17!null IS NULL THEN Subquery\n" + 21168 " │ │ │ │ │ ├─ cacheable: false\n" + 21169 " │ │ │ │ │ ├─ alias-string: select nd.DKCAJ from E2I7U as nd where nd.ZH72S = uct.ZH72S limit 1\n" + 21170 " │ │ │ │ │ └─ Limit(1)\n" + 21171 " │ │ │ │ │ └─ Project\n" + 21172 " │ │ │ │ │ ├─ columns: [nd.DKCAJ:28!null]\n" + 21173 " │ │ │ │ │ └─ Filter\n" + 21174 " │ │ │ │ │ ├─ Eq\n" + 21175 " │ │ │ │ │ │ ├─ nd.ZH72S:29\n" + 21176 " │ │ │ │ │ │ └─ uct.ZH72S:2\n" + 21177 " │ │ │ │ │ └─ TableAlias(nd)\n" + 21178 " │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 21179 " │ │ │ │ │ ├─ index: [E2I7U.ZH72S]\n" + 21180 " │ │ │ │ │ ├─ keys: [uct.ZH72S:2]\n" + 21181 " │ │ │ │ │ ├─ colSet: (46-62)\n" + 21182 " │ │ │ │ │ ├─ tableId: 6\n" + 21183 " │ │ │ │ │ └─ Table\n" + 21184 " │ │ │ │ │ ├─ name: E2I7U\n" + 21185 " │ │ │ │ │ └─ columns: [dkcaj zh72s]\n" + 21186 " │ │ │ │ │ ELSE Subquery\n" + 21187 " │ │ │ │ │ ├─ cacheable: false\n" + 21188 " │ │ │ │ │ ├─ alias-string: select nd.DKCAJ from E2I7U as nd where nd.TW55N = I7HCR.FVUCX\n" + 21189 " │ │ │ │ │ └─ Project\n" + 21190 " │ │ │ │ │ ├─ columns: [nd.DKCAJ:28!null]\n" + 21191 " │ │ │ │ │ └─ Filter\n" + 21192 " │ │ │ │ │ ├─ Eq\n" + 21193 " │ │ │ │ │ │ ├─ nd.TW55N:29!null\n" + 21194 " │ │ │ │ │ │ └─ i7hcr.FVUCX:17!null\n" + 21195 " │ │ │ │ │ └─ TableAlias(nd)\n" + 21196 " │ │ │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 21197 " │ │ │ │ │ ├─ index: [E2I7U.TW55N]\n" + 21198 " │ │ │ │ │ ├─ keys: [i7hcr.FVUCX:17!null]\n" + 21199 " │ │ │ │ │ ├─ colSet: (63-79)\n" + 21200 " │ │ │ │ │ ├─ tableId: 7\n" + 21201 " │ │ │ │ │ └─ Table\n" + 21202 " │ │ │ │ │ ├─ name: E2I7U\n" + 21203 " │ │ │ │ │ └─ columns: [dkcaj tw55n]\n" + 21204 " │ │ │ │ │ END]\n" + 21205 " │ │ │ │ └─ Project\n" + 21206 " │ │ │ │ ├─ columns: [dual.:27!null]\n" + 21207 " │ │ │ │ └─ Table\n" + 21208 " │ │ │ │ ├─ name: \n" + 21209 " │ │ │ │ ├─ columns: []\n" + 21210 " │ │ │ │ ├─ colSet: ()\n" + 21211 " │ │ │ │ └─ tableId: 0\n" + 21212 " │ │ │ └─ IndexedTableAccess(SFEGG)\n" + 21213 " │ │ │ ├─ index: [SFEGG.NO52D,SFEGG.VYO5E,SFEGG.DKCAJ]\n" + 21214 " │ │ │ ├─ keys: [uct.NO52D:7]\n" + 21215 " │ │ │ ├─ colSet: (40-45)\n" + 21216 " │ │ │ ├─ tableId: 5\n" + 21217 " │ │ │ └─ Table\n" + 21218 " │ │ │ ├─ name: SFEGG\n" + 21219 " │ │ │ └─ columns: [id no52d vyo5e dkcaj adurz fhcyt]\n" + 21220 " │ │ │ as OVE3E, uct.id:0!null as NRURT, i7hcr.id:13!null as OCA7E, NULL (null) as XMM6Q, uct.V5DPX:4 as V5DPX, (uct.IDPK7:6 + 0 (decimal(2,1))) as S3Q3Y, uct.ZRV3B:8 as ZRV3B, CASE WHEN NOT\n" + 21221 " │ │ │ └─ Eq\n" + 21222 " │ │ │ ├─ uct.FHCYT:11\n" + 21223 " │ │ │ └─ N/A (longtext)\n" + 21224 " │ │ │ THEN uct.FHCYT:11 ELSE NULL (null) END as FHCYT, uct.ZH72S:2 as K3B6V, uct.LJLUM:5 as BTXC5, i7hcr.FVUCX:17!null as H4DMT]\n" + 21225 " │ │ └─ LeftOuterMergeJoin\n" + 21226 " │ │ ├─ cmp: Eq\n" + 21227 " │ │ │ ├─ uct.FTQLQ:1\n" + 21228 " │ │ │ └─ i7hcr.TOFPN:14!null\n" + 21229 " │ │ ├─ sel: AND\n" + 21230 " │ │ │ ├─ AND\n" + 21231 " │ │ │ │ ├─ Eq\n" + 21232 " │ │ │ │ │ ├─ i7hcr.SWCQV:18!null\n" + 21233 " │ │ │ │ │ └─ 0 (tinyint)\n" + 21234 " │ │ │ │ └─ Eq\n" + 21235 " │ │ │ │ ├─ i7hcr.SJYN2:15!null\n" + 21236 " │ │ │ │ └─ uct.ZH72S:2\n" + 21237 " │ │ │ └─ Eq\n" + 21238 " │ │ │ ├─ i7hcr.BTXC5:16!null\n" + 21239 " │ │ │ └─ uct.LJLUM:5\n" + 21240 " │ │ ├─ Filter\n" + 21241 " │ │ │ ├─ HashIn\n" + 21242 " │ │ │ │ ├─ uct.id:0!null\n" + 21243 " │ │ │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 21244 " │ │ │ └─ TableAlias(uct)\n" + 21245 " │ │ │ └─ IndexedTableAccess(OUBDL)\n" + 21246 " │ │ │ ├─ index: [OUBDL.FTQLQ]\n" + 21247 " │ │ │ ├─ static: [{[NULL, ∞)}]\n" + 21248 " │ │ │ ├─ colSet: (13-25)\n" + 21249 " │ │ │ ├─ tableId: 2\n" + 21250 " │ │ │ └─ Table\n" + 21251 " │ │ │ ├─ name: OUBDL\n" + 21252 " │ │ │ └─ columns: [id ftqlq zh72s sfj6l v5dpx ljlum idpk7 no52d zrv3b vyo5e ykssu fhcyt qz6vt]\n" + 21253 " │ │ └─ TableAlias(i7hcr)\n" + 21254 " │ │ └─ IndexedTableAccess(EPZU6)\n" + 21255 " │ │ ├─ index: [EPZU6.TOFPN]\n" + 21256 " │ │ ├─ static: [{[NULL, ∞)}]\n" + 21257 " │ │ ├─ colSet: (26-33)\n" + 21258 " │ │ ├─ tableId: 3\n" + 21259 " │ │ └─ Table\n" + 21260 " │ │ ├─ name: EPZU6\n" + 21261 " │ │ └─ columns: [id tofpn sjyn2 btxc5 fvucx swcqv ykssu fhcyt]\n" + 21262 " │ └─ TableAlias(nd)\n" + 21263 " │ └─ Concat\n" + 21264 " │ ├─ TableAlias(nd)\n" + 21265 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 21266 " │ │ ├─ index: [E2I7U.ZH72S]\n" + 21267 " │ │ ├─ keys: [pqsxb.K3B6V:9]\n" + 21268 " │ │ ├─ colSet: (104-120)\n" + 21269 " │ │ ├─ tableId: 9\n" + 21270 " │ │ └─ Table\n" + 21271 " │ │ ├─ name: E2I7U\n" + 21272 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 21273 " │ └─ TableAlias(nd)\n" + 21274 " │ └─ IndexedTableAccess(E2I7U)\n" + 21275 " │ ├─ index: [E2I7U.TW55N]\n" + 21276 " │ ├─ keys: [pqsxb.H4DMT:11!null]\n" + 21277 " │ ├─ colSet: (104-120)\n" + 21278 " │ ├─ tableId: 9\n" + 21279 " │ └─ Table\n" + 21280 " │ ├─ name: E2I7U\n" + 21281 " │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 21282 " └─ BEGIN .. END\n" + 21283 " ├─ IF BLOCK\n" + 21284 " │ └─ IF(InSubquery\n" + 21285 " │ ├─ left: new.V5DPX:8!null\n" + 21286 " │ └─ right: Subquery\n" + 21287 " │ ├─ cacheable: false\n" + 21288 " │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 21289 " │ └─ Table\n" + 21290 " │ ├─ name: TPXHZ\n" + 21291 " │ ├─ columns: [svaz4]\n" + 21292 " │ ├─ colSet: (25,26)\n" + 21293 " │ └─ tableId: 3\n" + 21294 " │ )\n" + 21295 " │ └─ BLOCK\n" + 21296 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = String field contains invalid value, like empty string, 'none', 'null', 'n/a', 'nan' etc., MYSQL_ERRNO = 1644\n" + 21297 " └─ IF BLOCK\n" + 21298 " └─ IF(NOT\n" + 21299 " └─ IN\n" + 21300 " ├─ left: new.ZRV3B:10!null\n" + 21301 " └─ right: TUPLE(= (longtext), <= (longtext), >= (longtext), < (longtext), > (longtext))\n" + 21302 " )\n" + 21303 " └─ BLOCK\n" + 21304 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The ZRV3B must be on of the following: '=', '<=', '>=', '<', '>'., MYSQL_ERRNO = 1644\n" + 21305 "", 21306 }, 21307 { 21308 Query: ` 21309 INSERT INTO 21310 SFEGG(id, NO52D, VYO5E, DKCAJ, ADURZ, FHCYT) 21311 SELECT 21312 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 21313 rs.NO52D AS NO52D, 21314 rs.VYO5E AS VYO5E, 21315 rs.DKCAJ AS DKCAJ, 21316 CASE 21317 WHEN rs.NO52D = 'FZB3D' AND rs.F35MI = 'SUZTA' THEN 1 21318 WHEN rs.NO52D = 'FZB3D' AND rs.F35MI <> 'SUZTA' THEN 3 21319 WHEN rs.NO52D LIKE 'AC%' OR rs.NO52D LIKE 'EC%' THEN 3 21320 WHEN rs.NO52D LIKE 'IC%' AND rs.VYO5E IS NULL THEN 2 21321 WHEN rs.NO52D LIKE 'IC%' AND rs.VYO5E = 'CF' THEN 1 21322 WHEN rs.NO52D LIKE 'IC%' AND rs.VYO5E IS NOT NULL AND NOT(rs.VYO5E = 'CF') THEN 4 21323 WHEN rs.NO52D = 'Ki' THEN 1 21324 WHEN rs.NO52D = 'Kd' THEN 2 21325 ELSE NULL 21326 END AS ADURZ, 21327 NULL AS FHCYT 21328 FROM 21329 ( 21330 SELECT DISTINCT 21331 TVTJS.NO52D AS NO52D, 21332 TVTJS.VYO5E AS VYO5E, 21333 nt.id AS DKCAJ, 21334 nt.DZLIM AS F35MI 21335 FROM 21336 HU5A5 TVTJS 21337 INNER JOIN 21338 E2I7U nd ON nd.TW55N = TVTJS.I3VTA 21339 INNER JOIN 21340 F35MI nt ON nt.id = nd.DKCAJ 21341 WHERE 21342 TVTJS.id IN ('1','2','3') 21343 ) rs 21344 WHERE 21345 ( 21346 rs.VYO5E IS NOT NULL 21347 AND 21348 (rs.NO52D, rs.VYO5E, rs.DKCAJ) NOT IN (SELECT DISTINCT NO52D, VYO5E, DKCAJ FROM SFEGG WHERE VYO5E IS NOT NULL) 21349 ) 21350 OR 21351 ( 21352 rs.VYO5E IS NULL 21353 AND 21354 (rs.NO52D, rs.DKCAJ) NOT IN (SELECT DISTINCT NO52D, DKCAJ FROM SFEGG WHERE VYO5E IS NULL) 21355 )`, 21356 ExpectedPlan: "TriggerRollback\n" + 21357 " └─ RowUpdateAccumulator\n" + 21358 " └─ Insert(id, NO52D, VYO5E, DKCAJ, ADURZ, FHCYT)\n" + 21359 " ├─ InsertDestination\n" + 21360 " │ └─ ProcessTable\n" + 21361 " │ └─ Table\n" + 21362 " │ ├─ name: SFEGG\n" + 21363 " │ └─ columns: [id no52d vyo5e dkcaj adurz fhcyt]\n" + 21364 " └─ Trigger(CREATE TRIGGER SFEGG_on_insert BEFORE INSERT ON SFEGG\n" + 21365 " FOR EACH ROW\n" + 21366 " BEGIN\n" + 21367 " IF\n" + 21368 " NEW.NO52D IN (SELECT SVAZ4 FROM TPXHZ)\n" + 21369 " OR NEW.VYO5E IN (SELECT SVAZ4 FROM TPXHZ)\n" + 21370 " THEN\n" + 21371 " -- SET @custom_error_message = (SELECT error_message FROM trigger_helper_error_message WHERE DZLIM = 'SVAZ4');\n" + 21372 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 21373 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'String field contains invalid value, like empty string, ''none'', ''null'', ''n/a'', ''nan'' etc.';\n" + 21374 " END IF;\n" + 21375 " IF\n" + 21376 " NEW.ADURZ <= 0\n" + 21377 " THEN\n" + 21378 " -- SET @custom_error_message = 'ADURZ must be positive.';\n" + 21379 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 21380 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'ADURZ must be positive.';\n" + 21381 " END IF;\n" + 21382 " END//)\n" + 21383 " ├─ Project\n" + 21384 " │ ├─ columns: [id:0!null, NO52D:1!null, VYO5E:2, DKCAJ:3!null, ADURZ:4!null, FHCYT:5]\n" + 21385 " │ └─ Project\n" + 21386 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, rs.NO52D:0!null as NO52D, rs.VYO5E:1 as VYO5E, rs.DKCAJ:2!null as DKCAJ, CASE WHEN AND\n" + 21387 " │ │ ├─ Eq\n" + 21388 " │ │ │ ├─ rs.NO52D:0!null\n" + 21389 " │ │ │ └─ FZB3D (longtext)\n" + 21390 " │ │ └─ Eq\n" + 21391 " │ │ ├─ rs.F35MI:3!null\n" + 21392 " │ │ └─ SUZTA (longtext)\n" + 21393 " │ │ THEN 1 (tinyint) WHEN AND\n" + 21394 " │ │ ├─ Eq\n" + 21395 " │ │ │ ├─ rs.NO52D:0!null\n" + 21396 " │ │ │ └─ FZB3D (longtext)\n" + 21397 " │ │ └─ NOT\n" + 21398 " │ │ └─ Eq\n" + 21399 " │ │ ├─ rs.F35MI:3!null\n" + 21400 " │ │ └─ SUZTA (longtext)\n" + 21401 " │ │ THEN 3 (tinyint) WHEN Or\n" + 21402 " │ │ ├─ rs.NO52D LIKE 'AC%'\n" + 21403 " │ │ └─ rs.NO52D LIKE 'EC%'\n" + 21404 " │ │ THEN 3 (tinyint) WHEN AND\n" + 21405 " │ │ ├─ rs.NO52D LIKE 'IC%'\n" + 21406 " │ │ └─ rs.VYO5E:1 IS NULL\n" + 21407 " │ │ THEN 2 (tinyint) WHEN AND\n" + 21408 " │ │ ├─ rs.NO52D LIKE 'IC%'\n" + 21409 " │ │ └─ Eq\n" + 21410 " │ │ ├─ rs.VYO5E:1\n" + 21411 " │ │ └─ CF (longtext)\n" + 21412 " │ │ THEN 1 (tinyint) WHEN AND\n" + 21413 " │ │ ├─ AND\n" + 21414 " │ │ │ ├─ rs.NO52D LIKE 'IC%'\n" + 21415 " │ │ │ └─ NOT\n" + 21416 " │ │ │ └─ rs.VYO5E:1 IS NULL\n" + 21417 " │ │ └─ NOT\n" + 21418 " │ │ └─ Eq\n" + 21419 " │ │ ├─ rs.VYO5E:1\n" + 21420 " │ │ └─ CF (longtext)\n" + 21421 " │ │ THEN 4 (tinyint) WHEN Eq\n" + 21422 " │ │ ├─ rs.NO52D:0!null\n" + 21423 " │ │ └─ Ki (longtext)\n" + 21424 " │ │ THEN 1 (tinyint) WHEN Eq\n" + 21425 " │ │ ├─ rs.NO52D:0!null\n" + 21426 " │ │ └─ Kd (longtext)\n" + 21427 " │ │ THEN 2 (tinyint) ELSE NULL (null) END as ADURZ, NULL (null) as FHCYT]\n" + 21428 " │ └─ Filter\n" + 21429 " │ ├─ Or\n" + 21430 " │ │ ├─ AND\n" + 21431 " │ │ │ ├─ NOT\n" + 21432 " │ │ │ │ └─ rs.VYO5E:1 IS NULL\n" + 21433 " │ │ │ └─ NOT\n" + 21434 " │ │ │ └─ InSubquery\n" + 21435 " │ │ │ ├─ left: TUPLE(rs.NO52D:0!null, rs.VYO5E:1, rs.DKCAJ:2!null)\n" + 21436 " │ │ │ └─ right: Subquery\n" + 21437 " │ │ │ ├─ cacheable: true\n" + 21438 " │ │ │ ├─ alias-string: select distinct NO52D, VYO5E, DKCAJ from SFEGG where VYO5E is not null\n" + 21439 " │ │ │ └─ Distinct\n" + 21440 " │ │ │ └─ Project\n" + 21441 " │ │ │ ├─ columns: [sfegg.NO52D:5!null, sfegg.VYO5E:6, sfegg.DKCAJ:7!null]\n" + 21442 " │ │ │ └─ Filter\n" + 21443 " │ │ │ ├─ NOT\n" + 21444 " │ │ │ │ └─ sfegg.VYO5E:6 IS NULL\n" + 21445 " │ │ │ └─ Table\n" + 21446 " │ │ │ ├─ name: SFEGG\n" + 21447 " │ │ │ ├─ columns: [id no52d vyo5e dkcaj adurz fhcyt]\n" + 21448 " │ │ │ ├─ colSet: (48-53)\n" + 21449 " │ │ │ └─ tableId: 6\n" + 21450 " │ │ └─ AND\n" + 21451 " │ │ ├─ rs.VYO5E:1 IS NULL\n" + 21452 " │ │ └─ NOT\n" + 21453 " │ │ └─ InSubquery\n" + 21454 " │ │ ├─ left: TUPLE(rs.NO52D:0!null, rs.DKCAJ:2!null)\n" + 21455 " │ │ └─ right: Subquery\n" + 21456 " │ │ ├─ cacheable: true\n" + 21457 " │ │ ├─ alias-string: select distinct NO52D, DKCAJ from SFEGG where VYO5E is null\n" + 21458 " │ │ └─ Distinct\n" + 21459 " │ │ └─ Project\n" + 21460 " │ │ ├─ columns: [sfegg.NO52D:5!null, sfegg.DKCAJ:7!null]\n" + 21461 " │ │ └─ Filter\n" + 21462 " │ │ ├─ sfegg.VYO5E:6 IS NULL\n" + 21463 " │ │ └─ Table\n" + 21464 " │ │ ├─ name: SFEGG\n" + 21465 " │ │ ├─ columns: [id no52d vyo5e dkcaj adurz fhcyt]\n" + 21466 " │ │ ├─ colSet: (54-59)\n" + 21467 " │ │ └─ tableId: 7\n" + 21468 " │ └─ SubqueryAlias\n" + 21469 " │ ├─ name: rs\n" + 21470 " │ ├─ outerVisibility: false\n" + 21471 " │ ├─ isLateral: false\n" + 21472 " │ ├─ cacheable: true\n" + 21473 " │ ├─ colSet: (44-47)\n" + 21474 " │ ├─ tableId: 5\n" + 21475 " │ └─ Distinct\n" + 21476 " │ └─ Project\n" + 21477 " │ ├─ columns: [tvtjs.NO52D:7!null as NO52D, tvtjs.VYO5E:9 as VYO5E, nt.id:30!null as DKCAJ, nt.DZLIM:31!null as F35MI]\n" + 21478 " │ └─ HashJoin\n" + 21479 " │ ├─ Eq\n" + 21480 " │ │ ├─ nt.id:30!null\n" + 21481 " │ │ └─ nd.DKCAJ:14!null\n" + 21482 " │ ├─ LookupJoin\n" + 21483 " │ │ ├─ Filter\n" + 21484 " │ │ │ ├─ HashIn\n" + 21485 " │ │ │ │ ├─ tvtjs.id:0!null\n" + 21486 " │ │ │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 21487 " │ │ │ └─ TableAlias(tvtjs)\n" + 21488 " │ │ │ └─ IndexedTableAccess(HU5A5)\n" + 21489 " │ │ │ ├─ index: [HU5A5.id]\n" + 21490 " │ │ │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 21491 " │ │ │ ├─ colSet: (7-19)\n" + 21492 " │ │ │ ├─ tableId: 2\n" + 21493 " │ │ │ └─ Table\n" + 21494 " │ │ │ ├─ name: HU5A5\n" + 21495 " │ │ │ └─ columns: [id tofpn i3vta sfj6l v5dpx ljlum idpk7 no52d zrv3b vyo5e swcqv ykssu fhcyt]\n" + 21496 " │ │ └─ TableAlias(nd)\n" + 21497 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 21498 " │ │ ├─ index: [E2I7U.TW55N]\n" + 21499 " │ │ ├─ keys: [tvtjs.I3VTA:2!null]\n" + 21500 " │ │ ├─ colSet: (20-36)\n" + 21501 " │ │ ├─ tableId: 3\n" + 21502 " │ │ └─ Table\n" + 21503 " │ │ ├─ name: E2I7U\n" + 21504 " │ │ └─ columns: [id dkcaj kng7t tw55n qrqxw ecxaj fgg57 zh72s fsk67 xqdyt tce7a iwv2h hpcms n5cc2 fhcyt etaq7 a75x7]\n" + 21505 " │ └─ HashLookup\n" + 21506 " │ ├─ left-key: TUPLE(nd.DKCAJ:14!null)\n" + 21507 " │ ├─ right-key: TUPLE(nt.id:0!null)\n" + 21508 " │ └─ TableAlias(nt)\n" + 21509 " │ └─ Table\n" + 21510 " │ ├─ name: F35MI\n" + 21511 " │ ├─ columns: [id dzlim f3yue]\n" + 21512 " │ ├─ colSet: (37-39)\n" + 21513 " │ └─ tableId: 4\n" + 21514 " └─ BEGIN .. END\n" + 21515 " ├─ IF BLOCK\n" + 21516 " │ └─ IF(Or\n" + 21517 " │ ├─ InSubquery\n" + 21518 " │ │ ├─ left: new.NO52D:1!null\n" + 21519 " │ │ └─ right: Subquery\n" + 21520 " │ │ ├─ cacheable: false\n" + 21521 " │ │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 21522 " │ │ └─ Table\n" + 21523 " │ │ ├─ name: TPXHZ\n" + 21524 " │ │ ├─ columns: [svaz4]\n" + 21525 " │ │ ├─ colSet: (13,14)\n" + 21526 " │ │ └─ tableId: 3\n" + 21527 " │ └─ InSubquery\n" + 21528 " │ ├─ left: new.VYO5E:2\n" + 21529 " │ └─ right: Subquery\n" + 21530 " │ ├─ cacheable: false\n" + 21531 " │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 21532 " │ └─ Table\n" + 21533 " │ ├─ name: TPXHZ\n" + 21534 " │ ├─ columns: [svaz4]\n" + 21535 " │ ├─ colSet: (15,16)\n" + 21536 " │ └─ tableId: 4\n" + 21537 " │ )\n" + 21538 " │ └─ BLOCK\n" + 21539 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = String field contains invalid value, like empty string, 'none', 'null', 'n/a', 'nan' etc., MYSQL_ERRNO = 1644\n" + 21540 " └─ IF BLOCK\n" + 21541 " └─ IF(LessThanOrEqual\n" + 21542 " ├─ new.ADURZ:4!null\n" + 21543 " └─ 0 (tinyint)\n" + 21544 " )\n" + 21545 " └─ BLOCK\n" + 21546 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = ADURZ must be positive., MYSQL_ERRNO = 1644\n" + 21547 "", 21548 }, 21549 { 21550 Query: ` 21551 INSERT INTO FLQLP 21552 (id, FZ2R5, LUEVY, M22QN, OVE3E, NRURT, OCA7E, XMM6Q, V5DPX, S3Q3Y, ZRV3B, FHCYT) 21553 SELECT 21554 LPAD(LOWER(CONCAT(CONCAT(HEX(RAND()*4294967296),LOWER(HEX(RAND()*4294967296)),LOWER(HEX(RAND()*4294967296))))), 24, '0') AS id, 21555 (SELECT id FROM JDLNA WHERE JDLNA.FTQLQ = TVTJS.TOFPN) AS FZ2R5, 21556 (SELECT id FROM E2I7U WHERE TW55N = TVTJS.I3VTA) AS LUEVY, 21557 (SELECT id FROM TPXBU WHERE BTXC5 = TVTJS.LJLUM) AS M22QN, 21558 (SELECT id FROM SFEGG WHERE 21559 SFEGG.NO52D = TVTJS.NO52D AND 21560 ( 21561 SFEGG.VYO5E = TVTJS.VYO5E OR 21562 (SFEGG.VYO5E IS NULL AND (TVTJS.VYO5E IS NULL OR TVTJS.VYO5E = 'N/A' OR TVTJS.VYO5E = 'NA')) 21563 ) AND 21564 SFEGG.DKCAJ = ( 21565 SELECT nd.DKCAJ FROM E2I7U nd WHERE nd.TW55N = TVTJS.I3VTA 21566 ) 21567 ) AS OVE3E, 21568 NULL AS NRURT, -- Not coming from unprocessed 21569 NULL AS OCA7E, -- Can not be overridden 21570 TVTJS.id AS XMM6Q, -- It is an additional 21571 TVTJS.V5DPX AS V5DPX, 21572 TVTJS.IDPK7 + 0.0 AS S3Q3Y, 21573 TVTJS.ZRV3B AS ZRV3B, 21574 TVTJS.FHCYT AS FHCYT 21575 FROM 21576 HU5A5 TVTJS 21577 WHERE 21578 TVTJS.id IN ('1','2','3')`, 21579 ExpectedPlan: "TriggerRollback\n" + 21580 " └─ RowUpdateAccumulator\n" + 21581 " └─ Insert(id, FZ2R5, LUEVY, M22QN, OVE3E, NRURT, OCA7E, XMM6Q, V5DPX, S3Q3Y, ZRV3B, FHCYT)\n" + 21582 " ├─ InsertDestination\n" + 21583 " │ └─ ProcessTable\n" + 21584 " │ └─ Table\n" + 21585 " │ ├─ name: FLQLP\n" + 21586 " │ └─ columns: [id fz2r5 luevy m22qn ove3e nrurt oca7e xmm6q v5dpx s3q3y zrv3b fhcyt]\n" + 21587 " └─ Trigger(CREATE TRIGGER FLQLP_on_insert BEFORE INSERT ON FLQLP\n" + 21588 " FOR EACH ROW\n" + 21589 " BEGIN\n" + 21590 " IF\n" + 21591 " NEW.V5DPX IN (SELECT SVAZ4 FROM TPXHZ)\n" + 21592 " THEN\n" + 21593 " -- SET @custom_error_message = (SELECT error_message FROM trigger_helper_error_message WHERE DZLIM = 'SVAZ4');\n" + 21594 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 21595 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'String field contains invalid value, like empty string, ''none'', ''null'', ''n/a'', ''nan'' etc.';\n" + 21596 " END IF;\n" + 21597 " IF\n" + 21598 " NEW.ZRV3B NOT IN ('=', '<=', '>=', '<', '>')\n" + 21599 " THEN\n" + 21600 " -- SET @custom_error_message = 'The ZRV3B must be on of the following: ''='', ''<='', ''>='', ''<'', ''>''.';\n" + 21601 " -- SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = @custom_error_message;\n" + 21602 " SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'The ZRV3B must be on of the following: ''='', ''<='', ''>='', ''<'', ''>''.';\n" + 21603 " END IF;\n" + 21604 " END//)\n" + 21605 " ├─ Project\n" + 21606 " │ ├─ columns: [id:0!null, FZ2R5:1!null, LUEVY:2!null, M22QN:3!null, OVE3E:4!null, NRURT:5, OCA7E:6, XMM6Q:7, V5DPX:8!null, S3Q3Y:9!null, ZRV3B:10!null, FHCYT:11]\n" + 21607 " │ └─ Project\n" + 21608 " │ ├─ columns: [lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 21609 " │ │ ├─ cacheable: false\n" + 21610 " │ │ ├─ alias-string: select id from JDLNA where JDLNA.FTQLQ = TVTJS.TOFPN\n" + 21611 " │ │ └─ Project\n" + 21612 " │ │ ├─ columns: [jdlna.id:25!null]\n" + 21613 " │ │ └─ Filter\n" + 21614 " │ │ ├─ Eq\n" + 21615 " │ │ │ ├─ jdlna.FTQLQ:26!null\n" + 21616 " │ │ │ └─ tvtjs.TOFPN:1!null\n" + 21617 " │ │ └─ IndexedTableAccess(JDLNA)\n" + 21618 " │ │ ├─ index: [JDLNA.FTQLQ]\n" + 21619 " │ │ ├─ keys: [tvtjs.TOFPN:1!null]\n" + 21620 " │ │ ├─ colSet: (27-31)\n" + 21621 " │ │ ├─ tableId: 3\n" + 21622 " │ │ └─ Table\n" + 21623 " │ │ ├─ name: JDLNA\n" + 21624 " │ │ └─ columns: [id ftqlq]\n" + 21625 " │ │ as FZ2R5, Subquery\n" + 21626 " │ │ ├─ cacheable: false\n" + 21627 " │ │ ├─ alias-string: select id from E2I7U where TW55N = TVTJS.I3VTA\n" + 21628 " │ │ └─ Project\n" + 21629 " │ │ ├─ columns: [e2i7u.id:25!null]\n" + 21630 " │ │ └─ Filter\n" + 21631 " │ │ ├─ Eq\n" + 21632 " │ │ │ ├─ e2i7u.TW55N:26!null\n" + 21633 " │ │ │ └─ tvtjs.I3VTA:2!null\n" + 21634 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 21635 " │ │ ├─ index: [E2I7U.TW55N]\n" + 21636 " │ │ ├─ keys: [tvtjs.I3VTA:2!null]\n" + 21637 " │ │ ├─ colSet: (33-49)\n" + 21638 " │ │ ├─ tableId: 4\n" + 21639 " │ │ └─ Table\n" + 21640 " │ │ ├─ name: E2I7U\n" + 21641 " │ │ └─ columns: [id tw55n]\n" + 21642 " │ │ as LUEVY, Subquery\n" + 21643 " │ │ ├─ cacheable: false\n" + 21644 " │ │ ├─ alias-string: select id from TPXBU where BTXC5 = TVTJS.LJLUM\n" + 21645 " │ │ └─ Project\n" + 21646 " │ │ ├─ columns: [tpxbu.id:25!null]\n" + 21647 " │ │ └─ Filter\n" + 21648 " │ │ ├─ Eq\n" + 21649 " │ │ │ ├─ tpxbu.BTXC5:26\n" + 21650 " │ │ │ └─ tvtjs.LJLUM:5!null\n" + 21651 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 21652 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 21653 " │ │ ├─ keys: [tvtjs.LJLUM:5!null]\n" + 21654 " │ │ ├─ colSet: (51-53)\n" + 21655 " │ │ ├─ tableId: 5\n" + 21656 " │ │ └─ Table\n" + 21657 " │ │ ├─ name: TPXBU\n" + 21658 " │ │ └─ columns: [id btxc5]\n" + 21659 " │ │ as M22QN, Subquery\n" + 21660 " │ │ ├─ cacheable: false\n" + 21661 " │ │ ├─ alias-string: select id from SFEGG where SFEGG.NO52D = TVTJS.NO52D and (SFEGG.VYO5E = TVTJS.VYO5E or (SFEGG.VYO5E is null and (TVTJS.VYO5E is null or TVTJS.VYO5E = 'N/A' or TVTJS.VYO5E = 'NA'))) and SFEGG.DKCAJ = (select nd.DKCAJ from E2I7U as nd where nd.TW55N = TVTJS.I3VTA)\n" + 21662 " │ │ └─ Project\n" + 21663 " │ │ ├─ columns: [sfegg.id:25!null]\n" + 21664 " │ │ └─ Filter\n" + 21665 " │ │ ├─ AND\n" + 21666 " │ │ │ ├─ AND\n" + 21667 " │ │ │ │ ├─ Eq\n" + 21668 " │ │ │ │ │ ├─ sfegg.NO52D:26!null\n" + 21669 " │ │ │ │ │ └─ tvtjs.NO52D:7!null\n" + 21670 " │ │ │ │ └─ Or\n" + 21671 " │ │ │ │ ├─ Eq\n" + 21672 " │ │ │ │ │ ├─ sfegg.VYO5E:27\n" + 21673 " │ │ │ │ │ └─ tvtjs.VYO5E:9\n" + 21674 " │ │ │ │ └─ AND\n" + 21675 " │ │ │ │ ├─ sfegg.VYO5E:27 IS NULL\n" + 21676 " │ │ │ │ └─ Or\n" + 21677 " │ │ │ │ ├─ Or\n" + 21678 " │ │ │ │ │ ├─ tvtjs.VYO5E:9 IS NULL\n" + 21679 " │ │ │ │ │ └─ Eq\n" + 21680 " │ │ │ │ │ ├─ tvtjs.VYO5E:9\n" + 21681 " │ │ │ │ │ └─ N/A (longtext)\n" + 21682 " │ │ │ │ └─ Eq\n" + 21683 " │ │ │ │ ├─ tvtjs.VYO5E:9\n" + 21684 " │ │ │ │ └─ NA (longtext)\n" + 21685 " │ │ │ └─ Eq\n" + 21686 " │ │ │ ├─ sfegg.DKCAJ:28!null\n" + 21687 " │ │ │ └─ Subquery\n" + 21688 " │ │ │ ├─ cacheable: false\n" + 21689 " │ │ │ ├─ alias-string: select nd.DKCAJ from E2I7U as nd where nd.TW55N = TVTJS.I3VTA\n" + 21690 " │ │ │ └─ Project\n" + 21691 " │ │ │ ├─ columns: [nd.DKCAJ:31!null]\n" + 21692 " │ │ │ └─ Filter\n" + 21693 " │ │ │ ├─ Eq\n" + 21694 " │ │ │ │ ├─ nd.TW55N:32!null\n" + 21695 " │ │ │ │ └─ tvtjs.I3VTA:2!null\n" + 21696 " │ │ │ └─ TableAlias(nd)\n" + 21697 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 21698 " │ │ │ ├─ index: [E2I7U.TW55N]\n" + 21699 " │ │ │ ├─ keys: [tvtjs.I3VTA:2!null]\n" + 21700 " │ │ │ ├─ colSet: (61-77)\n" + 21701 " │ │ │ ├─ tableId: 7\n" + 21702 " │ │ │ └─ Table\n" + 21703 " │ │ │ ├─ name: E2I7U\n" + 21704 " │ │ │ └─ columns: [dkcaj tw55n]\n" + 21705 " │ │ └─ IndexedTableAccess(SFEGG)\n" + 21706 " │ │ ├─ index: [SFEGG.NO52D,SFEGG.VYO5E,SFEGG.DKCAJ]\n" + 21707 " │ │ ├─ keys: [tvtjs.NO52D:7!null]\n" + 21708 " │ │ ├─ colSet: (55-60)\n" + 21709 " │ │ ├─ tableId: 6\n" + 21710 " │ │ └─ Table\n" + 21711 " │ │ ├─ name: SFEGG\n" + 21712 " │ │ └─ columns: [id no52d vyo5e dkcaj adurz fhcyt]\n" + 21713 " │ │ as OVE3E, NULL (null) as NRURT, NULL (null) as OCA7E, tvtjs.id:0!null as XMM6Q, tvtjs.V5DPX:4!null as V5DPX, (tvtjs.IDPK7:6!null + 0 (decimal(2,1))) as S3Q3Y, tvtjs.ZRV3B:8!null as ZRV3B, tvtjs.FHCYT:12 as FHCYT]\n" + 21714 " │ └─ Project\n" + 21715 " │ ├─ columns: [tvtjs.id:0!null, tvtjs.TOFPN:1!null, tvtjs.I3VTA:2!null, tvtjs.SFJ6L:3, tvtjs.V5DPX:4!null, tvtjs.LJLUM:5!null, tvtjs.IDPK7:6!null, tvtjs.NO52D:7!null, tvtjs.ZRV3B:8!null, tvtjs.VYO5E:9, tvtjs.SWCQV:10!null, tvtjs.YKSSU:11, tvtjs.FHCYT:12, lpad(lower(concat(concat(hex((rand() * 4294967296)),lower(hex((rand() * 4294967296))),lower(hex((rand() * 4294967296)))))), 24, '0') as id, Subquery\n" + 21716 " │ │ ├─ cacheable: false\n" + 21717 " │ │ ├─ alias-string: select id from JDLNA where JDLNA.FTQLQ = TVTJS.TOFPN\n" + 21718 " │ │ └─ Project\n" + 21719 " │ │ ├─ columns: [jdlna.id:13!null]\n" + 21720 " │ │ └─ Filter\n" + 21721 " │ │ ├─ Eq\n" + 21722 " │ │ │ ├─ jdlna.FTQLQ:14!null\n" + 21723 " │ │ │ └─ tvtjs.TOFPN:1!null\n" + 21724 " │ │ └─ IndexedTableAccess(JDLNA)\n" + 21725 " │ │ ├─ index: [JDLNA.FTQLQ]\n" + 21726 " │ │ ├─ keys: [tvtjs.TOFPN:1!null]\n" + 21727 " │ │ ├─ colSet: (27-31)\n" + 21728 " │ │ ├─ tableId: 3\n" + 21729 " │ │ └─ Table\n" + 21730 " │ │ ├─ name: JDLNA\n" + 21731 " │ │ └─ columns: [id ftqlq]\n" + 21732 " │ │ as FZ2R5, Subquery\n" + 21733 " │ │ ├─ cacheable: false\n" + 21734 " │ │ ├─ alias-string: select id from E2I7U where TW55N = TVTJS.I3VTA\n" + 21735 " │ │ └─ Project\n" + 21736 " │ │ ├─ columns: [e2i7u.id:13!null]\n" + 21737 " │ │ └─ Filter\n" + 21738 " │ │ ├─ Eq\n" + 21739 " │ │ │ ├─ e2i7u.TW55N:14!null\n" + 21740 " │ │ │ └─ tvtjs.I3VTA:2!null\n" + 21741 " │ │ └─ IndexedTableAccess(E2I7U)\n" + 21742 " │ │ ├─ index: [E2I7U.TW55N]\n" + 21743 " │ │ ├─ keys: [tvtjs.I3VTA:2!null]\n" + 21744 " │ │ ├─ colSet: (33-49)\n" + 21745 " │ │ ├─ tableId: 4\n" + 21746 " │ │ └─ Table\n" + 21747 " │ │ ├─ name: E2I7U\n" + 21748 " │ │ └─ columns: [id tw55n]\n" + 21749 " │ │ as LUEVY, Subquery\n" + 21750 " │ │ ├─ cacheable: false\n" + 21751 " │ │ ├─ alias-string: select id from TPXBU where BTXC5 = TVTJS.LJLUM\n" + 21752 " │ │ └─ Project\n" + 21753 " │ │ ├─ columns: [tpxbu.id:13!null]\n" + 21754 " │ │ └─ Filter\n" + 21755 " │ │ ├─ Eq\n" + 21756 " │ │ │ ├─ tpxbu.BTXC5:14\n" + 21757 " │ │ │ └─ tvtjs.LJLUM:5!null\n" + 21758 " │ │ └─ IndexedTableAccess(TPXBU)\n" + 21759 " │ │ ├─ index: [TPXBU.BTXC5]\n" + 21760 " │ │ ├─ keys: [tvtjs.LJLUM:5!null]\n" + 21761 " │ │ ├─ colSet: (51-53)\n" + 21762 " │ │ ├─ tableId: 5\n" + 21763 " │ │ └─ Table\n" + 21764 " │ │ ├─ name: TPXBU\n" + 21765 " │ │ └─ columns: [id btxc5]\n" + 21766 " │ │ as M22QN, Subquery\n" + 21767 " │ │ ├─ cacheable: false\n" + 21768 " │ │ ├─ alias-string: select id from SFEGG where SFEGG.NO52D = TVTJS.NO52D and (SFEGG.VYO5E = TVTJS.VYO5E or (SFEGG.VYO5E is null and (TVTJS.VYO5E is null or TVTJS.VYO5E = 'N/A' or TVTJS.VYO5E = 'NA'))) and SFEGG.DKCAJ = (select nd.DKCAJ from E2I7U as nd where nd.TW55N = TVTJS.I3VTA)\n" + 21769 " │ │ └─ Project\n" + 21770 " │ │ ├─ columns: [sfegg.id:13!null]\n" + 21771 " │ │ └─ Filter\n" + 21772 " │ │ ├─ AND\n" + 21773 " │ │ │ ├─ AND\n" + 21774 " │ │ │ │ ├─ Eq\n" + 21775 " │ │ │ │ │ ├─ sfegg.NO52D:14!null\n" + 21776 " │ │ │ │ │ └─ tvtjs.NO52D:7!null\n" + 21777 " │ │ │ │ └─ Or\n" + 21778 " │ │ │ │ ├─ Eq\n" + 21779 " │ │ │ │ │ ├─ sfegg.VYO5E:15\n" + 21780 " │ │ │ │ │ └─ tvtjs.VYO5E:9\n" + 21781 " │ │ │ │ └─ AND\n" + 21782 " │ │ │ │ ├─ sfegg.VYO5E:15 IS NULL\n" + 21783 " │ │ │ │ └─ Or\n" + 21784 " │ │ │ │ ├─ Or\n" + 21785 " │ │ │ │ │ ├─ tvtjs.VYO5E:9 IS NULL\n" + 21786 " │ │ │ │ │ └─ Eq\n" + 21787 " │ │ │ │ │ ├─ tvtjs.VYO5E:9\n" + 21788 " │ │ │ │ │ └─ N/A (longtext)\n" + 21789 " │ │ │ │ └─ Eq\n" + 21790 " │ │ │ │ ├─ tvtjs.VYO5E:9\n" + 21791 " │ │ │ │ └─ NA (longtext)\n" + 21792 " │ │ │ └─ Eq\n" + 21793 " │ │ │ ├─ sfegg.DKCAJ:16!null\n" + 21794 " │ │ │ └─ Subquery\n" + 21795 " │ │ │ ├─ cacheable: false\n" + 21796 " │ │ │ ├─ alias-string: select nd.DKCAJ from E2I7U as nd where nd.TW55N = TVTJS.I3VTA\n" + 21797 " │ │ │ └─ Project\n" + 21798 " │ │ │ ├─ columns: [nd.DKCAJ:19!null]\n" + 21799 " │ │ │ └─ Filter\n" + 21800 " │ │ │ ├─ Eq\n" + 21801 " │ │ │ │ ├─ nd.TW55N:20!null\n" + 21802 " │ │ │ │ └─ tvtjs.I3VTA:2!null\n" + 21803 " │ │ │ └─ TableAlias(nd)\n" + 21804 " │ │ │ └─ IndexedTableAccess(E2I7U)\n" + 21805 " │ │ │ ├─ index: [E2I7U.TW55N]\n" + 21806 " │ │ │ ├─ keys: [tvtjs.I3VTA:2!null]\n" + 21807 " │ │ │ ├─ colSet: (61-77)\n" + 21808 " │ │ │ ├─ tableId: 7\n" + 21809 " │ │ │ └─ Table\n" + 21810 " │ │ │ ├─ name: E2I7U\n" + 21811 " │ │ │ └─ columns: [dkcaj tw55n]\n" + 21812 " │ │ └─ IndexedTableAccess(SFEGG)\n" + 21813 " │ │ ├─ index: [SFEGG.NO52D,SFEGG.VYO5E,SFEGG.DKCAJ]\n" + 21814 " │ │ ├─ keys: [tvtjs.NO52D:7!null]\n" + 21815 " │ │ ├─ colSet: (55-60)\n" + 21816 " │ │ ├─ tableId: 6\n" + 21817 " │ │ └─ Table\n" + 21818 " │ │ ├─ name: SFEGG\n" + 21819 " │ │ └─ columns: [id no52d vyo5e dkcaj adurz fhcyt]\n" + 21820 " │ │ as OVE3E, NULL (null) as NRURT, NULL (null) as OCA7E, tvtjs.id:0!null as XMM6Q, tvtjs.V5DPX:4!null as V5DPX, (tvtjs.IDPK7:6!null + 0 (decimal(2,1))) as S3Q3Y, tvtjs.ZRV3B:8!null as ZRV3B, tvtjs.FHCYT:12 as FHCYT]\n" + 21821 " │ └─ Filter\n" + 21822 " │ ├─ HashIn\n" + 21823 " │ │ ├─ tvtjs.id:0!null\n" + 21824 " │ │ └─ TUPLE(1 (longtext), 2 (longtext), 3 (longtext))\n" + 21825 " │ └─ TableAlias(tvtjs)\n" + 21826 " │ └─ IndexedTableAccess(HU5A5)\n" + 21827 " │ ├─ index: [HU5A5.id]\n" + 21828 " │ ├─ static: [{[1, 1]}, {[2, 2]}, {[3, 3]}]\n" + 21829 " │ ├─ colSet: (13-25)\n" + 21830 " │ ├─ tableId: 2\n" + 21831 " │ └─ Table\n" + 21832 " │ ├─ name: HU5A5\n" + 21833 " │ └─ columns: [id tofpn i3vta sfj6l v5dpx ljlum idpk7 no52d zrv3b vyo5e swcqv ykssu fhcyt]\n" + 21834 " └─ BEGIN .. END\n" + 21835 " ├─ IF BLOCK\n" + 21836 " │ └─ IF(InSubquery\n" + 21837 " │ ├─ left: new.V5DPX:8!null\n" + 21838 " │ └─ right: Subquery\n" + 21839 " │ ├─ cacheable: false\n" + 21840 " │ ├─ alias-string: select SVAZ4 from TPXHZ\n" + 21841 " │ └─ Table\n" + 21842 " │ ├─ name: TPXHZ\n" + 21843 " │ ├─ columns: [svaz4]\n" + 21844 " │ ├─ colSet: (25,26)\n" + 21845 " │ └─ tableId: 3\n" + 21846 " │ )\n" + 21847 " │ └─ BLOCK\n" + 21848 " │ └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = String field contains invalid value, like empty string, 'none', 'null', 'n/a', 'nan' etc., MYSQL_ERRNO = 1644\n" + 21849 " └─ IF BLOCK\n" + 21850 " └─ IF(NOT\n" + 21851 " └─ IN\n" + 21852 " ├─ left: new.ZRV3B:10!null\n" + 21853 " └─ right: TUPLE(= (longtext), <= (longtext), >= (longtext), < (longtext), > (longtext))\n" + 21854 " )\n" + 21855 " └─ BLOCK\n" + 21856 " └─ SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = The ZRV3B must be on of the following: '=', '<=', '>=', '<', '>'., MYSQL_ERRNO = 1644\n" + 21857 "", 21858 }, 21859 }