github.com/dolthub/go-mysql-server@v0.18.0/enginetest/queries/index_query_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 IndexPlanTests = []QueryPlanTest{ 20 { 21 Query: `select * from pref_index_t4 where v1 = 'a'`, 22 ExpectedPlan: "Filter\n" + 23 " ├─ Eq\n" + 24 " │ ├─ pref_index_t4.v1:1\n" + 25 " │ └─ a (longtext)\n" + 26 " └─ IndexedTableAccess(pref_index_t4)\n" + 27 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 28 " ├─ static: [{[a, a], [NULL, ∞)}]\n" + 29 " ├─ colSet: (1-3)\n" + 30 " ├─ tableId: 1\n" + 31 " └─ Table\n" + 32 " ├─ name: pref_index_t4\n" + 33 " └─ columns: [i v1 v2]\n" + 34 "", 35 ExpectedEstimates: "Filter\n" + 36 " ├─ (pref_index_t4.v1 = 'a')\n" + 37 " └─ IndexedTableAccess(pref_index_t4)\n" + 38 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 39 " ├─ filters: [{[a, a], [NULL, ∞)}]\n" + 40 " └─ columns: [i v1 v2]\n" + 41 "", 42 ExpectedAnalysis: "Filter\n" + 43 " ├─ (pref_index_t4.v1 = 'a')\n" + 44 " └─ IndexedTableAccess(pref_index_t4)\n" + 45 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 46 " ├─ filters: [{[a, a], [NULL, ∞)}]\n" + 47 " └─ columns: [i v1 v2]\n" + 48 "", 49 }, 50 { 51 Query: `select * from pref_index_t4 where v1 = 'abc'`, 52 ExpectedPlan: "Filter\n" + 53 " ├─ Eq\n" + 54 " │ ├─ pref_index_t4.v1:1\n" + 55 " │ └─ abc (longtext)\n" + 56 " └─ IndexedTableAccess(pref_index_t4)\n" + 57 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 58 " ├─ static: [{[abc, abc], [NULL, ∞)}]\n" + 59 " ├─ colSet: (1-3)\n" + 60 " ├─ tableId: 1\n" + 61 " └─ Table\n" + 62 " ├─ name: pref_index_t4\n" + 63 " └─ columns: [i v1 v2]\n" + 64 "", 65 ExpectedEstimates: "Filter\n" + 66 " ├─ (pref_index_t4.v1 = 'abc')\n" + 67 " └─ IndexedTableAccess(pref_index_t4)\n" + 68 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 69 " ├─ filters: [{[abc, abc], [NULL, ∞)}]\n" + 70 " └─ columns: [i v1 v2]\n" + 71 "", 72 ExpectedAnalysis: "Filter\n" + 73 " ├─ (pref_index_t4.v1 = 'abc')\n" + 74 " └─ IndexedTableAccess(pref_index_t4)\n" + 75 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 76 " ├─ filters: [{[abc, abc], [NULL, ∞)}]\n" + 77 " └─ columns: [i v1 v2]\n" + 78 "", 79 }, 80 { 81 Query: `select * from pref_index_t4 where v1 = 'abcd'`, 82 ExpectedPlan: "Filter\n" + 83 " ├─ Eq\n" + 84 " │ ├─ pref_index_t4.v1:1\n" + 85 " │ └─ abcd (longtext)\n" + 86 " └─ IndexedTableAccess(pref_index_t4)\n" + 87 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 88 " ├─ static: [{[abcd, abcd], [NULL, ∞)}]\n" + 89 " ├─ colSet: (1-3)\n" + 90 " ├─ tableId: 1\n" + 91 " └─ Table\n" + 92 " ├─ name: pref_index_t4\n" + 93 " └─ columns: [i v1 v2]\n" + 94 "", 95 ExpectedEstimates: "Filter\n" + 96 " ├─ (pref_index_t4.v1 = 'abcd')\n" + 97 " └─ IndexedTableAccess(pref_index_t4)\n" + 98 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 99 " ├─ filters: [{[abcd, abcd], [NULL, ∞)}]\n" + 100 " └─ columns: [i v1 v2]\n" + 101 "", 102 ExpectedAnalysis: "Filter\n" + 103 " ├─ (pref_index_t4.v1 = 'abcd')\n" + 104 " └─ IndexedTableAccess(pref_index_t4)\n" + 105 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 106 " ├─ filters: [{[abcd, abcd], [NULL, ∞)}]\n" + 107 " └─ columns: [i v1 v2]\n" + 108 "", 109 }, 110 { 111 Query: `select * from pref_index_t4 where v1 > 'a' and v1 < 'abcde'`, 112 ExpectedPlan: "Filter\n" + 113 " ├─ AND\n" + 114 " │ ├─ GreaterThan\n" + 115 " │ │ ├─ pref_index_t4.v1:1\n" + 116 " │ │ └─ a (longtext)\n" + 117 " │ └─ LessThan\n" + 118 " │ ├─ pref_index_t4.v1:1\n" + 119 " │ └─ abcde (longtext)\n" + 120 " └─ IndexedTableAccess(pref_index_t4)\n" + 121 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 122 " ├─ static: [{(a, abcde), [NULL, ∞)}]\n" + 123 " ├─ colSet: (1-3)\n" + 124 " ├─ tableId: 1\n" + 125 " └─ Table\n" + 126 " ├─ name: pref_index_t4\n" + 127 " └─ columns: [i v1 v2]\n" + 128 "", 129 ExpectedEstimates: "Filter\n" + 130 " ├─ ((pref_index_t4.v1 > 'a') AND (pref_index_t4.v1 < 'abcde'))\n" + 131 " └─ IndexedTableAccess(pref_index_t4)\n" + 132 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 133 " ├─ filters: [{(a, abcde), [NULL, ∞)}]\n" + 134 " └─ columns: [i v1 v2]\n" + 135 "", 136 ExpectedAnalysis: "Filter\n" + 137 " ├─ ((pref_index_t4.v1 > 'a') AND (pref_index_t4.v1 < 'abcde'))\n" + 138 " └─ IndexedTableAccess(pref_index_t4)\n" + 139 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 140 " ├─ filters: [{(a, abcde), [NULL, ∞)}]\n" + 141 " └─ columns: [i v1 v2]\n" + 142 "", 143 }, 144 { 145 Query: `select * from pref_index_t4 where v1 > 'a' and v2 < 'abcde'`, 146 ExpectedPlan: "Filter\n" + 147 " ├─ AND\n" + 148 " │ ├─ GreaterThan\n" + 149 " │ │ ├─ pref_index_t4.v1:1\n" + 150 " │ │ └─ a (longtext)\n" + 151 " │ └─ LessThan\n" + 152 " │ ├─ pref_index_t4.v2:2\n" + 153 " │ └─ abcde (longtext)\n" + 154 " └─ IndexedTableAccess(pref_index_t4)\n" + 155 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 156 " ├─ static: [{(a, ∞), (NULL, abcde)}]\n" + 157 " ├─ colSet: (1-3)\n" + 158 " ├─ tableId: 1\n" + 159 " └─ Table\n" + 160 " ├─ name: pref_index_t4\n" + 161 " └─ columns: [i v1 v2]\n" + 162 "", 163 ExpectedEstimates: "Filter\n" + 164 " ├─ ((pref_index_t4.v1 > 'a') AND (pref_index_t4.v2 < 'abcde'))\n" + 165 " └─ IndexedTableAccess(pref_index_t4)\n" + 166 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 167 " ├─ filters: [{(a, ∞), (NULL, abcde)}]\n" + 168 " └─ columns: [i v1 v2]\n" + 169 "", 170 ExpectedAnalysis: "Filter\n" + 171 " ├─ ((pref_index_t4.v1 > 'a') AND (pref_index_t4.v2 < 'abcde'))\n" + 172 " └─ IndexedTableAccess(pref_index_t4)\n" + 173 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 174 " ├─ filters: [{(a, ∞), (NULL, abcde)}]\n" + 175 " └─ columns: [i v1 v2]\n" + 176 "", 177 }, 178 { 179 Query: `update pref_index_t4 set v1 = concat(v1, 'z') where v1 >= 'a'`, 180 ExpectedPlan: "RowUpdateAccumulator\n" + 181 " └─ Update\n" + 182 " └─ UpdateSource(SET pref_index_t4.v1:1 = concat(pref_index_t4.v1:1,z (longtext)))\n" + 183 " └─ Filter\n" + 184 " ├─ GreaterThanOrEqual\n" + 185 " │ ├─ pref_index_t4.v1:1\n" + 186 " │ └─ a (longtext)\n" + 187 " └─ IndexedTableAccess(pref_index_t4)\n" + 188 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 189 " ├─ static: [{[a, ∞), [NULL, ∞)}]\n" + 190 " ├─ colSet: (1-3)\n" + 191 " ├─ tableId: 1\n" + 192 " └─ Table\n" + 193 " ├─ name: pref_index_t4\n" + 194 " └─ columns: [i v1 v2]\n" + 195 "", 196 }, 197 { 198 Query: `delete from pref_index_t4 where v1 >= 'a'`, 199 ExpectedPlan: "RowUpdateAccumulator\n" + 200 " └─ Delete\n" + 201 " └─ Filter\n" + 202 " ├─ GreaterThanOrEqual\n" + 203 " │ ├─ pref_index_t4.v1:1\n" + 204 " │ └─ a (longtext)\n" + 205 " └─ IndexedTableAccess(pref_index_t4)\n" + 206 " ├─ index: [pref_index_t4.v1,pref_index_t4.v2]\n" + 207 " ├─ static: [{[a, ∞), [NULL, ∞)}]\n" + 208 " ├─ colSet: (1-3)\n" + 209 " ├─ tableId: 1\n" + 210 " └─ Table\n" + 211 " ├─ name: pref_index_t4\n" + 212 " └─ columns: [i v1 v2]\n" + 213 "", 214 }, 215 { 216 Query: `select * from pref_index_t3 where v1 = 'a'`, 217 ExpectedPlan: "Filter\n" + 218 " ├─ Eq\n" + 219 " │ ├─ pref_index_t3.v1:0\n" + 220 " │ └─ a (longtext)\n" + 221 " └─ IndexedTableAccess(pref_index_t3)\n" + 222 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 223 " ├─ static: [{[a, a], [NULL, ∞)}]\n" + 224 " ├─ colSet: (1,2)\n" + 225 " ├─ tableId: 1\n" + 226 " └─ Table\n" + 227 " ├─ name: pref_index_t3\n" + 228 " └─ columns: [v1 v2]\n" + 229 "", 230 ExpectedEstimates: "Filter\n" + 231 " ├─ (pref_index_t3.v1 = 'a')\n" + 232 " └─ IndexedTableAccess(pref_index_t3)\n" + 233 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 234 " ├─ filters: [{[a, a], [NULL, ∞)}]\n" + 235 " └─ columns: [v1 v2]\n" + 236 "", 237 ExpectedAnalysis: "Filter\n" + 238 " ├─ (pref_index_t3.v1 = 'a')\n" + 239 " └─ IndexedTableAccess(pref_index_t3)\n" + 240 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 241 " ├─ filters: [{[a, a], [NULL, ∞)}]\n" + 242 " └─ columns: [v1 v2]\n" + 243 "", 244 }, 245 { 246 Query: `select * from pref_index_t3 where v1 = 'abc'`, 247 ExpectedPlan: "Filter\n" + 248 " ├─ Eq\n" + 249 " │ ├─ pref_index_t3.v1:0\n" + 250 " │ └─ abc (longtext)\n" + 251 " └─ IndexedTableAccess(pref_index_t3)\n" + 252 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 253 " ├─ static: [{[abc, abc], [NULL, ∞)}]\n" + 254 " ├─ colSet: (1,2)\n" + 255 " ├─ tableId: 1\n" + 256 " └─ Table\n" + 257 " ├─ name: pref_index_t3\n" + 258 " └─ columns: [v1 v2]\n" + 259 "", 260 ExpectedEstimates: "Filter\n" + 261 " ├─ (pref_index_t3.v1 = 'abc')\n" + 262 " └─ IndexedTableAccess(pref_index_t3)\n" + 263 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 264 " ├─ filters: [{[abc, abc], [NULL, ∞)}]\n" + 265 " └─ columns: [v1 v2]\n" + 266 "", 267 ExpectedAnalysis: "Filter\n" + 268 " ├─ (pref_index_t3.v1 = 'abc')\n" + 269 " └─ IndexedTableAccess(pref_index_t3)\n" + 270 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 271 " ├─ filters: [{[abc, abc], [NULL, ∞)}]\n" + 272 " └─ columns: [v1 v2]\n" + 273 "", 274 }, 275 { 276 Query: `select * from pref_index_t3 where v1 = 'abcd'`, 277 ExpectedPlan: "Filter\n" + 278 " ├─ Eq\n" + 279 " │ ├─ pref_index_t3.v1:0\n" + 280 " │ └─ abcd (longtext)\n" + 281 " └─ IndexedTableAccess(pref_index_t3)\n" + 282 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 283 " ├─ static: [{[abcd, abcd], [NULL, ∞)}]\n" + 284 " ├─ colSet: (1,2)\n" + 285 " ├─ tableId: 1\n" + 286 " └─ Table\n" + 287 " ├─ name: pref_index_t3\n" + 288 " └─ columns: [v1 v2]\n" + 289 "", 290 ExpectedEstimates: "Filter\n" + 291 " ├─ (pref_index_t3.v1 = 'abcd')\n" + 292 " └─ IndexedTableAccess(pref_index_t3)\n" + 293 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 294 " ├─ filters: [{[abcd, abcd], [NULL, ∞)}]\n" + 295 " └─ columns: [v1 v2]\n" + 296 "", 297 ExpectedAnalysis: "Filter\n" + 298 " ├─ (pref_index_t3.v1 = 'abcd')\n" + 299 " └─ IndexedTableAccess(pref_index_t3)\n" + 300 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 301 " ├─ filters: [{[abcd, abcd], [NULL, ∞)}]\n" + 302 " └─ columns: [v1 v2]\n" + 303 "", 304 }, 305 { 306 Query: `select * from pref_index_t3 where v1 > 'a' and v1 < 'abcde'`, 307 ExpectedPlan: "Filter\n" + 308 " ├─ AND\n" + 309 " │ ├─ GreaterThan\n" + 310 " │ │ ├─ pref_index_t3.v1:0\n" + 311 " │ │ └─ a (longtext)\n" + 312 " │ └─ LessThan\n" + 313 " │ ├─ pref_index_t3.v1:0\n" + 314 " │ └─ abcde (longtext)\n" + 315 " └─ IndexedTableAccess(pref_index_t3)\n" + 316 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 317 " ├─ static: [{(a, abcde), [NULL, ∞)}]\n" + 318 " ├─ colSet: (1,2)\n" + 319 " ├─ tableId: 1\n" + 320 " └─ Table\n" + 321 " ├─ name: pref_index_t3\n" + 322 " └─ columns: [v1 v2]\n" + 323 "", 324 ExpectedEstimates: "Filter\n" + 325 " ├─ ((pref_index_t3.v1 > 'a') AND (pref_index_t3.v1 < 'abcde'))\n" + 326 " └─ IndexedTableAccess(pref_index_t3)\n" + 327 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 328 " ├─ filters: [{(a, abcde), [NULL, ∞)}]\n" + 329 " └─ columns: [v1 v2]\n" + 330 "", 331 ExpectedAnalysis: "Filter\n" + 332 " ├─ ((pref_index_t3.v1 > 'a') AND (pref_index_t3.v1 < 'abcde'))\n" + 333 " └─ IndexedTableAccess(pref_index_t3)\n" + 334 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 335 " ├─ filters: [{(a, abcde), [NULL, ∞)}]\n" + 336 " └─ columns: [v1 v2]\n" + 337 "", 338 }, 339 { 340 Query: `select * from pref_index_t3 where v1 > 'a' and v2 < 'abcde'`, 341 ExpectedPlan: "Filter\n" + 342 " ├─ AND\n" + 343 " │ ├─ GreaterThan\n" + 344 " │ │ ├─ pref_index_t3.v1:0\n" + 345 " │ │ └─ a (longtext)\n" + 346 " │ └─ LessThan\n" + 347 " │ ├─ pref_index_t3.v2:1\n" + 348 " │ └─ abcde (longtext)\n" + 349 " └─ IndexedTableAccess(pref_index_t3)\n" + 350 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 351 " ├─ static: [{(a, ∞), (NULL, abcde)}]\n" + 352 " ├─ colSet: (1,2)\n" + 353 " ├─ tableId: 1\n" + 354 " └─ Table\n" + 355 " ├─ name: pref_index_t3\n" + 356 " └─ columns: [v1 v2]\n" + 357 "", 358 ExpectedEstimates: "Filter\n" + 359 " ├─ ((pref_index_t3.v1 > 'a') AND (pref_index_t3.v2 < 'abcde'))\n" + 360 " └─ IndexedTableAccess(pref_index_t3)\n" + 361 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 362 " ├─ filters: [{(a, ∞), (NULL, abcde)}]\n" + 363 " └─ columns: [v1 v2]\n" + 364 "", 365 ExpectedAnalysis: "Filter\n" + 366 " ├─ ((pref_index_t3.v1 > 'a') AND (pref_index_t3.v2 < 'abcde'))\n" + 367 " └─ IndexedTableAccess(pref_index_t3)\n" + 368 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 369 " ├─ filters: [{(a, ∞), (NULL, abcde)}]\n" + 370 " └─ columns: [v1 v2]\n" + 371 "", 372 }, 373 { 374 Query: `update pref_index_t3 set v1 = concat(v1, 'z') where v1 >= 'a'`, 375 ExpectedPlan: "RowUpdateAccumulator\n" + 376 " └─ Update\n" + 377 " └─ UpdateSource(SET pref_index_t3.v1:0 = concat(pref_index_t3.v1:0,z (longtext)))\n" + 378 " └─ Filter\n" + 379 " ├─ GreaterThanOrEqual\n" + 380 " │ ├─ pref_index_t3.v1:0\n" + 381 " │ └─ a (longtext)\n" + 382 " └─ IndexedTableAccess(pref_index_t3)\n" + 383 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 384 " ├─ static: [{[a, ∞), [NULL, ∞)}]\n" + 385 " ├─ colSet: (1,2)\n" + 386 " ├─ tableId: 1\n" + 387 " └─ Table\n" + 388 " ├─ name: pref_index_t3\n" + 389 " └─ columns: [v1 v2]\n" + 390 "", 391 }, 392 { 393 Query: `delete from pref_index_t3 where v1 >= 'a'`, 394 ExpectedPlan: "RowUpdateAccumulator\n" + 395 " └─ Delete\n" + 396 " └─ Filter\n" + 397 " ├─ GreaterThanOrEqual\n" + 398 " │ ├─ pref_index_t3.v1:0\n" + 399 " │ └─ a (longtext)\n" + 400 " └─ IndexedTableAccess(pref_index_t3)\n" + 401 " ├─ index: [pref_index_t3.v1,pref_index_t3.v2]\n" + 402 " ├─ static: [{[a, ∞), [NULL, ∞)}]\n" + 403 " ├─ colSet: (1,2)\n" + 404 " ├─ tableId: 1\n" + 405 " └─ Table\n" + 406 " ├─ name: pref_index_t3\n" + 407 " └─ columns: [v1 v2]\n" + 408 "", 409 }, 410 { 411 Query: `select * from pref_index_t2 where v1 = 'A'`, 412 ExpectedPlan: "Filter\n" + 413 " ├─ Eq\n" + 414 " │ ├─ pref_index_t2.v1:1\n" + 415 " │ └─ A (longtext)\n" + 416 " └─ IndexedTableAccess(pref_index_t2)\n" + 417 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 418 " ├─ static: [{[A, A], [NULL, ∞)}]\n" + 419 " ├─ colSet: (1-3)\n" + 420 " ├─ tableId: 1\n" + 421 " └─ Table\n" + 422 " ├─ name: pref_index_t2\n" + 423 " └─ columns: [i v1 v2]\n" + 424 "", 425 ExpectedEstimates: "Filter\n" + 426 " ├─ (pref_index_t2.v1 = 'A')\n" + 427 " └─ IndexedTableAccess(pref_index_t2)\n" + 428 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 429 " ├─ filters: [{[A, A], [NULL, ∞)}]\n" + 430 " └─ columns: [i v1 v2]\n" + 431 "", 432 ExpectedAnalysis: "Filter\n" + 433 " ├─ (pref_index_t2.v1 = 'A')\n" + 434 " └─ IndexedTableAccess(pref_index_t2)\n" + 435 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 436 " ├─ filters: [{[A, A], [NULL, ∞)}]\n" + 437 " └─ columns: [i v1 v2]\n" + 438 "", 439 }, 440 { 441 Query: `select * from pref_index_t2 where v1 = 'ABC'`, 442 ExpectedPlan: "Filter\n" + 443 " ├─ Eq\n" + 444 " │ ├─ pref_index_t2.v1:1\n" + 445 " │ └─ ABC (longtext)\n" + 446 " └─ IndexedTableAccess(pref_index_t2)\n" + 447 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 448 " ├─ static: [{[ABC, ABC], [NULL, ∞)}]\n" + 449 " ├─ colSet: (1-3)\n" + 450 " ├─ tableId: 1\n" + 451 " └─ Table\n" + 452 " ├─ name: pref_index_t2\n" + 453 " └─ columns: [i v1 v2]\n" + 454 "", 455 ExpectedEstimates: "Filter\n" + 456 " ├─ (pref_index_t2.v1 = 'ABC')\n" + 457 " └─ IndexedTableAccess(pref_index_t2)\n" + 458 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 459 " ├─ filters: [{[ABC, ABC], [NULL, ∞)}]\n" + 460 " └─ columns: [i v1 v2]\n" + 461 "", 462 ExpectedAnalysis: "Filter\n" + 463 " ├─ (pref_index_t2.v1 = 'ABC')\n" + 464 " └─ IndexedTableAccess(pref_index_t2)\n" + 465 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 466 " ├─ filters: [{[ABC, ABC], [NULL, ∞)}]\n" + 467 " └─ columns: [i v1 v2]\n" + 468 "", 469 }, 470 { 471 Query: `select * from pref_index_t2 where v1 = 'ABCD'`, 472 ExpectedPlan: "Filter\n" + 473 " ├─ Eq\n" + 474 " │ ├─ pref_index_t2.v1:1\n" + 475 " │ └─ ABCD (longtext)\n" + 476 " └─ IndexedTableAccess(pref_index_t2)\n" + 477 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 478 " ├─ static: [{[ABCD, ABCD], [NULL, ∞)}]\n" + 479 " ├─ colSet: (1-3)\n" + 480 " ├─ tableId: 1\n" + 481 " └─ Table\n" + 482 " ├─ name: pref_index_t2\n" + 483 " └─ columns: [i v1 v2]\n" + 484 "", 485 ExpectedEstimates: "Filter\n" + 486 " ├─ (pref_index_t2.v1 = 'ABCD')\n" + 487 " └─ IndexedTableAccess(pref_index_t2)\n" + 488 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 489 " ├─ filters: [{[ABCD, ABCD], [NULL, ∞)}]\n" + 490 " └─ columns: [i v1 v2]\n" + 491 "", 492 ExpectedAnalysis: "Filter\n" + 493 " ├─ (pref_index_t2.v1 = 'ABCD')\n" + 494 " └─ IndexedTableAccess(pref_index_t2)\n" + 495 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 496 " ├─ filters: [{[ABCD, ABCD], [NULL, ∞)}]\n" + 497 " └─ columns: [i v1 v2]\n" + 498 "", 499 }, 500 { 501 Query: `select * from pref_index_t2 where v1 > 'A' and v1 < 'ABCDE'`, 502 ExpectedPlan: "Filter\n" + 503 " ├─ AND\n" + 504 " │ ├─ GreaterThan\n" + 505 " │ │ ├─ pref_index_t2.v1:1\n" + 506 " │ │ └─ A (longtext)\n" + 507 " │ └─ LessThan\n" + 508 " │ ├─ pref_index_t2.v1:1\n" + 509 " │ └─ ABCDE (longtext)\n" + 510 " └─ IndexedTableAccess(pref_index_t2)\n" + 511 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 512 " ├─ static: [{(A, ABCDE), [NULL, ∞)}]\n" + 513 " ├─ colSet: (1-3)\n" + 514 " ├─ tableId: 1\n" + 515 " └─ Table\n" + 516 " ├─ name: pref_index_t2\n" + 517 " └─ columns: [i v1 v2]\n" + 518 "", 519 ExpectedEstimates: "Filter\n" + 520 " ├─ ((pref_index_t2.v1 > 'A') AND (pref_index_t2.v1 < 'ABCDE'))\n" + 521 " └─ IndexedTableAccess(pref_index_t2)\n" + 522 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 523 " ├─ filters: [{(A, ABCDE), [NULL, ∞)}]\n" + 524 " └─ columns: [i v1 v2]\n" + 525 "", 526 ExpectedAnalysis: "Filter\n" + 527 " ├─ ((pref_index_t2.v1 > 'A') AND (pref_index_t2.v1 < 'ABCDE'))\n" + 528 " └─ IndexedTableAccess(pref_index_t2)\n" + 529 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 530 " ├─ filters: [{(A, ABCDE), [NULL, ∞)}]\n" + 531 " └─ columns: [i v1 v2]\n" + 532 "", 533 }, 534 { 535 Query: `select * from pref_index_t2 where v1 > 'A' and v2 < 'ABCDE'`, 536 ExpectedPlan: "Filter\n" + 537 " ├─ AND\n" + 538 " │ ├─ GreaterThan\n" + 539 " │ │ ├─ pref_index_t2.v1:1\n" + 540 " │ │ └─ A (longtext)\n" + 541 " │ └─ LessThan\n" + 542 " │ ├─ pref_index_t2.v2:2\n" + 543 " │ └─ ABCDE (longtext)\n" + 544 " └─ IndexedTableAccess(pref_index_t2)\n" + 545 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 546 " ├─ static: [{(A, ∞), (NULL, ABCDE)}]\n" + 547 " ├─ colSet: (1-3)\n" + 548 " ├─ tableId: 1\n" + 549 " └─ Table\n" + 550 " ├─ name: pref_index_t2\n" + 551 " └─ columns: [i v1 v2]\n" + 552 "", 553 ExpectedEstimates: "Filter\n" + 554 " ├─ ((pref_index_t2.v1 > 'A') AND (pref_index_t2.v2 < 'ABCDE'))\n" + 555 " └─ IndexedTableAccess(pref_index_t2)\n" + 556 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 557 " ├─ filters: [{(A, ∞), (NULL, ABCDE)}]\n" + 558 " └─ columns: [i v1 v2]\n" + 559 "", 560 ExpectedAnalysis: "Filter\n" + 561 " ├─ ((pref_index_t2.v1 > 'A') AND (pref_index_t2.v2 < 'ABCDE'))\n" + 562 " └─ IndexedTableAccess(pref_index_t2)\n" + 563 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 564 " ├─ filters: [{(A, ∞), (NULL, ABCDE)}]\n" + 565 " └─ columns: [i v1 v2]\n" + 566 "", 567 }, 568 { 569 Query: `update pref_index_t2 set v1 = concat(v1, 'Z') where v1 >= 'A'`, 570 ExpectedPlan: "RowUpdateAccumulator\n" + 571 " └─ Update\n" + 572 " └─ UpdateSource(SET pref_index_t2.v1:1 = concat(pref_index_t2.v1:1,Z (longtext)))\n" + 573 " └─ Filter\n" + 574 " ├─ GreaterThanOrEqual\n" + 575 " │ ├─ pref_index_t2.v1:1\n" + 576 " │ └─ A (longtext)\n" + 577 " └─ IndexedTableAccess(pref_index_t2)\n" + 578 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 579 " ├─ static: [{[A, ∞), [NULL, ∞)}]\n" + 580 " ├─ colSet: (1-3)\n" + 581 " ├─ tableId: 1\n" + 582 " └─ Table\n" + 583 " ├─ name: pref_index_t2\n" + 584 " └─ columns: [i v1 v2]\n" + 585 "", 586 }, 587 { 588 Query: `delete from pref_index_t2 where v1 >= 'A'`, 589 ExpectedPlan: "RowUpdateAccumulator\n" + 590 " └─ Delete\n" + 591 " └─ Filter\n" + 592 " ├─ GreaterThanOrEqual\n" + 593 " │ ├─ pref_index_t2.v1:1\n" + 594 " │ └─ A (longtext)\n" + 595 " └─ IndexedTableAccess(pref_index_t2)\n" + 596 " ├─ index: [pref_index_t2.v1,pref_index_t2.v2]\n" + 597 " ├─ static: [{[A, ∞), [NULL, ∞)}]\n" + 598 " ├─ colSet: (1-3)\n" + 599 " ├─ tableId: 1\n" + 600 " └─ Table\n" + 601 " ├─ name: pref_index_t2\n" + 602 " └─ columns: [i v1 v2]\n" + 603 "", 604 }, 605 { 606 Query: `select * from pref_index_t1 where v1 = 'a'`, 607 ExpectedPlan: "Filter\n" + 608 " ├─ Eq\n" + 609 " │ ├─ pref_index_t1.v1:1\n" + 610 " │ └─ a (longtext)\n" + 611 " └─ IndexedTableAccess(pref_index_t1)\n" + 612 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 613 " ├─ static: [{[a, a], [NULL, ∞)}]\n" + 614 " ├─ colSet: (1-3)\n" + 615 " ├─ tableId: 1\n" + 616 " └─ Table\n" + 617 " ├─ name: pref_index_t1\n" + 618 " └─ columns: [i v1 v2]\n" + 619 "", 620 ExpectedEstimates: "Filter\n" + 621 " ├─ (pref_index_t1.v1 = 'a')\n" + 622 " └─ IndexedTableAccess(pref_index_t1)\n" + 623 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 624 " ├─ filters: [{[a, a], [NULL, ∞)}]\n" + 625 " └─ columns: [i v1 v2]\n" + 626 "", 627 ExpectedAnalysis: "Filter\n" + 628 " ├─ (pref_index_t1.v1 = 'a')\n" + 629 " └─ IndexedTableAccess(pref_index_t1)\n" + 630 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 631 " ├─ filters: [{[a, a], [NULL, ∞)}]\n" + 632 " └─ columns: [i v1 v2]\n" + 633 "", 634 }, 635 { 636 Query: `select * from pref_index_t1 where v1 = 'abc'`, 637 ExpectedPlan: "Filter\n" + 638 " ├─ Eq\n" + 639 " │ ├─ pref_index_t1.v1:1\n" + 640 " │ └─ abc (longtext)\n" + 641 " └─ IndexedTableAccess(pref_index_t1)\n" + 642 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 643 " ├─ static: [{[abc, abc], [NULL, ∞)}]\n" + 644 " ├─ colSet: (1-3)\n" + 645 " ├─ tableId: 1\n" + 646 " └─ Table\n" + 647 " ├─ name: pref_index_t1\n" + 648 " └─ columns: [i v1 v2]\n" + 649 "", 650 ExpectedEstimates: "Filter\n" + 651 " ├─ (pref_index_t1.v1 = 'abc')\n" + 652 " └─ IndexedTableAccess(pref_index_t1)\n" + 653 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 654 " ├─ filters: [{[abc, abc], [NULL, ∞)}]\n" + 655 " └─ columns: [i v1 v2]\n" + 656 "", 657 ExpectedAnalysis: "Filter\n" + 658 " ├─ (pref_index_t1.v1 = 'abc')\n" + 659 " └─ IndexedTableAccess(pref_index_t1)\n" + 660 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 661 " ├─ filters: [{[abc, abc], [NULL, ∞)}]\n" + 662 " └─ columns: [i v1 v2]\n" + 663 "", 664 }, 665 { 666 Query: `select * from pref_index_t1 where v1 = 'abcd'`, 667 ExpectedPlan: "Filter\n" + 668 " ├─ Eq\n" + 669 " │ ├─ pref_index_t1.v1:1\n" + 670 " │ └─ abcd (longtext)\n" + 671 " └─ IndexedTableAccess(pref_index_t1)\n" + 672 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 673 " ├─ static: [{[abcd, abcd], [NULL, ∞)}]\n" + 674 " ├─ colSet: (1-3)\n" + 675 " ├─ tableId: 1\n" + 676 " └─ Table\n" + 677 " ├─ name: pref_index_t1\n" + 678 " └─ columns: [i v1 v2]\n" + 679 "", 680 ExpectedEstimates: "Filter\n" + 681 " ├─ (pref_index_t1.v1 = 'abcd')\n" + 682 " └─ IndexedTableAccess(pref_index_t1)\n" + 683 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 684 " ├─ filters: [{[abcd, abcd], [NULL, ∞)}]\n" + 685 " └─ columns: [i v1 v2]\n" + 686 "", 687 ExpectedAnalysis: "Filter\n" + 688 " ├─ (pref_index_t1.v1 = 'abcd')\n" + 689 " └─ IndexedTableAccess(pref_index_t1)\n" + 690 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 691 " ├─ filters: [{[abcd, abcd], [NULL, ∞)}]\n" + 692 " └─ columns: [i v1 v2]\n" + 693 "", 694 }, 695 { 696 Query: `select * from pref_index_t1 where v1 > 'a' and v1 < 'abcde'`, 697 ExpectedPlan: "Filter\n" + 698 " ├─ AND\n" + 699 " │ ├─ GreaterThan\n" + 700 " │ │ ├─ pref_index_t1.v1:1\n" + 701 " │ │ └─ a (longtext)\n" + 702 " │ └─ LessThan\n" + 703 " │ ├─ pref_index_t1.v1:1\n" + 704 " │ └─ abcde (longtext)\n" + 705 " └─ IndexedTableAccess(pref_index_t1)\n" + 706 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 707 " ├─ static: [{(a, abcde), [NULL, ∞)}]\n" + 708 " ├─ colSet: (1-3)\n" + 709 " ├─ tableId: 1\n" + 710 " └─ Table\n" + 711 " ├─ name: pref_index_t1\n" + 712 " └─ columns: [i v1 v2]\n" + 713 "", 714 ExpectedEstimates: "Filter\n" + 715 " ├─ ((pref_index_t1.v1 > 'a') AND (pref_index_t1.v1 < 'abcde'))\n" + 716 " └─ IndexedTableAccess(pref_index_t1)\n" + 717 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 718 " ├─ filters: [{(a, abcde), [NULL, ∞)}]\n" + 719 " └─ columns: [i v1 v2]\n" + 720 "", 721 ExpectedAnalysis: "Filter\n" + 722 " ├─ ((pref_index_t1.v1 > 'a') AND (pref_index_t1.v1 < 'abcde'))\n" + 723 " └─ IndexedTableAccess(pref_index_t1)\n" + 724 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 725 " ├─ filters: [{(a, abcde), [NULL, ∞)}]\n" + 726 " └─ columns: [i v1 v2]\n" + 727 "", 728 }, 729 { 730 Query: `select * from pref_index_t1 where v1 > 'a' and v2 < 'abcde'`, 731 ExpectedPlan: "Filter\n" + 732 " ├─ AND\n" + 733 " │ ├─ GreaterThan\n" + 734 " │ │ ├─ pref_index_t1.v1:1\n" + 735 " │ │ └─ a (longtext)\n" + 736 " │ └─ LessThan\n" + 737 " │ ├─ pref_index_t1.v2:2\n" + 738 " │ └─ abcde (longtext)\n" + 739 " └─ IndexedTableAccess(pref_index_t1)\n" + 740 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 741 " ├─ static: [{(a, ∞), (NULL, abcde)}]\n" + 742 " ├─ colSet: (1-3)\n" + 743 " ├─ tableId: 1\n" + 744 " └─ Table\n" + 745 " ├─ name: pref_index_t1\n" + 746 " └─ columns: [i v1 v2]\n" + 747 "", 748 ExpectedEstimates: "Filter\n" + 749 " ├─ ((pref_index_t1.v1 > 'a') AND (pref_index_t1.v2 < 'abcde'))\n" + 750 " └─ IndexedTableAccess(pref_index_t1)\n" + 751 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 752 " ├─ filters: [{(a, ∞), (NULL, abcde)}]\n" + 753 " └─ columns: [i v1 v2]\n" + 754 "", 755 ExpectedAnalysis: "Filter\n" + 756 " ├─ ((pref_index_t1.v1 > 'a') AND (pref_index_t1.v2 < 'abcde'))\n" + 757 " └─ IndexedTableAccess(pref_index_t1)\n" + 758 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 759 " ├─ filters: [{(a, ∞), (NULL, abcde)}]\n" + 760 " └─ columns: [i v1 v2]\n" + 761 "", 762 }, 763 { 764 Query: `delete from pref_index_t1 where v1 >= 'a'`, 765 ExpectedPlan: "RowUpdateAccumulator\n" + 766 " └─ Delete\n" + 767 " └─ Filter\n" + 768 " ├─ GreaterThanOrEqual\n" + 769 " │ ├─ pref_index_t1.v1:1\n" + 770 " │ └─ a (longtext)\n" + 771 " └─ IndexedTableAccess(pref_index_t1)\n" + 772 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 773 " ├─ static: [{[a, ∞), [NULL, ∞)}]\n" + 774 " ├─ colSet: (1-3)\n" + 775 " ├─ tableId: 1\n" + 776 " └─ Table\n" + 777 " ├─ name: pref_index_t1\n" + 778 " └─ columns: [i v1 v2]\n" + 779 "", 780 }, 781 { 782 Query: `update pref_index_t1 set v1 = concat(v1, 'z') where v1 >= 'a'`, 783 ExpectedPlan: "RowUpdateAccumulator\n" + 784 " └─ Update\n" + 785 " └─ UpdateSource(SET pref_index_t1.v1:1 = concat(pref_index_t1.v1:1,z (longtext)))\n" + 786 " └─ Filter\n" + 787 " ├─ GreaterThanOrEqual\n" + 788 " │ ├─ pref_index_t1.v1:1\n" + 789 " │ └─ a (longtext)\n" + 790 " └─ IndexedTableAccess(pref_index_t1)\n" + 791 " ├─ index: [pref_index_t1.v1,pref_index_t1.v2]\n" + 792 " ├─ static: [{[a, ∞), [NULL, ∞)}]\n" + 793 " ├─ colSet: (1-3)\n" + 794 " ├─ tableId: 1\n" + 795 " └─ Table\n" + 796 " ├─ name: pref_index_t1\n" + 797 " └─ columns: [i v1 v2]\n" + 798 "", 799 }, 800 { 801 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<25) OR (v1>24));`, 802 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 803 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 804 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 805 " ├─ colSet: (1-3)\n" + 806 " ├─ tableId: 1\n" + 807 " └─ Table\n" + 808 " ├─ name: comp_index_t0\n" + 809 " └─ columns: [pk v1 v2]\n" + 810 "", 811 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 812 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 813 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 814 " └─ columns: [pk v1 v2]\n" + 815 "", 816 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 817 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 818 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 819 " └─ columns: [pk v1 v2]\n" + 820 "", 821 }, 822 { 823 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>=99 AND v2<>83) OR (v1>=1));`, 824 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 825 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 826 " ├─ static: [{[1, ∞), [NULL, ∞)}]\n" + 827 " ├─ colSet: (1-3)\n" + 828 " ├─ tableId: 1\n" + 829 " └─ Table\n" + 830 " ├─ name: comp_index_t0\n" + 831 " └─ columns: [pk v1 v2]\n" + 832 "", 833 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 834 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 835 " ├─ filters: [{[1, ∞), [NULL, ∞)}]\n" + 836 " └─ columns: [pk v1 v2]\n" + 837 "", 838 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 839 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 840 " ├─ filters: [{[1, ∞), [NULL, ∞)}]\n" + 841 " └─ columns: [pk v1 v2]\n" + 842 "", 843 }, 844 { 845 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<=38 AND v2<41) OR (v1>60)) OR (v1<22));`, 846 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 847 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 848 " ├─ static: [{(NULL, 22), [NULL, ∞)}, {[22, 38], (NULL, 41)}, {(60, ∞), [NULL, ∞)}]\n" + 849 " ├─ colSet: (1-3)\n" + 850 " ├─ tableId: 1\n" + 851 " └─ Table\n" + 852 " ├─ name: comp_index_t0\n" + 853 " └─ columns: [pk v1 v2]\n" + 854 "", 855 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 856 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 857 " ├─ filters: [{(NULL, 22), [NULL, ∞)}, {[22, 38], (NULL, 41)}, {(60, ∞), [NULL, ∞)}]\n" + 858 " └─ columns: [pk v1 v2]\n" + 859 "", 860 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 861 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 862 " ├─ filters: [{(NULL, 22), [NULL, ∞)}, {[22, 38], (NULL, 41)}, {(60, ∞), [NULL, ∞)}]\n" + 863 " └─ columns: [pk v1 v2]\n" + 864 "", 865 }, 866 { 867 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>92 AND v2>25) OR (v1 BETWEEN 6 AND 24 AND v2=80));`, 868 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 869 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 870 " ├─ static: [{[6, 24], [80, 80]}, {(92, ∞), (25, ∞)}]\n" + 871 " ├─ colSet: (1-3)\n" + 872 " ├─ tableId: 1\n" + 873 " └─ Table\n" + 874 " ├─ name: comp_index_t0\n" + 875 " └─ columns: [pk v1 v2]\n" + 876 "", 877 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 878 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 879 " ├─ filters: [{[6, 24], [80, 80]}, {(92, ∞), (25, ∞)}]\n" + 880 " └─ columns: [pk v1 v2]\n" + 881 "", 882 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 883 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 884 " ├─ filters: [{[6, 24], [80, 80]}, {(92, ∞), (25, ∞)}]\n" + 885 " └─ columns: [pk v1 v2]\n" + 886 "", 887 }, 888 { 889 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<=29) OR (v1=49 AND v2<48));`, 890 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 891 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 892 " ├─ static: [{(NULL, 29], [NULL, ∞)}, {[49, 49], (NULL, 48)}]\n" + 893 " ├─ colSet: (1-3)\n" + 894 " ├─ tableId: 1\n" + 895 " └─ Table\n" + 896 " ├─ name: comp_index_t0\n" + 897 " └─ columns: [pk v1 v2]\n" + 898 "", 899 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 900 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 901 " ├─ filters: [{(NULL, 29], [NULL, ∞)}, {[49, 49], (NULL, 48)}]\n" + 902 " └─ columns: [pk v1 v2]\n" + 903 "", 904 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 905 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 906 " ├─ filters: [{(NULL, 29], [NULL, ∞)}, {[49, 49], (NULL, 48)}]\n" + 907 " └─ columns: [pk v1 v2]\n" + 908 "", 909 }, 910 { 911 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>75) OR (v1<=11));`, 912 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 913 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 914 " ├─ static: [{(NULL, 75), [NULL, ∞)}, {(75, ∞), [NULL, ∞)}]\n" + 915 " ├─ colSet: (1-3)\n" + 916 " ├─ tableId: 1\n" + 917 " └─ Table\n" + 918 " ├─ name: comp_index_t0\n" + 919 " └─ columns: [pk v1 v2]\n" + 920 "", 921 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 922 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 923 " ├─ filters: [{(NULL, 75), [NULL, ∞)}, {(75, ∞), [NULL, ∞)}]\n" + 924 " └─ columns: [pk v1 v2]\n" + 925 "", 926 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 927 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 928 " ├─ filters: [{(NULL, 75), [NULL, ∞)}, {(75, ∞), [NULL, ∞)}]\n" + 929 " └─ columns: [pk v1 v2]\n" + 930 "", 931 }, 932 { 933 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<=86) OR (v1<>9)) AND (v1=87 AND v2<=45);`, 934 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 935 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 936 " ├─ static: [{[87, 87], (NULL, 45]}]\n" + 937 " ├─ colSet: (1-3)\n" + 938 " ├─ tableId: 1\n" + 939 " └─ Table\n" + 940 " ├─ name: comp_index_t0\n" + 941 " └─ columns: [pk v1 v2]\n" + 942 "", 943 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 944 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 945 " ├─ filters: [{[87, 87], (NULL, 45]}]\n" + 946 " └─ columns: [pk v1 v2]\n" + 947 "", 948 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 949 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 950 " ├─ filters: [{[87, 87], (NULL, 45]}]\n" + 951 " └─ columns: [pk v1 v2]\n" + 952 "", 953 }, 954 { 955 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<=5) OR (v1=71)) OR (v1<>96));`, 956 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 957 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 958 " ├─ static: [{(NULL, 96), [NULL, ∞)}, {(96, ∞), [NULL, ∞)}]\n" + 959 " ├─ colSet: (1-3)\n" + 960 " ├─ tableId: 1\n" + 961 " └─ Table\n" + 962 " ├─ name: comp_index_t0\n" + 963 " └─ columns: [pk v1 v2]\n" + 964 "", 965 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 966 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 967 " ├─ filters: [{(NULL, 96), [NULL, ∞)}, {(96, ∞), [NULL, ∞)}]\n" + 968 " └─ columns: [pk v1 v2]\n" + 969 "", 970 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 971 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 972 " ├─ filters: [{(NULL, 96), [NULL, ∞)}, {(96, ∞), [NULL, ∞)}]\n" + 973 " └─ columns: [pk v1 v2]\n" + 974 "", 975 }, 976 { 977 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<=97) OR (v1 BETWEEN 36 AND 98));`, 978 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 979 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 980 " ├─ static: [{(NULL, 98], [NULL, ∞)}]\n" + 981 " ├─ colSet: (1-3)\n" + 982 " ├─ tableId: 1\n" + 983 " └─ Table\n" + 984 " ├─ name: comp_index_t0\n" + 985 " └─ columns: [pk v1 v2]\n" + 986 "", 987 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 988 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 989 " ├─ filters: [{(NULL, 98], [NULL, ∞)}]\n" + 990 " └─ columns: [pk v1 v2]\n" + 991 "", 992 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 993 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 994 " ├─ filters: [{(NULL, 98], [NULL, ∞)}]\n" + 995 " └─ columns: [pk v1 v2]\n" + 996 "", 997 }, 998 { 999 Query: `SELECT * FROM comp_index_t0 WHERE ((v1=86 AND v2>41) OR (v1<>6 AND v2>16));`, 1000 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1001 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1002 " ├─ static: [{(NULL, 6), (16, ∞)}, {(6, ∞), (16, ∞)}]\n" + 1003 " ├─ colSet: (1-3)\n" + 1004 " ├─ tableId: 1\n" + 1005 " └─ Table\n" + 1006 " ├─ name: comp_index_t0\n" + 1007 " └─ columns: [pk v1 v2]\n" + 1008 "", 1009 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1010 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1011 " ├─ filters: [{(NULL, 6), (16, ∞)}, {(6, ∞), (16, ∞)}]\n" + 1012 " └─ columns: [pk v1 v2]\n" + 1013 "", 1014 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1015 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1016 " ├─ filters: [{(NULL, 6), (16, ∞)}, {(6, ∞), (16, ∞)}]\n" + 1017 " └─ columns: [pk v1 v2]\n" + 1018 "", 1019 }, 1020 { 1021 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<>22 AND v2>18) OR (v1<>12)) OR (v1<=34));`, 1022 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1023 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1024 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 1025 " ├─ colSet: (1-3)\n" + 1026 " ├─ tableId: 1\n" + 1027 " └─ Table\n" + 1028 " ├─ name: comp_index_t0\n" + 1029 " └─ columns: [pk v1 v2]\n" + 1030 "", 1031 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1032 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1033 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 1034 " └─ columns: [pk v1 v2]\n" + 1035 "", 1036 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1037 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1038 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 1039 " └─ columns: [pk v1 v2]\n" + 1040 "", 1041 }, 1042 { 1043 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<11) OR (v1>=66 AND v2=22));`, 1044 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1045 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1046 " ├─ static: [{(NULL, 11), [NULL, ∞)}, {[66, ∞), [22, 22]}]\n" + 1047 " ├─ colSet: (1-3)\n" + 1048 " ├─ tableId: 1\n" + 1049 " └─ Table\n" + 1050 " ├─ name: comp_index_t0\n" + 1051 " └─ columns: [pk v1 v2]\n" + 1052 "", 1053 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1054 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1055 " ├─ filters: [{(NULL, 11), [NULL, ∞)}, {[66, ∞), [22, 22]}]\n" + 1056 " └─ columns: [pk v1 v2]\n" + 1057 "", 1058 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1059 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1060 " ├─ filters: [{(NULL, 11), [NULL, ∞)}, {[66, ∞), [22, 22]}]\n" + 1061 " └─ columns: [pk v1 v2]\n" + 1062 "", 1063 }, 1064 { 1065 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>45 AND v2>37) OR (v1<98 AND v2<=35));`, 1066 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1067 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1068 " ├─ static: [{(NULL, 45), (37, ∞)}, {(NULL, 98), (NULL, 35]}, {(45, ∞), (37, ∞)}]\n" + 1069 " ├─ colSet: (1-3)\n" + 1070 " ├─ tableId: 1\n" + 1071 " └─ Table\n" + 1072 " ├─ name: comp_index_t0\n" + 1073 " └─ columns: [pk v1 v2]\n" + 1074 "", 1075 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1076 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1077 " ├─ filters: [{(NULL, 45), (37, ∞)}, {(NULL, 98), (NULL, 35]}, {(45, ∞), (37, ∞)}]\n" + 1078 " └─ columns: [pk v1 v2]\n" + 1079 "", 1080 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1081 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1082 " ├─ filters: [{(NULL, 45), (37, ∞)}, {(NULL, 98), (NULL, 35]}, {(45, ∞), (37, ∞)}]\n" + 1083 " └─ columns: [pk v1 v2]\n" + 1084 "", 1085 }, 1086 { 1087 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>=16 AND v2>96) OR (v1<80));`, 1088 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1089 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1090 " ├─ static: [{(NULL, 80), [NULL, ∞)}, {[80, ∞), (96, ∞)}]\n" + 1091 " ├─ colSet: (1-3)\n" + 1092 " ├─ tableId: 1\n" + 1093 " └─ Table\n" + 1094 " ├─ name: comp_index_t0\n" + 1095 " └─ columns: [pk v1 v2]\n" + 1096 "", 1097 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1098 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1099 " ├─ filters: [{(NULL, 80), [NULL, ∞)}, {[80, ∞), (96, ∞)}]\n" + 1100 " └─ columns: [pk v1 v2]\n" + 1101 "", 1102 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1103 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1104 " ├─ filters: [{(NULL, 80), [NULL, ∞)}, {[80, ∞), (96, ∞)}]\n" + 1105 " └─ columns: [pk v1 v2]\n" + 1106 "", 1107 }, 1108 { 1109 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<=98) OR (v1<85 AND v2>60)) OR (v1<>53 AND v2 BETWEEN 82 AND 89));`, 1110 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1111 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1112 " ├─ static: [{(NULL, 98], [NULL, ∞)}, {(98, ∞), [82, 89]}]\n" + 1113 " ├─ colSet: (1-3)\n" + 1114 " ├─ tableId: 1\n" + 1115 " └─ Table\n" + 1116 " ├─ name: comp_index_t0\n" + 1117 " └─ columns: [pk v1 v2]\n" + 1118 "", 1119 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1120 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1121 " ├─ filters: [{(NULL, 98], [NULL, ∞)}, {(98, ∞), [82, 89]}]\n" + 1122 " └─ columns: [pk v1 v2]\n" + 1123 "", 1124 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1125 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1126 " ├─ filters: [{(NULL, 98], [NULL, ∞)}, {(98, ∞), [82, 89]}]\n" + 1127 " └─ columns: [pk v1 v2]\n" + 1128 "", 1129 }, 1130 { 1131 Query: `SELECT * FROM comp_index_t0 WHERE (((((v1<71 AND v2<7) OR (v1<=21 AND v2<=48)) OR (v1=44 AND v2 BETWEEN 21 AND 83)) OR (v1<=72 AND v2<>27)) OR (v1=35 AND v2 BETWEEN 78 AND 89));`, 1132 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1133 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1134 " ├─ static: [{(NULL, 21], (NULL, ∞)}, {(21, 44), (NULL, 27)}, {(21, 44), (27, ∞)}, {[44, 44], (NULL, ∞)}, {(44, 72], (NULL, 27)}, {(44, 72], (27, ∞)}]\n" + 1135 " ├─ colSet: (1-3)\n" + 1136 " ├─ tableId: 1\n" + 1137 " └─ Table\n" + 1138 " ├─ name: comp_index_t0\n" + 1139 " └─ columns: [pk v1 v2]\n" + 1140 "", 1141 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1142 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1143 " ├─ filters: [{(NULL, 21], (NULL, ∞)}, {(21, 44), (NULL, 27)}, {(21, 44), (27, ∞)}, {[44, 44], (NULL, ∞)}, {(44, 72], (NULL, 27)}, {(44, 72], (27, ∞)}]\n" + 1144 " └─ columns: [pk v1 v2]\n" + 1145 "", 1146 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1147 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1148 " ├─ filters: [{(NULL, 21], (NULL, ∞)}, {(21, 44), (NULL, 27)}, {(21, 44), (27, ∞)}, {[44, 44], (NULL, ∞)}, {(44, 72], (NULL, 27)}, {(44, 72], (27, ∞)}]\n" + 1149 " └─ columns: [pk v1 v2]\n" + 1150 "", 1151 }, 1152 { 1153 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<=16) OR (v1>=77 AND v2>77)) OR (v1>19 AND v2>27));`, 1154 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1155 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1156 " ├─ static: [{(NULL, 16], [NULL, ∞)}, {(19, ∞), (27, ∞)}]\n" + 1157 " ├─ colSet: (1-3)\n" + 1158 " ├─ tableId: 1\n" + 1159 " └─ Table\n" + 1160 " ├─ name: comp_index_t0\n" + 1161 " └─ columns: [pk v1 v2]\n" + 1162 "", 1163 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1164 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1165 " ├─ filters: [{(NULL, 16], [NULL, ∞)}, {(19, ∞), (27, ∞)}]\n" + 1166 " └─ columns: [pk v1 v2]\n" + 1167 "", 1168 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1169 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1170 " ├─ filters: [{(NULL, 16], [NULL, ∞)}, {(19, ∞), (27, ∞)}]\n" + 1171 " └─ columns: [pk v1 v2]\n" + 1172 "", 1173 }, 1174 { 1175 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>=46) AND (v1>=28 AND v2<>68) OR (v1>=33 AND v2<>39));`, 1176 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1177 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1178 " ├─ static: [{[33, 46), (NULL, 39)}, {[33, 46), (39, ∞)}, {[46, ∞), (NULL, ∞)}]\n" + 1179 " ├─ colSet: (1-3)\n" + 1180 " ├─ tableId: 1\n" + 1181 " └─ Table\n" + 1182 " ├─ name: comp_index_t0\n" + 1183 " └─ columns: [pk v1 v2]\n" + 1184 "", 1185 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1186 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1187 " ├─ filters: [{[33, 46), (NULL, 39)}, {[33, 46), (39, ∞)}, {[46, ∞), (NULL, ∞)}]\n" + 1188 " └─ columns: [pk v1 v2]\n" + 1189 "", 1190 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1191 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1192 " ├─ filters: [{[33, 46), (NULL, 39)}, {[33, 46), (39, ∞)}, {[46, ∞), (NULL, ∞)}]\n" + 1193 " └─ columns: [pk v1 v2]\n" + 1194 "", 1195 }, 1196 { 1197 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<39 AND v2<10) OR (v1>64 AND v2<=15)) AND (v1>=41);`, 1198 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1199 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1200 " ├─ static: [{(64, ∞), (NULL, 15]}]\n" + 1201 " ├─ colSet: (1-3)\n" + 1202 " ├─ tableId: 1\n" + 1203 " └─ Table\n" + 1204 " ├─ name: comp_index_t0\n" + 1205 " └─ columns: [pk v1 v2]\n" + 1206 "", 1207 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1208 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1209 " ├─ filters: [{(64, ∞), (NULL, 15]}]\n" + 1210 " └─ columns: [pk v1 v2]\n" + 1211 "", 1212 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1213 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1214 " ├─ filters: [{(64, ∞), (NULL, 15]}]\n" + 1215 " └─ columns: [pk v1 v2]\n" + 1216 "", 1217 }, 1218 { 1219 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<=91) OR (v1<70 AND v2>=23)) OR (v1>23 AND v2<38));`, 1220 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1221 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1222 " ├─ static: [{(NULL, 91], [NULL, ∞)}, {(91, ∞), (NULL, 38)}]\n" + 1223 " ├─ colSet: (1-3)\n" + 1224 " ├─ tableId: 1\n" + 1225 " └─ Table\n" + 1226 " ├─ name: comp_index_t0\n" + 1227 " └─ columns: [pk v1 v2]\n" + 1228 "", 1229 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1230 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1231 " ├─ filters: [{(NULL, 91], [NULL, ∞)}, {(91, ∞), (NULL, 38)}]\n" + 1232 " └─ columns: [pk v1 v2]\n" + 1233 "", 1234 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1235 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1236 " ├─ filters: [{(NULL, 91], [NULL, ∞)}, {(91, ∞), (NULL, 38)}]\n" + 1237 " └─ columns: [pk v1 v2]\n" + 1238 "", 1239 }, 1240 { 1241 Query: `SELECT * FROM comp_index_t0 WHERE ((((v1<>45 AND v2=70) OR (v1 BETWEEN 40 AND 96 AND v2 BETWEEN 48 AND 96)) OR (v1<>87 AND v2<31)) OR (v1<>62 AND v2=51)) AND (v1>=47 AND v2<29);`, 1242 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1243 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1244 " ├─ static: [{[47, 87), (NULL, 29)}, {(87, ∞), (NULL, 29)}]\n" + 1245 " ├─ colSet: (1-3)\n" + 1246 " ├─ tableId: 1\n" + 1247 " └─ Table\n" + 1248 " ├─ name: comp_index_t0\n" + 1249 " └─ columns: [pk v1 v2]\n" + 1250 "", 1251 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1252 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1253 " ├─ filters: [{[47, 87), (NULL, 29)}, {(87, ∞), (NULL, 29)}]\n" + 1254 " └─ columns: [pk v1 v2]\n" + 1255 "", 1256 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1257 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1258 " ├─ filters: [{[47, 87), (NULL, 29)}, {(87, ∞), (NULL, 29)}]\n" + 1259 " └─ columns: [pk v1 v2]\n" + 1260 "", 1261 }, 1262 { 1263 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<71) OR (v1 BETWEEN 46 AND 79));`, 1264 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1265 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1266 " ├─ static: [{(NULL, 79], [NULL, ∞)}]\n" + 1267 " ├─ colSet: (1-3)\n" + 1268 " ├─ tableId: 1\n" + 1269 " └─ Table\n" + 1270 " ├─ name: comp_index_t0\n" + 1271 " └─ columns: [pk v1 v2]\n" + 1272 "", 1273 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1274 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1275 " ├─ filters: [{(NULL, 79], [NULL, ∞)}]\n" + 1276 " └─ columns: [pk v1 v2]\n" + 1277 "", 1278 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1279 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1280 " ├─ filters: [{(NULL, 79], [NULL, ∞)}]\n" + 1281 " └─ columns: [pk v1 v2]\n" + 1282 "", 1283 }, 1284 { 1285 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>52) OR (v1<=14));`, 1286 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1287 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1288 " ├─ static: [{(NULL, 14], [NULL, ∞)}, {(52, ∞), [NULL, ∞)}]\n" + 1289 " ├─ colSet: (1-3)\n" + 1290 " ├─ tableId: 1\n" + 1291 " └─ Table\n" + 1292 " ├─ name: comp_index_t0\n" + 1293 " └─ columns: [pk v1 v2]\n" + 1294 "", 1295 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1296 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1297 " ├─ filters: [{(NULL, 14], [NULL, ∞)}, {(52, ∞), [NULL, ∞)}]\n" + 1298 " └─ columns: [pk v1 v2]\n" + 1299 "", 1300 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1301 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1302 " ├─ filters: [{(NULL, 14], [NULL, ∞)}, {(52, ∞), [NULL, ∞)}]\n" + 1303 " └─ columns: [pk v1 v2]\n" + 1304 "", 1305 }, 1306 { 1307 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>74) OR (v1<>40 AND v2>=54));`, 1308 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1309 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1310 " ├─ static: [{(NULL, 74), [NULL, ∞)}, {[74, 74], [54, ∞)}, {(74, ∞), [NULL, ∞)}]\n" + 1311 " ├─ colSet: (1-3)\n" + 1312 " ├─ tableId: 1\n" + 1313 " └─ Table\n" + 1314 " ├─ name: comp_index_t0\n" + 1315 " └─ columns: [pk v1 v2]\n" + 1316 "", 1317 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1318 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1319 " ├─ filters: [{(NULL, 74), [NULL, ∞)}, {[74, 74], [54, ∞)}, {(74, ∞), [NULL, ∞)}]\n" + 1320 " └─ columns: [pk v1 v2]\n" + 1321 "", 1322 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1323 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1324 " ├─ filters: [{(NULL, 74), [NULL, ∞)}, {[74, 74], [54, ∞)}, {(74, ∞), [NULL, ∞)}]\n" + 1325 " └─ columns: [pk v1 v2]\n" + 1326 "", 1327 }, 1328 { 1329 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<=69 AND v2<24) OR (v1<77 AND v2<=53));`, 1330 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1331 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1332 " ├─ static: [{(NULL, 77), (NULL, 53]}]\n" + 1333 " ├─ colSet: (1-3)\n" + 1334 " ├─ tableId: 1\n" + 1335 " └─ Table\n" + 1336 " ├─ name: comp_index_t0\n" + 1337 " └─ columns: [pk v1 v2]\n" + 1338 "", 1339 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1340 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1341 " ├─ filters: [{(NULL, 77), (NULL, 53]}]\n" + 1342 " └─ columns: [pk v1 v2]\n" + 1343 "", 1344 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1345 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1346 " ├─ filters: [{(NULL, 77), (NULL, 53]}]\n" + 1347 " └─ columns: [pk v1 v2]\n" + 1348 "", 1349 }, 1350 { 1351 Query: `SELECT * FROM comp_index_t0 WHERE ((v1=78 AND v2=87) OR (v1 BETWEEN 37 AND 58 AND v2>=30)) AND (v1=86 AND v2 BETWEEN 0 AND 70);`, 1352 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1353 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1354 " ├─ static: [{(∞, ∞), (∞, ∞)}]\n" + 1355 " ├─ colSet: (1-3)\n" + 1356 " ├─ tableId: 1\n" + 1357 " └─ Table\n" + 1358 " ├─ name: comp_index_t0\n" + 1359 " └─ columns: [pk v1 v2]\n" + 1360 "", 1361 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1362 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1363 " ├─ filters: [{(∞, ∞), (∞, ∞)}]\n" + 1364 " └─ columns: [pk v1 v2]\n" + 1365 "", 1366 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1367 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1368 " ├─ filters: [{(∞, ∞), (∞, ∞)}]\n" + 1369 " └─ columns: [pk v1 v2]\n" + 1370 "", 1371 }, 1372 { 1373 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>94) OR (v1<=52));`, 1374 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1375 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1376 " ├─ static: [{(NULL, 94), [NULL, ∞)}, {(94, ∞), [NULL, ∞)}]\n" + 1377 " ├─ colSet: (1-3)\n" + 1378 " ├─ tableId: 1\n" + 1379 " └─ Table\n" + 1380 " ├─ name: comp_index_t0\n" + 1381 " └─ columns: [pk v1 v2]\n" + 1382 "", 1383 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1384 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1385 " ├─ filters: [{(NULL, 94), [NULL, ∞)}, {(94, ∞), [NULL, ∞)}]\n" + 1386 " └─ columns: [pk v1 v2]\n" + 1387 "", 1388 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1389 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1390 " ├─ filters: [{(NULL, 94), [NULL, ∞)}, {(94, ∞), [NULL, ∞)}]\n" + 1391 " └─ columns: [pk v1 v2]\n" + 1392 "", 1393 }, 1394 { 1395 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<>23 AND v2>64) OR (v1>73 AND v2<=66)) OR (v1 BETWEEN 39 AND 69 AND v2>84));`, 1396 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1397 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1398 " ├─ static: [{(NULL, 23), (64, ∞)}, {(23, 73], (64, ∞)}, {(73, ∞), (NULL, ∞)}]\n" + 1399 " ├─ colSet: (1-3)\n" + 1400 " ├─ tableId: 1\n" + 1401 " └─ Table\n" + 1402 " ├─ name: comp_index_t0\n" + 1403 " └─ columns: [pk v1 v2]\n" + 1404 "", 1405 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1406 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1407 " ├─ filters: [{(NULL, 23), (64, ∞)}, {(23, 73], (64, ∞)}, {(73, ∞), (NULL, ∞)}]\n" + 1408 " └─ columns: [pk v1 v2]\n" + 1409 "", 1410 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1411 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1412 " ├─ filters: [{(NULL, 23), (64, ∞)}, {(23, 73], (64, ∞)}, {(73, ∞), (NULL, ∞)}]\n" + 1413 " └─ columns: [pk v1 v2]\n" + 1414 "", 1415 }, 1416 { 1417 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>54 AND v2<16) OR (v1<74 AND v2>29)) AND (v1 BETWEEN 34 AND 48);`, 1418 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1419 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1420 " ├─ static: [{[34, 48], (29, ∞)}]\n" + 1421 " ├─ colSet: (1-3)\n" + 1422 " ├─ tableId: 1\n" + 1423 " └─ Table\n" + 1424 " ├─ name: comp_index_t0\n" + 1425 " └─ columns: [pk v1 v2]\n" + 1426 "", 1427 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1428 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1429 " ├─ filters: [{[34, 48], (29, ∞)}]\n" + 1430 " └─ columns: [pk v1 v2]\n" + 1431 "", 1432 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1433 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1434 " ├─ filters: [{[34, 48], (29, ∞)}]\n" + 1435 " └─ columns: [pk v1 v2]\n" + 1436 "", 1437 }, 1438 { 1439 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>44 AND v2>12) OR (v1<=5 AND v2>27));`, 1440 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1441 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1442 " ├─ static: [{(NULL, 44), (12, ∞)}, {(44, ∞), (12, ∞)}]\n" + 1443 " ├─ colSet: (1-3)\n" + 1444 " ├─ tableId: 1\n" + 1445 " └─ Table\n" + 1446 " ├─ name: comp_index_t0\n" + 1447 " └─ columns: [pk v1 v2]\n" + 1448 "", 1449 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1450 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1451 " ├─ filters: [{(NULL, 44), (12, ∞)}, {(44, ∞), (12, ∞)}]\n" + 1452 " └─ columns: [pk v1 v2]\n" + 1453 "", 1454 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1455 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1456 " ├─ filters: [{(NULL, 44), (12, ∞)}, {(44, ∞), (12, ∞)}]\n" + 1457 " └─ columns: [pk v1 v2]\n" + 1458 "", 1459 }, 1460 { 1461 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<=54 AND v2<>13) OR (v1>84));`, 1462 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1463 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1464 " ├─ static: [{(NULL, 54], (NULL, 13)}, {(NULL, 54], (13, ∞)}, {(84, ∞), [NULL, ∞)}]\n" + 1465 " ├─ colSet: (1-3)\n" + 1466 " ├─ tableId: 1\n" + 1467 " └─ Table\n" + 1468 " ├─ name: comp_index_t0\n" + 1469 " └─ columns: [pk v1 v2]\n" + 1470 "", 1471 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1472 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1473 " ├─ filters: [{(NULL, 54], (NULL, 13)}, {(NULL, 54], (13, ∞)}, {(84, ∞), [NULL, ∞)}]\n" + 1474 " └─ columns: [pk v1 v2]\n" + 1475 "", 1476 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1477 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1478 " ├─ filters: [{(NULL, 54], (NULL, 13)}, {(NULL, 54], (13, ∞)}, {(84, ∞), [NULL, ∞)}]\n" + 1479 " └─ columns: [pk v1 v2]\n" + 1480 "", 1481 }, 1482 { 1483 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>1 AND v2<>51) OR (v1=28));`, 1484 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1485 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1486 " ├─ static: [{(1, 28), (NULL, 51)}, {(1, 28), (51, ∞)}, {[28, 28], [NULL, ∞)}, {(28, ∞), (NULL, 51)}, {(28, ∞), (51, ∞)}]\n" + 1487 " ├─ colSet: (1-3)\n" + 1488 " ├─ tableId: 1\n" + 1489 " └─ Table\n" + 1490 " ├─ name: comp_index_t0\n" + 1491 " └─ columns: [pk v1 v2]\n" + 1492 "", 1493 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1494 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1495 " ├─ filters: [{(1, 28), (NULL, 51)}, {(1, 28), (51, ∞)}, {[28, 28], [NULL, ∞)}, {(28, ∞), (NULL, 51)}, {(28, ∞), (51, ∞)}]\n" + 1496 " └─ columns: [pk v1 v2]\n" + 1497 "", 1498 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1499 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1500 " ├─ filters: [{(1, 28), (NULL, 51)}, {(1, 28), (51, ∞)}, {[28, 28], [NULL, ∞)}, {(28, ∞), (NULL, 51)}, {(28, ∞), (51, ∞)}]\n" + 1501 " └─ columns: [pk v1 v2]\n" + 1502 "", 1503 }, 1504 { 1505 Query: `SELECT * FROM comp_index_t0 WHERE (((v1>35) OR (v1 BETWEEN 11 AND 21)) OR (v1<>98));`, 1506 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1507 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1508 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 1509 " ├─ colSet: (1-3)\n" + 1510 " ├─ tableId: 1\n" + 1511 " └─ Table\n" + 1512 " ├─ name: comp_index_t0\n" + 1513 " └─ columns: [pk v1 v2]\n" + 1514 "", 1515 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1516 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1517 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 1518 " └─ columns: [pk v1 v2]\n" + 1519 "", 1520 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1521 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1522 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 1523 " └─ columns: [pk v1 v2]\n" + 1524 "", 1525 }, 1526 { 1527 Query: `SELECT * FROM comp_index_t0 WHERE ((v1=16 AND v2=57) OR (v1<46 AND v2 BETWEEN 78 AND 89));`, 1528 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1529 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1530 " ├─ static: [{(NULL, 46), [78, 89]}, {[16, 16], [57, 57]}]\n" + 1531 " ├─ colSet: (1-3)\n" + 1532 " ├─ tableId: 1\n" + 1533 " └─ Table\n" + 1534 " ├─ name: comp_index_t0\n" + 1535 " └─ columns: [pk v1 v2]\n" + 1536 "", 1537 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1538 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1539 " ├─ filters: [{(NULL, 46), [78, 89]}, {[16, 16], [57, 57]}]\n" + 1540 " └─ columns: [pk v1 v2]\n" + 1541 "", 1542 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1543 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1544 " ├─ filters: [{(NULL, 46), [78, 89]}, {[16, 16], [57, 57]}]\n" + 1545 " └─ columns: [pk v1 v2]\n" + 1546 "", 1547 }, 1548 { 1549 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<53 AND v2<10) AND (v1<>37) OR (v1>23));`, 1550 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1551 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1552 " ├─ static: [{(NULL, 23], (NULL, 10)}, {(23, ∞), [NULL, ∞)}]\n" + 1553 " ├─ colSet: (1-3)\n" + 1554 " ├─ tableId: 1\n" + 1555 " └─ Table\n" + 1556 " ├─ name: comp_index_t0\n" + 1557 " └─ columns: [pk v1 v2]\n" + 1558 "", 1559 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1560 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1561 " ├─ filters: [{(NULL, 23], (NULL, 10)}, {(23, ∞), [NULL, ∞)}]\n" + 1562 " └─ columns: [pk v1 v2]\n" + 1563 "", 1564 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1565 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1566 " ├─ filters: [{(NULL, 23], (NULL, 10)}, {(23, ∞), [NULL, ∞)}]\n" + 1567 " └─ columns: [pk v1 v2]\n" + 1568 "", 1569 }, 1570 { 1571 Query: `SELECT * FROM comp_index_t0 WHERE (((((v1<>30) OR (v1>=6 AND v2 BETWEEN 62 AND 65)) OR (v1<>89)) OR (v1<=40 AND v2>=73)) OR (v1<99));`, 1572 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1573 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1574 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 1575 " ├─ colSet: (1-3)\n" + 1576 " ├─ tableId: 1\n" + 1577 " └─ Table\n" + 1578 " ├─ name: comp_index_t0\n" + 1579 " └─ columns: [pk v1 v2]\n" + 1580 "", 1581 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1582 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1583 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 1584 " └─ columns: [pk v1 v2]\n" + 1585 "", 1586 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1587 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1588 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 1589 " └─ columns: [pk v1 v2]\n" + 1590 "", 1591 }, 1592 { 1593 Query: `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 34 AND 34 AND v2 BETWEEN 0 AND 91) OR (v1 BETWEEN 54 AND 77 AND v2>92));`, 1594 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1595 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1596 " ├─ static: [{[34, 34], [0, 91]}, {[54, 77], (92, ∞)}]\n" + 1597 " ├─ colSet: (1-3)\n" + 1598 " ├─ tableId: 1\n" + 1599 " └─ Table\n" + 1600 " ├─ name: comp_index_t0\n" + 1601 " └─ columns: [pk v1 v2]\n" + 1602 "", 1603 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1604 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1605 " ├─ filters: [{[34, 34], [0, 91]}, {[54, 77], (92, ∞)}]\n" + 1606 " └─ columns: [pk v1 v2]\n" + 1607 "", 1608 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1609 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1610 " ├─ filters: [{[34, 34], [0, 91]}, {[54, 77], (92, ∞)}]\n" + 1611 " └─ columns: [pk v1 v2]\n" + 1612 "", 1613 }, 1614 { 1615 Query: `SELECT * FROM comp_index_t0 WHERE ((((((v1<=55) OR (v1>=46 AND v2<=26)) OR (v1 BETWEEN 8 AND 54)) OR (v1>26 AND v2 BETWEEN 62 AND 89)) OR (v1<31 AND v2=11)) OR (v1>9 AND v2=60));`, 1616 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1617 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1618 " ├─ static: [{(NULL, 55], [NULL, ∞)}, {(55, ∞), (NULL, 26]}, {(55, ∞), [60, 60]}, {(55, ∞), [62, 89]}]\n" + 1619 " ├─ colSet: (1-3)\n" + 1620 " ├─ tableId: 1\n" + 1621 " └─ Table\n" + 1622 " ├─ name: comp_index_t0\n" + 1623 " └─ columns: [pk v1 v2]\n" + 1624 "", 1625 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1626 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1627 " ├─ filters: [{(NULL, 55], [NULL, ∞)}, {(55, ∞), (NULL, 26]}, {(55, ∞), [60, 60]}, {(55, ∞), [62, 89]}]\n" + 1628 " └─ columns: [pk v1 v2]\n" + 1629 "", 1630 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1631 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1632 " ├─ filters: [{(NULL, 55], [NULL, ∞)}, {(55, ∞), (NULL, 26]}, {(55, ∞), [60, 60]}, {(55, ∞), [62, 89]}]\n" + 1633 " └─ columns: [pk v1 v2]\n" + 1634 "", 1635 }, 1636 { 1637 Query: `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 17 AND 54 AND v2>=37) AND (v1<42 AND v2=96) OR (v1<>50));`, 1638 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1639 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1640 " ├─ static: [{(NULL, 50), [NULL, ∞)}, {(50, ∞), [NULL, ∞)}]\n" + 1641 " ├─ colSet: (1-3)\n" + 1642 " ├─ tableId: 1\n" + 1643 " └─ Table\n" + 1644 " ├─ name: comp_index_t0\n" + 1645 " └─ columns: [pk v1 v2]\n" + 1646 "", 1647 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1648 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1649 " ├─ filters: [{(NULL, 50), [NULL, ∞)}, {(50, ∞), [NULL, ∞)}]\n" + 1650 " └─ columns: [pk v1 v2]\n" + 1651 "", 1652 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1653 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1654 " ├─ filters: [{(NULL, 50), [NULL, ∞)}, {(50, ∞), [NULL, ∞)}]\n" + 1655 " └─ columns: [pk v1 v2]\n" + 1656 "", 1657 }, 1658 { 1659 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>39 AND v2>66) OR (v1=99));`, 1660 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1661 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1662 " ├─ static: [{(39, 99), (66, ∞)}, {[99, 99], [NULL, ∞)}, {(99, ∞), (66, ∞)}]\n" + 1663 " ├─ colSet: (1-3)\n" + 1664 " ├─ tableId: 1\n" + 1665 " └─ Table\n" + 1666 " ├─ name: comp_index_t0\n" + 1667 " └─ columns: [pk v1 v2]\n" + 1668 "", 1669 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1670 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1671 " ├─ filters: [{(39, 99), (66, ∞)}, {[99, 99], [NULL, ∞)}, {(99, ∞), (66, ∞)}]\n" + 1672 " └─ columns: [pk v1 v2]\n" + 1673 "", 1674 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1675 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1676 " ├─ filters: [{(39, 99), (66, ∞)}, {[99, 99], [NULL, ∞)}, {(99, ∞), (66, ∞)}]\n" + 1677 " └─ columns: [pk v1 v2]\n" + 1678 "", 1679 }, 1680 { 1681 Query: `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 24 AND 66) OR (v1<=81 AND v2<>29));`, 1682 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1683 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1684 " ├─ static: [{(NULL, 24), (NULL, 29)}, {(NULL, 24), (29, ∞)}, {[24, 66], [NULL, ∞)}, {(66, 81], (NULL, 29)}, {(66, 81], (29, ∞)}]\n" + 1685 " ├─ colSet: (1-3)\n" + 1686 " ├─ tableId: 1\n" + 1687 " └─ Table\n" + 1688 " ├─ name: comp_index_t0\n" + 1689 " └─ columns: [pk v1 v2]\n" + 1690 "", 1691 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1692 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1693 " ├─ filters: [{(NULL, 24), (NULL, 29)}, {(NULL, 24), (29, ∞)}, {[24, 66], [NULL, ∞)}, {(66, 81], (NULL, 29)}, {(66, 81], (29, ∞)}]\n" + 1694 " └─ columns: [pk v1 v2]\n" + 1695 "", 1696 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1697 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1698 " ├─ filters: [{(NULL, 24), (NULL, 29)}, {(NULL, 24), (29, ∞)}, {[24, 66], [NULL, ∞)}, {(66, 81], (NULL, 29)}, {(66, 81], (29, ∞)}]\n" + 1699 " └─ columns: [pk v1 v2]\n" + 1700 "", 1701 }, 1702 { 1703 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<>18 AND v2<>8) OR (v1>=10 AND v2>3)) OR (v1=53));`, 1704 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1705 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1706 " ├─ static: [{(NULL, 10), (NULL, 8)}, {(NULL, 10), (8, ∞)}, {[10, 18), (NULL, ∞)}, {[18, 18], (3, ∞)}, {(18, 53), (NULL, ∞)}, {[53, 53], [NULL, ∞)}, {(53, ∞), (NULL, ∞)}]\n" + 1707 " ├─ colSet: (1-3)\n" + 1708 " ├─ tableId: 1\n" + 1709 " └─ Table\n" + 1710 " ├─ name: comp_index_t0\n" + 1711 " └─ columns: [pk v1 v2]\n" + 1712 "", 1713 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1714 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1715 " ├─ filters: [{(NULL, 10), (NULL, 8)}, {(NULL, 10), (8, ∞)}, {[10, 18), (NULL, ∞)}, {[18, 18], (3, ∞)}, {(18, 53), (NULL, ∞)}, {[53, 53], [NULL, ∞)}, {(53, ∞), (NULL, ∞)}]\n" + 1716 " └─ columns: [pk v1 v2]\n" + 1717 "", 1718 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1719 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1720 " ├─ filters: [{(NULL, 10), (NULL, 8)}, {(NULL, 10), (8, ∞)}, {[10, 18), (NULL, ∞)}, {[18, 18], (3, ∞)}, {(18, 53), (NULL, ∞)}, {[53, 53], [NULL, ∞)}, {(53, ∞), (NULL, ∞)}]\n" + 1721 " └─ columns: [pk v1 v2]\n" + 1722 "", 1723 }, 1724 { 1725 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>=42 AND v2>34) OR (v1<=40 AND v2<=49));`, 1726 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1727 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1728 " ├─ static: [{(NULL, 40], (NULL, 49]}, {[42, ∞), (34, ∞)}]\n" + 1729 " ├─ colSet: (1-3)\n" + 1730 " ├─ tableId: 1\n" + 1731 " └─ Table\n" + 1732 " ├─ name: comp_index_t0\n" + 1733 " └─ columns: [pk v1 v2]\n" + 1734 "", 1735 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1736 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1737 " ├─ filters: [{(NULL, 40], (NULL, 49]}, {[42, ∞), (34, ∞)}]\n" + 1738 " └─ columns: [pk v1 v2]\n" + 1739 "", 1740 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1741 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1742 " ├─ filters: [{(NULL, 40], (NULL, 49]}, {[42, ∞), (34, ∞)}]\n" + 1743 " └─ columns: [pk v1 v2]\n" + 1744 "", 1745 }, 1746 { 1747 Query: `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 8 AND 38) OR (v1>=23 AND v2 BETWEEN 36 AND 49));`, 1748 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1749 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1750 " ├─ static: [{[8, 38], [NULL, ∞)}, {(38, ∞), [36, 49]}]\n" + 1751 " ├─ colSet: (1-3)\n" + 1752 " ├─ tableId: 1\n" + 1753 " └─ Table\n" + 1754 " ├─ name: comp_index_t0\n" + 1755 " └─ columns: [pk v1 v2]\n" + 1756 "", 1757 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1758 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1759 " ├─ filters: [{[8, 38], [NULL, ∞)}, {(38, ∞), [36, 49]}]\n" + 1760 " └─ columns: [pk v1 v2]\n" + 1761 "", 1762 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1763 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1764 " ├─ filters: [{[8, 38], [NULL, ∞)}, {(38, ∞), [36, 49]}]\n" + 1765 " └─ columns: [pk v1 v2]\n" + 1766 "", 1767 }, 1768 { 1769 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>57 AND v2 BETWEEN 2 AND 93) OR (v1=52));`, 1770 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1771 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1772 " ├─ static: [{(NULL, 52), [2, 93]}, {[52, 52], [NULL, ∞)}, {(52, 57), [2, 93]}, {(57, ∞), [2, 93]}]\n" + 1773 " ├─ colSet: (1-3)\n" + 1774 " ├─ tableId: 1\n" + 1775 " └─ Table\n" + 1776 " ├─ name: comp_index_t0\n" + 1777 " └─ columns: [pk v1 v2]\n" + 1778 "", 1779 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1780 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1781 " ├─ filters: [{(NULL, 52), [2, 93]}, {[52, 52], [NULL, ∞)}, {(52, 57), [2, 93]}, {(57, ∞), [2, 93]}]\n" + 1782 " └─ columns: [pk v1 v2]\n" + 1783 "", 1784 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1785 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1786 " ├─ filters: [{(NULL, 52), [2, 93]}, {[52, 52], [NULL, ∞)}, {(52, 57), [2, 93]}, {(57, ∞), [2, 93]}]\n" + 1787 " └─ columns: [pk v1 v2]\n" + 1788 "", 1789 }, 1790 { 1791 Query: `SELECT * FROM comp_index_t0 WHERE ((((v1<24) OR (v1<41)) OR (v1<12 AND v2=2)) OR (v1=3 AND v2<>66));`, 1792 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1793 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1794 " ├─ static: [{(NULL, 41), [NULL, ∞)}]\n" + 1795 " ├─ colSet: (1-3)\n" + 1796 " ├─ tableId: 1\n" + 1797 " └─ Table\n" + 1798 " ├─ name: comp_index_t0\n" + 1799 " └─ columns: [pk v1 v2]\n" + 1800 "", 1801 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1802 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1803 " ├─ filters: [{(NULL, 41), [NULL, ∞)}]\n" + 1804 " └─ columns: [pk v1 v2]\n" + 1805 "", 1806 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1807 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1808 " ├─ filters: [{(NULL, 41), [NULL, ∞)}]\n" + 1809 " └─ columns: [pk v1 v2]\n" + 1810 "", 1811 }, 1812 { 1813 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<=52 AND v2<40) AND (v1<30) OR (v1<=75 AND v2 BETWEEN 54 AND 54)) OR (v1<>31 AND v2<>56));`, 1814 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1815 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1816 " ├─ static: [{(NULL, 31), (NULL, 56)}, {(NULL, 31), (56, ∞)}, {[31, 31], [54, 54]}, {(31, ∞), (NULL, 56)}, {(31, ∞), (56, ∞)}]\n" + 1817 " ├─ colSet: (1-3)\n" + 1818 " ├─ tableId: 1\n" + 1819 " └─ Table\n" + 1820 " ├─ name: comp_index_t0\n" + 1821 " └─ columns: [pk v1 v2]\n" + 1822 "", 1823 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1824 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1825 " ├─ filters: [{(NULL, 31), (NULL, 56)}, {(NULL, 31), (56, ∞)}, {[31, 31], [54, 54]}, {(31, ∞), (NULL, 56)}, {(31, ∞), (56, ∞)}]\n" + 1826 " └─ columns: [pk v1 v2]\n" + 1827 "", 1828 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1829 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1830 " ├─ filters: [{(NULL, 31), (NULL, 56)}, {(NULL, 31), (56, ∞)}, {[31, 31], [54, 54]}, {(31, ∞), (NULL, 56)}, {(31, ∞), (56, ∞)}]\n" + 1831 " └─ columns: [pk v1 v2]\n" + 1832 "", 1833 }, 1834 { 1835 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>52 AND v2<90) OR (v1 BETWEEN 27 AND 77 AND v2 BETWEEN 49 AND 83));`, 1836 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1837 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1838 " ├─ static: [{(NULL, 52), (NULL, 90)}, {[52, 52], [49, 83]}, {(52, ∞), (NULL, 90)}]\n" + 1839 " ├─ colSet: (1-3)\n" + 1840 " ├─ tableId: 1\n" + 1841 " └─ Table\n" + 1842 " ├─ name: comp_index_t0\n" + 1843 " └─ columns: [pk v1 v2]\n" + 1844 "", 1845 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1846 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1847 " ├─ filters: [{(NULL, 52), (NULL, 90)}, {[52, 52], [49, 83]}, {(52, ∞), (NULL, 90)}]\n" + 1848 " └─ columns: [pk v1 v2]\n" + 1849 "", 1850 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1851 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1852 " ├─ filters: [{(NULL, 52), (NULL, 90)}, {[52, 52], [49, 83]}, {(52, ∞), (NULL, 90)}]\n" + 1853 " └─ columns: [pk v1 v2]\n" + 1854 "", 1855 }, 1856 { 1857 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>2) OR (v1<72 AND v2>=21)) AND (v1=69 AND v2 BETWEEN 44 AND 48);`, 1858 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1859 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1860 " ├─ static: [{[69, 69], [44, 48]}]\n" + 1861 " ├─ colSet: (1-3)\n" + 1862 " ├─ tableId: 1\n" + 1863 " └─ Table\n" + 1864 " ├─ name: comp_index_t0\n" + 1865 " └─ columns: [pk v1 v2]\n" + 1866 "", 1867 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1868 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1869 " ├─ filters: [{[69, 69], [44, 48]}]\n" + 1870 " └─ columns: [pk v1 v2]\n" + 1871 "", 1872 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1873 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1874 " ├─ filters: [{[69, 69], [44, 48]}]\n" + 1875 " └─ columns: [pk v1 v2]\n" + 1876 "", 1877 }, 1878 { 1879 Query: `SELECT * FROM comp_index_t0 WHERE ((((v1>77) OR (v1=57)) OR (v1>9 AND v2>80)) OR (v1=22));`, 1880 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1881 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1882 " ├─ static: [{(9, 22), (80, ∞)}, {[22, 22], [NULL, ∞)}, {(22, 57), (80, ∞)}, {[57, 57], [NULL, ∞)}, {(57, 77], (80, ∞)}, {(77, ∞), [NULL, ∞)}]\n" + 1883 " ├─ colSet: (1-3)\n" + 1884 " ├─ tableId: 1\n" + 1885 " └─ Table\n" + 1886 " ├─ name: comp_index_t0\n" + 1887 " └─ columns: [pk v1 v2]\n" + 1888 "", 1889 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1890 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1891 " ├─ filters: [{(9, 22), (80, ∞)}, {[22, 22], [NULL, ∞)}, {(22, 57), (80, ∞)}, {[57, 57], [NULL, ∞)}, {(57, 77], (80, ∞)}, {(77, ∞), [NULL, ∞)}]\n" + 1892 " └─ columns: [pk v1 v2]\n" + 1893 "", 1894 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1895 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1896 " ├─ filters: [{(9, 22), (80, ∞)}, {[22, 22], [NULL, ∞)}, {(22, 57), (80, ∞)}, {[57, 57], [NULL, ∞)}, {(57, 77], (80, ∞)}, {(77, ∞), [NULL, ∞)}]\n" + 1897 " └─ columns: [pk v1 v2]\n" + 1898 "", 1899 }, 1900 { 1901 Query: `SELECT * FROM comp_index_t0 WHERE ((((v1>28) OR (v1<=30 AND v2=30)) OR (v1<29)) OR (v1 BETWEEN 54 AND 74));`, 1902 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1903 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1904 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 1905 " ├─ colSet: (1-3)\n" + 1906 " ├─ tableId: 1\n" + 1907 " └─ Table\n" + 1908 " ├─ name: comp_index_t0\n" + 1909 " └─ columns: [pk v1 v2]\n" + 1910 "", 1911 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1912 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1913 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 1914 " └─ columns: [pk v1 v2]\n" + 1915 "", 1916 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1917 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1918 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 1919 " └─ columns: [pk v1 v2]\n" + 1920 "", 1921 }, 1922 { 1923 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>30 AND v2 BETWEEN 20 AND 41) OR (v1>=69 AND v2=51));`, 1924 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1925 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1926 " ├─ static: [{(NULL, 30), [20, 41]}, {(30, ∞), [20, 41]}, {[69, ∞), [51, 51]}]\n" + 1927 " ├─ colSet: (1-3)\n" + 1928 " ├─ tableId: 1\n" + 1929 " └─ Table\n" + 1930 " ├─ name: comp_index_t0\n" + 1931 " └─ columns: [pk v1 v2]\n" + 1932 "", 1933 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1934 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1935 " ├─ filters: [{(NULL, 30), [20, 41]}, {(30, ∞), [20, 41]}, {[69, ∞), [51, 51]}]\n" + 1936 " └─ columns: [pk v1 v2]\n" + 1937 "", 1938 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1939 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1940 " ├─ filters: [{(NULL, 30), [20, 41]}, {(30, ∞), [20, 41]}, {[69, ∞), [51, 51]}]\n" + 1941 " └─ columns: [pk v1 v2]\n" + 1942 "", 1943 }, 1944 { 1945 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>39) OR (v1=55)) AND (v1=67);`, 1946 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1947 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1948 " ├─ static: [{[67, 67], [NULL, ∞)}]\n" + 1949 " ├─ colSet: (1-3)\n" + 1950 " ├─ tableId: 1\n" + 1951 " └─ Table\n" + 1952 " ├─ name: comp_index_t0\n" + 1953 " └─ columns: [pk v1 v2]\n" + 1954 "", 1955 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1956 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1957 " ├─ filters: [{[67, 67], [NULL, ∞)}]\n" + 1958 " └─ columns: [pk v1 v2]\n" + 1959 "", 1960 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1961 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1962 " ├─ filters: [{[67, 67], [NULL, ∞)}]\n" + 1963 " └─ columns: [pk v1 v2]\n" + 1964 "", 1965 }, 1966 { 1967 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<20 AND v2<=46) OR (v1<>4 AND v2=26)) OR (v1>36 AND v2<>13));`, 1968 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1969 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1970 " ├─ static: [{(NULL, 20), (NULL, 46]}, {[20, 36], [26, 26]}, {(36, ∞), (NULL, 13)}, {(36, ∞), (13, ∞)}]\n" + 1971 " ├─ colSet: (1-3)\n" + 1972 " ├─ tableId: 1\n" + 1973 " └─ Table\n" + 1974 " ├─ name: comp_index_t0\n" + 1975 " └─ columns: [pk v1 v2]\n" + 1976 "", 1977 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 1978 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1979 " ├─ filters: [{(NULL, 20), (NULL, 46]}, {[20, 36], [26, 26]}, {(36, ∞), (NULL, 13)}, {(36, ∞), (13, ∞)}]\n" + 1980 " └─ columns: [pk v1 v2]\n" + 1981 "", 1982 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 1983 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1984 " ├─ filters: [{(NULL, 20), (NULL, 46]}, {[20, 36], [26, 26]}, {(36, ∞), (NULL, 13)}, {(36, ∞), (13, ∞)}]\n" + 1985 " └─ columns: [pk v1 v2]\n" + 1986 "", 1987 }, 1988 { 1989 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<=5 AND v2>66) OR (v1<=0)) OR (v1 BETWEEN 10 AND 87));`, 1990 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 1991 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 1992 " ├─ static: [{(NULL, 0], [NULL, ∞)}, {(0, 5], (66, ∞)}, {[10, 87], [NULL, ∞)}]\n" + 1993 " ├─ colSet: (1-3)\n" + 1994 " ├─ tableId: 1\n" + 1995 " └─ Table\n" + 1996 " ├─ name: comp_index_t0\n" + 1997 " └─ columns: [pk v1 v2]\n" + 1998 "", 1999 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2000 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2001 " ├─ filters: [{(NULL, 0], [NULL, ∞)}, {(0, 5], (66, ∞)}, {[10, 87], [NULL, ∞)}]\n" + 2002 " └─ columns: [pk v1 v2]\n" + 2003 "", 2004 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2005 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2006 " ├─ filters: [{(NULL, 0], [NULL, ∞)}, {(0, 5], (66, ∞)}, {[10, 87], [NULL, ∞)}]\n" + 2007 " └─ columns: [pk v1 v2]\n" + 2008 "", 2009 }, 2010 { 2011 Query: `SELECT * FROM comp_index_t0 WHERE ((((((v1<>99 AND v2 BETWEEN 12 AND 31) OR (v1<56 AND v2<>69)) OR (v1>=37 AND v2<47)) OR (v1<=98 AND v2=50)) AND (v1 BETWEEN 15 AND 47) OR (v1>55 AND v2>85)) OR (v1>86));`, 2012 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2013 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2014 " ├─ static: [{[15, 47], (NULL, 69)}, {[15, 47], (69, ∞)}, {(55, 86], (85, ∞)}, {(86, ∞), [NULL, ∞)}]\n" + 2015 " ├─ colSet: (1-3)\n" + 2016 " ├─ tableId: 1\n" + 2017 " └─ Table\n" + 2018 " ├─ name: comp_index_t0\n" + 2019 " └─ columns: [pk v1 v2]\n" + 2020 "", 2021 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2022 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2023 " ├─ filters: [{[15, 47], (NULL, 69)}, {[15, 47], (69, ∞)}, {(55, 86], (85, ∞)}, {(86, ∞), [NULL, ∞)}]\n" + 2024 " └─ columns: [pk v1 v2]\n" + 2025 "", 2026 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2027 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2028 " ├─ filters: [{[15, 47], (NULL, 69)}, {[15, 47], (69, ∞)}, {(55, 86], (85, ∞)}, {(86, ∞), [NULL, ∞)}]\n" + 2029 " └─ columns: [pk v1 v2]\n" + 2030 "", 2031 }, 2032 { 2033 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<37) OR (v1<=48 AND v2<=54)) OR (v1=88));`, 2034 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2035 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2036 " ├─ static: [{(NULL, 37), [NULL, ∞)}, {[37, 48], (NULL, 54]}, {[88, 88], [NULL, ∞)}]\n" + 2037 " ├─ colSet: (1-3)\n" + 2038 " ├─ tableId: 1\n" + 2039 " └─ Table\n" + 2040 " ├─ name: comp_index_t0\n" + 2041 " └─ columns: [pk v1 v2]\n" + 2042 "", 2043 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2044 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2045 " ├─ filters: [{(NULL, 37), [NULL, ∞)}, {[37, 48], (NULL, 54]}, {[88, 88], [NULL, ∞)}]\n" + 2046 " └─ columns: [pk v1 v2]\n" + 2047 "", 2048 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2049 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2050 " ├─ filters: [{(NULL, 37), [NULL, ∞)}, {[37, 48], (NULL, 54]}, {[88, 88], [NULL, ∞)}]\n" + 2051 " └─ columns: [pk v1 v2]\n" + 2052 "", 2053 }, 2054 { 2055 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<>31) OR (v1<>43)) OR (v1>37 AND v2>5));`, 2056 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2057 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2058 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 2059 " ├─ colSet: (1-3)\n" + 2060 " ├─ tableId: 1\n" + 2061 " └─ Table\n" + 2062 " ├─ name: comp_index_t0\n" + 2063 " └─ columns: [pk v1 v2]\n" + 2064 "", 2065 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2066 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2067 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2068 " └─ columns: [pk v1 v2]\n" + 2069 "", 2070 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2071 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2072 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2073 " └─ columns: [pk v1 v2]\n" + 2074 "", 2075 }, 2076 { 2077 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<=91) OR (v1<>79)) OR (v1<64));`, 2078 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2079 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2080 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 2081 " ├─ colSet: (1-3)\n" + 2082 " ├─ tableId: 1\n" + 2083 " └─ Table\n" + 2084 " ├─ name: comp_index_t0\n" + 2085 " └─ columns: [pk v1 v2]\n" + 2086 "", 2087 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2088 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2089 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2090 " └─ columns: [pk v1 v2]\n" + 2091 "", 2092 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2093 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2094 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2095 " └─ columns: [pk v1 v2]\n" + 2096 "", 2097 }, 2098 { 2099 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>48) OR (v1>11));`, 2100 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2101 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2102 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 2103 " ├─ colSet: (1-3)\n" + 2104 " ├─ tableId: 1\n" + 2105 " └─ Table\n" + 2106 " ├─ name: comp_index_t0\n" + 2107 " └─ columns: [pk v1 v2]\n" + 2108 "", 2109 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2110 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2111 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2112 " └─ columns: [pk v1 v2]\n" + 2113 "", 2114 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2115 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2116 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2117 " └─ columns: [pk v1 v2]\n" + 2118 "", 2119 }, 2120 { 2121 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>40) OR (v1>=49 AND v2>=92));`, 2122 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2123 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2124 " ├─ static: [{(40, ∞), [NULL, ∞)}]\n" + 2125 " ├─ colSet: (1-3)\n" + 2126 " ├─ tableId: 1\n" + 2127 " └─ Table\n" + 2128 " ├─ name: comp_index_t0\n" + 2129 " └─ columns: [pk v1 v2]\n" + 2130 "", 2131 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2132 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2133 " ├─ filters: [{(40, ∞), [NULL, ∞)}]\n" + 2134 " └─ columns: [pk v1 v2]\n" + 2135 "", 2136 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2137 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2138 " ├─ filters: [{(40, ∞), [NULL, ∞)}]\n" + 2139 " └─ columns: [pk v1 v2]\n" + 2140 "", 2141 }, 2142 { 2143 Query: `SELECT * FROM comp_index_t0 WHERE ((((v1<40) OR (v1<=59)) OR (v1<99)) AND (v1>=83) OR (v1>9));`, 2144 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2145 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2146 " ├─ static: [{(9, ∞), [NULL, ∞)}]\n" + 2147 " ├─ colSet: (1-3)\n" + 2148 " ├─ tableId: 1\n" + 2149 " └─ Table\n" + 2150 " ├─ name: comp_index_t0\n" + 2151 " └─ columns: [pk v1 v2]\n" + 2152 "", 2153 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2154 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2155 " ├─ filters: [{(9, ∞), [NULL, ∞)}]\n" + 2156 " └─ columns: [pk v1 v2]\n" + 2157 "", 2158 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2159 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2160 " ├─ filters: [{(9, ∞), [NULL, ∞)}]\n" + 2161 " └─ columns: [pk v1 v2]\n" + 2162 "", 2163 }, 2164 { 2165 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<=53 AND v2<=79) OR (v1>50 AND v2>26)) AND (v1>26) AND (v1>43 AND v2<7);`, 2166 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2167 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2168 " ├─ static: [{(43, 53], (NULL, 7)}]\n" + 2169 " ├─ colSet: (1-3)\n" + 2170 " ├─ tableId: 1\n" + 2171 " └─ Table\n" + 2172 " ├─ name: comp_index_t0\n" + 2173 " └─ columns: [pk v1 v2]\n" + 2174 "", 2175 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2176 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2177 " ├─ filters: [{(43, 53], (NULL, 7)}]\n" + 2178 " └─ columns: [pk v1 v2]\n" + 2179 "", 2180 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2181 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2182 " ├─ filters: [{(43, 53], (NULL, 7)}]\n" + 2183 " └─ columns: [pk v1 v2]\n" + 2184 "", 2185 }, 2186 { 2187 Query: `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 27 AND 84) OR (v1<98 AND v2>38)) OR (v1<>30));`, 2188 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2189 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2190 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 2191 " ├─ colSet: (1-3)\n" + 2192 " ├─ tableId: 1\n" + 2193 " └─ Table\n" + 2194 " ├─ name: comp_index_t0\n" + 2195 " └─ columns: [pk v1 v2]\n" + 2196 "", 2197 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2198 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2199 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2200 " └─ columns: [pk v1 v2]\n" + 2201 "", 2202 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2203 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2204 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2205 " └─ columns: [pk v1 v2]\n" + 2206 "", 2207 }, 2208 { 2209 Query: `SELECT * FROM comp_index_t0 WHERE ((v1=45) OR (v1=28));`, 2210 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2211 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2212 " ├─ static: [{[28, 28], [NULL, ∞)}, {[45, 45], [NULL, ∞)}]\n" + 2213 " ├─ colSet: (1-3)\n" + 2214 " ├─ tableId: 1\n" + 2215 " └─ Table\n" + 2216 " ├─ name: comp_index_t0\n" + 2217 " └─ columns: [pk v1 v2]\n" + 2218 "", 2219 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2220 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2221 " ├─ filters: [{[28, 28], [NULL, ∞)}, {[45, 45], [NULL, ∞)}]\n" + 2222 " └─ columns: [pk v1 v2]\n" + 2223 "", 2224 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2225 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2226 " ├─ filters: [{[28, 28], [NULL, ∞)}, {[45, 45], [NULL, ∞)}]\n" + 2227 " └─ columns: [pk v1 v2]\n" + 2228 "", 2229 }, 2230 { 2231 Query: `SELECT * FROM comp_index_t0 WHERE (v1 BETWEEN 11 AND 18) AND (v1>31 AND v2 BETWEEN 38 AND 88);`, 2232 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2233 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2234 " ├─ static: [{(∞, ∞), (∞, ∞)}]\n" + 2235 " ├─ colSet: (1-3)\n" + 2236 " ├─ tableId: 1\n" + 2237 " └─ Table\n" + 2238 " ├─ name: comp_index_t0\n" + 2239 " └─ columns: [pk v1 v2]\n" + 2240 "", 2241 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2242 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2243 " ├─ filters: [{(∞, ∞), (∞, ∞)}]\n" + 2244 " └─ columns: [pk v1 v2]\n" + 2245 "", 2246 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2247 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2248 " ├─ filters: [{(∞, ∞), (∞, ∞)}]\n" + 2249 " └─ columns: [pk v1 v2]\n" + 2250 "", 2251 }, 2252 { 2253 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>95 AND v2>5) OR (v1>16 AND v2>=38));`, 2254 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2255 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2256 " ├─ static: [{(16, 95], [38, ∞)}, {(95, ∞), (5, ∞)}]\n" + 2257 " ├─ colSet: (1-3)\n" + 2258 " ├─ tableId: 1\n" + 2259 " └─ Table\n" + 2260 " ├─ name: comp_index_t0\n" + 2261 " └─ columns: [pk v1 v2]\n" + 2262 "", 2263 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2264 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2265 " ├─ filters: [{(16, 95], [38, ∞)}, {(95, ∞), (5, ∞)}]\n" + 2266 " └─ columns: [pk v1 v2]\n" + 2267 "", 2268 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2269 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2270 " ├─ filters: [{(16, 95], [38, ∞)}, {(95, ∞), (5, ∞)}]\n" + 2271 " └─ columns: [pk v1 v2]\n" + 2272 "", 2273 }, 2274 { 2275 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>=23) OR (v1=47 AND v2>23));`, 2276 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2277 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2278 " ├─ static: [{[23, ∞), [NULL, ∞)}]\n" + 2279 " ├─ colSet: (1-3)\n" + 2280 " ├─ tableId: 1\n" + 2281 " └─ Table\n" + 2282 " ├─ name: comp_index_t0\n" + 2283 " └─ columns: [pk v1 v2]\n" + 2284 "", 2285 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2286 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2287 " ├─ filters: [{[23, ∞), [NULL, ∞)}]\n" + 2288 " └─ columns: [pk v1 v2]\n" + 2289 "", 2290 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2291 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2292 " ├─ filters: [{[23, ∞), [NULL, ∞)}]\n" + 2293 " └─ columns: [pk v1 v2]\n" + 2294 "", 2295 }, 2296 { 2297 Query: `SELECT * FROM comp_index_t0 WHERE ((v1=30) OR (v1<>67));`, 2298 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2299 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2300 " ├─ static: [{(NULL, 67), [NULL, ∞)}, {(67, ∞), [NULL, ∞)}]\n" + 2301 " ├─ colSet: (1-3)\n" + 2302 " ├─ tableId: 1\n" + 2303 " └─ Table\n" + 2304 " ├─ name: comp_index_t0\n" + 2305 " └─ columns: [pk v1 v2]\n" + 2306 "", 2307 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2308 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2309 " ├─ filters: [{(NULL, 67), [NULL, ∞)}, {(67, ∞), [NULL, ∞)}]\n" + 2310 " └─ columns: [pk v1 v2]\n" + 2311 "", 2312 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2313 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2314 " ├─ filters: [{(NULL, 67), [NULL, ∞)}, {(67, ∞), [NULL, ∞)}]\n" + 2315 " └─ columns: [pk v1 v2]\n" + 2316 "", 2317 }, 2318 { 2319 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>=30 AND v2>=67) OR (v1<=52));`, 2320 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2321 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2322 " ├─ static: [{(NULL, 52], [NULL, ∞)}, {(52, ∞), [67, ∞)}]\n" + 2323 " ├─ colSet: (1-3)\n" + 2324 " ├─ tableId: 1\n" + 2325 " └─ Table\n" + 2326 " ├─ name: comp_index_t0\n" + 2327 " └─ columns: [pk v1 v2]\n" + 2328 "", 2329 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2330 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2331 " ├─ filters: [{(NULL, 52], [NULL, ∞)}, {(52, ∞), [67, ∞)}]\n" + 2332 " └─ columns: [pk v1 v2]\n" + 2333 "", 2334 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2335 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2336 " ├─ filters: [{(NULL, 52], [NULL, ∞)}, {(52, ∞), [67, ∞)}]\n" + 2337 " └─ columns: [pk v1 v2]\n" + 2338 "", 2339 }, 2340 { 2341 Query: `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 48 AND 86 AND v2>=29) OR (v1<>82 AND v2<=93)) OR (v1 BETWEEN 79 AND 87 AND v2 BETWEEN 13 AND 69));`, 2342 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2343 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2344 " ├─ static: [{(NULL, 48), (NULL, 93]}, {[48, 82), (NULL, ∞)}, {[82, 82], [13, ∞)}, {(82, 86], (NULL, ∞)}, {(86, ∞), (NULL, 93]}]\n" + 2345 " ├─ colSet: (1-3)\n" + 2346 " ├─ tableId: 1\n" + 2347 " └─ Table\n" + 2348 " ├─ name: comp_index_t0\n" + 2349 " └─ columns: [pk v1 v2]\n" + 2350 "", 2351 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2352 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2353 " ├─ filters: [{(NULL, 48), (NULL, 93]}, {[48, 82), (NULL, ∞)}, {[82, 82], [13, ∞)}, {(82, 86], (NULL, ∞)}, {(86, ∞), (NULL, 93]}]\n" + 2354 " └─ columns: [pk v1 v2]\n" + 2355 "", 2356 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2357 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2358 " ├─ filters: [{(NULL, 48), (NULL, 93]}, {[48, 82), (NULL, ∞)}, {[82, 82], [13, ∞)}, {(82, 86], (NULL, ∞)}, {(86, ∞), (NULL, 93]}]\n" + 2359 " └─ columns: [pk v1 v2]\n" + 2360 "", 2361 }, 2362 { 2363 Query: `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 3 AND 95 AND v2>=36) OR (v1>=40 AND v2<13)) OR (v1 BETWEEN 4 AND 8 AND v2=50));`, 2364 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2365 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2366 " ├─ static: [{[3, 95], [36, ∞)}, {[40, ∞), (NULL, 13)}]\n" + 2367 " ├─ colSet: (1-3)\n" + 2368 " ├─ tableId: 1\n" + 2369 " └─ Table\n" + 2370 " ├─ name: comp_index_t0\n" + 2371 " └─ columns: [pk v1 v2]\n" + 2372 "", 2373 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2374 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2375 " ├─ filters: [{[3, 95], [36, ∞)}, {[40, ∞), (NULL, 13)}]\n" + 2376 " └─ columns: [pk v1 v2]\n" + 2377 "", 2378 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2379 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2380 " ├─ filters: [{[3, 95], [36, ∞)}, {[40, ∞), (NULL, 13)}]\n" + 2381 " └─ columns: [pk v1 v2]\n" + 2382 "", 2383 }, 2384 { 2385 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<11 AND v2<>32) OR (v1 BETWEEN 35 AND 41)) OR (v1>=76));`, 2386 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2387 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2388 " ├─ static: [{(NULL, 11), (NULL, 32)}, {(NULL, 11), (32, ∞)}, {[35, 41], [NULL, ∞)}, {[76, ∞), [NULL, ∞)}]\n" + 2389 " ├─ colSet: (1-3)\n" + 2390 " ├─ tableId: 1\n" + 2391 " └─ Table\n" + 2392 " ├─ name: comp_index_t0\n" + 2393 " └─ columns: [pk v1 v2]\n" + 2394 "", 2395 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2396 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2397 " ├─ filters: [{(NULL, 11), (NULL, 32)}, {(NULL, 11), (32, ∞)}, {[35, 41], [NULL, ∞)}, {[76, ∞), [NULL, ∞)}]\n" + 2398 " └─ columns: [pk v1 v2]\n" + 2399 "", 2400 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2401 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2402 " ├─ filters: [{(NULL, 11), (NULL, 32)}, {(NULL, 11), (32, ∞)}, {[35, 41], [NULL, ∞)}, {[76, ∞), [NULL, ∞)}]\n" + 2403 " └─ columns: [pk v1 v2]\n" + 2404 "", 2405 }, 2406 { 2407 Query: `SELECT * FROM comp_index_t0 WHERE ((v1=15 AND v2=8) AND (v1>2) OR (v1 BETWEEN 50 AND 97));`, 2408 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2409 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2410 " ├─ static: [{[15, 15], [8, 8]}, {[50, 97], [NULL, ∞)}]\n" + 2411 " ├─ colSet: (1-3)\n" + 2412 " ├─ tableId: 1\n" + 2413 " └─ Table\n" + 2414 " ├─ name: comp_index_t0\n" + 2415 " └─ columns: [pk v1 v2]\n" + 2416 "", 2417 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2418 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2419 " ├─ filters: [{[15, 15], [8, 8]}, {[50, 97], [NULL, ∞)}]\n" + 2420 " └─ columns: [pk v1 v2]\n" + 2421 "", 2422 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2423 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2424 " ├─ filters: [{[15, 15], [8, 8]}, {[50, 97], [NULL, ∞)}]\n" + 2425 " └─ columns: [pk v1 v2]\n" + 2426 "", 2427 }, 2428 { 2429 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<67 AND v2<>39) OR (v1>36));`, 2430 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2431 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2432 " ├─ static: [{(NULL, 36], (NULL, 39)}, {(NULL, 36], (39, ∞)}, {(36, ∞), [NULL, ∞)}]\n" + 2433 " ├─ colSet: (1-3)\n" + 2434 " ├─ tableId: 1\n" + 2435 " └─ Table\n" + 2436 " ├─ name: comp_index_t0\n" + 2437 " └─ columns: [pk v1 v2]\n" + 2438 "", 2439 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2440 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2441 " ├─ filters: [{(NULL, 36], (NULL, 39)}, {(NULL, 36], (39, ∞)}, {(36, ∞), [NULL, ∞)}]\n" + 2442 " └─ columns: [pk v1 v2]\n" + 2443 "", 2444 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2445 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2446 " ├─ filters: [{(NULL, 36], (NULL, 39)}, {(NULL, 36], (39, ∞)}, {(36, ∞), [NULL, ∞)}]\n" + 2447 " └─ columns: [pk v1 v2]\n" + 2448 "", 2449 }, 2450 { 2451 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>66) OR (v1<50));`, 2452 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2453 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2454 " ├─ static: [{(NULL, 66), [NULL, ∞)}, {(66, ∞), [NULL, ∞)}]\n" + 2455 " ├─ colSet: (1-3)\n" + 2456 " ├─ tableId: 1\n" + 2457 " └─ Table\n" + 2458 " ├─ name: comp_index_t0\n" + 2459 " └─ columns: [pk v1 v2]\n" + 2460 "", 2461 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2462 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2463 " ├─ filters: [{(NULL, 66), [NULL, ∞)}, {(66, ∞), [NULL, ∞)}]\n" + 2464 " └─ columns: [pk v1 v2]\n" + 2465 "", 2466 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2467 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2468 " ├─ filters: [{(NULL, 66), [NULL, ∞)}, {(66, ∞), [NULL, ∞)}]\n" + 2469 " └─ columns: [pk v1 v2]\n" + 2470 "", 2471 }, 2472 { 2473 Query: `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 5 AND 19) OR (v1<>50 AND v2>=51)) OR (v1>55));`, 2474 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2475 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2476 " ├─ static: [{(NULL, 5), [51, ∞)}, {[5, 19], [NULL, ∞)}, {(19, 50), [51, ∞)}, {(50, 55], [51, ∞)}, {(55, ∞), [NULL, ∞)}]\n" + 2477 " ├─ colSet: (1-3)\n" + 2478 " ├─ tableId: 1\n" + 2479 " └─ Table\n" + 2480 " ├─ name: comp_index_t0\n" + 2481 " └─ columns: [pk v1 v2]\n" + 2482 "", 2483 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2484 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2485 " ├─ filters: [{(NULL, 5), [51, ∞)}, {[5, 19], [NULL, ∞)}, {(19, 50), [51, ∞)}, {(50, 55], [51, ∞)}, {(55, ∞), [NULL, ∞)}]\n" + 2486 " └─ columns: [pk v1 v2]\n" + 2487 "", 2488 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2489 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2490 " ├─ filters: [{(NULL, 5), [51, ∞)}, {[5, 19], [NULL, ∞)}, {(19, 50), [51, ∞)}, {(50, 55], [51, ∞)}, {(55, ∞), [NULL, ∞)}]\n" + 2491 " └─ columns: [pk v1 v2]\n" + 2492 "", 2493 }, 2494 { 2495 Query: `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 16 AND 65) OR (v1<>18 AND v2>=81)) OR (v1 BETWEEN 6 AND 48));`, 2496 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2497 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2498 " ├─ static: [{(NULL, 6), [81, ∞)}, {[6, 65], [NULL, ∞)}, {(65, ∞), [81, ∞)}]\n" + 2499 " ├─ colSet: (1-3)\n" + 2500 " ├─ tableId: 1\n" + 2501 " └─ Table\n" + 2502 " ├─ name: comp_index_t0\n" + 2503 " └─ columns: [pk v1 v2]\n" + 2504 "", 2505 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2506 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2507 " ├─ filters: [{(NULL, 6), [81, ∞)}, {[6, 65], [NULL, ∞)}, {(65, ∞), [81, ∞)}]\n" + 2508 " └─ columns: [pk v1 v2]\n" + 2509 "", 2510 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2511 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2512 " ├─ filters: [{(NULL, 6), [81, ∞)}, {[6, 65], [NULL, ∞)}, {(65, ∞), [81, ∞)}]\n" + 2513 " └─ columns: [pk v1 v2]\n" + 2514 "", 2515 }, 2516 { 2517 Query: `SELECT * FROM comp_index_t0 WHERE (((v1>=31 AND v2>=55) OR (v1 BETWEEN 1 AND 28)) OR (v1 BETWEEN 26 AND 41 AND v2<=15));`, 2518 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2519 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2520 " ├─ static: [{[1, 28], [NULL, ∞)}, {(28, 41], (NULL, 15]}, {[31, ∞), [55, ∞)}]\n" + 2521 " ├─ colSet: (1-3)\n" + 2522 " ├─ tableId: 1\n" + 2523 " └─ Table\n" + 2524 " ├─ name: comp_index_t0\n" + 2525 " └─ columns: [pk v1 v2]\n" + 2526 "", 2527 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2528 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2529 " ├─ filters: [{[1, 28], [NULL, ∞)}, {(28, 41], (NULL, 15]}, {[31, ∞), [55, ∞)}]\n" + 2530 " └─ columns: [pk v1 v2]\n" + 2531 "", 2532 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2533 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2534 " ├─ filters: [{[1, 28], [NULL, ∞)}, {(28, 41], (NULL, 15]}, {[31, ∞), [55, ∞)}]\n" + 2535 " └─ columns: [pk v1 v2]\n" + 2536 "", 2537 }, 2538 { 2539 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<=77 AND v2 BETWEEN 4 AND 26) OR (v1<=1 AND v2<>20)) OR (v1>8 AND v2>40));`, 2540 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2541 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2542 " ├─ static: [{(NULL, 1], (NULL, ∞)}, {(1, 77], [4, 26]}, {(8, ∞), (40, ∞)}]\n" + 2543 " ├─ colSet: (1-3)\n" + 2544 " ├─ tableId: 1\n" + 2545 " └─ Table\n" + 2546 " ├─ name: comp_index_t0\n" + 2547 " └─ columns: [pk v1 v2]\n" + 2548 "", 2549 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2550 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2551 " ├─ filters: [{(NULL, 1], (NULL, ∞)}, {(1, 77], [4, 26]}, {(8, ∞), (40, ∞)}]\n" + 2552 " └─ columns: [pk v1 v2]\n" + 2553 "", 2554 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2555 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2556 " ├─ filters: [{(NULL, 1], (NULL, ∞)}, {(1, 77], [4, 26]}, {(8, ∞), (40, ∞)}]\n" + 2557 " └─ columns: [pk v1 v2]\n" + 2558 "", 2559 }, 2560 { 2561 Query: `SELECT * FROM comp_index_t0 WHERE (((((v1=37 AND v2>32) OR (v1>13 AND v2>51)) AND (v1 BETWEEN 8 AND 19) OR (v1<>4)) OR (v1<=58 AND v2<>70)) OR (v1<87 AND v2>=24));`, 2562 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2563 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2564 " ├─ static: [{(NULL, 4), [NULL, ∞)}, {[4, 4], (NULL, ∞)}, {(4, ∞), [NULL, ∞)}]\n" + 2565 " ├─ colSet: (1-3)\n" + 2566 " ├─ tableId: 1\n" + 2567 " └─ Table\n" + 2568 " ├─ name: comp_index_t0\n" + 2569 " └─ columns: [pk v1 v2]\n" + 2570 "", 2571 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2572 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2573 " ├─ filters: [{(NULL, 4), [NULL, ∞)}, {[4, 4], (NULL, ∞)}, {(4, ∞), [NULL, ∞)}]\n" + 2574 " └─ columns: [pk v1 v2]\n" + 2575 "", 2576 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2577 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2578 " ├─ filters: [{(NULL, 4), [NULL, ∞)}, {[4, 4], (NULL, ∞)}, {(4, ∞), [NULL, ∞)}]\n" + 2579 " └─ columns: [pk v1 v2]\n" + 2580 "", 2581 }, 2582 { 2583 Query: `SELECT * FROM comp_index_t0 WHERE (((v1<>50) OR (v1<=88)) OR (v1>=28 AND v2 BETWEEN 30 AND 85));`, 2584 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2585 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2586 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 2587 " ├─ colSet: (1-3)\n" + 2588 " ├─ tableId: 1\n" + 2589 " └─ Table\n" + 2590 " ├─ name: comp_index_t0\n" + 2591 " └─ columns: [pk v1 v2]\n" + 2592 "", 2593 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2594 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2595 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2596 " └─ columns: [pk v1 v2]\n" + 2597 "", 2598 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2599 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2600 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2601 " └─ columns: [pk v1 v2]\n" + 2602 "", 2603 }, 2604 { 2605 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<=94) OR (v1<=87));`, 2606 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2607 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2608 " ├─ static: [{(NULL, 94], [NULL, ∞)}]\n" + 2609 " ├─ colSet: (1-3)\n" + 2610 " ├─ tableId: 1\n" + 2611 " └─ Table\n" + 2612 " ├─ name: comp_index_t0\n" + 2613 " └─ columns: [pk v1 v2]\n" + 2614 "", 2615 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2616 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2617 " ├─ filters: [{(NULL, 94], [NULL, ∞)}]\n" + 2618 " └─ columns: [pk v1 v2]\n" + 2619 "", 2620 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2621 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2622 " ├─ filters: [{(NULL, 94], [NULL, ∞)}]\n" + 2623 " └─ columns: [pk v1 v2]\n" + 2624 "", 2625 }, 2626 { 2627 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<>56 AND v2<93) OR (v1<73 AND v2<=70));`, 2628 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2629 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2630 " ├─ static: [{(NULL, 56), (NULL, 93)}, {[56, 56], (NULL, 70]}, {(56, ∞), (NULL, 93)}]\n" + 2631 " ├─ colSet: (1-3)\n" + 2632 " ├─ tableId: 1\n" + 2633 " └─ Table\n" + 2634 " ├─ name: comp_index_t0\n" + 2635 " └─ columns: [pk v1 v2]\n" + 2636 "", 2637 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2638 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2639 " ├─ filters: [{(NULL, 56), (NULL, 93)}, {[56, 56], (NULL, 70]}, {(56, ∞), (NULL, 93)}]\n" + 2640 " └─ columns: [pk v1 v2]\n" + 2641 "", 2642 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2643 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2644 " ├─ filters: [{(NULL, 56), (NULL, 93)}, {[56, 56], (NULL, 70]}, {(56, ∞), (NULL, 93)}]\n" + 2645 " └─ columns: [pk v1 v2]\n" + 2646 "", 2647 }, 2648 { 2649 Query: `SELECT * FROM comp_index_t0 WHERE ((((v1>=85) OR (v1=91)) OR (v1<88 AND v2<42)) OR (v1<>42 AND v2<=10));`, 2650 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2651 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2652 " ├─ static: [{(NULL, 85), (NULL, 42)}, {[85, ∞), [NULL, ∞)}]\n" + 2653 " ├─ colSet: (1-3)\n" + 2654 " ├─ tableId: 1\n" + 2655 " └─ Table\n" + 2656 " ├─ name: comp_index_t0\n" + 2657 " └─ columns: [pk v1 v2]\n" + 2658 "", 2659 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2660 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2661 " ├─ filters: [{(NULL, 85), (NULL, 42)}, {[85, ∞), [NULL, ∞)}]\n" + 2662 " └─ columns: [pk v1 v2]\n" + 2663 "", 2664 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2665 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2666 " ├─ filters: [{(NULL, 85), (NULL, 42)}, {[85, ∞), [NULL, ∞)}]\n" + 2667 " └─ columns: [pk v1 v2]\n" + 2668 "", 2669 }, 2670 { 2671 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>42 AND v2<=13) OR (v1=7));`, 2672 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2673 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2674 " ├─ static: [{[7, 7], [NULL, ∞)}, {(42, ∞), (NULL, 13]}]\n" + 2675 " ├─ colSet: (1-3)\n" + 2676 " ├─ tableId: 1\n" + 2677 " └─ Table\n" + 2678 " ├─ name: comp_index_t0\n" + 2679 " └─ columns: [pk v1 v2]\n" + 2680 "", 2681 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2682 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2683 " ├─ filters: [{[7, 7], [NULL, ∞)}, {(42, ∞), (NULL, 13]}]\n" + 2684 " └─ columns: [pk v1 v2]\n" + 2685 "", 2686 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2687 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2688 " ├─ filters: [{[7, 7], [NULL, ∞)}, {(42, ∞), (NULL, 13]}]\n" + 2689 " └─ columns: [pk v1 v2]\n" + 2690 "", 2691 }, 2692 { 2693 Query: `SELECT * FROM comp_index_t0 WHERE (((v1=63) OR (v1 BETWEEN 55 AND 82 AND v2 BETWEEN 0 AND 6)) OR (v1=46));`, 2694 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2695 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2696 " ├─ static: [{[46, 46], [NULL, ∞)}, {[55, 63), [0, 6]}, {[63, 63], [NULL, ∞)}, {(63, 82], [0, 6]}]\n" + 2697 " ├─ colSet: (1-3)\n" + 2698 " ├─ tableId: 1\n" + 2699 " └─ Table\n" + 2700 " ├─ name: comp_index_t0\n" + 2701 " └─ columns: [pk v1 v2]\n" + 2702 "", 2703 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2704 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2705 " ├─ filters: [{[46, 46], [NULL, ∞)}, {[55, 63), [0, 6]}, {[63, 63], [NULL, ∞)}, {(63, 82], [0, 6]}]\n" + 2706 " └─ columns: [pk v1 v2]\n" + 2707 "", 2708 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2709 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2710 " ├─ filters: [{[46, 46], [NULL, ∞)}, {[55, 63), [0, 6]}, {[63, 63], [NULL, ∞)}, {(63, 82], [0, 6]}]\n" + 2711 " └─ columns: [pk v1 v2]\n" + 2712 "", 2713 }, 2714 { 2715 Query: `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 20 AND 77 AND v2>=49) OR (v1<13));`, 2716 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2717 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2718 " ├─ static: [{(NULL, 13), [NULL, ∞)}, {[20, 77], [49, ∞)}]\n" + 2719 " ├─ colSet: (1-3)\n" + 2720 " ├─ tableId: 1\n" + 2721 " └─ Table\n" + 2722 " ├─ name: comp_index_t0\n" + 2723 " └─ columns: [pk v1 v2]\n" + 2724 "", 2725 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2726 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2727 " ├─ filters: [{(NULL, 13), [NULL, ∞)}, {[20, 77], [49, ∞)}]\n" + 2728 " └─ columns: [pk v1 v2]\n" + 2729 "", 2730 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2731 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2732 " ├─ filters: [{(NULL, 13), [NULL, ∞)}, {[20, 77], [49, ∞)}]\n" + 2733 " └─ columns: [pk v1 v2]\n" + 2734 "", 2735 }, 2736 { 2737 Query: `SELECT * FROM comp_index_t0 WHERE (((v1>=72) OR (v1<49 AND v2<>36)) OR (v1>=10 AND v2<1));`, 2738 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2739 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2740 " ├─ static: [{(NULL, 49), (NULL, 36)}, {(NULL, 49), (36, ∞)}, {[49, 72), (NULL, 1)}, {[72, ∞), [NULL, ∞)}]\n" + 2741 " ├─ colSet: (1-3)\n" + 2742 " ├─ tableId: 1\n" + 2743 " └─ Table\n" + 2744 " ├─ name: comp_index_t0\n" + 2745 " └─ columns: [pk v1 v2]\n" + 2746 "", 2747 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2748 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2749 " ├─ filters: [{(NULL, 49), (NULL, 36)}, {(NULL, 49), (36, ∞)}, {[49, 72), (NULL, 1)}, {[72, ∞), [NULL, ∞)}]\n" + 2750 " └─ columns: [pk v1 v2]\n" + 2751 "", 2752 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2753 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2754 " ├─ filters: [{(NULL, 49), (NULL, 36)}, {(NULL, 49), (36, ∞)}, {[49, 72), (NULL, 1)}, {[72, ∞), [NULL, ∞)}]\n" + 2755 " └─ columns: [pk v1 v2]\n" + 2756 "", 2757 }, 2758 { 2759 Query: `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 18 AND 87) OR (v1>=42 AND v2>44)) OR (v1<26 AND v2<=55)) AND (v1<=21);`, 2760 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2761 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2762 " ├─ static: [{(NULL, 18), (NULL, 55]}, {[18, 21], [NULL, ∞)}]\n" + 2763 " ├─ colSet: (1-3)\n" + 2764 " ├─ tableId: 1\n" + 2765 " └─ Table\n" + 2766 " ├─ name: comp_index_t0\n" + 2767 " └─ columns: [pk v1 v2]\n" + 2768 "", 2769 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2770 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2771 " ├─ filters: [{(NULL, 18), (NULL, 55]}, {[18, 21], [NULL, ∞)}]\n" + 2772 " └─ columns: [pk v1 v2]\n" + 2773 "", 2774 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2775 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2776 " ├─ filters: [{(NULL, 18), (NULL, 55]}, {[18, 21], [NULL, ∞)}]\n" + 2777 " └─ columns: [pk v1 v2]\n" + 2778 "", 2779 }, 2780 { 2781 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>98 AND v2<75) OR (v1=47));`, 2782 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2783 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2784 " ├─ static: [{[47, 47], [NULL, ∞)}, {(98, ∞), (NULL, 75)}]\n" + 2785 " ├─ colSet: (1-3)\n" + 2786 " ├─ tableId: 1\n" + 2787 " └─ Table\n" + 2788 " ├─ name: comp_index_t0\n" + 2789 " └─ columns: [pk v1 v2]\n" + 2790 "", 2791 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2792 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2793 " ├─ filters: [{[47, 47], [NULL, ∞)}, {(98, ∞), (NULL, 75)}]\n" + 2794 " └─ columns: [pk v1 v2]\n" + 2795 "", 2796 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2797 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2798 " ├─ filters: [{[47, 47], [NULL, ∞)}, {(98, ∞), (NULL, 75)}]\n" + 2799 " └─ columns: [pk v1 v2]\n" + 2800 "", 2801 }, 2802 { 2803 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<=57 AND v2>=43) OR (v1<27 AND v2<>3));`, 2804 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2805 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2806 " ├─ static: [{(NULL, 27), (NULL, 3)}, {(NULL, 27), (3, ∞)}, {[27, 57], [43, ∞)}]\n" + 2807 " ├─ colSet: (1-3)\n" + 2808 " ├─ tableId: 1\n" + 2809 " └─ Table\n" + 2810 " ├─ name: comp_index_t0\n" + 2811 " └─ columns: [pk v1 v2]\n" + 2812 "", 2813 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2814 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2815 " ├─ filters: [{(NULL, 27), (NULL, 3)}, {(NULL, 27), (3, ∞)}, {[27, 57], [43, ∞)}]\n" + 2816 " └─ columns: [pk v1 v2]\n" + 2817 "", 2818 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2819 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2820 " ├─ filters: [{(NULL, 27), (NULL, 3)}, {(NULL, 27), (3, ∞)}, {[27, 57], [43, ∞)}]\n" + 2821 " └─ columns: [pk v1 v2]\n" + 2822 "", 2823 }, 2824 { 2825 Query: `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 16 AND 45 AND v2=22) OR (v1>=87 AND v2=48));`, 2826 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2827 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2828 " ├─ static: [{[16, 45], [22, 22]}, {[87, ∞), [48, 48]}]\n" + 2829 " ├─ colSet: (1-3)\n" + 2830 " ├─ tableId: 1\n" + 2831 " └─ Table\n" + 2832 " ├─ name: comp_index_t0\n" + 2833 " └─ columns: [pk v1 v2]\n" + 2834 "", 2835 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2836 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2837 " ├─ filters: [{[16, 45], [22, 22]}, {[87, ∞), [48, 48]}]\n" + 2838 " └─ columns: [pk v1 v2]\n" + 2839 "", 2840 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2841 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2842 " ├─ filters: [{[16, 45], [22, 22]}, {[87, ∞), [48, 48]}]\n" + 2843 " └─ columns: [pk v1 v2]\n" + 2844 "", 2845 }, 2846 { 2847 Query: `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 45 AND 74 AND v2<=74) OR (v1<>48 AND v2>58));`, 2848 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2849 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2850 " ├─ static: [{(NULL, 45), (58, ∞)}, {[45, 48), (NULL, ∞)}, {[48, 48], (NULL, 74]}, {(48, 74], (NULL, ∞)}, {(74, ∞), (58, ∞)}]\n" + 2851 " ├─ colSet: (1-3)\n" + 2852 " ├─ tableId: 1\n" + 2853 " └─ Table\n" + 2854 " ├─ name: comp_index_t0\n" + 2855 " └─ columns: [pk v1 v2]\n" + 2856 "", 2857 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2858 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2859 " ├─ filters: [{(NULL, 45), (58, ∞)}, {[45, 48), (NULL, ∞)}, {[48, 48], (NULL, 74]}, {(48, 74], (NULL, ∞)}, {(74, ∞), (58, ∞)}]\n" + 2860 " └─ columns: [pk v1 v2]\n" + 2861 "", 2862 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2863 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2864 " ├─ filters: [{(NULL, 45), (58, ∞)}, {[45, 48), (NULL, ∞)}, {[48, 48], (NULL, 74]}, {(48, 74], (NULL, ∞)}, {(74, ∞), (58, ∞)}]\n" + 2865 " └─ columns: [pk v1 v2]\n" + 2866 "", 2867 }, 2868 { 2869 Query: `SELECT * FROM comp_index_t0 WHERE ((((v1<32 AND v2>=79) OR (v1<=28)) OR (v1 BETWEEN 46 AND 72)) OR (v1>16));`, 2870 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2871 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2872 " ├─ static: [{(NULL, ∞), [NULL, ∞)}]\n" + 2873 " ├─ colSet: (1-3)\n" + 2874 " ├─ tableId: 1\n" + 2875 " └─ Table\n" + 2876 " ├─ name: comp_index_t0\n" + 2877 " └─ columns: [pk v1 v2]\n" + 2878 "", 2879 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2880 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2881 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2882 " └─ columns: [pk v1 v2]\n" + 2883 "", 2884 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2885 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2886 " ├─ filters: [{(NULL, ∞), [NULL, ∞)}]\n" + 2887 " └─ columns: [pk v1 v2]\n" + 2888 "", 2889 }, 2890 { 2891 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<10) OR (v1<89));`, 2892 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2893 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2894 " ├─ static: [{(NULL, 89), [NULL, ∞)}]\n" + 2895 " ├─ colSet: (1-3)\n" + 2896 " ├─ tableId: 1\n" + 2897 " └─ Table\n" + 2898 " ├─ name: comp_index_t0\n" + 2899 " └─ columns: [pk v1 v2]\n" + 2900 "", 2901 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2902 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2903 " ├─ filters: [{(NULL, 89), [NULL, ∞)}]\n" + 2904 " └─ columns: [pk v1 v2]\n" + 2905 "", 2906 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2907 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2908 " ├─ filters: [{(NULL, 89), [NULL, ∞)}]\n" + 2909 " └─ columns: [pk v1 v2]\n" + 2910 "", 2911 }, 2912 { 2913 Query: `SELECT * FROM comp_index_t0 WHERE ((v1>=64 AND v2>=69) OR (v1>=2));`, 2914 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2915 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2916 " ├─ static: [{[2, ∞), [NULL, ∞)}]\n" + 2917 " ├─ colSet: (1-3)\n" + 2918 " ├─ tableId: 1\n" + 2919 " └─ Table\n" + 2920 " ├─ name: comp_index_t0\n" + 2921 " └─ columns: [pk v1 v2]\n" + 2922 "", 2923 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2924 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2925 " ├─ filters: [{[2, ∞), [NULL, ∞)}]\n" + 2926 " └─ columns: [pk v1 v2]\n" + 2927 "", 2928 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2929 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2930 " ├─ filters: [{[2, ∞), [NULL, ∞)}]\n" + 2931 " └─ columns: [pk v1 v2]\n" + 2932 "", 2933 }, 2934 { 2935 Query: `SELECT * FROM comp_index_t0 WHERE ((v1<=65) OR (v1<64));`, 2936 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2937 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2938 " ├─ static: [{(NULL, 65], [NULL, ∞)}]\n" + 2939 " ├─ colSet: (1-3)\n" + 2940 " ├─ tableId: 1\n" + 2941 " └─ Table\n" + 2942 " ├─ name: comp_index_t0\n" + 2943 " └─ columns: [pk v1 v2]\n" + 2944 "", 2945 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2946 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2947 " ├─ filters: [{(NULL, 65], [NULL, ∞)}]\n" + 2948 " └─ columns: [pk v1 v2]\n" + 2949 "", 2950 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2951 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2952 " ├─ filters: [{(NULL, 65], [NULL, ∞)}]\n" + 2953 " └─ columns: [pk v1 v2]\n" + 2954 "", 2955 }, 2956 { 2957 Query: `SELECT * FROM comp_index_t0 WHERE ((v1=46) OR (v1>9 AND v2>=22));`, 2958 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2959 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2960 " ├─ static: [{(9, 46), [22, ∞)}, {[46, 46], [NULL, ∞)}, {(46, ∞), [22, ∞)}]\n" + 2961 " ├─ colSet: (1-3)\n" + 2962 " ├─ tableId: 1\n" + 2963 " └─ Table\n" + 2964 " ├─ name: comp_index_t0\n" + 2965 " └─ columns: [pk v1 v2]\n" + 2966 "", 2967 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2968 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2969 " ├─ filters: [{(9, 46), [22, ∞)}, {[46, 46], [NULL, ∞)}, {(46, ∞), [22, ∞)}]\n" + 2970 " └─ columns: [pk v1 v2]\n" + 2971 "", 2972 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2973 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2974 " ├─ filters: [{(9, 46), [22, ∞)}, {[46, 46], [NULL, ∞)}, {(46, ∞), [22, ∞)}]\n" + 2975 " └─ columns: [pk v1 v2]\n" + 2976 "", 2977 }, 2978 { 2979 Query: `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 21 AND 33 AND v2>25) OR (v1<0));`, 2980 ExpectedPlan: "IndexedTableAccess(comp_index_t0)\n" + 2981 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2982 " ├─ static: [{(NULL, 0), [NULL, ∞)}, {[21, 33], (25, ∞)}]\n" + 2983 " ├─ colSet: (1-3)\n" + 2984 " ├─ tableId: 1\n" + 2985 " └─ Table\n" + 2986 " ├─ name: comp_index_t0\n" + 2987 " └─ columns: [pk v1 v2]\n" + 2988 "", 2989 ExpectedEstimates: "IndexedTableAccess(comp_index_t0)\n" + 2990 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2991 " ├─ filters: [{(NULL, 0), [NULL, ∞)}, {[21, 33], (25, ∞)}]\n" + 2992 " └─ columns: [pk v1 v2]\n" + 2993 "", 2994 ExpectedAnalysis: "IndexedTableAccess(comp_index_t0)\n" + 2995 " ├─ index: [comp_index_t0.v1,comp_index_t0.v2]\n" + 2996 " ├─ filters: [{(NULL, 0), [NULL, ∞)}, {[21, 33], (25, ∞)}]\n" + 2997 " └─ columns: [pk v1 v2]\n" + 2998 "", 2999 }, 3000 { 3001 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>87 AND v2 BETWEEN 8 AND 33) OR (v1 BETWEEN 39 AND 69 AND v3<4));`, 3002 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3003 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3004 " ├─ static: [{(NULL, 87), [8, 33], [NULL, ∞)}, {[39, 69], [NULL, 8), (NULL, 4)}, {[39, 69], (33, ∞), (NULL, 4)}, {(87, ∞), [8, 33], [NULL, ∞)}]\n" + 3005 " ├─ colSet: (1-4)\n" + 3006 " ├─ tableId: 1\n" + 3007 " └─ Table\n" + 3008 " ├─ name: comp_index_t1\n" + 3009 " └─ columns: [pk v1 v2 v3]\n" + 3010 "", 3011 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3012 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3013 " ├─ filters: [{(NULL, 87), [8, 33], [NULL, ∞)}, {[39, 69], [NULL, 8), (NULL, 4)}, {[39, 69], (33, ∞), (NULL, 4)}, {(87, ∞), [8, 33], [NULL, ∞)}]\n" + 3014 " └─ columns: [pk v1 v2 v3]\n" + 3015 "", 3016 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3017 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3018 " ├─ filters: [{(NULL, 87), [8, 33], [NULL, ∞)}, {[39, 69], [NULL, 8), (NULL, 4)}, {[39, 69], (33, ∞), (NULL, 4)}, {(87, ∞), [8, 33], [NULL, ∞)}]\n" + 3019 " └─ columns: [pk v1 v2 v3]\n" + 3020 "", 3021 }, 3022 { 3023 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=55 AND v2>=72 AND v3=63) AND (v1<>54 AND v2 BETWEEN 3 AND 80) OR (v1=15)) AND (v1<>50);`, 3024 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3025 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3026 " ├─ static: [{[15, 15], [NULL, ∞), [NULL, ∞)}, {[55, ∞), [72, 80], [63, 63]}]\n" + 3027 " ├─ colSet: (1-4)\n" + 3028 " ├─ tableId: 1\n" + 3029 " └─ Table\n" + 3030 " ├─ name: comp_index_t1\n" + 3031 " └─ columns: [pk v1 v2 v3]\n" + 3032 "", 3033 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3034 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3035 " ├─ filters: [{[15, 15], [NULL, ∞), [NULL, ∞)}, {[55, ∞), [72, 80], [63, 63]}]\n" + 3036 " └─ columns: [pk v1 v2 v3]\n" + 3037 "", 3038 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3039 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3040 " ├─ filters: [{[15, 15], [NULL, ∞), [NULL, ∞)}, {[55, ∞), [72, 80], [63, 63]}]\n" + 3041 " └─ columns: [pk v1 v2 v3]\n" + 3042 "", 3043 }, 3044 { 3045 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<93 AND v2<39 AND v3 BETWEEN 30 AND 97) OR (v1>54)) OR (v1<66));`, 3046 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3047 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3048 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3049 " ├─ colSet: (1-4)\n" + 3050 " ├─ tableId: 1\n" + 3051 " └─ Table\n" + 3052 " ├─ name: comp_index_t1\n" + 3053 " └─ columns: [pk v1 v2 v3]\n" + 3054 "", 3055 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3056 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3057 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3058 " └─ columns: [pk v1 v2 v3]\n" + 3059 "", 3060 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3061 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3062 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3063 " └─ columns: [pk v1 v2 v3]\n" + 3064 "", 3065 }, 3066 { 3067 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>59 AND v2<=15) OR (v1 BETWEEN 2 AND 51)) OR (v1>15 AND v2 BETWEEN 31 AND 81));`, 3068 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3069 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3070 " ├─ static: [{(NULL, 2), (NULL, 15], [NULL, ∞)}, {[2, 51], [NULL, ∞), [NULL, ∞)}, {(51, 59), (NULL, 15], [NULL, ∞)}, {(51, ∞), [31, 81], [NULL, ∞)}, {(59, ∞), (NULL, 15], [NULL, ∞)}]\n" + 3071 " ├─ colSet: (1-4)\n" + 3072 " ├─ tableId: 1\n" + 3073 " └─ Table\n" + 3074 " ├─ name: comp_index_t1\n" + 3075 " └─ columns: [pk v1 v2 v3]\n" + 3076 "", 3077 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3078 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3079 " ├─ filters: [{(NULL, 2), (NULL, 15], [NULL, ∞)}, {[2, 51], [NULL, ∞), [NULL, ∞)}, {(51, 59), (NULL, 15], [NULL, ∞)}, {(51, ∞), [31, 81], [NULL, ∞)}, {(59, ∞), (NULL, 15], [NULL, ∞)}]\n" + 3080 " └─ columns: [pk v1 v2 v3]\n" + 3081 "", 3082 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3083 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3084 " ├─ filters: [{(NULL, 2), (NULL, 15], [NULL, ∞)}, {[2, 51], [NULL, ∞), [NULL, ∞)}, {(51, 59), (NULL, 15], [NULL, ∞)}, {(51, ∞), [31, 81], [NULL, ∞)}, {(59, ∞), (NULL, 15], [NULL, ∞)}]\n" + 3085 " └─ columns: [pk v1 v2 v3]\n" + 3086 "", 3087 }, 3088 { 3089 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<3 AND v2<>23 AND v3<>11) OR (v1<>49)) AND (v1<=41 AND v2>40);`, 3090 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3091 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3092 " ├─ static: [{(NULL, 41], (40, ∞), [NULL, ∞)}]\n" + 3093 " ├─ colSet: (1-4)\n" + 3094 " ├─ tableId: 1\n" + 3095 " └─ Table\n" + 3096 " ├─ name: comp_index_t1\n" + 3097 " └─ columns: [pk v1 v2 v3]\n" + 3098 "", 3099 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3100 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3101 " ├─ filters: [{(NULL, 41], (40, ∞), [NULL, ∞)}]\n" + 3102 " └─ columns: [pk v1 v2 v3]\n" + 3103 "", 3104 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3105 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3106 " ├─ filters: [{(NULL, 41], (40, ∞), [NULL, ∞)}]\n" + 3107 " └─ columns: [pk v1 v2 v3]\n" + 3108 "", 3109 }, 3110 { 3111 Query: `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 28 AND 38 AND v3<33) OR (v1 BETWEEN 75 AND 85)) AND (v1>=60) OR (v1>=53 AND v2 BETWEEN 36 AND 53 AND v3>48));`, 3112 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3113 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3114 " ├─ static: [{[53, 75), [36, 53], (48, ∞)}, {[75, 85], [NULL, ∞), [NULL, ∞)}, {(85, ∞), [36, 53], (48, ∞)}]\n" + 3115 " ├─ colSet: (1-4)\n" + 3116 " ├─ tableId: 1\n" + 3117 " └─ Table\n" + 3118 " ├─ name: comp_index_t1\n" + 3119 " └─ columns: [pk v1 v2 v3]\n" + 3120 "", 3121 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3122 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3123 " ├─ filters: [{[53, 75), [36, 53], (48, ∞)}, {[75, 85], [NULL, ∞), [NULL, ∞)}, {(85, ∞), [36, 53], (48, ∞)}]\n" + 3124 " └─ columns: [pk v1 v2 v3]\n" + 3125 "", 3126 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3127 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3128 " ├─ filters: [{[53, 75), [36, 53], (48, ∞)}, {[75, 85], [NULL, ∞), [NULL, ∞)}, {(85, ∞), [36, 53], (48, ∞)}]\n" + 3129 " └─ columns: [pk v1 v2 v3]\n" + 3130 "", 3131 }, 3132 { 3133 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<6 AND v2<>44) OR (v1 BETWEEN 27 AND 96)) OR (v1>22 AND v2<>30 AND v3<49));`, 3134 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3135 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3136 " ├─ static: [{(NULL, 6), (NULL, 44), [NULL, ∞)}, {(NULL, 6), (44, ∞), [NULL, ∞)}, {(22, 27), (NULL, 30), (NULL, 49)}, {(22, 27), (30, ∞), (NULL, 49)}, {[27, 96], [NULL, ∞), [NULL, ∞)}, {(96, ∞), (NULL, 30), (NULL, 49)}, {(96, ∞), (30, ∞), (NULL, 49)}]\n" + 3137 " ├─ colSet: (1-4)\n" + 3138 " ├─ tableId: 1\n" + 3139 " └─ Table\n" + 3140 " ├─ name: comp_index_t1\n" + 3141 " └─ columns: [pk v1 v2 v3]\n" + 3142 "", 3143 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3144 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3145 " ├─ filters: [{(NULL, 6), (NULL, 44), [NULL, ∞)}, {(NULL, 6), (44, ∞), [NULL, ∞)}, {(22, 27), (NULL, 30), (NULL, 49)}, {(22, 27), (30, ∞), (NULL, 49)}, {[27, 96], [NULL, ∞), [NULL, ∞)}, {(96, ∞), (NULL, 30), (NULL, 49)}, {(96, ∞), (30, ∞), (NULL, 49)}]\n" + 3146 " └─ columns: [pk v1 v2 v3]\n" + 3147 "", 3148 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3149 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3150 " ├─ filters: [{(NULL, 6), (NULL, 44), [NULL, ∞)}, {(NULL, 6), (44, ∞), [NULL, ∞)}, {(22, 27), (NULL, 30), (NULL, 49)}, {(22, 27), (30, ∞), (NULL, 49)}, {[27, 96], [NULL, ∞), [NULL, ∞)}, {(96, ∞), (NULL, 30), (NULL, 49)}, {(96, ∞), (30, ∞), (NULL, 49)}]\n" + 3151 " └─ columns: [pk v1 v2 v3]\n" + 3152 "", 3153 }, 3154 { 3155 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>29 AND v2=40) OR (v1<=74)) OR (v1<13 AND v2 BETWEEN 27 AND 82 AND v3<82));`, 3156 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3157 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3158 " ├─ static: [{(NULL, 74], [NULL, ∞), [NULL, ∞)}, {(74, ∞), [40, 40], [NULL, ∞)}]\n" + 3159 " ├─ colSet: (1-4)\n" + 3160 " ├─ tableId: 1\n" + 3161 " └─ Table\n" + 3162 " ├─ name: comp_index_t1\n" + 3163 " └─ columns: [pk v1 v2 v3]\n" + 3164 "", 3165 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3166 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3167 " ├─ filters: [{(NULL, 74], [NULL, ∞), [NULL, ∞)}, {(74, ∞), [40, 40], [NULL, ∞)}]\n" + 3168 " └─ columns: [pk v1 v2 v3]\n" + 3169 "", 3170 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3171 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3172 " ├─ filters: [{(NULL, 74], [NULL, ∞), [NULL, ∞)}, {(74, ∞), [40, 40], [NULL, ∞)}]\n" + 3173 " └─ columns: [pk v1 v2 v3]\n" + 3174 "", 3175 }, 3176 { 3177 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>6 AND v2 BETWEEN 0 AND 97) OR (v1<>40 AND v3<10 AND v2<>10));`, 3178 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3179 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3180 " ├─ static: [{(NULL, 6), (NULL, 0), (NULL, 10)}, {(NULL, 6), [0, 97], [NULL, ∞)}, {(NULL, 6), (97, ∞), (NULL, 10)}, {[6, 6], (NULL, 10), (NULL, 10)}, {[6, 6], (10, ∞), (NULL, 10)}, {(6, 40), (NULL, 0), (NULL, 10)}, {(6, 40), (97, ∞), (NULL, 10)}, {(6, ∞), [0, 97], [NULL, ∞)}, {(40, ∞), (NULL, 0), (NULL, 10)}, {(40, ∞), (97, ∞), (NULL, 10)}]\n" + 3181 " ├─ colSet: (1-4)\n" + 3182 " ├─ tableId: 1\n" + 3183 " └─ Table\n" + 3184 " ├─ name: comp_index_t1\n" + 3185 " └─ columns: [pk v1 v2 v3]\n" + 3186 "", 3187 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3188 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3189 " ├─ filters: [{(NULL, 6), (NULL, 0), (NULL, 10)}, {(NULL, 6), [0, 97], [NULL, ∞)}, {(NULL, 6), (97, ∞), (NULL, 10)}, {[6, 6], (NULL, 10), (NULL, 10)}, {[6, 6], (10, ∞), (NULL, 10)}, {(6, 40), (NULL, 0), (NULL, 10)}, {(6, 40), (97, ∞), (NULL, 10)}, {(6, ∞), [0, 97], [NULL, ∞)}, {(40, ∞), (NULL, 0), (NULL, 10)}, {(40, ∞), (97, ∞), (NULL, 10)}]\n" + 3190 " └─ columns: [pk v1 v2 v3]\n" + 3191 "", 3192 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3193 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3194 " ├─ filters: [{(NULL, 6), (NULL, 0), (NULL, 10)}, {(NULL, 6), [0, 97], [NULL, ∞)}, {(NULL, 6), (97, ∞), (NULL, 10)}, {[6, 6], (NULL, 10), (NULL, 10)}, {[6, 6], (10, ∞), (NULL, 10)}, {(6, 40), (NULL, 0), (NULL, 10)}, {(6, 40), (97, ∞), (NULL, 10)}, {(6, ∞), [0, 97], [NULL, ∞)}, {(40, ∞), (NULL, 0), (NULL, 10)}, {(40, ∞), (97, ∞), (NULL, 10)}]\n" + 3195 " └─ columns: [pk v1 v2 v3]\n" + 3196 "", 3197 }, 3198 { 3199 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1>=35) OR (v1=86)) OR (v1>41 AND v2>=92)) OR (v1<>28));`, 3200 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3201 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3202 " ├─ static: [{(NULL, 28), [NULL, ∞), [NULL, ∞)}, {(28, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3203 " ├─ colSet: (1-4)\n" + 3204 " ├─ tableId: 1\n" + 3205 " └─ Table\n" + 3206 " ├─ name: comp_index_t1\n" + 3207 " └─ columns: [pk v1 v2 v3]\n" + 3208 "", 3209 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3210 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3211 " ├─ filters: [{(NULL, 28), [NULL, ∞), [NULL, ∞)}, {(28, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3212 " └─ columns: [pk v1 v2 v3]\n" + 3213 "", 3214 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3215 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3216 " ├─ filters: [{(NULL, 28), [NULL, ∞), [NULL, ∞)}, {(28, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3217 " └─ columns: [pk v1 v2 v3]\n" + 3218 "", 3219 }, 3220 { 3221 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<16 AND v3=63 AND v2>=20) OR (v1<>41)) OR (v1<=74 AND v3 BETWEEN 14 AND 74 AND v2<>13));`, 3222 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3223 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3224 " ├─ static: [{(NULL, 41), [NULL, ∞), [NULL, ∞)}, {[41, 41], (NULL, 13), [14, 74]}, {[41, 41], (13, ∞), [14, 74]}, {(41, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3225 " ├─ colSet: (1-4)\n" + 3226 " ├─ tableId: 1\n" + 3227 " └─ Table\n" + 3228 " ├─ name: comp_index_t1\n" + 3229 " └─ columns: [pk v1 v2 v3]\n" + 3230 "", 3231 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3232 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3233 " ├─ filters: [{(NULL, 41), [NULL, ∞), [NULL, ∞)}, {[41, 41], (NULL, 13), [14, 74]}, {[41, 41], (13, ∞), [14, 74]}, {(41, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3234 " └─ columns: [pk v1 v2 v3]\n" + 3235 "", 3236 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3237 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3238 " ├─ filters: [{(NULL, 41), [NULL, ∞), [NULL, ∞)}, {[41, 41], (NULL, 13), [14, 74]}, {[41, 41], (13, ∞), [14, 74]}, {(41, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3239 " └─ columns: [pk v1 v2 v3]\n" + 3240 "", 3241 }, 3242 { 3243 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1 BETWEEN 1 AND 11) OR (v1>2 AND v3<=93 AND v2 BETWEEN 28 AND 84)) OR (v1 BETWEEN 34 AND 52 AND v2=73)) OR (v1<>80 AND v2<=32 AND v3 BETWEEN 3 AND 7));`, 3244 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3245 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3246 " ├─ static: [{(NULL, 1), (NULL, 32], [3, 7]}, {[1, 11], [NULL, ∞), [NULL, ∞)}, {(11, 34), [28, 84], (NULL, 93]}, {(11, 80), (NULL, 28), [3, 7]}, {[34, 52], [28, 73), (NULL, 93]}, {[34, 52], [73, 73], [NULL, ∞)}, {[34, 52], (73, 84], (NULL, 93]}, {(52, ∞), [28, 84], (NULL, 93]}, {(80, ∞), (NULL, 28), [3, 7]}]\n" + 3247 " ├─ colSet: (1-4)\n" + 3248 " ├─ tableId: 1\n" + 3249 " └─ Table\n" + 3250 " ├─ name: comp_index_t1\n" + 3251 " └─ columns: [pk v1 v2 v3]\n" + 3252 "", 3253 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3254 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3255 " ├─ filters: [{(NULL, 1), (NULL, 32], [3, 7]}, {[1, 11], [NULL, ∞), [NULL, ∞)}, {(11, 34), [28, 84], (NULL, 93]}, {(11, 80), (NULL, 28), [3, 7]}, {[34, 52], [28, 73), (NULL, 93]}, {[34, 52], [73, 73], [NULL, ∞)}, {[34, 52], (73, 84], (NULL, 93]}, {(52, ∞), [28, 84], (NULL, 93]}, {(80, ∞), (NULL, 28), [3, 7]}]\n" + 3256 " └─ columns: [pk v1 v2 v3]\n" + 3257 "", 3258 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3259 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3260 " ├─ filters: [{(NULL, 1), (NULL, 32], [3, 7]}, {[1, 11], [NULL, ∞), [NULL, ∞)}, {(11, 34), [28, 84], (NULL, 93]}, {(11, 80), (NULL, 28), [3, 7]}, {[34, 52], [28, 73), (NULL, 93]}, {[34, 52], [73, 73], [NULL, ∞)}, {[34, 52], (73, 84], (NULL, 93]}, {(52, ∞), [28, 84], (NULL, 93]}, {(80, ∞), (NULL, 28), [3, 7]}]\n" + 3261 " └─ columns: [pk v1 v2 v3]\n" + 3262 "", 3263 }, 3264 { 3265 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1<45) OR (v1<>72)) OR (v1 BETWEEN 10 AND 86 AND v2=92)) OR (v1 BETWEEN 32 AND 81 AND v2>59));`, 3266 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3267 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3268 " ├─ static: [{(NULL, 72), [NULL, ∞), [NULL, ∞)}, {[72, 72], (59, ∞), [NULL, ∞)}, {(72, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3269 " ├─ colSet: (1-4)\n" + 3270 " ├─ tableId: 1\n" + 3271 " └─ Table\n" + 3272 " ├─ name: comp_index_t1\n" + 3273 " └─ columns: [pk v1 v2 v3]\n" + 3274 "", 3275 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3276 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3277 " ├─ filters: [{(NULL, 72), [NULL, ∞), [NULL, ∞)}, {[72, 72], (59, ∞), [NULL, ∞)}, {(72, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3278 " └─ columns: [pk v1 v2 v3]\n" + 3279 "", 3280 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3281 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3282 " ├─ filters: [{(NULL, 72), [NULL, ∞), [NULL, ∞)}, {[72, 72], (59, ∞), [NULL, ∞)}, {(72, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3283 " └─ columns: [pk v1 v2 v3]\n" + 3284 "", 3285 }, 3286 { 3287 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=11 AND v2>50 AND v3 BETWEEN 5 AND 67) AND (v1>74 AND v2 BETWEEN 6 AND 63 AND v3<=1) OR (v1>=53 AND v2>69 AND v3>54));`, 3288 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3289 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3290 " ├─ static: [{[53, ∞), (69, ∞), (54, ∞)}]\n" + 3291 " ├─ colSet: (1-4)\n" + 3292 " ├─ tableId: 1\n" + 3293 " └─ Table\n" + 3294 " ├─ name: comp_index_t1\n" + 3295 " └─ columns: [pk v1 v2 v3]\n" + 3296 "", 3297 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3298 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3299 " ├─ filters: [{[53, ∞), (69, ∞), (54, ∞)}]\n" + 3300 " └─ columns: [pk v1 v2 v3]\n" + 3301 "", 3302 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3303 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3304 " ├─ filters: [{[53, ∞), (69, ∞), (54, ∞)}]\n" + 3305 " └─ columns: [pk v1 v2 v3]\n" + 3306 "", 3307 }, 3308 { 3309 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>9) OR (v1>14 AND v2>10));`, 3310 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3311 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3312 " ├─ static: [{(9, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3313 " ├─ colSet: (1-4)\n" + 3314 " ├─ tableId: 1\n" + 3315 " └─ Table\n" + 3316 " ├─ name: comp_index_t1\n" + 3317 " └─ columns: [pk v1 v2 v3]\n" + 3318 "", 3319 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3320 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3321 " ├─ filters: [{(9, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3322 " └─ columns: [pk v1 v2 v3]\n" + 3323 "", 3324 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3325 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3326 " ├─ filters: [{(9, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3327 " └─ columns: [pk v1 v2 v3]\n" + 3328 "", 3329 }, 3330 { 3331 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<=39 AND v2 BETWEEN 17 AND 34) OR (v1=89 AND v3>49 AND v2>58)) OR (v1>97));`, 3332 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3333 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3334 " ├─ static: [{(NULL, 39], [17, 34], [NULL, ∞)}, {[89, 89], (58, ∞), (49, ∞)}, {(97, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3335 " ├─ colSet: (1-4)\n" + 3336 " ├─ tableId: 1\n" + 3337 " └─ Table\n" + 3338 " ├─ name: comp_index_t1\n" + 3339 " └─ columns: [pk v1 v2 v3]\n" + 3340 "", 3341 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3342 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3343 " ├─ filters: [{(NULL, 39], [17, 34], [NULL, ∞)}, {[89, 89], (58, ∞), (49, ∞)}, {(97, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3344 " └─ columns: [pk v1 v2 v3]\n" + 3345 "", 3346 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3347 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3348 " ├─ filters: [{(NULL, 39], [17, 34], [NULL, ∞)}, {[89, 89], (58, ∞), (49, ∞)}, {(97, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3349 " └─ columns: [pk v1 v2 v3]\n" + 3350 "", 3351 }, 3352 { 3353 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<7 AND v2<>43) OR (v1<>5 AND v3<0 AND v2<1));`, 3354 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3355 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3356 " ├─ static: [{(NULL, 7), (NULL, 43), [NULL, ∞)}, {(NULL, 7), (43, ∞), [NULL, ∞)}, {[7, ∞), (NULL, 1), (NULL, 0)}]\n" + 3357 " ├─ colSet: (1-4)\n" + 3358 " ├─ tableId: 1\n" + 3359 " └─ Table\n" + 3360 " ├─ name: comp_index_t1\n" + 3361 " └─ columns: [pk v1 v2 v3]\n" + 3362 "", 3363 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3364 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3365 " ├─ filters: [{(NULL, 7), (NULL, 43), [NULL, ∞)}, {(NULL, 7), (43, ∞), [NULL, ∞)}, {[7, ∞), (NULL, 1), (NULL, 0)}]\n" + 3366 " └─ columns: [pk v1 v2 v3]\n" + 3367 "", 3368 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3369 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3370 " ├─ filters: [{(NULL, 7), (NULL, 43), [NULL, ∞)}, {(NULL, 7), (43, ∞), [NULL, ∞)}, {[7, ∞), (NULL, 1), (NULL, 0)}]\n" + 3371 " └─ columns: [pk v1 v2 v3]\n" + 3372 "", 3373 }, 3374 { 3375 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1>30 AND v2 BETWEEN 23 AND 60 AND v3=58) OR (v1<=3 AND v2 BETWEEN 68 AND 72)) OR (v1<=17)) OR (v1>6 AND v2>=24)) AND (v1<89 AND v2=73);`, 3376 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3377 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3378 " ├─ static: [{(NULL, 89), [73, 73], [NULL, ∞)}]\n" + 3379 " ├─ colSet: (1-4)\n" + 3380 " ├─ tableId: 1\n" + 3381 " └─ Table\n" + 3382 " ├─ name: comp_index_t1\n" + 3383 " └─ columns: [pk v1 v2 v3]\n" + 3384 "", 3385 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3386 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3387 " ├─ filters: [{(NULL, 89), [73, 73], [NULL, ∞)}]\n" + 3388 " └─ columns: [pk v1 v2 v3]\n" + 3389 "", 3390 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3391 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3392 " ├─ filters: [{(NULL, 89), [73, 73], [NULL, ∞)}]\n" + 3393 " └─ columns: [pk v1 v2 v3]\n" + 3394 "", 3395 }, 3396 { 3397 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>27) OR (v1>=22 AND v2>99 AND v3>=43));`, 3398 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3399 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3400 " ├─ static: [{[22, 27], (99, ∞), [43, ∞)}, {(27, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3401 " ├─ colSet: (1-4)\n" + 3402 " ├─ tableId: 1\n" + 3403 " └─ Table\n" + 3404 " ├─ name: comp_index_t1\n" + 3405 " └─ columns: [pk v1 v2 v3]\n" + 3406 "", 3407 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3408 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3409 " ├─ filters: [{[22, 27], (99, ∞), [43, ∞)}, {(27, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3410 " └─ columns: [pk v1 v2 v3]\n" + 3411 "", 3412 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3413 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3414 " ├─ filters: [{[22, 27], (99, ∞), [43, ∞)}, {(27, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3415 " └─ columns: [pk v1 v2 v3]\n" + 3416 "", 3417 }, 3418 { 3419 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>25 AND v2 BETWEEN 1 AND 82) OR (v1>31 AND v2=86));`, 3420 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3421 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3422 " ├─ static: [{(25, ∞), [1, 82], [NULL, ∞)}, {(31, ∞), [86, 86], [NULL, ∞)}]\n" + 3423 " ├─ colSet: (1-4)\n" + 3424 " ├─ tableId: 1\n" + 3425 " └─ Table\n" + 3426 " ├─ name: comp_index_t1\n" + 3427 " └─ columns: [pk v1 v2 v3]\n" + 3428 "", 3429 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3430 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3431 " ├─ filters: [{(25, ∞), [1, 82], [NULL, ∞)}, {(31, ∞), [86, 86], [NULL, ∞)}]\n" + 3432 " └─ columns: [pk v1 v2 v3]\n" + 3433 "", 3434 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3435 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3436 " ├─ filters: [{(25, ∞), [1, 82], [NULL, ∞)}, {(31, ∞), [86, 86], [NULL, ∞)}]\n" + 3437 " └─ columns: [pk v1 v2 v3]\n" + 3438 "", 3439 }, 3440 { 3441 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>12 AND v2<60 AND v3=91) OR (v1>63 AND v2>=8 AND v3<>32)) OR (v1>35 AND v3>=98));`, 3442 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3443 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3444 " ├─ static: [{(NULL, 12), (NULL, 60), [91, 91]}, {(12, 63], (NULL, 60), [91, 91]}, {(35, 63], [NULL, ∞), [98, ∞)}, {(63, ∞), [NULL, 8), [98, ∞)}, {(63, ∞), (NULL, 8), [91, 91]}, {(63, ∞), [8, ∞), (NULL, 32)}, {(63, ∞), [8, ∞), (32, ∞)}]\n" + 3445 " ├─ colSet: (1-4)\n" + 3446 " ├─ tableId: 1\n" + 3447 " └─ Table\n" + 3448 " ├─ name: comp_index_t1\n" + 3449 " └─ columns: [pk v1 v2 v3]\n" + 3450 "", 3451 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3452 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3453 " ├─ filters: [{(NULL, 12), (NULL, 60), [91, 91]}, {(12, 63], (NULL, 60), [91, 91]}, {(35, 63], [NULL, ∞), [98, ∞)}, {(63, ∞), [NULL, 8), [98, ∞)}, {(63, ∞), (NULL, 8), [91, 91]}, {(63, ∞), [8, ∞), (NULL, 32)}, {(63, ∞), [8, ∞), (32, ∞)}]\n" + 3454 " └─ columns: [pk v1 v2 v3]\n" + 3455 "", 3456 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3457 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3458 " ├─ filters: [{(NULL, 12), (NULL, 60), [91, 91]}, {(12, 63], (NULL, 60), [91, 91]}, {(35, 63], [NULL, ∞), [98, ∞)}, {(63, ∞), [NULL, 8), [98, ∞)}, {(63, ∞), (NULL, 8), [91, 91]}, {(63, ∞), [8, ∞), (NULL, 32)}, {(63, ∞), [8, ∞), (32, ∞)}]\n" + 3459 " └─ columns: [pk v1 v2 v3]\n" + 3460 "", 3461 }, 3462 { 3463 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>27 AND v3=10) OR (v1>=25 AND v2<26)) AND (v1>=62 AND v2<=96 AND v3>28);`, 3464 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3465 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3466 " ├─ static: [{[62, ∞), (NULL, 26), (28, ∞)}]\n" + 3467 " ├─ colSet: (1-4)\n" + 3468 " ├─ tableId: 1\n" + 3469 " └─ Table\n" + 3470 " ├─ name: comp_index_t1\n" + 3471 " └─ columns: [pk v1 v2 v3]\n" + 3472 "", 3473 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3474 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3475 " ├─ filters: [{[62, ∞), (NULL, 26), (28, ∞)}]\n" + 3476 " └─ columns: [pk v1 v2 v3]\n" + 3477 "", 3478 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3479 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3480 " ├─ filters: [{[62, ∞), (NULL, 26), (28, ∞)}]\n" + 3481 " └─ columns: [pk v1 v2 v3]\n" + 3482 "", 3483 }, 3484 { 3485 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>30 AND v2=40 AND v3 BETWEEN 35 AND 35) OR (v1 BETWEEN 20 AND 77 AND v2>=56 AND v3>62));`, 3486 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3487 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3488 " ├─ static: [{[20, 77], [56, ∞), (62, ∞)}, {(30, ∞), [40, 40], [35, 35]}]\n" + 3489 " ├─ colSet: (1-4)\n" + 3490 " ├─ tableId: 1\n" + 3491 " └─ Table\n" + 3492 " ├─ name: comp_index_t1\n" + 3493 " └─ columns: [pk v1 v2 v3]\n" + 3494 "", 3495 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3496 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3497 " ├─ filters: [{[20, 77], [56, ∞), (62, ∞)}, {(30, ∞), [40, 40], [35, 35]}]\n" + 3498 " └─ columns: [pk v1 v2 v3]\n" + 3499 "", 3500 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3501 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3502 " ├─ filters: [{[20, 77], [56, ∞), (62, ∞)}, {(30, ∞), [40, 40], [35, 35]}]\n" + 3503 " └─ columns: [pk v1 v2 v3]\n" + 3504 "", 3505 }, 3506 { 3507 Query: `SELECT * FROM comp_index_t1 WHERE (((((v1<=92 AND v3=0 AND v2>=9) OR (v1 BETWEEN 48 AND 79)) OR (v1>70 AND v2<=26 AND v3 BETWEEN 14 AND 82)) OR (v1>=29 AND v2<>21 AND v3 BETWEEN 37 AND 55)) OR (v1>=6 AND v3<=47));`, 3508 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3509 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3510 " ├─ static: [{(NULL, 6), [9, ∞), [0, 0]}, {[6, 29), [NULL, ∞), (NULL, 47]}, {[29, 48), [NULL, NULL], (NULL, 47]}, {[29, 48), (NULL, 21), (NULL, 55]}, {[29, 48), [21, 21], (NULL, 47]}, {[29, 48), (21, ∞), (NULL, 55]}, {[48, 79], [NULL, ∞), [NULL, ∞)}, {(79, ∞), [NULL, NULL], (NULL, 47]}, {(79, ∞), (NULL, 26], (NULL, 82]}, {(79, ∞), (26, ∞), (NULL, 55]}]\n" + 3511 " ├─ colSet: (1-4)\n" + 3512 " ├─ tableId: 1\n" + 3513 " └─ Table\n" + 3514 " ├─ name: comp_index_t1\n" + 3515 " └─ columns: [pk v1 v2 v3]\n" + 3516 "", 3517 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3518 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3519 " ├─ filters: [{(NULL, 6), [9, ∞), [0, 0]}, {[6, 29), [NULL, ∞), (NULL, 47]}, {[29, 48), [NULL, NULL], (NULL, 47]}, {[29, 48), (NULL, 21), (NULL, 55]}, {[29, 48), [21, 21], (NULL, 47]}, {[29, 48), (21, ∞), (NULL, 55]}, {[48, 79], [NULL, ∞), [NULL, ∞)}, {(79, ∞), [NULL, NULL], (NULL, 47]}, {(79, ∞), (NULL, 26], (NULL, 82]}, {(79, ∞), (26, ∞), (NULL, 55]}]\n" + 3520 " └─ columns: [pk v1 v2 v3]\n" + 3521 "", 3522 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3523 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3524 " ├─ filters: [{(NULL, 6), [9, ∞), [0, 0]}, {[6, 29), [NULL, ∞), (NULL, 47]}, {[29, 48), [NULL, NULL], (NULL, 47]}, {[29, 48), (NULL, 21), (NULL, 55]}, {[29, 48), [21, 21], (NULL, 47]}, {[29, 48), (21, ∞), (NULL, 55]}, {[48, 79], [NULL, ∞), [NULL, ∞)}, {(79, ∞), [NULL, NULL], (NULL, 47]}, {(79, ∞), (NULL, 26], (NULL, 82]}, {(79, ∞), (26, ∞), (NULL, 55]}]\n" + 3525 " └─ columns: [pk v1 v2 v3]\n" + 3526 "", 3527 }, 3528 { 3529 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<=15 AND v2>28) OR (v1<=84 AND v2<>91));`, 3530 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3531 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3532 " ├─ static: [{(NULL, 15], (NULL, ∞), [NULL, ∞)}, {(15, 84], (NULL, 91), [NULL, ∞)}, {(15, 84], (91, ∞), [NULL, ∞)}]\n" + 3533 " ├─ colSet: (1-4)\n" + 3534 " ├─ tableId: 1\n" + 3535 " └─ Table\n" + 3536 " ├─ name: comp_index_t1\n" + 3537 " └─ columns: [pk v1 v2 v3]\n" + 3538 "", 3539 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3540 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3541 " ├─ filters: [{(NULL, 15], (NULL, ∞), [NULL, ∞)}, {(15, 84], (NULL, 91), [NULL, ∞)}, {(15, 84], (91, ∞), [NULL, ∞)}]\n" + 3542 " └─ columns: [pk v1 v2 v3]\n" + 3543 "", 3544 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3545 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3546 " ├─ filters: [{(NULL, 15], (NULL, ∞), [NULL, ∞)}, {(15, 84], (NULL, 91), [NULL, ∞)}, {(15, 84], (91, ∞), [NULL, ∞)}]\n" + 3547 " └─ columns: [pk v1 v2 v3]\n" + 3548 "", 3549 }, 3550 { 3551 Query: `SELECT * FROM comp_index_t1 WHERE ((v1=49 AND v2<=52 AND v3 BETWEEN 23 AND 38) OR (v1 BETWEEN 30 AND 84 AND v2=94));`, 3552 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3553 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3554 " ├─ static: [{[30, 84], [94, 94], [NULL, ∞)}, {[49, 49], (NULL, 52], [23, 38]}]\n" + 3555 " ├─ colSet: (1-4)\n" + 3556 " ├─ tableId: 1\n" + 3557 " └─ Table\n" + 3558 " ├─ name: comp_index_t1\n" + 3559 " └─ columns: [pk v1 v2 v3]\n" + 3560 "", 3561 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3562 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3563 " ├─ filters: [{[30, 84], [94, 94], [NULL, ∞)}, {[49, 49], (NULL, 52], [23, 38]}]\n" + 3564 " └─ columns: [pk v1 v2 v3]\n" + 3565 "", 3566 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3567 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3568 " ├─ filters: [{[30, 84], [94, 94], [NULL, ∞)}, {[49, 49], (NULL, 52], [23, 38]}]\n" + 3569 " └─ columns: [pk v1 v2 v3]\n" + 3570 "", 3571 }, 3572 { 3573 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 8 AND 18) OR (v1=27 AND v2<=4 AND v3<14));`, 3574 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3575 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3576 " ├─ static: [{[8, 18], [NULL, ∞), [NULL, ∞)}, {[27, 27], (NULL, 4], (NULL, 14)}]\n" + 3577 " ├─ colSet: (1-4)\n" + 3578 " ├─ tableId: 1\n" + 3579 " └─ Table\n" + 3580 " ├─ name: comp_index_t1\n" + 3581 " └─ columns: [pk v1 v2 v3]\n" + 3582 "", 3583 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3584 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3585 " ├─ filters: [{[8, 18], [NULL, ∞), [NULL, ∞)}, {[27, 27], (NULL, 4], (NULL, 14)}]\n" + 3586 " └─ columns: [pk v1 v2 v3]\n" + 3587 "", 3588 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3589 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3590 " ├─ filters: [{[8, 18], [NULL, ∞), [NULL, ∞)}, {[27, 27], (NULL, 4], (NULL, 14)}]\n" + 3591 " └─ columns: [pk v1 v2 v3]\n" + 3592 "", 3593 }, 3594 { 3595 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=4) OR (v1=0 AND v2<=63));`, 3596 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3597 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3598 " ├─ static: [{[0, 0], (NULL, 63], [NULL, ∞)}, {[4, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3599 " ├─ colSet: (1-4)\n" + 3600 " ├─ tableId: 1\n" + 3601 " └─ Table\n" + 3602 " ├─ name: comp_index_t1\n" + 3603 " └─ columns: [pk v1 v2 v3]\n" + 3604 "", 3605 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3606 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3607 " ├─ filters: [{[0, 0], (NULL, 63], [NULL, ∞)}, {[4, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3608 " └─ columns: [pk v1 v2 v3]\n" + 3609 "", 3610 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3611 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3612 " ├─ filters: [{[0, 0], (NULL, 63], [NULL, ∞)}, {[4, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3613 " └─ columns: [pk v1 v2 v3]\n" + 3614 "", 3615 }, 3616 { 3617 Query: `SELECT * FROM comp_index_t1 WHERE (v1<=99 AND v2<>86) AND (v1>=21 AND v2>36);`, 3618 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3619 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3620 " ├─ static: [{[21, 99], (36, 86), [NULL, ∞)}, {[21, 99], (86, ∞), [NULL, ∞)}]\n" + 3621 " ├─ colSet: (1-4)\n" + 3622 " ├─ tableId: 1\n" + 3623 " └─ Table\n" + 3624 " ├─ name: comp_index_t1\n" + 3625 " └─ columns: [pk v1 v2 v3]\n" + 3626 "", 3627 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3628 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3629 " ├─ filters: [{[21, 99], (36, 86), [NULL, ∞)}, {[21, 99], (86, ∞), [NULL, ∞)}]\n" + 3630 " └─ columns: [pk v1 v2 v3]\n" + 3631 "", 3632 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3633 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3634 " ├─ filters: [{[21, 99], (36, 86), [NULL, ∞)}, {[21, 99], (86, ∞), [NULL, ∞)}]\n" + 3635 " └─ columns: [pk v1 v2 v3]\n" + 3636 "", 3637 }, 3638 { 3639 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>43) OR (v1=14));`, 3640 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3641 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3642 " ├─ static: [{(NULL, 43), [NULL, ∞), [NULL, ∞)}, {(43, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3643 " ├─ colSet: (1-4)\n" + 3644 " ├─ tableId: 1\n" + 3645 " └─ Table\n" + 3646 " ├─ name: comp_index_t1\n" + 3647 " └─ columns: [pk v1 v2 v3]\n" + 3648 "", 3649 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3650 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3651 " ├─ filters: [{(NULL, 43), [NULL, ∞), [NULL, ∞)}, {(43, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3652 " └─ columns: [pk v1 v2 v3]\n" + 3653 "", 3654 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3655 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3656 " ├─ filters: [{(NULL, 43), [NULL, ∞), [NULL, ∞)}, {(43, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3657 " └─ columns: [pk v1 v2 v3]\n" + 3658 "", 3659 }, 3660 { 3661 Query: `SELECT * FROM comp_index_t1 WHERE (v1 BETWEEN 21 AND 44 AND v2 BETWEEN 18 AND 88 AND v3=42) AND (v1>=52 AND v2>37 AND v3 BETWEEN 26 AND 91);`, 3662 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3663 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3664 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 3665 " ├─ colSet: (1-4)\n" + 3666 " ├─ tableId: 1\n" + 3667 " └─ Table\n" + 3668 " ├─ name: comp_index_t1\n" + 3669 " └─ columns: [pk v1 v2 v3]\n" + 3670 "", 3671 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3672 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3673 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 3674 " └─ columns: [pk v1 v2 v3]\n" + 3675 "", 3676 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3677 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3678 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 3679 " └─ columns: [pk v1 v2 v3]\n" + 3680 "", 3681 }, 3682 { 3683 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>29 AND v2>93 AND v3<64) OR (v1<>54 AND v2>35));`, 3684 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3685 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3686 " ├─ static: [{(NULL, 54), (35, ∞), [NULL, ∞)}, {[54, 54], (93, ∞), (NULL, 64)}, {(54, ∞), (35, ∞), [NULL, ∞)}]\n" + 3687 " ├─ colSet: (1-4)\n" + 3688 " ├─ tableId: 1\n" + 3689 " └─ Table\n" + 3690 " ├─ name: comp_index_t1\n" + 3691 " └─ columns: [pk v1 v2 v3]\n" + 3692 "", 3693 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3694 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3695 " ├─ filters: [{(NULL, 54), (35, ∞), [NULL, ∞)}, {[54, 54], (93, ∞), (NULL, 64)}, {(54, ∞), (35, ∞), [NULL, ∞)}]\n" + 3696 " └─ columns: [pk v1 v2 v3]\n" + 3697 "", 3698 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3699 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3700 " ├─ filters: [{(NULL, 54), (35, ∞), [NULL, ∞)}, {[54, 54], (93, ∞), (NULL, 64)}, {(54, ∞), (35, ∞), [NULL, ∞)}]\n" + 3701 " └─ columns: [pk v1 v2 v3]\n" + 3702 "", 3703 }, 3704 { 3705 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<88) OR (v1<>45 AND v2<89)) AND (v1=98 AND v2<=81 AND v3 BETWEEN 34 AND 77);`, 3706 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3707 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3708 " ├─ static: [{[98, 98], (NULL, 81], [34, 77]}]\n" + 3709 " ├─ colSet: (1-4)\n" + 3710 " ├─ tableId: 1\n" + 3711 " └─ Table\n" + 3712 " ├─ name: comp_index_t1\n" + 3713 " └─ columns: [pk v1 v2 v3]\n" + 3714 "", 3715 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3716 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3717 " ├─ filters: [{[98, 98], (NULL, 81], [34, 77]}]\n" + 3718 " └─ columns: [pk v1 v2 v3]\n" + 3719 "", 3720 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3721 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3722 " ├─ filters: [{[98, 98], (NULL, 81], [34, 77]}]\n" + 3723 " └─ columns: [pk v1 v2 v3]\n" + 3724 "", 3725 }, 3726 { 3727 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>65 AND v2<>86 AND v3<=2) OR (v1<>37 AND v2<=96));`, 3728 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3729 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3730 " ├─ static: [{(NULL, 37), (NULL, 96], [NULL, ∞)}, {(37, ∞), (NULL, 96], [NULL, ∞)}, {(65, ∞), (96, ∞), (NULL, 2]}]\n" + 3731 " ├─ colSet: (1-4)\n" + 3732 " ├─ tableId: 1\n" + 3733 " └─ Table\n" + 3734 " ├─ name: comp_index_t1\n" + 3735 " └─ columns: [pk v1 v2 v3]\n" + 3736 "", 3737 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3738 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3739 " ├─ filters: [{(NULL, 37), (NULL, 96], [NULL, ∞)}, {(37, ∞), (NULL, 96], [NULL, ∞)}, {(65, ∞), (96, ∞), (NULL, 2]}]\n" + 3740 " └─ columns: [pk v1 v2 v3]\n" + 3741 "", 3742 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3743 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3744 " ├─ filters: [{(NULL, 37), (NULL, 96], [NULL, ∞)}, {(37, ∞), (NULL, 96], [NULL, ∞)}, {(65, ∞), (96, ∞), (NULL, 2]}]\n" + 3745 " └─ columns: [pk v1 v2 v3]\n" + 3746 "", 3747 }, 3748 { 3749 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>79) OR (v1>66)) AND (v1<>81 AND v2<34 AND v3>=25) AND (v1<42) OR (v1<>12 AND v2<>17 AND v3<=23));`, 3750 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3751 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3752 " ├─ static: [{(NULL, 12), (NULL, 17), (NULL, 23]}, {(NULL, 12), (17, ∞), (NULL, 23]}, {(NULL, 42), (NULL, 34), [25, ∞)}, {(12, ∞), (NULL, 17), (NULL, 23]}, {(12, ∞), (17, ∞), (NULL, 23]}]\n" + 3753 " ├─ colSet: (1-4)\n" + 3754 " ├─ tableId: 1\n" + 3755 " └─ Table\n" + 3756 " ├─ name: comp_index_t1\n" + 3757 " └─ columns: [pk v1 v2 v3]\n" + 3758 "", 3759 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3760 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3761 " ├─ filters: [{(NULL, 12), (NULL, 17), (NULL, 23]}, {(NULL, 12), (17, ∞), (NULL, 23]}, {(NULL, 42), (NULL, 34), [25, ∞)}, {(12, ∞), (NULL, 17), (NULL, 23]}, {(12, ∞), (17, ∞), (NULL, 23]}]\n" + 3762 " └─ columns: [pk v1 v2 v3]\n" + 3763 "", 3764 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3765 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3766 " ├─ filters: [{(NULL, 12), (NULL, 17), (NULL, 23]}, {(NULL, 12), (17, ∞), (NULL, 23]}, {(NULL, 42), (NULL, 34), [25, ∞)}, {(12, ∞), (NULL, 17), (NULL, 23]}, {(12, ∞), (17, ∞), (NULL, 23]}]\n" + 3767 " └─ columns: [pk v1 v2 v3]\n" + 3768 "", 3769 }, 3770 { 3771 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<81 AND v2>=28) OR (v1=19 AND v2 BETWEEN 9 AND 57));`, 3772 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3773 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3774 " ├─ static: [{(NULL, 19), [28, ∞), [NULL, ∞)}, {[19, 19], [9, ∞), [NULL, ∞)}, {(19, 81), [28, ∞), [NULL, ∞)}]\n" + 3775 " ├─ colSet: (1-4)\n" + 3776 " ├─ tableId: 1\n" + 3777 " └─ Table\n" + 3778 " ├─ name: comp_index_t1\n" + 3779 " └─ columns: [pk v1 v2 v3]\n" + 3780 "", 3781 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3782 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3783 " ├─ filters: [{(NULL, 19), [28, ∞), [NULL, ∞)}, {[19, 19], [9, ∞), [NULL, ∞)}, {(19, 81), [28, ∞), [NULL, ∞)}]\n" + 3784 " └─ columns: [pk v1 v2 v3]\n" + 3785 "", 3786 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3787 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3788 " ├─ filters: [{(NULL, 19), [28, ∞), [NULL, ∞)}, {[19, 19], [9, ∞), [NULL, ∞)}, {(19, 81), [28, ∞), [NULL, ∞)}]\n" + 3789 " └─ columns: [pk v1 v2 v3]\n" + 3790 "", 3791 }, 3792 { 3793 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<32) OR (v1>=52)) OR (v1>=98));`, 3794 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3795 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3796 " ├─ static: [{(NULL, 32), [NULL, ∞), [NULL, ∞)}, {[52, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3797 " ├─ colSet: (1-4)\n" + 3798 " ├─ tableId: 1\n" + 3799 " └─ Table\n" + 3800 " ├─ name: comp_index_t1\n" + 3801 " └─ columns: [pk v1 v2 v3]\n" + 3802 "", 3803 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3804 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3805 " ├─ filters: [{(NULL, 32), [NULL, ∞), [NULL, ∞)}, {[52, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3806 " └─ columns: [pk v1 v2 v3]\n" + 3807 "", 3808 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3809 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3810 " ├─ filters: [{(NULL, 32), [NULL, ∞), [NULL, ∞)}, {[52, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3811 " └─ columns: [pk v1 v2 v3]\n" + 3812 "", 3813 }, 3814 { 3815 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>47) OR (v1<>25));`, 3816 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3817 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3818 " ├─ static: [{(NULL, 25), [NULL, ∞), [NULL, ∞)}, {(25, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3819 " ├─ colSet: (1-4)\n" + 3820 " ├─ tableId: 1\n" + 3821 " └─ Table\n" + 3822 " ├─ name: comp_index_t1\n" + 3823 " └─ columns: [pk v1 v2 v3]\n" + 3824 "", 3825 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3826 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3827 " ├─ filters: [{(NULL, 25), [NULL, ∞), [NULL, ∞)}, {(25, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3828 " └─ columns: [pk v1 v2 v3]\n" + 3829 "", 3830 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3831 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3832 " ├─ filters: [{(NULL, 25), [NULL, ∞), [NULL, ∞)}, {(25, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3833 " └─ columns: [pk v1 v2 v3]\n" + 3834 "", 3835 }, 3836 { 3837 Query: `SELECT * FROM comp_index_t1 WHERE (v1>27 AND v2<=80 AND v3 BETWEEN 11 AND 37) AND (v1=87 AND v2<54) AND (v1>29);`, 3838 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3839 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3840 " ├─ static: [{[87, 87], (NULL, 54), [11, 37]}]\n" + 3841 " ├─ colSet: (1-4)\n" + 3842 " ├─ tableId: 1\n" + 3843 " └─ Table\n" + 3844 " ├─ name: comp_index_t1\n" + 3845 " └─ columns: [pk v1 v2 v3]\n" + 3846 "", 3847 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3848 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3849 " ├─ filters: [{[87, 87], (NULL, 54), [11, 37]}]\n" + 3850 " └─ columns: [pk v1 v2 v3]\n" + 3851 "", 3852 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3853 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3854 " ├─ filters: [{[87, 87], (NULL, 54), [11, 37]}]\n" + 3855 " └─ columns: [pk v1 v2 v3]\n" + 3856 "", 3857 }, 3858 { 3859 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>65 AND v2>=52) OR (v1<=85)) OR (v1<=64 AND v3=9 AND v2>=36));`, 3860 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3861 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3862 " ├─ static: [{(NULL, 85], [NULL, ∞), [NULL, ∞)}, {(85, ∞), [52, ∞), [NULL, ∞)}]\n" + 3863 " ├─ colSet: (1-4)\n" + 3864 " ├─ tableId: 1\n" + 3865 " └─ Table\n" + 3866 " ├─ name: comp_index_t1\n" + 3867 " └─ columns: [pk v1 v2 v3]\n" + 3868 "", 3869 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3870 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3871 " ├─ filters: [{(NULL, 85], [NULL, ∞), [NULL, ∞)}, {(85, ∞), [52, ∞), [NULL, ∞)}]\n" + 3872 " └─ columns: [pk v1 v2 v3]\n" + 3873 "", 3874 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3875 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3876 " ├─ filters: [{(NULL, 85], [NULL, ∞), [NULL, ∞)}, {(85, ∞), [52, ∞), [NULL, ∞)}]\n" + 3877 " └─ columns: [pk v1 v2 v3]\n" + 3878 "", 3879 }, 3880 { 3881 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=12 AND v2>=65) OR (v1=11 AND v2<1));`, 3882 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3883 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3884 " ├─ static: [{[11, 11], (NULL, 1), [NULL, ∞)}, {[12, ∞), [65, ∞), [NULL, ∞)}]\n" + 3885 " ├─ colSet: (1-4)\n" + 3886 " ├─ tableId: 1\n" + 3887 " └─ Table\n" + 3888 " ├─ name: comp_index_t1\n" + 3889 " └─ columns: [pk v1 v2 v3]\n" + 3890 "", 3891 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3892 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3893 " ├─ filters: [{[11, 11], (NULL, 1), [NULL, ∞)}, {[12, ∞), [65, ∞), [NULL, ∞)}]\n" + 3894 " └─ columns: [pk v1 v2 v3]\n" + 3895 "", 3896 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3897 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3898 " ├─ filters: [{[11, 11], (NULL, 1), [NULL, ∞)}, {[12, ∞), [65, ∞), [NULL, ∞)}]\n" + 3899 " └─ columns: [pk v1 v2 v3]\n" + 3900 "", 3901 }, 3902 { 3903 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<=92 AND v2<=42) OR (v1>=58));`, 3904 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3905 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3906 " ├─ static: [{(NULL, 58), (NULL, 42], [NULL, ∞)}, {[58, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3907 " ├─ colSet: (1-4)\n" + 3908 " ├─ tableId: 1\n" + 3909 " └─ Table\n" + 3910 " ├─ name: comp_index_t1\n" + 3911 " └─ columns: [pk v1 v2 v3]\n" + 3912 "", 3913 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3914 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3915 " ├─ filters: [{(NULL, 58), (NULL, 42], [NULL, ∞)}, {[58, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3916 " └─ columns: [pk v1 v2 v3]\n" + 3917 "", 3918 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3919 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3920 " ├─ filters: [{(NULL, 58), (NULL, 42], [NULL, ∞)}, {[58, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3921 " └─ columns: [pk v1 v2 v3]\n" + 3922 "", 3923 }, 3924 { 3925 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>0) OR (v1<81 AND v2>=70)) OR (v1>=52));`, 3926 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3927 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3928 " ├─ static: [{(NULL, 0), [NULL, ∞), [NULL, ∞)}, {[0, 0], [70, ∞), [NULL, ∞)}, {(0, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3929 " ├─ colSet: (1-4)\n" + 3930 " ├─ tableId: 1\n" + 3931 " └─ Table\n" + 3932 " ├─ name: comp_index_t1\n" + 3933 " └─ columns: [pk v1 v2 v3]\n" + 3934 "", 3935 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3936 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3937 " ├─ filters: [{(NULL, 0), [NULL, ∞), [NULL, ∞)}, {[0, 0], [70, ∞), [NULL, ∞)}, {(0, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3938 " └─ columns: [pk v1 v2 v3]\n" + 3939 "", 3940 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3941 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3942 " ├─ filters: [{(NULL, 0), [NULL, ∞), [NULL, ∞)}, {[0, 0], [70, ∞), [NULL, ∞)}, {(0, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 3943 " └─ columns: [pk v1 v2 v3]\n" + 3944 "", 3945 }, 3946 { 3947 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>5 AND v3<=32) OR (v1 BETWEEN 77 AND 85 AND v3 BETWEEN 16 AND 21 AND v2 BETWEEN 10 AND 42));`, 3948 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3949 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3950 " ├─ static: [{(5, ∞), [NULL, ∞), (NULL, 32]}]\n" + 3951 " ├─ colSet: (1-4)\n" + 3952 " ├─ tableId: 1\n" + 3953 " └─ Table\n" + 3954 " ├─ name: comp_index_t1\n" + 3955 " └─ columns: [pk v1 v2 v3]\n" + 3956 "", 3957 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3958 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3959 " ├─ filters: [{(5, ∞), [NULL, ∞), (NULL, 32]}]\n" + 3960 " └─ columns: [pk v1 v2 v3]\n" + 3961 "", 3962 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3963 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3964 " ├─ filters: [{(5, ∞), [NULL, ∞), (NULL, 32]}]\n" + 3965 " └─ columns: [pk v1 v2 v3]\n" + 3966 "", 3967 }, 3968 { 3969 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>43 AND v2<53 AND v3<=20) OR (v1<7 AND v2<>79));`, 3970 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3971 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3972 " ├─ static: [{(NULL, 7), (NULL, 79), [NULL, ∞)}, {(NULL, 7), (79, ∞), [NULL, ∞)}, {[7, 43), (NULL, 53), (NULL, 20]}, {(43, ∞), (NULL, 53), (NULL, 20]}]\n" + 3973 " ├─ colSet: (1-4)\n" + 3974 " ├─ tableId: 1\n" + 3975 " └─ Table\n" + 3976 " ├─ name: comp_index_t1\n" + 3977 " └─ columns: [pk v1 v2 v3]\n" + 3978 "", 3979 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 3980 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3981 " ├─ filters: [{(NULL, 7), (NULL, 79), [NULL, ∞)}, {(NULL, 7), (79, ∞), [NULL, ∞)}, {[7, 43), (NULL, 53), (NULL, 20]}, {(43, ∞), (NULL, 53), (NULL, 20]}]\n" + 3982 " └─ columns: [pk v1 v2 v3]\n" + 3983 "", 3984 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 3985 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3986 " ├─ filters: [{(NULL, 7), (NULL, 79), [NULL, ∞)}, {(NULL, 7), (79, ∞), [NULL, ∞)}, {[7, 43), (NULL, 53), (NULL, 20]}, {(43, ∞), (NULL, 53), (NULL, 20]}]\n" + 3987 " └─ columns: [pk v1 v2 v3]\n" + 3988 "", 3989 }, 3990 { 3991 Query: `SELECT * FROM comp_index_t1 WHERE (v1>=17 AND v2 BETWEEN 17 AND 78 AND v3=10) AND (v1<=67) AND (v1>=81 AND v2<=88 AND v3>=70);`, 3992 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 3993 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 3994 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 3995 " ├─ colSet: (1-4)\n" + 3996 " ├─ tableId: 1\n" + 3997 " └─ Table\n" + 3998 " ├─ name: comp_index_t1\n" + 3999 " └─ columns: [pk v1 v2 v3]\n" + 4000 "", 4001 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4002 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4003 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4004 " └─ columns: [pk v1 v2 v3]\n" + 4005 "", 4006 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4007 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4008 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4009 " └─ columns: [pk v1 v2 v3]\n" + 4010 "", 4011 }, 4012 { 4013 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<77 AND v2<35 AND v3=73) OR (v1=85 AND v2>0 AND v3<65)) AND (v1>=20 AND v3<23 AND v2<=81) OR (v1<34 AND v2<=21 AND v3<=45));`, 4014 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4015 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4016 " ├─ static: [{(NULL, 34), (NULL, 21], (NULL, 45]}, {[85, 85], (0, 81], (NULL, 23)}]\n" + 4017 " ├─ colSet: (1-4)\n" + 4018 " ├─ tableId: 1\n" + 4019 " └─ Table\n" + 4020 " ├─ name: comp_index_t1\n" + 4021 " └─ columns: [pk v1 v2 v3]\n" + 4022 "", 4023 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4024 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4025 " ├─ filters: [{(NULL, 34), (NULL, 21], (NULL, 45]}, {[85, 85], (0, 81], (NULL, 23)}]\n" + 4026 " └─ columns: [pk v1 v2 v3]\n" + 4027 "", 4028 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4029 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4030 " ├─ filters: [{(NULL, 34), (NULL, 21], (NULL, 45]}, {[85, 85], (0, 81], (NULL, 23)}]\n" + 4031 " └─ columns: [pk v1 v2 v3]\n" + 4032 "", 4033 }, 4034 { 4035 Query: `SELECT * FROM comp_index_t1 WHERE (((((v1<=69) AND (v1>=60 AND v2<18 AND v3=15) OR (v1<=75)) OR (v1>=52 AND v2<10)) OR (v1<37 AND v2<=64)) OR (v1>38 AND v2=27));`, 4036 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4037 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4038 " ├─ static: [{(NULL, 75], [NULL, ∞), [NULL, ∞)}, {(75, ∞), (NULL, 10), [NULL, ∞)}, {(75, ∞), [27, 27], [NULL, ∞)}]\n" + 4039 " ├─ colSet: (1-4)\n" + 4040 " ├─ tableId: 1\n" + 4041 " └─ Table\n" + 4042 " ├─ name: comp_index_t1\n" + 4043 " └─ columns: [pk v1 v2 v3]\n" + 4044 "", 4045 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4046 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4047 " ├─ filters: [{(NULL, 75], [NULL, ∞), [NULL, ∞)}, {(75, ∞), (NULL, 10), [NULL, ∞)}, {(75, ∞), [27, 27], [NULL, ∞)}]\n" + 4048 " └─ columns: [pk v1 v2 v3]\n" + 4049 "", 4050 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4051 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4052 " ├─ filters: [{(NULL, 75], [NULL, ∞), [NULL, ∞)}, {(75, ∞), (NULL, 10), [NULL, ∞)}, {(75, ∞), [27, 27], [NULL, ∞)}]\n" + 4053 " └─ columns: [pk v1 v2 v3]\n" + 4054 "", 4055 }, 4056 { 4057 Query: `SELECT * FROM comp_index_t1 WHERE (v1<=76) AND (v1<=94);`, 4058 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4059 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4060 " ├─ static: [{(NULL, 76], [NULL, ∞), [NULL, ∞)}]\n" + 4061 " ├─ colSet: (1-4)\n" + 4062 " ├─ tableId: 1\n" + 4063 " └─ Table\n" + 4064 " ├─ name: comp_index_t1\n" + 4065 " └─ columns: [pk v1 v2 v3]\n" + 4066 "", 4067 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4068 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4069 " ├─ filters: [{(NULL, 76], [NULL, ∞), [NULL, ∞)}]\n" + 4070 " └─ columns: [pk v1 v2 v3]\n" + 4071 "", 4072 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4073 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4074 " ├─ filters: [{(NULL, 76], [NULL, ∞), [NULL, ∞)}]\n" + 4075 " └─ columns: [pk v1 v2 v3]\n" + 4076 "", 4077 }, 4078 { 4079 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1<>40 AND v2>1) OR (v1>3 AND v2<=42)) OR (v1=99 AND v2>62)) OR (v1<17 AND v2<>75 AND v3=6));`, 4080 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4081 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4082 " ├─ static: [{(NULL, 3], (NULL, 1], [6, 6]}, {(NULL, 3], (1, ∞), [NULL, ∞)}, {(3, 40), (NULL, ∞), [NULL, ∞)}, {[40, 40], (NULL, 42], [NULL, ∞)}, {(40, ∞), (NULL, ∞), [NULL, ∞)}]\n" + 4083 " ├─ colSet: (1-4)\n" + 4084 " ├─ tableId: 1\n" + 4085 " └─ Table\n" + 4086 " ├─ name: comp_index_t1\n" + 4087 " └─ columns: [pk v1 v2 v3]\n" + 4088 "", 4089 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4090 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4091 " ├─ filters: [{(NULL, 3], (NULL, 1], [6, 6]}, {(NULL, 3], (1, ∞), [NULL, ∞)}, {(3, 40), (NULL, ∞), [NULL, ∞)}, {[40, 40], (NULL, 42], [NULL, ∞)}, {(40, ∞), (NULL, ∞), [NULL, ∞)}]\n" + 4092 " └─ columns: [pk v1 v2 v3]\n" + 4093 "", 4094 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4095 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4096 " ├─ filters: [{(NULL, 3], (NULL, 1], [6, 6]}, {(NULL, 3], (1, ∞), [NULL, ∞)}, {(3, 40), (NULL, ∞), [NULL, ∞)}, {[40, 40], (NULL, 42], [NULL, ∞)}, {(40, ∞), (NULL, ∞), [NULL, ∞)}]\n" + 4097 " └─ columns: [pk v1 v2 v3]\n" + 4098 "", 4099 }, 4100 { 4101 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1=39) OR (v1=40 AND v2<>49)) OR (v1<>35 AND v2>4 AND v3>26)) OR (v1=32 AND v2<>55));`, 4102 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4103 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4104 " ├─ static: [{(NULL, 32), (4, ∞), (26, ∞)}, {[32, 32], (NULL, 55), [NULL, ∞)}, {[32, 32], [55, 55], (26, ∞)}, {[32, 32], (55, ∞), [NULL, ∞)}, {(32, 35), (4, ∞), (26, ∞)}, {(35, 39), (4, ∞), (26, ∞)}, {[39, 39], [NULL, ∞), [NULL, ∞)}, {(39, 40), (4, ∞), (26, ∞)}, {[40, 40], (NULL, 49), [NULL, ∞)}, {[40, 40], [49, 49], (26, ∞)}, {[40, 40], (49, ∞), [NULL, ∞)}, {(40, ∞), (4, ∞), (26, ∞)}]\n" + 4105 " ├─ colSet: (1-4)\n" + 4106 " ├─ tableId: 1\n" + 4107 " └─ Table\n" + 4108 " ├─ name: comp_index_t1\n" + 4109 " └─ columns: [pk v1 v2 v3]\n" + 4110 "", 4111 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4112 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4113 " ├─ filters: [{(NULL, 32), (4, ∞), (26, ∞)}, {[32, 32], (NULL, 55), [NULL, ∞)}, {[32, 32], [55, 55], (26, ∞)}, {[32, 32], (55, ∞), [NULL, ∞)}, {(32, 35), (4, ∞), (26, ∞)}, {(35, 39), (4, ∞), (26, ∞)}, {[39, 39], [NULL, ∞), [NULL, ∞)}, {(39, 40), (4, ∞), (26, ∞)}, {[40, 40], (NULL, 49), [NULL, ∞)}, {[40, 40], [49, 49], (26, ∞)}, {[40, 40], (49, ∞), [NULL, ∞)}, {(40, ∞), (4, ∞), (26, ∞)}]\n" + 4114 " └─ columns: [pk v1 v2 v3]\n" + 4115 "", 4116 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4117 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4118 " ├─ filters: [{(NULL, 32), (4, ∞), (26, ∞)}, {[32, 32], (NULL, 55), [NULL, ∞)}, {[32, 32], [55, 55], (26, ∞)}, {[32, 32], (55, ∞), [NULL, ∞)}, {(32, 35), (4, ∞), (26, ∞)}, {(35, 39), (4, ∞), (26, ∞)}, {[39, 39], [NULL, ∞), [NULL, ∞)}, {(39, 40), (4, ∞), (26, ∞)}, {[40, 40], (NULL, 49), [NULL, ∞)}, {[40, 40], [49, 49], (26, ∞)}, {[40, 40], (49, ∞), [NULL, ∞)}, {(40, ∞), (4, ∞), (26, ∞)}]\n" + 4119 " └─ columns: [pk v1 v2 v3]\n" + 4120 "", 4121 }, 4122 { 4123 Query: `SELECT * FROM comp_index_t1 WHERE ((v1=16 AND v2<>25 AND v3<>3) OR (v1>=4 AND v2 BETWEEN 4 AND 93 AND v3>39));`, 4124 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4125 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4126 " ├─ static: [{[4, 16), [4, 93], (39, ∞)}, {[16, 16], (NULL, 25), (NULL, 3)}, {[16, 16], (NULL, 25), (3, ∞)}, {[16, 16], [25, 25], (39, ∞)}, {[16, 16], (25, ∞), (NULL, 3)}, {[16, 16], (25, ∞), (3, ∞)}, {(16, ∞), [4, 93], (39, ∞)}]\n" + 4127 " ├─ colSet: (1-4)\n" + 4128 " ├─ tableId: 1\n" + 4129 " └─ Table\n" + 4130 " ├─ name: comp_index_t1\n" + 4131 " └─ columns: [pk v1 v2 v3]\n" + 4132 "", 4133 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4134 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4135 " ├─ filters: [{[4, 16), [4, 93], (39, ∞)}, {[16, 16], (NULL, 25), (NULL, 3)}, {[16, 16], (NULL, 25), (3, ∞)}, {[16, 16], [25, 25], (39, ∞)}, {[16, 16], (25, ∞), (NULL, 3)}, {[16, 16], (25, ∞), (3, ∞)}, {(16, ∞), [4, 93], (39, ∞)}]\n" + 4136 " └─ columns: [pk v1 v2 v3]\n" + 4137 "", 4138 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4139 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4140 " ├─ filters: [{[4, 16), [4, 93], (39, ∞)}, {[16, 16], (NULL, 25), (NULL, 3)}, {[16, 16], (NULL, 25), (3, ∞)}, {[16, 16], [25, 25], (39, ∞)}, {[16, 16], (25, ∞), (NULL, 3)}, {[16, 16], (25, ∞), (3, ∞)}, {(16, ∞), [4, 93], (39, ∞)}]\n" + 4141 " └─ columns: [pk v1 v2 v3]\n" + 4142 "", 4143 }, 4144 { 4145 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1>=51 AND v2<83) OR (v1>=15 AND v2>=3)) OR (v1<=49)) OR (v1<69));`, 4146 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4147 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4148 " ├─ static: [{(NULL, 69), [NULL, ∞), [NULL, ∞)}, {[69, ∞), (NULL, ∞), [NULL, ∞)}]\n" + 4149 " ├─ colSet: (1-4)\n" + 4150 " ├─ tableId: 1\n" + 4151 " └─ Table\n" + 4152 " ├─ name: comp_index_t1\n" + 4153 " └─ columns: [pk v1 v2 v3]\n" + 4154 "", 4155 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4156 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4157 " ├─ filters: [{(NULL, 69), [NULL, ∞), [NULL, ∞)}, {[69, ∞), (NULL, ∞), [NULL, ∞)}]\n" + 4158 " └─ columns: [pk v1 v2 v3]\n" + 4159 "", 4160 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4161 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4162 " ├─ filters: [{(NULL, 69), [NULL, ∞), [NULL, ∞)}, {[69, ∞), (NULL, ∞), [NULL, ∞)}]\n" + 4163 " └─ columns: [pk v1 v2 v3]\n" + 4164 "", 4165 }, 4166 { 4167 Query: `SELECT * FROM comp_index_t1 WHERE (v1<>43 AND v2>10) AND (v1>30 AND v2 BETWEEN 18 AND 78 AND v3 BETWEEN 75 AND 81);`, 4168 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4169 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4170 " ├─ static: [{(30, 43), [18, 78], [75, 81]}, {(43, ∞), [18, 78], [75, 81]}]\n" + 4171 " ├─ colSet: (1-4)\n" + 4172 " ├─ tableId: 1\n" + 4173 " └─ Table\n" + 4174 " ├─ name: comp_index_t1\n" + 4175 " └─ columns: [pk v1 v2 v3]\n" + 4176 "", 4177 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4178 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4179 " ├─ filters: [{(30, 43), [18, 78], [75, 81]}, {(43, ∞), [18, 78], [75, 81]}]\n" + 4180 " └─ columns: [pk v1 v2 v3]\n" + 4181 "", 4182 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4183 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4184 " ├─ filters: [{(30, 43), [18, 78], [75, 81]}, {(43, ∞), [18, 78], [75, 81]}]\n" + 4185 " └─ columns: [pk v1 v2 v3]\n" + 4186 "", 4187 }, 4188 { 4189 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>1) OR (v1<34 AND v2>=57 AND v3 BETWEEN 15 AND 67));`, 4190 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4191 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4192 " ├─ static: [{(NULL, 1], [57, ∞), [15, 67]}, {(1, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4193 " ├─ colSet: (1-4)\n" + 4194 " ├─ tableId: 1\n" + 4195 " └─ Table\n" + 4196 " ├─ name: comp_index_t1\n" + 4197 " └─ columns: [pk v1 v2 v3]\n" + 4198 "", 4199 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4200 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4201 " ├─ filters: [{(NULL, 1], [57, ∞), [15, 67]}, {(1, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4202 " └─ columns: [pk v1 v2 v3]\n" + 4203 "", 4204 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4205 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4206 " ├─ filters: [{(NULL, 1], [57, ∞), [15, 67]}, {(1, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4207 " └─ columns: [pk v1 v2 v3]\n" + 4208 "", 4209 }, 4210 { 4211 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>3 AND v2>32) OR (v1<=26 AND v3>=27 AND v2>=5));`, 4212 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4213 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4214 " ├─ static: [{(NULL, 3], [5, ∞), [27, ∞)}, {(3, 26], [5, 32], [27, ∞)}, {(3, ∞), (32, ∞), [NULL, ∞)}]\n" + 4215 " ├─ colSet: (1-4)\n" + 4216 " ├─ tableId: 1\n" + 4217 " └─ Table\n" + 4218 " ├─ name: comp_index_t1\n" + 4219 " └─ columns: [pk v1 v2 v3]\n" + 4220 "", 4221 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4222 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4223 " ├─ filters: [{(NULL, 3], [5, ∞), [27, ∞)}, {(3, 26], [5, 32], [27, ∞)}, {(3, ∞), (32, ∞), [NULL, ∞)}]\n" + 4224 " └─ columns: [pk v1 v2 v3]\n" + 4225 "", 4226 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4227 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4228 " ├─ filters: [{(NULL, 3], [5, ∞), [27, ∞)}, {(3, 26], [5, 32], [27, ∞)}, {(3, ∞), (32, ∞), [NULL, ∞)}]\n" + 4229 " └─ columns: [pk v1 v2 v3]\n" + 4230 "", 4231 }, 4232 { 4233 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>25 AND v2<>70 AND v3<=51) OR (v1<=71 AND v2>59));`, 4234 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4235 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4236 " ├─ static: [{(NULL, 71], (59, ∞), [NULL, ∞)}, {(25, 71], (NULL, 59], (NULL, 51]}, {(71, ∞), (NULL, 70), (NULL, 51]}, {(71, ∞), (70, ∞), (NULL, 51]}]\n" + 4237 " ├─ colSet: (1-4)\n" + 4238 " ├─ tableId: 1\n" + 4239 " └─ Table\n" + 4240 " ├─ name: comp_index_t1\n" + 4241 " └─ columns: [pk v1 v2 v3]\n" + 4242 "", 4243 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4244 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4245 " ├─ filters: [{(NULL, 71], (59, ∞), [NULL, ∞)}, {(25, 71], (NULL, 59], (NULL, 51]}, {(71, ∞), (NULL, 70), (NULL, 51]}, {(71, ∞), (70, ∞), (NULL, 51]}]\n" + 4246 " └─ columns: [pk v1 v2 v3]\n" + 4247 "", 4248 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4249 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4250 " ├─ filters: [{(NULL, 71], (59, ∞), [NULL, ∞)}, {(25, 71], (NULL, 59], (NULL, 51]}, {(71, ∞), (NULL, 70), (NULL, 51]}, {(71, ∞), (70, ∞), (NULL, 51]}]\n" + 4251 " └─ columns: [pk v1 v2 v3]\n" + 4252 "", 4253 }, 4254 { 4255 Query: `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 0 AND 61 AND v2<0) OR (v1 BETWEEN 0 AND 38 AND v2>34)) OR (v1>=13 AND v2>=41));`, 4256 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4257 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4258 " ├─ static: [{[0, 38], (34, ∞), [NULL, ∞)}, {[0, 61], (NULL, 0), [NULL, ∞)}, {(38, ∞), [41, ∞), [NULL, ∞)}]\n" + 4259 " ├─ colSet: (1-4)\n" + 4260 " ├─ tableId: 1\n" + 4261 " └─ Table\n" + 4262 " ├─ name: comp_index_t1\n" + 4263 " └─ columns: [pk v1 v2 v3]\n" + 4264 "", 4265 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4266 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4267 " ├─ filters: [{[0, 38], (34, ∞), [NULL, ∞)}, {[0, 61], (NULL, 0), [NULL, ∞)}, {(38, ∞), [41, ∞), [NULL, ∞)}]\n" + 4268 " └─ columns: [pk v1 v2 v3]\n" + 4269 "", 4270 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4271 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4272 " ├─ filters: [{[0, 38], (34, ∞), [NULL, ∞)}, {[0, 61], (NULL, 0), [NULL, ∞)}, {(38, ∞), [41, ∞), [NULL, ∞)}]\n" + 4273 " └─ columns: [pk v1 v2 v3]\n" + 4274 "", 4275 }, 4276 { 4277 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>68 AND v2<=57) AND (v1<>84 AND v3 BETWEEN 24 AND 98 AND v2 BETWEEN 28 AND 45) OR (v1>0 AND v2<>47 AND v3>=69)) OR (v1>=44));`, 4278 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4279 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4280 " ├─ static: [{(NULL, 0], [28, 45], [24, 98]}, {(0, 44), (NULL, 28), [69, ∞)}, {(0, 44), [28, 45], [24, ∞)}, {(0, 44), (45, 47), [69, ∞)}, {(0, 44), (47, ∞), [69, ∞)}, {[44, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4281 " ├─ colSet: (1-4)\n" + 4282 " ├─ tableId: 1\n" + 4283 " └─ Table\n" + 4284 " ├─ name: comp_index_t1\n" + 4285 " └─ columns: [pk v1 v2 v3]\n" + 4286 "", 4287 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4288 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4289 " ├─ filters: [{(NULL, 0], [28, 45], [24, 98]}, {(0, 44), (NULL, 28), [69, ∞)}, {(0, 44), [28, 45], [24, ∞)}, {(0, 44), (45, 47), [69, ∞)}, {(0, 44), (47, ∞), [69, ∞)}, {[44, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4290 " └─ columns: [pk v1 v2 v3]\n" + 4291 "", 4292 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4293 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4294 " ├─ filters: [{(NULL, 0], [28, 45], [24, 98]}, {(0, 44), (NULL, 28), [69, ∞)}, {(0, 44), [28, 45], [24, ∞)}, {(0, 44), (45, 47), [69, ∞)}, {(0, 44), (47, ∞), [69, ∞)}, {[44, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4295 " └─ columns: [pk v1 v2 v3]\n" + 4296 "", 4297 }, 4298 { 4299 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<=48 AND v2 BETWEEN 33 AND 66) OR (v1>=91));`, 4300 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4301 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4302 " ├─ static: [{(NULL, 48], [33, 66], [NULL, ∞)}, {[91, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4303 " ├─ colSet: (1-4)\n" + 4304 " ├─ tableId: 1\n" + 4305 " └─ Table\n" + 4306 " ├─ name: comp_index_t1\n" + 4307 " └─ columns: [pk v1 v2 v3]\n" + 4308 "", 4309 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4310 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4311 " ├─ filters: [{(NULL, 48], [33, 66], [NULL, ∞)}, {[91, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4312 " └─ columns: [pk v1 v2 v3]\n" + 4313 "", 4314 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4315 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4316 " ├─ filters: [{(NULL, 48], [33, 66], [NULL, ∞)}, {[91, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4317 " └─ columns: [pk v1 v2 v3]\n" + 4318 "", 4319 }, 4320 { 4321 Query: `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 17 AND 52 AND v2<96) OR (v1<=12 AND v2<>4 AND v3>53)) OR (v1<98 AND v3<94 AND v2=5));`, 4322 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4323 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4324 " ├─ static: [{(NULL, 12], (NULL, 4), (53, ∞)}, {(NULL, 12], (4, 5), (53, ∞)}, {(NULL, 12], [5, 5], (NULL, ∞)}, {(NULL, 12], (5, ∞), (53, ∞)}, {(12, 17), [5, 5], (NULL, 94)}, {[17, 52], (NULL, 96), [NULL, ∞)}, {(52, 98), [5, 5], (NULL, 94)}]\n" + 4325 " ├─ colSet: (1-4)\n" + 4326 " ├─ tableId: 1\n" + 4327 " └─ Table\n" + 4328 " ├─ name: comp_index_t1\n" + 4329 " └─ columns: [pk v1 v2 v3]\n" + 4330 "", 4331 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4332 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4333 " ├─ filters: [{(NULL, 12], (NULL, 4), (53, ∞)}, {(NULL, 12], (4, 5), (53, ∞)}, {(NULL, 12], [5, 5], (NULL, ∞)}, {(NULL, 12], (5, ∞), (53, ∞)}, {(12, 17), [5, 5], (NULL, 94)}, {[17, 52], (NULL, 96), [NULL, ∞)}, {(52, 98), [5, 5], (NULL, 94)}]\n" + 4334 " └─ columns: [pk v1 v2 v3]\n" + 4335 "", 4336 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4337 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4338 " ├─ filters: [{(NULL, 12], (NULL, 4), (53, ∞)}, {(NULL, 12], (4, 5), (53, ∞)}, {(NULL, 12], [5, 5], (NULL, ∞)}, {(NULL, 12], (5, ∞), (53, ∞)}, {(12, 17), [5, 5], (NULL, 94)}, {[17, 52], (NULL, 96), [NULL, ∞)}, {(52, 98), [5, 5], (NULL, 94)}]\n" + 4339 " └─ columns: [pk v1 v2 v3]\n" + 4340 "", 4341 }, 4342 { 4343 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>26 AND v2 BETWEEN 66 AND 79 AND v3<=94) OR (v1 BETWEEN 16 AND 55));`, 4344 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4345 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4346 " ├─ static: [{(NULL, 16), [66, 79], (NULL, 94]}, {[16, 55], [NULL, ∞), [NULL, ∞)}, {(55, ∞), [66, 79], (NULL, 94]}]\n" + 4347 " ├─ colSet: (1-4)\n" + 4348 " ├─ tableId: 1\n" + 4349 " └─ Table\n" + 4350 " ├─ name: comp_index_t1\n" + 4351 " └─ columns: [pk v1 v2 v3]\n" + 4352 "", 4353 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4354 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4355 " ├─ filters: [{(NULL, 16), [66, 79], (NULL, 94]}, {[16, 55], [NULL, ∞), [NULL, ∞)}, {(55, ∞), [66, 79], (NULL, 94]}]\n" + 4356 " └─ columns: [pk v1 v2 v3]\n" + 4357 "", 4358 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4359 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4360 " ├─ filters: [{(NULL, 16), [66, 79], (NULL, 94]}, {[16, 55], [NULL, ∞), [NULL, ∞)}, {(55, ∞), [66, 79], (NULL, 94]}]\n" + 4361 " └─ columns: [pk v1 v2 v3]\n" + 4362 "", 4363 }, 4364 { 4365 Query: `SELECT * FROM comp_index_t1 WHERE (v1 BETWEEN 36 AND 67 AND v3<74 AND v2=26) AND (v1 BETWEEN 9 AND 10 AND v2=96) AND (v1<=11 AND v2<>63 AND v3>=62);`, 4366 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4367 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4368 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4369 " ├─ colSet: (1-4)\n" + 4370 " ├─ tableId: 1\n" + 4371 " └─ Table\n" + 4372 " ├─ name: comp_index_t1\n" + 4373 " └─ columns: [pk v1 v2 v3]\n" + 4374 "", 4375 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4376 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4377 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4378 " └─ columns: [pk v1 v2 v3]\n" + 4379 "", 4380 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4381 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4382 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4383 " └─ columns: [pk v1 v2 v3]\n" + 4384 "", 4385 }, 4386 { 4387 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 28 AND 49 AND v2<47) OR (v1>37 AND v2 BETWEEN 45 AND 61 AND v3<73));`, 4388 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4389 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4390 " ├─ static: [{[28, 49], (NULL, 47), [NULL, ∞)}, {(37, 49], [47, 61], (NULL, 73)}, {(49, ∞), [45, 61], (NULL, 73)}]\n" + 4391 " ├─ colSet: (1-4)\n" + 4392 " ├─ tableId: 1\n" + 4393 " └─ Table\n" + 4394 " ├─ name: comp_index_t1\n" + 4395 " └─ columns: [pk v1 v2 v3]\n" + 4396 "", 4397 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4398 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4399 " ├─ filters: [{[28, 49], (NULL, 47), [NULL, ∞)}, {(37, 49], [47, 61], (NULL, 73)}, {(49, ∞), [45, 61], (NULL, 73)}]\n" + 4400 " └─ columns: [pk v1 v2 v3]\n" + 4401 "", 4402 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4403 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4404 " ├─ filters: [{[28, 49], (NULL, 47), [NULL, ∞)}, {(37, 49], [47, 61], (NULL, 73)}, {(49, ∞), [45, 61], (NULL, 73)}]\n" + 4405 " └─ columns: [pk v1 v2 v3]\n" + 4406 "", 4407 }, 4408 { 4409 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<37 AND v2>=26 AND v3<=14) OR (v1<64)) OR (v1 BETWEEN 31 AND 53 AND v2>55 AND v3<=55));`, 4410 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4411 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4412 " ├─ static: [{(NULL, 64), [NULL, ∞), [NULL, ∞)}]\n" + 4413 " ├─ colSet: (1-4)\n" + 4414 " ├─ tableId: 1\n" + 4415 " └─ Table\n" + 4416 " ├─ name: comp_index_t1\n" + 4417 " └─ columns: [pk v1 v2 v3]\n" + 4418 "", 4419 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4420 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4421 " ├─ filters: [{(NULL, 64), [NULL, ∞), [NULL, ∞)}]\n" + 4422 " └─ columns: [pk v1 v2 v3]\n" + 4423 "", 4424 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4425 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4426 " ├─ filters: [{(NULL, 64), [NULL, ∞), [NULL, ∞)}]\n" + 4427 " └─ columns: [pk v1 v2 v3]\n" + 4428 "", 4429 }, 4430 { 4431 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=77) OR (v1<50)) AND (v1<=53 AND v2>35 AND v3<>98);`, 4432 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4433 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4434 " ├─ static: [{(NULL, 50), (35, ∞), (NULL, 98)}, {(NULL, 50), (35, ∞), (98, ∞)}]\n" + 4435 " ├─ colSet: (1-4)\n" + 4436 " ├─ tableId: 1\n" + 4437 " └─ Table\n" + 4438 " ├─ name: comp_index_t1\n" + 4439 " └─ columns: [pk v1 v2 v3]\n" + 4440 "", 4441 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4442 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4443 " ├─ filters: [{(NULL, 50), (35, ∞), (NULL, 98)}, {(NULL, 50), (35, ∞), (98, ∞)}]\n" + 4444 " └─ columns: [pk v1 v2 v3]\n" + 4445 "", 4446 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4447 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4448 " ├─ filters: [{(NULL, 50), (35, ∞), (NULL, 98)}, {(NULL, 50), (35, ∞), (98, ∞)}]\n" + 4449 " └─ columns: [pk v1 v2 v3]\n" + 4450 "", 4451 }, 4452 { 4453 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1=2 AND v2=40 AND v3 BETWEEN 18 AND 67) OR (v1=14 AND v2<=24 AND v3<=87)) OR (v1 BETWEEN 8 AND 31 AND v2>86)) OR (v1>30));`, 4454 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4455 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4456 " ├─ static: [{[2, 2], [40, 40], [18, 67]}, {[8, 30], (86, ∞), [NULL, ∞)}, {[14, 14], (NULL, 24], (NULL, 87]}, {(30, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4457 " ├─ colSet: (1-4)\n" + 4458 " ├─ tableId: 1\n" + 4459 " └─ Table\n" + 4460 " ├─ name: comp_index_t1\n" + 4461 " └─ columns: [pk v1 v2 v3]\n" + 4462 "", 4463 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4464 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4465 " ├─ filters: [{[2, 2], [40, 40], [18, 67]}, {[8, 30], (86, ∞), [NULL, ∞)}, {[14, 14], (NULL, 24], (NULL, 87]}, {(30, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4466 " └─ columns: [pk v1 v2 v3]\n" + 4467 "", 4468 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4469 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4470 " ├─ filters: [{[2, 2], [40, 40], [18, 67]}, {[8, 30], (86, ∞), [NULL, ∞)}, {[14, 14], (NULL, 24], (NULL, 87]}, {(30, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4471 " └─ columns: [pk v1 v2 v3]\n" + 4472 "", 4473 }, 4474 { 4475 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>46 AND v2<>49 AND v3<=44) OR (v1 BETWEEN 64 AND 80 AND v2=41 AND v3<=68));`, 4476 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4477 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4478 " ├─ static: [{(46, 64), (NULL, 49), (NULL, 44]}, {(46, ∞), (49, ∞), (NULL, 44]}, {[64, 80], (NULL, 41), (NULL, 44]}, {[64, 80], [41, 41], (NULL, 68]}, {[64, 80], (41, 49), (NULL, 44]}, {(80, ∞), (NULL, 49), (NULL, 44]}]\n" + 4479 " ├─ colSet: (1-4)\n" + 4480 " ├─ tableId: 1\n" + 4481 " └─ Table\n" + 4482 " ├─ name: comp_index_t1\n" + 4483 " └─ columns: [pk v1 v2 v3]\n" + 4484 "", 4485 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4486 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4487 " ├─ filters: [{(46, 64), (NULL, 49), (NULL, 44]}, {(46, ∞), (49, ∞), (NULL, 44]}, {[64, 80], (NULL, 41), (NULL, 44]}, {[64, 80], [41, 41], (NULL, 68]}, {[64, 80], (41, 49), (NULL, 44]}, {(80, ∞), (NULL, 49), (NULL, 44]}]\n" + 4488 " └─ columns: [pk v1 v2 v3]\n" + 4489 "", 4490 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4491 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4492 " ├─ filters: [{(46, 64), (NULL, 49), (NULL, 44]}, {(46, ∞), (49, ∞), (NULL, 44]}, {[64, 80], (NULL, 41), (NULL, 44]}, {[64, 80], [41, 41], (NULL, 68]}, {[64, 80], (41, 49), (NULL, 44]}, {(80, ∞), (NULL, 49), (NULL, 44]}]\n" + 4493 " └─ columns: [pk v1 v2 v3]\n" + 4494 "", 4495 }, 4496 { 4497 Query: `SELECT * FROM comp_index_t1 WHERE ((v1=95 AND v3<47 AND v2>=97) OR (v1 BETWEEN 11 AND 36 AND v2<=83));`, 4498 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4499 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4500 " ├─ static: [{[11, 36], (NULL, 83], [NULL, ∞)}, {[95, 95], [97, ∞), (NULL, 47)}]\n" + 4501 " ├─ colSet: (1-4)\n" + 4502 " ├─ tableId: 1\n" + 4503 " └─ Table\n" + 4504 " ├─ name: comp_index_t1\n" + 4505 " └─ columns: [pk v1 v2 v3]\n" + 4506 "", 4507 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4508 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4509 " ├─ filters: [{[11, 36], (NULL, 83], [NULL, ∞)}, {[95, 95], [97, ∞), (NULL, 47)}]\n" + 4510 " └─ columns: [pk v1 v2 v3]\n" + 4511 "", 4512 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4513 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4514 " ├─ filters: [{[11, 36], (NULL, 83], [NULL, ∞)}, {[95, 95], [97, ∞), (NULL, 47)}]\n" + 4515 " └─ columns: [pk v1 v2 v3]\n" + 4516 "", 4517 }, 4518 { 4519 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=65 AND v2=39 AND v3 BETWEEN 49 AND 67) OR (v1<57 AND v2>35));`, 4520 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4521 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4522 " ├─ static: [{(NULL, 57), (35, ∞), [NULL, ∞)}, {[65, ∞), [39, 39], [49, 67]}]\n" + 4523 " ├─ colSet: (1-4)\n" + 4524 " ├─ tableId: 1\n" + 4525 " └─ Table\n" + 4526 " ├─ name: comp_index_t1\n" + 4527 " └─ columns: [pk v1 v2 v3]\n" + 4528 "", 4529 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4530 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4531 " ├─ filters: [{(NULL, 57), (35, ∞), [NULL, ∞)}, {[65, ∞), [39, 39], [49, 67]}]\n" + 4532 " └─ columns: [pk v1 v2 v3]\n" + 4533 "", 4534 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4535 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4536 " ├─ filters: [{(NULL, 57), (35, ∞), [NULL, ∞)}, {[65, ∞), [39, 39], [49, 67]}]\n" + 4537 " └─ columns: [pk v1 v2 v3]\n" + 4538 "", 4539 }, 4540 { 4541 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1>71 AND v2=33) OR (v1<>85 AND v2<>50 AND v3 BETWEEN 34 AND 67)) OR (v1 BETWEEN 5 AND 47 AND v3 BETWEEN 13 AND 76 AND v2=4)) OR (v1=16 AND v2>=29 AND v3<>80));`, 4542 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4543 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4544 " ├─ static: [{(NULL, 5), (NULL, 50), [34, 67]}, {(NULL, 16), (50, ∞), [34, 67]}, {[5, 16), (4, 50), [34, 67]}, {[5, 47], (NULL, 4), [34, 67]}, {[5, 47], [4, 4], [13, 76]}, {[16, 16], (4, 29), [34, 67]}, {[16, 16], [29, ∞), (NULL, 80)}, {[16, 16], [29, ∞), (80, ∞)}, {(16, 47], (4, 50), [34, 67]}, {(16, 85), (50, ∞), [34, 67]}, {(47, 71], (NULL, 50), [34, 67]}, {(71, 85), (NULL, 33), [34, 67]}, {(71, 85), (33, 50), [34, 67]}, {(71, ∞), [33, 33], [NULL, ∞)}, {(85, ∞), (NULL, 33), [34, 67]}, {(85, ∞), (33, 50), [34, 67]}, {(85, ∞), (50, ∞), [34, 67]}]\n" + 4545 " ├─ colSet: (1-4)\n" + 4546 " ├─ tableId: 1\n" + 4547 " └─ Table\n" + 4548 " ├─ name: comp_index_t1\n" + 4549 " └─ columns: [pk v1 v2 v3]\n" + 4550 "", 4551 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4552 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4553 " ├─ filters: [{(NULL, 5), (NULL, 50), [34, 67]}, {(NULL, 16), (50, ∞), [34, 67]}, {[5, 16), (4, 50), [34, 67]}, {[5, 47], (NULL, 4), [34, 67]}, {[5, 47], [4, 4], [13, 76]}, {[16, 16], (4, 29), [34, 67]}, {[16, 16], [29, ∞), (NULL, 80)}, {[16, 16], [29, ∞), (80, ∞)}, {(16, 47], (4, 50), [34, 67]}, {(16, 85), (50, ∞), [34, 67]}, {(47, 71], (NULL, 50), [34, 67]}, {(71, 85), (NULL, 33), [34, 67]}, {(71, 85), (33, 50), [34, 67]}, {(71, ∞), [33, 33], [NULL, ∞)}, {(85, ∞), (NULL, 33), [34, 67]}, {(85, ∞), (33, 50), [34, 67]}, {(85, ∞), (50, ∞), [34, 67]}]\n" + 4554 " └─ columns: [pk v1 v2 v3]\n" + 4555 "", 4556 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4557 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4558 " ├─ filters: [{(NULL, 5), (NULL, 50), [34, 67]}, {(NULL, 16), (50, ∞), [34, 67]}, {[5, 16), (4, 50), [34, 67]}, {[5, 47], (NULL, 4), [34, 67]}, {[5, 47], [4, 4], [13, 76]}, {[16, 16], (4, 29), [34, 67]}, {[16, 16], [29, ∞), (NULL, 80)}, {[16, 16], [29, ∞), (80, ∞)}, {(16, 47], (4, 50), [34, 67]}, {(16, 85), (50, ∞), [34, 67]}, {(47, 71], (NULL, 50), [34, 67]}, {(71, 85), (NULL, 33), [34, 67]}, {(71, 85), (33, 50), [34, 67]}, {(71, ∞), [33, 33], [NULL, ∞)}, {(85, ∞), (NULL, 33), [34, 67]}, {(85, ∞), (33, 50), [34, 67]}, {(85, ∞), (50, ∞), [34, 67]}]\n" + 4559 " └─ columns: [pk v1 v2 v3]\n" + 4560 "", 4561 }, 4562 { 4563 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<=17 AND v2>38) AND (v1>=79) OR (v1<>38));`, 4564 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4565 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4566 " ├─ static: [{(NULL, 38), [NULL, ∞), [NULL, ∞)}, {(38, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4567 " ├─ colSet: (1-4)\n" + 4568 " ├─ tableId: 1\n" + 4569 " └─ Table\n" + 4570 " ├─ name: comp_index_t1\n" + 4571 " └─ columns: [pk v1 v2 v3]\n" + 4572 "", 4573 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4574 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4575 " ├─ filters: [{(NULL, 38), [NULL, ∞), [NULL, ∞)}, {(38, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4576 " └─ columns: [pk v1 v2 v3]\n" + 4577 "", 4578 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4579 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4580 " ├─ filters: [{(NULL, 38), [NULL, ∞), [NULL, ∞)}, {(38, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4581 " └─ columns: [pk v1 v2 v3]\n" + 4582 "", 4583 }, 4584 { 4585 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=4 AND v2=26) OR (v1>21 AND v2 BETWEEN 14 AND 64));`, 4586 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4587 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4588 " ├─ static: [{[4, 21], [26, 26], [NULL, ∞)}, {(21, ∞), [14, 64], [NULL, ∞)}]\n" + 4589 " ├─ colSet: (1-4)\n" + 4590 " ├─ tableId: 1\n" + 4591 " └─ Table\n" + 4592 " ├─ name: comp_index_t1\n" + 4593 " └─ columns: [pk v1 v2 v3]\n" + 4594 "", 4595 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4596 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4597 " ├─ filters: [{[4, 21], [26, 26], [NULL, ∞)}, {(21, ∞), [14, 64], [NULL, ∞)}]\n" + 4598 " └─ columns: [pk v1 v2 v3]\n" + 4599 "", 4600 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4601 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4602 " ├─ filters: [{[4, 21], [26, 26], [NULL, ∞)}, {(21, ∞), [14, 64], [NULL, ∞)}]\n" + 4603 " └─ columns: [pk v1 v2 v3]\n" + 4604 "", 4605 }, 4606 { 4607 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>50) OR (v1<=58 AND v2<=95)) OR (v1=10));`, 4608 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4609 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4610 " ├─ static: [{(NULL, 50), [NULL, ∞), [NULL, ∞)}, {[50, 50], (NULL, 95], [NULL, ∞)}, {(50, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4611 " ├─ colSet: (1-4)\n" + 4612 " ├─ tableId: 1\n" + 4613 " └─ Table\n" + 4614 " ├─ name: comp_index_t1\n" + 4615 " └─ columns: [pk v1 v2 v3]\n" + 4616 "", 4617 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4618 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4619 " ├─ filters: [{(NULL, 50), [NULL, ∞), [NULL, ∞)}, {[50, 50], (NULL, 95], [NULL, ∞)}, {(50, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4620 " └─ columns: [pk v1 v2 v3]\n" + 4621 "", 4622 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4623 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4624 " ├─ filters: [{(NULL, 50), [NULL, ∞), [NULL, ∞)}, {[50, 50], (NULL, 95], [NULL, ∞)}, {(50, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4625 " └─ columns: [pk v1 v2 v3]\n" + 4626 "", 4627 }, 4628 { 4629 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1<=21 AND v2<>95) OR (v1<>23 AND v2 BETWEEN 15 AND 22)) OR (v1<=53 AND v2>=6)) OR (v1<=13 AND v2<>93 AND v3<15));`, 4630 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4631 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4632 " ├─ static: [{(NULL, 21], (NULL, ∞), [NULL, ∞)}, {(21, 53], [6, ∞), [NULL, ∞)}, {(53, ∞), [15, 22], [NULL, ∞)}]\n" + 4633 " ├─ colSet: (1-4)\n" + 4634 " ├─ tableId: 1\n" + 4635 " └─ Table\n" + 4636 " ├─ name: comp_index_t1\n" + 4637 " └─ columns: [pk v1 v2 v3]\n" + 4638 "", 4639 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4640 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4641 " ├─ filters: [{(NULL, 21], (NULL, ∞), [NULL, ∞)}, {(21, 53], [6, ∞), [NULL, ∞)}, {(53, ∞), [15, 22], [NULL, ∞)}]\n" + 4642 " └─ columns: [pk v1 v2 v3]\n" + 4643 "", 4644 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4645 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4646 " ├─ filters: [{(NULL, 21], (NULL, ∞), [NULL, ∞)}, {(21, 53], [6, ∞), [NULL, ∞)}, {(53, ∞), [15, 22], [NULL, ∞)}]\n" + 4647 " └─ columns: [pk v1 v2 v3]\n" + 4648 "", 4649 }, 4650 { 4651 Query: `SELECT * FROM comp_index_t1 WHERE (v1<64 AND v2>=90 AND v3>41) AND (v1>=14 AND v2 BETWEEN 30 AND 70 AND v3>=25);`, 4652 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4653 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4654 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4655 " ├─ colSet: (1-4)\n" + 4656 " ├─ tableId: 1\n" + 4657 " └─ Table\n" + 4658 " ├─ name: comp_index_t1\n" + 4659 " └─ columns: [pk v1 v2 v3]\n" + 4660 "", 4661 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4662 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4663 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4664 " └─ columns: [pk v1 v2 v3]\n" + 4665 "", 4666 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4667 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4668 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4669 " └─ columns: [pk v1 v2 v3]\n" + 4670 "", 4671 }, 4672 { 4673 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<27 AND v2<=43) OR (v1<62 AND v2<=99)) OR (v1<>48 AND v2<29 AND v3<>69));`, 4674 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4675 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4676 " ├─ static: [{(NULL, 62), (NULL, 99], [NULL, ∞)}, {[62, ∞), (NULL, 29), (NULL, 69)}, {[62, ∞), (NULL, 29), (69, ∞)}]\n" + 4677 " ├─ colSet: (1-4)\n" + 4678 " ├─ tableId: 1\n" + 4679 " └─ Table\n" + 4680 " ├─ name: comp_index_t1\n" + 4681 " └─ columns: [pk v1 v2 v3]\n" + 4682 "", 4683 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4684 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4685 " ├─ filters: [{(NULL, 62), (NULL, 99], [NULL, ∞)}, {[62, ∞), (NULL, 29), (NULL, 69)}, {[62, ∞), (NULL, 29), (69, ∞)}]\n" + 4686 " └─ columns: [pk v1 v2 v3]\n" + 4687 "", 4688 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4689 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4690 " ├─ filters: [{(NULL, 62), (NULL, 99], [NULL, ∞)}, {[62, ∞), (NULL, 29), (NULL, 69)}, {[62, ∞), (NULL, 29), (69, ∞)}]\n" + 4691 " └─ columns: [pk v1 v2 v3]\n" + 4692 "", 4693 }, 4694 { 4695 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<11 AND v2<70 AND v3>27) OR (v1>=80 AND v2<31 AND v3<65)) OR (v1>=98 AND v2 BETWEEN 30 AND 85 AND v3>=30));`, 4696 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4697 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4698 " ├─ static: [{(NULL, 11), (NULL, 70), (27, ∞)}, {[80, 98), (NULL, 31), (NULL, 65)}, {[98, ∞), (NULL, 30), (NULL, 65)}, {[98, ∞), [30, 31), (NULL, ∞)}, {[98, ∞), [31, 85], [30, ∞)}]\n" + 4699 " ├─ colSet: (1-4)\n" + 4700 " ├─ tableId: 1\n" + 4701 " └─ Table\n" + 4702 " ├─ name: comp_index_t1\n" + 4703 " └─ columns: [pk v1 v2 v3]\n" + 4704 "", 4705 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4706 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4707 " ├─ filters: [{(NULL, 11), (NULL, 70), (27, ∞)}, {[80, 98), (NULL, 31), (NULL, 65)}, {[98, ∞), (NULL, 30), (NULL, 65)}, {[98, ∞), [30, 31), (NULL, ∞)}, {[98, ∞), [31, 85], [30, ∞)}]\n" + 4708 " └─ columns: [pk v1 v2 v3]\n" + 4709 "", 4710 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4711 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4712 " ├─ filters: [{(NULL, 11), (NULL, 70), (27, ∞)}, {[80, 98), (NULL, 31), (NULL, 65)}, {[98, ∞), (NULL, 30), (NULL, 65)}, {[98, ∞), [30, 31), (NULL, ∞)}, {[98, ∞), [31, 85], [30, ∞)}]\n" + 4713 " └─ columns: [pk v1 v2 v3]\n" + 4714 "", 4715 }, 4716 { 4717 Query: `SELECT * FROM comp_index_t1 WHERE (v1<>44 AND v2>=10) AND (v1=47 AND v2=14 AND v3<30);`, 4718 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4719 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4720 " ├─ static: [{[47, 47], [14, 14], (NULL, 30)}]\n" + 4721 " ├─ colSet: (1-4)\n" + 4722 " ├─ tableId: 1\n" + 4723 " └─ Table\n" + 4724 " ├─ name: comp_index_t1\n" + 4725 " └─ columns: [pk v1 v2 v3]\n" + 4726 "", 4727 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4728 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4729 " ├─ filters: [{[47, 47], [14, 14], (NULL, 30)}]\n" + 4730 " └─ columns: [pk v1 v2 v3]\n" + 4731 "", 4732 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4733 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4734 " ├─ filters: [{[47, 47], [14, 14], (NULL, 30)}]\n" + 4735 " └─ columns: [pk v1 v2 v3]\n" + 4736 "", 4737 }, 4738 { 4739 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>6 AND v2=50) OR (v1>=16));`, 4740 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4741 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4742 " ├─ static: [{(6, 16), [50, 50], [NULL, ∞)}, {[16, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4743 " ├─ colSet: (1-4)\n" + 4744 " ├─ tableId: 1\n" + 4745 " └─ Table\n" + 4746 " ├─ name: comp_index_t1\n" + 4747 " └─ columns: [pk v1 v2 v3]\n" + 4748 "", 4749 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4750 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4751 " ├─ filters: [{(6, 16), [50, 50], [NULL, ∞)}, {[16, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4752 " └─ columns: [pk v1 v2 v3]\n" + 4753 "", 4754 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4755 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4756 " ├─ filters: [{(6, 16), [50, 50], [NULL, ∞)}, {[16, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4757 " └─ columns: [pk v1 v2 v3]\n" + 4758 "", 4759 }, 4760 { 4761 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>=31) OR (v1>53 AND v2<>11 AND v3<>94)) OR (v1>48 AND v2 BETWEEN 11 AND 29 AND v3 BETWEEN 68 AND 72));`, 4762 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4763 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4764 " ├─ static: [{[31, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4765 " ├─ colSet: (1-4)\n" + 4766 " ├─ tableId: 1\n" + 4767 " └─ Table\n" + 4768 " ├─ name: comp_index_t1\n" + 4769 " └─ columns: [pk v1 v2 v3]\n" + 4770 "", 4771 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4772 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4773 " ├─ filters: [{[31, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4774 " └─ columns: [pk v1 v2 v3]\n" + 4775 "", 4776 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4777 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4778 " ├─ filters: [{[31, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4779 " └─ columns: [pk v1 v2 v3]\n" + 4780 "", 4781 }, 4782 { 4783 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 55 AND 59) OR (v1<=10 AND v2>=24)) AND (v1>93 AND v3<70 AND v2 BETWEEN 44 AND 79) AND (v1>=22 AND v2=27);`, 4784 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4785 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4786 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4787 " ├─ colSet: (1-4)\n" + 4788 " ├─ tableId: 1\n" + 4789 " └─ Table\n" + 4790 " ├─ name: comp_index_t1\n" + 4791 " └─ columns: [pk v1 v2 v3]\n" + 4792 "", 4793 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4794 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4795 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4796 " └─ columns: [pk v1 v2 v3]\n" + 4797 "", 4798 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4799 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4800 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 4801 " └─ columns: [pk v1 v2 v3]\n" + 4802 "", 4803 }, 4804 { 4805 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=43 AND v2<28 AND v3<>24) OR (v1<36 AND v2=14 AND v3 BETWEEN 16 AND 55));`, 4806 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4807 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4808 " ├─ static: [{(NULL, 36), [14, 14], [16, 55]}, {[43, ∞), (NULL, 28), (NULL, 24)}, {[43, ∞), (NULL, 28), (24, ∞)}]\n" + 4809 " ├─ colSet: (1-4)\n" + 4810 " ├─ tableId: 1\n" + 4811 " └─ Table\n" + 4812 " ├─ name: comp_index_t1\n" + 4813 " └─ columns: [pk v1 v2 v3]\n" + 4814 "", 4815 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4816 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4817 " ├─ filters: [{(NULL, 36), [14, 14], [16, 55]}, {[43, ∞), (NULL, 28), (NULL, 24)}, {[43, ∞), (NULL, 28), (24, ∞)}]\n" + 4818 " └─ columns: [pk v1 v2 v3]\n" + 4819 "", 4820 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4821 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4822 " ├─ filters: [{(NULL, 36), [14, 14], [16, 55]}, {[43, ∞), (NULL, 28), (NULL, 24)}, {[43, ∞), (NULL, 28), (24, ∞)}]\n" + 4823 " └─ columns: [pk v1 v2 v3]\n" + 4824 "", 4825 }, 4826 { 4827 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>48 AND v2<=80) OR (v1=72 AND v3 BETWEEN 45 AND 52 AND v2=98));`, 4828 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4829 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4830 " ├─ static: [{(48, ∞), (NULL, 80], [NULL, ∞)}, {[72, 72], [98, 98], [45, 52]}]\n" + 4831 " ├─ colSet: (1-4)\n" + 4832 " ├─ tableId: 1\n" + 4833 " └─ Table\n" + 4834 " ├─ name: comp_index_t1\n" + 4835 " └─ columns: [pk v1 v2 v3]\n" + 4836 "", 4837 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4838 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4839 " ├─ filters: [{(48, ∞), (NULL, 80], [NULL, ∞)}, {[72, 72], [98, 98], [45, 52]}]\n" + 4840 " └─ columns: [pk v1 v2 v3]\n" + 4841 "", 4842 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4843 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4844 " ├─ filters: [{(48, ∞), (NULL, 80], [NULL, ∞)}, {[72, 72], [98, 98], [45, 52]}]\n" + 4845 " └─ columns: [pk v1 v2 v3]\n" + 4846 "", 4847 }, 4848 { 4849 Query: `SELECT * FROM comp_index_t1 WHERE (v1>=98 AND v2=51) AND (v1>34);`, 4850 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4851 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4852 " ├─ static: [{[98, ∞), [51, 51], [NULL, ∞)}]\n" + 4853 " ├─ colSet: (1-4)\n" + 4854 " ├─ tableId: 1\n" + 4855 " └─ Table\n" + 4856 " ├─ name: comp_index_t1\n" + 4857 " └─ columns: [pk v1 v2 v3]\n" + 4858 "", 4859 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4860 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4861 " ├─ filters: [{[98, ∞), [51, 51], [NULL, ∞)}]\n" + 4862 " └─ columns: [pk v1 v2 v3]\n" + 4863 "", 4864 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4865 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4866 " ├─ filters: [{[98, ∞), [51, 51], [NULL, ∞)}]\n" + 4867 " └─ columns: [pk v1 v2 v3]\n" + 4868 "", 4869 }, 4870 { 4871 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>2) OR (v1<=30)) OR (v1<>35 AND v2 BETWEEN 6 AND 61 AND v3>=16));`, 4872 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4873 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4874 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4875 " ├─ colSet: (1-4)\n" + 4876 " ├─ tableId: 1\n" + 4877 " └─ Table\n" + 4878 " ├─ name: comp_index_t1\n" + 4879 " └─ columns: [pk v1 v2 v3]\n" + 4880 "", 4881 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4882 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4883 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4884 " └─ columns: [pk v1 v2 v3]\n" + 4885 "", 4886 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4887 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4888 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4889 " └─ columns: [pk v1 v2 v3]\n" + 4890 "", 4891 }, 4892 { 4893 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>19) OR (v1<>48));`, 4894 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4895 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4896 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4897 " ├─ colSet: (1-4)\n" + 4898 " ├─ tableId: 1\n" + 4899 " └─ Table\n" + 4900 " ├─ name: comp_index_t1\n" + 4901 " └─ columns: [pk v1 v2 v3]\n" + 4902 "", 4903 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4904 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4905 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4906 " └─ columns: [pk v1 v2 v3]\n" + 4907 "", 4908 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4909 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4910 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4911 " └─ columns: [pk v1 v2 v3]\n" + 4912 "", 4913 }, 4914 { 4915 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 12 AND 42 AND v2<=12) OR (v1<34 AND v2 BETWEEN 30 AND 47 AND v3<>50));`, 4916 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4917 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4918 " ├─ static: [{(NULL, 34), [30, 47], (NULL, 50)}, {(NULL, 34), [30, 47], (50, ∞)}, {[12, 42], (NULL, 12], [NULL, ∞)}]\n" + 4919 " ├─ colSet: (1-4)\n" + 4920 " ├─ tableId: 1\n" + 4921 " └─ Table\n" + 4922 " ├─ name: comp_index_t1\n" + 4923 " └─ columns: [pk v1 v2 v3]\n" + 4924 "", 4925 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4926 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4927 " ├─ filters: [{(NULL, 34), [30, 47], (NULL, 50)}, {(NULL, 34), [30, 47], (50, ∞)}, {[12, 42], (NULL, 12], [NULL, ∞)}]\n" + 4928 " └─ columns: [pk v1 v2 v3]\n" + 4929 "", 4930 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4931 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4932 " ├─ filters: [{(NULL, 34), [30, 47], (NULL, 50)}, {(NULL, 34), [30, 47], (50, ∞)}, {[12, 42], (NULL, 12], [NULL, ∞)}]\n" + 4933 " └─ columns: [pk v1 v2 v3]\n" + 4934 "", 4935 }, 4936 { 4937 Query: `SELECT * FROM comp_index_t1 WHERE (((((v1>=6) OR (v1>7)) OR (v1<88 AND v2<=34 AND v3<=47)) OR (v1>=10)) OR (v1=10));`, 4938 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4939 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4940 " ├─ static: [{(NULL, 6), (NULL, 34], (NULL, 47]}, {[6, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4941 " ├─ colSet: (1-4)\n" + 4942 " ├─ tableId: 1\n" + 4943 " └─ Table\n" + 4944 " ├─ name: comp_index_t1\n" + 4945 " └─ columns: [pk v1 v2 v3]\n" + 4946 "", 4947 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4948 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4949 " ├─ filters: [{(NULL, 6), (NULL, 34], (NULL, 47]}, {[6, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4950 " └─ columns: [pk v1 v2 v3]\n" + 4951 "", 4952 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4953 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4954 " ├─ filters: [{(NULL, 6), (NULL, 34], (NULL, 47]}, {[6, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4955 " └─ columns: [pk v1 v2 v3]\n" + 4956 "", 4957 }, 4958 { 4959 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>=74) OR (v1>=1)) OR (v1=54 AND v2>=38 AND v3>2)) AND (v1>5);`, 4960 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4961 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4962 " ├─ static: [{(5, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4963 " ├─ colSet: (1-4)\n" + 4964 " ├─ tableId: 1\n" + 4965 " └─ Table\n" + 4966 " ├─ name: comp_index_t1\n" + 4967 " └─ columns: [pk v1 v2 v3]\n" + 4968 "", 4969 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4970 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4971 " ├─ filters: [{(5, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4972 " └─ columns: [pk v1 v2 v3]\n" + 4973 "", 4974 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4975 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4976 " ├─ filters: [{(5, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 4977 " └─ columns: [pk v1 v2 v3]\n" + 4978 "", 4979 }, 4980 { 4981 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=45 AND v2>18) OR (v1<64 AND v2=25 AND v3>97));`, 4982 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 4983 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4984 " ├─ static: [{(NULL, 45), [25, 25], (97, ∞)}, {[45, ∞), (18, ∞), [NULL, ∞)}]\n" + 4985 " ├─ colSet: (1-4)\n" + 4986 " ├─ tableId: 1\n" + 4987 " └─ Table\n" + 4988 " ├─ name: comp_index_t1\n" + 4989 " └─ columns: [pk v1 v2 v3]\n" + 4990 "", 4991 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 4992 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4993 " ├─ filters: [{(NULL, 45), [25, 25], (97, ∞)}, {[45, ∞), (18, ∞), [NULL, ∞)}]\n" + 4994 " └─ columns: [pk v1 v2 v3]\n" + 4995 "", 4996 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 4997 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 4998 " ├─ filters: [{(NULL, 45), [25, 25], (97, ∞)}, {[45, ∞), (18, ∞), [NULL, ∞)}]\n" + 4999 " └─ columns: [pk v1 v2 v3]\n" + 5000 "", 5001 }, 5002 { 5003 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<37 AND v3>77) OR (v1>38 AND v3<>57 AND v2=87));`, 5004 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5005 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5006 " ├─ static: [{(NULL, 37), [NULL, ∞), (77, ∞)}, {(38, ∞), [87, 87], (NULL, 57)}, {(38, ∞), [87, 87], (57, ∞)}]\n" + 5007 " ├─ colSet: (1-4)\n" + 5008 " ├─ tableId: 1\n" + 5009 " └─ Table\n" + 5010 " ├─ name: comp_index_t1\n" + 5011 " └─ columns: [pk v1 v2 v3]\n" + 5012 "", 5013 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5014 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5015 " ├─ filters: [{(NULL, 37), [NULL, ∞), (77, ∞)}, {(38, ∞), [87, 87], (NULL, 57)}, {(38, ∞), [87, 87], (57, ∞)}]\n" + 5016 " └─ columns: [pk v1 v2 v3]\n" + 5017 "", 5018 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5019 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5020 " ├─ filters: [{(NULL, 37), [NULL, ∞), (77, ∞)}, {(38, ∞), [87, 87], (NULL, 57)}, {(38, ∞), [87, 87], (57, ∞)}]\n" + 5021 " └─ columns: [pk v1 v2 v3]\n" + 5022 "", 5023 }, 5024 { 5025 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1<96 AND v2>11 AND v3<76) OR (v1<=14 AND v2=23)) OR (v1<=15 AND v2<21 AND v3<91)) OR (v1=45 AND v2<11 AND v3=1));`, 5026 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5027 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5028 " ├─ static: [{(NULL, 14], [21, 23), (NULL, 76)}, {(NULL, 14], [23, 23], [NULL, ∞)}, {(NULL, 14], (23, ∞), (NULL, 76)}, {(NULL, 15], (NULL, 21), (NULL, 91)}, {(14, 15], [21, ∞), (NULL, 76)}, {(15, 96), (11, ∞), (NULL, 76)}, {[45, 45], (NULL, 11), [1, 1]}]\n" + 5029 " ├─ colSet: (1-4)\n" + 5030 " ├─ tableId: 1\n" + 5031 " └─ Table\n" + 5032 " ├─ name: comp_index_t1\n" + 5033 " └─ columns: [pk v1 v2 v3]\n" + 5034 "", 5035 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5036 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5037 " ├─ filters: [{(NULL, 14], [21, 23), (NULL, 76)}, {(NULL, 14], [23, 23], [NULL, ∞)}, {(NULL, 14], (23, ∞), (NULL, 76)}, {(NULL, 15], (NULL, 21), (NULL, 91)}, {(14, 15], [21, ∞), (NULL, 76)}, {(15, 96), (11, ∞), (NULL, 76)}, {[45, 45], (NULL, 11), [1, 1]}]\n" + 5038 " └─ columns: [pk v1 v2 v3]\n" + 5039 "", 5040 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5041 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5042 " ├─ filters: [{(NULL, 14], [21, 23), (NULL, 76)}, {(NULL, 14], [23, 23], [NULL, ∞)}, {(NULL, 14], (23, ∞), (NULL, 76)}, {(NULL, 15], (NULL, 21), (NULL, 91)}, {(14, 15], [21, ∞), (NULL, 76)}, {(15, 96), (11, ∞), (NULL, 76)}, {[45, 45], (NULL, 11), [1, 1]}]\n" + 5043 " └─ columns: [pk v1 v2 v3]\n" + 5044 "", 5045 }, 5046 { 5047 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>23 AND v3<=52) OR (v1<>19 AND v2=25));`, 5048 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5049 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5050 " ├─ static: [{(NULL, 19), [NULL, 25), (NULL, 52]}, {(NULL, 19), [25, 25], [NULL, ∞)}, {(NULL, 19), (25, ∞), (NULL, 52]}, {[19, 19], [NULL, ∞), (NULL, 52]}, {(19, 23), [NULL, 25), (NULL, 52]}, {(19, 23), (25, ∞), (NULL, 52]}, {(19, ∞), [25, 25], [NULL, ∞)}, {(23, ∞), [NULL, 25), (NULL, 52]}, {(23, ∞), (25, ∞), (NULL, 52]}]\n" + 5051 " ├─ colSet: (1-4)\n" + 5052 " ├─ tableId: 1\n" + 5053 " └─ Table\n" + 5054 " ├─ name: comp_index_t1\n" + 5055 " └─ columns: [pk v1 v2 v3]\n" + 5056 "", 5057 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5058 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5059 " ├─ filters: [{(NULL, 19), [NULL, 25), (NULL, 52]}, {(NULL, 19), [25, 25], [NULL, ∞)}, {(NULL, 19), (25, ∞), (NULL, 52]}, {[19, 19], [NULL, ∞), (NULL, 52]}, {(19, 23), [NULL, 25), (NULL, 52]}, {(19, 23), (25, ∞), (NULL, 52]}, {(19, ∞), [25, 25], [NULL, ∞)}, {(23, ∞), [NULL, 25), (NULL, 52]}, {(23, ∞), (25, ∞), (NULL, 52]}]\n" + 5060 " └─ columns: [pk v1 v2 v3]\n" + 5061 "", 5062 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5063 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5064 " ├─ filters: [{(NULL, 19), [NULL, 25), (NULL, 52]}, {(NULL, 19), [25, 25], [NULL, ∞)}, {(NULL, 19), (25, ∞), (NULL, 52]}, {[19, 19], [NULL, ∞), (NULL, 52]}, {(19, 23), [NULL, 25), (NULL, 52]}, {(19, 23), (25, ∞), (NULL, 52]}, {(19, ∞), [25, 25], [NULL, ∞)}, {(23, ∞), [NULL, 25), (NULL, 52]}, {(23, ∞), (25, ∞), (NULL, 52]}]\n" + 5065 " └─ columns: [pk v1 v2 v3]\n" + 5066 "", 5067 }, 5068 { 5069 Query: `SELECT * FROM comp_index_t1 WHERE (v1<=12 AND v2>=65) AND (v1<6 AND v2>=92);`, 5070 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5071 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5072 " ├─ static: [{(NULL, 6), [92, ∞), [NULL, ∞)}]\n" + 5073 " ├─ colSet: (1-4)\n" + 5074 " ├─ tableId: 1\n" + 5075 " └─ Table\n" + 5076 " ├─ name: comp_index_t1\n" + 5077 " └─ columns: [pk v1 v2 v3]\n" + 5078 "", 5079 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5080 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5081 " ├─ filters: [{(NULL, 6), [92, ∞), [NULL, ∞)}]\n" + 5082 " └─ columns: [pk v1 v2 v3]\n" + 5083 "", 5084 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5085 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5086 " ├─ filters: [{(NULL, 6), [92, ∞), [NULL, ∞)}]\n" + 5087 " └─ columns: [pk v1 v2 v3]\n" + 5088 "", 5089 }, 5090 { 5091 Query: `SELECT * FROM comp_index_t1 WHERE ((v1=62 AND v2<>32) OR (v1>=55 AND v2=41 AND v3>73));`, 5092 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5093 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5094 " ├─ static: [{[55, 62), [41, 41], (73, ∞)}, {[62, 62], (NULL, 32), [NULL, ∞)}, {[62, 62], (32, ∞), [NULL, ∞)}, {(62, ∞), [41, 41], (73, ∞)}]\n" + 5095 " ├─ colSet: (1-4)\n" + 5096 " ├─ tableId: 1\n" + 5097 " └─ Table\n" + 5098 " ├─ name: comp_index_t1\n" + 5099 " └─ columns: [pk v1 v2 v3]\n" + 5100 "", 5101 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5102 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5103 " ├─ filters: [{[55, 62), [41, 41], (73, ∞)}, {[62, 62], (NULL, 32), [NULL, ∞)}, {[62, 62], (32, ∞), [NULL, ∞)}, {(62, ∞), [41, 41], (73, ∞)}]\n" + 5104 " └─ columns: [pk v1 v2 v3]\n" + 5105 "", 5106 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5107 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5108 " ├─ filters: [{[55, 62), [41, 41], (73, ∞)}, {[62, 62], (NULL, 32), [NULL, ∞)}, {[62, 62], (32, ∞), [NULL, ∞)}, {(62, ∞), [41, 41], (73, ∞)}]\n" + 5109 " └─ columns: [pk v1 v2 v3]\n" + 5110 "", 5111 }, 5112 { 5113 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>34 AND v2<=62) OR (v1>5 AND v2 BETWEEN 59 AND 98 AND v3<69)) OR (v1>34));`, 5114 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5115 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5116 " ├─ static: [{(NULL, 34), (NULL, 62], [NULL, ∞)}, {(5, 34), (62, 98], (NULL, 69)}, {[34, 34], [59, 98], (NULL, 69)}, {(34, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5117 " ├─ colSet: (1-4)\n" + 5118 " ├─ tableId: 1\n" + 5119 " └─ Table\n" + 5120 " ├─ name: comp_index_t1\n" + 5121 " └─ columns: [pk v1 v2 v3]\n" + 5122 "", 5123 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5124 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5125 " ├─ filters: [{(NULL, 34), (NULL, 62], [NULL, ∞)}, {(5, 34), (62, 98], (NULL, 69)}, {[34, 34], [59, 98], (NULL, 69)}, {(34, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5126 " └─ columns: [pk v1 v2 v3]\n" + 5127 "", 5128 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5129 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5130 " ├─ filters: [{(NULL, 34), (NULL, 62], [NULL, ∞)}, {(5, 34), (62, 98], (NULL, 69)}, {[34, 34], [59, 98], (NULL, 69)}, {(34, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5131 " └─ columns: [pk v1 v2 v3]\n" + 5132 "", 5133 }, 5134 { 5135 Query: `SELECT * FROM comp_index_t1 WHERE (((v1=61 AND v2 BETWEEN 10 AND 22 AND v3<34) OR (v1=68)) OR (v1<=97 AND v3 BETWEEN 7 AND 63 AND v2<67));`, 5136 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5137 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5138 " ├─ static: [{(NULL, 61), (NULL, 67), [7, 63]}, {[61, 61], (NULL, 10), [7, 63]}, {[61, 61], [10, 22], (NULL, 63]}, {[61, 61], (22, 67), [7, 63]}, {(61, 68), (NULL, 67), [7, 63]}, {[68, 68], [NULL, ∞), [NULL, ∞)}, {(68, 97], (NULL, 67), [7, 63]}]\n" + 5139 " ├─ colSet: (1-4)\n" + 5140 " ├─ tableId: 1\n" + 5141 " └─ Table\n" + 5142 " ├─ name: comp_index_t1\n" + 5143 " └─ columns: [pk v1 v2 v3]\n" + 5144 "", 5145 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5146 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5147 " ├─ filters: [{(NULL, 61), (NULL, 67), [7, 63]}, {[61, 61], (NULL, 10), [7, 63]}, {[61, 61], [10, 22], (NULL, 63]}, {[61, 61], (22, 67), [7, 63]}, {(61, 68), (NULL, 67), [7, 63]}, {[68, 68], [NULL, ∞), [NULL, ∞)}, {(68, 97], (NULL, 67), [7, 63]}]\n" + 5148 " └─ columns: [pk v1 v2 v3]\n" + 5149 "", 5150 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5151 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5152 " ├─ filters: [{(NULL, 61), (NULL, 67), [7, 63]}, {[61, 61], (NULL, 10), [7, 63]}, {[61, 61], [10, 22], (NULL, 63]}, {[61, 61], (22, 67), [7, 63]}, {(61, 68), (NULL, 67), [7, 63]}, {[68, 68], [NULL, ∞), [NULL, ∞)}, {(68, 97], (NULL, 67), [7, 63]}]\n" + 5153 " └─ columns: [pk v1 v2 v3]\n" + 5154 "", 5155 }, 5156 { 5157 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<=42) OR (v1 BETWEEN 13 AND 30 AND v2<50));`, 5158 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5159 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5160 " ├─ static: [{(NULL, 42], [NULL, ∞), [NULL, ∞)}]\n" + 5161 " ├─ colSet: (1-4)\n" + 5162 " ├─ tableId: 1\n" + 5163 " └─ Table\n" + 5164 " ├─ name: comp_index_t1\n" + 5165 " └─ columns: [pk v1 v2 v3]\n" + 5166 "", 5167 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5168 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5169 " ├─ filters: [{(NULL, 42], [NULL, ∞), [NULL, ∞)}]\n" + 5170 " └─ columns: [pk v1 v2 v3]\n" + 5171 "", 5172 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5173 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5174 " ├─ filters: [{(NULL, 42], [NULL, ∞), [NULL, ∞)}]\n" + 5175 " └─ columns: [pk v1 v2 v3]\n" + 5176 "", 5177 }, 5178 { 5179 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 16 AND 49) OR (v1<=69 AND v2>9 AND v3<=8));`, 5180 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5181 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5182 " ├─ static: [{(NULL, 16), (9, ∞), (NULL, 8]}, {[16, 49], [NULL, ∞), [NULL, ∞)}, {(49, 69], (9, ∞), (NULL, 8]}]\n" + 5183 " ├─ colSet: (1-4)\n" + 5184 " ├─ tableId: 1\n" + 5185 " └─ Table\n" + 5186 " ├─ name: comp_index_t1\n" + 5187 " └─ columns: [pk v1 v2 v3]\n" + 5188 "", 5189 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5190 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5191 " ├─ filters: [{(NULL, 16), (9, ∞), (NULL, 8]}, {[16, 49], [NULL, ∞), [NULL, ∞)}, {(49, 69], (9, ∞), (NULL, 8]}]\n" + 5192 " └─ columns: [pk v1 v2 v3]\n" + 5193 "", 5194 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5195 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5196 " ├─ filters: [{(NULL, 16), (9, ∞), (NULL, 8]}, {[16, 49], [NULL, ∞), [NULL, ∞)}, {(49, 69], (9, ∞), (NULL, 8]}]\n" + 5197 " └─ columns: [pk v1 v2 v3]\n" + 5198 "", 5199 }, 5200 { 5201 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>71 AND v2>44) OR (v1<76 AND v2>=10)) OR (v1>=44 AND v2=66));`, 5202 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5203 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5204 " ├─ static: [{(NULL, 76), [10, ∞), [NULL, ∞)}, {[76, ∞), (44, ∞), [NULL, ∞)}]\n" + 5205 " ├─ colSet: (1-4)\n" + 5206 " ├─ tableId: 1\n" + 5207 " └─ Table\n" + 5208 " ├─ name: comp_index_t1\n" + 5209 " └─ columns: [pk v1 v2 v3]\n" + 5210 "", 5211 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5212 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5213 " ├─ filters: [{(NULL, 76), [10, ∞), [NULL, ∞)}, {[76, ∞), (44, ∞), [NULL, ∞)}]\n" + 5214 " └─ columns: [pk v1 v2 v3]\n" + 5215 "", 5216 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5217 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5218 " ├─ filters: [{(NULL, 76), [10, ∞), [NULL, ∞)}, {[76, ∞), (44, ∞), [NULL, ∞)}]\n" + 5219 " └─ columns: [pk v1 v2 v3]\n" + 5220 "", 5221 }, 5222 { 5223 Query: `SELECT * FROM comp_index_t1 WHERE ((((((v1>=26) OR (v1>=13 AND v2 BETWEEN 35 AND 95 AND v3>=29)) OR (v1<>54 AND v2 BETWEEN 0 AND 54)) OR (v1 BETWEEN 17 AND 17 AND v2<=71)) OR (v1>50 AND v3>=42)) OR (v1<>0));`, 5224 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5225 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5226 " ├─ static: [{(NULL, 0), [NULL, ∞), [NULL, ∞)}, {[0, 0], [0, 54], [NULL, ∞)}, {(0, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5227 " ├─ colSet: (1-4)\n" + 5228 " ├─ tableId: 1\n" + 5229 " └─ Table\n" + 5230 " ├─ name: comp_index_t1\n" + 5231 " └─ columns: [pk v1 v2 v3]\n" + 5232 "", 5233 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5234 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5235 " ├─ filters: [{(NULL, 0), [NULL, ∞), [NULL, ∞)}, {[0, 0], [0, 54], [NULL, ∞)}, {(0, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5236 " └─ columns: [pk v1 v2 v3]\n" + 5237 "", 5238 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5239 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5240 " ├─ filters: [{(NULL, 0), [NULL, ∞), [NULL, ∞)}, {[0, 0], [0, 54], [NULL, ∞)}, {(0, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5241 " └─ columns: [pk v1 v2 v3]\n" + 5242 "", 5243 }, 5244 { 5245 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>=99 AND v2<66) OR (v1 BETWEEN 1 AND 47)) OR (v1<>2 AND v2<30));`, 5246 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5247 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5248 " ├─ static: [{(NULL, 1), (NULL, 30), [NULL, ∞)}, {[1, 47], [NULL, ∞), [NULL, ∞)}, {(47, 99), (NULL, 30), [NULL, ∞)}, {[99, ∞), (NULL, 66), [NULL, ∞)}]\n" + 5249 " ├─ colSet: (1-4)\n" + 5250 " ├─ tableId: 1\n" + 5251 " └─ Table\n" + 5252 " ├─ name: comp_index_t1\n" + 5253 " └─ columns: [pk v1 v2 v3]\n" + 5254 "", 5255 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5256 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5257 " ├─ filters: [{(NULL, 1), (NULL, 30), [NULL, ∞)}, {[1, 47], [NULL, ∞), [NULL, ∞)}, {(47, 99), (NULL, 30), [NULL, ∞)}, {[99, ∞), (NULL, 66), [NULL, ∞)}]\n" + 5258 " └─ columns: [pk v1 v2 v3]\n" + 5259 "", 5260 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5261 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5262 " ├─ filters: [{(NULL, 1), (NULL, 30), [NULL, ∞)}, {[1, 47], [NULL, ∞), [NULL, ∞)}, {(47, 99), (NULL, 30), [NULL, ∞)}, {[99, ∞), (NULL, 66), [NULL, ∞)}]\n" + 5263 " └─ columns: [pk v1 v2 v3]\n" + 5264 "", 5265 }, 5266 { 5267 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>9 AND v2<74) AND (v1<=63 AND v2=18) OR (v1<46));`, 5268 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5269 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5270 " ├─ static: [{(NULL, 46), [NULL, ∞), [NULL, ∞)}, {[46, 63], [18, 18], [NULL, ∞)}]\n" + 5271 " ├─ colSet: (1-4)\n" + 5272 " ├─ tableId: 1\n" + 5273 " └─ Table\n" + 5274 " ├─ name: comp_index_t1\n" + 5275 " └─ columns: [pk v1 v2 v3]\n" + 5276 "", 5277 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5278 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5279 " ├─ filters: [{(NULL, 46), [NULL, ∞), [NULL, ∞)}, {[46, 63], [18, 18], [NULL, ∞)}]\n" + 5280 " └─ columns: [pk v1 v2 v3]\n" + 5281 "", 5282 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5283 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5284 " ├─ filters: [{(NULL, 46), [NULL, ∞), [NULL, ∞)}, {[46, 63], [18, 18], [NULL, ∞)}]\n" + 5285 " └─ columns: [pk v1 v2 v3]\n" + 5286 "", 5287 }, 5288 { 5289 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<=20 AND v2<=62) OR (v1>45 AND v2=33 AND v3<=4)) OR (v1>29));`, 5290 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5291 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5292 " ├─ static: [{(NULL, 20], (NULL, 62], [NULL, ∞)}, {(29, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5293 " ├─ colSet: (1-4)\n" + 5294 " ├─ tableId: 1\n" + 5295 " └─ Table\n" + 5296 " ├─ name: comp_index_t1\n" + 5297 " └─ columns: [pk v1 v2 v3]\n" + 5298 "", 5299 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5300 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5301 " ├─ filters: [{(NULL, 20], (NULL, 62], [NULL, ∞)}, {(29, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5302 " └─ columns: [pk v1 v2 v3]\n" + 5303 "", 5304 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5305 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5306 " ├─ filters: [{(NULL, 20], (NULL, 62], [NULL, ∞)}, {(29, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5307 " └─ columns: [pk v1 v2 v3]\n" + 5308 "", 5309 }, 5310 { 5311 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1<=55 AND v2 BETWEEN 82 AND 96 AND v3>=13) OR (v1>=89 AND v2<18 AND v3<19)) OR (v1=98 AND v3>=40)) OR (v1 BETWEEN 7 AND 74 AND v2<=73));`, 5312 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5313 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5314 " ├─ static: [{(NULL, 55], [82, 96], [13, ∞)}, {[7, 74], (NULL, 73], [NULL, ∞)}, {[89, ∞), (NULL, 18), (NULL, 19)}, {[98, 98], [NULL, ∞), [40, ∞)}]\n" + 5315 " ├─ colSet: (1-4)\n" + 5316 " ├─ tableId: 1\n" + 5317 " └─ Table\n" + 5318 " ├─ name: comp_index_t1\n" + 5319 " └─ columns: [pk v1 v2 v3]\n" + 5320 "", 5321 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5322 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5323 " ├─ filters: [{(NULL, 55], [82, 96], [13, ∞)}, {[7, 74], (NULL, 73], [NULL, ∞)}, {[89, ∞), (NULL, 18), (NULL, 19)}, {[98, 98], [NULL, ∞), [40, ∞)}]\n" + 5324 " └─ columns: [pk v1 v2 v3]\n" + 5325 "", 5326 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5327 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5328 " ├─ filters: [{(NULL, 55], [82, 96], [13, ∞)}, {[7, 74], (NULL, 73], [NULL, ∞)}, {[89, ∞), (NULL, 18), (NULL, 19)}, {[98, 98], [NULL, ∞), [40, ∞)}]\n" + 5329 " └─ columns: [pk v1 v2 v3]\n" + 5330 "", 5331 }, 5332 { 5333 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=26 AND v2 BETWEEN 6 AND 80) AND (v1=47 AND v2<67 AND v3<7) OR (v1>63));`, 5334 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5335 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5336 " ├─ static: [{[47, 47], [6, 67), (NULL, 7)}, {(63, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5337 " ├─ colSet: (1-4)\n" + 5338 " ├─ tableId: 1\n" + 5339 " └─ Table\n" + 5340 " ├─ name: comp_index_t1\n" + 5341 " └─ columns: [pk v1 v2 v3]\n" + 5342 "", 5343 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5344 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5345 " ├─ filters: [{[47, 47], [6, 67), (NULL, 7)}, {(63, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5346 " └─ columns: [pk v1 v2 v3]\n" + 5347 "", 5348 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5349 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5350 " ├─ filters: [{[47, 47], [6, 67), (NULL, 7)}, {(63, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5351 " └─ columns: [pk v1 v2 v3]\n" + 5352 "", 5353 }, 5354 { 5355 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<11) OR (v1<>33));`, 5356 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5357 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5358 " ├─ static: [{(NULL, 33), [NULL, ∞), [NULL, ∞)}, {(33, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5359 " ├─ colSet: (1-4)\n" + 5360 " ├─ tableId: 1\n" + 5361 " └─ Table\n" + 5362 " ├─ name: comp_index_t1\n" + 5363 " └─ columns: [pk v1 v2 v3]\n" + 5364 "", 5365 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5366 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5367 " ├─ filters: [{(NULL, 33), [NULL, ∞), [NULL, ∞)}, {(33, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5368 " └─ columns: [pk v1 v2 v3]\n" + 5369 "", 5370 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5371 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5372 " ├─ filters: [{(NULL, 33), [NULL, ∞), [NULL, ∞)}, {(33, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5373 " └─ columns: [pk v1 v2 v3]\n" + 5374 "", 5375 }, 5376 { 5377 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1<=35) AND (v1=44 AND v2<78 AND v3>=40) OR (v1<>88 AND v2=8)) AND (v1>=99 AND v2=62) OR (v1<=94)) OR (v1 BETWEEN 22 AND 23 AND v2 BETWEEN 14 AND 46));`, 5378 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5379 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5380 " ├─ static: [{(NULL, 94], [NULL, ∞), [NULL, ∞)}]\n" + 5381 " ├─ colSet: (1-4)\n" + 5382 " ├─ tableId: 1\n" + 5383 " └─ Table\n" + 5384 " ├─ name: comp_index_t1\n" + 5385 " └─ columns: [pk v1 v2 v3]\n" + 5386 "", 5387 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5388 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5389 " ├─ filters: [{(NULL, 94], [NULL, ∞), [NULL, ∞)}]\n" + 5390 " └─ columns: [pk v1 v2 v3]\n" + 5391 "", 5392 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5393 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5394 " ├─ filters: [{(NULL, 94], [NULL, ∞), [NULL, ∞)}]\n" + 5395 " └─ columns: [pk v1 v2 v3]\n" + 5396 "", 5397 }, 5398 { 5399 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<9 AND v2=94 AND v3>8) OR (v1>=63));`, 5400 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5401 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5402 " ├─ static: [{(NULL, 9), [94, 94], (8, ∞)}, {[63, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5403 " ├─ colSet: (1-4)\n" + 5404 " ├─ tableId: 1\n" + 5405 " └─ Table\n" + 5406 " ├─ name: comp_index_t1\n" + 5407 " └─ columns: [pk v1 v2 v3]\n" + 5408 "", 5409 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5410 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5411 " ├─ filters: [{(NULL, 9), [94, 94], (8, ∞)}, {[63, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5412 " └─ columns: [pk v1 v2 v3]\n" + 5413 "", 5414 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5415 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5416 " ├─ filters: [{(NULL, 9), [94, 94], (8, ∞)}, {[63, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5417 " └─ columns: [pk v1 v2 v3]\n" + 5418 "", 5419 }, 5420 { 5421 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<43) OR (v1 BETWEEN 40 AND 49 AND v2>26 AND v3 BETWEEN 22 AND 80));`, 5422 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5423 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5424 " ├─ static: [{(NULL, 43), [NULL, ∞), [NULL, ∞)}, {[43, 49], (26, ∞), [22, 80]}]\n" + 5425 " ├─ colSet: (1-4)\n" + 5426 " ├─ tableId: 1\n" + 5427 " └─ Table\n" + 5428 " ├─ name: comp_index_t1\n" + 5429 " └─ columns: [pk v1 v2 v3]\n" + 5430 "", 5431 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5432 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5433 " ├─ filters: [{(NULL, 43), [NULL, ∞), [NULL, ∞)}, {[43, 49], (26, ∞), [22, 80]}]\n" + 5434 " └─ columns: [pk v1 v2 v3]\n" + 5435 "", 5436 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5437 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5438 " ├─ filters: [{(NULL, 43), [NULL, ∞), [NULL, ∞)}, {[43, 49], (26, ∞), [22, 80]}]\n" + 5439 " └─ columns: [pk v1 v2 v3]\n" + 5440 "", 5441 }, 5442 { 5443 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 4 AND 85 AND v2<>45 AND v3<=41) OR (v1>67 AND v2<25));`, 5444 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5445 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5446 " ├─ static: [{[4, 67], (NULL, 45), (NULL, 41]}, {[4, 85], (45, ∞), (NULL, 41]}, {(67, 85], [25, 45), (NULL, 41]}, {(67, ∞), (NULL, 25), [NULL, ∞)}]\n" + 5447 " ├─ colSet: (1-4)\n" + 5448 " ├─ tableId: 1\n" + 5449 " └─ Table\n" + 5450 " ├─ name: comp_index_t1\n" + 5451 " └─ columns: [pk v1 v2 v3]\n" + 5452 "", 5453 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5454 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5455 " ├─ filters: [{[4, 67], (NULL, 45), (NULL, 41]}, {[4, 85], (45, ∞), (NULL, 41]}, {(67, 85], [25, 45), (NULL, 41]}, {(67, ∞), (NULL, 25), [NULL, ∞)}]\n" + 5456 " └─ columns: [pk v1 v2 v3]\n" + 5457 "", 5458 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5459 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5460 " ├─ filters: [{[4, 67], (NULL, 45), (NULL, 41]}, {[4, 85], (45, ∞), (NULL, 41]}, {(67, 85], [25, 45), (NULL, 41]}, {(67, ∞), (NULL, 25), [NULL, ∞)}]\n" + 5461 " └─ columns: [pk v1 v2 v3]\n" + 5462 "", 5463 }, 5464 { 5465 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>77) OR (v1<=54 AND v2<=71 AND v3>=49)) OR (v1>54 AND v2<30 AND v3=6));`, 5466 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5467 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5468 " ├─ static: [{(NULL, 77), [NULL, ∞), [NULL, ∞)}, {[77, 77], (NULL, 30), [6, 6]}, {(77, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5469 " ├─ colSet: (1-4)\n" + 5470 " ├─ tableId: 1\n" + 5471 " └─ Table\n" + 5472 " ├─ name: comp_index_t1\n" + 5473 " └─ columns: [pk v1 v2 v3]\n" + 5474 "", 5475 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5476 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5477 " ├─ filters: [{(NULL, 77), [NULL, ∞), [NULL, ∞)}, {[77, 77], (NULL, 30), [6, 6]}, {(77, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5478 " └─ columns: [pk v1 v2 v3]\n" + 5479 "", 5480 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5481 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5482 " ├─ filters: [{(NULL, 77), [NULL, ∞), [NULL, ∞)}, {[77, 77], (NULL, 30), [6, 6]}, {(77, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5483 " └─ columns: [pk v1 v2 v3]\n" + 5484 "", 5485 }, 5486 { 5487 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1 BETWEEN 21 AND 53 AND v2=0 AND v3>32) OR (v1=93 AND v2>=94 AND v3<1)) OR (v1<26)) OR (v1<>11 AND v2<>32 AND v3=6)) AND (v1>=45);`, 5488 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5489 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5490 " ├─ static: [{[45, 53], [0, 0], (32, ∞)}, {[45, ∞), (NULL, 32), [6, 6]}, {[45, ∞), (32, ∞), [6, 6]}, {[93, 93], [94, ∞), (NULL, 1)}]\n" + 5491 " ├─ colSet: (1-4)\n" + 5492 " ├─ tableId: 1\n" + 5493 " └─ Table\n" + 5494 " ├─ name: comp_index_t1\n" + 5495 " └─ columns: [pk v1 v2 v3]\n" + 5496 "", 5497 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5498 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5499 " ├─ filters: [{[45, 53], [0, 0], (32, ∞)}, {[45, ∞), (NULL, 32), [6, 6]}, {[45, ∞), (32, ∞), [6, 6]}, {[93, 93], [94, ∞), (NULL, 1)}]\n" + 5500 " └─ columns: [pk v1 v2 v3]\n" + 5501 "", 5502 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5503 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5504 " ├─ filters: [{[45, 53], [0, 0], (32, ∞)}, {[45, ∞), (NULL, 32), [6, 6]}, {[45, ∞), (32, ∞), [6, 6]}, {[93, 93], [94, ∞), (NULL, 1)}]\n" + 5505 " └─ columns: [pk v1 v2 v3]\n" + 5506 "", 5507 }, 5508 { 5509 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>50) OR (v1<=71));`, 5510 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5511 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5512 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5513 " ├─ colSet: (1-4)\n" + 5514 " ├─ tableId: 1\n" + 5515 " └─ Table\n" + 5516 " ├─ name: comp_index_t1\n" + 5517 " └─ columns: [pk v1 v2 v3]\n" + 5518 "", 5519 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5520 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5521 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5522 " └─ columns: [pk v1 v2 v3]\n" + 5523 "", 5524 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5525 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5526 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5527 " └─ columns: [pk v1 v2 v3]\n" + 5528 "", 5529 }, 5530 { 5531 Query: `SELECT * FROM comp_index_t1 WHERE ((v1=41) OR (v1>29 AND v2<>31));`, 5532 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5533 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5534 " ├─ static: [{(29, 41), (NULL, 31), [NULL, ∞)}, {(29, 41), (31, ∞), [NULL, ∞)}, {[41, 41], [NULL, ∞), [NULL, ∞)}, {(41, ∞), (NULL, 31), [NULL, ∞)}, {(41, ∞), (31, ∞), [NULL, ∞)}]\n" + 5535 " ├─ colSet: (1-4)\n" + 5536 " ├─ tableId: 1\n" + 5537 " └─ Table\n" + 5538 " ├─ name: comp_index_t1\n" + 5539 " └─ columns: [pk v1 v2 v3]\n" + 5540 "", 5541 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5542 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5543 " ├─ filters: [{(29, 41), (NULL, 31), [NULL, ∞)}, {(29, 41), (31, ∞), [NULL, ∞)}, {[41, 41], [NULL, ∞), [NULL, ∞)}, {(41, ∞), (NULL, 31), [NULL, ∞)}, {(41, ∞), (31, ∞), [NULL, ∞)}]\n" + 5544 " └─ columns: [pk v1 v2 v3]\n" + 5545 "", 5546 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5547 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5548 " ├─ filters: [{(29, 41), (NULL, 31), [NULL, ∞)}, {(29, 41), (31, ∞), [NULL, ∞)}, {[41, 41], [NULL, ∞), [NULL, ∞)}, {(41, ∞), (NULL, 31), [NULL, ∞)}, {(41, ∞), (31, ∞), [NULL, ∞)}]\n" + 5549 " └─ columns: [pk v1 v2 v3]\n" + 5550 "", 5551 }, 5552 { 5553 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<88 AND v2<91 AND v3>9) AND (v1>=5 AND v2 BETWEEN 21 AND 29 AND v3>18) OR (v1>=40));`, 5554 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5555 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5556 " ├─ static: [{[5, 40), [21, 29], (18, ∞)}, {[40, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5557 " ├─ colSet: (1-4)\n" + 5558 " ├─ tableId: 1\n" + 5559 " └─ Table\n" + 5560 " ├─ name: comp_index_t1\n" + 5561 " └─ columns: [pk v1 v2 v3]\n" + 5562 "", 5563 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5564 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5565 " ├─ filters: [{[5, 40), [21, 29], (18, ∞)}, {[40, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5566 " └─ columns: [pk v1 v2 v3]\n" + 5567 "", 5568 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5569 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5570 " ├─ filters: [{[5, 40), [21, 29], (18, ∞)}, {[40, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5571 " └─ columns: [pk v1 v2 v3]\n" + 5572 "", 5573 }, 5574 { 5575 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>2 AND v2<76 AND v3<=35) OR (v1<=12 AND v3 BETWEEN 25 AND 30));`, 5576 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5577 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5578 " ├─ static: [{(NULL, 2], [NULL, ∞), [25, 30]}, {(2, 12], [NULL, NULL], [25, 30]}, {(2, 12], [76, ∞), [25, 30]}, {(2, ∞), (NULL, 76), (NULL, 35]}]\n" + 5579 " ├─ colSet: (1-4)\n" + 5580 " ├─ tableId: 1\n" + 5581 " └─ Table\n" + 5582 " ├─ name: comp_index_t1\n" + 5583 " └─ columns: [pk v1 v2 v3]\n" + 5584 "", 5585 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5586 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5587 " ├─ filters: [{(NULL, 2], [NULL, ∞), [25, 30]}, {(2, 12], [NULL, NULL], [25, 30]}, {(2, 12], [76, ∞), [25, 30]}, {(2, ∞), (NULL, 76), (NULL, 35]}]\n" + 5588 " └─ columns: [pk v1 v2 v3]\n" + 5589 "", 5590 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5591 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5592 " ├─ filters: [{(NULL, 2], [NULL, ∞), [25, 30]}, {(2, 12], [NULL, NULL], [25, 30]}, {(2, 12], [76, ∞), [25, 30]}, {(2, ∞), (NULL, 76), (NULL, 35]}]\n" + 5593 " └─ columns: [pk v1 v2 v3]\n" + 5594 "", 5595 }, 5596 { 5597 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1 BETWEEN 25 AND 84 AND v2<=94) OR (v1>66 AND v2>4 AND v3>=57)) OR (v1=78 AND v2>66 AND v3=19)) OR (v1<>48));`, 5598 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5599 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5600 " ├─ static: [{(NULL, 48), [NULL, ∞), [NULL, ∞)}, {[48, 48], (NULL, 94], [NULL, ∞)}, {(48, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5601 " ├─ colSet: (1-4)\n" + 5602 " ├─ tableId: 1\n" + 5603 " └─ Table\n" + 5604 " ├─ name: comp_index_t1\n" + 5605 " └─ columns: [pk v1 v2 v3]\n" + 5606 "", 5607 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5608 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5609 " ├─ filters: [{(NULL, 48), [NULL, ∞), [NULL, ∞)}, {[48, 48], (NULL, 94], [NULL, ∞)}, {(48, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5610 " └─ columns: [pk v1 v2 v3]\n" + 5611 "", 5612 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5613 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5614 " ├─ filters: [{(NULL, 48), [NULL, ∞), [NULL, ∞)}, {[48, 48], (NULL, 94], [NULL, ∞)}, {(48, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5615 " └─ columns: [pk v1 v2 v3]\n" + 5616 "", 5617 }, 5618 { 5619 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=24) OR (v1>=47 AND v2<=75 AND v3<=52));`, 5620 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5621 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5622 " ├─ static: [{[24, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5623 " ├─ colSet: (1-4)\n" + 5624 " ├─ tableId: 1\n" + 5625 " └─ Table\n" + 5626 " ├─ name: comp_index_t1\n" + 5627 " └─ columns: [pk v1 v2 v3]\n" + 5628 "", 5629 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5630 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5631 " ├─ filters: [{[24, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5632 " └─ columns: [pk v1 v2 v3]\n" + 5633 "", 5634 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5635 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5636 " ├─ filters: [{[24, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5637 " └─ columns: [pk v1 v2 v3]\n" + 5638 "", 5639 }, 5640 { 5641 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>=21 AND v2<>70) OR (v1<=77 AND v2>4)) OR (v1<28 AND v2<=3 AND v3<>21));`, 5642 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5643 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5644 " ├─ static: [{(NULL, 21), (NULL, 3], (NULL, 21)}, {(NULL, 21), (NULL, 3], (21, ∞)}, {(NULL, 21), (4, ∞), [NULL, ∞)}, {[21, 77], (NULL, ∞), [NULL, ∞)}, {(77, ∞), (NULL, 70), [NULL, ∞)}, {(77, ∞), (70, ∞), [NULL, ∞)}]\n" + 5645 " ├─ colSet: (1-4)\n" + 5646 " ├─ tableId: 1\n" + 5647 " └─ Table\n" + 5648 " ├─ name: comp_index_t1\n" + 5649 " └─ columns: [pk v1 v2 v3]\n" + 5650 "", 5651 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5652 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5653 " ├─ filters: [{(NULL, 21), (NULL, 3], (NULL, 21)}, {(NULL, 21), (NULL, 3], (21, ∞)}, {(NULL, 21), (4, ∞), [NULL, ∞)}, {[21, 77], (NULL, ∞), [NULL, ∞)}, {(77, ∞), (NULL, 70), [NULL, ∞)}, {(77, ∞), (70, ∞), [NULL, ∞)}]\n" + 5654 " └─ columns: [pk v1 v2 v3]\n" + 5655 "", 5656 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5657 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5658 " ├─ filters: [{(NULL, 21), (NULL, 3], (NULL, 21)}, {(NULL, 21), (NULL, 3], (21, ∞)}, {(NULL, 21), (4, ∞), [NULL, ∞)}, {[21, 77], (NULL, ∞), [NULL, ∞)}, {(77, ∞), (NULL, 70), [NULL, ∞)}, {(77, ∞), (70, ∞), [NULL, ∞)}]\n" + 5659 " └─ columns: [pk v1 v2 v3]\n" + 5660 "", 5661 }, 5662 { 5663 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=60 AND v2>91) OR (v1<=10));`, 5664 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5665 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5666 " ├─ static: [{(NULL, 10], [NULL, ∞), [NULL, ∞)}, {[60, ∞), (91, ∞), [NULL, ∞)}]\n" + 5667 " ├─ colSet: (1-4)\n" + 5668 " ├─ tableId: 1\n" + 5669 " └─ Table\n" + 5670 " ├─ name: comp_index_t1\n" + 5671 " └─ columns: [pk v1 v2 v3]\n" + 5672 "", 5673 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5674 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5675 " ├─ filters: [{(NULL, 10], [NULL, ∞), [NULL, ∞)}, {[60, ∞), (91, ∞), [NULL, ∞)}]\n" + 5676 " └─ columns: [pk v1 v2 v3]\n" + 5677 "", 5678 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5679 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5680 " ├─ filters: [{(NULL, 10], [NULL, ∞), [NULL, ∞)}, {[60, ∞), (91, ∞), [NULL, ∞)}]\n" + 5681 " └─ columns: [pk v1 v2 v3]\n" + 5682 "", 5683 }, 5684 { 5685 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>98 AND v2<52) OR (v1 BETWEEN 65 AND 67)) OR (v1 BETWEEN 18 AND 54)) AND (v1>=14 AND v2=27);`, 5686 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5687 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5688 " ├─ static: [{[14, 98), [27, 27], [NULL, ∞)}, {(98, ∞), [27, 27], [NULL, ∞)}]\n" + 5689 " ├─ colSet: (1-4)\n" + 5690 " ├─ tableId: 1\n" + 5691 " └─ Table\n" + 5692 " ├─ name: comp_index_t1\n" + 5693 " └─ columns: [pk v1 v2 v3]\n" + 5694 "", 5695 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5696 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5697 " ├─ filters: [{[14, 98), [27, 27], [NULL, ∞)}, {(98, ∞), [27, 27], [NULL, ∞)}]\n" + 5698 " └─ columns: [pk v1 v2 v3]\n" + 5699 "", 5700 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5701 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5702 " ├─ filters: [{[14, 98), [27, 27], [NULL, ∞)}, {(98, ∞), [27, 27], [NULL, ∞)}]\n" + 5703 " └─ columns: [pk v1 v2 v3]\n" + 5704 "", 5705 }, 5706 { 5707 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=43 AND v2<>39) AND (v1<=32 AND v2<=15 AND v3>=54) OR (v1<>68 AND v2 BETWEEN 42 AND 46));`, 5708 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5709 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5710 " ├─ static: [{(NULL, 68), [42, 46], [NULL, ∞)}, {(68, ∞), [42, 46], [NULL, ∞)}]\n" + 5711 " ├─ colSet: (1-4)\n" + 5712 " ├─ tableId: 1\n" + 5713 " └─ Table\n" + 5714 " ├─ name: comp_index_t1\n" + 5715 " └─ columns: [pk v1 v2 v3]\n" + 5716 "", 5717 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5718 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5719 " ├─ filters: [{(NULL, 68), [42, 46], [NULL, ∞)}, {(68, ∞), [42, 46], [NULL, ∞)}]\n" + 5720 " └─ columns: [pk v1 v2 v3]\n" + 5721 "", 5722 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5723 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5724 " ├─ filters: [{(NULL, 68), [42, 46], [NULL, ∞)}, {(68, ∞), [42, 46], [NULL, ∞)}]\n" + 5725 " └─ columns: [pk v1 v2 v3]\n" + 5726 "", 5727 }, 5728 { 5729 Query: `SELECT * FROM comp_index_t1 WHERE (v1>=19 AND v2<2) AND (v1<4 AND v3>23 AND v2<>53);`, 5730 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5731 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5732 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5733 " ├─ colSet: (1-4)\n" + 5734 " ├─ tableId: 1\n" + 5735 " └─ Table\n" + 5736 " ├─ name: comp_index_t1\n" + 5737 " └─ columns: [pk v1 v2 v3]\n" + 5738 "", 5739 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5740 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5741 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5742 " └─ columns: [pk v1 v2 v3]\n" + 5743 "", 5744 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5745 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5746 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5747 " └─ columns: [pk v1 v2 v3]\n" + 5748 "", 5749 }, 5750 { 5751 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 34 AND 40) OR (v1<=80 AND v2<>53)) AND (v1=81 AND v2=17 AND v3<>12);`, 5752 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5753 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5754 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5755 " ├─ colSet: (1-4)\n" + 5756 " ├─ tableId: 1\n" + 5757 " └─ Table\n" + 5758 " ├─ name: comp_index_t1\n" + 5759 " └─ columns: [pk v1 v2 v3]\n" + 5760 "", 5761 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5762 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5763 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5764 " └─ columns: [pk v1 v2 v3]\n" + 5765 "", 5766 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5767 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5768 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5769 " └─ columns: [pk v1 v2 v3]\n" + 5770 "", 5771 }, 5772 { 5773 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>34 AND v2 BETWEEN 18 AND 67 AND v3<67) OR (v1>21));`, 5774 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5775 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5776 " ├─ static: [{(21, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5777 " ├─ colSet: (1-4)\n" + 5778 " ├─ tableId: 1\n" + 5779 " └─ Table\n" + 5780 " ├─ name: comp_index_t1\n" + 5781 " └─ columns: [pk v1 v2 v3]\n" + 5782 "", 5783 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5784 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5785 " ├─ filters: [{(21, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5786 " └─ columns: [pk v1 v2 v3]\n" + 5787 "", 5788 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5789 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5790 " ├─ filters: [{(21, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5791 " └─ columns: [pk v1 v2 v3]\n" + 5792 "", 5793 }, 5794 { 5795 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>45) OR (v1>=91 AND v2>=8 AND v3<=38)) OR (v1<>58 AND v3<=32 AND v2<>45));`, 5796 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5797 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5798 " ├─ static: [{(NULL, 45), [NULL, ∞), [NULL, ∞)}, {[45, 45], (NULL, 45), (NULL, 32]}, {[45, 45], (45, ∞), (NULL, 32]}, {(45, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5799 " ├─ colSet: (1-4)\n" + 5800 " ├─ tableId: 1\n" + 5801 " └─ Table\n" + 5802 " ├─ name: comp_index_t1\n" + 5803 " └─ columns: [pk v1 v2 v3]\n" + 5804 "", 5805 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5806 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5807 " ├─ filters: [{(NULL, 45), [NULL, ∞), [NULL, ∞)}, {[45, 45], (NULL, 45), (NULL, 32]}, {[45, 45], (45, ∞), (NULL, 32]}, {(45, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5808 " └─ columns: [pk v1 v2 v3]\n" + 5809 "", 5810 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5811 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5812 " ├─ filters: [{(NULL, 45), [NULL, ∞), [NULL, ∞)}, {[45, 45], (NULL, 45), (NULL, 32]}, {[45, 45], (45, ∞), (NULL, 32]}, {(45, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5813 " └─ columns: [pk v1 v2 v3]\n" + 5814 "", 5815 }, 5816 { 5817 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<=48) OR (v1<38 AND v2>=26)) AND (v1<=45 AND v2>21) AND (v1=83 AND v2=20);`, 5818 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5819 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5820 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5821 " ├─ colSet: (1-4)\n" + 5822 " ├─ tableId: 1\n" + 5823 " └─ Table\n" + 5824 " ├─ name: comp_index_t1\n" + 5825 " └─ columns: [pk v1 v2 v3]\n" + 5826 "", 5827 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5828 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5829 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5830 " └─ columns: [pk v1 v2 v3]\n" + 5831 "", 5832 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5833 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5834 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5835 " └─ columns: [pk v1 v2 v3]\n" + 5836 "", 5837 }, 5838 { 5839 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>25) OR (v1<53));`, 5840 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5841 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5842 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5843 " ├─ colSet: (1-4)\n" + 5844 " ├─ tableId: 1\n" + 5845 " └─ Table\n" + 5846 " ├─ name: comp_index_t1\n" + 5847 " └─ columns: [pk v1 v2 v3]\n" + 5848 "", 5849 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5850 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5851 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5852 " └─ columns: [pk v1 v2 v3]\n" + 5853 "", 5854 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5855 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5856 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 5857 " └─ columns: [pk v1 v2 v3]\n" + 5858 "", 5859 }, 5860 { 5861 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<95 AND v2>=12) OR (v1 BETWEEN 41 AND 55 AND v2<=81 AND v3<46));`, 5862 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5863 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5864 " ├─ static: [{(NULL, 95), [12, ∞), [NULL, ∞)}, {[41, 55], (NULL, 12), (NULL, 46)}]\n" + 5865 " ├─ colSet: (1-4)\n" + 5866 " ├─ tableId: 1\n" + 5867 " └─ Table\n" + 5868 " ├─ name: comp_index_t1\n" + 5869 " └─ columns: [pk v1 v2 v3]\n" + 5870 "", 5871 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5872 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5873 " ├─ filters: [{(NULL, 95), [12, ∞), [NULL, ∞)}, {[41, 55], (NULL, 12), (NULL, 46)}]\n" + 5874 " └─ columns: [pk v1 v2 v3]\n" + 5875 "", 5876 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5877 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5878 " ├─ filters: [{(NULL, 95), [12, ∞), [NULL, ∞)}, {[41, 55], (NULL, 12), (NULL, 46)}]\n" + 5879 " └─ columns: [pk v1 v2 v3]\n" + 5880 "", 5881 }, 5882 { 5883 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>39 AND v2 BETWEEN 53 AND 73 AND v3<=11) OR (v1<=31 AND v2=68 AND v3>=71)) OR (v1<>18 AND v2<=51));`, 5884 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5885 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5886 " ├─ static: [{(NULL, 18), (NULL, 51], [NULL, ∞)}, {(NULL, 31], [68, 68], [71, ∞)}, {(18, ∞), (NULL, 51], [NULL, ∞)}, {(39, ∞), [53, 73], (NULL, 11]}]\n" + 5887 " ├─ colSet: (1-4)\n" + 5888 " ├─ tableId: 1\n" + 5889 " └─ Table\n" + 5890 " ├─ name: comp_index_t1\n" + 5891 " └─ columns: [pk v1 v2 v3]\n" + 5892 "", 5893 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5894 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5895 " ├─ filters: [{(NULL, 18), (NULL, 51], [NULL, ∞)}, {(NULL, 31], [68, 68], [71, ∞)}, {(18, ∞), (NULL, 51], [NULL, ∞)}, {(39, ∞), [53, 73], (NULL, 11]}]\n" + 5896 " └─ columns: [pk v1 v2 v3]\n" + 5897 "", 5898 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5899 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5900 " ├─ filters: [{(NULL, 18), (NULL, 51], [NULL, ∞)}, {(NULL, 31], [68, 68], [71, ∞)}, {(18, ∞), (NULL, 51], [NULL, ∞)}, {(39, ∞), [53, 73], (NULL, 11]}]\n" + 5901 " └─ columns: [pk v1 v2 v3]\n" + 5902 "", 5903 }, 5904 { 5905 Query: `SELECT * FROM comp_index_t1 WHERE (v1>4) AND (v1=3 AND v2 BETWEEN 4 AND 34 AND v3<=40);`, 5906 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5907 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5908 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5909 " ├─ colSet: (1-4)\n" + 5910 " ├─ tableId: 1\n" + 5911 " └─ Table\n" + 5912 " ├─ name: comp_index_t1\n" + 5913 " └─ columns: [pk v1 v2 v3]\n" + 5914 "", 5915 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5916 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5917 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5918 " └─ columns: [pk v1 v2 v3]\n" + 5919 "", 5920 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5921 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5922 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 5923 " └─ columns: [pk v1 v2 v3]\n" + 5924 "", 5925 }, 5926 { 5927 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>36 AND v2>82) OR (v1 BETWEEN 22 AND 59));`, 5928 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5929 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5930 " ├─ static: [{[22, 59], [NULL, ∞), [NULL, ∞)}, {(59, ∞), (82, ∞), [NULL, ∞)}]\n" + 5931 " ├─ colSet: (1-4)\n" + 5932 " ├─ tableId: 1\n" + 5933 " └─ Table\n" + 5934 " ├─ name: comp_index_t1\n" + 5935 " └─ columns: [pk v1 v2 v3]\n" + 5936 "", 5937 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5938 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5939 " ├─ filters: [{[22, 59], [NULL, ∞), [NULL, ∞)}, {(59, ∞), (82, ∞), [NULL, ∞)}]\n" + 5940 " └─ columns: [pk v1 v2 v3]\n" + 5941 "", 5942 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5943 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5944 " ├─ filters: [{[22, 59], [NULL, ∞), [NULL, ∞)}, {(59, ∞), (82, ∞), [NULL, ∞)}]\n" + 5945 " └─ columns: [pk v1 v2 v3]\n" + 5946 "", 5947 }, 5948 { 5949 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<=0) OR (v1 BETWEEN 17 AND 45));`, 5950 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5951 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5952 " ├─ static: [{(NULL, 0], [NULL, ∞), [NULL, ∞)}, {[17, 45], [NULL, ∞), [NULL, ∞)}]\n" + 5953 " ├─ colSet: (1-4)\n" + 5954 " ├─ tableId: 1\n" + 5955 " └─ Table\n" + 5956 " ├─ name: comp_index_t1\n" + 5957 " └─ columns: [pk v1 v2 v3]\n" + 5958 "", 5959 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5960 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5961 " ├─ filters: [{(NULL, 0], [NULL, ∞), [NULL, ∞)}, {[17, 45], [NULL, ∞), [NULL, ∞)}]\n" + 5962 " └─ columns: [pk v1 v2 v3]\n" + 5963 "", 5964 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5965 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5966 " ├─ filters: [{(NULL, 0], [NULL, ∞), [NULL, ∞)}, {[17, 45], [NULL, ∞), [NULL, ∞)}]\n" + 5967 " └─ columns: [pk v1 v2 v3]\n" + 5968 "", 5969 }, 5970 { 5971 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<1 AND v3<=34) OR (v1 BETWEEN 2 AND 57 AND v2<>70));`, 5972 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5973 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5974 " ├─ static: [{(NULL, 1), [NULL, ∞), (NULL, 34]}, {[2, 57], (NULL, 70), [NULL, ∞)}, {[2, 57], (70, ∞), [NULL, ∞)}]\n" + 5975 " ├─ colSet: (1-4)\n" + 5976 " ├─ tableId: 1\n" + 5977 " └─ Table\n" + 5978 " ├─ name: comp_index_t1\n" + 5979 " └─ columns: [pk v1 v2 v3]\n" + 5980 "", 5981 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 5982 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5983 " ├─ filters: [{(NULL, 1), [NULL, ∞), (NULL, 34]}, {[2, 57], (NULL, 70), [NULL, ∞)}, {[2, 57], (70, ∞), [NULL, ∞)}]\n" + 5984 " └─ columns: [pk v1 v2 v3]\n" + 5985 "", 5986 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 5987 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5988 " ├─ filters: [{(NULL, 1), [NULL, ∞), (NULL, 34]}, {[2, 57], (NULL, 70), [NULL, ∞)}, {[2, 57], (70, ∞), [NULL, ∞)}]\n" + 5989 " └─ columns: [pk v1 v2 v3]\n" + 5990 "", 5991 }, 5992 { 5993 Query: `SELECT * FROM comp_index_t1 WHERE (v1>4) AND (v1 BETWEEN 8 AND 35 AND v2>=94 AND v3=32) AND (v1>=12);`, 5994 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 5995 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 5996 " ├─ static: [{[12, 35], [94, ∞), [32, 32]}]\n" + 5997 " ├─ colSet: (1-4)\n" + 5998 " ├─ tableId: 1\n" + 5999 " └─ Table\n" + 6000 " ├─ name: comp_index_t1\n" + 6001 " └─ columns: [pk v1 v2 v3]\n" + 6002 "", 6003 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6004 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6005 " ├─ filters: [{[12, 35], [94, ∞), [32, 32]}]\n" + 6006 " └─ columns: [pk v1 v2 v3]\n" + 6007 "", 6008 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6009 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6010 " ├─ filters: [{[12, 35], [94, ∞), [32, 32]}]\n" + 6011 " └─ columns: [pk v1 v2 v3]\n" + 6012 "", 6013 }, 6014 { 6015 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1<=93 AND v3<>47) OR (v1>=93 AND v2 BETWEEN 15 AND 42 AND v3<=6)) OR (v1>15)) OR (v1 BETWEEN 0 AND 1 AND v2>33));`, 6016 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6017 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6018 " ├─ static: [{(NULL, 0), [NULL, ∞), (NULL, 47)}, {(NULL, 0), [NULL, ∞), (47, ∞)}, {[0, 1], [NULL, 33], (NULL, 47)}, {[0, 1], [NULL, 33], (47, ∞)}, {[0, 1], (33, ∞), [NULL, ∞)}, {(1, 15], [NULL, ∞), (NULL, 47)}, {(1, 15], [NULL, ∞), (47, ∞)}, {(15, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6019 " ├─ colSet: (1-4)\n" + 6020 " ├─ tableId: 1\n" + 6021 " └─ Table\n" + 6022 " ├─ name: comp_index_t1\n" + 6023 " └─ columns: [pk v1 v2 v3]\n" + 6024 "", 6025 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6026 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6027 " ├─ filters: [{(NULL, 0), [NULL, ∞), (NULL, 47)}, {(NULL, 0), [NULL, ∞), (47, ∞)}, {[0, 1], [NULL, 33], (NULL, 47)}, {[0, 1], [NULL, 33], (47, ∞)}, {[0, 1], (33, ∞), [NULL, ∞)}, {(1, 15], [NULL, ∞), (NULL, 47)}, {(1, 15], [NULL, ∞), (47, ∞)}, {(15, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6028 " └─ columns: [pk v1 v2 v3]\n" + 6029 "", 6030 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6031 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6032 " ├─ filters: [{(NULL, 0), [NULL, ∞), (NULL, 47)}, {(NULL, 0), [NULL, ∞), (47, ∞)}, {[0, 1], [NULL, 33], (NULL, 47)}, {[0, 1], [NULL, 33], (47, ∞)}, {[0, 1], (33, ∞), [NULL, ∞)}, {(1, 15], [NULL, ∞), (NULL, 47)}, {(1, 15], [NULL, ∞), (47, ∞)}, {(15, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6033 " └─ columns: [pk v1 v2 v3]\n" + 6034 "", 6035 }, 6036 { 6037 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>12) OR (v1>=26 AND v2 BETWEEN 77 AND 87 AND v3<19)) OR (v1<=89));`, 6038 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6039 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6040 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6041 " ├─ colSet: (1-4)\n" + 6042 " ├─ tableId: 1\n" + 6043 " └─ Table\n" + 6044 " ├─ name: comp_index_t1\n" + 6045 " └─ columns: [pk v1 v2 v3]\n" + 6046 "", 6047 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6048 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6049 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6050 " └─ columns: [pk v1 v2 v3]\n" + 6051 "", 6052 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6053 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6054 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6055 " └─ columns: [pk v1 v2 v3]\n" + 6056 "", 6057 }, 6058 { 6059 Query: `SELECT * FROM comp_index_t1 WHERE (((v1=27 AND v2=16 AND v3>=8) OR (v1<20 AND v2>=1 AND v3 BETWEEN 28 AND 47)) OR (v1 BETWEEN 15 AND 43 AND v2>30));`, 6060 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6061 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6062 " ├─ static: [{(NULL, 15), [1, ∞), [28, 47]}, {[15, 20), [1, 30], [28, 47]}, {[15, 43], (30, ∞), [NULL, ∞)}, {[27, 27], [16, 16], [8, ∞)}]\n" + 6063 " ├─ colSet: (1-4)\n" + 6064 " ├─ tableId: 1\n" + 6065 " └─ Table\n" + 6066 " ├─ name: comp_index_t1\n" + 6067 " └─ columns: [pk v1 v2 v3]\n" + 6068 "", 6069 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6070 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6071 " ├─ filters: [{(NULL, 15), [1, ∞), [28, 47]}, {[15, 20), [1, 30], [28, 47]}, {[15, 43], (30, ∞), [NULL, ∞)}, {[27, 27], [16, 16], [8, ∞)}]\n" + 6072 " └─ columns: [pk v1 v2 v3]\n" + 6073 "", 6074 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6075 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6076 " ├─ filters: [{(NULL, 15), [1, ∞), [28, 47]}, {[15, 20), [1, 30], [28, 47]}, {[15, 43], (30, ∞), [NULL, ∞)}, {[27, 27], [16, 16], [8, ∞)}]\n" + 6077 " └─ columns: [pk v1 v2 v3]\n" + 6078 "", 6079 }, 6080 { 6081 Query: `SELECT * FROM comp_index_t1 WHERE ((v1=67 AND v2<>69) OR (v1<28 AND v2<62 AND v3>=99));`, 6082 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6083 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6084 " ├─ static: [{(NULL, 28), (NULL, 62), [99, ∞)}, {[67, 67], (NULL, 69), [NULL, ∞)}, {[67, 67], (69, ∞), [NULL, ∞)}]\n" + 6085 " ├─ colSet: (1-4)\n" + 6086 " ├─ tableId: 1\n" + 6087 " └─ Table\n" + 6088 " ├─ name: comp_index_t1\n" + 6089 " └─ columns: [pk v1 v2 v3]\n" + 6090 "", 6091 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6092 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6093 " ├─ filters: [{(NULL, 28), (NULL, 62), [99, ∞)}, {[67, 67], (NULL, 69), [NULL, ∞)}, {[67, 67], (69, ∞), [NULL, ∞)}]\n" + 6094 " └─ columns: [pk v1 v2 v3]\n" + 6095 "", 6096 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6097 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6098 " ├─ filters: [{(NULL, 28), (NULL, 62), [99, ∞)}, {[67, 67], (NULL, 69), [NULL, ∞)}, {[67, 67], (69, ∞), [NULL, ∞)}]\n" + 6099 " └─ columns: [pk v1 v2 v3]\n" + 6100 "", 6101 }, 6102 { 6103 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<45 AND v2>5 AND v3>20) OR (v1<17));`, 6104 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6105 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6106 " ├─ static: [{(NULL, 17), [NULL, ∞), [NULL, ∞)}, {[17, 45), (5, ∞), (20, ∞)}]\n" + 6107 " ├─ colSet: (1-4)\n" + 6108 " ├─ tableId: 1\n" + 6109 " └─ Table\n" + 6110 " ├─ name: comp_index_t1\n" + 6111 " └─ columns: [pk v1 v2 v3]\n" + 6112 "", 6113 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6114 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6115 " ├─ filters: [{(NULL, 17), [NULL, ∞), [NULL, ∞)}, {[17, 45), (5, ∞), (20, ∞)}]\n" + 6116 " └─ columns: [pk v1 v2 v3]\n" + 6117 "", 6118 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6119 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6120 " ├─ filters: [{(NULL, 17), [NULL, ∞), [NULL, ∞)}, {[17, 45), (5, ∞), (20, ∞)}]\n" + 6121 " └─ columns: [pk v1 v2 v3]\n" + 6122 "", 6123 }, 6124 { 6125 Query: `SELECT * FROM comp_index_t1 WHERE ((v1=40 AND v2<>18) OR (v1<>97 AND v2<>17 AND v3<>48));`, 6126 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6127 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6128 " ├─ static: [{(NULL, 40), (NULL, 17), (NULL, 48)}, {(NULL, 40), (NULL, 17), (48, ∞)}, {(NULL, 40), (17, ∞), (NULL, 48)}, {(NULL, 40), (17, ∞), (48, ∞)}, {[40, 40], (NULL, 18), [NULL, ∞)}, {[40, 40], [18, 18], (NULL, 48)}, {[40, 40], [18, 18], (48, ∞)}, {[40, 40], (18, ∞), [NULL, ∞)}, {(40, 97), (NULL, 17), (NULL, 48)}, {(40, 97), (NULL, 17), (48, ∞)}, {(40, 97), (17, ∞), (NULL, 48)}, {(40, 97), (17, ∞), (48, ∞)}, {(97, ∞), (NULL, 17), (NULL, 48)}, {(97, ∞), (NULL, 17), (48, ∞)}, {(97, ∞), (17, ∞), (NULL, 48)}, {(97, ∞), (17, ∞), (48, ∞)}]\n" + 6129 " ├─ colSet: (1-4)\n" + 6130 " ├─ tableId: 1\n" + 6131 " └─ Table\n" + 6132 " ├─ name: comp_index_t1\n" + 6133 " └─ columns: [pk v1 v2 v3]\n" + 6134 "", 6135 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6136 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6137 " ├─ filters: [{(NULL, 40), (NULL, 17), (NULL, 48)}, {(NULL, 40), (NULL, 17), (48, ∞)}, {(NULL, 40), (17, ∞), (NULL, 48)}, {(NULL, 40), (17, ∞), (48, ∞)}, {[40, 40], (NULL, 18), [NULL, ∞)}, {[40, 40], [18, 18], (NULL, 48)}, {[40, 40], [18, 18], (48, ∞)}, {[40, 40], (18, ∞), [NULL, ∞)}, {(40, 97), (NULL, 17), (NULL, 48)}, {(40, 97), (NULL, 17), (48, ∞)}, {(40, 97), (17, ∞), (NULL, 48)}, {(40, 97), (17, ∞), (48, ∞)}, {(97, ∞), (NULL, 17), (NULL, 48)}, {(97, ∞), (NULL, 17), (48, ∞)}, {(97, ∞), (17, ∞), (NULL, 48)}, {(97, ∞), (17, ∞), (48, ∞)}]\n" + 6138 " └─ columns: [pk v1 v2 v3]\n" + 6139 "", 6140 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6141 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6142 " ├─ filters: [{(NULL, 40), (NULL, 17), (NULL, 48)}, {(NULL, 40), (NULL, 17), (48, ∞)}, {(NULL, 40), (17, ∞), (NULL, 48)}, {(NULL, 40), (17, ∞), (48, ∞)}, {[40, 40], (NULL, 18), [NULL, ∞)}, {[40, 40], [18, 18], (NULL, 48)}, {[40, 40], [18, 18], (48, ∞)}, {[40, 40], (18, ∞), [NULL, ∞)}, {(40, 97), (NULL, 17), (NULL, 48)}, {(40, 97), (NULL, 17), (48, ∞)}, {(40, 97), (17, ∞), (NULL, 48)}, {(40, 97), (17, ∞), (48, ∞)}, {(97, ∞), (NULL, 17), (NULL, 48)}, {(97, ∞), (NULL, 17), (48, ∞)}, {(97, ∞), (17, ∞), (NULL, 48)}, {(97, ∞), (17, ∞), (48, ∞)}]\n" + 6143 " └─ columns: [pk v1 v2 v3]\n" + 6144 "", 6145 }, 6146 { 6147 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>63) AND (v1<=44 AND v2<>43 AND v3=29) OR (v1=38 AND v2>45));`, 6148 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6149 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6150 " ├─ static: [{[38, 38], (45, ∞), [NULL, ∞)}]\n" + 6151 " ├─ colSet: (1-4)\n" + 6152 " ├─ tableId: 1\n" + 6153 " └─ Table\n" + 6154 " ├─ name: comp_index_t1\n" + 6155 " └─ columns: [pk v1 v2 v3]\n" + 6156 "", 6157 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6158 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6159 " ├─ filters: [{[38, 38], (45, ∞), [NULL, ∞)}]\n" + 6160 " └─ columns: [pk v1 v2 v3]\n" + 6161 "", 6162 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6163 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6164 " ├─ filters: [{[38, 38], (45, ∞), [NULL, ∞)}]\n" + 6165 " └─ columns: [pk v1 v2 v3]\n" + 6166 "", 6167 }, 6168 { 6169 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<=6) OR (v1>0 AND v2 BETWEEN 3 AND 50));`, 6170 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6171 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6172 " ├─ static: [{(NULL, 6], [NULL, ∞), [NULL, ∞)}, {(6, ∞), [3, 50], [NULL, ∞)}]\n" + 6173 " ├─ colSet: (1-4)\n" + 6174 " ├─ tableId: 1\n" + 6175 " └─ Table\n" + 6176 " ├─ name: comp_index_t1\n" + 6177 " └─ columns: [pk v1 v2 v3]\n" + 6178 "", 6179 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6180 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6181 " ├─ filters: [{(NULL, 6], [NULL, ∞), [NULL, ∞)}, {(6, ∞), [3, 50], [NULL, ∞)}]\n" + 6182 " └─ columns: [pk v1 v2 v3]\n" + 6183 "", 6184 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6185 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6186 " ├─ filters: [{(NULL, 6], [NULL, ∞), [NULL, ∞)}, {(6, ∞), [3, 50], [NULL, ∞)}]\n" + 6187 " └─ columns: [pk v1 v2 v3]\n" + 6188 "", 6189 }, 6190 { 6191 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 5 AND 35 AND v2<=3 AND v3<>14) OR (v1>11));`, 6192 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6193 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6194 " ├─ static: [{[5, 11], (NULL, 3], (NULL, 14)}, {[5, 11], (NULL, 3], (14, ∞)}, {(11, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6195 " ├─ colSet: (1-4)\n" + 6196 " ├─ tableId: 1\n" + 6197 " └─ Table\n" + 6198 " ├─ name: comp_index_t1\n" + 6199 " └─ columns: [pk v1 v2 v3]\n" + 6200 "", 6201 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6202 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6203 " ├─ filters: [{[5, 11], (NULL, 3], (NULL, 14)}, {[5, 11], (NULL, 3], (14, ∞)}, {(11, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6204 " └─ columns: [pk v1 v2 v3]\n" + 6205 "", 6206 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6207 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6208 " ├─ filters: [{[5, 11], (NULL, 3], (NULL, 14)}, {[5, 11], (NULL, 3], (14, ∞)}, {(11, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6209 " └─ columns: [pk v1 v2 v3]\n" + 6210 "", 6211 }, 6212 { 6213 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<50) AND (v1<19 AND v2>=10) OR (v1<36 AND v2>10 AND v3<>65));`, 6214 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6215 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6216 " ├─ static: [{(NULL, 19), [10, ∞), [NULL, ∞)}, {[19, 36), (10, ∞), (NULL, 65)}, {[19, 36), (10, ∞), (65, ∞)}]\n" + 6217 " ├─ colSet: (1-4)\n" + 6218 " ├─ tableId: 1\n" + 6219 " └─ Table\n" + 6220 " ├─ name: comp_index_t1\n" + 6221 " └─ columns: [pk v1 v2 v3]\n" + 6222 "", 6223 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6224 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6225 " ├─ filters: [{(NULL, 19), [10, ∞), [NULL, ∞)}, {[19, 36), (10, ∞), (NULL, 65)}, {[19, 36), (10, ∞), (65, ∞)}]\n" + 6226 " └─ columns: [pk v1 v2 v3]\n" + 6227 "", 6228 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6229 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6230 " ├─ filters: [{(NULL, 19), [10, ∞), [NULL, ∞)}, {[19, 36), (10, ∞), (NULL, 65)}, {[19, 36), (10, ∞), (65, ∞)}]\n" + 6231 " └─ columns: [pk v1 v2 v3]\n" + 6232 "", 6233 }, 6234 { 6235 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1=56 AND v3<=4 AND v2=46) OR (v1 BETWEEN 21 AND 53 AND v2<>63)) OR (v1 BETWEEN 10 AND 62 AND v2>=62)) OR (v1>31));`, 6236 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6237 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6238 " ├─ static: [{[10, 21), [62, ∞), [NULL, ∞)}, {[21, 31], (NULL, ∞), [NULL, ∞)}, {(31, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6239 " ├─ colSet: (1-4)\n" + 6240 " ├─ tableId: 1\n" + 6241 " └─ Table\n" + 6242 " ├─ name: comp_index_t1\n" + 6243 " └─ columns: [pk v1 v2 v3]\n" + 6244 "", 6245 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6246 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6247 " ├─ filters: [{[10, 21), [62, ∞), [NULL, ∞)}, {[21, 31], (NULL, ∞), [NULL, ∞)}, {(31, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6248 " └─ columns: [pk v1 v2 v3]\n" + 6249 "", 6250 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6251 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6252 " ├─ filters: [{[10, 21), [62, ∞), [NULL, ∞)}, {[21, 31], (NULL, ∞), [NULL, ∞)}, {(31, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6253 " └─ columns: [pk v1 v2 v3]\n" + 6254 "", 6255 }, 6256 { 6257 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<20 AND v2>=1 AND v3=26) OR (v1=12));`, 6258 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6259 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6260 " ├─ static: [{(NULL, 12), [1, ∞), [26, 26]}, {[12, 12], [NULL, ∞), [NULL, ∞)}, {(12, 20), [1, ∞), [26, 26]}]\n" + 6261 " ├─ colSet: (1-4)\n" + 6262 " ├─ tableId: 1\n" + 6263 " └─ Table\n" + 6264 " ├─ name: comp_index_t1\n" + 6265 " └─ columns: [pk v1 v2 v3]\n" + 6266 "", 6267 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6268 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6269 " ├─ filters: [{(NULL, 12), [1, ∞), [26, 26]}, {[12, 12], [NULL, ∞), [NULL, ∞)}, {(12, 20), [1, ∞), [26, 26]}]\n" + 6270 " └─ columns: [pk v1 v2 v3]\n" + 6271 "", 6272 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6273 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6274 " ├─ filters: [{(NULL, 12), [1, ∞), [26, 26]}, {[12, 12], [NULL, ∞), [NULL, ∞)}, {(12, 20), [1, ∞), [26, 26]}]\n" + 6275 " └─ columns: [pk v1 v2 v3]\n" + 6276 "", 6277 }, 6278 { 6279 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>51) AND (v1<>4 AND v2<47 AND v3>=77) OR (v1>41 AND v3>62));`, 6280 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6281 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6282 " ├─ static: [{(NULL, 4), (NULL, 47), [77, ∞)}, {(4, 41], (NULL, 47), [77, ∞)}, {(41, ∞), [NULL, ∞), (62, ∞)}]\n" + 6283 " ├─ colSet: (1-4)\n" + 6284 " ├─ tableId: 1\n" + 6285 " └─ Table\n" + 6286 " ├─ name: comp_index_t1\n" + 6287 " └─ columns: [pk v1 v2 v3]\n" + 6288 "", 6289 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6290 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6291 " ├─ filters: [{(NULL, 4), (NULL, 47), [77, ∞)}, {(4, 41], (NULL, 47), [77, ∞)}, {(41, ∞), [NULL, ∞), (62, ∞)}]\n" + 6292 " └─ columns: [pk v1 v2 v3]\n" + 6293 "", 6294 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6295 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6296 " ├─ filters: [{(NULL, 4), (NULL, 47), [77, ∞)}, {(4, 41], (NULL, 47), [77, ∞)}, {(41, ∞), [NULL, ∞), (62, ∞)}]\n" + 6297 " └─ columns: [pk v1 v2 v3]\n" + 6298 "", 6299 }, 6300 { 6301 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<35) OR (v1>=58 AND v2>=0));`, 6302 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6303 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6304 " ├─ static: [{(NULL, 35), [NULL, ∞), [NULL, ∞)}, {[58, ∞), [0, ∞), [NULL, ∞)}]\n" + 6305 " ├─ colSet: (1-4)\n" + 6306 " ├─ tableId: 1\n" + 6307 " └─ Table\n" + 6308 " ├─ name: comp_index_t1\n" + 6309 " └─ columns: [pk v1 v2 v3]\n" + 6310 "", 6311 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6312 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6313 " ├─ filters: [{(NULL, 35), [NULL, ∞), [NULL, ∞)}, {[58, ∞), [0, ∞), [NULL, ∞)}]\n" + 6314 " └─ columns: [pk v1 v2 v3]\n" + 6315 "", 6316 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6317 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6318 " ├─ filters: [{(NULL, 35), [NULL, ∞), [NULL, ∞)}, {[58, ∞), [0, ∞), [NULL, ∞)}]\n" + 6319 " └─ columns: [pk v1 v2 v3]\n" + 6320 "", 6321 }, 6322 { 6323 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>28 AND v2<95) OR (v1<91));`, 6324 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6325 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6326 " ├─ static: [{(NULL, 91), [NULL, ∞), [NULL, ∞)}, {[91, ∞), (NULL, 95), [NULL, ∞)}]\n" + 6327 " ├─ colSet: (1-4)\n" + 6328 " ├─ tableId: 1\n" + 6329 " └─ Table\n" + 6330 " ├─ name: comp_index_t1\n" + 6331 " └─ columns: [pk v1 v2 v3]\n" + 6332 "", 6333 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6334 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6335 " ├─ filters: [{(NULL, 91), [NULL, ∞), [NULL, ∞)}, {[91, ∞), (NULL, 95), [NULL, ∞)}]\n" + 6336 " └─ columns: [pk v1 v2 v3]\n" + 6337 "", 6338 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6339 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6340 " ├─ filters: [{(NULL, 91), [NULL, ∞), [NULL, ∞)}, {[91, ∞), (NULL, 95), [NULL, ∞)}]\n" + 6341 " └─ columns: [pk v1 v2 v3]\n" + 6342 "", 6343 }, 6344 { 6345 Query: `SELECT * FROM comp_index_t1 WHERE (v1=99 AND v2<=41 AND v3>=61) AND (v1=34 AND v2>68 AND v3<=42);`, 6346 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6347 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6348 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 6349 " ├─ colSet: (1-4)\n" + 6350 " ├─ tableId: 1\n" + 6351 " └─ Table\n" + 6352 " ├─ name: comp_index_t1\n" + 6353 " └─ columns: [pk v1 v2 v3]\n" + 6354 "", 6355 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6356 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6357 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 6358 " └─ columns: [pk v1 v2 v3]\n" + 6359 "", 6360 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6361 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6362 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 6363 " └─ columns: [pk v1 v2 v3]\n" + 6364 "", 6365 }, 6366 { 6367 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=74 AND v2<=18) OR (v1>=72)) AND (v1=95 AND v2=31 AND v3 BETWEEN 5 AND 19);`, 6368 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6369 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6370 " ├─ static: [{[95, 95], [31, 31], [5, 19]}]\n" + 6371 " ├─ colSet: (1-4)\n" + 6372 " ├─ tableId: 1\n" + 6373 " └─ Table\n" + 6374 " ├─ name: comp_index_t1\n" + 6375 " └─ columns: [pk v1 v2 v3]\n" + 6376 "", 6377 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6378 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6379 " ├─ filters: [{[95, 95], [31, 31], [5, 19]}]\n" + 6380 " └─ columns: [pk v1 v2 v3]\n" + 6381 "", 6382 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6383 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6384 " ├─ filters: [{[95, 95], [31, 31], [5, 19]}]\n" + 6385 " └─ columns: [pk v1 v2 v3]\n" + 6386 "", 6387 }, 6388 { 6389 Query: `SELECT * FROM comp_index_t1 WHERE ((v1=64) OR (v1>=49 AND v2<9 AND v3<=49));`, 6390 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6391 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6392 " ├─ static: [{[49, 64), (NULL, 9), (NULL, 49]}, {[64, 64], [NULL, ∞), [NULL, ∞)}, {(64, ∞), (NULL, 9), (NULL, 49]}]\n" + 6393 " ├─ colSet: (1-4)\n" + 6394 " ├─ tableId: 1\n" + 6395 " └─ Table\n" + 6396 " ├─ name: comp_index_t1\n" + 6397 " └─ columns: [pk v1 v2 v3]\n" + 6398 "", 6399 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6400 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6401 " ├─ filters: [{[49, 64), (NULL, 9), (NULL, 49]}, {[64, 64], [NULL, ∞), [NULL, ∞)}, {(64, ∞), (NULL, 9), (NULL, 49]}]\n" + 6402 " └─ columns: [pk v1 v2 v3]\n" + 6403 "", 6404 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6405 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6406 " ├─ filters: [{[49, 64), (NULL, 9), (NULL, 49]}, {[64, 64], [NULL, ∞), [NULL, ∞)}, {(64, ∞), (NULL, 9), (NULL, 49]}]\n" + 6407 " └─ columns: [pk v1 v2 v3]\n" + 6408 "", 6409 }, 6410 { 6411 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=46) AND (v1<22 AND v2<>42 AND v3<>54) OR (v1>=55 AND v2 BETWEEN 11 AND 84));`, 6412 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6413 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6414 " ├─ static: [{[55, ∞), [11, 84], [NULL, ∞)}]\n" + 6415 " ├─ colSet: (1-4)\n" + 6416 " ├─ tableId: 1\n" + 6417 " └─ Table\n" + 6418 " ├─ name: comp_index_t1\n" + 6419 " └─ columns: [pk v1 v2 v3]\n" + 6420 "", 6421 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6422 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6423 " ├─ filters: [{[55, ∞), [11, 84], [NULL, ∞)}]\n" + 6424 " └─ columns: [pk v1 v2 v3]\n" + 6425 "", 6426 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6427 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6428 " ├─ filters: [{[55, ∞), [11, 84], [NULL, ∞)}]\n" + 6429 " └─ columns: [pk v1 v2 v3]\n" + 6430 "", 6431 }, 6432 { 6433 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<=7) OR (v1<54));`, 6434 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6435 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6436 " ├─ static: [{(NULL, 54), [NULL, ∞), [NULL, ∞)}]\n" + 6437 " ├─ colSet: (1-4)\n" + 6438 " ├─ tableId: 1\n" + 6439 " └─ Table\n" + 6440 " ├─ name: comp_index_t1\n" + 6441 " └─ columns: [pk v1 v2 v3]\n" + 6442 "", 6443 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6444 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6445 " ├─ filters: [{(NULL, 54), [NULL, ∞), [NULL, ∞)}]\n" + 6446 " └─ columns: [pk v1 v2 v3]\n" + 6447 "", 6448 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6449 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6450 " ├─ filters: [{(NULL, 54), [NULL, ∞), [NULL, ∞)}]\n" + 6451 " └─ columns: [pk v1 v2 v3]\n" + 6452 "", 6453 }, 6454 { 6455 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<=95 AND v2=55 AND v3>34) OR (v1=19));`, 6456 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6457 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6458 " ├─ static: [{(NULL, 19), [55, 55], (34, ∞)}, {[19, 19], [NULL, ∞), [NULL, ∞)}, {(19, 95], [55, 55], (34, ∞)}]\n" + 6459 " ├─ colSet: (1-4)\n" + 6460 " ├─ tableId: 1\n" + 6461 " └─ Table\n" + 6462 " ├─ name: comp_index_t1\n" + 6463 " └─ columns: [pk v1 v2 v3]\n" + 6464 "", 6465 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6466 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6467 " ├─ filters: [{(NULL, 19), [55, 55], (34, ∞)}, {[19, 19], [NULL, ∞), [NULL, ∞)}, {(19, 95], [55, 55], (34, ∞)}]\n" + 6468 " └─ columns: [pk v1 v2 v3]\n" + 6469 "", 6470 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6471 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6472 " ├─ filters: [{(NULL, 19), [55, 55], (34, ∞)}, {[19, 19], [NULL, ∞), [NULL, ∞)}, {(19, 95], [55, 55], (34, ∞)}]\n" + 6473 " └─ columns: [pk v1 v2 v3]\n" + 6474 "", 6475 }, 6476 { 6477 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1=51 AND v2<=9) OR (v1<>50)) OR (v1<>4 AND v2>56)) OR (v1 BETWEEN 3 AND 18 AND v2>10 AND v3=12));`, 6478 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6479 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6480 " ├─ static: [{(NULL, 50), [NULL, ∞), [NULL, ∞)}, {[50, 50], (56, ∞), [NULL, ∞)}, {(50, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6481 " ├─ colSet: (1-4)\n" + 6482 " ├─ tableId: 1\n" + 6483 " └─ Table\n" + 6484 " ├─ name: comp_index_t1\n" + 6485 " └─ columns: [pk v1 v2 v3]\n" + 6486 "", 6487 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6488 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6489 " ├─ filters: [{(NULL, 50), [NULL, ∞), [NULL, ∞)}, {[50, 50], (56, ∞), [NULL, ∞)}, {(50, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6490 " └─ columns: [pk v1 v2 v3]\n" + 6491 "", 6492 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6493 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6494 " ├─ filters: [{(NULL, 50), [NULL, ∞), [NULL, ∞)}, {[50, 50], (56, ∞), [NULL, ∞)}, {(50, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6495 " └─ columns: [pk v1 v2 v3]\n" + 6496 "", 6497 }, 6498 { 6499 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1<=90 AND v2<=17) OR (v1=2)) OR (v1<>70 AND v2>=84 AND v3<>42)) OR (v1<11 AND v2<>47 AND v3<55));`, 6500 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6501 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6502 " ├─ static: [{(NULL, 2), (NULL, 17], [NULL, ∞)}, {(NULL, 2), (17, 47), (NULL, 55)}, {(NULL, 2), (47, 84), (NULL, 55)}, {(NULL, 2), [84, ∞), (NULL, ∞)}, {[2, 2], [NULL, ∞), [NULL, ∞)}, {(2, 11), (17, 47), (NULL, 55)}, {(2, 11), (47, 84), (NULL, 55)}, {(2, 11), [84, ∞), (NULL, ∞)}, {(2, 90], (NULL, 17], [NULL, ∞)}, {[11, 70), [84, ∞), (NULL, 42)}, {[11, 70), [84, ∞), (42, ∞)}, {(70, ∞), [84, ∞), (NULL, 42)}, {(70, ∞), [84, ∞), (42, ∞)}]\n" + 6503 " ├─ colSet: (1-4)\n" + 6504 " ├─ tableId: 1\n" + 6505 " └─ Table\n" + 6506 " ├─ name: comp_index_t1\n" + 6507 " └─ columns: [pk v1 v2 v3]\n" + 6508 "", 6509 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6510 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6511 " ├─ filters: [{(NULL, 2), (NULL, 17], [NULL, ∞)}, {(NULL, 2), (17, 47), (NULL, 55)}, {(NULL, 2), (47, 84), (NULL, 55)}, {(NULL, 2), [84, ∞), (NULL, ∞)}, {[2, 2], [NULL, ∞), [NULL, ∞)}, {(2, 11), (17, 47), (NULL, 55)}, {(2, 11), (47, 84), (NULL, 55)}, {(2, 11), [84, ∞), (NULL, ∞)}, {(2, 90], (NULL, 17], [NULL, ∞)}, {[11, 70), [84, ∞), (NULL, 42)}, {[11, 70), [84, ∞), (42, ∞)}, {(70, ∞), [84, ∞), (NULL, 42)}, {(70, ∞), [84, ∞), (42, ∞)}]\n" + 6512 " └─ columns: [pk v1 v2 v3]\n" + 6513 "", 6514 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6515 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6516 " ├─ filters: [{(NULL, 2), (NULL, 17], [NULL, ∞)}, {(NULL, 2), (17, 47), (NULL, 55)}, {(NULL, 2), (47, 84), (NULL, 55)}, {(NULL, 2), [84, ∞), (NULL, ∞)}, {[2, 2], [NULL, ∞), [NULL, ∞)}, {(2, 11), (17, 47), (NULL, 55)}, {(2, 11), (47, 84), (NULL, 55)}, {(2, 11), [84, ∞), (NULL, ∞)}, {(2, 90], (NULL, 17], [NULL, ∞)}, {[11, 70), [84, ∞), (NULL, 42)}, {[11, 70), [84, ∞), (42, ∞)}, {(70, ∞), [84, ∞), (NULL, 42)}, {(70, ∞), [84, ∞), (42, ∞)}]\n" + 6517 " └─ columns: [pk v1 v2 v3]\n" + 6518 "", 6519 }, 6520 { 6521 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 50 AND 59) OR (v1>=23 AND v3>=87 AND v2<>46));`, 6522 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6523 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6524 " ├─ static: [{[23, 50), (NULL, 46), [87, ∞)}, {[23, 50), (46, ∞), [87, ∞)}, {[50, 59], [NULL, ∞), [NULL, ∞)}, {(59, ∞), (NULL, 46), [87, ∞)}, {(59, ∞), (46, ∞), [87, ∞)}]\n" + 6525 " ├─ colSet: (1-4)\n" + 6526 " ├─ tableId: 1\n" + 6527 " └─ Table\n" + 6528 " ├─ name: comp_index_t1\n" + 6529 " └─ columns: [pk v1 v2 v3]\n" + 6530 "", 6531 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6532 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6533 " ├─ filters: [{[23, 50), (NULL, 46), [87, ∞)}, {[23, 50), (46, ∞), [87, ∞)}, {[50, 59], [NULL, ∞), [NULL, ∞)}, {(59, ∞), (NULL, 46), [87, ∞)}, {(59, ∞), (46, ∞), [87, ∞)}]\n" + 6534 " └─ columns: [pk v1 v2 v3]\n" + 6535 "", 6536 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6537 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6538 " ├─ filters: [{[23, 50), (NULL, 46), [87, ∞)}, {[23, 50), (46, ∞), [87, ∞)}, {[50, 59], [NULL, ∞), [NULL, ∞)}, {(59, ∞), (NULL, 46), [87, ∞)}, {(59, ∞), (46, ∞), [87, ∞)}]\n" + 6539 " └─ columns: [pk v1 v2 v3]\n" + 6540 "", 6541 }, 6542 { 6543 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<53) OR (v1<=3));`, 6544 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6545 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6546 " ├─ static: [{(NULL, 53), [NULL, ∞), [NULL, ∞)}]\n" + 6547 " ├─ colSet: (1-4)\n" + 6548 " ├─ tableId: 1\n" + 6549 " └─ Table\n" + 6550 " ├─ name: comp_index_t1\n" + 6551 " └─ columns: [pk v1 v2 v3]\n" + 6552 "", 6553 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6554 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6555 " ├─ filters: [{(NULL, 53), [NULL, ∞), [NULL, ∞)}]\n" + 6556 " └─ columns: [pk v1 v2 v3]\n" + 6557 "", 6558 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6559 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6560 " ├─ filters: [{(NULL, 53), [NULL, ∞), [NULL, ∞)}]\n" + 6561 " └─ columns: [pk v1 v2 v3]\n" + 6562 "", 6563 }, 6564 { 6565 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>=16 AND v2 BETWEEN 66 AND 94) OR (v1>70 AND v2<=3)) AND (v1<>91) OR (v1=17 AND v2>=7));`, 6566 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6567 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6568 " ├─ static: [{[16, 17), [66, 94], [NULL, ∞)}, {[17, 17], [7, ∞), [NULL, ∞)}, {(17, 91), [66, 94], [NULL, ∞)}, {(70, 91), (NULL, 3], [NULL, ∞)}, {(91, ∞), (NULL, 3], [NULL, ∞)}, {(91, ∞), [66, 94], [NULL, ∞)}]\n" + 6569 " ├─ colSet: (1-4)\n" + 6570 " ├─ tableId: 1\n" + 6571 " └─ Table\n" + 6572 " ├─ name: comp_index_t1\n" + 6573 " └─ columns: [pk v1 v2 v3]\n" + 6574 "", 6575 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6576 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6577 " ├─ filters: [{[16, 17), [66, 94], [NULL, ∞)}, {[17, 17], [7, ∞), [NULL, ∞)}, {(17, 91), [66, 94], [NULL, ∞)}, {(70, 91), (NULL, 3], [NULL, ∞)}, {(91, ∞), (NULL, 3], [NULL, ∞)}, {(91, ∞), [66, 94], [NULL, ∞)}]\n" + 6578 " └─ columns: [pk v1 v2 v3]\n" + 6579 "", 6580 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6581 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6582 " ├─ filters: [{[16, 17), [66, 94], [NULL, ∞)}, {[17, 17], [7, ∞), [NULL, ∞)}, {(17, 91), [66, 94], [NULL, ∞)}, {(70, 91), (NULL, 3], [NULL, ∞)}, {(91, ∞), (NULL, 3], [NULL, ∞)}, {(91, ∞), [66, 94], [NULL, ∞)}]\n" + 6583 " └─ columns: [pk v1 v2 v3]\n" + 6584 "", 6585 }, 6586 { 6587 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<29 AND v3>=33 AND v2=43) OR (v1<59));`, 6588 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6589 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6590 " ├─ static: [{(NULL, 59), [NULL, ∞), [NULL, ∞)}]\n" + 6591 " ├─ colSet: (1-4)\n" + 6592 " ├─ tableId: 1\n" + 6593 " └─ Table\n" + 6594 " ├─ name: comp_index_t1\n" + 6595 " └─ columns: [pk v1 v2 v3]\n" + 6596 "", 6597 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6598 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6599 " ├─ filters: [{(NULL, 59), [NULL, ∞), [NULL, ∞)}]\n" + 6600 " └─ columns: [pk v1 v2 v3]\n" + 6601 "", 6602 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6603 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6604 " ├─ filters: [{(NULL, 59), [NULL, ∞), [NULL, ∞)}]\n" + 6605 " └─ columns: [pk v1 v2 v3]\n" + 6606 "", 6607 }, 6608 { 6609 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>19 AND v2>84 AND v3>94) OR (v1>=42 AND v3=41));`, 6610 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6611 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6612 " ├─ static: [{(19, ∞), (84, ∞), (94, ∞)}, {[42, ∞), [NULL, ∞), [41, 41]}]\n" + 6613 " ├─ colSet: (1-4)\n" + 6614 " ├─ tableId: 1\n" + 6615 " └─ Table\n" + 6616 " ├─ name: comp_index_t1\n" + 6617 " └─ columns: [pk v1 v2 v3]\n" + 6618 "", 6619 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6620 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6621 " ├─ filters: [{(19, ∞), (84, ∞), (94, ∞)}, {[42, ∞), [NULL, ∞), [41, 41]}]\n" + 6622 " └─ columns: [pk v1 v2 v3]\n" + 6623 "", 6624 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6625 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6626 " ├─ filters: [{(19, ∞), (84, ∞), (94, ∞)}, {[42, ∞), [NULL, ∞), [41, 41]}]\n" + 6627 " └─ columns: [pk v1 v2 v3]\n" + 6628 "", 6629 }, 6630 { 6631 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>=8 AND v2<=97 AND v3>=77) OR (v1<>4)) OR (v1<=41));`, 6632 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6633 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6634 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6635 " ├─ colSet: (1-4)\n" + 6636 " ├─ tableId: 1\n" + 6637 " └─ Table\n" + 6638 " ├─ name: comp_index_t1\n" + 6639 " └─ columns: [pk v1 v2 v3]\n" + 6640 "", 6641 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6642 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6643 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6644 " └─ columns: [pk v1 v2 v3]\n" + 6645 "", 6646 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6647 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6648 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6649 " └─ columns: [pk v1 v2 v3]\n" + 6650 "", 6651 }, 6652 { 6653 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>33) OR (v1<=28)) OR (v1<>68));`, 6654 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6655 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6656 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6657 " ├─ colSet: (1-4)\n" + 6658 " ├─ tableId: 1\n" + 6659 " └─ Table\n" + 6660 " ├─ name: comp_index_t1\n" + 6661 " └─ columns: [pk v1 v2 v3]\n" + 6662 "", 6663 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6664 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6665 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6666 " └─ columns: [pk v1 v2 v3]\n" + 6667 "", 6668 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6669 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6670 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6671 " └─ columns: [pk v1 v2 v3]\n" + 6672 "", 6673 }, 6674 { 6675 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<>15 AND v2>=22 AND v3<=51) OR (v1<>40 AND v2>26 AND v3<95));`, 6676 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6677 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6678 " ├─ static: [{(NULL, 15), [22, 26], (NULL, 51]}, {(NULL, 40), (26, ∞), (NULL, 95)}, {(15, 40), [22, 26], (NULL, 51]}, {[40, 40], [22, ∞), (NULL, 51]}, {(40, ∞), [22, 26], (NULL, 51]}, {(40, ∞), (26, ∞), (NULL, 95)}]\n" + 6679 " ├─ colSet: (1-4)\n" + 6680 " ├─ tableId: 1\n" + 6681 " └─ Table\n" + 6682 " ├─ name: comp_index_t1\n" + 6683 " └─ columns: [pk v1 v2 v3]\n" + 6684 "", 6685 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6686 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6687 " ├─ filters: [{(NULL, 15), [22, 26], (NULL, 51]}, {(NULL, 40), (26, ∞), (NULL, 95)}, {(15, 40), [22, 26], (NULL, 51]}, {[40, 40], [22, ∞), (NULL, 51]}, {(40, ∞), [22, 26], (NULL, 51]}, {(40, ∞), (26, ∞), (NULL, 95)}]\n" + 6688 " └─ columns: [pk v1 v2 v3]\n" + 6689 "", 6690 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6691 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6692 " ├─ filters: [{(NULL, 15), [22, 26], (NULL, 51]}, {(NULL, 40), (26, ∞), (NULL, 95)}, {(15, 40), [22, 26], (NULL, 51]}, {[40, 40], [22, ∞), (NULL, 51]}, {(40, ∞), [22, 26], (NULL, 51]}, {(40, ∞), (26, ∞), (NULL, 95)}]\n" + 6693 " └─ columns: [pk v1 v2 v3]\n" + 6694 "", 6695 }, 6696 { 6697 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>6) OR (v1<=67 AND v2<>67 AND v3>=88));`, 6698 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6699 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6700 " ├─ static: [{(NULL, 6], (NULL, 67), [88, ∞)}, {(NULL, 6], (67, ∞), [88, ∞)}, {(6, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6701 " ├─ colSet: (1-4)\n" + 6702 " ├─ tableId: 1\n" + 6703 " └─ Table\n" + 6704 " ├─ name: comp_index_t1\n" + 6705 " └─ columns: [pk v1 v2 v3]\n" + 6706 "", 6707 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6708 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6709 " ├─ filters: [{(NULL, 6], (NULL, 67), [88, ∞)}, {(NULL, 6], (67, ∞), [88, ∞)}, {(6, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6710 " └─ columns: [pk v1 v2 v3]\n" + 6711 "", 6712 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6713 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6714 " ├─ filters: [{(NULL, 6], (NULL, 67), [88, ∞)}, {(NULL, 6], (67, ∞), [88, ∞)}, {(6, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6715 " └─ columns: [pk v1 v2 v3]\n" + 6716 "", 6717 }, 6718 { 6719 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<=0) OR (v1<=53)) OR (v1<=38));`, 6720 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6721 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6722 " ├─ static: [{(NULL, 53], [NULL, ∞), [NULL, ∞)}]\n" + 6723 " ├─ colSet: (1-4)\n" + 6724 " ├─ tableId: 1\n" + 6725 " └─ Table\n" + 6726 " ├─ name: comp_index_t1\n" + 6727 " └─ columns: [pk v1 v2 v3]\n" + 6728 "", 6729 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6730 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6731 " ├─ filters: [{(NULL, 53], [NULL, ∞), [NULL, ∞)}]\n" + 6732 " └─ columns: [pk v1 v2 v3]\n" + 6733 "", 6734 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6735 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6736 " ├─ filters: [{(NULL, 53], [NULL, ∞), [NULL, ∞)}]\n" + 6737 " └─ columns: [pk v1 v2 v3]\n" + 6738 "", 6739 }, 6740 { 6741 Query: `SELECT * FROM comp_index_t1 WHERE (((v1=60 AND v3 BETWEEN 2 AND 13 AND v2 BETWEEN 10 AND 69) OR (v1 BETWEEN 1 AND 49)) OR (v1=8 AND v2<26));`, 6742 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6743 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6744 " ├─ static: [{[1, 49], [NULL, ∞), [NULL, ∞)}, {[60, 60], [10, 69], [2, 13]}]\n" + 6745 " ├─ colSet: (1-4)\n" + 6746 " ├─ tableId: 1\n" + 6747 " └─ Table\n" + 6748 " ├─ name: comp_index_t1\n" + 6749 " └─ columns: [pk v1 v2 v3]\n" + 6750 "", 6751 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6752 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6753 " ├─ filters: [{[1, 49], [NULL, ∞), [NULL, ∞)}, {[60, 60], [10, 69], [2, 13]}]\n" + 6754 " └─ columns: [pk v1 v2 v3]\n" + 6755 "", 6756 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6757 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6758 " ├─ filters: [{[1, 49], [NULL, ∞), [NULL, ∞)}, {[60, 60], [10, 69], [2, 13]}]\n" + 6759 " └─ columns: [pk v1 v2 v3]\n" + 6760 "", 6761 }, 6762 { 6763 Query: `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 14 AND 20 AND v2<>70) OR (v1>78 AND v2 BETWEEN 31 AND 52 AND v3>16)) OR (v1 BETWEEN 77 AND 78));`, 6764 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6765 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6766 " ├─ static: [{[14, 20], (NULL, 70), [NULL, ∞)}, {[14, 20], (70, ∞), [NULL, ∞)}, {[77, 78], [NULL, ∞), [NULL, ∞)}, {(78, ∞), [31, 52], (16, ∞)}]\n" + 6767 " ├─ colSet: (1-4)\n" + 6768 " ├─ tableId: 1\n" + 6769 " └─ Table\n" + 6770 " ├─ name: comp_index_t1\n" + 6771 " └─ columns: [pk v1 v2 v3]\n" + 6772 "", 6773 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6774 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6775 " ├─ filters: [{[14, 20], (NULL, 70), [NULL, ∞)}, {[14, 20], (70, ∞), [NULL, ∞)}, {[77, 78], [NULL, ∞), [NULL, ∞)}, {(78, ∞), [31, 52], (16, ∞)}]\n" + 6776 " └─ columns: [pk v1 v2 v3]\n" + 6777 "", 6778 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6779 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6780 " ├─ filters: [{[14, 20], (NULL, 70), [NULL, ∞)}, {[14, 20], (70, ∞), [NULL, ∞)}, {[77, 78], [NULL, ∞), [NULL, ∞)}, {(78, ∞), [31, 52], (16, ∞)}]\n" + 6781 " └─ columns: [pk v1 v2 v3]\n" + 6782 "", 6783 }, 6784 { 6785 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<80 AND v2 BETWEEN 41 AND 74) OR (v1>=36 AND v2=32));`, 6786 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6787 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6788 " ├─ static: [{(NULL, 80), [41, 74], [NULL, ∞)}, {[36, ∞), [32, 32], [NULL, ∞)}]\n" + 6789 " ├─ colSet: (1-4)\n" + 6790 " ├─ tableId: 1\n" + 6791 " └─ Table\n" + 6792 " ├─ name: comp_index_t1\n" + 6793 " └─ columns: [pk v1 v2 v3]\n" + 6794 "", 6795 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6796 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6797 " ├─ filters: [{(NULL, 80), [41, 74], [NULL, ∞)}, {[36, ∞), [32, 32], [NULL, ∞)}]\n" + 6798 " └─ columns: [pk v1 v2 v3]\n" + 6799 "", 6800 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6801 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6802 " ├─ filters: [{(NULL, 80), [41, 74], [NULL, ∞)}, {[36, ∞), [32, 32], [NULL, ∞)}]\n" + 6803 " └─ columns: [pk v1 v2 v3]\n" + 6804 "", 6805 }, 6806 { 6807 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>=24 AND v2=62) OR (v1<=24 AND v3<>22 AND v2 BETWEEN 12 AND 25)) OR (v1 BETWEEN 48 AND 49 AND v3>=90)) AND (v1<15 AND v2<>55 AND v3=51);`, 6808 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6809 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6810 " ├─ static: [{(NULL, 15), [12, 25], [51, 51]}]\n" + 6811 " ├─ colSet: (1-4)\n" + 6812 " ├─ tableId: 1\n" + 6813 " └─ Table\n" + 6814 " ├─ name: comp_index_t1\n" + 6815 " └─ columns: [pk v1 v2 v3]\n" + 6816 "", 6817 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6818 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6819 " ├─ filters: [{(NULL, 15), [12, 25], [51, 51]}]\n" + 6820 " └─ columns: [pk v1 v2 v3]\n" + 6821 "", 6822 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6823 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6824 " ├─ filters: [{(NULL, 15), [12, 25], [51, 51]}]\n" + 6825 " └─ columns: [pk v1 v2 v3]\n" + 6826 "", 6827 }, 6828 { 6829 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<66 AND v2>=11 AND v3<90) OR (v1<>90)) OR (v1<=7 AND v2=52));`, 6830 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6831 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6832 " ├─ static: [{(NULL, 90), [NULL, ∞), [NULL, ∞)}, {(90, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6833 " ├─ colSet: (1-4)\n" + 6834 " ├─ tableId: 1\n" + 6835 " └─ Table\n" + 6836 " ├─ name: comp_index_t1\n" + 6837 " └─ columns: [pk v1 v2 v3]\n" + 6838 "", 6839 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6840 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6841 " ├─ filters: [{(NULL, 90), [NULL, ∞), [NULL, ∞)}, {(90, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6842 " └─ columns: [pk v1 v2 v3]\n" + 6843 "", 6844 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6845 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6846 " ├─ filters: [{(NULL, 90), [NULL, ∞), [NULL, ∞)}, {(90, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6847 " └─ columns: [pk v1 v2 v3]\n" + 6848 "", 6849 }, 6850 { 6851 Query: `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 6 AND 74 AND v2=52) OR (v1>44 AND v3>=15 AND v2 BETWEEN 17 AND 94)) OR (v1>84));`, 6852 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6853 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6854 " ├─ static: [{[6, 74], [52, 52], [NULL, ∞)}, {(44, 74], [17, 52), [15, ∞)}, {(44, 74], (52, 94], [15, ∞)}, {(74, 84], [17, 94], [15, ∞)}, {(84, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6855 " ├─ colSet: (1-4)\n" + 6856 " ├─ tableId: 1\n" + 6857 " └─ Table\n" + 6858 " ├─ name: comp_index_t1\n" + 6859 " └─ columns: [pk v1 v2 v3]\n" + 6860 "", 6861 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6862 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6863 " ├─ filters: [{[6, 74], [52, 52], [NULL, ∞)}, {(44, 74], [17, 52), [15, ∞)}, {(44, 74], (52, 94], [15, ∞)}, {(74, 84], [17, 94], [15, ∞)}, {(84, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6864 " └─ columns: [pk v1 v2 v3]\n" + 6865 "", 6866 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6867 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6868 " ├─ filters: [{[6, 74], [52, 52], [NULL, ∞)}, {(44, 74], [17, 52), [15, ∞)}, {(44, 74], (52, 94], [15, ∞)}, {(74, 84], [17, 94], [15, ∞)}, {(84, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6869 " └─ columns: [pk v1 v2 v3]\n" + 6870 "", 6871 }, 6872 { 6873 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>=38) OR (v1=13)) OR (v1=25 AND v2<=32 AND v3 BETWEEN 12 AND 92));`, 6874 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6875 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6876 " ├─ static: [{[13, 13], [NULL, ∞), [NULL, ∞)}, {[25, 25], (NULL, 32], [12, 92]}, {[38, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6877 " ├─ colSet: (1-4)\n" + 6878 " ├─ tableId: 1\n" + 6879 " └─ Table\n" + 6880 " ├─ name: comp_index_t1\n" + 6881 " └─ columns: [pk v1 v2 v3]\n" + 6882 "", 6883 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6884 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6885 " ├─ filters: [{[13, 13], [NULL, ∞), [NULL, ∞)}, {[25, 25], (NULL, 32], [12, 92]}, {[38, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6886 " └─ columns: [pk v1 v2 v3]\n" + 6887 "", 6888 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6889 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6890 " ├─ filters: [{[13, 13], [NULL, ∞), [NULL, ∞)}, {[25, 25], (NULL, 32], [12, 92]}, {[38, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 6891 " └─ columns: [pk v1 v2 v3]\n" + 6892 "", 6893 }, 6894 { 6895 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<=84) OR (v1=41)) OR (v1<83 AND v2=13 AND v3=58));`, 6896 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6897 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6898 " ├─ static: [{(NULL, 84], [NULL, ∞), [NULL, ∞)}]\n" + 6899 " ├─ colSet: (1-4)\n" + 6900 " ├─ tableId: 1\n" + 6901 " └─ Table\n" + 6902 " ├─ name: comp_index_t1\n" + 6903 " └─ columns: [pk v1 v2 v3]\n" + 6904 "", 6905 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6906 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6907 " ├─ filters: [{(NULL, 84], [NULL, ∞), [NULL, ∞)}]\n" + 6908 " └─ columns: [pk v1 v2 v3]\n" + 6909 "", 6910 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6911 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6912 " ├─ filters: [{(NULL, 84], [NULL, ∞), [NULL, ∞)}]\n" + 6913 " └─ columns: [pk v1 v2 v3]\n" + 6914 "", 6915 }, 6916 { 6917 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<36 AND v2<=79 AND v3>47) OR (v1 BETWEEN 24 AND 89 AND v2<29));`, 6918 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6919 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6920 " ├─ static: [{(NULL, 24), (NULL, 79], (47, ∞)}, {[24, 36), [29, 79], (47, ∞)}, {[24, 89], (NULL, 29), [NULL, ∞)}]\n" + 6921 " ├─ colSet: (1-4)\n" + 6922 " ├─ tableId: 1\n" + 6923 " └─ Table\n" + 6924 " ├─ name: comp_index_t1\n" + 6925 " └─ columns: [pk v1 v2 v3]\n" + 6926 "", 6927 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6928 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6929 " ├─ filters: [{(NULL, 24), (NULL, 79], (47, ∞)}, {[24, 36), [29, 79], (47, ∞)}, {[24, 89], (NULL, 29), [NULL, ∞)}]\n" + 6930 " └─ columns: [pk v1 v2 v3]\n" + 6931 "", 6932 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6933 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6934 " ├─ filters: [{(NULL, 24), (NULL, 79], (47, ∞)}, {[24, 36), [29, 79], (47, ∞)}, {[24, 89], (NULL, 29), [NULL, ∞)}]\n" + 6935 " └─ columns: [pk v1 v2 v3]\n" + 6936 "", 6937 }, 6938 { 6939 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 3 AND 19 AND v2<=57 AND v3>61) OR (v1<=58 AND v2>=36 AND v3=31)) AND (v1>94);`, 6940 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6941 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6942 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 6943 " ├─ colSet: (1-4)\n" + 6944 " ├─ tableId: 1\n" + 6945 " └─ Table\n" + 6946 " ├─ name: comp_index_t1\n" + 6947 " └─ columns: [pk v1 v2 v3]\n" + 6948 "", 6949 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6950 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6951 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 6952 " └─ columns: [pk v1 v2 v3]\n" + 6953 "", 6954 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6955 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6956 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 6957 " └─ columns: [pk v1 v2 v3]\n" + 6958 "", 6959 }, 6960 { 6961 Query: `SELECT * FROM comp_index_t1 WHERE ((v1<78 AND v2 BETWEEN 55 AND 64 AND v3>=0) OR (v1<74));`, 6962 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6963 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6964 " ├─ static: [{(NULL, 74), [NULL, ∞), [NULL, ∞)}, {[74, 78), [55, 64], [0, ∞)}]\n" + 6965 " ├─ colSet: (1-4)\n" + 6966 " ├─ tableId: 1\n" + 6967 " └─ Table\n" + 6968 " ├─ name: comp_index_t1\n" + 6969 " └─ columns: [pk v1 v2 v3]\n" + 6970 "", 6971 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6972 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6973 " ├─ filters: [{(NULL, 74), [NULL, ∞), [NULL, ∞)}, {[74, 78), [55, 64], [0, ∞)}]\n" + 6974 " └─ columns: [pk v1 v2 v3]\n" + 6975 "", 6976 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6977 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6978 " ├─ filters: [{(NULL, 74), [NULL, ∞), [NULL, ∞)}, {[74, 78), [55, 64], [0, ∞)}]\n" + 6979 " └─ columns: [pk v1 v2 v3]\n" + 6980 "", 6981 }, 6982 { 6983 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<>1 AND v2=88 AND v3<33) OR (v1<=38)) OR (v1>74 AND v3<>55 AND v2>=9));`, 6984 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 6985 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6986 " ├─ static: [{(NULL, 38], [NULL, ∞), [NULL, ∞)}, {(38, 74], [88, 88], (NULL, 33)}, {(74, ∞), [9, ∞), (NULL, 55)}, {(74, ∞), [9, ∞), (55, ∞)}]\n" + 6987 " ├─ colSet: (1-4)\n" + 6988 " ├─ tableId: 1\n" + 6989 " └─ Table\n" + 6990 " ├─ name: comp_index_t1\n" + 6991 " └─ columns: [pk v1 v2 v3]\n" + 6992 "", 6993 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 6994 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 6995 " ├─ filters: [{(NULL, 38], [NULL, ∞), [NULL, ∞)}, {(38, 74], [88, 88], (NULL, 33)}, {(74, ∞), [9, ∞), (NULL, 55)}, {(74, ∞), [9, ∞), (55, ∞)}]\n" + 6996 " └─ columns: [pk v1 v2 v3]\n" + 6997 "", 6998 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 6999 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7000 " ├─ filters: [{(NULL, 38], [NULL, ∞), [NULL, ∞)}, {(38, 74], [88, 88], (NULL, 33)}, {(74, ∞), [9, ∞), (NULL, 55)}, {(74, ∞), [9, ∞), (55, ∞)}]\n" + 7001 " └─ columns: [pk v1 v2 v3]\n" + 7002 "", 7003 }, 7004 { 7005 Query: `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 15 AND 96 AND v2<>73) OR (v1>=16));`, 7006 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7007 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7008 " ├─ static: [{[15, 16), (NULL, 73), [NULL, ∞)}, {[15, 16), (73, ∞), [NULL, ∞)}, {[16, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7009 " ├─ colSet: (1-4)\n" + 7010 " ├─ tableId: 1\n" + 7011 " └─ Table\n" + 7012 " ├─ name: comp_index_t1\n" + 7013 " └─ columns: [pk v1 v2 v3]\n" + 7014 "", 7015 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7016 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7017 " ├─ filters: [{[15, 16), (NULL, 73), [NULL, ∞)}, {[15, 16), (73, ∞), [NULL, ∞)}, {[16, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7018 " └─ columns: [pk v1 v2 v3]\n" + 7019 "", 7020 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7021 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7022 " ├─ filters: [{[15, 16), (NULL, 73), [NULL, ∞)}, {[15, 16), (73, ∞), [NULL, ∞)}, {[16, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7023 " └─ columns: [pk v1 v2 v3]\n" + 7024 "", 7025 }, 7026 { 7027 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=72 AND v2<>19 AND v3 BETWEEN 9 AND 12) OR (v1<=77 AND v2=30 AND v3<=10));`, 7028 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7029 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7030 " ├─ static: [{(NULL, 72), [30, 30], (NULL, 10]}, {[72, 77], (19, 30), [9, 12]}, {[72, 77], [30, 30], (NULL, 12]}, {[72, 77], (30, ∞), [9, 12]}, {[72, ∞), (NULL, 19), [9, 12]}, {(77, ∞), (19, ∞), [9, 12]}]\n" + 7031 " ├─ colSet: (1-4)\n" + 7032 " ├─ tableId: 1\n" + 7033 " └─ Table\n" + 7034 " ├─ name: comp_index_t1\n" + 7035 " └─ columns: [pk v1 v2 v3]\n" + 7036 "", 7037 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7038 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7039 " ├─ filters: [{(NULL, 72), [30, 30], (NULL, 10]}, {[72, 77], (19, 30), [9, 12]}, {[72, 77], [30, 30], (NULL, 12]}, {[72, 77], (30, ∞), [9, 12]}, {[72, ∞), (NULL, 19), [9, 12]}, {(77, ∞), (19, ∞), [9, 12]}]\n" + 7040 " └─ columns: [pk v1 v2 v3]\n" + 7041 "", 7042 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7043 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7044 " ├─ filters: [{(NULL, 72), [30, 30], (NULL, 10]}, {[72, 77], (19, 30), [9, 12]}, {[72, 77], [30, 30], (NULL, 12]}, {[72, 77], (30, ∞), [9, 12]}, {[72, ∞), (NULL, 19), [9, 12]}, {(77, ∞), (19, ∞), [9, 12]}]\n" + 7045 " └─ columns: [pk v1 v2 v3]\n" + 7046 "", 7047 }, 7048 { 7049 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1>28 AND v2>=73 AND v3=79) AND (v1<=70 AND v2 BETWEEN 5 AND 36) OR (v1<=31)) OR (v1<36)) OR (v1=47 AND v2 BETWEEN 0 AND 92 AND v3<=43));`, 7050 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7051 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7052 " ├─ static: [{(NULL, 36), [NULL, ∞), [NULL, ∞)}, {[47, 47], [0, 92], (NULL, 43]}]\n" + 7053 " ├─ colSet: (1-4)\n" + 7054 " ├─ tableId: 1\n" + 7055 " └─ Table\n" + 7056 " ├─ name: comp_index_t1\n" + 7057 " └─ columns: [pk v1 v2 v3]\n" + 7058 "", 7059 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7060 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7061 " ├─ filters: [{(NULL, 36), [NULL, ∞), [NULL, ∞)}, {[47, 47], [0, 92], (NULL, 43]}]\n" + 7062 " └─ columns: [pk v1 v2 v3]\n" + 7063 "", 7064 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7065 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7066 " ├─ filters: [{(NULL, 36), [NULL, ∞), [NULL, ∞)}, {[47, 47], [0, 92], (NULL, 43]}]\n" + 7067 " └─ columns: [pk v1 v2 v3]\n" + 7068 "", 7069 }, 7070 { 7071 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>24) AND (v1>68 AND v2 BETWEEN 1 AND 79 AND v3 BETWEEN 23 AND 44) OR (v1>78));`, 7072 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7073 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7074 " ├─ static: [{(68, 78], [1, 79], [23, 44]}, {(78, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7075 " ├─ colSet: (1-4)\n" + 7076 " ├─ tableId: 1\n" + 7077 " └─ Table\n" + 7078 " ├─ name: comp_index_t1\n" + 7079 " └─ columns: [pk v1 v2 v3]\n" + 7080 "", 7081 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7082 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7083 " ├─ filters: [{(68, 78], [1, 79], [23, 44]}, {(78, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7084 " └─ columns: [pk v1 v2 v3]\n" + 7085 "", 7086 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7087 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7088 " ├─ filters: [{(68, 78], [1, 79], [23, 44]}, {(78, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7089 " └─ columns: [pk v1 v2 v3]\n" + 7090 "", 7091 }, 7092 { 7093 Query: `SELECT * FROM comp_index_t1 WHERE (((v1=47 AND v2=7) OR (v1>=7 AND v2<>87)) OR (v1<>6 AND v2<=84));`, 7094 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7095 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7096 " ├─ static: [{(NULL, 6), (NULL, 84], [NULL, ∞)}, {(6, 7), (NULL, 84], [NULL, ∞)}, {[7, ∞), (NULL, 87), [NULL, ∞)}, {[7, ∞), (87, ∞), [NULL, ∞)}]\n" + 7097 " ├─ colSet: (1-4)\n" + 7098 " ├─ tableId: 1\n" + 7099 " └─ Table\n" + 7100 " ├─ name: comp_index_t1\n" + 7101 " └─ columns: [pk v1 v2 v3]\n" + 7102 "", 7103 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7104 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7105 " ├─ filters: [{(NULL, 6), (NULL, 84], [NULL, ∞)}, {(6, 7), (NULL, 84], [NULL, ∞)}, {[7, ∞), (NULL, 87), [NULL, ∞)}, {[7, ∞), (87, ∞), [NULL, ∞)}]\n" + 7106 " └─ columns: [pk v1 v2 v3]\n" + 7107 "", 7108 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7109 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7110 " ├─ filters: [{(NULL, 6), (NULL, 84], [NULL, ∞)}, {(6, 7), (NULL, 84], [NULL, ∞)}, {[7, ∞), (NULL, 87), [NULL, ∞)}, {[7, ∞), (87, ∞), [NULL, ∞)}]\n" + 7111 " └─ columns: [pk v1 v2 v3]\n" + 7112 "", 7113 }, 7114 { 7115 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1>=49 AND v2>53 AND v3<>12) OR (v1=95 AND v2<1 AND v3<>89)) OR (v1=62 AND v3>=37 AND v2<=22)) OR (v1>30 AND v2>=66));`, 7116 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7117 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7118 " ├─ static: [{(30, ∞), [66, ∞), [NULL, ∞)}, {[49, ∞), (53, 66), (NULL, 12)}, {[49, ∞), (53, 66), (12, ∞)}, {[62, 62], (NULL, 22], [37, ∞)}, {[95, 95], (NULL, 1), (NULL, 89)}, {[95, 95], (NULL, 1), (89, ∞)}]\n" + 7119 " ├─ colSet: (1-4)\n" + 7120 " ├─ tableId: 1\n" + 7121 " └─ Table\n" + 7122 " ├─ name: comp_index_t1\n" + 7123 " └─ columns: [pk v1 v2 v3]\n" + 7124 "", 7125 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7126 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7127 " ├─ filters: [{(30, ∞), [66, ∞), [NULL, ∞)}, {[49, ∞), (53, 66), (NULL, 12)}, {[49, ∞), (53, 66), (12, ∞)}, {[62, 62], (NULL, 22], [37, ∞)}, {[95, 95], (NULL, 1), (NULL, 89)}, {[95, 95], (NULL, 1), (89, ∞)}]\n" + 7128 " └─ columns: [pk v1 v2 v3]\n" + 7129 "", 7130 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7131 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7132 " ├─ filters: [{(30, ∞), [66, ∞), [NULL, ∞)}, {[49, ∞), (53, 66), (NULL, 12)}, {[49, ∞), (53, 66), (12, ∞)}, {[62, 62], (NULL, 22], [37, ∞)}, {[95, 95], (NULL, 1), (NULL, 89)}, {[95, 95], (NULL, 1), (89, ∞)}]\n" + 7133 " └─ columns: [pk v1 v2 v3]\n" + 7134 "", 7135 }, 7136 { 7137 Query: `SELECT * FROM comp_index_t1 WHERE (((v1=24 AND v2<81) OR (v1<=22 AND v2>34 AND v3<55)) OR (v1=45 AND v2>=94 AND v3>17));`, 7138 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7139 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7140 " ├─ static: [{(NULL, 22], (34, ∞), (NULL, 55)}, {[24, 24], (NULL, 81), [NULL, ∞)}, {[45, 45], [94, ∞), (17, ∞)}]\n" + 7141 " ├─ colSet: (1-4)\n" + 7142 " ├─ tableId: 1\n" + 7143 " └─ Table\n" + 7144 " ├─ name: comp_index_t1\n" + 7145 " └─ columns: [pk v1 v2 v3]\n" + 7146 "", 7147 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7148 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7149 " ├─ filters: [{(NULL, 22], (34, ∞), (NULL, 55)}, {[24, 24], (NULL, 81), [NULL, ∞)}, {[45, 45], [94, ∞), (17, ∞)}]\n" + 7150 " └─ columns: [pk v1 v2 v3]\n" + 7151 "", 7152 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7153 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7154 " ├─ filters: [{(NULL, 22], (34, ∞), (NULL, 55)}, {[24, 24], (NULL, 81), [NULL, ∞)}, {[45, 45], [94, ∞), (17, ∞)}]\n" + 7155 " └─ columns: [pk v1 v2 v3]\n" + 7156 "", 7157 }, 7158 { 7159 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1>38) OR (v1<51 AND v2>=28 AND v3=44)) OR (v1 BETWEEN 23 AND 61 AND v2 BETWEEN 54 AND 75 AND v3<>44)) OR (v1>72));`, 7160 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7161 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7162 " ├─ static: [{(NULL, 38], [28, ∞), [44, 44]}, {[23, 38], [54, 75], (NULL, 44)}, {[23, 38], [54, 75], (44, ∞)}, {(38, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7163 " ├─ colSet: (1-4)\n" + 7164 " ├─ tableId: 1\n" + 7165 " └─ Table\n" + 7166 " ├─ name: comp_index_t1\n" + 7167 " └─ columns: [pk v1 v2 v3]\n" + 7168 "", 7169 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7170 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7171 " ├─ filters: [{(NULL, 38], [28, ∞), [44, 44]}, {[23, 38], [54, 75], (NULL, 44)}, {[23, 38], [54, 75], (44, ∞)}, {(38, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7172 " └─ columns: [pk v1 v2 v3]\n" + 7173 "", 7174 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7175 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7176 " ├─ filters: [{(NULL, 38], [28, ∞), [44, 44]}, {[23, 38], [54, 75], (NULL, 44)}, {[23, 38], [54, 75], (44, ∞)}, {(38, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7177 " └─ columns: [pk v1 v2 v3]\n" + 7178 "", 7179 }, 7180 { 7181 Query: `SELECT * FROM comp_index_t1 WHERE ((((v1>40 AND v2 BETWEEN 26 AND 30) OR (v1<3 AND v2>=62 AND v3<=8)) OR (v1<>57)) OR (v1=16 AND v2>92 AND v3<=74));`, 7182 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7183 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7184 " ├─ static: [{(NULL, 57), [NULL, ∞), [NULL, ∞)}, {[57, 57], [26, 30], [NULL, ∞)}, {(57, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7185 " ├─ colSet: (1-4)\n" + 7186 " ├─ tableId: 1\n" + 7187 " └─ Table\n" + 7188 " ├─ name: comp_index_t1\n" + 7189 " └─ columns: [pk v1 v2 v3]\n" + 7190 "", 7191 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7192 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7193 " ├─ filters: [{(NULL, 57), [NULL, ∞), [NULL, ∞)}, {[57, 57], [26, 30], [NULL, ∞)}, {(57, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7194 " └─ columns: [pk v1 v2 v3]\n" + 7195 "", 7196 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7197 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7198 " ├─ filters: [{(NULL, 57), [NULL, ∞), [NULL, ∞)}, {[57, 57], [26, 30], [NULL, ∞)}, {(57, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7199 " └─ columns: [pk v1 v2 v3]\n" + 7200 "", 7201 }, 7202 { 7203 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<=34 AND v2 BETWEEN 29 AND 35 AND v3>=64) OR (v1<>47)) AND (v1>=11) OR (v1<>46 AND v2 BETWEEN 4 AND 26));`, 7204 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7205 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7206 " ├─ static: [{(NULL, 11), [4, 26], [NULL, ∞)}, {[11, 47), [NULL, ∞), [NULL, ∞)}, {[47, 47], [4, 26], [NULL, ∞)}, {(47, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7207 " ├─ colSet: (1-4)\n" + 7208 " ├─ tableId: 1\n" + 7209 " └─ Table\n" + 7210 " ├─ name: comp_index_t1\n" + 7211 " └─ columns: [pk v1 v2 v3]\n" + 7212 "", 7213 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7214 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7215 " ├─ filters: [{(NULL, 11), [4, 26], [NULL, ∞)}, {[11, 47), [NULL, ∞), [NULL, ∞)}, {[47, 47], [4, 26], [NULL, ∞)}, {(47, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7216 " └─ columns: [pk v1 v2 v3]\n" + 7217 "", 7218 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7219 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7220 " ├─ filters: [{(NULL, 11), [4, 26], [NULL, ∞)}, {[11, 47), [NULL, ∞), [NULL, ∞)}, {[47, 47], [4, 26], [NULL, ∞)}, {(47, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7221 " └─ columns: [pk v1 v2 v3]\n" + 7222 "", 7223 }, 7224 { 7225 Query: `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 41 AND 98 AND v2>54) OR (v1<29)) OR (v1<32));`, 7226 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7227 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7228 " ├─ static: [{(NULL, 32), [NULL, ∞), [NULL, ∞)}, {[41, 98], (54, ∞), [NULL, ∞)}]\n" + 7229 " ├─ colSet: (1-4)\n" + 7230 " ├─ tableId: 1\n" + 7231 " └─ Table\n" + 7232 " ├─ name: comp_index_t1\n" + 7233 " └─ columns: [pk v1 v2 v3]\n" + 7234 "", 7235 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7236 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7237 " ├─ filters: [{(NULL, 32), [NULL, ∞), [NULL, ∞)}, {[41, 98], (54, ∞), [NULL, ∞)}]\n" + 7238 " └─ columns: [pk v1 v2 v3]\n" + 7239 "", 7240 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7241 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7242 " ├─ filters: [{(NULL, 32), [NULL, ∞), [NULL, ∞)}, {[41, 98], (54, ∞), [NULL, ∞)}]\n" + 7243 " └─ columns: [pk v1 v2 v3]\n" + 7244 "", 7245 }, 7246 { 7247 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=79 AND v3 BETWEEN 9 AND 95) OR (v1 BETWEEN 50 AND 50 AND v2 BETWEEN 16 AND 38 AND v3<>94));`, 7248 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7249 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7250 " ├─ static: [{[50, 50], [16, 38], (NULL, 94)}, {[50, 50], [16, 38], (94, ∞)}, {[79, ∞), [NULL, ∞), [9, 95]}]\n" + 7251 " ├─ colSet: (1-4)\n" + 7252 " ├─ tableId: 1\n" + 7253 " └─ Table\n" + 7254 " ├─ name: comp_index_t1\n" + 7255 " └─ columns: [pk v1 v2 v3]\n" + 7256 "", 7257 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7258 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7259 " ├─ filters: [{[50, 50], [16, 38], (NULL, 94)}, {[50, 50], [16, 38], (94, ∞)}, {[79, ∞), [NULL, ∞), [9, 95]}]\n" + 7260 " └─ columns: [pk v1 v2 v3]\n" + 7261 "", 7262 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7263 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7264 " ├─ filters: [{[50, 50], [16, 38], (NULL, 94)}, {[50, 50], [16, 38], (94, ∞)}, {[79, ∞), [NULL, ∞), [9, 95]}]\n" + 7265 " └─ columns: [pk v1 v2 v3]\n" + 7266 "", 7267 }, 7268 { 7269 Query: `SELECT * FROM comp_index_t1 WHERE (((((v1<>79) OR (v1 BETWEEN 9 AND 11 AND v2<48 AND v3<=73)) OR (v1<=46)) OR (v1 BETWEEN 66 AND 67)) OR (v1<=86 AND v2<4));`, 7270 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7271 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7272 " ├─ static: [{(NULL, 79), [NULL, ∞), [NULL, ∞)}, {[79, 79], (NULL, 4), [NULL, ∞)}, {(79, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7273 " ├─ colSet: (1-4)\n" + 7274 " ├─ tableId: 1\n" + 7275 " └─ Table\n" + 7276 " ├─ name: comp_index_t1\n" + 7277 " └─ columns: [pk v1 v2 v3]\n" + 7278 "", 7279 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7280 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7281 " ├─ filters: [{(NULL, 79), [NULL, ∞), [NULL, ∞)}, {[79, 79], (NULL, 4), [NULL, ∞)}, {(79, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7282 " └─ columns: [pk v1 v2 v3]\n" + 7283 "", 7284 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7285 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7286 " ├─ filters: [{(NULL, 79), [NULL, ∞), [NULL, ∞)}, {[79, 79], (NULL, 4), [NULL, ∞)}, {(79, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7287 " └─ columns: [pk v1 v2 v3]\n" + 7288 "", 7289 }, 7290 { 7291 Query: `SELECT * FROM comp_index_t1 WHERE (((v1>=2 AND v2 BETWEEN 32 AND 59 AND v3 BETWEEN 50 AND 52) OR (v1<26)) OR (v1<>2 AND v2>11)) AND (v1>32 AND v2<=92) AND (v1>45 AND v2<>5 AND v3<>49);`, 7292 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7293 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7294 " ├─ static: [{(45, ∞), (11, 92], (NULL, 49)}, {(45, ∞), (11, 92], (49, ∞)}]\n" + 7295 " ├─ colSet: (1-4)\n" + 7296 " ├─ tableId: 1\n" + 7297 " └─ Table\n" + 7298 " ├─ name: comp_index_t1\n" + 7299 " └─ columns: [pk v1 v2 v3]\n" + 7300 "", 7301 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7302 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7303 " ├─ filters: [{(45, ∞), (11, 92], (NULL, 49)}, {(45, ∞), (11, 92], (49, ∞)}]\n" + 7304 " └─ columns: [pk v1 v2 v3]\n" + 7305 "", 7306 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7307 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7308 " ├─ filters: [{(45, ∞), (11, 92], (NULL, 49)}, {(45, ∞), (11, 92], (49, ∞)}]\n" + 7309 " └─ columns: [pk v1 v2 v3]\n" + 7310 "", 7311 }, 7312 { 7313 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=19) AND (v1<=73) OR (v1=9 AND v2=5 AND v3<=5));`, 7314 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7315 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7316 " ├─ static: [{[9, 9], [5, 5], (NULL, 5]}, {[19, 73], [NULL, ∞), [NULL, ∞)}]\n" + 7317 " ├─ colSet: (1-4)\n" + 7318 " ├─ tableId: 1\n" + 7319 " └─ Table\n" + 7320 " ├─ name: comp_index_t1\n" + 7321 " └─ columns: [pk v1 v2 v3]\n" + 7322 "", 7323 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7324 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7325 " ├─ filters: [{[9, 9], [5, 5], (NULL, 5]}, {[19, 73], [NULL, ∞), [NULL, ∞)}]\n" + 7326 " └─ columns: [pk v1 v2 v3]\n" + 7327 "", 7328 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7329 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7330 " ├─ filters: [{[9, 9], [5, 5], (NULL, 5]}, {[19, 73], [NULL, ∞), [NULL, ∞)}]\n" + 7331 " └─ columns: [pk v1 v2 v3]\n" + 7332 "", 7333 }, 7334 { 7335 Query: `SELECT * FROM comp_index_t1 WHERE (((v1<62) AND (v1<=57 AND v2>51 AND v3 BETWEEN 29 AND 30) OR (v1>=28 AND v2<=62 AND v3<>76)) OR (v1>=94));`, 7336 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7337 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7338 " ├─ static: [{(NULL, 28), (51, ∞), [29, 30]}, {[28, 57], (62, ∞), [29, 30]}, {[28, 94), (NULL, 62], (NULL, 76)}, {[28, 94), (NULL, 62], (76, ∞)}, {[94, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7339 " ├─ colSet: (1-4)\n" + 7340 " ├─ tableId: 1\n" + 7341 " └─ Table\n" + 7342 " ├─ name: comp_index_t1\n" + 7343 " └─ columns: [pk v1 v2 v3]\n" + 7344 "", 7345 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7346 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7347 " ├─ filters: [{(NULL, 28), (51, ∞), [29, 30]}, {[28, 57], (62, ∞), [29, 30]}, {[28, 94), (NULL, 62], (NULL, 76)}, {[28, 94), (NULL, 62], (76, ∞)}, {[94, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7348 " └─ columns: [pk v1 v2 v3]\n" + 7349 "", 7350 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7351 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7352 " ├─ filters: [{(NULL, 28), (51, ∞), [29, 30]}, {[28, 57], (62, ∞), [29, 30]}, {[28, 94), (NULL, 62], (NULL, 76)}, {[28, 94), (NULL, 62], (76, ∞)}, {[94, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7353 " └─ columns: [pk v1 v2 v3]\n" + 7354 "", 7355 }, 7356 { 7357 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>21) OR (v1>=86 AND v2>2 AND v3>=67));`, 7358 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7359 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7360 " ├─ static: [{(21, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7361 " ├─ colSet: (1-4)\n" + 7362 " ├─ tableId: 1\n" + 7363 " └─ Table\n" + 7364 " ├─ name: comp_index_t1\n" + 7365 " └─ columns: [pk v1 v2 v3]\n" + 7366 "", 7367 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7368 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7369 " ├─ filters: [{(21, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7370 " └─ columns: [pk v1 v2 v3]\n" + 7371 "", 7372 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7373 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7374 " ├─ filters: [{(21, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7375 " └─ columns: [pk v1 v2 v3]\n" + 7376 "", 7377 }, 7378 { 7379 Query: `SELECT * FROM comp_index_t1 WHERE ((v1>=94) OR (v1>=57 AND v2<>53 AND v3>22));`, 7380 ExpectedPlan: "IndexedTableAccess(comp_index_t1)\n" + 7381 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7382 " ├─ static: [{[57, 94), (NULL, 53), (22, ∞)}, {[57, 94), (53, ∞), (22, ∞)}, {[94, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7383 " ├─ colSet: (1-4)\n" + 7384 " ├─ tableId: 1\n" + 7385 " └─ Table\n" + 7386 " ├─ name: comp_index_t1\n" + 7387 " └─ columns: [pk v1 v2 v3]\n" + 7388 "", 7389 ExpectedEstimates: "IndexedTableAccess(comp_index_t1)\n" + 7390 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7391 " ├─ filters: [{[57, 94), (NULL, 53), (22, ∞)}, {[57, 94), (53, ∞), (22, ∞)}, {[94, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7392 " └─ columns: [pk v1 v2 v3]\n" + 7393 "", 7394 ExpectedAnalysis: "IndexedTableAccess(comp_index_t1)\n" + 7395 " ├─ index: [comp_index_t1.v1,comp_index_t1.v2,comp_index_t1.v3]\n" + 7396 " ├─ filters: [{[57, 94), (NULL, 53), (22, ∞)}, {[57, 94), (53, ∞), (22, ∞)}, {[94, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7397 " └─ columns: [pk v1 v2 v3]\n" + 7398 "", 7399 }, 7400 { 7401 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<40 AND v2=9) OR (v1<11 AND v2=15 AND v3<>55 AND v4<>95));`, 7402 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7403 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7404 " ├─ static: [{(NULL, 11), [15, 15], (NULL, 55), (NULL, 95)}, {(NULL, 11), [15, 15], (NULL, 55), (95, ∞)}, {(NULL, 11), [15, 15], (55, ∞), (NULL, 95)}, {(NULL, 11), [15, 15], (55, ∞), (95, ∞)}, {(NULL, 40), [9, 9], [NULL, ∞), [NULL, ∞)}]\n" + 7405 " ├─ colSet: (1-5)\n" + 7406 " ├─ tableId: 1\n" + 7407 " └─ Table\n" + 7408 " ├─ name: comp_index_t2\n" + 7409 " └─ columns: [pk v1 v2 v3 v4]\n" + 7410 "", 7411 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7412 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7413 " ├─ filters: [{(NULL, 11), [15, 15], (NULL, 55), (NULL, 95)}, {(NULL, 11), [15, 15], (NULL, 55), (95, ∞)}, {(NULL, 11), [15, 15], (55, ∞), (NULL, 95)}, {(NULL, 11), [15, 15], (55, ∞), (95, ∞)}, {(NULL, 40), [9, 9], [NULL, ∞), [NULL, ∞)}]\n" + 7414 " └─ columns: [pk v1 v2 v3 v4]\n" + 7415 "", 7416 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7417 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7418 " ├─ filters: [{(NULL, 11), [15, 15], (NULL, 55), (NULL, 95)}, {(NULL, 11), [15, 15], (NULL, 55), (95, ∞)}, {(NULL, 11), [15, 15], (55, ∞), (NULL, 95)}, {(NULL, 11), [15, 15], (55, ∞), (95, ∞)}, {(NULL, 40), [9, 9], [NULL, ∞), [NULL, ∞)}]\n" + 7419 " └─ columns: [pk v1 v2 v3 v4]\n" + 7420 "", 7421 }, 7422 { 7423 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=82 AND v2=74 AND v3=98) OR (v1=27 AND v2 BETWEEN 16 AND 46 AND v3<>27)) OR (v1>=80 AND v2<>42 AND v3>=47));`, 7424 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7425 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7426 " ├─ static: [{(NULL, 80), [74, 74], [98, 98], [NULL, ∞)}, {[27, 27], [16, 46], (NULL, 27), [NULL, ∞)}, {[27, 27], [16, 46], (27, ∞), [NULL, ∞)}, {[80, ∞), (NULL, 42), [47, ∞), [NULL, ∞)}, {[80, ∞), (42, ∞), [47, ∞), [NULL, ∞)}]\n" + 7427 " ├─ colSet: (1-5)\n" + 7428 " ├─ tableId: 1\n" + 7429 " └─ Table\n" + 7430 " ├─ name: comp_index_t2\n" + 7431 " └─ columns: [pk v1 v2 v3 v4]\n" + 7432 "", 7433 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7434 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7435 " ├─ filters: [{(NULL, 80), [74, 74], [98, 98], [NULL, ∞)}, {[27, 27], [16, 46], (NULL, 27), [NULL, ∞)}, {[27, 27], [16, 46], (27, ∞), [NULL, ∞)}, {[80, ∞), (NULL, 42), [47, ∞), [NULL, ∞)}, {[80, ∞), (42, ∞), [47, ∞), [NULL, ∞)}]\n" + 7436 " └─ columns: [pk v1 v2 v3 v4]\n" + 7437 "", 7438 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7439 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7440 " ├─ filters: [{(NULL, 80), [74, 74], [98, 98], [NULL, ∞)}, {[27, 27], [16, 46], (NULL, 27), [NULL, ∞)}, {[27, 27], [16, 46], (27, ∞), [NULL, ∞)}, {[80, ∞), (NULL, 42), [47, ∞), [NULL, ∞)}, {[80, ∞), (42, ∞), [47, ∞), [NULL, ∞)}]\n" + 7441 " └─ columns: [pk v1 v2 v3 v4]\n" + 7442 "", 7443 }, 7444 { 7445 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>=47 AND v2<=37 AND v3<90 AND v4=25) OR (v1<42 AND v2>=96 AND v3=38)) OR (v1>26)) OR (v1>=80));`, 7446 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7447 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7448 " ├─ static: [{(NULL, 26], [96, ∞), [38, 38], [NULL, ∞)}, {(26, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7449 " ├─ colSet: (1-5)\n" + 7450 " ├─ tableId: 1\n" + 7451 " └─ Table\n" + 7452 " ├─ name: comp_index_t2\n" + 7453 " └─ columns: [pk v1 v2 v3 v4]\n" + 7454 "", 7455 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7456 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7457 " ├─ filters: [{(NULL, 26], [96, ∞), [38, 38], [NULL, ∞)}, {(26, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7458 " └─ columns: [pk v1 v2 v3 v4]\n" + 7459 "", 7460 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7461 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7462 " ├─ filters: [{(NULL, 26], [96, ∞), [38, 38], [NULL, ∞)}, {(26, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7463 " └─ columns: [pk v1 v2 v3 v4]\n" + 7464 "", 7465 }, 7466 { 7467 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>33 AND v2>=16) OR (v1>=24));`, 7468 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7469 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7470 " ├─ static: [{[24, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7471 " ├─ colSet: (1-5)\n" + 7472 " ├─ tableId: 1\n" + 7473 " └─ Table\n" + 7474 " ├─ name: comp_index_t2\n" + 7475 " └─ columns: [pk v1 v2 v3 v4]\n" + 7476 "", 7477 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7478 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7479 " ├─ filters: [{[24, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7480 " └─ columns: [pk v1 v2 v3 v4]\n" + 7481 "", 7482 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7483 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7484 " ├─ filters: [{[24, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7485 " └─ columns: [pk v1 v2 v3 v4]\n" + 7486 "", 7487 }, 7488 { 7489 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=51 AND v4 BETWEEN 36 AND 55 AND v2>62 AND v3<43) OR (v1 BETWEEN 5 AND 60 AND v2<1)) OR (v1=51 AND v2>=98 AND v3>=94));`, 7490 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7491 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7492 " ├─ static: [{[5, 60], (NULL, 1), [NULL, ∞), [NULL, ∞)}, {[51, 51], (62, ∞), (NULL, 43), [36, 55]}, {[51, 51], [98, ∞), [94, ∞), [NULL, ∞)}]\n" + 7493 " ├─ colSet: (1-5)\n" + 7494 " ├─ tableId: 1\n" + 7495 " └─ Table\n" + 7496 " ├─ name: comp_index_t2\n" + 7497 " └─ columns: [pk v1 v2 v3 v4]\n" + 7498 "", 7499 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7500 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7501 " ├─ filters: [{[5, 60], (NULL, 1), [NULL, ∞), [NULL, ∞)}, {[51, 51], (62, ∞), (NULL, 43), [36, 55]}, {[51, 51], [98, ∞), [94, ∞), [NULL, ∞)}]\n" + 7502 " └─ columns: [pk v1 v2 v3 v4]\n" + 7503 "", 7504 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7505 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7506 " ├─ filters: [{[5, 60], (NULL, 1), [NULL, ∞), [NULL, ∞)}, {[51, 51], (62, ∞), (NULL, 43), [36, 55]}, {[51, 51], [98, ∞), [94, ∞), [NULL, ∞)}]\n" + 7507 " └─ columns: [pk v1 v2 v3 v4]\n" + 7508 "", 7509 }, 7510 { 7511 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=6 AND v4<95 AND v2<41 AND v3<=4) AND (v1>=81 AND v4>44 AND v2 BETWEEN 6 AND 11) OR (v1<=98));`, 7512 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7513 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7514 " ├─ static: [{(NULL, 98], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(98, ∞), [6, 11], (NULL, 4], (44, 95)}]\n" + 7515 " ├─ colSet: (1-5)\n" + 7516 " ├─ tableId: 1\n" + 7517 " └─ Table\n" + 7518 " ├─ name: comp_index_t2\n" + 7519 " └─ columns: [pk v1 v2 v3 v4]\n" + 7520 "", 7521 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7522 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7523 " ├─ filters: [{(NULL, 98], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(98, ∞), [6, 11], (NULL, 4], (44, 95)}]\n" + 7524 " └─ columns: [pk v1 v2 v3 v4]\n" + 7525 "", 7526 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7527 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7528 " ├─ filters: [{(NULL, 98], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(98, ∞), [6, 11], (NULL, 4], (44, 95)}]\n" + 7529 " └─ columns: [pk v1 v2 v3 v4]\n" + 7530 "", 7531 }, 7532 { 7533 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=12 AND v2<=78 AND v3 BETWEEN 28 AND 63 AND v4 BETWEEN 46 AND 95) OR (v1=87 AND v2<=44)) OR (v1<14 AND v2<>37 AND v3 BETWEEN 6 AND 32));`, 7534 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7535 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7536 " ├─ static: [{(NULL, 14), (NULL, 37), [6, 32], [NULL, ∞)}, {(NULL, 14), (37, ∞), [6, 32], [NULL, ∞)}, {[12, 14), (NULL, 37), (32, 63], [46, 95]}, {[12, 14), [37, 37], [28, 63], [46, 95]}, {[12, 14), (37, 78], (32, 63], [46, 95]}, {[14, 87), (NULL, 78], [28, 63], [46, 95]}, {[87, 87], (NULL, 44], [NULL, ∞), [NULL, ∞)}, {[87, 87], (44, 78], [28, 63], [46, 95]}, {(87, ∞), (NULL, 78], [28, 63], [46, 95]}]\n" + 7537 " ├─ colSet: (1-5)\n" + 7538 " ├─ tableId: 1\n" + 7539 " └─ Table\n" + 7540 " ├─ name: comp_index_t2\n" + 7541 " └─ columns: [pk v1 v2 v3 v4]\n" + 7542 "", 7543 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7544 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7545 " ├─ filters: [{(NULL, 14), (NULL, 37), [6, 32], [NULL, ∞)}, {(NULL, 14), (37, ∞), [6, 32], [NULL, ∞)}, {[12, 14), (NULL, 37), (32, 63], [46, 95]}, {[12, 14), [37, 37], [28, 63], [46, 95]}, {[12, 14), (37, 78], (32, 63], [46, 95]}, {[14, 87), (NULL, 78], [28, 63], [46, 95]}, {[87, 87], (NULL, 44], [NULL, ∞), [NULL, ∞)}, {[87, 87], (44, 78], [28, 63], [46, 95]}, {(87, ∞), (NULL, 78], [28, 63], [46, 95]}]\n" + 7546 " └─ columns: [pk v1 v2 v3 v4]\n" + 7547 "", 7548 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7549 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7550 " ├─ filters: [{(NULL, 14), (NULL, 37), [6, 32], [NULL, ∞)}, {(NULL, 14), (37, ∞), [6, 32], [NULL, ∞)}, {[12, 14), (NULL, 37), (32, 63], [46, 95]}, {[12, 14), [37, 37], [28, 63], [46, 95]}, {[12, 14), (37, 78], (32, 63], [46, 95]}, {[14, 87), (NULL, 78], [28, 63], [46, 95]}, {[87, 87], (NULL, 44], [NULL, ∞), [NULL, ∞)}, {[87, 87], (44, 78], [28, 63], [46, 95]}, {(87, ∞), (NULL, 78], [28, 63], [46, 95]}]\n" + 7551 " └─ columns: [pk v1 v2 v3 v4]\n" + 7552 "", 7553 }, 7554 { 7555 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=80 AND v2=72 AND v3>19) OR (v1<>38 AND v2>=86 AND v3=7)) OR (v1<=52 AND v2=25 AND v3 BETWEEN 7 AND 32 AND v4<=31));`, 7556 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7557 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7558 " ├─ static: [{(NULL, 38), [86, ∞), [7, 7], [NULL, ∞)}, {(NULL, 52], [25, 25], [7, 32], (NULL, 31]}, {(NULL, 80], [72, 72], (19, ∞), [NULL, ∞)}, {(38, ∞), [86, ∞), [7, 7], [NULL, ∞)}]\n" + 7559 " ├─ colSet: (1-5)\n" + 7560 " ├─ tableId: 1\n" + 7561 " └─ Table\n" + 7562 " ├─ name: comp_index_t2\n" + 7563 " └─ columns: [pk v1 v2 v3 v4]\n" + 7564 "", 7565 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7566 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7567 " ├─ filters: [{(NULL, 38), [86, ∞), [7, 7], [NULL, ∞)}, {(NULL, 52], [25, 25], [7, 32], (NULL, 31]}, {(NULL, 80], [72, 72], (19, ∞), [NULL, ∞)}, {(38, ∞), [86, ∞), [7, 7], [NULL, ∞)}]\n" + 7568 " └─ columns: [pk v1 v2 v3 v4]\n" + 7569 "", 7570 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7571 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7572 " ├─ filters: [{(NULL, 38), [86, ∞), [7, 7], [NULL, ∞)}, {(NULL, 52], [25, 25], [7, 32], (NULL, 31]}, {(NULL, 80], [72, 72], (19, ∞), [NULL, ∞)}, {(38, ∞), [86, ∞), [7, 7], [NULL, ∞)}]\n" + 7573 " └─ columns: [pk v1 v2 v3 v4]\n" + 7574 "", 7575 }, 7576 { 7577 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=70) OR (v1>=38 AND v3 BETWEEN 25 AND 30));`, 7578 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7579 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7580 " ├─ static: [{[38, 70), [NULL, ∞), [25, 30], [NULL, ∞)}, {[70, 70], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(70, ∞), [NULL, ∞), [25, 30], [NULL, ∞)}]\n" + 7581 " ├─ colSet: (1-5)\n" + 7582 " ├─ tableId: 1\n" + 7583 " └─ Table\n" + 7584 " ├─ name: comp_index_t2\n" + 7585 " └─ columns: [pk v1 v2 v3 v4]\n" + 7586 "", 7587 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7588 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7589 " ├─ filters: [{[38, 70), [NULL, ∞), [25, 30], [NULL, ∞)}, {[70, 70], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(70, ∞), [NULL, ∞), [25, 30], [NULL, ∞)}]\n" + 7590 " └─ columns: [pk v1 v2 v3 v4]\n" + 7591 "", 7592 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7593 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7594 " ├─ filters: [{[38, 70), [NULL, ∞), [25, 30], [NULL, ∞)}, {[70, 70], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(70, ∞), [NULL, ∞), [25, 30], [NULL, ∞)}]\n" + 7595 " └─ columns: [pk v1 v2 v3 v4]\n" + 7596 "", 7597 }, 7598 { 7599 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=33) OR (v1<=31 AND v4<>35 AND v2=38));`, 7600 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7601 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7602 " ├─ static: [{(NULL, 33], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7603 " ├─ colSet: (1-5)\n" + 7604 " ├─ tableId: 1\n" + 7605 " └─ Table\n" + 7606 " ├─ name: comp_index_t2\n" + 7607 " └─ columns: [pk v1 v2 v3 v4]\n" + 7608 "", 7609 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7610 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7611 " ├─ filters: [{(NULL, 33], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7612 " └─ columns: [pk v1 v2 v3 v4]\n" + 7613 "", 7614 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7615 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7616 " ├─ filters: [{(NULL, 33], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7617 " └─ columns: [pk v1 v2 v3 v4]\n" + 7618 "", 7619 }, 7620 { 7621 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>14 AND v2<51 AND v3 BETWEEN 67 AND 78 AND v4=8) OR (v1>=44 AND v2<>35 AND v3<35 AND v4>=12)) OR (v1>=63 AND v2<=3));`, 7622 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7623 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7624 " ├─ static: [{(14, 63), (NULL, 51), [67, 78], [8, 8]}, {[44, 63), (NULL, 35), (NULL, 35), [12, ∞)}, {[44, ∞), (35, ∞), (NULL, 35), [12, ∞)}, {[63, ∞), (NULL, 3], [NULL, ∞), [NULL, ∞)}, {[63, ∞), (3, 35), (NULL, 35), [12, ∞)}, {[63, ∞), (3, 51), [67, 78], [8, 8]}]\n" + 7625 " ├─ colSet: (1-5)\n" + 7626 " ├─ tableId: 1\n" + 7627 " └─ Table\n" + 7628 " ├─ name: comp_index_t2\n" + 7629 " └─ columns: [pk v1 v2 v3 v4]\n" + 7630 "", 7631 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7632 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7633 " ├─ filters: [{(14, 63), (NULL, 51), [67, 78], [8, 8]}, {[44, 63), (NULL, 35), (NULL, 35), [12, ∞)}, {[44, ∞), (35, ∞), (NULL, 35), [12, ∞)}, {[63, ∞), (NULL, 3], [NULL, ∞), [NULL, ∞)}, {[63, ∞), (3, 35), (NULL, 35), [12, ∞)}, {[63, ∞), (3, 51), [67, 78], [8, 8]}]\n" + 7634 " └─ columns: [pk v1 v2 v3 v4]\n" + 7635 "", 7636 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7637 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7638 " ├─ filters: [{(14, 63), (NULL, 51), [67, 78], [8, 8]}, {[44, 63), (NULL, 35), (NULL, 35), [12, ∞)}, {[44, ∞), (35, ∞), (NULL, 35), [12, ∞)}, {[63, ∞), (NULL, 3], [NULL, ∞), [NULL, ∞)}, {[63, ∞), (3, 35), (NULL, 35), [12, ∞)}, {[63, ∞), (3, 51), [67, 78], [8, 8]}]\n" + 7639 " └─ columns: [pk v1 v2 v3 v4]\n" + 7640 "", 7641 }, 7642 { 7643 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=6 AND v2<=25 AND v3>39) OR (v1 BETWEEN 17 AND 94 AND v2>96));`, 7644 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7645 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7646 " ├─ static: [{[6, 6], (NULL, 25], (39, ∞), [NULL, ∞)}, {[17, 94], (96, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7647 " ├─ colSet: (1-5)\n" + 7648 " ├─ tableId: 1\n" + 7649 " └─ Table\n" + 7650 " ├─ name: comp_index_t2\n" + 7651 " └─ columns: [pk v1 v2 v3 v4]\n" + 7652 "", 7653 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7654 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7655 " ├─ filters: [{[6, 6], (NULL, 25], (39, ∞), [NULL, ∞)}, {[17, 94], (96, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7656 " └─ columns: [pk v1 v2 v3 v4]\n" + 7657 "", 7658 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7659 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7660 " ├─ filters: [{[6, 6], (NULL, 25], (39, ∞), [NULL, ∞)}, {[17, 94], (96, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7661 " └─ columns: [pk v1 v2 v3 v4]\n" + 7662 "", 7663 }, 7664 { 7665 Query: `SELECT * FROM comp_index_t2 WHERE (((((v1>=91 AND v4<=47 AND v2>=43) OR (v1=75)) OR (v1<41 AND v4>=64 AND v2>83)) OR (v1 BETWEEN 72 AND 88 AND v2=48 AND v3<=10)) OR (v1<=44));`, 7666 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7667 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7668 " ├─ static: [{(NULL, 44], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[72, 75), [48, 48], (NULL, 10], [NULL, ∞)}, {[75, 75], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(75, 88], [48, 48], (NULL, 10], [NULL, ∞)}, {[91, ∞), [43, ∞), [NULL, ∞), (NULL, 47]}]\n" + 7669 " ├─ colSet: (1-5)\n" + 7670 " ├─ tableId: 1\n" + 7671 " └─ Table\n" + 7672 " ├─ name: comp_index_t2\n" + 7673 " └─ columns: [pk v1 v2 v3 v4]\n" + 7674 "", 7675 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7676 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7677 " ├─ filters: [{(NULL, 44], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[72, 75), [48, 48], (NULL, 10], [NULL, ∞)}, {[75, 75], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(75, 88], [48, 48], (NULL, 10], [NULL, ∞)}, {[91, ∞), [43, ∞), [NULL, ∞), (NULL, 47]}]\n" + 7678 " └─ columns: [pk v1 v2 v3 v4]\n" + 7679 "", 7680 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7681 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7682 " ├─ filters: [{(NULL, 44], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[72, 75), [48, 48], (NULL, 10], [NULL, ∞)}, {[75, 75], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(75, 88], [48, 48], (NULL, 10], [NULL, ∞)}, {[91, ∞), [43, ∞), [NULL, ∞), (NULL, 47]}]\n" + 7683 " └─ columns: [pk v1 v2 v3 v4]\n" + 7684 "", 7685 }, 7686 { 7687 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=31) OR (v1<84 AND v2<=73 AND v3<>2 AND v4<=51));`, 7688 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7689 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7690 " ├─ static: [{(NULL, 31), (NULL, 73], (NULL, 2), (NULL, 51]}, {(NULL, 31), (NULL, 73], (2, ∞), (NULL, 51]}, {[31, 31], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(31, 84), (NULL, 73], (NULL, 2), (NULL, 51]}, {(31, 84), (NULL, 73], (2, ∞), (NULL, 51]}]\n" + 7691 " ├─ colSet: (1-5)\n" + 7692 " ├─ tableId: 1\n" + 7693 " └─ Table\n" + 7694 " ├─ name: comp_index_t2\n" + 7695 " └─ columns: [pk v1 v2 v3 v4]\n" + 7696 "", 7697 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7698 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7699 " ├─ filters: [{(NULL, 31), (NULL, 73], (NULL, 2), (NULL, 51]}, {(NULL, 31), (NULL, 73], (2, ∞), (NULL, 51]}, {[31, 31], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(31, 84), (NULL, 73], (NULL, 2), (NULL, 51]}, {(31, 84), (NULL, 73], (2, ∞), (NULL, 51]}]\n" + 7700 " └─ columns: [pk v1 v2 v3 v4]\n" + 7701 "", 7702 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7703 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7704 " ├─ filters: [{(NULL, 31), (NULL, 73], (NULL, 2), (NULL, 51]}, {(NULL, 31), (NULL, 73], (2, ∞), (NULL, 51]}, {[31, 31], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(31, 84), (NULL, 73], (NULL, 2), (NULL, 51]}, {(31, 84), (NULL, 73], (2, ∞), (NULL, 51]}]\n" + 7705 " └─ columns: [pk v1 v2 v3 v4]\n" + 7706 "", 7707 }, 7708 { 7709 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=20 AND v2<=29 AND v3<52 AND v4<>34) OR (v1<>46 AND v2<>98));`, 7710 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7711 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7712 " ├─ static: [{(NULL, 46), (NULL, 98), [NULL, ∞), [NULL, ∞)}, {(NULL, 46), (98, ∞), [NULL, ∞), [NULL, ∞)}, {(46, ∞), (NULL, 98), [NULL, ∞), [NULL, ∞)}, {(46, ∞), (98, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7713 " ├─ colSet: (1-5)\n" + 7714 " ├─ tableId: 1\n" + 7715 " └─ Table\n" + 7716 " ├─ name: comp_index_t2\n" + 7717 " └─ columns: [pk v1 v2 v3 v4]\n" + 7718 "", 7719 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7720 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7721 " ├─ filters: [{(NULL, 46), (NULL, 98), [NULL, ∞), [NULL, ∞)}, {(NULL, 46), (98, ∞), [NULL, ∞), [NULL, ∞)}, {(46, ∞), (NULL, 98), [NULL, ∞), [NULL, ∞)}, {(46, ∞), (98, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7722 " └─ columns: [pk v1 v2 v3 v4]\n" + 7723 "", 7724 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7725 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7726 " ├─ filters: [{(NULL, 46), (NULL, 98), [NULL, ∞), [NULL, ∞)}, {(NULL, 46), (98, ∞), [NULL, ∞), [NULL, ∞)}, {(46, ∞), (NULL, 98), [NULL, ∞), [NULL, ∞)}, {(46, ∞), (98, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7727 " └─ columns: [pk v1 v2 v3 v4]\n" + 7728 "", 7729 }, 7730 { 7731 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<52 AND v3 BETWEEN 39 AND 57 AND v4 BETWEEN 13 AND 13 AND v2 BETWEEN 76 AND 99) OR (v1>44)) OR (v1<71 AND v4>7 AND v2<98)) OR (v1<>5 AND v2 BETWEEN 35 AND 40 AND v3<=10));`, 7732 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7733 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7734 " ├─ static: [{(NULL, 5), (NULL, 35), [NULL, ∞), (7, ∞)}, {(NULL, 5), [35, 40], [NULL, NULL], (7, ∞)}, {(NULL, 5), [35, 40], (NULL, 10], [NULL, ∞)}, {(NULL, 5), [35, 40], (10, ∞), (7, ∞)}, {(NULL, 5), (40, 76), [NULL, ∞), (7, ∞)}, {(NULL, 5], [76, 98), [NULL, ∞), (7, ∞)}, {(NULL, 44], [98, 99], [39, 57], [13, 13]}, {[5, 5], (NULL, 76), [NULL, ∞), (7, ∞)}, {(5, 44], (NULL, 35), [NULL, ∞), (7, ∞)}, {(5, 44], [35, 40], [NULL, NULL], (7, ∞)}, {(5, 44], [35, 40], (NULL, 10], [NULL, ∞)}, {(5, 44], [35, 40], (10, ∞), (7, ∞)}, {(5, 44], (40, 98), [NULL, ∞), (7, ∞)}, {(44, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7735 " ├─ colSet: (1-5)\n" + 7736 " ├─ tableId: 1\n" + 7737 " └─ Table\n" + 7738 " ├─ name: comp_index_t2\n" + 7739 " └─ columns: [pk v1 v2 v3 v4]\n" + 7740 "", 7741 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7742 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7743 " ├─ filters: [{(NULL, 5), (NULL, 35), [NULL, ∞), (7, ∞)}, {(NULL, 5), [35, 40], [NULL, NULL], (7, ∞)}, {(NULL, 5), [35, 40], (NULL, 10], [NULL, ∞)}, {(NULL, 5), [35, 40], (10, ∞), (7, ∞)}, {(NULL, 5), (40, 76), [NULL, ∞), (7, ∞)}, {(NULL, 5], [76, 98), [NULL, ∞), (7, ∞)}, {(NULL, 44], [98, 99], [39, 57], [13, 13]}, {[5, 5], (NULL, 76), [NULL, ∞), (7, ∞)}, {(5, 44], (NULL, 35), [NULL, ∞), (7, ∞)}, {(5, 44], [35, 40], [NULL, NULL], (7, ∞)}, {(5, 44], [35, 40], (NULL, 10], [NULL, ∞)}, {(5, 44], [35, 40], (10, ∞), (7, ∞)}, {(5, 44], (40, 98), [NULL, ∞), (7, ∞)}, {(44, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7744 " └─ columns: [pk v1 v2 v3 v4]\n" + 7745 "", 7746 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7747 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7748 " ├─ filters: [{(NULL, 5), (NULL, 35), [NULL, ∞), (7, ∞)}, {(NULL, 5), [35, 40], [NULL, NULL], (7, ∞)}, {(NULL, 5), [35, 40], (NULL, 10], [NULL, ∞)}, {(NULL, 5), [35, 40], (10, ∞), (7, ∞)}, {(NULL, 5), (40, 76), [NULL, ∞), (7, ∞)}, {(NULL, 5], [76, 98), [NULL, ∞), (7, ∞)}, {(NULL, 44], [98, 99], [39, 57], [13, 13]}, {[5, 5], (NULL, 76), [NULL, ∞), (7, ∞)}, {(5, 44], (NULL, 35), [NULL, ∞), (7, ∞)}, {(5, 44], [35, 40], [NULL, NULL], (7, ∞)}, {(5, 44], [35, 40], (NULL, 10], [NULL, ∞)}, {(5, 44], [35, 40], (10, ∞), (7, ∞)}, {(5, 44], (40, 98), [NULL, ∞), (7, ∞)}, {(44, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7749 " └─ columns: [pk v1 v2 v3 v4]\n" + 7750 "", 7751 }, 7752 { 7753 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=40) OR (v1=27)) OR (v1>90 AND v2>50 AND v3=66 AND v4<83));`, 7754 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7755 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7756 " ├─ static: [{[27, 27], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[40, 40], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(90, ∞), (50, ∞), [66, 66], (NULL, 83)}]\n" + 7757 " ├─ colSet: (1-5)\n" + 7758 " ├─ tableId: 1\n" + 7759 " └─ Table\n" + 7760 " ├─ name: comp_index_t2\n" + 7761 " └─ columns: [pk v1 v2 v3 v4]\n" + 7762 "", 7763 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7764 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7765 " ├─ filters: [{[27, 27], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[40, 40], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(90, ∞), (50, ∞), [66, 66], (NULL, 83)}]\n" + 7766 " └─ columns: [pk v1 v2 v3 v4]\n" + 7767 "", 7768 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7769 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7770 " ├─ filters: [{[27, 27], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[40, 40], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(90, ∞), (50, ∞), [66, 66], (NULL, 83)}]\n" + 7771 " └─ columns: [pk v1 v2 v3 v4]\n" + 7772 "", 7773 }, 7774 { 7775 Query: `SELECT * FROM comp_index_t2 WHERE (v1<=92 AND v4 BETWEEN 8 AND 90) AND (v1 BETWEEN 39 AND 42);`, 7776 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7777 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7778 " ├─ static: [{[39, 42], [NULL, ∞), [NULL, ∞), [8, 90]}]\n" + 7779 " ├─ colSet: (1-5)\n" + 7780 " ├─ tableId: 1\n" + 7781 " └─ Table\n" + 7782 " ├─ name: comp_index_t2\n" + 7783 " └─ columns: [pk v1 v2 v3 v4]\n" + 7784 "", 7785 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7786 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7787 " ├─ filters: [{[39, 42], [NULL, ∞), [NULL, ∞), [8, 90]}]\n" + 7788 " └─ columns: [pk v1 v2 v3 v4]\n" + 7789 "", 7790 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7791 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7792 " ├─ filters: [{[39, 42], [NULL, ∞), [NULL, ∞), [8, 90]}]\n" + 7793 " └─ columns: [pk v1 v2 v3 v4]\n" + 7794 "", 7795 }, 7796 { 7797 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 23 AND 85 AND v2<=51 AND v3<>68) OR (v1 BETWEEN 30 AND 58 AND v2<>75));`, 7798 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7799 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7800 " ├─ static: [{[23, 30), (NULL, 51], (NULL, 68), [NULL, ∞)}, {[23, 30), (NULL, 51], (68, ∞), [NULL, ∞)}, {[30, 58], (NULL, 75), [NULL, ∞), [NULL, ∞)}, {[30, 58], (75, ∞), [NULL, ∞), [NULL, ∞)}, {(58, 85], (NULL, 51], (NULL, 68), [NULL, ∞)}, {(58, 85], (NULL, 51], (68, ∞), [NULL, ∞)}]\n" + 7801 " ├─ colSet: (1-5)\n" + 7802 " ├─ tableId: 1\n" + 7803 " └─ Table\n" + 7804 " ├─ name: comp_index_t2\n" + 7805 " └─ columns: [pk v1 v2 v3 v4]\n" + 7806 "", 7807 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7808 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7809 " ├─ filters: [{[23, 30), (NULL, 51], (NULL, 68), [NULL, ∞)}, {[23, 30), (NULL, 51], (68, ∞), [NULL, ∞)}, {[30, 58], (NULL, 75), [NULL, ∞), [NULL, ∞)}, {[30, 58], (75, ∞), [NULL, ∞), [NULL, ∞)}, {(58, 85], (NULL, 51], (NULL, 68), [NULL, ∞)}, {(58, 85], (NULL, 51], (68, ∞), [NULL, ∞)}]\n" + 7810 " └─ columns: [pk v1 v2 v3 v4]\n" + 7811 "", 7812 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7813 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7814 " ├─ filters: [{[23, 30), (NULL, 51], (NULL, 68), [NULL, ∞)}, {[23, 30), (NULL, 51], (68, ∞), [NULL, ∞)}, {[30, 58], (NULL, 75), [NULL, ∞), [NULL, ∞)}, {[30, 58], (75, ∞), [NULL, ∞), [NULL, ∞)}, {(58, 85], (NULL, 51], (NULL, 68), [NULL, ∞)}, {(58, 85], (NULL, 51], (68, ∞), [NULL, ∞)}]\n" + 7815 " └─ columns: [pk v1 v2 v3 v4]\n" + 7816 "", 7817 }, 7818 { 7819 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=67 AND v2<=17 AND v3<>91 AND v4<82) OR (v1>28 AND v2 BETWEEN 17 AND 71 AND v3<12));`, 7820 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7821 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7822 " ├─ static: [{(28, ∞), [17, 71], (NULL, 12), [NULL, ∞)}, {[67, ∞), (NULL, 17), (NULL, 91), (NULL, 82)}, {[67, ∞), (NULL, 17], (91, ∞), (NULL, 82)}, {[67, ∞), [17, 17], [12, 91), (NULL, 82)}]\n" + 7823 " ├─ colSet: (1-5)\n" + 7824 " ├─ tableId: 1\n" + 7825 " └─ Table\n" + 7826 " ├─ name: comp_index_t2\n" + 7827 " └─ columns: [pk v1 v2 v3 v4]\n" + 7828 "", 7829 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7830 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7831 " ├─ filters: [{(28, ∞), [17, 71], (NULL, 12), [NULL, ∞)}, {[67, ∞), (NULL, 17), (NULL, 91), (NULL, 82)}, {[67, ∞), (NULL, 17], (91, ∞), (NULL, 82)}, {[67, ∞), [17, 17], [12, 91), (NULL, 82)}]\n" + 7832 " └─ columns: [pk v1 v2 v3 v4]\n" + 7833 "", 7834 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7835 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7836 " ├─ filters: [{(28, ∞), [17, 71], (NULL, 12), [NULL, ∞)}, {[67, ∞), (NULL, 17), (NULL, 91), (NULL, 82)}, {[67, ∞), (NULL, 17], (91, ∞), (NULL, 82)}, {[67, ∞), [17, 17], [12, 91), (NULL, 82)}]\n" + 7837 " └─ columns: [pk v1 v2 v3 v4]\n" + 7838 "", 7839 }, 7840 { 7841 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>77 AND v4>82 AND v2>=96) OR (v1 BETWEEN 41 AND 80 AND v2<>21 AND v3>60));`, 7842 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7843 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7844 " ├─ static: [{[41, 80], (NULL, 21), (60, ∞), [NULL, ∞)}, {[41, 80], (21, ∞), (60, ∞), [NULL, ∞)}, {(77, 80], [96, ∞), [NULL, 60], (82, ∞)}, {(80, ∞), [96, ∞), [NULL, ∞), (82, ∞)}]\n" + 7845 " ├─ colSet: (1-5)\n" + 7846 " ├─ tableId: 1\n" + 7847 " └─ Table\n" + 7848 " ├─ name: comp_index_t2\n" + 7849 " └─ columns: [pk v1 v2 v3 v4]\n" + 7850 "", 7851 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7852 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7853 " ├─ filters: [{[41, 80], (NULL, 21), (60, ∞), [NULL, ∞)}, {[41, 80], (21, ∞), (60, ∞), [NULL, ∞)}, {(77, 80], [96, ∞), [NULL, 60], (82, ∞)}, {(80, ∞), [96, ∞), [NULL, ∞), (82, ∞)}]\n" + 7854 " └─ columns: [pk v1 v2 v3 v4]\n" + 7855 "", 7856 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7857 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7858 " ├─ filters: [{[41, 80], (NULL, 21), (60, ∞), [NULL, ∞)}, {[41, 80], (21, ∞), (60, ∞), [NULL, ∞)}, {(77, 80], [96, ∞), [NULL, 60], (82, ∞)}, {(80, ∞), [96, ∞), [NULL, ∞), (82, ∞)}]\n" + 7859 " └─ columns: [pk v1 v2 v3 v4]\n" + 7860 "", 7861 }, 7862 { 7863 Query: `SELECT * FROM comp_index_t2 WHERE (v1=28 AND v4 BETWEEN 44 AND 50) AND (v1>=49);`, 7864 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7865 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7866 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 7867 " ├─ colSet: (1-5)\n" + 7868 " ├─ tableId: 1\n" + 7869 " └─ Table\n" + 7870 " ├─ name: comp_index_t2\n" + 7871 " └─ columns: [pk v1 v2 v3 v4]\n" + 7872 "", 7873 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7874 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7875 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 7876 " └─ columns: [pk v1 v2 v3 v4]\n" + 7877 "", 7878 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7879 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7880 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 7881 " └─ columns: [pk v1 v2 v3 v4]\n" + 7882 "", 7883 }, 7884 { 7885 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 81 AND 87 AND v3<>81 AND v4<30) AND (v1=17) OR (v1<27 AND v2<>8 AND v3>35)) OR (v1>28 AND v2<62));`, 7886 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7887 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7888 " ├─ static: [{(NULL, 27), (NULL, 8), (35, ∞), [NULL, ∞)}, {(NULL, 27), (8, ∞), (35, ∞), [NULL, ∞)}, {(28, ∞), (NULL, 62), [NULL, ∞), [NULL, ∞)}]\n" + 7889 " ├─ colSet: (1-5)\n" + 7890 " ├─ tableId: 1\n" + 7891 " └─ Table\n" + 7892 " ├─ name: comp_index_t2\n" + 7893 " └─ columns: [pk v1 v2 v3 v4]\n" + 7894 "", 7895 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7896 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7897 " ├─ filters: [{(NULL, 27), (NULL, 8), (35, ∞), [NULL, ∞)}, {(NULL, 27), (8, ∞), (35, ∞), [NULL, ∞)}, {(28, ∞), (NULL, 62), [NULL, ∞), [NULL, ∞)}]\n" + 7898 " └─ columns: [pk v1 v2 v3 v4]\n" + 7899 "", 7900 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7901 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7902 " ├─ filters: [{(NULL, 27), (NULL, 8), (35, ∞), [NULL, ∞)}, {(NULL, 27), (8, ∞), (35, ∞), [NULL, ∞)}, {(28, ∞), (NULL, 62), [NULL, ∞), [NULL, ∞)}]\n" + 7903 " └─ columns: [pk v1 v2 v3 v4]\n" + 7904 "", 7905 }, 7906 { 7907 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>65 AND v2=64) OR (v1=82 AND v3<>99)) OR (v1>=68 AND v2=3 AND v3 BETWEEN 1 AND 51 AND v4<=73));`, 7908 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7909 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7910 " ├─ static: [{(65, ∞), [64, 64], [NULL, ∞), [NULL, ∞)}, {[68, 82), [3, 3], [1, 51], (NULL, 73]}, {[82, 82], [NULL, 64), (NULL, 99), [NULL, ∞)}, {[82, 82], [NULL, 64), (99, ∞), [NULL, ∞)}, {[82, 82], (64, ∞), (NULL, 99), [NULL, ∞)}, {[82, 82], (64, ∞), (99, ∞), [NULL, ∞)}, {(82, ∞), [3, 3], [1, 51], (NULL, 73]}]\n" + 7911 " ├─ colSet: (1-5)\n" + 7912 " ├─ tableId: 1\n" + 7913 " └─ Table\n" + 7914 " ├─ name: comp_index_t2\n" + 7915 " └─ columns: [pk v1 v2 v3 v4]\n" + 7916 "", 7917 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7918 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7919 " ├─ filters: [{(65, ∞), [64, 64], [NULL, ∞), [NULL, ∞)}, {[68, 82), [3, 3], [1, 51], (NULL, 73]}, {[82, 82], [NULL, 64), (NULL, 99), [NULL, ∞)}, {[82, 82], [NULL, 64), (99, ∞), [NULL, ∞)}, {[82, 82], (64, ∞), (NULL, 99), [NULL, ∞)}, {[82, 82], (64, ∞), (99, ∞), [NULL, ∞)}, {(82, ∞), [3, 3], [1, 51], (NULL, 73]}]\n" + 7920 " └─ columns: [pk v1 v2 v3 v4]\n" + 7921 "", 7922 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7923 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7924 " ├─ filters: [{(65, ∞), [64, 64], [NULL, ∞), [NULL, ∞)}, {[68, 82), [3, 3], [1, 51], (NULL, 73]}, {[82, 82], [NULL, 64), (NULL, 99), [NULL, ∞)}, {[82, 82], [NULL, 64), (99, ∞), [NULL, ∞)}, {[82, 82], (64, ∞), (NULL, 99), [NULL, ∞)}, {[82, 82], (64, ∞), (99, ∞), [NULL, ∞)}, {(82, ∞), [3, 3], [1, 51], (NULL, 73]}]\n" + 7925 " └─ columns: [pk v1 v2 v3 v4]\n" + 7926 "", 7927 }, 7928 { 7929 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=27 AND v3>23) OR (v1<70 AND v2<>43));`, 7930 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7931 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7932 " ├─ static: [{(NULL, 27], [NULL, NULL], (23, ∞), [NULL, ∞)}, {(NULL, 27], [43, 43], (23, ∞), [NULL, ∞)}, {(NULL, 70), (NULL, 43), [NULL, ∞), [NULL, ∞)}, {(NULL, 70), (43, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7933 " ├─ colSet: (1-5)\n" + 7934 " ├─ tableId: 1\n" + 7935 " └─ Table\n" + 7936 " ├─ name: comp_index_t2\n" + 7937 " └─ columns: [pk v1 v2 v3 v4]\n" + 7938 "", 7939 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7940 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7941 " ├─ filters: [{(NULL, 27], [NULL, NULL], (23, ∞), [NULL, ∞)}, {(NULL, 27], [43, 43], (23, ∞), [NULL, ∞)}, {(NULL, 70), (NULL, 43), [NULL, ∞), [NULL, ∞)}, {(NULL, 70), (43, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7942 " └─ columns: [pk v1 v2 v3 v4]\n" + 7943 "", 7944 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7945 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7946 " ├─ filters: [{(NULL, 27], [NULL, NULL], (23, ∞), [NULL, ∞)}, {(NULL, 27], [43, 43], (23, ∞), [NULL, ∞)}, {(NULL, 70), (NULL, 43), [NULL, ∞), [NULL, ∞)}, {(NULL, 70), (43, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7947 " └─ columns: [pk v1 v2 v3 v4]\n" + 7948 "", 7949 }, 7950 { 7951 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>34 AND v2>=89 AND v3>=14) OR (v1<=42 AND v3<1)) OR (v1<59 AND v2>=23 AND v3 BETWEEN 17 AND 37 AND v4 BETWEEN 21 AND 38));`, 7952 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7953 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7954 " ├─ static: [{(NULL, 34), [23, 89), [17, 37], [21, 38]}, {(NULL, 34), [89, ∞), [14, ∞), [NULL, ∞)}, {(NULL, 42], [NULL, ∞), (NULL, 1), [NULL, ∞)}, {[34, 34], [23, ∞), [17, 37], [21, 38]}, {(34, 59), [23, 89), [17, 37], [21, 38]}, {(34, ∞), [89, ∞), [14, ∞), [NULL, ∞)}]\n" + 7955 " ├─ colSet: (1-5)\n" + 7956 " ├─ tableId: 1\n" + 7957 " └─ Table\n" + 7958 " ├─ name: comp_index_t2\n" + 7959 " └─ columns: [pk v1 v2 v3 v4]\n" + 7960 "", 7961 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7962 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7963 " ├─ filters: [{(NULL, 34), [23, 89), [17, 37], [21, 38]}, {(NULL, 34), [89, ∞), [14, ∞), [NULL, ∞)}, {(NULL, 42], [NULL, ∞), (NULL, 1), [NULL, ∞)}, {[34, 34], [23, ∞), [17, 37], [21, 38]}, {(34, 59), [23, 89), [17, 37], [21, 38]}, {(34, ∞), [89, ∞), [14, ∞), [NULL, ∞)}]\n" + 7964 " └─ columns: [pk v1 v2 v3 v4]\n" + 7965 "", 7966 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7967 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7968 " ├─ filters: [{(NULL, 34), [23, 89), [17, 37], [21, 38]}, {(NULL, 34), [89, ∞), [14, ∞), [NULL, ∞)}, {(NULL, 42], [NULL, ∞), (NULL, 1), [NULL, ∞)}, {[34, 34], [23, ∞), [17, 37], [21, 38]}, {(34, 59), [23, 89), [17, 37], [21, 38]}, {(34, ∞), [89, ∞), [14, ∞), [NULL, ∞)}]\n" + 7969 " └─ columns: [pk v1 v2 v3 v4]\n" + 7970 "", 7971 }, 7972 { 7973 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=52 AND v2>=55) OR (v1<73 AND v2<=1 AND v3>75 AND v4<=36)) OR (v1>=45 AND v2>=49 AND v3<=26 AND v4 BETWEEN 40 AND 83));`, 7974 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7975 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7976 " ├─ static: [{(NULL, 73), (NULL, 1], (75, ∞), (NULL, 36]}, {[45, 52), [49, ∞), (NULL, 26], [40, 83]}, {[52, ∞), [49, 55), (NULL, 26], [40, 83]}, {[52, ∞), [55, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7977 " ├─ colSet: (1-5)\n" + 7978 " ├─ tableId: 1\n" + 7979 " └─ Table\n" + 7980 " ├─ name: comp_index_t2\n" + 7981 " └─ columns: [pk v1 v2 v3 v4]\n" + 7982 "", 7983 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 7984 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7985 " ├─ filters: [{(NULL, 73), (NULL, 1], (75, ∞), (NULL, 36]}, {[45, 52), [49, ∞), (NULL, 26], [40, 83]}, {[52, ∞), [49, 55), (NULL, 26], [40, 83]}, {[52, ∞), [55, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7986 " └─ columns: [pk v1 v2 v3 v4]\n" + 7987 "", 7988 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 7989 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7990 " ├─ filters: [{(NULL, 73), (NULL, 1], (75, ∞), (NULL, 36]}, {[45, 52), [49, ∞), (NULL, 26], [40, 83]}, {[52, ∞), [49, 55), (NULL, 26], [40, 83]}, {[52, ∞), [55, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 7991 " └─ columns: [pk v1 v2 v3 v4]\n" + 7992 "", 7993 }, 7994 { 7995 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>0 AND v2=94 AND v3<>0) OR (v1>=83 AND v2<69 AND v3<84));`, 7996 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 7997 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 7998 " ├─ static: [{(0, ∞), [94, 94], (NULL, 0), [NULL, ∞)}, {(0, ∞), [94, 94], (0, ∞), [NULL, ∞)}, {[83, ∞), (NULL, 69), (NULL, 84), [NULL, ∞)}]\n" + 7999 " ├─ colSet: (1-5)\n" + 8000 " ├─ tableId: 1\n" + 8001 " └─ Table\n" + 8002 " ├─ name: comp_index_t2\n" + 8003 " └─ columns: [pk v1 v2 v3 v4]\n" + 8004 "", 8005 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8006 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8007 " ├─ filters: [{(0, ∞), [94, 94], (NULL, 0), [NULL, ∞)}, {(0, ∞), [94, 94], (0, ∞), [NULL, ∞)}, {[83, ∞), (NULL, 69), (NULL, 84), [NULL, ∞)}]\n" + 8008 " └─ columns: [pk v1 v2 v3 v4]\n" + 8009 "", 8010 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8011 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8012 " ├─ filters: [{(0, ∞), [94, 94], (NULL, 0), [NULL, ∞)}, {(0, ∞), [94, 94], (0, ∞), [NULL, ∞)}, {[83, ∞), (NULL, 69), (NULL, 84), [NULL, ∞)}]\n" + 8013 " └─ columns: [pk v1 v2 v3 v4]\n" + 8014 "", 8015 }, 8016 { 8017 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<83 AND v4>51) OR (v1<>30));`, 8018 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8019 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8020 " ├─ static: [{(NULL, 30), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[30, 30], [NULL, ∞), [NULL, ∞), (51, ∞)}, {(30, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8021 " ├─ colSet: (1-5)\n" + 8022 " ├─ tableId: 1\n" + 8023 " └─ Table\n" + 8024 " ├─ name: comp_index_t2\n" + 8025 " └─ columns: [pk v1 v2 v3 v4]\n" + 8026 "", 8027 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8028 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8029 " ├─ filters: [{(NULL, 30), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[30, 30], [NULL, ∞), [NULL, ∞), (51, ∞)}, {(30, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8030 " └─ columns: [pk v1 v2 v3 v4]\n" + 8031 "", 8032 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8033 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8034 " ├─ filters: [{(NULL, 30), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[30, 30], [NULL, ∞), [NULL, ∞), (51, ∞)}, {(30, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8035 " └─ columns: [pk v1 v2 v3 v4]\n" + 8036 "", 8037 }, 8038 { 8039 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<92) OR (v1 BETWEEN 6 AND 39 AND v2=47 AND v3>=63));`, 8040 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8041 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8042 " ├─ static: [{(NULL, 92), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8043 " ├─ colSet: (1-5)\n" + 8044 " ├─ tableId: 1\n" + 8045 " └─ Table\n" + 8046 " ├─ name: comp_index_t2\n" + 8047 " └─ columns: [pk v1 v2 v3 v4]\n" + 8048 "", 8049 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8050 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8051 " ├─ filters: [{(NULL, 92), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8052 " └─ columns: [pk v1 v2 v3 v4]\n" + 8053 "", 8054 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8055 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8056 " ├─ filters: [{(NULL, 92), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8057 " └─ columns: [pk v1 v2 v3 v4]\n" + 8058 "", 8059 }, 8060 { 8061 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=98) OR (v1<=2 AND v2<5));`, 8062 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8063 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8064 " ├─ static: [{(NULL, 2], (NULL, 5), [NULL, ∞), [NULL, ∞)}, {[98, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8065 " ├─ colSet: (1-5)\n" + 8066 " ├─ tableId: 1\n" + 8067 " └─ Table\n" + 8068 " ├─ name: comp_index_t2\n" + 8069 " └─ columns: [pk v1 v2 v3 v4]\n" + 8070 "", 8071 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8072 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8073 " ├─ filters: [{(NULL, 2], (NULL, 5), [NULL, ∞), [NULL, ∞)}, {[98, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8074 " └─ columns: [pk v1 v2 v3 v4]\n" + 8075 "", 8076 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8077 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8078 " ├─ filters: [{(NULL, 2], (NULL, 5), [NULL, ∞), [NULL, ∞)}, {[98, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8079 " └─ columns: [pk v1 v2 v3 v4]\n" + 8080 "", 8081 }, 8082 { 8083 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>29 AND v4=40 AND v2>=63) OR (v1<70 AND v2<70 AND v3<=20)) OR (v1 BETWEEN 7 AND 61 AND v2>=33 AND v3>78)) OR (v1>=4 AND v2<=22));`, 8084 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8085 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8086 " ├─ static: [{(NULL, 4), (NULL, 70), (NULL, 20], [NULL, ∞)}, {[4, 70), (22, 70), (NULL, 20], [NULL, ∞)}, {[4, ∞), (NULL, 22], [NULL, ∞), [NULL, ∞)}, {[7, 61], [33, ∞), (78, ∞), [NULL, ∞)}, {(29, 61], [63, 70), (20, 78], [40, 40]}, {(29, 61], [70, ∞), [NULL, 78], [40, 40]}, {(29, 70), [63, 70), [NULL, NULL], [40, 40]}, {(61, 70), [63, 70), (20, ∞), [40, 40]}, {(61, 70), [70, ∞), [NULL, ∞), [40, 40]}, {[70, ∞), [63, ∞), [NULL, ∞), [40, 40]}]\n" + 8087 " ├─ colSet: (1-5)\n" + 8088 " ├─ tableId: 1\n" + 8089 " └─ Table\n" + 8090 " ├─ name: comp_index_t2\n" + 8091 " └─ columns: [pk v1 v2 v3 v4]\n" + 8092 "", 8093 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8094 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8095 " ├─ filters: [{(NULL, 4), (NULL, 70), (NULL, 20], [NULL, ∞)}, {[4, 70), (22, 70), (NULL, 20], [NULL, ∞)}, {[4, ∞), (NULL, 22], [NULL, ∞), [NULL, ∞)}, {[7, 61], [33, ∞), (78, ∞), [NULL, ∞)}, {(29, 61], [63, 70), (20, 78], [40, 40]}, {(29, 61], [70, ∞), [NULL, 78], [40, 40]}, {(29, 70), [63, 70), [NULL, NULL], [40, 40]}, {(61, 70), [63, 70), (20, ∞), [40, 40]}, {(61, 70), [70, ∞), [NULL, ∞), [40, 40]}, {[70, ∞), [63, ∞), [NULL, ∞), [40, 40]}]\n" + 8096 " └─ columns: [pk v1 v2 v3 v4]\n" + 8097 "", 8098 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8099 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8100 " ├─ filters: [{(NULL, 4), (NULL, 70), (NULL, 20], [NULL, ∞)}, {[4, 70), (22, 70), (NULL, 20], [NULL, ∞)}, {[4, ∞), (NULL, 22], [NULL, ∞), [NULL, ∞)}, {[7, 61], [33, ∞), (78, ∞), [NULL, ∞)}, {(29, 61], [63, 70), (20, 78], [40, 40]}, {(29, 61], [70, ∞), [NULL, 78], [40, 40]}, {(29, 70), [63, 70), [NULL, NULL], [40, 40]}, {(61, 70), [63, 70), (20, ∞), [40, 40]}, {(61, 70), [70, ∞), [NULL, ∞), [40, 40]}, {[70, ∞), [63, ∞), [NULL, ∞), [40, 40]}]\n" + 8101 " └─ columns: [pk v1 v2 v3 v4]\n" + 8102 "", 8103 }, 8104 { 8105 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=12) OR (v1=28));`, 8106 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8107 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8108 " ├─ static: [{(NULL, 12], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[28, 28], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8109 " ├─ colSet: (1-5)\n" + 8110 " ├─ tableId: 1\n" + 8111 " └─ Table\n" + 8112 " ├─ name: comp_index_t2\n" + 8113 " └─ columns: [pk v1 v2 v3 v4]\n" + 8114 "", 8115 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8116 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8117 " ├─ filters: [{(NULL, 12], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[28, 28], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8118 " └─ columns: [pk v1 v2 v3 v4]\n" + 8119 "", 8120 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8121 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8122 " ├─ filters: [{(NULL, 12], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[28, 28], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8123 " └─ columns: [pk v1 v2 v3 v4]\n" + 8124 "", 8125 }, 8126 { 8127 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=94 AND v2>=13 AND v3<=46 AND v4<>36) AND (v1=84) OR (v1 BETWEEN 52 AND 98 AND v2<71 AND v3<>45));`, 8128 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8129 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8130 " ├─ static: [{[52, 98], (NULL, 71), (NULL, 45), [NULL, ∞)}, {[52, 98], (NULL, 71), (45, ∞), [NULL, ∞)}, {[84, 84], [13, 71), [45, 45], (NULL, 36)}, {[84, 84], [13, 71), [45, 45], (36, ∞)}, {[84, 84], [71, ∞), (NULL, 46], (NULL, 36)}, {[84, 84], [71, ∞), (NULL, 46], (36, ∞)}]\n" + 8131 " ├─ colSet: (1-5)\n" + 8132 " ├─ tableId: 1\n" + 8133 " └─ Table\n" + 8134 " ├─ name: comp_index_t2\n" + 8135 " └─ columns: [pk v1 v2 v3 v4]\n" + 8136 "", 8137 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8138 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8139 " ├─ filters: [{[52, 98], (NULL, 71), (NULL, 45), [NULL, ∞)}, {[52, 98], (NULL, 71), (45, ∞), [NULL, ∞)}, {[84, 84], [13, 71), [45, 45], (NULL, 36)}, {[84, 84], [13, 71), [45, 45], (36, ∞)}, {[84, 84], [71, ∞), (NULL, 46], (NULL, 36)}, {[84, 84], [71, ∞), (NULL, 46], (36, ∞)}]\n" + 8140 " └─ columns: [pk v1 v2 v3 v4]\n" + 8141 "", 8142 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8143 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8144 " ├─ filters: [{[52, 98], (NULL, 71), (NULL, 45), [NULL, ∞)}, {[52, 98], (NULL, 71), (45, ∞), [NULL, ∞)}, {[84, 84], [13, 71), [45, 45], (NULL, 36)}, {[84, 84], [13, 71), [45, 45], (36, ∞)}, {[84, 84], [71, ∞), (NULL, 46], (NULL, 36)}, {[84, 84], [71, ∞), (NULL, 46], (36, ∞)}]\n" + 8145 " └─ columns: [pk v1 v2 v3 v4]\n" + 8146 "", 8147 }, 8148 { 8149 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>64) OR (v1<>55 AND v2=85 AND v3<=88));`, 8150 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8151 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8152 " ├─ static: [{(NULL, 55), [85, 85], (NULL, 88], [NULL, ∞)}, {(55, 64], [85, 85], (NULL, 88], [NULL, ∞)}, {(64, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8153 " ├─ colSet: (1-5)\n" + 8154 " ├─ tableId: 1\n" + 8155 " └─ Table\n" + 8156 " ├─ name: comp_index_t2\n" + 8157 " └─ columns: [pk v1 v2 v3 v4]\n" + 8158 "", 8159 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8160 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8161 " ├─ filters: [{(NULL, 55), [85, 85], (NULL, 88], [NULL, ∞)}, {(55, 64], [85, 85], (NULL, 88], [NULL, ∞)}, {(64, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8162 " └─ columns: [pk v1 v2 v3 v4]\n" + 8163 "", 8164 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8165 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8166 " ├─ filters: [{(NULL, 55), [85, 85], (NULL, 88], [NULL, ∞)}, {(55, 64], [85, 85], (NULL, 88], [NULL, ∞)}, {(64, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8167 " └─ columns: [pk v1 v2 v3 v4]\n" + 8168 "", 8169 }, 8170 { 8171 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 54 AND 87 AND v2<78 AND v3<33) OR (v1<>52)) OR (v1 BETWEEN 3 AND 61 AND v4<=49)) OR (v1>3 AND v2<73 AND v3>59));`, 8172 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8173 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8174 " ├─ static: [{(NULL, 52), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[52, 52], [NULL, NULL], [NULL, ∞), (NULL, 49]}, {[52, 52], (NULL, 73), [NULL, 59], (NULL, 49]}, {[52, 52], (NULL, 73), (59, ∞), [NULL, ∞)}, {[52, 52], [73, ∞), [NULL, ∞), (NULL, 49]}, {(52, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8175 " ├─ colSet: (1-5)\n" + 8176 " ├─ tableId: 1\n" + 8177 " └─ Table\n" + 8178 " ├─ name: comp_index_t2\n" + 8179 " └─ columns: [pk v1 v2 v3 v4]\n" + 8180 "", 8181 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8182 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8183 " ├─ filters: [{(NULL, 52), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[52, 52], [NULL, NULL], [NULL, ∞), (NULL, 49]}, {[52, 52], (NULL, 73), [NULL, 59], (NULL, 49]}, {[52, 52], (NULL, 73), (59, ∞), [NULL, ∞)}, {[52, 52], [73, ∞), [NULL, ∞), (NULL, 49]}, {(52, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8184 " └─ columns: [pk v1 v2 v3 v4]\n" + 8185 "", 8186 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8187 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8188 " ├─ filters: [{(NULL, 52), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[52, 52], [NULL, NULL], [NULL, ∞), (NULL, 49]}, {[52, 52], (NULL, 73), [NULL, 59], (NULL, 49]}, {[52, 52], (NULL, 73), (59, ∞), [NULL, ∞)}, {[52, 52], [73, ∞), [NULL, ∞), (NULL, 49]}, {(52, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8189 " └─ columns: [pk v1 v2 v3 v4]\n" + 8190 "", 8191 }, 8192 { 8193 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 2 AND 23) OR (v1 BETWEEN 7 AND 14 AND v2<=27 AND v3<=82)) OR (v1>61));`, 8194 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8195 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8196 " ├─ static: [{[2, 23], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(61, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8197 " ├─ colSet: (1-5)\n" + 8198 " ├─ tableId: 1\n" + 8199 " └─ Table\n" + 8200 " ├─ name: comp_index_t2\n" + 8201 " └─ columns: [pk v1 v2 v3 v4]\n" + 8202 "", 8203 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8204 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8205 " ├─ filters: [{[2, 23], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(61, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8206 " └─ columns: [pk v1 v2 v3 v4]\n" + 8207 "", 8208 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8209 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8210 " ├─ filters: [{[2, 23], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(61, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8211 " └─ columns: [pk v1 v2 v3 v4]\n" + 8212 "", 8213 }, 8214 { 8215 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=31 AND v2>44) OR (v1<44 AND v4<>6 AND v2<>10 AND v3<>14)) AND (v1=96 AND v3>25 AND v4<>32);`, 8216 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8217 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8218 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 8219 " ├─ colSet: (1-5)\n" + 8220 " ├─ tableId: 1\n" + 8221 " └─ Table\n" + 8222 " ├─ name: comp_index_t2\n" + 8223 " └─ columns: [pk v1 v2 v3 v4]\n" + 8224 "", 8225 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8226 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8227 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 8228 " └─ columns: [pk v1 v2 v3 v4]\n" + 8229 "", 8230 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8231 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8232 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 8233 " └─ columns: [pk v1 v2 v3 v4]\n" + 8234 "", 8235 }, 8236 { 8237 Query: `SELECT * FROM comp_index_t2 WHERE (v1>=85 AND v2<12) AND (v1>=25);`, 8238 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8239 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8240 " ├─ static: [{[85, ∞), (NULL, 12), [NULL, ∞), [NULL, ∞)}]\n" + 8241 " ├─ colSet: (1-5)\n" + 8242 " ├─ tableId: 1\n" + 8243 " └─ Table\n" + 8244 " ├─ name: comp_index_t2\n" + 8245 " └─ columns: [pk v1 v2 v3 v4]\n" + 8246 "", 8247 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8248 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8249 " ├─ filters: [{[85, ∞), (NULL, 12), [NULL, ∞), [NULL, ∞)}]\n" + 8250 " └─ columns: [pk v1 v2 v3 v4]\n" + 8251 "", 8252 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8253 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8254 " ├─ filters: [{[85, ∞), (NULL, 12), [NULL, ∞), [NULL, ∞)}]\n" + 8255 " └─ columns: [pk v1 v2 v3 v4]\n" + 8256 "", 8257 }, 8258 { 8259 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=0) OR (v1=31)) OR (v1<>73 AND v4>9 AND v2 BETWEEN 27 AND 69 AND v3=14));`, 8260 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8261 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8262 " ├─ static: [{(NULL, 0), [27, 69], [14, 14], (9, ∞)}, {[0, 0], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(0, 31), [27, 69], [14, 14], (9, ∞)}, {[31, 31], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(31, 73), [27, 69], [14, 14], (9, ∞)}, {(73, ∞), [27, 69], [14, 14], (9, ∞)}]\n" + 8263 " ├─ colSet: (1-5)\n" + 8264 " ├─ tableId: 1\n" + 8265 " └─ Table\n" + 8266 " ├─ name: comp_index_t2\n" + 8267 " └─ columns: [pk v1 v2 v3 v4]\n" + 8268 "", 8269 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8270 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8271 " ├─ filters: [{(NULL, 0), [27, 69], [14, 14], (9, ∞)}, {[0, 0], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(0, 31), [27, 69], [14, 14], (9, ∞)}, {[31, 31], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(31, 73), [27, 69], [14, 14], (9, ∞)}, {(73, ∞), [27, 69], [14, 14], (9, ∞)}]\n" + 8272 " └─ columns: [pk v1 v2 v3 v4]\n" + 8273 "", 8274 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8275 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8276 " ├─ filters: [{(NULL, 0), [27, 69], [14, 14], (9, ∞)}, {[0, 0], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(0, 31), [27, 69], [14, 14], (9, ∞)}, {[31, 31], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(31, 73), [27, 69], [14, 14], (9, ∞)}, {(73, ∞), [27, 69], [14, 14], (9, ∞)}]\n" + 8277 " └─ columns: [pk v1 v2 v3 v4]\n" + 8278 "", 8279 }, 8280 { 8281 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=42 AND v2=41 AND v3 BETWEEN 29 AND 94 AND v4<71) OR (v1>=71 AND v2 BETWEEN 67 AND 87 AND v3>=9)) OR (v1<2 AND v2<=1 AND v3<36 AND v4>41));`, 8282 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8283 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8284 " ├─ static: [{(NULL, 2), (NULL, 1], (NULL, 36), (41, ∞)}, {[42, ∞), [41, 41], [29, 94], (NULL, 71)}, {[71, ∞), [67, 87], [9, ∞), [NULL, ∞)}]\n" + 8285 " ├─ colSet: (1-5)\n" + 8286 " ├─ tableId: 1\n" + 8287 " └─ Table\n" + 8288 " ├─ name: comp_index_t2\n" + 8289 " └─ columns: [pk v1 v2 v3 v4]\n" + 8290 "", 8291 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8292 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8293 " ├─ filters: [{(NULL, 2), (NULL, 1], (NULL, 36), (41, ∞)}, {[42, ∞), [41, 41], [29, 94], (NULL, 71)}, {[71, ∞), [67, 87], [9, ∞), [NULL, ∞)}]\n" + 8294 " └─ columns: [pk v1 v2 v3 v4]\n" + 8295 "", 8296 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8297 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8298 " ├─ filters: [{(NULL, 2), (NULL, 1], (NULL, 36), (41, ∞)}, {[42, ∞), [41, 41], [29, 94], (NULL, 71)}, {[71, ∞), [67, 87], [9, ∞), [NULL, ∞)}]\n" + 8299 " └─ columns: [pk v1 v2 v3 v4]\n" + 8300 "", 8301 }, 8302 { 8303 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=3 AND v2<57 AND v3<>74 AND v4>=69) OR (v1<>66 AND v2=16)) OR (v1=44 AND v3=58));`, 8304 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8305 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8306 " ├─ static: [{(NULL, 3], (NULL, 16), (NULL, 74), [69, ∞)}, {(NULL, 3], (NULL, 16), (74, ∞), [69, ∞)}, {(NULL, 3], (16, 57), (NULL, 74), [69, ∞)}, {(NULL, 3], (16, 57), (74, ∞), [69, ∞)}, {(NULL, 66), [16, 16], [NULL, ∞), [NULL, ∞)}, {[44, 44], [NULL, 16), [58, 58], [NULL, ∞)}, {[44, 44], (16, ∞), [58, 58], [NULL, ∞)}, {(66, ∞), [16, 16], [NULL, ∞), [NULL, ∞)}]\n" + 8307 " ├─ colSet: (1-5)\n" + 8308 " ├─ tableId: 1\n" + 8309 " └─ Table\n" + 8310 " ├─ name: comp_index_t2\n" + 8311 " └─ columns: [pk v1 v2 v3 v4]\n" + 8312 "", 8313 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8314 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8315 " ├─ filters: [{(NULL, 3], (NULL, 16), (NULL, 74), [69, ∞)}, {(NULL, 3], (NULL, 16), (74, ∞), [69, ∞)}, {(NULL, 3], (16, 57), (NULL, 74), [69, ∞)}, {(NULL, 3], (16, 57), (74, ∞), [69, ∞)}, {(NULL, 66), [16, 16], [NULL, ∞), [NULL, ∞)}, {[44, 44], [NULL, 16), [58, 58], [NULL, ∞)}, {[44, 44], (16, ∞), [58, 58], [NULL, ∞)}, {(66, ∞), [16, 16], [NULL, ∞), [NULL, ∞)}]\n" + 8316 " └─ columns: [pk v1 v2 v3 v4]\n" + 8317 "", 8318 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8319 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8320 " ├─ filters: [{(NULL, 3], (NULL, 16), (NULL, 74), [69, ∞)}, {(NULL, 3], (NULL, 16), (74, ∞), [69, ∞)}, {(NULL, 3], (16, 57), (NULL, 74), [69, ∞)}, {(NULL, 3], (16, 57), (74, ∞), [69, ∞)}, {(NULL, 66), [16, 16], [NULL, ∞), [NULL, ∞)}, {[44, 44], [NULL, 16), [58, 58], [NULL, ∞)}, {[44, 44], (16, ∞), [58, 58], [NULL, ∞)}, {(66, ∞), [16, 16], [NULL, ∞), [NULL, ∞)}]\n" + 8321 " └─ columns: [pk v1 v2 v3 v4]\n" + 8322 "", 8323 }, 8324 { 8325 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<=22 AND v2<=41) OR (v1=61 AND v2>21)) OR (v1<>10)) OR (v1 BETWEEN 43 AND 44 AND v2>=35 AND v3<>87));`, 8326 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8327 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8328 " ├─ static: [{(NULL, 10), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[10, 10], (NULL, 41], [NULL, ∞), [NULL, ∞)}, {(10, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8329 " ├─ colSet: (1-5)\n" + 8330 " ├─ tableId: 1\n" + 8331 " └─ Table\n" + 8332 " ├─ name: comp_index_t2\n" + 8333 " └─ columns: [pk v1 v2 v3 v4]\n" + 8334 "", 8335 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8336 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8337 " ├─ filters: [{(NULL, 10), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[10, 10], (NULL, 41], [NULL, ∞), [NULL, ∞)}, {(10, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8338 " └─ columns: [pk v1 v2 v3 v4]\n" + 8339 "", 8340 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8341 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8342 " ├─ filters: [{(NULL, 10), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[10, 10], (NULL, 41], [NULL, ∞), [NULL, ∞)}, {(10, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8343 " └─ columns: [pk v1 v2 v3 v4]\n" + 8344 "", 8345 }, 8346 { 8347 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<=13 AND v3>20) OR (v1 BETWEEN 18 AND 26 AND v2>11 AND v3>22)) OR (v1<18 AND v2>=47 AND v3<11)) OR (v1>19));`, 8348 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8349 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8350 " ├─ static: [{(NULL, 13], [NULL, ∞), (20, ∞), [NULL, ∞)}, {(NULL, 18), [47, ∞), (NULL, 11), [NULL, ∞)}, {[18, 19], (11, ∞), (22, ∞), [NULL, ∞)}, {(19, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8351 " ├─ colSet: (1-5)\n" + 8352 " ├─ tableId: 1\n" + 8353 " └─ Table\n" + 8354 " ├─ name: comp_index_t2\n" + 8355 " └─ columns: [pk v1 v2 v3 v4]\n" + 8356 "", 8357 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8358 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8359 " ├─ filters: [{(NULL, 13], [NULL, ∞), (20, ∞), [NULL, ∞)}, {(NULL, 18), [47, ∞), (NULL, 11), [NULL, ∞)}, {[18, 19], (11, ∞), (22, ∞), [NULL, ∞)}, {(19, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8360 " └─ columns: [pk v1 v2 v3 v4]\n" + 8361 "", 8362 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8363 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8364 " ├─ filters: [{(NULL, 13], [NULL, ∞), (20, ∞), [NULL, ∞)}, {(NULL, 18), [47, ∞), (NULL, 11), [NULL, ∞)}, {[18, 19], (11, ∞), (22, ∞), [NULL, ∞)}, {(19, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8365 " └─ columns: [pk v1 v2 v3 v4]\n" + 8366 "", 8367 }, 8368 { 8369 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 42 AND 54 AND v2>20) OR (v1<>68 AND v3>32));`, 8370 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8371 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8372 " ├─ static: [{(NULL, 42), [NULL, ∞), (32, ∞), [NULL, ∞)}, {[42, 54], [NULL, 20], (32, ∞), [NULL, ∞)}, {[42, 54], (20, ∞), [NULL, ∞), [NULL, ∞)}, {(54, 68), [NULL, ∞), (32, ∞), [NULL, ∞)}, {(68, ∞), [NULL, ∞), (32, ∞), [NULL, ∞)}]\n" + 8373 " ├─ colSet: (1-5)\n" + 8374 " ├─ tableId: 1\n" + 8375 " └─ Table\n" + 8376 " ├─ name: comp_index_t2\n" + 8377 " └─ columns: [pk v1 v2 v3 v4]\n" + 8378 "", 8379 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8380 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8381 " ├─ filters: [{(NULL, 42), [NULL, ∞), (32, ∞), [NULL, ∞)}, {[42, 54], [NULL, 20], (32, ∞), [NULL, ∞)}, {[42, 54], (20, ∞), [NULL, ∞), [NULL, ∞)}, {(54, 68), [NULL, ∞), (32, ∞), [NULL, ∞)}, {(68, ∞), [NULL, ∞), (32, ∞), [NULL, ∞)}]\n" + 8382 " └─ columns: [pk v1 v2 v3 v4]\n" + 8383 "", 8384 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8385 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8386 " ├─ filters: [{(NULL, 42), [NULL, ∞), (32, ∞), [NULL, ∞)}, {[42, 54], [NULL, 20], (32, ∞), [NULL, ∞)}, {[42, 54], (20, ∞), [NULL, ∞), [NULL, ∞)}, {(54, 68), [NULL, ∞), (32, ∞), [NULL, ∞)}, {(68, ∞), [NULL, ∞), (32, ∞), [NULL, ∞)}]\n" + 8387 " └─ columns: [pk v1 v2 v3 v4]\n" + 8388 "", 8389 }, 8390 { 8391 Query: `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 20 AND 93) AND (v1=66 AND v2<>21 AND v3 BETWEEN 43 AND 94);`, 8392 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8393 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8394 " ├─ static: [{[66, 66], (NULL, 21), [43, 94], [NULL, ∞)}, {[66, 66], (21, ∞), [43, 94], [NULL, ∞)}]\n" + 8395 " ├─ colSet: (1-5)\n" + 8396 " ├─ tableId: 1\n" + 8397 " └─ Table\n" + 8398 " ├─ name: comp_index_t2\n" + 8399 " └─ columns: [pk v1 v2 v3 v4]\n" + 8400 "", 8401 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8402 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8403 " ├─ filters: [{[66, 66], (NULL, 21), [43, 94], [NULL, ∞)}, {[66, 66], (21, ∞), [43, 94], [NULL, ∞)}]\n" + 8404 " └─ columns: [pk v1 v2 v3 v4]\n" + 8405 "", 8406 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8407 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8408 " ├─ filters: [{[66, 66], (NULL, 21), [43, 94], [NULL, ∞)}, {[66, 66], (21, ∞), [43, 94], [NULL, ∞)}]\n" + 8409 " └─ columns: [pk v1 v2 v3 v4]\n" + 8410 "", 8411 }, 8412 { 8413 Query: `SELECT * FROM comp_index_t2 WHERE (v1>83 AND v2<>16 AND v3=22) AND (v1=34) AND (v1=79 AND v2<=45 AND v3=49);`, 8414 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8415 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8416 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 8417 " ├─ colSet: (1-5)\n" + 8418 " ├─ tableId: 1\n" + 8419 " └─ Table\n" + 8420 " ├─ name: comp_index_t2\n" + 8421 " └─ columns: [pk v1 v2 v3 v4]\n" + 8422 "", 8423 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8424 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8425 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 8426 " └─ columns: [pk v1 v2 v3 v4]\n" + 8427 "", 8428 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8429 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8430 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 8431 " └─ columns: [pk v1 v2 v3 v4]\n" + 8432 "", 8433 }, 8434 { 8435 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=44 AND v2<=98) AND (v1>15) OR (v1<=45 AND v2=1 AND v3<>54));`, 8436 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8437 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8438 " ├─ static: [{(NULL, 44), [1, 1], (NULL, 54), [NULL, ∞)}, {(NULL, 44), [1, 1], (54, ∞), [NULL, ∞)}, {[44, 44], (NULL, 98], [NULL, ∞), [NULL, ∞)}, {(44, 45], [1, 1], (NULL, 54), [NULL, ∞)}, {(44, 45], [1, 1], (54, ∞), [NULL, ∞)}]\n" + 8439 " ├─ colSet: (1-5)\n" + 8440 " ├─ tableId: 1\n" + 8441 " └─ Table\n" + 8442 " ├─ name: comp_index_t2\n" + 8443 " └─ columns: [pk v1 v2 v3 v4]\n" + 8444 "", 8445 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8446 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8447 " ├─ filters: [{(NULL, 44), [1, 1], (NULL, 54), [NULL, ∞)}, {(NULL, 44), [1, 1], (54, ∞), [NULL, ∞)}, {[44, 44], (NULL, 98], [NULL, ∞), [NULL, ∞)}, {(44, 45], [1, 1], (NULL, 54), [NULL, ∞)}, {(44, 45], [1, 1], (54, ∞), [NULL, ∞)}]\n" + 8448 " └─ columns: [pk v1 v2 v3 v4]\n" + 8449 "", 8450 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8451 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8452 " ├─ filters: [{(NULL, 44), [1, 1], (NULL, 54), [NULL, ∞)}, {(NULL, 44), [1, 1], (54, ∞), [NULL, ∞)}, {[44, 44], (NULL, 98], [NULL, ∞), [NULL, ∞)}, {(44, 45], [1, 1], (NULL, 54), [NULL, ∞)}, {(44, 45], [1, 1], (54, ∞), [NULL, ∞)}]\n" + 8453 " └─ columns: [pk v1 v2 v3 v4]\n" + 8454 "", 8455 }, 8456 { 8457 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<38 AND v2>24) OR (v1<20 AND v3>=3 AND v4 BETWEEN 59 AND 81)) OR (v1<31 AND v4 BETWEEN 2 AND 16 AND v2=6 AND v3<=69));`, 8458 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8459 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8460 " ├─ static: [{(NULL, 20), [NULL, 24], [3, ∞), [59, 81]}, {(NULL, 31), [6, 6], (NULL, 69], [2, 16]}, {(NULL, 38), (24, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8461 " ├─ colSet: (1-5)\n" + 8462 " ├─ tableId: 1\n" + 8463 " └─ Table\n" + 8464 " ├─ name: comp_index_t2\n" + 8465 " └─ columns: [pk v1 v2 v3 v4]\n" + 8466 "", 8467 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8468 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8469 " ├─ filters: [{(NULL, 20), [NULL, 24], [3, ∞), [59, 81]}, {(NULL, 31), [6, 6], (NULL, 69], [2, 16]}, {(NULL, 38), (24, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8470 " └─ columns: [pk v1 v2 v3 v4]\n" + 8471 "", 8472 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8473 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8474 " ├─ filters: [{(NULL, 20), [NULL, 24], [3, ∞), [59, 81]}, {(NULL, 31), [6, 6], (NULL, 69], [2, 16]}, {(NULL, 38), (24, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8475 " └─ columns: [pk v1 v2 v3 v4]\n" + 8476 "", 8477 }, 8478 { 8479 Query: `SELECT * FROM comp_index_t2 WHERE (((((v1<43 AND v4<=22) OR (v1<=72 AND v2>=35 AND v3>=96)) OR (v1=63 AND v2=55 AND v3<>46)) OR (v1>=9 AND v2=52 AND v3=86 AND v4<=27)) OR (v1 BETWEEN 37 AND 62));`, 8480 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8481 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8482 " ├─ static: [{(NULL, 9), [35, ∞), [NULL, 96), (NULL, 22]}, {(NULL, 37), [NULL, 35), [NULL, ∞), (NULL, 22]}, {(NULL, 37), [35, ∞), [96, ∞), [NULL, ∞)}, {[9, 37), [35, 52), [NULL, 96), (NULL, 22]}, {[9, 37), [52, 52], [NULL, 86), (NULL, 22]}, {[9, 37), [52, 52], [86, 86], (NULL, 27]}, {[9, 37), [52, 52], (86, 96), (NULL, 22]}, {[9, 37), (52, ∞), [NULL, 96), (NULL, 22]}, {[37, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(62, 63), [35, ∞), [96, ∞), [NULL, ∞)}, {(62, ∞), [52, 52], [86, 86], (NULL, 27]}, {[63, 63], [35, 55), [96, ∞), [NULL, ∞)}, {[63, 63], [55, 55], (NULL, 46), [NULL, ∞)}, {[63, 63], [55, 55], (46, ∞), [NULL, ∞)}, {[63, 63], (55, ∞), [96, ∞), [NULL, ∞)}, {(63, 72], [35, ∞), [96, ∞), [NULL, ∞)}]\n" + 8483 " ├─ colSet: (1-5)\n" + 8484 " ├─ tableId: 1\n" + 8485 " └─ Table\n" + 8486 " ├─ name: comp_index_t2\n" + 8487 " └─ columns: [pk v1 v2 v3 v4]\n" + 8488 "", 8489 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8490 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8491 " ├─ filters: [{(NULL, 9), [35, ∞), [NULL, 96), (NULL, 22]}, {(NULL, 37), [NULL, 35), [NULL, ∞), (NULL, 22]}, {(NULL, 37), [35, ∞), [96, ∞), [NULL, ∞)}, {[9, 37), [35, 52), [NULL, 96), (NULL, 22]}, {[9, 37), [52, 52], [NULL, 86), (NULL, 22]}, {[9, 37), [52, 52], [86, 86], (NULL, 27]}, {[9, 37), [52, 52], (86, 96), (NULL, 22]}, {[9, 37), (52, ∞), [NULL, 96), (NULL, 22]}, {[37, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(62, 63), [35, ∞), [96, ∞), [NULL, ∞)}, {(62, ∞), [52, 52], [86, 86], (NULL, 27]}, {[63, 63], [35, 55), [96, ∞), [NULL, ∞)}, {[63, 63], [55, 55], (NULL, 46), [NULL, ∞)}, {[63, 63], [55, 55], (46, ∞), [NULL, ∞)}, {[63, 63], (55, ∞), [96, ∞), [NULL, ∞)}, {(63, 72], [35, ∞), [96, ∞), [NULL, ∞)}]\n" + 8492 " └─ columns: [pk v1 v2 v3 v4]\n" + 8493 "", 8494 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8495 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8496 " ├─ filters: [{(NULL, 9), [35, ∞), [NULL, 96), (NULL, 22]}, {(NULL, 37), [NULL, 35), [NULL, ∞), (NULL, 22]}, {(NULL, 37), [35, ∞), [96, ∞), [NULL, ∞)}, {[9, 37), [35, 52), [NULL, 96), (NULL, 22]}, {[9, 37), [52, 52], [NULL, 86), (NULL, 22]}, {[9, 37), [52, 52], [86, 86], (NULL, 27]}, {[9, 37), [52, 52], (86, 96), (NULL, 22]}, {[9, 37), (52, ∞), [NULL, 96), (NULL, 22]}, {[37, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(62, 63), [35, ∞), [96, ∞), [NULL, ∞)}, {(62, ∞), [52, 52], [86, 86], (NULL, 27]}, {[63, 63], [35, 55), [96, ∞), [NULL, ∞)}, {[63, 63], [55, 55], (NULL, 46), [NULL, ∞)}, {[63, 63], [55, 55], (46, ∞), [NULL, ∞)}, {[63, 63], (55, ∞), [96, ∞), [NULL, ∞)}, {(63, 72], [35, ∞), [96, ∞), [NULL, ∞)}]\n" + 8497 " └─ columns: [pk v1 v2 v3 v4]\n" + 8498 "", 8499 }, 8500 { 8501 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=52) OR (v1>=59 AND v2<=30 AND v3=98 AND v4 BETWEEN 43 AND 74));`, 8502 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8503 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8504 " ├─ static: [{[52, 52], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[59, ∞), (NULL, 30], [98, 98], [43, 74]}]\n" + 8505 " ├─ colSet: (1-5)\n" + 8506 " ├─ tableId: 1\n" + 8507 " └─ Table\n" + 8508 " ├─ name: comp_index_t2\n" + 8509 " └─ columns: [pk v1 v2 v3 v4]\n" + 8510 "", 8511 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8512 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8513 " ├─ filters: [{[52, 52], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[59, ∞), (NULL, 30], [98, 98], [43, 74]}]\n" + 8514 " └─ columns: [pk v1 v2 v3 v4]\n" + 8515 "", 8516 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8517 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8518 " ├─ filters: [{[52, 52], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[59, ∞), (NULL, 30], [98, 98], [43, 74]}]\n" + 8519 " └─ columns: [pk v1 v2 v3 v4]\n" + 8520 "", 8521 }, 8522 { 8523 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=37 AND v3>=74 AND v4=54) OR (v1>=36 AND v3<=42 AND v4<=94)) AND (v1=59 AND v2<=56) OR (v1>=83 AND v2<=11));`, 8524 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8525 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8526 " ├─ static: [{[59, 59], (NULL, 56], (NULL, 42], (NULL, 94]}, {[59, 59], (NULL, 56], [74, ∞), [54, 54]}, {[83, ∞), (NULL, 11], [NULL, ∞), [NULL, ∞)}]\n" + 8527 " ├─ colSet: (1-5)\n" + 8528 " ├─ tableId: 1\n" + 8529 " └─ Table\n" + 8530 " ├─ name: comp_index_t2\n" + 8531 " └─ columns: [pk v1 v2 v3 v4]\n" + 8532 "", 8533 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8534 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8535 " ├─ filters: [{[59, 59], (NULL, 56], (NULL, 42], (NULL, 94]}, {[59, 59], (NULL, 56], [74, ∞), [54, 54]}, {[83, ∞), (NULL, 11], [NULL, ∞), [NULL, ∞)}]\n" + 8536 " └─ columns: [pk v1 v2 v3 v4]\n" + 8537 "", 8538 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8539 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8540 " ├─ filters: [{[59, 59], (NULL, 56], (NULL, 42], (NULL, 94]}, {[59, 59], (NULL, 56], [74, ∞), [54, 54]}, {[83, ∞), (NULL, 11], [NULL, ∞), [NULL, ∞)}]\n" + 8541 " └─ columns: [pk v1 v2 v3 v4]\n" + 8542 "", 8543 }, 8544 { 8545 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>39 AND v3<44 AND v4 BETWEEN 3 AND 31 AND v2>16) OR (v1>72 AND v2=73 AND v3<37 AND v4<=43)) OR (v1=9 AND v2<50));`, 8546 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8547 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8548 " ├─ static: [{(NULL, 9), (16, ∞), (NULL, 44), [3, 31]}, {[9, 9], (NULL, 50), [NULL, ∞), [NULL, ∞)}, {[9, 9], [50, ∞), (NULL, 44), [3, 31]}, {(9, 39), (16, ∞), (NULL, 44), [3, 31]}, {(39, 72], (16, ∞), (NULL, 44), [3, 31]}, {(72, ∞), (16, 73), (NULL, 44), [3, 31]}, {(72, ∞), [73, 73], (NULL, 37), (NULL, 43]}, {(72, ∞), [73, 73], [37, 44), [3, 31]}, {(72, ∞), (73, ∞), (NULL, 44), [3, 31]}]\n" + 8549 " ├─ colSet: (1-5)\n" + 8550 " ├─ tableId: 1\n" + 8551 " └─ Table\n" + 8552 " ├─ name: comp_index_t2\n" + 8553 " └─ columns: [pk v1 v2 v3 v4]\n" + 8554 "", 8555 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8556 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8557 " ├─ filters: [{(NULL, 9), (16, ∞), (NULL, 44), [3, 31]}, {[9, 9], (NULL, 50), [NULL, ∞), [NULL, ∞)}, {[9, 9], [50, ∞), (NULL, 44), [3, 31]}, {(9, 39), (16, ∞), (NULL, 44), [3, 31]}, {(39, 72], (16, ∞), (NULL, 44), [3, 31]}, {(72, ∞), (16, 73), (NULL, 44), [3, 31]}, {(72, ∞), [73, 73], (NULL, 37), (NULL, 43]}, {(72, ∞), [73, 73], [37, 44), [3, 31]}, {(72, ∞), (73, ∞), (NULL, 44), [3, 31]}]\n" + 8558 " └─ columns: [pk v1 v2 v3 v4]\n" + 8559 "", 8560 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8561 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8562 " ├─ filters: [{(NULL, 9), (16, ∞), (NULL, 44), [3, 31]}, {[9, 9], (NULL, 50), [NULL, ∞), [NULL, ∞)}, {[9, 9], [50, ∞), (NULL, 44), [3, 31]}, {(9, 39), (16, ∞), (NULL, 44), [3, 31]}, {(39, 72], (16, ∞), (NULL, 44), [3, 31]}, {(72, ∞), (16, 73), (NULL, 44), [3, 31]}, {(72, ∞), [73, 73], (NULL, 37), (NULL, 43]}, {(72, ∞), [73, 73], [37, 44), [3, 31]}, {(72, ∞), (73, ∞), (NULL, 44), [3, 31]}]\n" + 8563 " └─ columns: [pk v1 v2 v3 v4]\n" + 8564 "", 8565 }, 8566 { 8567 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<31 AND v2<>14 AND v3 BETWEEN 0 AND 10 AND v4>=95) OR (v1<>91)) OR (v1<>35));`, 8568 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8569 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8570 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8571 " ├─ colSet: (1-5)\n" + 8572 " ├─ tableId: 1\n" + 8573 " └─ Table\n" + 8574 " ├─ name: comp_index_t2\n" + 8575 " └─ columns: [pk v1 v2 v3 v4]\n" + 8576 "", 8577 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8578 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8579 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8580 " └─ columns: [pk v1 v2 v3 v4]\n" + 8581 "", 8582 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8583 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8584 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8585 " └─ columns: [pk v1 v2 v3 v4]\n" + 8586 "", 8587 }, 8588 { 8589 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>13) OR (v1<>3 AND v4<=42 AND v2 BETWEEN 89 AND 94));`, 8590 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8591 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8592 " ├─ static: [{(NULL, 3), [89, 94], [NULL, ∞), (NULL, 42]}, {(3, 13], [89, 94], [NULL, ∞), (NULL, 42]}, {(13, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8593 " ├─ colSet: (1-5)\n" + 8594 " ├─ tableId: 1\n" + 8595 " └─ Table\n" + 8596 " ├─ name: comp_index_t2\n" + 8597 " └─ columns: [pk v1 v2 v3 v4]\n" + 8598 "", 8599 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8600 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8601 " ├─ filters: [{(NULL, 3), [89, 94], [NULL, ∞), (NULL, 42]}, {(3, 13], [89, 94], [NULL, ∞), (NULL, 42]}, {(13, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8602 " └─ columns: [pk v1 v2 v3 v4]\n" + 8603 "", 8604 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8605 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8606 " ├─ filters: [{(NULL, 3), [89, 94], [NULL, ∞), (NULL, 42]}, {(3, 13], [89, 94], [NULL, ∞), (NULL, 42]}, {(13, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8607 " └─ columns: [pk v1 v2 v3 v4]\n" + 8608 "", 8609 }, 8610 { 8611 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<29 AND v2<=19) AND (v1>=26) OR (v1>=87 AND v2<=12 AND v3=36 AND v4<20)) AND (v1<=24 AND v4>85 AND v2 BETWEEN 1 AND 64) OR (v1>27 AND v2>=8 AND v3<24));`, 8612 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8613 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8614 " ├─ static: [{(27, ∞), [8, ∞), (NULL, 24), [NULL, ∞)}]\n" + 8615 " ├─ colSet: (1-5)\n" + 8616 " ├─ tableId: 1\n" + 8617 " └─ Table\n" + 8618 " ├─ name: comp_index_t2\n" + 8619 " └─ columns: [pk v1 v2 v3 v4]\n" + 8620 "", 8621 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8622 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8623 " ├─ filters: [{(27, ∞), [8, ∞), (NULL, 24), [NULL, ∞)}]\n" + 8624 " └─ columns: [pk v1 v2 v3 v4]\n" + 8625 "", 8626 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8627 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8628 " ├─ filters: [{(27, ∞), [8, ∞), (NULL, 24), [NULL, ∞)}]\n" + 8629 " └─ columns: [pk v1 v2 v3 v4]\n" + 8630 "", 8631 }, 8632 { 8633 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<77 AND v2 BETWEEN 5 AND 22 AND v3<>91 AND v4<34) OR (v1=68 AND v2=50)) OR (v1<44 AND v2>84 AND v3<37 AND v4>=67));`, 8634 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8635 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8636 " ├─ static: [{(NULL, 44), (84, ∞), (NULL, 37), [67, ∞)}, {(NULL, 77), [5, 22], (NULL, 91), (NULL, 34)}, {(NULL, 77), [5, 22], (91, ∞), (NULL, 34)}, {[68, 68], [50, 50], [NULL, ∞), [NULL, ∞)}]\n" + 8637 " ├─ colSet: (1-5)\n" + 8638 " ├─ tableId: 1\n" + 8639 " └─ Table\n" + 8640 " ├─ name: comp_index_t2\n" + 8641 " └─ columns: [pk v1 v2 v3 v4]\n" + 8642 "", 8643 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8644 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8645 " ├─ filters: [{(NULL, 44), (84, ∞), (NULL, 37), [67, ∞)}, {(NULL, 77), [5, 22], (NULL, 91), (NULL, 34)}, {(NULL, 77), [5, 22], (91, ∞), (NULL, 34)}, {[68, 68], [50, 50], [NULL, ∞), [NULL, ∞)}]\n" + 8646 " └─ columns: [pk v1 v2 v3 v4]\n" + 8647 "", 8648 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8649 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8650 " ├─ filters: [{(NULL, 44), (84, ∞), (NULL, 37), [67, ∞)}, {(NULL, 77), [5, 22], (NULL, 91), (NULL, 34)}, {(NULL, 77), [5, 22], (91, ∞), (NULL, 34)}, {[68, 68], [50, 50], [NULL, ∞), [NULL, ∞)}]\n" + 8651 " └─ columns: [pk v1 v2 v3 v4]\n" + 8652 "", 8653 }, 8654 { 8655 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<4 AND v2>=71) OR (v1<18 AND v2=57));`, 8656 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8657 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8658 " ├─ static: [{(NULL, 4), [71, ∞), [NULL, ∞), [NULL, ∞)}, {(NULL, 18), [57, 57], [NULL, ∞), [NULL, ∞)}]\n" + 8659 " ├─ colSet: (1-5)\n" + 8660 " ├─ tableId: 1\n" + 8661 " └─ Table\n" + 8662 " ├─ name: comp_index_t2\n" + 8663 " └─ columns: [pk v1 v2 v3 v4]\n" + 8664 "", 8665 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8666 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8667 " ├─ filters: [{(NULL, 4), [71, ∞), [NULL, ∞), [NULL, ∞)}, {(NULL, 18), [57, 57], [NULL, ∞), [NULL, ∞)}]\n" + 8668 " └─ columns: [pk v1 v2 v3 v4]\n" + 8669 "", 8670 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8671 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8672 " ├─ filters: [{(NULL, 4), [71, ∞), [NULL, ∞), [NULL, ∞)}, {(NULL, 18), [57, 57], [NULL, ∞), [NULL, ∞)}]\n" + 8673 " └─ columns: [pk v1 v2 v3 v4]\n" + 8674 "", 8675 }, 8676 { 8677 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>61 AND v2 BETWEEN 46 AND 51) OR (v1 BETWEEN 32 AND 75 AND v4<=32)) AND (v1>97) OR (v1<97));`, 8678 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8679 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8680 " ├─ static: [{(NULL, 97), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(97, ∞), [46, 51], [NULL, ∞), [NULL, ∞)}]\n" + 8681 " ├─ colSet: (1-5)\n" + 8682 " ├─ tableId: 1\n" + 8683 " └─ Table\n" + 8684 " ├─ name: comp_index_t2\n" + 8685 " └─ columns: [pk v1 v2 v3 v4]\n" + 8686 "", 8687 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8688 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8689 " ├─ filters: [{(NULL, 97), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(97, ∞), [46, 51], [NULL, ∞), [NULL, ∞)}]\n" + 8690 " └─ columns: [pk v1 v2 v3 v4]\n" + 8691 "", 8692 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8693 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8694 " ├─ filters: [{(NULL, 97), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(97, ∞), [46, 51], [NULL, ∞), [NULL, ∞)}]\n" + 8695 " └─ columns: [pk v1 v2 v3 v4]\n" + 8696 "", 8697 }, 8698 { 8699 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 4 AND 71 AND v2<=70) AND (v1<>47 AND v2 BETWEEN 19 AND 65) OR (v1=59 AND v2 BETWEEN 25 AND 58));`, 8700 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8701 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8702 " ├─ static: [{[4, 47), [19, 65], [NULL, ∞), [NULL, ∞)}, {(47, 71], [19, 65], [NULL, ∞), [NULL, ∞)}]\n" + 8703 " ├─ colSet: (1-5)\n" + 8704 " ├─ tableId: 1\n" + 8705 " └─ Table\n" + 8706 " ├─ name: comp_index_t2\n" + 8707 " └─ columns: [pk v1 v2 v3 v4]\n" + 8708 "", 8709 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8710 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8711 " ├─ filters: [{[4, 47), [19, 65], [NULL, ∞), [NULL, ∞)}, {(47, 71], [19, 65], [NULL, ∞), [NULL, ∞)}]\n" + 8712 " └─ columns: [pk v1 v2 v3 v4]\n" + 8713 "", 8714 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8715 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8716 " ├─ filters: [{[4, 47), [19, 65], [NULL, ∞), [NULL, ∞)}, {(47, 71], [19, 65], [NULL, ∞), [NULL, ∞)}]\n" + 8717 " └─ columns: [pk v1 v2 v3 v4]\n" + 8718 "", 8719 }, 8720 { 8721 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<70 AND v2<=90) OR (v1<5 AND v2<>13 AND v3 BETWEEN 20 AND 96 AND v4>92)) OR (v1<>76)) OR (v1 BETWEEN 12 AND 88 AND v2 BETWEEN 53 AND 67 AND v3>=39));`, 8722 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8723 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8724 " ├─ static: [{(NULL, 76), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[76, 76], [53, 67], [39, ∞), [NULL, ∞)}, {(76, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8725 " ├─ colSet: (1-5)\n" + 8726 " ├─ tableId: 1\n" + 8727 " └─ Table\n" + 8728 " ├─ name: comp_index_t2\n" + 8729 " └─ columns: [pk v1 v2 v3 v4]\n" + 8730 "", 8731 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8732 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8733 " ├─ filters: [{(NULL, 76), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[76, 76], [53, 67], [39, ∞), [NULL, ∞)}, {(76, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8734 " └─ columns: [pk v1 v2 v3 v4]\n" + 8735 "", 8736 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8737 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8738 " ├─ filters: [{(NULL, 76), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[76, 76], [53, 67], [39, ∞), [NULL, ∞)}, {(76, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8739 " └─ columns: [pk v1 v2 v3 v4]\n" + 8740 "", 8741 }, 8742 { 8743 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 8 AND 38 AND v2<=31 AND v3 BETWEEN 30 AND 46 AND v4>=28) OR (v1<=22 AND v4<>40 AND v2>76 AND v3 BETWEEN 38 AND 42)) OR (v1<=52 AND v2<93 AND v3>=83)) OR (v1>=33 AND v3>13 AND v4>34));`, 8744 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8745 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8746 " ├─ static: [{(NULL, 22], (76, ∞), [38, 42], (NULL, 40)}, {(NULL, 22], (76, ∞), [38, 42], (40, ∞)}, {(NULL, 52], (NULL, 93), [83, ∞), [NULL, ∞)}, {[8, 38], (NULL, 31], [30, 46], [28, ∞)}, {[33, 38], (NULL, 31], (13, 30), (34, ∞)}, {[33, 38], (NULL, 31], (46, 83), (34, ∞)}, {[33, 38], (31, 93), (13, 83), (34, ∞)}, {[33, 52], [NULL, NULL], (13, ∞), (34, ∞)}, {[33, 52], [93, ∞), (13, ∞), (34, ∞)}, {(38, 52], (NULL, 93), (13, 83), (34, ∞)}, {(52, ∞), [NULL, ∞), (13, ∞), (34, ∞)}]\n" + 8747 " ├─ colSet: (1-5)\n" + 8748 " ├─ tableId: 1\n" + 8749 " └─ Table\n" + 8750 " ├─ name: comp_index_t2\n" + 8751 " └─ columns: [pk v1 v2 v3 v4]\n" + 8752 "", 8753 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8754 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8755 " ├─ filters: [{(NULL, 22], (76, ∞), [38, 42], (NULL, 40)}, {(NULL, 22], (76, ∞), [38, 42], (40, ∞)}, {(NULL, 52], (NULL, 93), [83, ∞), [NULL, ∞)}, {[8, 38], (NULL, 31], [30, 46], [28, ∞)}, {[33, 38], (NULL, 31], (13, 30), (34, ∞)}, {[33, 38], (NULL, 31], (46, 83), (34, ∞)}, {[33, 38], (31, 93), (13, 83), (34, ∞)}, {[33, 52], [NULL, NULL], (13, ∞), (34, ∞)}, {[33, 52], [93, ∞), (13, ∞), (34, ∞)}, {(38, 52], (NULL, 93), (13, 83), (34, ∞)}, {(52, ∞), [NULL, ∞), (13, ∞), (34, ∞)}]\n" + 8756 " └─ columns: [pk v1 v2 v3 v4]\n" + 8757 "", 8758 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8759 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8760 " ├─ filters: [{(NULL, 22], (76, ∞), [38, 42], (NULL, 40)}, {(NULL, 22], (76, ∞), [38, 42], (40, ∞)}, {(NULL, 52], (NULL, 93), [83, ∞), [NULL, ∞)}, {[8, 38], (NULL, 31], [30, 46], [28, ∞)}, {[33, 38], (NULL, 31], (13, 30), (34, ∞)}, {[33, 38], (NULL, 31], (46, 83), (34, ∞)}, {[33, 38], (31, 93), (13, 83), (34, ∞)}, {[33, 52], [NULL, NULL], (13, ∞), (34, ∞)}, {[33, 52], [93, ∞), (13, ∞), (34, ∞)}, {(38, 52], (NULL, 93), (13, 83), (34, ∞)}, {(52, ∞), [NULL, ∞), (13, ∞), (34, ∞)}]\n" + 8761 " └─ columns: [pk v1 v2 v3 v4]\n" + 8762 "", 8763 }, 8764 { 8765 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 13 AND 40 AND v2>=0) OR (v1<>3 AND v2>47 AND v3<44 AND v4>49)) OR (v1=23));`, 8766 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8767 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8768 " ├─ static: [{(NULL, 3), (47, ∞), (NULL, 44), (49, ∞)}, {(3, 13), (47, ∞), (NULL, 44), (49, ∞)}, {[13, 23), [0, ∞), [NULL, ∞), [NULL, ∞)}, {[23, 23], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(23, 40], [0, ∞), [NULL, ∞), [NULL, ∞)}, {(40, ∞), (47, ∞), (NULL, 44), (49, ∞)}]\n" + 8769 " ├─ colSet: (1-5)\n" + 8770 " ├─ tableId: 1\n" + 8771 " └─ Table\n" + 8772 " ├─ name: comp_index_t2\n" + 8773 " └─ columns: [pk v1 v2 v3 v4]\n" + 8774 "", 8775 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8776 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8777 " ├─ filters: [{(NULL, 3), (47, ∞), (NULL, 44), (49, ∞)}, {(3, 13), (47, ∞), (NULL, 44), (49, ∞)}, {[13, 23), [0, ∞), [NULL, ∞), [NULL, ∞)}, {[23, 23], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(23, 40], [0, ∞), [NULL, ∞), [NULL, ∞)}, {(40, ∞), (47, ∞), (NULL, 44), (49, ∞)}]\n" + 8778 " └─ columns: [pk v1 v2 v3 v4]\n" + 8779 "", 8780 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8781 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8782 " ├─ filters: [{(NULL, 3), (47, ∞), (NULL, 44), (49, ∞)}, {(3, 13), (47, ∞), (NULL, 44), (49, ∞)}, {[13, 23), [0, ∞), [NULL, ∞), [NULL, ∞)}, {[23, 23], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(23, 40], [0, ∞), [NULL, ∞), [NULL, ∞)}, {(40, ∞), (47, ∞), (NULL, 44), (49, ∞)}]\n" + 8783 " └─ columns: [pk v1 v2 v3 v4]\n" + 8784 "", 8785 }, 8786 { 8787 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>35 AND v2<>26) OR (v1<=30 AND v2 BETWEEN 6 AND 61 AND v3<=95 AND v4>5)) AND (v1<>97) OR (v1>31));`, 8788 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8789 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8790 " ├─ static: [{(NULL, 30], [6, 61], (NULL, 95], (5, ∞)}, {(31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8791 " ├─ colSet: (1-5)\n" + 8792 " ├─ tableId: 1\n" + 8793 " └─ Table\n" + 8794 " ├─ name: comp_index_t2\n" + 8795 " └─ columns: [pk v1 v2 v3 v4]\n" + 8796 "", 8797 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8798 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8799 " ├─ filters: [{(NULL, 30], [6, 61], (NULL, 95], (5, ∞)}, {(31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8800 " └─ columns: [pk v1 v2 v3 v4]\n" + 8801 "", 8802 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8803 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8804 " ├─ filters: [{(NULL, 30], [6, 61], (NULL, 95], (5, ∞)}, {(31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8805 " └─ columns: [pk v1 v2 v3 v4]\n" + 8806 "", 8807 }, 8808 { 8809 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1=43 AND v2>=64) OR (v1>6 AND v3=92 AND v4>=15)) OR (v1<=55 AND v3=6 AND v4<=77 AND v2<=3)) OR (v1=96 AND v3<=80 AND v4<=13));`, 8810 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8811 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8812 " ├─ static: [{(NULL, 55], (NULL, 3], [6, 6], (NULL, 77]}, {(6, 43), [NULL, ∞), [92, 92], [15, ∞)}, {[43, 43], [NULL, 64), [92, 92], [15, ∞)}, {[43, 43], [64, ∞), [NULL, ∞), [NULL, ∞)}, {(43, ∞), [NULL, ∞), [92, 92], [15, ∞)}, {[96, 96], [NULL, ∞), (NULL, 80], (NULL, 13]}]\n" + 8813 " ├─ colSet: (1-5)\n" + 8814 " ├─ tableId: 1\n" + 8815 " └─ Table\n" + 8816 " ├─ name: comp_index_t2\n" + 8817 " └─ columns: [pk v1 v2 v3 v4]\n" + 8818 "", 8819 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8820 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8821 " ├─ filters: [{(NULL, 55], (NULL, 3], [6, 6], (NULL, 77]}, {(6, 43), [NULL, ∞), [92, 92], [15, ∞)}, {[43, 43], [NULL, 64), [92, 92], [15, ∞)}, {[43, 43], [64, ∞), [NULL, ∞), [NULL, ∞)}, {(43, ∞), [NULL, ∞), [92, 92], [15, ∞)}, {[96, 96], [NULL, ∞), (NULL, 80], (NULL, 13]}]\n" + 8822 " └─ columns: [pk v1 v2 v3 v4]\n" + 8823 "", 8824 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8825 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8826 " ├─ filters: [{(NULL, 55], (NULL, 3], [6, 6], (NULL, 77]}, {(6, 43), [NULL, ∞), [92, 92], [15, ∞)}, {[43, 43], [NULL, 64), [92, 92], [15, ∞)}, {[43, 43], [64, ∞), [NULL, ∞), [NULL, ∞)}, {(43, ∞), [NULL, ∞), [92, 92], [15, ∞)}, {[96, 96], [NULL, ∞), (NULL, 80], (NULL, 13]}]\n" + 8827 " └─ columns: [pk v1 v2 v3 v4]\n" + 8828 "", 8829 }, 8830 { 8831 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>8 AND v3 BETWEEN 14 AND 75 AND v4=28) AND (v1>=95 AND v2<>72 AND v3=22) OR (v1=5));`, 8832 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8833 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8834 " ├─ static: [{[5, 5], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[95, ∞), (NULL, 72), [22, 22], [28, 28]}, {[95, ∞), (72, ∞), [22, 22], [28, 28]}]\n" + 8835 " ├─ colSet: (1-5)\n" + 8836 " ├─ tableId: 1\n" + 8837 " └─ Table\n" + 8838 " ├─ name: comp_index_t2\n" + 8839 " └─ columns: [pk v1 v2 v3 v4]\n" + 8840 "", 8841 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8842 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8843 " ├─ filters: [{[5, 5], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[95, ∞), (NULL, 72), [22, 22], [28, 28]}, {[95, ∞), (72, ∞), [22, 22], [28, 28]}]\n" + 8844 " └─ columns: [pk v1 v2 v3 v4]\n" + 8845 "", 8846 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8847 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8848 " ├─ filters: [{[5, 5], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[95, ∞), (NULL, 72), [22, 22], [28, 28]}, {[95, ∞), (72, ∞), [22, 22], [28, 28]}]\n" + 8849 " └─ columns: [pk v1 v2 v3 v4]\n" + 8850 "", 8851 }, 8852 { 8853 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=95 AND v2<1 AND v3 BETWEEN 49 AND 61 AND v4=51) OR (v1>29 AND v2>=9 AND v3>=63 AND v4<=88));`, 8854 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8855 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8856 " ├─ static: [{(29, ∞), [9, ∞), [63, ∞), (NULL, 88]}, {[95, 95], (NULL, 1), [49, 61], [51, 51]}]\n" + 8857 " ├─ colSet: (1-5)\n" + 8858 " ├─ tableId: 1\n" + 8859 " └─ Table\n" + 8860 " ├─ name: comp_index_t2\n" + 8861 " └─ columns: [pk v1 v2 v3 v4]\n" + 8862 "", 8863 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8864 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8865 " ├─ filters: [{(29, ∞), [9, ∞), [63, ∞), (NULL, 88]}, {[95, 95], (NULL, 1), [49, 61], [51, 51]}]\n" + 8866 " └─ columns: [pk v1 v2 v3 v4]\n" + 8867 "", 8868 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8869 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8870 " ├─ filters: [{(29, ∞), [9, ∞), [63, ∞), (NULL, 88]}, {[95, 95], (NULL, 1), [49, 61], [51, 51]}]\n" + 8871 " └─ columns: [pk v1 v2 v3 v4]\n" + 8872 "", 8873 }, 8874 { 8875 Query: `SELECT * FROM comp_index_t2 WHERE (v1>30 AND v2 BETWEEN 20 AND 64) AND (v1<=29) AND (v1>=25 AND v2<>0);`, 8876 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8877 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8878 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 8879 " ├─ colSet: (1-5)\n" + 8880 " ├─ tableId: 1\n" + 8881 " └─ Table\n" + 8882 " ├─ name: comp_index_t2\n" + 8883 " └─ columns: [pk v1 v2 v3 v4]\n" + 8884 "", 8885 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8886 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8887 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 8888 " └─ columns: [pk v1 v2 v3 v4]\n" + 8889 "", 8890 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8891 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8892 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 8893 " └─ columns: [pk v1 v2 v3 v4]\n" + 8894 "", 8895 }, 8896 { 8897 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=89 AND v2<=1 AND v3<=7 AND v4>=4) AND (v1<=87) OR (v1 BETWEEN 10 AND 46 AND v2 BETWEEN 18 AND 76));`, 8898 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8899 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8900 " ├─ static: [{[10, 46], [18, 76], [NULL, ∞), [NULL, ∞)}]\n" + 8901 " ├─ colSet: (1-5)\n" + 8902 " ├─ tableId: 1\n" + 8903 " └─ Table\n" + 8904 " ├─ name: comp_index_t2\n" + 8905 " └─ columns: [pk v1 v2 v3 v4]\n" + 8906 "", 8907 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8908 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8909 " ├─ filters: [{[10, 46], [18, 76], [NULL, ∞), [NULL, ∞)}]\n" + 8910 " └─ columns: [pk v1 v2 v3 v4]\n" + 8911 "", 8912 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8913 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8914 " ├─ filters: [{[10, 46], [18, 76], [NULL, ∞), [NULL, ∞)}]\n" + 8915 " └─ columns: [pk v1 v2 v3 v4]\n" + 8916 "", 8917 }, 8918 { 8919 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=44 AND v2>=45 AND v3>=34 AND v4>1) OR (v1=33));`, 8920 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8921 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8922 " ├─ static: [{[33, 33], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[44, 44], [45, ∞), [34, ∞), (1, ∞)}]\n" + 8923 " ├─ colSet: (1-5)\n" + 8924 " ├─ tableId: 1\n" + 8925 " └─ Table\n" + 8926 " ├─ name: comp_index_t2\n" + 8927 " └─ columns: [pk v1 v2 v3 v4]\n" + 8928 "", 8929 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8930 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8931 " ├─ filters: [{[33, 33], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[44, 44], [45, ∞), [34, ∞), (1, ∞)}]\n" + 8932 " └─ columns: [pk v1 v2 v3 v4]\n" + 8933 "", 8934 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8935 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8936 " ├─ filters: [{[33, 33], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[44, 44], [45, ∞), [34, ∞), (1, ∞)}]\n" + 8937 " └─ columns: [pk v1 v2 v3 v4]\n" + 8938 "", 8939 }, 8940 { 8941 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<>12 AND v2<=6) OR (v1>99 AND v2<>51 AND v3=38)) OR (v1>60)) OR (v1 BETWEEN 69 AND 77 AND v2>=49 AND v3>=43));`, 8942 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8943 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8944 " ├─ static: [{(NULL, 12), (NULL, 6], [NULL, ∞), [NULL, ∞)}, {(12, 60], (NULL, 6], [NULL, ∞), [NULL, ∞)}, {(60, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8945 " ├─ colSet: (1-5)\n" + 8946 " ├─ tableId: 1\n" + 8947 " └─ Table\n" + 8948 " ├─ name: comp_index_t2\n" + 8949 " └─ columns: [pk v1 v2 v3 v4]\n" + 8950 "", 8951 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8952 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8953 " ├─ filters: [{(NULL, 12), (NULL, 6], [NULL, ∞), [NULL, ∞)}, {(12, 60], (NULL, 6], [NULL, ∞), [NULL, ∞)}, {(60, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8954 " └─ columns: [pk v1 v2 v3 v4]\n" + 8955 "", 8956 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8957 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8958 " ├─ filters: [{(NULL, 12), (NULL, 6], [NULL, ∞), [NULL, ∞)}, {(12, 60], (NULL, 6], [NULL, ∞), [NULL, ∞)}, {(60, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 8959 " └─ columns: [pk v1 v2 v3 v4]\n" + 8960 "", 8961 }, 8962 { 8963 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 49 AND 53 AND v4 BETWEEN 22 AND 96) OR (v1 BETWEEN 7 AND 79)) AND (v1<=45 AND v2<=11) OR (v1 BETWEEN 16 AND 65 AND v2<53 AND v3<>15 AND v4>22));`, 8964 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8965 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8966 " ├─ static: [{[7, 45], (NULL, 11], [NULL, ∞), [NULL, ∞)}, {[16, 45], (11, 53), (NULL, 15), (22, ∞)}, {[16, 45], (11, 53), (15, ∞), (22, ∞)}, {(45, 65], (NULL, 53), (NULL, 15), (22, ∞)}, {(45, 65], (NULL, 53), (15, ∞), (22, ∞)}]\n" + 8967 " ├─ colSet: (1-5)\n" + 8968 " ├─ tableId: 1\n" + 8969 " └─ Table\n" + 8970 " ├─ name: comp_index_t2\n" + 8971 " └─ columns: [pk v1 v2 v3 v4]\n" + 8972 "", 8973 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8974 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8975 " ├─ filters: [{[7, 45], (NULL, 11], [NULL, ∞), [NULL, ∞)}, {[16, 45], (11, 53), (NULL, 15), (22, ∞)}, {[16, 45], (11, 53), (15, ∞), (22, ∞)}, {(45, 65], (NULL, 53), (NULL, 15), (22, ∞)}, {(45, 65], (NULL, 53), (15, ∞), (22, ∞)}]\n" + 8976 " └─ columns: [pk v1 v2 v3 v4]\n" + 8977 "", 8978 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 8979 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8980 " ├─ filters: [{[7, 45], (NULL, 11], [NULL, ∞), [NULL, ∞)}, {[16, 45], (11, 53), (NULL, 15), (22, ∞)}, {[16, 45], (11, 53), (15, ∞), (22, ∞)}, {(45, 65], (NULL, 53), (NULL, 15), (22, ∞)}, {(45, 65], (NULL, 53), (15, ∞), (22, ∞)}]\n" + 8981 " └─ columns: [pk v1 v2 v3 v4]\n" + 8982 "", 8983 }, 8984 { 8985 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<11) OR (v1<=38 AND v2>=93 AND v3<=34 AND v4>7));`, 8986 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 8987 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8988 " ├─ static: [{(NULL, 11), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[11, 38], [93, ∞), (NULL, 34], (7, ∞)}]\n" + 8989 " ├─ colSet: (1-5)\n" + 8990 " ├─ tableId: 1\n" + 8991 " └─ Table\n" + 8992 " ├─ name: comp_index_t2\n" + 8993 " └─ columns: [pk v1 v2 v3 v4]\n" + 8994 "", 8995 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 8996 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 8997 " ├─ filters: [{(NULL, 11), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[11, 38], [93, ∞), (NULL, 34], (7, ∞)}]\n" + 8998 " └─ columns: [pk v1 v2 v3 v4]\n" + 8999 "", 9000 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9001 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9002 " ├─ filters: [{(NULL, 11), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[11, 38], [93, ∞), (NULL, 34], (7, ∞)}]\n" + 9003 " └─ columns: [pk v1 v2 v3 v4]\n" + 9004 "", 9005 }, 9006 { 9007 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=97 AND v3<>2) OR (v1=49 AND v2 BETWEEN 29 AND 30 AND v3<>97));`, 9008 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9009 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9010 " ├─ static: [{(NULL, 49), [NULL, ∞), (NULL, 2), [NULL, ∞)}, {(NULL, 49), [NULL, ∞), (2, ∞), [NULL, ∞)}, {[49, 49], [NULL, 29), (NULL, 2), [NULL, ∞)}, {[49, 49], [NULL, 29), (2, ∞), [NULL, ∞)}, {[49, 49], [29, 30], (NULL, ∞), [NULL, ∞)}, {[49, 49], (30, ∞), (NULL, 2), [NULL, ∞)}, {[49, 49], (30, ∞), (2, ∞), [NULL, ∞)}, {(49, 97], [NULL, ∞), (NULL, 2), [NULL, ∞)}, {(49, 97], [NULL, ∞), (2, ∞), [NULL, ∞)}]\n" + 9011 " ├─ colSet: (1-5)\n" + 9012 " ├─ tableId: 1\n" + 9013 " └─ Table\n" + 9014 " ├─ name: comp_index_t2\n" + 9015 " └─ columns: [pk v1 v2 v3 v4]\n" + 9016 "", 9017 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9018 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9019 " ├─ filters: [{(NULL, 49), [NULL, ∞), (NULL, 2), [NULL, ∞)}, {(NULL, 49), [NULL, ∞), (2, ∞), [NULL, ∞)}, {[49, 49], [NULL, 29), (NULL, 2), [NULL, ∞)}, {[49, 49], [NULL, 29), (2, ∞), [NULL, ∞)}, {[49, 49], [29, 30], (NULL, ∞), [NULL, ∞)}, {[49, 49], (30, ∞), (NULL, 2), [NULL, ∞)}, {[49, 49], (30, ∞), (2, ∞), [NULL, ∞)}, {(49, 97], [NULL, ∞), (NULL, 2), [NULL, ∞)}, {(49, 97], [NULL, ∞), (2, ∞), [NULL, ∞)}]\n" + 9020 " └─ columns: [pk v1 v2 v3 v4]\n" + 9021 "", 9022 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9023 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9024 " ├─ filters: [{(NULL, 49), [NULL, ∞), (NULL, 2), [NULL, ∞)}, {(NULL, 49), [NULL, ∞), (2, ∞), [NULL, ∞)}, {[49, 49], [NULL, 29), (NULL, 2), [NULL, ∞)}, {[49, 49], [NULL, 29), (2, ∞), [NULL, ∞)}, {[49, 49], [29, 30], (NULL, ∞), [NULL, ∞)}, {[49, 49], (30, ∞), (NULL, 2), [NULL, ∞)}, {[49, 49], (30, ∞), (2, ∞), [NULL, ∞)}, {(49, 97], [NULL, ∞), (NULL, 2), [NULL, ∞)}, {(49, 97], [NULL, ∞), (2, ∞), [NULL, ∞)}]\n" + 9025 " └─ columns: [pk v1 v2 v3 v4]\n" + 9026 "", 9027 }, 9028 { 9029 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=64) OR (v1>21 AND v2 BETWEEN 0 AND 58)) OR (v1<15 AND v4 BETWEEN 63 AND 76 AND v2>84));`, 9030 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9031 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9032 " ├─ static: [{(NULL, 64], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(64, ∞), [0, 58], [NULL, ∞), [NULL, ∞)}]\n" + 9033 " ├─ colSet: (1-5)\n" + 9034 " ├─ tableId: 1\n" + 9035 " └─ Table\n" + 9036 " ├─ name: comp_index_t2\n" + 9037 " └─ columns: [pk v1 v2 v3 v4]\n" + 9038 "", 9039 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9040 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9041 " ├─ filters: [{(NULL, 64], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(64, ∞), [0, 58], [NULL, ∞), [NULL, ∞)}]\n" + 9042 " └─ columns: [pk v1 v2 v3 v4]\n" + 9043 "", 9044 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9045 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9046 " ├─ filters: [{(NULL, 64], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(64, ∞), [0, 58], [NULL, ∞), [NULL, ∞)}]\n" + 9047 " └─ columns: [pk v1 v2 v3 v4]\n" + 9048 "", 9049 }, 9050 { 9051 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 24 AND 98 AND v2>0 AND v3>=87) OR (v1 BETWEEN 2 AND 3 AND v2 BETWEEN 15 AND 78));`, 9052 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9053 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9054 " ├─ static: [{[2, 3], [15, 78], [NULL, ∞), [NULL, ∞)}, {[24, 98], (0, ∞), [87, ∞), [NULL, ∞)}]\n" + 9055 " ├─ colSet: (1-5)\n" + 9056 " ├─ tableId: 1\n" + 9057 " └─ Table\n" + 9058 " ├─ name: comp_index_t2\n" + 9059 " └─ columns: [pk v1 v2 v3 v4]\n" + 9060 "", 9061 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9062 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9063 " ├─ filters: [{[2, 3], [15, 78], [NULL, ∞), [NULL, ∞)}, {[24, 98], (0, ∞), [87, ∞), [NULL, ∞)}]\n" + 9064 " └─ columns: [pk v1 v2 v3 v4]\n" + 9065 "", 9066 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9067 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9068 " ├─ filters: [{[2, 3], [15, 78], [NULL, ∞), [NULL, ∞)}, {[24, 98], (0, ∞), [87, ∞), [NULL, ∞)}]\n" + 9069 " └─ columns: [pk v1 v2 v3 v4]\n" + 9070 "", 9071 }, 9072 { 9073 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<>37) OR (v1<=94 AND v2 BETWEEN 53 AND 65 AND v3>=9)) OR (v1<10 AND v3<>26 AND v4<91)) OR (v1<>21 AND v2<>24 AND v3<46));`, 9074 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9075 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9076 " ├─ static: [{(NULL, 37), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[37, 37], (NULL, 24), (NULL, 46), [NULL, ∞)}, {[37, 37], (24, 53), (NULL, 46), [NULL, ∞)}, {[37, 37], [53, 65], (NULL, ∞), [NULL, ∞)}, {[37, 37], (65, ∞), (NULL, 46), [NULL, ∞)}, {(37, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9077 " ├─ colSet: (1-5)\n" + 9078 " ├─ tableId: 1\n" + 9079 " └─ Table\n" + 9080 " ├─ name: comp_index_t2\n" + 9081 " └─ columns: [pk v1 v2 v3 v4]\n" + 9082 "", 9083 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9084 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9085 " ├─ filters: [{(NULL, 37), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[37, 37], (NULL, 24), (NULL, 46), [NULL, ∞)}, {[37, 37], (24, 53), (NULL, 46), [NULL, ∞)}, {[37, 37], [53, 65], (NULL, ∞), [NULL, ∞)}, {[37, 37], (65, ∞), (NULL, 46), [NULL, ∞)}, {(37, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9086 " └─ columns: [pk v1 v2 v3 v4]\n" + 9087 "", 9088 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9089 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9090 " ├─ filters: [{(NULL, 37), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[37, 37], (NULL, 24), (NULL, 46), [NULL, ∞)}, {[37, 37], (24, 53), (NULL, 46), [NULL, ∞)}, {[37, 37], [53, 65], (NULL, ∞), [NULL, ∞)}, {[37, 37], (65, ∞), (NULL, 46), [NULL, ∞)}, {(37, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9091 " └─ columns: [pk v1 v2 v3 v4]\n" + 9092 "", 9093 }, 9094 { 9095 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>21 AND v2>27 AND v3>=97 AND v4 BETWEEN 25 AND 67) OR (v1>=66 AND v2<=56)) OR (v1=37));`, 9096 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9097 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9098 " ├─ static: [{(NULL, 21), (27, ∞), [97, ∞), [25, 67]}, {(21, 37), (27, ∞), [97, ∞), [25, 67]}, {[37, 37], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(37, 66), (27, ∞), [97, ∞), [25, 67]}, {[66, ∞), (NULL, 56], [NULL, ∞), [NULL, ∞)}, {[66, ∞), (56, ∞), [97, ∞), [25, 67]}]\n" + 9099 " ├─ colSet: (1-5)\n" + 9100 " ├─ tableId: 1\n" + 9101 " └─ Table\n" + 9102 " ├─ name: comp_index_t2\n" + 9103 " └─ columns: [pk v1 v2 v3 v4]\n" + 9104 "", 9105 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9106 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9107 " ├─ filters: [{(NULL, 21), (27, ∞), [97, ∞), [25, 67]}, {(21, 37), (27, ∞), [97, ∞), [25, 67]}, {[37, 37], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(37, 66), (27, ∞), [97, ∞), [25, 67]}, {[66, ∞), (NULL, 56], [NULL, ∞), [NULL, ∞)}, {[66, ∞), (56, ∞), [97, ∞), [25, 67]}]\n" + 9108 " └─ columns: [pk v1 v2 v3 v4]\n" + 9109 "", 9110 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9111 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9112 " ├─ filters: [{(NULL, 21), (27, ∞), [97, ∞), [25, 67]}, {(21, 37), (27, ∞), [97, ∞), [25, 67]}, {[37, 37], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(37, 66), (27, ∞), [97, ∞), [25, 67]}, {[66, ∞), (NULL, 56], [NULL, ∞), [NULL, ∞)}, {[66, ∞), (56, ∞), [97, ∞), [25, 67]}]\n" + 9113 " └─ columns: [pk v1 v2 v3 v4]\n" + 9114 "", 9115 }, 9116 { 9117 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=43 AND v2<48 AND v3<16 AND v4<=75) OR (v1<71));`, 9118 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9119 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9120 " ├─ static: [{(NULL, 71), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9121 " ├─ colSet: (1-5)\n" + 9122 " ├─ tableId: 1\n" + 9123 " └─ Table\n" + 9124 " ├─ name: comp_index_t2\n" + 9125 " └─ columns: [pk v1 v2 v3 v4]\n" + 9126 "", 9127 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9128 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9129 " ├─ filters: [{(NULL, 71), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9130 " └─ columns: [pk v1 v2 v3 v4]\n" + 9131 "", 9132 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9133 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9134 " ├─ filters: [{(NULL, 71), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9135 " └─ columns: [pk v1 v2 v3 v4]\n" + 9136 "", 9137 }, 9138 { 9139 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>91 AND v2=91 AND v3>=15) OR (v1 BETWEEN 16 AND 30)) OR (v1<>27 AND v4=62));`, 9140 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9141 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9142 " ├─ static: [{(NULL, 16), [NULL, 91), [NULL, ∞), [62, 62]}, {(NULL, 16), [91, 91], [NULL, 15), [62, 62]}, {(NULL, 16), [91, 91], [15, ∞), [NULL, ∞)}, {(NULL, 16), (91, ∞), [NULL, ∞), [62, 62]}, {[16, 30], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(30, 91), [NULL, 91), [NULL, ∞), [62, 62]}, {(30, 91), [91, 91], [NULL, 15), [62, 62]}, {(30, 91), [91, 91], [15, ∞), [NULL, ∞)}, {(30, 91), (91, ∞), [NULL, ∞), [62, 62]}, {[91, 91], [NULL, ∞), [NULL, ∞), [62, 62]}, {(91, ∞), [NULL, 91), [NULL, ∞), [62, 62]}, {(91, ∞), [91, 91], [NULL, 15), [62, 62]}, {(91, ∞), [91, 91], [15, ∞), [NULL, ∞)}, {(91, ∞), (91, ∞), [NULL, ∞), [62, 62]}]\n" + 9143 " ├─ colSet: (1-5)\n" + 9144 " ├─ tableId: 1\n" + 9145 " └─ Table\n" + 9146 " ├─ name: comp_index_t2\n" + 9147 " └─ columns: [pk v1 v2 v3 v4]\n" + 9148 "", 9149 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9150 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9151 " ├─ filters: [{(NULL, 16), [NULL, 91), [NULL, ∞), [62, 62]}, {(NULL, 16), [91, 91], [NULL, 15), [62, 62]}, {(NULL, 16), [91, 91], [15, ∞), [NULL, ∞)}, {(NULL, 16), (91, ∞), [NULL, ∞), [62, 62]}, {[16, 30], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(30, 91), [NULL, 91), [NULL, ∞), [62, 62]}, {(30, 91), [91, 91], [NULL, 15), [62, 62]}, {(30, 91), [91, 91], [15, ∞), [NULL, ∞)}, {(30, 91), (91, ∞), [NULL, ∞), [62, 62]}, {[91, 91], [NULL, ∞), [NULL, ∞), [62, 62]}, {(91, ∞), [NULL, 91), [NULL, ∞), [62, 62]}, {(91, ∞), [91, 91], [NULL, 15), [62, 62]}, {(91, ∞), [91, 91], [15, ∞), [NULL, ∞)}, {(91, ∞), (91, ∞), [NULL, ∞), [62, 62]}]\n" + 9152 " └─ columns: [pk v1 v2 v3 v4]\n" + 9153 "", 9154 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9155 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9156 " ├─ filters: [{(NULL, 16), [NULL, 91), [NULL, ∞), [62, 62]}, {(NULL, 16), [91, 91], [NULL, 15), [62, 62]}, {(NULL, 16), [91, 91], [15, ∞), [NULL, ∞)}, {(NULL, 16), (91, ∞), [NULL, ∞), [62, 62]}, {[16, 30], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(30, 91), [NULL, 91), [NULL, ∞), [62, 62]}, {(30, 91), [91, 91], [NULL, 15), [62, 62]}, {(30, 91), [91, 91], [15, ∞), [NULL, ∞)}, {(30, 91), (91, ∞), [NULL, ∞), [62, 62]}, {[91, 91], [NULL, ∞), [NULL, ∞), [62, 62]}, {(91, ∞), [NULL, 91), [NULL, ∞), [62, 62]}, {(91, ∞), [91, 91], [NULL, 15), [62, 62]}, {(91, ∞), [91, 91], [15, ∞), [NULL, ∞)}, {(91, ∞), (91, ∞), [NULL, ∞), [62, 62]}]\n" + 9157 " └─ columns: [pk v1 v2 v3 v4]\n" + 9158 "", 9159 }, 9160 { 9161 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=54 AND v3>26 AND v4>30 AND v2 BETWEEN 3 AND 8) OR (v1>8 AND v2<=43 AND v3<>97));`, 9162 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9163 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9164 " ├─ static: [{(8, ∞), (NULL, 43], (NULL, 97), [NULL, ∞)}, {(8, ∞), (NULL, 43], (97, ∞), [NULL, ∞)}, {[54, 54], [3, 8], [97, 97], (30, ∞)}]\n" + 9165 " ├─ colSet: (1-5)\n" + 9166 " ├─ tableId: 1\n" + 9167 " └─ Table\n" + 9168 " ├─ name: comp_index_t2\n" + 9169 " └─ columns: [pk v1 v2 v3 v4]\n" + 9170 "", 9171 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9172 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9173 " ├─ filters: [{(8, ∞), (NULL, 43], (NULL, 97), [NULL, ∞)}, {(8, ∞), (NULL, 43], (97, ∞), [NULL, ∞)}, {[54, 54], [3, 8], [97, 97], (30, ∞)}]\n" + 9174 " └─ columns: [pk v1 v2 v3 v4]\n" + 9175 "", 9176 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9177 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9178 " ├─ filters: [{(8, ∞), (NULL, 43], (NULL, 97), [NULL, ∞)}, {(8, ∞), (NULL, 43], (97, ∞), [NULL, ∞)}, {[54, 54], [3, 8], [97, 97], (30, ∞)}]\n" + 9179 " └─ columns: [pk v1 v2 v3 v4]\n" + 9180 "", 9181 }, 9182 { 9183 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=38 AND v2<>11 AND v3>=26) OR (v1 BETWEEN 37 AND 90 AND v4<85 AND v2<0)) OR (v1<>23));`, 9184 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9185 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9186 " ├─ static: [{(NULL, 23), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(23, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9187 " ├─ colSet: (1-5)\n" + 9188 " ├─ tableId: 1\n" + 9189 " └─ Table\n" + 9190 " ├─ name: comp_index_t2\n" + 9191 " └─ columns: [pk v1 v2 v3 v4]\n" + 9192 "", 9193 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9194 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9195 " ├─ filters: [{(NULL, 23), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(23, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9196 " └─ columns: [pk v1 v2 v3 v4]\n" + 9197 "", 9198 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9199 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9200 " ├─ filters: [{(NULL, 23), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(23, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9201 " └─ columns: [pk v1 v2 v3 v4]\n" + 9202 "", 9203 }, 9204 { 9205 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<20 AND v2<>84 AND v3<25 AND v4>=93) OR (v1<13));`, 9206 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9207 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9208 " ├─ static: [{(NULL, 13), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[13, 20), (NULL, 84), (NULL, 25), [93, ∞)}, {[13, 20), (84, ∞), (NULL, 25), [93, ∞)}]\n" + 9209 " ├─ colSet: (1-5)\n" + 9210 " ├─ tableId: 1\n" + 9211 " └─ Table\n" + 9212 " ├─ name: comp_index_t2\n" + 9213 " └─ columns: [pk v1 v2 v3 v4]\n" + 9214 "", 9215 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9216 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9217 " ├─ filters: [{(NULL, 13), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[13, 20), (NULL, 84), (NULL, 25), [93, ∞)}, {[13, 20), (84, ∞), (NULL, 25), [93, ∞)}]\n" + 9218 " └─ columns: [pk v1 v2 v3 v4]\n" + 9219 "", 9220 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9221 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9222 " ├─ filters: [{(NULL, 13), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[13, 20), (NULL, 84), (NULL, 25), [93, ∞)}, {[13, 20), (84, ∞), (NULL, 25), [93, ∞)}]\n" + 9223 " └─ columns: [pk v1 v2 v3 v4]\n" + 9224 "", 9225 }, 9226 { 9227 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=81 AND v2 BETWEEN 55 AND 77 AND v3=64) OR (v1=20 AND v2=21));`, 9228 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9229 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9230 " ├─ static: [{[20, 20], [21, 21], [NULL, ∞), [NULL, ∞)}, {[81, ∞), [55, 77], [64, 64], [NULL, ∞)}]\n" + 9231 " ├─ colSet: (1-5)\n" + 9232 " ├─ tableId: 1\n" + 9233 " └─ Table\n" + 9234 " ├─ name: comp_index_t2\n" + 9235 " └─ columns: [pk v1 v2 v3 v4]\n" + 9236 "", 9237 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9238 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9239 " ├─ filters: [{[20, 20], [21, 21], [NULL, ∞), [NULL, ∞)}, {[81, ∞), [55, 77], [64, 64], [NULL, ∞)}]\n" + 9240 " └─ columns: [pk v1 v2 v3 v4]\n" + 9241 "", 9242 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9243 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9244 " ├─ filters: [{[20, 20], [21, 21], [NULL, ∞), [NULL, ∞)}, {[81, ∞), [55, 77], [64, 64], [NULL, ∞)}]\n" + 9245 " └─ columns: [pk v1 v2 v3 v4]\n" + 9246 "", 9247 }, 9248 { 9249 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>30 AND v2 BETWEEN 58 AND 72 AND v3<=35) OR (v1 BETWEEN 28 AND 28 AND v2>=76)) OR (v1=74 AND v2<26));`, 9250 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9251 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9252 " ├─ static: [{[28, 28], [76, ∞), [NULL, ∞), [NULL, ∞)}, {(30, ∞), [58, 72], (NULL, 35], [NULL, ∞)}, {[74, 74], (NULL, 26), [NULL, ∞), [NULL, ∞)}]\n" + 9253 " ├─ colSet: (1-5)\n" + 9254 " ├─ tableId: 1\n" + 9255 " └─ Table\n" + 9256 " ├─ name: comp_index_t2\n" + 9257 " └─ columns: [pk v1 v2 v3 v4]\n" + 9258 "", 9259 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9260 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9261 " ├─ filters: [{[28, 28], [76, ∞), [NULL, ∞), [NULL, ∞)}, {(30, ∞), [58, 72], (NULL, 35], [NULL, ∞)}, {[74, 74], (NULL, 26), [NULL, ∞), [NULL, ∞)}]\n" + 9262 " └─ columns: [pk v1 v2 v3 v4]\n" + 9263 "", 9264 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9265 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9266 " ├─ filters: [{[28, 28], [76, ∞), [NULL, ∞), [NULL, ∞)}, {(30, ∞), [58, 72], (NULL, 35], [NULL, ∞)}, {[74, 74], (NULL, 26), [NULL, ∞), [NULL, ∞)}]\n" + 9267 " └─ columns: [pk v1 v2 v3 v4]\n" + 9268 "", 9269 }, 9270 { 9271 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>5 AND v2>8) OR (v1>78 AND v2<=39 AND v3>=41 AND v4<=35)) AND (v1<=11 AND v2<35 AND v3<=10 AND v4<76) OR (v1>=22)) OR (v1=1 AND v4<>29 AND v2 BETWEEN 64 AND 81 AND v3>46));`, 9272 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9273 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9274 " ├─ static: [{[1, 1], [64, 81], (46, ∞), (NULL, 29)}, {[1, 1], [64, 81], (46, ∞), (29, ∞)}, {(5, 11], (8, 35), (NULL, 10], (NULL, 76)}, {[22, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9275 " ├─ colSet: (1-5)\n" + 9276 " ├─ tableId: 1\n" + 9277 " └─ Table\n" + 9278 " ├─ name: comp_index_t2\n" + 9279 " └─ columns: [pk v1 v2 v3 v4]\n" + 9280 "", 9281 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9282 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9283 " ├─ filters: [{[1, 1], [64, 81], (46, ∞), (NULL, 29)}, {[1, 1], [64, 81], (46, ∞), (29, ∞)}, {(5, 11], (8, 35), (NULL, 10], (NULL, 76)}, {[22, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9284 " └─ columns: [pk v1 v2 v3 v4]\n" + 9285 "", 9286 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9287 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9288 " ├─ filters: [{[1, 1], [64, 81], (46, ∞), (NULL, 29)}, {[1, 1], [64, 81], (46, ∞), (29, ∞)}, {(5, 11], (8, 35), (NULL, 10], (NULL, 76)}, {[22, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9289 " └─ columns: [pk v1 v2 v3 v4]\n" + 9290 "", 9291 }, 9292 { 9293 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=49) OR (v1<43 AND v2>=34));`, 9294 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9295 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9296 " ├─ static: [{(NULL, 43), [34, ∞), [NULL, ∞), [NULL, ∞)}, {[49, 49], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9297 " ├─ colSet: (1-5)\n" + 9298 " ├─ tableId: 1\n" + 9299 " └─ Table\n" + 9300 " ├─ name: comp_index_t2\n" + 9301 " └─ columns: [pk v1 v2 v3 v4]\n" + 9302 "", 9303 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9304 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9305 " ├─ filters: [{(NULL, 43), [34, ∞), [NULL, ∞), [NULL, ∞)}, {[49, 49], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9306 " └─ columns: [pk v1 v2 v3 v4]\n" + 9307 "", 9308 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9309 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9310 " ├─ filters: [{(NULL, 43), [34, ∞), [NULL, ∞), [NULL, ∞)}, {[49, 49], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9311 " └─ columns: [pk v1 v2 v3 v4]\n" + 9312 "", 9313 }, 9314 { 9315 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>=72) OR (v1<>17)) OR (v1=47 AND v2<>1 AND v3 BETWEEN 75 AND 78 AND v4 BETWEEN 10 AND 44)) OR (v1>=64 AND v2>=74 AND v3=10 AND v4 BETWEEN 11 AND 93));`, 9316 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9317 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9318 " ├─ static: [{(NULL, 17), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(17, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9319 " ├─ colSet: (1-5)\n" + 9320 " ├─ tableId: 1\n" + 9321 " └─ Table\n" + 9322 " ├─ name: comp_index_t2\n" + 9323 " └─ columns: [pk v1 v2 v3 v4]\n" + 9324 "", 9325 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9326 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9327 " ├─ filters: [{(NULL, 17), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(17, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9328 " └─ columns: [pk v1 v2 v3 v4]\n" + 9329 "", 9330 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9331 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9332 " ├─ filters: [{(NULL, 17), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(17, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9333 " └─ columns: [pk v1 v2 v3 v4]\n" + 9334 "", 9335 }, 9336 { 9337 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<2 AND v2<>94) OR (v1<>76 AND v2=27 AND v3<=31 AND v4<38));`, 9338 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9339 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9340 " ├─ static: [{(NULL, 2), (NULL, 94), [NULL, ∞), [NULL, ∞)}, {(NULL, 2), (94, ∞), [NULL, ∞), [NULL, ∞)}, {[2, 76), [27, 27], (NULL, 31], (NULL, 38)}, {(76, ∞), [27, 27], (NULL, 31], (NULL, 38)}]\n" + 9341 " ├─ colSet: (1-5)\n" + 9342 " ├─ tableId: 1\n" + 9343 " └─ Table\n" + 9344 " ├─ name: comp_index_t2\n" + 9345 " └─ columns: [pk v1 v2 v3 v4]\n" + 9346 "", 9347 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9348 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9349 " ├─ filters: [{(NULL, 2), (NULL, 94), [NULL, ∞), [NULL, ∞)}, {(NULL, 2), (94, ∞), [NULL, ∞), [NULL, ∞)}, {[2, 76), [27, 27], (NULL, 31], (NULL, 38)}, {(76, ∞), [27, 27], (NULL, 31], (NULL, 38)}]\n" + 9350 " └─ columns: [pk v1 v2 v3 v4]\n" + 9351 "", 9352 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9353 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9354 " ├─ filters: [{(NULL, 2), (NULL, 94), [NULL, ∞), [NULL, ∞)}, {(NULL, 2), (94, ∞), [NULL, ∞), [NULL, ∞)}, {[2, 76), [27, 27], (NULL, 31], (NULL, 38)}, {(76, ∞), [27, 27], (NULL, 31], (NULL, 38)}]\n" + 9355 " └─ columns: [pk v1 v2 v3 v4]\n" + 9356 "", 9357 }, 9358 { 9359 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<>11 AND v2>47 AND v3>=67 AND v4=29) OR (v1>=59 AND v3 BETWEEN 4 AND 29 AND v4>=65 AND v2<>96)) OR (v1<=62)) OR (v1<61 AND v2<>28 AND v3<>8 AND v4<>30));`, 9360 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9361 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9362 " ├─ static: [{(NULL, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(62, ∞), (NULL, 96), [4, 29], [65, ∞)}, {(62, ∞), (47, ∞), [67, ∞), [29, 29]}, {(62, ∞), (96, ∞), [4, 29], [65, ∞)}]\n" + 9363 " ├─ colSet: (1-5)\n" + 9364 " ├─ tableId: 1\n" + 9365 " └─ Table\n" + 9366 " ├─ name: comp_index_t2\n" + 9367 " └─ columns: [pk v1 v2 v3 v4]\n" + 9368 "", 9369 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9370 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9371 " ├─ filters: [{(NULL, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(62, ∞), (NULL, 96), [4, 29], [65, ∞)}, {(62, ∞), (47, ∞), [67, ∞), [29, 29]}, {(62, ∞), (96, ∞), [4, 29], [65, ∞)}]\n" + 9372 " └─ columns: [pk v1 v2 v3 v4]\n" + 9373 "", 9374 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9375 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9376 " ├─ filters: [{(NULL, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(62, ∞), (NULL, 96), [4, 29], [65, ∞)}, {(62, ∞), (47, ∞), [67, ∞), [29, 29]}, {(62, ∞), (96, ∞), [4, 29], [65, ∞)}]\n" + 9377 " └─ columns: [pk v1 v2 v3 v4]\n" + 9378 "", 9379 }, 9380 { 9381 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 36 AND 72) OR (v1<>48 AND v4>91 AND v2<5 AND v3>=38)) OR (v1<>17 AND v3=50));`, 9382 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9383 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9384 " ├─ static: [{(NULL, 17), [NULL, ∞), [50, 50], [NULL, ∞)}, {(NULL, 17), (NULL, 5), [38, 50), (91, ∞)}, {(NULL, 17), (NULL, 5), (50, ∞), (91, ∞)}, {[17, 17], (NULL, 5), [38, ∞), (91, ∞)}, {(17, 36), [NULL, ∞), [50, 50], [NULL, ∞)}, {(17, 36), (NULL, 5), [38, 50), (91, ∞)}, {(17, 36), (NULL, 5), (50, ∞), (91, ∞)}, {[36, 72], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(72, ∞), [NULL, ∞), [50, 50], [NULL, ∞)}, {(72, ∞), (NULL, 5), [38, 50), (91, ∞)}, {(72, ∞), (NULL, 5), (50, ∞), (91, ∞)}]\n" + 9385 " ├─ colSet: (1-5)\n" + 9386 " ├─ tableId: 1\n" + 9387 " └─ Table\n" + 9388 " ├─ name: comp_index_t2\n" + 9389 " └─ columns: [pk v1 v2 v3 v4]\n" + 9390 "", 9391 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9392 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9393 " ├─ filters: [{(NULL, 17), [NULL, ∞), [50, 50], [NULL, ∞)}, {(NULL, 17), (NULL, 5), [38, 50), (91, ∞)}, {(NULL, 17), (NULL, 5), (50, ∞), (91, ∞)}, {[17, 17], (NULL, 5), [38, ∞), (91, ∞)}, {(17, 36), [NULL, ∞), [50, 50], [NULL, ∞)}, {(17, 36), (NULL, 5), [38, 50), (91, ∞)}, {(17, 36), (NULL, 5), (50, ∞), (91, ∞)}, {[36, 72], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(72, ∞), [NULL, ∞), [50, 50], [NULL, ∞)}, {(72, ∞), (NULL, 5), [38, 50), (91, ∞)}, {(72, ∞), (NULL, 5), (50, ∞), (91, ∞)}]\n" + 9394 " └─ columns: [pk v1 v2 v3 v4]\n" + 9395 "", 9396 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9397 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9398 " ├─ filters: [{(NULL, 17), [NULL, ∞), [50, 50], [NULL, ∞)}, {(NULL, 17), (NULL, 5), [38, 50), (91, ∞)}, {(NULL, 17), (NULL, 5), (50, ∞), (91, ∞)}, {[17, 17], (NULL, 5), [38, ∞), (91, ∞)}, {(17, 36), [NULL, ∞), [50, 50], [NULL, ∞)}, {(17, 36), (NULL, 5), [38, 50), (91, ∞)}, {(17, 36), (NULL, 5), (50, ∞), (91, ∞)}, {[36, 72], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(72, ∞), [NULL, ∞), [50, 50], [NULL, ∞)}, {(72, ∞), (NULL, 5), [38, 50), (91, ∞)}, {(72, ∞), (NULL, 5), (50, ∞), (91, ∞)}]\n" + 9399 " └─ columns: [pk v1 v2 v3 v4]\n" + 9400 "", 9401 }, 9402 { 9403 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<86) OR (v1<=5 AND v2<25 AND v3<>24)) OR (v1<32 AND v3 BETWEEN 51 AND 54 AND v4<=70));`, 9404 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9405 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9406 " ├─ static: [{(NULL, 86), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9407 " ├─ colSet: (1-5)\n" + 9408 " ├─ tableId: 1\n" + 9409 " └─ Table\n" + 9410 " ├─ name: comp_index_t2\n" + 9411 " └─ columns: [pk v1 v2 v3 v4]\n" + 9412 "", 9413 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9414 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9415 " ├─ filters: [{(NULL, 86), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9416 " └─ columns: [pk v1 v2 v3 v4]\n" + 9417 "", 9418 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9419 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9420 " ├─ filters: [{(NULL, 86), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9421 " └─ columns: [pk v1 v2 v3 v4]\n" + 9422 "", 9423 }, 9424 { 9425 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<=6) OR (v1 BETWEEN 24 AND 89)) OR (v1<87 AND v2=35 AND v3=19)) AND (v1>94 AND v2=33 AND v3>28) OR (v1 BETWEEN 36 AND 40));`, 9426 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9427 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9428 " ├─ static: [{[36, 40], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9429 " ├─ colSet: (1-5)\n" + 9430 " ├─ tableId: 1\n" + 9431 " └─ Table\n" + 9432 " ├─ name: comp_index_t2\n" + 9433 " └─ columns: [pk v1 v2 v3 v4]\n" + 9434 "", 9435 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9436 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9437 " ├─ filters: [{[36, 40], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9438 " └─ columns: [pk v1 v2 v3 v4]\n" + 9439 "", 9440 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9441 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9442 " ├─ filters: [{[36, 40], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9443 " └─ columns: [pk v1 v2 v3 v4]\n" + 9444 "", 9445 }, 9446 { 9447 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=24 AND v2=61 AND v3<49 AND v4<82) OR (v1<4 AND v2>51 AND v3=9));`, 9448 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9449 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9450 " ├─ static: [{(NULL, 4), (51, ∞), [9, 9], [NULL, ∞)}, {[24, ∞), [61, 61], (NULL, 49), (NULL, 82)}]\n" + 9451 " ├─ colSet: (1-5)\n" + 9452 " ├─ tableId: 1\n" + 9453 " └─ Table\n" + 9454 " ├─ name: comp_index_t2\n" + 9455 " └─ columns: [pk v1 v2 v3 v4]\n" + 9456 "", 9457 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9458 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9459 " ├─ filters: [{(NULL, 4), (51, ∞), [9, 9], [NULL, ∞)}, {[24, ∞), [61, 61], (NULL, 49), (NULL, 82)}]\n" + 9460 " └─ columns: [pk v1 v2 v3 v4]\n" + 9461 "", 9462 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9463 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9464 " ├─ filters: [{(NULL, 4), (51, ∞), [9, 9], [NULL, ∞)}, {[24, ∞), [61, 61], (NULL, 49), (NULL, 82)}]\n" + 9465 " └─ columns: [pk v1 v2 v3 v4]\n" + 9466 "", 9467 }, 9468 { 9469 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 0 AND 87 AND v2>=44 AND v3<>68 AND v4=50) OR (v1<1 AND v4<66 AND v2<11 AND v3<>44));`, 9470 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9471 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9472 " ├─ static: [{(NULL, 1), (NULL, 11), (NULL, 44), (NULL, 66)}, {(NULL, 1), (NULL, 11), (44, ∞), (NULL, 66)}, {[0, 87], [44, ∞), (NULL, 68), [50, 50]}, {[0, 87], [44, ∞), (68, ∞), [50, 50]}]\n" + 9473 " ├─ colSet: (1-5)\n" + 9474 " ├─ tableId: 1\n" + 9475 " └─ Table\n" + 9476 " ├─ name: comp_index_t2\n" + 9477 " └─ columns: [pk v1 v2 v3 v4]\n" + 9478 "", 9479 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9480 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9481 " ├─ filters: [{(NULL, 1), (NULL, 11), (NULL, 44), (NULL, 66)}, {(NULL, 1), (NULL, 11), (44, ∞), (NULL, 66)}, {[0, 87], [44, ∞), (NULL, 68), [50, 50]}, {[0, 87], [44, ∞), (68, ∞), [50, 50]}]\n" + 9482 " └─ columns: [pk v1 v2 v3 v4]\n" + 9483 "", 9484 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9485 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9486 " ├─ filters: [{(NULL, 1), (NULL, 11), (NULL, 44), (NULL, 66)}, {(NULL, 1), (NULL, 11), (44, ∞), (NULL, 66)}, {[0, 87], [44, ∞), (NULL, 68), [50, 50]}, {[0, 87], [44, ∞), (68, ∞), [50, 50]}]\n" + 9487 " └─ columns: [pk v1 v2 v3 v4]\n" + 9488 "", 9489 }, 9490 { 9491 Query: `SELECT * FROM comp_index_t2 WHERE (v1<17 AND v2<54) AND (v1>=70 AND v2 BETWEEN 53 AND 53 AND v3>10 AND v4=17);`, 9492 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9493 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9494 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 9495 " ├─ colSet: (1-5)\n" + 9496 " ├─ tableId: 1\n" + 9497 " └─ Table\n" + 9498 " ├─ name: comp_index_t2\n" + 9499 " └─ columns: [pk v1 v2 v3 v4]\n" + 9500 "", 9501 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9502 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9503 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 9504 " └─ columns: [pk v1 v2 v3 v4]\n" + 9505 "", 9506 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9507 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9508 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 9509 " └─ columns: [pk v1 v2 v3 v4]\n" + 9510 "", 9511 }, 9512 { 9513 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1=21 AND v2>25 AND v3>=7) OR (v1 BETWEEN 23 AND 88 AND v2<=26 AND v3>=87 AND v4 BETWEEN 42 AND 95)) OR (v1<4 AND v2>=66 AND v3<=24 AND v4=10)) OR (v1>69));`, 9514 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9515 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9516 " ├─ static: [{(NULL, 4), [66, ∞), (NULL, 24], [10, 10]}, {[21, 21], (25, ∞), [7, ∞), [NULL, ∞)}, {[23, 69], (NULL, 26], [87, ∞), [42, 95]}, {(69, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9517 " ├─ colSet: (1-5)\n" + 9518 " ├─ tableId: 1\n" + 9519 " └─ Table\n" + 9520 " ├─ name: comp_index_t2\n" + 9521 " └─ columns: [pk v1 v2 v3 v4]\n" + 9522 "", 9523 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9524 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9525 " ├─ filters: [{(NULL, 4), [66, ∞), (NULL, 24], [10, 10]}, {[21, 21], (25, ∞), [7, ∞), [NULL, ∞)}, {[23, 69], (NULL, 26], [87, ∞), [42, 95]}, {(69, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9526 " └─ columns: [pk v1 v2 v3 v4]\n" + 9527 "", 9528 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9529 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9530 " ├─ filters: [{(NULL, 4), [66, ∞), (NULL, 24], [10, 10]}, {[21, 21], (25, ∞), [7, ∞), [NULL, ∞)}, {[23, 69], (NULL, 26], [87, ∞), [42, 95]}, {(69, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9531 " └─ columns: [pk v1 v2 v3 v4]\n" + 9532 "", 9533 }, 9534 { 9535 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 0 AND 39) OR (v1<18 AND v4>=90));`, 9536 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9537 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9538 " ├─ static: [{(NULL, 0), [NULL, ∞), [NULL, ∞), [90, ∞)}, {[0, 39], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9539 " ├─ colSet: (1-5)\n" + 9540 " ├─ tableId: 1\n" + 9541 " └─ Table\n" + 9542 " ├─ name: comp_index_t2\n" + 9543 " └─ columns: [pk v1 v2 v3 v4]\n" + 9544 "", 9545 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9546 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9547 " ├─ filters: [{(NULL, 0), [NULL, ∞), [NULL, ∞), [90, ∞)}, {[0, 39], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9548 " └─ columns: [pk v1 v2 v3 v4]\n" + 9549 "", 9550 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9551 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9552 " ├─ filters: [{(NULL, 0), [NULL, ∞), [NULL, ∞), [90, ∞)}, {[0, 39], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9553 " └─ columns: [pk v1 v2 v3 v4]\n" + 9554 "", 9555 }, 9556 { 9557 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<99 AND v2>1 AND v3<=56) OR (v1>36 AND v2=53 AND v3>17)) OR (v1<>71)) AND (v1 BETWEEN 2 AND 86 AND v2<>78 AND v3<>29 AND v4<>63);`, 9558 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9559 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9560 " ├─ static: [{[2, 71), (NULL, 78), (NULL, 29), (NULL, 63)}, {[2, 71), (NULL, 78), (NULL, 29), (63, ∞)}, {[2, 71), (NULL, 78), (29, ∞), (NULL, 63)}, {[2, 71), (NULL, 78), (29, ∞), (63, ∞)}, {[2, 71), (78, ∞), (29, ∞), (NULL, 63)}, {[2, 71), (78, ∞), (29, ∞), (63, ∞)}, {[2, 86], (78, ∞), (NULL, 29), (NULL, 63)}, {[2, 86], (78, ∞), (NULL, 29), (63, ∞)}, {[71, 71], (1, 53), (29, 56], (NULL, 63)}, {[71, 71], (1, 53), (29, 56], (63, ∞)}, {[71, 71], (1, 78), (NULL, 29), (NULL, 63)}, {[71, 71], (1, 78), (NULL, 29), (63, ∞)}, {[71, 71], [53, 53], (29, ∞), (NULL, 63)}, {[71, 71], [53, 53], (29, ∞), (63, ∞)}, {[71, 71], (53, 78), (29, 56], (NULL, 63)}, {[71, 71], (53, 78), (29, 56], (63, ∞)}, {[71, 71], (78, ∞), (29, 56], (NULL, 63)}, {[71, 71], (78, ∞), (29, 56], (63, ∞)}, {(71, 86], (NULL, 78), (NULL, 29), (NULL, 63)}, {(71, 86], (NULL, 78), (NULL, 29), (63, ∞)}, {(71, 86], (NULL, 78), (29, ∞), (NULL, 63)}, {(71, 86], (NULL, 78), (29, ∞), (63, ∞)}, {(71, 86], (78, ∞), (29, ∞), (NULL, 63)}, {(71, 86], (78, ∞), (29, ∞), (63, ∞)}]\n" + 9561 " ├─ colSet: (1-5)\n" + 9562 " ├─ tableId: 1\n" + 9563 " └─ Table\n" + 9564 " ├─ name: comp_index_t2\n" + 9565 " └─ columns: [pk v1 v2 v3 v4]\n" + 9566 "", 9567 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9568 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9569 " ├─ filters: [{[2, 71), (NULL, 78), (NULL, 29), (NULL, 63)}, {[2, 71), (NULL, 78), (NULL, 29), (63, ∞)}, {[2, 71), (NULL, 78), (29, ∞), (NULL, 63)}, {[2, 71), (NULL, 78), (29, ∞), (63, ∞)}, {[2, 71), (78, ∞), (29, ∞), (NULL, 63)}, {[2, 71), (78, ∞), (29, ∞), (63, ∞)}, {[2, 86], (78, ∞), (NULL, 29), (NULL, 63)}, {[2, 86], (78, ∞), (NULL, 29), (63, ∞)}, {[71, 71], (1, 53), (29, 56], (NULL, 63)}, {[71, 71], (1, 53), (29, 56], (63, ∞)}, {[71, 71], (1, 78), (NULL, 29), (NULL, 63)}, {[71, 71], (1, 78), (NULL, 29), (63, ∞)}, {[71, 71], [53, 53], (29, ∞), (NULL, 63)}, {[71, 71], [53, 53], (29, ∞), (63, ∞)}, {[71, 71], (53, 78), (29, 56], (NULL, 63)}, {[71, 71], (53, 78), (29, 56], (63, ∞)}, {[71, 71], (78, ∞), (29, 56], (NULL, 63)}, {[71, 71], (78, ∞), (29, 56], (63, ∞)}, {(71, 86], (NULL, 78), (NULL, 29), (NULL, 63)}, {(71, 86], (NULL, 78), (NULL, 29), (63, ∞)}, {(71, 86], (NULL, 78), (29, ∞), (NULL, 63)}, {(71, 86], (NULL, 78), (29, ∞), (63, ∞)}, {(71, 86], (78, ∞), (29, ∞), (NULL, 63)}, {(71, 86], (78, ∞), (29, ∞), (63, ∞)}]\n" + 9570 " └─ columns: [pk v1 v2 v3 v4]\n" + 9571 "", 9572 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9573 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9574 " ├─ filters: [{[2, 71), (NULL, 78), (NULL, 29), (NULL, 63)}, {[2, 71), (NULL, 78), (NULL, 29), (63, ∞)}, {[2, 71), (NULL, 78), (29, ∞), (NULL, 63)}, {[2, 71), (NULL, 78), (29, ∞), (63, ∞)}, {[2, 71), (78, ∞), (29, ∞), (NULL, 63)}, {[2, 71), (78, ∞), (29, ∞), (63, ∞)}, {[2, 86], (78, ∞), (NULL, 29), (NULL, 63)}, {[2, 86], (78, ∞), (NULL, 29), (63, ∞)}, {[71, 71], (1, 53), (29, 56], (NULL, 63)}, {[71, 71], (1, 53), (29, 56], (63, ∞)}, {[71, 71], (1, 78), (NULL, 29), (NULL, 63)}, {[71, 71], (1, 78), (NULL, 29), (63, ∞)}, {[71, 71], [53, 53], (29, ∞), (NULL, 63)}, {[71, 71], [53, 53], (29, ∞), (63, ∞)}, {[71, 71], (53, 78), (29, 56], (NULL, 63)}, {[71, 71], (53, 78), (29, 56], (63, ∞)}, {[71, 71], (78, ∞), (29, 56], (NULL, 63)}, {[71, 71], (78, ∞), (29, 56], (63, ∞)}, {(71, 86], (NULL, 78), (NULL, 29), (NULL, 63)}, {(71, 86], (NULL, 78), (NULL, 29), (63, ∞)}, {(71, 86], (NULL, 78), (29, ∞), (NULL, 63)}, {(71, 86], (NULL, 78), (29, ∞), (63, ∞)}, {(71, 86], (78, ∞), (29, ∞), (NULL, 63)}, {(71, 86], (78, ∞), (29, ∞), (63, ∞)}]\n" + 9575 " └─ columns: [pk v1 v2 v3 v4]\n" + 9576 "", 9577 }, 9578 { 9579 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=5) OR (v1=53));`, 9580 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9581 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9582 " ├─ static: [{(NULL, 5], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[53, 53], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9583 " ├─ colSet: (1-5)\n" + 9584 " ├─ tableId: 1\n" + 9585 " └─ Table\n" + 9586 " ├─ name: comp_index_t2\n" + 9587 " └─ columns: [pk v1 v2 v3 v4]\n" + 9588 "", 9589 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9590 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9591 " ├─ filters: [{(NULL, 5], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[53, 53], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9592 " └─ columns: [pk v1 v2 v3 v4]\n" + 9593 "", 9594 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9595 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9596 " ├─ filters: [{(NULL, 5], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[53, 53], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9597 " └─ columns: [pk v1 v2 v3 v4]\n" + 9598 "", 9599 }, 9600 { 9601 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<>12 AND v2 BETWEEN 27 AND 46 AND v3 BETWEEN 19 AND 27 AND v4>=50) OR (v1 BETWEEN 17 AND 88)) OR (v1<=36 AND v2<=37 AND v3<64)) OR (v1<>82 AND v2>84 AND v3>=90)) AND (v1>34 AND v3>4);`, 9602 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9603 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9604 " ├─ static: [{(34, 88], [NULL, ∞), (4, ∞), [NULL, ∞)}, {(88, ∞), [27, 46], [19, 27], [50, ∞)}, {(88, ∞), (84, ∞), [90, ∞), [NULL, ∞)}]\n" + 9605 " ├─ colSet: (1-5)\n" + 9606 " ├─ tableId: 1\n" + 9607 " └─ Table\n" + 9608 " ├─ name: comp_index_t2\n" + 9609 " └─ columns: [pk v1 v2 v3 v4]\n" + 9610 "", 9611 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9612 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9613 " ├─ filters: [{(34, 88], [NULL, ∞), (4, ∞), [NULL, ∞)}, {(88, ∞), [27, 46], [19, 27], [50, ∞)}, {(88, ∞), (84, ∞), [90, ∞), [NULL, ∞)}]\n" + 9614 " └─ columns: [pk v1 v2 v3 v4]\n" + 9615 "", 9616 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9617 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9618 " ├─ filters: [{(34, 88], [NULL, ∞), (4, ∞), [NULL, ∞)}, {(88, ∞), [27, 46], [19, 27], [50, ∞)}, {(88, ∞), (84, ∞), [90, ∞), [NULL, ∞)}]\n" + 9619 " └─ columns: [pk v1 v2 v3 v4]\n" + 9620 "", 9621 }, 9622 { 9623 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=82) OR (v1<=95 AND v2<>23 AND v3<18 AND v4<>50));`, 9624 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9625 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9626 " ├─ static: [{(NULL, 82), (NULL, 23), (NULL, 18), (NULL, 50)}, {(NULL, 82), (NULL, 23), (NULL, 18), (50, ∞)}, {(NULL, 82), (23, ∞), (NULL, 18), (NULL, 50)}, {(NULL, 82), (23, ∞), (NULL, 18), (50, ∞)}, {[82, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9627 " ├─ colSet: (1-5)\n" + 9628 " ├─ tableId: 1\n" + 9629 " └─ Table\n" + 9630 " ├─ name: comp_index_t2\n" + 9631 " └─ columns: [pk v1 v2 v3 v4]\n" + 9632 "", 9633 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9634 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9635 " ├─ filters: [{(NULL, 82), (NULL, 23), (NULL, 18), (NULL, 50)}, {(NULL, 82), (NULL, 23), (NULL, 18), (50, ∞)}, {(NULL, 82), (23, ∞), (NULL, 18), (NULL, 50)}, {(NULL, 82), (23, ∞), (NULL, 18), (50, ∞)}, {[82, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9636 " └─ columns: [pk v1 v2 v3 v4]\n" + 9637 "", 9638 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9639 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9640 " ├─ filters: [{(NULL, 82), (NULL, 23), (NULL, 18), (NULL, 50)}, {(NULL, 82), (NULL, 23), (NULL, 18), (50, ∞)}, {(NULL, 82), (23, ∞), (NULL, 18), (NULL, 50)}, {(NULL, 82), (23, ∞), (NULL, 18), (50, ∞)}, {[82, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9641 " └─ columns: [pk v1 v2 v3 v4]\n" + 9642 "", 9643 }, 9644 { 9645 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=51) AND (v1=55 AND v2>=59 AND v3>=49) OR (v1>5 AND v2<34));`, 9646 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9647 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9648 " ├─ static: [{(5, ∞), (NULL, 34), [NULL, ∞), [NULL, ∞)}]\n" + 9649 " ├─ colSet: (1-5)\n" + 9650 " ├─ tableId: 1\n" + 9651 " └─ Table\n" + 9652 " ├─ name: comp_index_t2\n" + 9653 " └─ columns: [pk v1 v2 v3 v4]\n" + 9654 "", 9655 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9656 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9657 " ├─ filters: [{(5, ∞), (NULL, 34), [NULL, ∞), [NULL, ∞)}]\n" + 9658 " └─ columns: [pk v1 v2 v3 v4]\n" + 9659 "", 9660 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9661 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9662 " ├─ filters: [{(5, ∞), (NULL, 34), [NULL, ∞), [NULL, ∞)}]\n" + 9663 " └─ columns: [pk v1 v2 v3 v4]\n" + 9664 "", 9665 }, 9666 { 9667 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>4 AND v2<=21 AND v3>=15) OR (v1=93 AND v2>=1 AND v3<>63)) OR (v1 BETWEEN 24 AND 86 AND v3<=5));`, 9668 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9669 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9670 " ├─ static: [{(4, 93), (NULL, 21], [15, ∞), [NULL, ∞)}, {[24, 86], [NULL, ∞), (NULL, 5], [NULL, ∞)}, {[93, 93], (NULL, 1), [15, ∞), [NULL, ∞)}, {[93, 93], [1, 21], (NULL, ∞), [NULL, ∞)}, {[93, 93], (21, ∞), (NULL, 63), [NULL, ∞)}, {[93, 93], (21, ∞), (63, ∞), [NULL, ∞)}, {(93, ∞), (NULL, 21], [15, ∞), [NULL, ∞)}]\n" + 9671 " ├─ colSet: (1-5)\n" + 9672 " ├─ tableId: 1\n" + 9673 " └─ Table\n" + 9674 " ├─ name: comp_index_t2\n" + 9675 " └─ columns: [pk v1 v2 v3 v4]\n" + 9676 "", 9677 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9678 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9679 " ├─ filters: [{(4, 93), (NULL, 21], [15, ∞), [NULL, ∞)}, {[24, 86], [NULL, ∞), (NULL, 5], [NULL, ∞)}, {[93, 93], (NULL, 1), [15, ∞), [NULL, ∞)}, {[93, 93], [1, 21], (NULL, ∞), [NULL, ∞)}, {[93, 93], (21, ∞), (NULL, 63), [NULL, ∞)}, {[93, 93], (21, ∞), (63, ∞), [NULL, ∞)}, {(93, ∞), (NULL, 21], [15, ∞), [NULL, ∞)}]\n" + 9680 " └─ columns: [pk v1 v2 v3 v4]\n" + 9681 "", 9682 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9683 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9684 " ├─ filters: [{(4, 93), (NULL, 21], [15, ∞), [NULL, ∞)}, {[24, 86], [NULL, ∞), (NULL, 5], [NULL, ∞)}, {[93, 93], (NULL, 1), [15, ∞), [NULL, ∞)}, {[93, 93], [1, 21], (NULL, ∞), [NULL, ∞)}, {[93, 93], (21, ∞), (NULL, 63), [NULL, ∞)}, {[93, 93], (21, ∞), (63, ∞), [NULL, ∞)}, {(93, ∞), (NULL, 21], [15, ∞), [NULL, ∞)}]\n" + 9685 " └─ columns: [pk v1 v2 v3 v4]\n" + 9686 "", 9687 }, 9688 { 9689 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<63 AND v2<>32 AND v3>=14) OR (v1=18 AND v3 BETWEEN 4 AND 42 AND v4>10)) OR (v1<23 AND v2>=21));`, 9690 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9691 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9692 " ├─ static: [{(NULL, 23), (NULL, 21), [14, ∞), [NULL, ∞)}, {(NULL, 23), [21, ∞), [NULL, ∞), [NULL, ∞)}, {[18, 18], [NULL, NULL], [4, 42], (10, ∞)}, {[18, 18], (NULL, 21), [4, 14), (10, ∞)}, {[23, 63), (NULL, 32), [14, ∞), [NULL, ∞)}, {[23, 63), (32, ∞), [14, ∞), [NULL, ∞)}]\n" + 9693 " ├─ colSet: (1-5)\n" + 9694 " ├─ tableId: 1\n" + 9695 " └─ Table\n" + 9696 " ├─ name: comp_index_t2\n" + 9697 " └─ columns: [pk v1 v2 v3 v4]\n" + 9698 "", 9699 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9700 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9701 " ├─ filters: [{(NULL, 23), (NULL, 21), [14, ∞), [NULL, ∞)}, {(NULL, 23), [21, ∞), [NULL, ∞), [NULL, ∞)}, {[18, 18], [NULL, NULL], [4, 42], (10, ∞)}, {[18, 18], (NULL, 21), [4, 14), (10, ∞)}, {[23, 63), (NULL, 32), [14, ∞), [NULL, ∞)}, {[23, 63), (32, ∞), [14, ∞), [NULL, ∞)}]\n" + 9702 " └─ columns: [pk v1 v2 v3 v4]\n" + 9703 "", 9704 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9705 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9706 " ├─ filters: [{(NULL, 23), (NULL, 21), [14, ∞), [NULL, ∞)}, {(NULL, 23), [21, ∞), [NULL, ∞), [NULL, ∞)}, {[18, 18], [NULL, NULL], [4, 42], (10, ∞)}, {[18, 18], (NULL, 21), [4, 14), (10, ∞)}, {[23, 63), (NULL, 32), [14, ∞), [NULL, ∞)}, {[23, 63), (32, ∞), [14, ∞), [NULL, ∞)}]\n" + 9707 " └─ columns: [pk v1 v2 v3 v4]\n" + 9708 "", 9709 }, 9710 { 9711 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>34 AND v3 BETWEEN 27 AND 48 AND v4<=11 AND v2>42) AND (v1<>47 AND v2<48 AND v3<=47 AND v4<>12) OR (v1<=36 AND v2<>17));`, 9712 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9713 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9714 " ├─ static: [{(NULL, 36], (NULL, 17), [NULL, ∞), [NULL, ∞)}, {(NULL, 36], (17, ∞), [NULL, ∞), [NULL, ∞)}, {(36, 47), (42, 48), [27, 47], (NULL, 11]}, {(47, ∞), (42, 48), [27, 47], (NULL, 11]}]\n" + 9715 " ├─ colSet: (1-5)\n" + 9716 " ├─ tableId: 1\n" + 9717 " └─ Table\n" + 9718 " ├─ name: comp_index_t2\n" + 9719 " └─ columns: [pk v1 v2 v3 v4]\n" + 9720 "", 9721 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9722 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9723 " ├─ filters: [{(NULL, 36], (NULL, 17), [NULL, ∞), [NULL, ∞)}, {(NULL, 36], (17, ∞), [NULL, ∞), [NULL, ∞)}, {(36, 47), (42, 48), [27, 47], (NULL, 11]}, {(47, ∞), (42, 48), [27, 47], (NULL, 11]}]\n" + 9724 " └─ columns: [pk v1 v2 v3 v4]\n" + 9725 "", 9726 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9727 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9728 " ├─ filters: [{(NULL, 36], (NULL, 17), [NULL, ∞), [NULL, ∞)}, {(NULL, 36], (17, ∞), [NULL, ∞), [NULL, ∞)}, {(36, 47), (42, 48), [27, 47], (NULL, 11]}, {(47, ∞), (42, 48), [27, 47], (NULL, 11]}]\n" + 9729 " └─ columns: [pk v1 v2 v3 v4]\n" + 9730 "", 9731 }, 9732 { 9733 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=34 AND v2<=80 AND v3<=27) AND (v1 BETWEEN 0 AND 33) OR (v1<=56 AND v2=50 AND v3 BETWEEN 0 AND 5 AND v4<>31));`, 9734 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9735 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9736 " ├─ static: [{(NULL, 56], [50, 50], [0, 5], (NULL, 31)}, {(NULL, 56], [50, 50], [0, 5], (31, ∞)}]\n" + 9737 " ├─ colSet: (1-5)\n" + 9738 " ├─ tableId: 1\n" + 9739 " └─ Table\n" + 9740 " ├─ name: comp_index_t2\n" + 9741 " └─ columns: [pk v1 v2 v3 v4]\n" + 9742 "", 9743 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9744 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9745 " ├─ filters: [{(NULL, 56], [50, 50], [0, 5], (NULL, 31)}, {(NULL, 56], [50, 50], [0, 5], (31, ∞)}]\n" + 9746 " └─ columns: [pk v1 v2 v3 v4]\n" + 9747 "", 9748 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9749 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9750 " ├─ filters: [{(NULL, 56], [50, 50], [0, 5], (NULL, 31)}, {(NULL, 56], [50, 50], [0, 5], (31, ∞)}]\n" + 9751 " └─ columns: [pk v1 v2 v3 v4]\n" + 9752 "", 9753 }, 9754 { 9755 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=93 AND v2<>5) OR (v1>=81 AND v4=9 AND v2>33 AND v3<99));`, 9756 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9757 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9758 " ├─ static: [{(NULL, 93], (NULL, 5), [NULL, ∞), [NULL, ∞)}, {(NULL, 93], (5, ∞), [NULL, ∞), [NULL, ∞)}, {(93, ∞), (33, ∞), (NULL, 99), [9, 9]}]\n" + 9759 " ├─ colSet: (1-5)\n" + 9760 " ├─ tableId: 1\n" + 9761 " └─ Table\n" + 9762 " ├─ name: comp_index_t2\n" + 9763 " └─ columns: [pk v1 v2 v3 v4]\n" + 9764 "", 9765 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9766 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9767 " ├─ filters: [{(NULL, 93], (NULL, 5), [NULL, ∞), [NULL, ∞)}, {(NULL, 93], (5, ∞), [NULL, ∞), [NULL, ∞)}, {(93, ∞), (33, ∞), (NULL, 99), [9, 9]}]\n" + 9768 " └─ columns: [pk v1 v2 v3 v4]\n" + 9769 "", 9770 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9771 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9772 " ├─ filters: [{(NULL, 93], (NULL, 5), [NULL, ∞), [NULL, ∞)}, {(NULL, 93], (5, ∞), [NULL, ∞), [NULL, ∞)}, {(93, ∞), (33, ∞), (NULL, 99), [9, 9]}]\n" + 9773 " └─ columns: [pk v1 v2 v3 v4]\n" + 9774 "", 9775 }, 9776 { 9777 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=37 AND v2=4 AND v3=3) AND (v1=12 AND v2>9 AND v3<89 AND v4<>12) OR (v1=1 AND v2=43 AND v3<=2));`, 9778 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9779 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9780 " ├─ static: [{[1, 1], [43, 43], (NULL, 2], [NULL, ∞)}]\n" + 9781 " ├─ colSet: (1-5)\n" + 9782 " ├─ tableId: 1\n" + 9783 " └─ Table\n" + 9784 " ├─ name: comp_index_t2\n" + 9785 " └─ columns: [pk v1 v2 v3 v4]\n" + 9786 "", 9787 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9788 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9789 " ├─ filters: [{[1, 1], [43, 43], (NULL, 2], [NULL, ∞)}]\n" + 9790 " └─ columns: [pk v1 v2 v3 v4]\n" + 9791 "", 9792 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9793 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9794 " ├─ filters: [{[1, 1], [43, 43], (NULL, 2], [NULL, ∞)}]\n" + 9795 " └─ columns: [pk v1 v2 v3 v4]\n" + 9796 "", 9797 }, 9798 { 9799 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=82) OR (v1<=4 AND v2>=51)) OR (v1=58 AND v4<86));`, 9800 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9801 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9802 " ├─ static: [{(NULL, 4], [51, ∞), [NULL, ∞), [NULL, ∞)}, {[58, 58], [NULL, ∞), [NULL, ∞), (NULL, 86)}, {[82, 82], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9803 " ├─ colSet: (1-5)\n" + 9804 " ├─ tableId: 1\n" + 9805 " └─ Table\n" + 9806 " ├─ name: comp_index_t2\n" + 9807 " └─ columns: [pk v1 v2 v3 v4]\n" + 9808 "", 9809 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9810 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9811 " ├─ filters: [{(NULL, 4], [51, ∞), [NULL, ∞), [NULL, ∞)}, {[58, 58], [NULL, ∞), [NULL, ∞), (NULL, 86)}, {[82, 82], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9812 " └─ columns: [pk v1 v2 v3 v4]\n" + 9813 "", 9814 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9815 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9816 " ├─ filters: [{(NULL, 4], [51, ∞), [NULL, ∞), [NULL, ∞)}, {[58, 58], [NULL, ∞), [NULL, ∞), (NULL, 86)}, {[82, 82], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9817 " └─ columns: [pk v1 v2 v3 v4]\n" + 9818 "", 9819 }, 9820 { 9821 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>=42 AND v4<85 AND v2<8 AND v3<3) OR (v1>=78 AND v2<>28 AND v3<52)) OR (v1<8 AND v2<>76 AND v3 BETWEEN 36 AND 70)) OR (v1=70));`, 9822 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9823 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9824 " ├─ static: [{(NULL, 8), (NULL, 76), [36, 70], [NULL, ∞)}, {(NULL, 8), (76, ∞), [36, 70], [NULL, ∞)}, {[42, 70), (NULL, 8), (NULL, 3), (NULL, 85)}, {[70, 70], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(70, 78), (NULL, 8), (NULL, 3), (NULL, 85)}, {[78, ∞), (NULL, 28), (NULL, 52), [NULL, ∞)}, {[78, ∞), (28, ∞), (NULL, 52), [NULL, ∞)}]\n" + 9825 " ├─ colSet: (1-5)\n" + 9826 " ├─ tableId: 1\n" + 9827 " └─ Table\n" + 9828 " ├─ name: comp_index_t2\n" + 9829 " └─ columns: [pk v1 v2 v3 v4]\n" + 9830 "", 9831 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9832 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9833 " ├─ filters: [{(NULL, 8), (NULL, 76), [36, 70], [NULL, ∞)}, {(NULL, 8), (76, ∞), [36, 70], [NULL, ∞)}, {[42, 70), (NULL, 8), (NULL, 3), (NULL, 85)}, {[70, 70], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(70, 78), (NULL, 8), (NULL, 3), (NULL, 85)}, {[78, ∞), (NULL, 28), (NULL, 52), [NULL, ∞)}, {[78, ∞), (28, ∞), (NULL, 52), [NULL, ∞)}]\n" + 9834 " └─ columns: [pk v1 v2 v3 v4]\n" + 9835 "", 9836 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9837 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9838 " ├─ filters: [{(NULL, 8), (NULL, 76), [36, 70], [NULL, ∞)}, {(NULL, 8), (76, ∞), [36, 70], [NULL, ∞)}, {[42, 70), (NULL, 8), (NULL, 3), (NULL, 85)}, {[70, 70], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(70, 78), (NULL, 8), (NULL, 3), (NULL, 85)}, {[78, ∞), (NULL, 28), (NULL, 52), [NULL, ∞)}, {[78, ∞), (28, ∞), (NULL, 52), [NULL, ∞)}]\n" + 9839 " └─ columns: [pk v1 v2 v3 v4]\n" + 9840 "", 9841 }, 9842 { 9843 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>69) OR (v1>=43));`, 9844 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9845 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9846 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9847 " ├─ colSet: (1-5)\n" + 9848 " ├─ tableId: 1\n" + 9849 " └─ Table\n" + 9850 " ├─ name: comp_index_t2\n" + 9851 " └─ columns: [pk v1 v2 v3 v4]\n" + 9852 "", 9853 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9854 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9855 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9856 " └─ columns: [pk v1 v2 v3 v4]\n" + 9857 "", 9858 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9859 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9860 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9861 " └─ columns: [pk v1 v2 v3 v4]\n" + 9862 "", 9863 }, 9864 { 9865 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 39 AND 76 AND v4>16 AND v2<>15 AND v3<>35) AND (v1<>50 AND v2>21 AND v3 BETWEEN 27 AND 90 AND v4>18) OR (v1<25 AND v4=58));`, 9866 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9867 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9868 " ├─ static: [{(NULL, 25), [NULL, ∞), [NULL, ∞), [58, 58]}, {[39, 50), (21, ∞), [27, 35), (18, ∞)}, {[39, 50), (21, ∞), (35, 90], (18, ∞)}, {(50, 76], (21, ∞), [27, 35), (18, ∞)}, {(50, 76], (21, ∞), (35, 90], (18, ∞)}]\n" + 9869 " ├─ colSet: (1-5)\n" + 9870 " ├─ tableId: 1\n" + 9871 " └─ Table\n" + 9872 " ├─ name: comp_index_t2\n" + 9873 " └─ columns: [pk v1 v2 v3 v4]\n" + 9874 "", 9875 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9876 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9877 " ├─ filters: [{(NULL, 25), [NULL, ∞), [NULL, ∞), [58, 58]}, {[39, 50), (21, ∞), [27, 35), (18, ∞)}, {[39, 50), (21, ∞), (35, 90], (18, ∞)}, {(50, 76], (21, ∞), [27, 35), (18, ∞)}, {(50, 76], (21, ∞), (35, 90], (18, ∞)}]\n" + 9878 " └─ columns: [pk v1 v2 v3 v4]\n" + 9879 "", 9880 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9881 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9882 " ├─ filters: [{(NULL, 25), [NULL, ∞), [NULL, ∞), [58, 58]}, {[39, 50), (21, ∞), [27, 35), (18, ∞)}, {[39, 50), (21, ∞), (35, 90], (18, ∞)}, {(50, 76], (21, ∞), [27, 35), (18, ∞)}, {(50, 76], (21, ∞), (35, 90], (18, ∞)}]\n" + 9883 " └─ columns: [pk v1 v2 v3 v4]\n" + 9884 "", 9885 }, 9886 { 9887 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=62) OR (v1 BETWEEN 24 AND 36 AND v2>=94 AND v3 BETWEEN 10 AND 55 AND v4>=89));`, 9888 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9889 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9890 " ├─ static: [{[24, 36], [94, ∞), [10, 55], [89, ∞)}, {[62, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9891 " ├─ colSet: (1-5)\n" + 9892 " ├─ tableId: 1\n" + 9893 " └─ Table\n" + 9894 " ├─ name: comp_index_t2\n" + 9895 " └─ columns: [pk v1 v2 v3 v4]\n" + 9896 "", 9897 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9898 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9899 " ├─ filters: [{[24, 36], [94, ∞), [10, 55], [89, ∞)}, {[62, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9900 " └─ columns: [pk v1 v2 v3 v4]\n" + 9901 "", 9902 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9903 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9904 " ├─ filters: [{[24, 36], [94, ∞), [10, 55], [89, ∞)}, {[62, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9905 " └─ columns: [pk v1 v2 v3 v4]\n" + 9906 "", 9907 }, 9908 { 9909 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=31) OR (v1<=95 AND v2<=26 AND v3 BETWEEN 40 AND 72)) OR (v1<51 AND v2=23));`, 9910 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9911 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9912 " ├─ static: [{(NULL, 31), (NULL, 23), [40, 72], [NULL, ∞)}, {(NULL, 31), [23, 23], [NULL, ∞), [NULL, ∞)}, {(NULL, 31), (23, 26], [40, 72], [NULL, ∞)}, {[31, 31], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(31, 51), (NULL, 23), [40, 72], [NULL, ∞)}, {(31, 51), [23, 23], [NULL, ∞), [NULL, ∞)}, {(31, 51), (23, 26], [40, 72], [NULL, ∞)}, {[51, 95], (NULL, 26], [40, 72], [NULL, ∞)}]\n" + 9913 " ├─ colSet: (1-5)\n" + 9914 " ├─ tableId: 1\n" + 9915 " └─ Table\n" + 9916 " ├─ name: comp_index_t2\n" + 9917 " └─ columns: [pk v1 v2 v3 v4]\n" + 9918 "", 9919 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9920 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9921 " ├─ filters: [{(NULL, 31), (NULL, 23), [40, 72], [NULL, ∞)}, {(NULL, 31), [23, 23], [NULL, ∞), [NULL, ∞)}, {(NULL, 31), (23, 26], [40, 72], [NULL, ∞)}, {[31, 31], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(31, 51), (NULL, 23), [40, 72], [NULL, ∞)}, {(31, 51), [23, 23], [NULL, ∞), [NULL, ∞)}, {(31, 51), (23, 26], [40, 72], [NULL, ∞)}, {[51, 95], (NULL, 26], [40, 72], [NULL, ∞)}]\n" + 9922 " └─ columns: [pk v1 v2 v3 v4]\n" + 9923 "", 9924 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9925 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9926 " ├─ filters: [{(NULL, 31), (NULL, 23), [40, 72], [NULL, ∞)}, {(NULL, 31), [23, 23], [NULL, ∞), [NULL, ∞)}, {(NULL, 31), (23, 26], [40, 72], [NULL, ∞)}, {[31, 31], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(31, 51), (NULL, 23), [40, 72], [NULL, ∞)}, {(31, 51), [23, 23], [NULL, ∞), [NULL, ∞)}, {(31, 51), (23, 26], [40, 72], [NULL, ∞)}, {[51, 95], (NULL, 26], [40, 72], [NULL, ∞)}]\n" + 9927 " └─ columns: [pk v1 v2 v3 v4]\n" + 9928 "", 9929 }, 9930 { 9931 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=3) OR (v1>40)) AND (v1>66 AND v2>33);`, 9932 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9933 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9934 " ├─ static: [{(66, ∞), (33, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9935 " ├─ colSet: (1-5)\n" + 9936 " ├─ tableId: 1\n" + 9937 " └─ Table\n" + 9938 " ├─ name: comp_index_t2\n" + 9939 " └─ columns: [pk v1 v2 v3 v4]\n" + 9940 "", 9941 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9942 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9943 " ├─ filters: [{(66, ∞), (33, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9944 " └─ columns: [pk v1 v2 v3 v4]\n" + 9945 "", 9946 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9947 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9948 " ├─ filters: [{(66, ∞), (33, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 9949 " └─ columns: [pk v1 v2 v3 v4]\n" + 9950 "", 9951 }, 9952 { 9953 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=69 AND v2=61 AND v3=87 AND v4 BETWEEN 63 AND 87) OR (v1 BETWEEN 48 AND 62)) OR (v1<>81 AND v2<=67 AND v3<>43));`, 9954 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9955 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9956 " ├─ static: [{(NULL, 48), (NULL, 67], (NULL, 43), [NULL, ∞)}, {(NULL, 48), (NULL, 67], (43, ∞), [NULL, ∞)}, {[48, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(62, 81), (NULL, 67], (NULL, 43), [NULL, ∞)}, {(62, 81), (NULL, 67], (43, ∞), [NULL, ∞)}, {[81, 81], [61, 61], [87, 87], [63, 87]}, {(81, ∞), (NULL, 67], (NULL, 43), [NULL, ∞)}, {(81, ∞), (NULL, 67], (43, ∞), [NULL, ∞)}]\n" + 9957 " ├─ colSet: (1-5)\n" + 9958 " ├─ tableId: 1\n" + 9959 " └─ Table\n" + 9960 " ├─ name: comp_index_t2\n" + 9961 " └─ columns: [pk v1 v2 v3 v4]\n" + 9962 "", 9963 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9964 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9965 " ├─ filters: [{(NULL, 48), (NULL, 67], (NULL, 43), [NULL, ∞)}, {(NULL, 48), (NULL, 67], (43, ∞), [NULL, ∞)}, {[48, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(62, 81), (NULL, 67], (NULL, 43), [NULL, ∞)}, {(62, 81), (NULL, 67], (43, ∞), [NULL, ∞)}, {[81, 81], [61, 61], [87, 87], [63, 87]}, {(81, ∞), (NULL, 67], (NULL, 43), [NULL, ∞)}, {(81, ∞), (NULL, 67], (43, ∞), [NULL, ∞)}]\n" + 9966 " └─ columns: [pk v1 v2 v3 v4]\n" + 9967 "", 9968 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9969 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9970 " ├─ filters: [{(NULL, 48), (NULL, 67], (NULL, 43), [NULL, ∞)}, {(NULL, 48), (NULL, 67], (43, ∞), [NULL, ∞)}, {[48, 62], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(62, 81), (NULL, 67], (NULL, 43), [NULL, ∞)}, {(62, 81), (NULL, 67], (43, ∞), [NULL, ∞)}, {[81, 81], [61, 61], [87, 87], [63, 87]}, {(81, ∞), (NULL, 67], (NULL, 43), [NULL, ∞)}, {(81, ∞), (NULL, 67], (43, ∞), [NULL, ∞)}]\n" + 9971 " └─ columns: [pk v1 v2 v3 v4]\n" + 9972 "", 9973 }, 9974 { 9975 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=19) AND (v1<=20 AND v2>=2) OR (v1 BETWEEN 12 AND 53 AND v4>=1 AND v2<43 AND v3<59));`, 9976 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9977 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9978 " ├─ static: [{[12, 19), (NULL, 43), (NULL, 59), [1, ∞)}, {[19, 19], (NULL, 2), (NULL, 59), [1, ∞)}, {[19, 19], [2, ∞), [NULL, ∞), [NULL, ∞)}, {(19, 53], (NULL, 43), (NULL, 59), [1, ∞)}]\n" + 9979 " ├─ colSet: (1-5)\n" + 9980 " ├─ tableId: 1\n" + 9981 " └─ Table\n" + 9982 " ├─ name: comp_index_t2\n" + 9983 " └─ columns: [pk v1 v2 v3 v4]\n" + 9984 "", 9985 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 9986 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9987 " ├─ filters: [{[12, 19), (NULL, 43), (NULL, 59), [1, ∞)}, {[19, 19], (NULL, 2), (NULL, 59), [1, ∞)}, {[19, 19], [2, ∞), [NULL, ∞), [NULL, ∞)}, {(19, 53], (NULL, 43), (NULL, 59), [1, ∞)}]\n" + 9988 " └─ columns: [pk v1 v2 v3 v4]\n" + 9989 "", 9990 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 9991 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 9992 " ├─ filters: [{[12, 19), (NULL, 43), (NULL, 59), [1, ∞)}, {[19, 19], (NULL, 2), (NULL, 59), [1, ∞)}, {[19, 19], [2, ∞), [NULL, ∞), [NULL, ∞)}, {(19, 53], (NULL, 43), (NULL, 59), [1, ∞)}]\n" + 9993 " └─ columns: [pk v1 v2 v3 v4]\n" + 9994 "", 9995 }, 9996 { 9997 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=42 AND v2<=65) AND (v1<=21) OR (v1<=14 AND v2<>1 AND v3<62));`, 9998 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 9999 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10000 " ├─ static: [{(NULL, 14], (NULL, 1), (NULL, 62), [NULL, ∞)}, {(NULL, 14], (1, ∞), (NULL, 62), [NULL, ∞)}]\n" + 10001 " ├─ colSet: (1-5)\n" + 10002 " ├─ tableId: 1\n" + 10003 " └─ Table\n" + 10004 " ├─ name: comp_index_t2\n" + 10005 " └─ columns: [pk v1 v2 v3 v4]\n" + 10006 "", 10007 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10008 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10009 " ├─ filters: [{(NULL, 14], (NULL, 1), (NULL, 62), [NULL, ∞)}, {(NULL, 14], (1, ∞), (NULL, 62), [NULL, ∞)}]\n" + 10010 " └─ columns: [pk v1 v2 v3 v4]\n" + 10011 "", 10012 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10013 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10014 " ├─ filters: [{(NULL, 14], (NULL, 1), (NULL, 62), [NULL, ∞)}, {(NULL, 14], (1, ∞), (NULL, 62), [NULL, ∞)}]\n" + 10015 " └─ columns: [pk v1 v2 v3 v4]\n" + 10016 "", 10017 }, 10018 { 10019 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>5) OR (v1<96 AND v2>=14)) OR (v1<>96)) AND (v1<>51 AND v3>41);`, 10020 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10021 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10022 " ├─ static: [{(NULL, 51), [NULL, ∞), (41, ∞), [NULL, ∞)}, {(51, ∞), [NULL, ∞), (41, ∞), [NULL, ∞)}]\n" + 10023 " ├─ colSet: (1-5)\n" + 10024 " ├─ tableId: 1\n" + 10025 " └─ Table\n" + 10026 " ├─ name: comp_index_t2\n" + 10027 " └─ columns: [pk v1 v2 v3 v4]\n" + 10028 "", 10029 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10030 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10031 " ├─ filters: [{(NULL, 51), [NULL, ∞), (41, ∞), [NULL, ∞)}, {(51, ∞), [NULL, ∞), (41, ∞), [NULL, ∞)}]\n" + 10032 " └─ columns: [pk v1 v2 v3 v4]\n" + 10033 "", 10034 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10035 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10036 " ├─ filters: [{(NULL, 51), [NULL, ∞), (41, ∞), [NULL, ∞)}, {(51, ∞), [NULL, ∞), (41, ∞), [NULL, ∞)}]\n" + 10037 " └─ columns: [pk v1 v2 v3 v4]\n" + 10038 "", 10039 }, 10040 { 10041 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>97 AND v3<>77 AND v4=30 AND v2<>45) OR (v1=36 AND v2<77 AND v3>94)) OR (v1=26));`, 10042 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10043 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10044 " ├─ static: [{[26, 26], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[36, 36], (NULL, 77), (94, ∞), [NULL, ∞)}, {(97, ∞), (NULL, 45), (NULL, 77), [30, 30]}, {(97, ∞), (NULL, 45), (77, ∞), [30, 30]}, {(97, ∞), (45, ∞), (NULL, 77), [30, 30]}, {(97, ∞), (45, ∞), (77, ∞), [30, 30]}]\n" + 10045 " ├─ colSet: (1-5)\n" + 10046 " ├─ tableId: 1\n" + 10047 " └─ Table\n" + 10048 " ├─ name: comp_index_t2\n" + 10049 " └─ columns: [pk v1 v2 v3 v4]\n" + 10050 "", 10051 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10052 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10053 " ├─ filters: [{[26, 26], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[36, 36], (NULL, 77), (94, ∞), [NULL, ∞)}, {(97, ∞), (NULL, 45), (NULL, 77), [30, 30]}, {(97, ∞), (NULL, 45), (77, ∞), [30, 30]}, {(97, ∞), (45, ∞), (NULL, 77), [30, 30]}, {(97, ∞), (45, ∞), (77, ∞), [30, 30]}]\n" + 10054 " └─ columns: [pk v1 v2 v3 v4]\n" + 10055 "", 10056 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10057 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10058 " ├─ filters: [{[26, 26], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[36, 36], (NULL, 77), (94, ∞), [NULL, ∞)}, {(97, ∞), (NULL, 45), (NULL, 77), [30, 30]}, {(97, ∞), (NULL, 45), (77, ∞), [30, 30]}, {(97, ∞), (45, ∞), (NULL, 77), [30, 30]}, {(97, ∞), (45, ∞), (77, ∞), [30, 30]}]\n" + 10059 " └─ columns: [pk v1 v2 v3 v4]\n" + 10060 "", 10061 }, 10062 { 10063 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 34 AND 37 AND v3>23 AND v4>31) OR (v1 BETWEEN 43 AND 81 AND v3>=54 AND v4>=72));`, 10064 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10065 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10066 " ├─ static: [{[34, 37], [NULL, ∞), (23, ∞), (31, ∞)}, {[43, 81], [NULL, ∞), [54, ∞), [72, ∞)}]\n" + 10067 " ├─ colSet: (1-5)\n" + 10068 " ├─ tableId: 1\n" + 10069 " └─ Table\n" + 10070 " ├─ name: comp_index_t2\n" + 10071 " └─ columns: [pk v1 v2 v3 v4]\n" + 10072 "", 10073 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10074 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10075 " ├─ filters: [{[34, 37], [NULL, ∞), (23, ∞), (31, ∞)}, {[43, 81], [NULL, ∞), [54, ∞), [72, ∞)}]\n" + 10076 " └─ columns: [pk v1 v2 v3 v4]\n" + 10077 "", 10078 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10079 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10080 " ├─ filters: [{[34, 37], [NULL, ∞), (23, ∞), (31, ∞)}, {[43, 81], [NULL, ∞), [54, ∞), [72, ∞)}]\n" + 10081 " └─ columns: [pk v1 v2 v3 v4]\n" + 10082 "", 10083 }, 10084 { 10085 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=17 AND v2<>19) OR (v1>45));`, 10086 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10087 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10088 " ├─ static: [{[17, 45], (NULL, 19), [NULL, ∞), [NULL, ∞)}, {[17, 45], (19, ∞), [NULL, ∞), [NULL, ∞)}, {(45, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10089 " ├─ colSet: (1-5)\n" + 10090 " ├─ tableId: 1\n" + 10091 " └─ Table\n" + 10092 " ├─ name: comp_index_t2\n" + 10093 " └─ columns: [pk v1 v2 v3 v4]\n" + 10094 "", 10095 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10096 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10097 " ├─ filters: [{[17, 45], (NULL, 19), [NULL, ∞), [NULL, ∞)}, {[17, 45], (19, ∞), [NULL, ∞), [NULL, ∞)}, {(45, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10098 " └─ columns: [pk v1 v2 v3 v4]\n" + 10099 "", 10100 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10101 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10102 " ├─ filters: [{[17, 45], (NULL, 19), [NULL, ∞), [NULL, ∞)}, {[17, 45], (19, ∞), [NULL, ∞), [NULL, ∞)}, {(45, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10103 " └─ columns: [pk v1 v2 v3 v4]\n" + 10104 "", 10105 }, 10106 { 10107 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=57) OR (v1>=1 AND v2<=5 AND v3>=10 AND v4<5)) OR (v1>55));`, 10108 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10109 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10110 " ├─ static: [{[1, 55], (NULL, 5], [10, ∞), (NULL, 5)}, {(55, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10111 " ├─ colSet: (1-5)\n" + 10112 " ├─ tableId: 1\n" + 10113 " └─ Table\n" + 10114 " ├─ name: comp_index_t2\n" + 10115 " └─ columns: [pk v1 v2 v3 v4]\n" + 10116 "", 10117 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10118 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10119 " ├─ filters: [{[1, 55], (NULL, 5], [10, ∞), (NULL, 5)}, {(55, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10120 " └─ columns: [pk v1 v2 v3 v4]\n" + 10121 "", 10122 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10123 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10124 " ├─ filters: [{[1, 55], (NULL, 5], [10, ∞), (NULL, 5)}, {(55, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10125 " └─ columns: [pk v1 v2 v3 v4]\n" + 10126 "", 10127 }, 10128 { 10129 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=23 AND v2<=48) OR (v1>41 AND v2>=46 AND v3 BETWEEN 11 AND 29)) AND (v1<>11) OR (v1=70 AND v3<54 AND v4<=47 AND v2<>62));`, 10130 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10131 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10132 " ├─ static: [{[23, 23], (NULL, 48], [NULL, ∞), [NULL, ∞)}, {(41, ∞), [46, ∞), [11, 29], [NULL, ∞)}, {[70, 70], (NULL, 46), (NULL, 54), (NULL, 47]}, {[70, 70], [46, 62), (NULL, 11), (NULL, 47]}, {[70, 70], [46, 62), (29, 54), (NULL, 47]}, {[70, 70], (62, ∞), (NULL, 11), (NULL, 47]}, {[70, 70], (62, ∞), (29, 54), (NULL, 47]}]\n" + 10133 " ├─ colSet: (1-5)\n" + 10134 " ├─ tableId: 1\n" + 10135 " └─ Table\n" + 10136 " ├─ name: comp_index_t2\n" + 10137 " └─ columns: [pk v1 v2 v3 v4]\n" + 10138 "", 10139 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10140 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10141 " ├─ filters: [{[23, 23], (NULL, 48], [NULL, ∞), [NULL, ∞)}, {(41, ∞), [46, ∞), [11, 29], [NULL, ∞)}, {[70, 70], (NULL, 46), (NULL, 54), (NULL, 47]}, {[70, 70], [46, 62), (NULL, 11), (NULL, 47]}, {[70, 70], [46, 62), (29, 54), (NULL, 47]}, {[70, 70], (62, ∞), (NULL, 11), (NULL, 47]}, {[70, 70], (62, ∞), (29, 54), (NULL, 47]}]\n" + 10142 " └─ columns: [pk v1 v2 v3 v4]\n" + 10143 "", 10144 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10145 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10146 " ├─ filters: [{[23, 23], (NULL, 48], [NULL, ∞), [NULL, ∞)}, {(41, ∞), [46, ∞), [11, 29], [NULL, ∞)}, {[70, 70], (NULL, 46), (NULL, 54), (NULL, 47]}, {[70, 70], [46, 62), (NULL, 11), (NULL, 47]}, {[70, 70], [46, 62), (29, 54), (NULL, 47]}, {[70, 70], (62, ∞), (NULL, 11), (NULL, 47]}, {[70, 70], (62, ∞), (29, 54), (NULL, 47]}]\n" + 10147 " └─ columns: [pk v1 v2 v3 v4]\n" + 10148 "", 10149 }, 10150 { 10151 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>73) OR (v1>5 AND v2>=7 AND v3>=43 AND v4<=53)) OR (v1<34 AND v2<95 AND v3 BETWEEN 9 AND 81 AND v4<>8)) AND (v1<=68 AND v4>48 AND v2>11 AND v3 BETWEEN 17 AND 89) OR (v1=41 AND v2 BETWEEN 56 AND 93));`, 10152 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10153 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10154 " ├─ static: [{(NULL, 34), (11, 95), [17, 81], (48, ∞)}, {(5, 34), (11, 95), (81, 89], (48, 53]}, {(5, 34), [95, ∞), [43, 89], (48, 53]}, {[34, 41), (11, ∞), [43, 89], (48, 53]}, {[41, 41], (11, 56), [43, 89], (48, 53]}, {[41, 41], [56, 93], [NULL, ∞), [NULL, ∞)}, {[41, 41], (93, ∞), [43, 89], (48, 53]}, {(41, 68], (11, ∞), [43, 89], (48, 53]}]\n" + 10155 " ├─ colSet: (1-5)\n" + 10156 " ├─ tableId: 1\n" + 10157 " └─ Table\n" + 10158 " ├─ name: comp_index_t2\n" + 10159 " └─ columns: [pk v1 v2 v3 v4]\n" + 10160 "", 10161 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10162 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10163 " ├─ filters: [{(NULL, 34), (11, 95), [17, 81], (48, ∞)}, {(5, 34), (11, 95), (81, 89], (48, 53]}, {(5, 34), [95, ∞), [43, 89], (48, 53]}, {[34, 41), (11, ∞), [43, 89], (48, 53]}, {[41, 41], (11, 56), [43, 89], (48, 53]}, {[41, 41], [56, 93], [NULL, ∞), [NULL, ∞)}, {[41, 41], (93, ∞), [43, 89], (48, 53]}, {(41, 68], (11, ∞), [43, 89], (48, 53]}]\n" + 10164 " └─ columns: [pk v1 v2 v3 v4]\n" + 10165 "", 10166 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10167 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10168 " ├─ filters: [{(NULL, 34), (11, 95), [17, 81], (48, ∞)}, {(5, 34), (11, 95), (81, 89], (48, 53]}, {(5, 34), [95, ∞), [43, 89], (48, 53]}, {[34, 41), (11, ∞), [43, 89], (48, 53]}, {[41, 41], (11, 56), [43, 89], (48, 53]}, {[41, 41], [56, 93], [NULL, ∞), [NULL, ∞)}, {[41, 41], (93, ∞), [43, 89], (48, 53]}, {(41, 68], (11, ∞), [43, 89], (48, 53]}]\n" + 10169 " └─ columns: [pk v1 v2 v3 v4]\n" + 10170 "", 10171 }, 10172 { 10173 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>3 AND v3>=34) OR (v1<>31 AND v2<16 AND v3<8));`, 10174 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10175 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10176 " ├─ static: [{(NULL, 3), [NULL, ∞), [34, ∞), [NULL, ∞)}, {(NULL, 31), (NULL, 16), (NULL, 8), [NULL, ∞)}, {(3, ∞), [NULL, ∞), [34, ∞), [NULL, ∞)}, {(31, ∞), (NULL, 16), (NULL, 8), [NULL, ∞)}]\n" + 10177 " ├─ colSet: (1-5)\n" + 10178 " ├─ tableId: 1\n" + 10179 " └─ Table\n" + 10180 " ├─ name: comp_index_t2\n" + 10181 " └─ columns: [pk v1 v2 v3 v4]\n" + 10182 "", 10183 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10184 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10185 " ├─ filters: [{(NULL, 3), [NULL, ∞), [34, ∞), [NULL, ∞)}, {(NULL, 31), (NULL, 16), (NULL, 8), [NULL, ∞)}, {(3, ∞), [NULL, ∞), [34, ∞), [NULL, ∞)}, {(31, ∞), (NULL, 16), (NULL, 8), [NULL, ∞)}]\n" + 10186 " └─ columns: [pk v1 v2 v3 v4]\n" + 10187 "", 10188 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10189 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10190 " ├─ filters: [{(NULL, 3), [NULL, ∞), [34, ∞), [NULL, ∞)}, {(NULL, 31), (NULL, 16), (NULL, 8), [NULL, ∞)}, {(3, ∞), [NULL, ∞), [34, ∞), [NULL, ∞)}, {(31, ∞), (NULL, 16), (NULL, 8), [NULL, ∞)}]\n" + 10191 " └─ columns: [pk v1 v2 v3 v4]\n" + 10192 "", 10193 }, 10194 { 10195 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 88 AND 97) OR (v1>67 AND v4<=27 AND v2<5 AND v3>40)) OR (v1 BETWEEN 5 AND 83 AND v2>=34 AND v3=59));`, 10196 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10197 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10198 " ├─ static: [{[5, 83], [34, ∞), [59, 59], [NULL, ∞)}, {(67, 88), (NULL, 5), (40, ∞), (NULL, 27]}, {[88, 97], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(97, ∞), (NULL, 5), (40, ∞), (NULL, 27]}]\n" + 10199 " ├─ colSet: (1-5)\n" + 10200 " ├─ tableId: 1\n" + 10201 " └─ Table\n" + 10202 " ├─ name: comp_index_t2\n" + 10203 " └─ columns: [pk v1 v2 v3 v4]\n" + 10204 "", 10205 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10206 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10207 " ├─ filters: [{[5, 83], [34, ∞), [59, 59], [NULL, ∞)}, {(67, 88), (NULL, 5), (40, ∞), (NULL, 27]}, {[88, 97], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(97, ∞), (NULL, 5), (40, ∞), (NULL, 27]}]\n" + 10208 " └─ columns: [pk v1 v2 v3 v4]\n" + 10209 "", 10210 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10211 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10212 " ├─ filters: [{[5, 83], [34, ∞), [59, 59], [NULL, ∞)}, {(67, 88), (NULL, 5), (40, ∞), (NULL, 27]}, {[88, 97], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(97, ∞), (NULL, 5), (40, ∞), (NULL, 27]}]\n" + 10213 " └─ columns: [pk v1 v2 v3 v4]\n" + 10214 "", 10215 }, 10216 { 10217 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>96 AND v2<=2 AND v3=17 AND v4<79) OR (v1=67 AND v2=30 AND v3=38 AND v4=53));`, 10218 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10219 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10220 " ├─ static: [{(NULL, 96), (NULL, 2], [17, 17], (NULL, 79)}, {[67, 67], [30, 30], [38, 38], [53, 53]}, {(96, ∞), (NULL, 2], [17, 17], (NULL, 79)}]\n" + 10221 " ├─ colSet: (1-5)\n" + 10222 " ├─ tableId: 1\n" + 10223 " └─ Table\n" + 10224 " ├─ name: comp_index_t2\n" + 10225 " └─ columns: [pk v1 v2 v3 v4]\n" + 10226 "", 10227 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10228 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10229 " ├─ filters: [{(NULL, 96), (NULL, 2], [17, 17], (NULL, 79)}, {[67, 67], [30, 30], [38, 38], [53, 53]}, {(96, ∞), (NULL, 2], [17, 17], (NULL, 79)}]\n" + 10230 " └─ columns: [pk v1 v2 v3 v4]\n" + 10231 "", 10232 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10233 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10234 " ├─ filters: [{(NULL, 96), (NULL, 2], [17, 17], (NULL, 79)}, {[67, 67], [30, 30], [38, 38], [53, 53]}, {(96, ∞), (NULL, 2], [17, 17], (NULL, 79)}]\n" + 10235 " └─ columns: [pk v1 v2 v3 v4]\n" + 10236 "", 10237 }, 10238 { 10239 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>45 AND v2>76) OR (v1=30 AND v2=53));`, 10240 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10241 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10242 " ├─ static: [{(NULL, 45), (76, ∞), [NULL, ∞), [NULL, ∞)}, {[30, 30], [53, 53], [NULL, ∞), [NULL, ∞)}, {(45, ∞), (76, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10243 " ├─ colSet: (1-5)\n" + 10244 " ├─ tableId: 1\n" + 10245 " └─ Table\n" + 10246 " ├─ name: comp_index_t2\n" + 10247 " └─ columns: [pk v1 v2 v3 v4]\n" + 10248 "", 10249 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10250 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10251 " ├─ filters: [{(NULL, 45), (76, ∞), [NULL, ∞), [NULL, ∞)}, {[30, 30], [53, 53], [NULL, ∞), [NULL, ∞)}, {(45, ∞), (76, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10252 " └─ columns: [pk v1 v2 v3 v4]\n" + 10253 "", 10254 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10255 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10256 " ├─ filters: [{(NULL, 45), (76, ∞), [NULL, ∞), [NULL, ∞)}, {[30, 30], [53, 53], [NULL, ∞), [NULL, ∞)}, {(45, ∞), (76, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10257 " └─ columns: [pk v1 v2 v3 v4]\n" + 10258 "", 10259 }, 10260 { 10261 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 3 AND 34 AND v2>39) OR (v1>1 AND v2>=92 AND v3=99)) OR (v1>=36 AND v2<>65 AND v3=69));`, 10262 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10263 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10264 " ├─ static: [{(1, 3), [92, ∞), [99, 99], [NULL, ∞)}, {[3, 34], (39, ∞), [NULL, ∞), [NULL, ∞)}, {(34, ∞), [92, ∞), [99, 99], [NULL, ∞)}, {[36, ∞), (NULL, 65), [69, 69], [NULL, ∞)}, {[36, ∞), (65, ∞), [69, 69], [NULL, ∞)}]\n" + 10265 " ├─ colSet: (1-5)\n" + 10266 " ├─ tableId: 1\n" + 10267 " └─ Table\n" + 10268 " ├─ name: comp_index_t2\n" + 10269 " └─ columns: [pk v1 v2 v3 v4]\n" + 10270 "", 10271 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10272 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10273 " ├─ filters: [{(1, 3), [92, ∞), [99, 99], [NULL, ∞)}, {[3, 34], (39, ∞), [NULL, ∞), [NULL, ∞)}, {(34, ∞), [92, ∞), [99, 99], [NULL, ∞)}, {[36, ∞), (NULL, 65), [69, 69], [NULL, ∞)}, {[36, ∞), (65, ∞), [69, 69], [NULL, ∞)}]\n" + 10274 " └─ columns: [pk v1 v2 v3 v4]\n" + 10275 "", 10276 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10277 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10278 " ├─ filters: [{(1, 3), [92, ∞), [99, 99], [NULL, ∞)}, {[3, 34], (39, ∞), [NULL, ∞), [NULL, ∞)}, {(34, ∞), [92, ∞), [99, 99], [NULL, ∞)}, {[36, ∞), (NULL, 65), [69, 69], [NULL, ∞)}, {[36, ∞), (65, ∞), [69, 69], [NULL, ∞)}]\n" + 10279 " └─ columns: [pk v1 v2 v3 v4]\n" + 10280 "", 10281 }, 10282 { 10283 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=54 AND v2=38 AND v3>=64 AND v4>36) OR (v1<=48)) OR (v1<37 AND v2=13 AND v3<20));`, 10284 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10285 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10286 " ├─ static: [{(NULL, 48], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[54, ∞), [38, 38], [64, ∞), (36, ∞)}]\n" + 10287 " ├─ colSet: (1-5)\n" + 10288 " ├─ tableId: 1\n" + 10289 " └─ Table\n" + 10290 " ├─ name: comp_index_t2\n" + 10291 " └─ columns: [pk v1 v2 v3 v4]\n" + 10292 "", 10293 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10294 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10295 " ├─ filters: [{(NULL, 48], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[54, ∞), [38, 38], [64, ∞), (36, ∞)}]\n" + 10296 " └─ columns: [pk v1 v2 v3 v4]\n" + 10297 "", 10298 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10299 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10300 " ├─ filters: [{(NULL, 48], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[54, ∞), [38, 38], [64, ∞), (36, ∞)}]\n" + 10301 " └─ columns: [pk v1 v2 v3 v4]\n" + 10302 "", 10303 }, 10304 { 10305 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>70) OR (v1<>2 AND v2>79 AND v3<>6 AND v4<>42));`, 10306 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10307 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10308 " ├─ static: [{(NULL, 70), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[70, 70], (79, ∞), (NULL, 6), (NULL, 42)}, {[70, 70], (79, ∞), (NULL, 6), (42, ∞)}, {[70, 70], (79, ∞), (6, ∞), (NULL, 42)}, {[70, 70], (79, ∞), (6, ∞), (42, ∞)}, {(70, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10309 " ├─ colSet: (1-5)\n" + 10310 " ├─ tableId: 1\n" + 10311 " └─ Table\n" + 10312 " ├─ name: comp_index_t2\n" + 10313 " └─ columns: [pk v1 v2 v3 v4]\n" + 10314 "", 10315 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10316 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10317 " ├─ filters: [{(NULL, 70), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[70, 70], (79, ∞), (NULL, 6), (NULL, 42)}, {[70, 70], (79, ∞), (NULL, 6), (42, ∞)}, {[70, 70], (79, ∞), (6, ∞), (NULL, 42)}, {[70, 70], (79, ∞), (6, ∞), (42, ∞)}, {(70, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10318 " └─ columns: [pk v1 v2 v3 v4]\n" + 10319 "", 10320 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10321 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10322 " ├─ filters: [{(NULL, 70), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[70, 70], (79, ∞), (NULL, 6), (NULL, 42)}, {[70, 70], (79, ∞), (NULL, 6), (42, ∞)}, {[70, 70], (79, ∞), (6, ∞), (NULL, 42)}, {[70, 70], (79, ∞), (6, ∞), (42, ∞)}, {(70, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10323 " └─ columns: [pk v1 v2 v3 v4]\n" + 10324 "", 10325 }, 10326 { 10327 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>46 AND v2>93 AND v3>19) AND (v1<51 AND v2=39) OR (v1<61)) AND (v1<>22);`, 10328 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10329 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10330 " ├─ static: [{(NULL, 22), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(22, 61), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10331 " ├─ colSet: (1-5)\n" + 10332 " ├─ tableId: 1\n" + 10333 " └─ Table\n" + 10334 " ├─ name: comp_index_t2\n" + 10335 " └─ columns: [pk v1 v2 v3 v4]\n" + 10336 "", 10337 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10338 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10339 " ├─ filters: [{(NULL, 22), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(22, 61), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10340 " └─ columns: [pk v1 v2 v3 v4]\n" + 10341 "", 10342 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10343 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10344 " ├─ filters: [{(NULL, 22), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(22, 61), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10345 " └─ columns: [pk v1 v2 v3 v4]\n" + 10346 "", 10347 }, 10348 { 10349 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=53 AND v2>0 AND v3=95 AND v4<=2) OR (v1<41 AND v4<10 AND v2 BETWEEN 11 AND 35)) OR (v1=11 AND v2<20 AND v3=51 AND v4<>30));`, 10350 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10351 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10352 " ├─ static: [{(NULL, 11), [11, 35], [NULL, ∞), (NULL, 10)}, {(NULL, 41), (0, 11), [95, 95], (NULL, 2]}, {(NULL, 41), (35, ∞), [95, 95], (NULL, 2]}, {[11, 11], (NULL, 20), [51, 51], (NULL, 30)}, {[11, 11], (NULL, 20), [51, 51], (30, ∞)}, {[11, 11], [11, 20), [NULL, 51), (NULL, 10)}, {[11, 11], [11, 20), (51, ∞), (NULL, 10)}, {[11, 11], [20, 35], [NULL, ∞), (NULL, 10)}, {(11, 41), [11, 35], [NULL, ∞), (NULL, 10)}, {[41, 53], (0, ∞), [95, 95], (NULL, 2]}]\n" + 10353 " ├─ colSet: (1-5)\n" + 10354 " ├─ tableId: 1\n" + 10355 " └─ Table\n" + 10356 " ├─ name: comp_index_t2\n" + 10357 " └─ columns: [pk v1 v2 v3 v4]\n" + 10358 "", 10359 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10360 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10361 " ├─ filters: [{(NULL, 11), [11, 35], [NULL, ∞), (NULL, 10)}, {(NULL, 41), (0, 11), [95, 95], (NULL, 2]}, {(NULL, 41), (35, ∞), [95, 95], (NULL, 2]}, {[11, 11], (NULL, 20), [51, 51], (NULL, 30)}, {[11, 11], (NULL, 20), [51, 51], (30, ∞)}, {[11, 11], [11, 20), [NULL, 51), (NULL, 10)}, {[11, 11], [11, 20), (51, ∞), (NULL, 10)}, {[11, 11], [20, 35], [NULL, ∞), (NULL, 10)}, {(11, 41), [11, 35], [NULL, ∞), (NULL, 10)}, {[41, 53], (0, ∞), [95, 95], (NULL, 2]}]\n" + 10362 " └─ columns: [pk v1 v2 v3 v4]\n" + 10363 "", 10364 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10365 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10366 " ├─ filters: [{(NULL, 11), [11, 35], [NULL, ∞), (NULL, 10)}, {(NULL, 41), (0, 11), [95, 95], (NULL, 2]}, {(NULL, 41), (35, ∞), [95, 95], (NULL, 2]}, {[11, 11], (NULL, 20), [51, 51], (NULL, 30)}, {[11, 11], (NULL, 20), [51, 51], (30, ∞)}, {[11, 11], [11, 20), [NULL, 51), (NULL, 10)}, {[11, 11], [11, 20), (51, ∞), (NULL, 10)}, {[11, 11], [20, 35], [NULL, ∞), (NULL, 10)}, {(11, 41), [11, 35], [NULL, ∞), (NULL, 10)}, {[41, 53], (0, ∞), [95, 95], (NULL, 2]}]\n" + 10367 " └─ columns: [pk v1 v2 v3 v4]\n" + 10368 "", 10369 }, 10370 { 10371 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=32 AND v2>6 AND v3=55) OR (v1=87 AND v2<=80)) OR (v1=88 AND v2<=87 AND v3>=45));`, 10372 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10373 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10374 " ├─ static: [{(NULL, 32], (6, ∞), [55, 55], [NULL, ∞)}, {[87, 87], (NULL, 80], [NULL, ∞), [NULL, ∞)}, {[88, 88], (NULL, 87], [45, ∞), [NULL, ∞)}]\n" + 10375 " ├─ colSet: (1-5)\n" + 10376 " ├─ tableId: 1\n" + 10377 " └─ Table\n" + 10378 " ├─ name: comp_index_t2\n" + 10379 " └─ columns: [pk v1 v2 v3 v4]\n" + 10380 "", 10381 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10382 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10383 " ├─ filters: [{(NULL, 32], (6, ∞), [55, 55], [NULL, ∞)}, {[87, 87], (NULL, 80], [NULL, ∞), [NULL, ∞)}, {[88, 88], (NULL, 87], [45, ∞), [NULL, ∞)}]\n" + 10384 " └─ columns: [pk v1 v2 v3 v4]\n" + 10385 "", 10386 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10387 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10388 " ├─ filters: [{(NULL, 32], (6, ∞), [55, 55], [NULL, ∞)}, {[87, 87], (NULL, 80], [NULL, ∞), [NULL, ∞)}, {[88, 88], (NULL, 87], [45, ∞), [NULL, ∞)}]\n" + 10389 " └─ columns: [pk v1 v2 v3 v4]\n" + 10390 "", 10391 }, 10392 { 10393 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>8) OR (v1 BETWEEN 16 AND 25 AND v2<>79 AND v3>=55 AND v4<=5));`, 10394 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10395 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10396 " ├─ static: [{(8, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10397 " ├─ colSet: (1-5)\n" + 10398 " ├─ tableId: 1\n" + 10399 " └─ Table\n" + 10400 " ├─ name: comp_index_t2\n" + 10401 " └─ columns: [pk v1 v2 v3 v4]\n" + 10402 "", 10403 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10404 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10405 " ├─ filters: [{(8, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10406 " └─ columns: [pk v1 v2 v3 v4]\n" + 10407 "", 10408 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10409 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10410 " ├─ filters: [{(8, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10411 " └─ columns: [pk v1 v2 v3 v4]\n" + 10412 "", 10413 }, 10414 { 10415 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=45 AND v2>55 AND v3<90) OR (v1>26 AND v2>=2 AND v3<>85 AND v4<=74));`, 10416 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10417 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10418 " ├─ static: [{(26, 45), [2, ∞), (NULL, 85), (NULL, 74]}, {(26, 45), [2, ∞), (85, ∞), (NULL, 74]}, {[45, 45], [2, 55], (NULL, 85), (NULL, 74]}, {[45, 45], [2, 55], (85, ∞), (NULL, 74]}, {[45, 45], (55, ∞), (NULL, 90), [NULL, ∞)}, {[45, 45], (55, ∞), [90, ∞), (NULL, 74]}, {(45, ∞), [2, ∞), (NULL, 85), (NULL, 74]}, {(45, ∞), [2, ∞), (85, ∞), (NULL, 74]}]\n" + 10419 " ├─ colSet: (1-5)\n" + 10420 " ├─ tableId: 1\n" + 10421 " └─ Table\n" + 10422 " ├─ name: comp_index_t2\n" + 10423 " └─ columns: [pk v1 v2 v3 v4]\n" + 10424 "", 10425 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10426 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10427 " ├─ filters: [{(26, 45), [2, ∞), (NULL, 85), (NULL, 74]}, {(26, 45), [2, ∞), (85, ∞), (NULL, 74]}, {[45, 45], [2, 55], (NULL, 85), (NULL, 74]}, {[45, 45], [2, 55], (85, ∞), (NULL, 74]}, {[45, 45], (55, ∞), (NULL, 90), [NULL, ∞)}, {[45, 45], (55, ∞), [90, ∞), (NULL, 74]}, {(45, ∞), [2, ∞), (NULL, 85), (NULL, 74]}, {(45, ∞), [2, ∞), (85, ∞), (NULL, 74]}]\n" + 10428 " └─ columns: [pk v1 v2 v3 v4]\n" + 10429 "", 10430 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10431 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10432 " ├─ filters: [{(26, 45), [2, ∞), (NULL, 85), (NULL, 74]}, {(26, 45), [2, ∞), (85, ∞), (NULL, 74]}, {[45, 45], [2, 55], (NULL, 85), (NULL, 74]}, {[45, 45], [2, 55], (85, ∞), (NULL, 74]}, {[45, 45], (55, ∞), (NULL, 90), [NULL, ∞)}, {[45, 45], (55, ∞), [90, ∞), (NULL, 74]}, {(45, ∞), [2, ∞), (NULL, 85), (NULL, 74]}, {(45, ∞), [2, ∞), (85, ∞), (NULL, 74]}]\n" + 10433 " └─ columns: [pk v1 v2 v3 v4]\n" + 10434 "", 10435 }, 10436 { 10437 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=59) OR (v1<>85 AND v4<6 AND v2 BETWEEN 14 AND 82));`, 10438 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10439 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10440 " ├─ static: [{(NULL, 59), [14, 82], [NULL, ∞), (NULL, 6)}, {[59, 59], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(59, 85), [14, 82], [NULL, ∞), (NULL, 6)}, {(85, ∞), [14, 82], [NULL, ∞), (NULL, 6)}]\n" + 10441 " ├─ colSet: (1-5)\n" + 10442 " ├─ tableId: 1\n" + 10443 " └─ Table\n" + 10444 " ├─ name: comp_index_t2\n" + 10445 " └─ columns: [pk v1 v2 v3 v4]\n" + 10446 "", 10447 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10448 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10449 " ├─ filters: [{(NULL, 59), [14, 82], [NULL, ∞), (NULL, 6)}, {[59, 59], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(59, 85), [14, 82], [NULL, ∞), (NULL, 6)}, {(85, ∞), [14, 82], [NULL, ∞), (NULL, 6)}]\n" + 10450 " └─ columns: [pk v1 v2 v3 v4]\n" + 10451 "", 10452 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10453 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10454 " ├─ filters: [{(NULL, 59), [14, 82], [NULL, ∞), (NULL, 6)}, {[59, 59], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(59, 85), [14, 82], [NULL, ∞), (NULL, 6)}, {(85, ∞), [14, 82], [NULL, ∞), (NULL, 6)}]\n" + 10455 " └─ columns: [pk v1 v2 v3 v4]\n" + 10456 "", 10457 }, 10458 { 10459 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=94 AND v2>32 AND v3>61) OR (v1>51 AND v4>84 AND v2>=46)) OR (v1=39));`, 10460 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10461 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10462 " ├─ static: [{[39, 39], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(51, 94), [46, ∞), [NULL, ∞), (84, ∞)}, {[94, ∞), (32, ∞), (61, ∞), [NULL, ∞)}, {[94, ∞), [46, ∞), [NULL, 61], (84, ∞)}]\n" + 10463 " ├─ colSet: (1-5)\n" + 10464 " ├─ tableId: 1\n" + 10465 " └─ Table\n" + 10466 " ├─ name: comp_index_t2\n" + 10467 " └─ columns: [pk v1 v2 v3 v4]\n" + 10468 "", 10469 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10470 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10471 " ├─ filters: [{[39, 39], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(51, 94), [46, ∞), [NULL, ∞), (84, ∞)}, {[94, ∞), (32, ∞), (61, ∞), [NULL, ∞)}, {[94, ∞), [46, ∞), [NULL, 61], (84, ∞)}]\n" + 10472 " └─ columns: [pk v1 v2 v3 v4]\n" + 10473 "", 10474 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10475 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10476 " ├─ filters: [{[39, 39], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(51, 94), [46, ∞), [NULL, ∞), (84, ∞)}, {[94, ∞), (32, ∞), (61, ∞), [NULL, ∞)}, {[94, ∞), [46, ∞), [NULL, 61], (84, ∞)}]\n" + 10477 " └─ columns: [pk v1 v2 v3 v4]\n" + 10478 "", 10479 }, 10480 { 10481 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=89) OR (v1<=28 AND v2=13));`, 10482 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10483 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10484 " ├─ static: [{(NULL, 28], [13, 13], [NULL, ∞), [NULL, ∞)}, {[89, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10485 " ├─ colSet: (1-5)\n" + 10486 " ├─ tableId: 1\n" + 10487 " └─ Table\n" + 10488 " ├─ name: comp_index_t2\n" + 10489 " └─ columns: [pk v1 v2 v3 v4]\n" + 10490 "", 10491 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10492 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10493 " ├─ filters: [{(NULL, 28], [13, 13], [NULL, ∞), [NULL, ∞)}, {[89, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10494 " └─ columns: [pk v1 v2 v3 v4]\n" + 10495 "", 10496 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10497 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10498 " ├─ filters: [{(NULL, 28], [13, 13], [NULL, ∞), [NULL, ∞)}, {[89, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10499 " └─ columns: [pk v1 v2 v3 v4]\n" + 10500 "", 10501 }, 10502 { 10503 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=5 AND v2<65 AND v3<64 AND v4=81) OR (v1<=75)) AND (v1=87);`, 10504 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10505 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10506 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10507 " ├─ colSet: (1-5)\n" + 10508 " ├─ tableId: 1\n" + 10509 " └─ Table\n" + 10510 " ├─ name: comp_index_t2\n" + 10511 " └─ columns: [pk v1 v2 v3 v4]\n" + 10512 "", 10513 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10514 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10515 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10516 " └─ columns: [pk v1 v2 v3 v4]\n" + 10517 "", 10518 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10519 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10520 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10521 " └─ columns: [pk v1 v2 v3 v4]\n" + 10522 "", 10523 }, 10524 { 10525 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=31 AND v4>30 AND v2<>38) OR (v1<>35)) OR (v1<=8 AND v2<43 AND v3<=50 AND v4<=33));`, 10526 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10527 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10528 " ├─ static: [{(NULL, 35), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(35, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10529 " ├─ colSet: (1-5)\n" + 10530 " ├─ tableId: 1\n" + 10531 " └─ Table\n" + 10532 " ├─ name: comp_index_t2\n" + 10533 " └─ columns: [pk v1 v2 v3 v4]\n" + 10534 "", 10535 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10536 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10537 " ├─ filters: [{(NULL, 35), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(35, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10538 " └─ columns: [pk v1 v2 v3 v4]\n" + 10539 "", 10540 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10541 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10542 " ├─ filters: [{(NULL, 35), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(35, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10543 " └─ columns: [pk v1 v2 v3 v4]\n" + 10544 "", 10545 }, 10546 { 10547 Query: `SELECT * FROM comp_index_t2 WHERE (((((v1>65 AND v2=89 AND v3>12) OR (v1 BETWEEN 37 AND 75 AND v2=42 AND v3<=14)) OR (v1>=87 AND v2=85)) OR (v1<>48 AND v4 BETWEEN 32 AND 33 AND v2>21 AND v3<=25)) OR (v1 BETWEEN 51 AND 88 AND v2<>67));`, 10548 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10549 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10550 " ├─ static: [{(NULL, 37), (21, ∞), (NULL, 25], [32, 33]}, {[37, 48), (21, 42), (NULL, 25], [32, 33]}, {[37, 48), [42, 42], (14, 25], [32, 33]}, {[37, 48), (42, ∞), (NULL, 25], [32, 33]}, {[37, 51), [42, 42], (NULL, 14], [NULL, ∞)}, {(48, 51), (21, 42), (NULL, 25], [32, 33]}, {(48, 51), [42, 42], (14, 25], [32, 33]}, {(48, 51), (42, ∞), (NULL, 25], [32, 33]}, {[51, 88], (NULL, 67), [NULL, ∞), [NULL, ∞)}, {[51, 88], [67, 67], (NULL, 25], [32, 33]}, {[51, 88], (67, ∞), [NULL, ∞), [NULL, ∞)}, {(88, ∞), (21, 85), (NULL, 25], [32, 33]}, {(88, ∞), [85, 85], [NULL, ∞), [NULL, ∞)}, {(88, ∞), (85, 89), (NULL, 25], [32, 33]}, {(88, ∞), [89, 89], (NULL, 12], [32, 33]}, {(88, ∞), [89, 89], (12, ∞), [NULL, ∞)}, {(88, ∞), (89, ∞), (NULL, 25], [32, 33]}]\n" + 10551 " ├─ colSet: (1-5)\n" + 10552 " ├─ tableId: 1\n" + 10553 " └─ Table\n" + 10554 " ├─ name: comp_index_t2\n" + 10555 " └─ columns: [pk v1 v2 v3 v4]\n" + 10556 "", 10557 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10558 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10559 " ├─ filters: [{(NULL, 37), (21, ∞), (NULL, 25], [32, 33]}, {[37, 48), (21, 42), (NULL, 25], [32, 33]}, {[37, 48), [42, 42], (14, 25], [32, 33]}, {[37, 48), (42, ∞), (NULL, 25], [32, 33]}, {[37, 51), [42, 42], (NULL, 14], [NULL, ∞)}, {(48, 51), (21, 42), (NULL, 25], [32, 33]}, {(48, 51), [42, 42], (14, 25], [32, 33]}, {(48, 51), (42, ∞), (NULL, 25], [32, 33]}, {[51, 88], (NULL, 67), [NULL, ∞), [NULL, ∞)}, {[51, 88], [67, 67], (NULL, 25], [32, 33]}, {[51, 88], (67, ∞), [NULL, ∞), [NULL, ∞)}, {(88, ∞), (21, 85), (NULL, 25], [32, 33]}, {(88, ∞), [85, 85], [NULL, ∞), [NULL, ∞)}, {(88, ∞), (85, 89), (NULL, 25], [32, 33]}, {(88, ∞), [89, 89], (NULL, 12], [32, 33]}, {(88, ∞), [89, 89], (12, ∞), [NULL, ∞)}, {(88, ∞), (89, ∞), (NULL, 25], [32, 33]}]\n" + 10560 " └─ columns: [pk v1 v2 v3 v4]\n" + 10561 "", 10562 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10563 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10564 " ├─ filters: [{(NULL, 37), (21, ∞), (NULL, 25], [32, 33]}, {[37, 48), (21, 42), (NULL, 25], [32, 33]}, {[37, 48), [42, 42], (14, 25], [32, 33]}, {[37, 48), (42, ∞), (NULL, 25], [32, 33]}, {[37, 51), [42, 42], (NULL, 14], [NULL, ∞)}, {(48, 51), (21, 42), (NULL, 25], [32, 33]}, {(48, 51), [42, 42], (14, 25], [32, 33]}, {(48, 51), (42, ∞), (NULL, 25], [32, 33]}, {[51, 88], (NULL, 67), [NULL, ∞), [NULL, ∞)}, {[51, 88], [67, 67], (NULL, 25], [32, 33]}, {[51, 88], (67, ∞), [NULL, ∞), [NULL, ∞)}, {(88, ∞), (21, 85), (NULL, 25], [32, 33]}, {(88, ∞), [85, 85], [NULL, ∞), [NULL, ∞)}, {(88, ∞), (85, 89), (NULL, 25], [32, 33]}, {(88, ∞), [89, 89], (NULL, 12], [32, 33]}, {(88, ∞), [89, 89], (12, ∞), [NULL, ∞)}, {(88, ∞), (89, ∞), (NULL, 25], [32, 33]}]\n" + 10565 " └─ columns: [pk v1 v2 v3 v4]\n" + 10566 "", 10567 }, 10568 { 10569 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>82) OR (v1<1 AND v3>=22)) AND (v1=4) OR (v1>27 AND v2 BETWEEN 7 AND 79 AND v3 BETWEEN 9 AND 29 AND v4<85));`, 10570 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10571 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10572 " ├─ static: [{(27, ∞), [7, 79], [9, 29], (NULL, 85)}]\n" + 10573 " ├─ colSet: (1-5)\n" + 10574 " ├─ tableId: 1\n" + 10575 " └─ Table\n" + 10576 " ├─ name: comp_index_t2\n" + 10577 " └─ columns: [pk v1 v2 v3 v4]\n" + 10578 "", 10579 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10580 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10581 " ├─ filters: [{(27, ∞), [7, 79], [9, 29], (NULL, 85)}]\n" + 10582 " └─ columns: [pk v1 v2 v3 v4]\n" + 10583 "", 10584 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10585 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10586 " ├─ filters: [{(27, ∞), [7, 79], [9, 29], (NULL, 85)}]\n" + 10587 " └─ columns: [pk v1 v2 v3 v4]\n" + 10588 "", 10589 }, 10590 { 10591 Query: `SELECT * FROM comp_index_t2 WHERE (v1>=41 AND v2<13 AND v3 BETWEEN 62 AND 87) AND (v1<=67 AND v2>68 AND v3=56 AND v4>28);`, 10592 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10593 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10594 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10595 " ├─ colSet: (1-5)\n" + 10596 " ├─ tableId: 1\n" + 10597 " └─ Table\n" + 10598 " ├─ name: comp_index_t2\n" + 10599 " └─ columns: [pk v1 v2 v3 v4]\n" + 10600 "", 10601 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10602 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10603 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10604 " └─ columns: [pk v1 v2 v3 v4]\n" + 10605 "", 10606 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10607 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10608 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10609 " └─ columns: [pk v1 v2 v3 v4]\n" + 10610 "", 10611 }, 10612 { 10613 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 23 AND 34 AND v2 BETWEEN 4 AND 75 AND v3<91) OR (v1>=31));`, 10614 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10615 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10616 " ├─ static: [{[23, 31), [4, 75], (NULL, 91), [NULL, ∞)}, {[31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10617 " ├─ colSet: (1-5)\n" + 10618 " ├─ tableId: 1\n" + 10619 " └─ Table\n" + 10620 " ├─ name: comp_index_t2\n" + 10621 " └─ columns: [pk v1 v2 v3 v4]\n" + 10622 "", 10623 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10624 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10625 " ├─ filters: [{[23, 31), [4, 75], (NULL, 91), [NULL, ∞)}, {[31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10626 " └─ columns: [pk v1 v2 v3 v4]\n" + 10627 "", 10628 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10629 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10630 " ├─ filters: [{[23, 31), [4, 75], (NULL, 91), [NULL, ∞)}, {[31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10631 " └─ columns: [pk v1 v2 v3 v4]\n" + 10632 "", 10633 }, 10634 { 10635 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<59) OR (v1 BETWEEN 6 AND 86 AND v4<97)) OR (v1<>90 AND v2=43 AND v3=29));`, 10636 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10637 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10638 " ├─ static: [{(NULL, 59), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[59, 86], [NULL, 43), [NULL, ∞), (NULL, 97)}, {[59, 86], [43, 43], [NULL, 29), (NULL, 97)}, {[59, 86], [43, 43], (29, ∞), (NULL, 97)}, {[59, 86], (43, ∞), [NULL, ∞), (NULL, 97)}, {[59, 90), [43, 43], [29, 29], [NULL, ∞)}, {(90, ∞), [43, 43], [29, 29], [NULL, ∞)}]\n" + 10639 " ├─ colSet: (1-5)\n" + 10640 " ├─ tableId: 1\n" + 10641 " └─ Table\n" + 10642 " ├─ name: comp_index_t2\n" + 10643 " └─ columns: [pk v1 v2 v3 v4]\n" + 10644 "", 10645 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10646 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10647 " ├─ filters: [{(NULL, 59), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[59, 86], [NULL, 43), [NULL, ∞), (NULL, 97)}, {[59, 86], [43, 43], [NULL, 29), (NULL, 97)}, {[59, 86], [43, 43], (29, ∞), (NULL, 97)}, {[59, 86], (43, ∞), [NULL, ∞), (NULL, 97)}, {[59, 90), [43, 43], [29, 29], [NULL, ∞)}, {(90, ∞), [43, 43], [29, 29], [NULL, ∞)}]\n" + 10648 " └─ columns: [pk v1 v2 v3 v4]\n" + 10649 "", 10650 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10651 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10652 " ├─ filters: [{(NULL, 59), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[59, 86], [NULL, 43), [NULL, ∞), (NULL, 97)}, {[59, 86], [43, 43], [NULL, 29), (NULL, 97)}, {[59, 86], [43, 43], (29, ∞), (NULL, 97)}, {[59, 86], (43, ∞), [NULL, ∞), (NULL, 97)}, {[59, 90), [43, 43], [29, 29], [NULL, ∞)}, {(90, ∞), [43, 43], [29, 29], [NULL, ∞)}]\n" + 10653 " └─ columns: [pk v1 v2 v3 v4]\n" + 10654 "", 10655 }, 10656 { 10657 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=1 AND v2<34) OR (v1<78));`, 10658 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10659 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10660 " ├─ static: [{(NULL, 78), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[78, ∞), (NULL, 34), [NULL, ∞), [NULL, ∞)}]\n" + 10661 " ├─ colSet: (1-5)\n" + 10662 " ├─ tableId: 1\n" + 10663 " └─ Table\n" + 10664 " ├─ name: comp_index_t2\n" + 10665 " └─ columns: [pk v1 v2 v3 v4]\n" + 10666 "", 10667 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10668 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10669 " ├─ filters: [{(NULL, 78), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[78, ∞), (NULL, 34), [NULL, ∞), [NULL, ∞)}]\n" + 10670 " └─ columns: [pk v1 v2 v3 v4]\n" + 10671 "", 10672 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10673 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10674 " ├─ filters: [{(NULL, 78), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[78, ∞), (NULL, 34), [NULL, ∞), [NULL, ∞)}]\n" + 10675 " └─ columns: [pk v1 v2 v3 v4]\n" + 10676 "", 10677 }, 10678 { 10679 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=10 AND v2<>64 AND v3>25 AND v4<29) OR (v1>39));`, 10680 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10681 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10682 " ├─ static: [{[10, 10], (NULL, 64), (25, ∞), (NULL, 29)}, {[10, 10], (64, ∞), (25, ∞), (NULL, 29)}, {(39, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10683 " ├─ colSet: (1-5)\n" + 10684 " ├─ tableId: 1\n" + 10685 " └─ Table\n" + 10686 " ├─ name: comp_index_t2\n" + 10687 " └─ columns: [pk v1 v2 v3 v4]\n" + 10688 "", 10689 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10690 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10691 " ├─ filters: [{[10, 10], (NULL, 64), (25, ∞), (NULL, 29)}, {[10, 10], (64, ∞), (25, ∞), (NULL, 29)}, {(39, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10692 " └─ columns: [pk v1 v2 v3 v4]\n" + 10693 "", 10694 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10695 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10696 " ├─ filters: [{[10, 10], (NULL, 64), (25, ∞), (NULL, 29)}, {[10, 10], (64, ∞), (25, ∞), (NULL, 29)}, {(39, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10697 " └─ columns: [pk v1 v2 v3 v4]\n" + 10698 "", 10699 }, 10700 { 10701 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>35 AND v2>=14 AND v3<65 AND v4<>9) OR (v1<>14 AND v3<51 AND v4<32)) OR (v1>=21 AND v3<>25 AND v4<>16));`, 10702 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10703 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10704 " ├─ static: [{(NULL, 14), [NULL, 14), (NULL, 51), (NULL, 32)}, {(NULL, 14), [14, ∞), (NULL, 51), (NULL, ∞)}, {(NULL, 14), [14, ∞), [51, 65), (NULL, 9)}, {(NULL, 14), [14, ∞), [51, 65), (9, ∞)}, {[14, 14], [14, ∞), (NULL, 65), (NULL, 9)}, {[14, 14], [14, ∞), (NULL, 65), (9, ∞)}, {(14, 21), [NULL, 14), (NULL, 51), (NULL, 32)}, {(14, 21), [14, ∞), (NULL, 51), (NULL, ∞)}, {(14, 21), [14, ∞), [51, 65), (NULL, 9)}, {(14, 21), [14, ∞), [51, 65), (9, ∞)}, {[21, 35), [NULL, 14), [25, 25], (NULL, 32)}, {[21, 35), [NULL, 14), (25, 51), (NULL, ∞)}, {[21, 35), [NULL, 14), [51, ∞), (NULL, 16)}, {[21, 35), [NULL, 14), [51, ∞), (16, ∞)}, {[21, 35), [14, ∞), [25, 65), (NULL, ∞)}, {[21, 35), [14, ∞), [65, ∞), (NULL, 16)}, {[21, 35), [14, ∞), [65, ∞), (16, ∞)}, {[21, 35], [NULL, ∞), (NULL, 25), (NULL, ∞)}, {[35, 35], [NULL, ∞), [25, 25], (NULL, 32)}, {[35, 35], [NULL, ∞), (25, 51), (NULL, ∞)}, {[35, 35], [NULL, ∞), [51, ∞), (NULL, 16)}, {[35, 35], [NULL, ∞), [51, ∞), (16, ∞)}, {(35, ∞), [NULL, 14), (NULL, 25), (NULL, ∞)}, {(35, ∞), [NULL, 14), [25, 25], (NULL, 32)}, {(35, ∞), [NULL, 14), (25, 51), (NULL, ∞)}, {(35, ∞), [NULL, 14), [51, ∞), (NULL, 16)}, {(35, ∞), [NULL, 14), [51, ∞), (16, ∞)}, {(35, ∞), [14, ∞), (NULL, 65), (NULL, ∞)}, {(35, ∞), [14, ∞), [65, ∞), (NULL, 16)}, {(35, ∞), [14, ∞), [65, ∞), (16, ∞)}]\n" + 10705 " ├─ colSet: (1-5)\n" + 10706 " ├─ tableId: 1\n" + 10707 " └─ Table\n" + 10708 " ├─ name: comp_index_t2\n" + 10709 " └─ columns: [pk v1 v2 v3 v4]\n" + 10710 "", 10711 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10712 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10713 " ├─ filters: [{(NULL, 14), [NULL, 14), (NULL, 51), (NULL, 32)}, {(NULL, 14), [14, ∞), (NULL, 51), (NULL, ∞)}, {(NULL, 14), [14, ∞), [51, 65), (NULL, 9)}, {(NULL, 14), [14, ∞), [51, 65), (9, ∞)}, {[14, 14], [14, ∞), (NULL, 65), (NULL, 9)}, {[14, 14], [14, ∞), (NULL, 65), (9, ∞)}, {(14, 21), [NULL, 14), (NULL, 51), (NULL, 32)}, {(14, 21), [14, ∞), (NULL, 51), (NULL, ∞)}, {(14, 21), [14, ∞), [51, 65), (NULL, 9)}, {(14, 21), [14, ∞), [51, 65), (9, ∞)}, {[21, 35), [NULL, 14), [25, 25], (NULL, 32)}, {[21, 35), [NULL, 14), (25, 51), (NULL, ∞)}, {[21, 35), [NULL, 14), [51, ∞), (NULL, 16)}, {[21, 35), [NULL, 14), [51, ∞), (16, ∞)}, {[21, 35), [14, ∞), [25, 65), (NULL, ∞)}, {[21, 35), [14, ∞), [65, ∞), (NULL, 16)}, {[21, 35), [14, ∞), [65, ∞), (16, ∞)}, {[21, 35], [NULL, ∞), (NULL, 25), (NULL, ∞)}, {[35, 35], [NULL, ∞), [25, 25], (NULL, 32)}, {[35, 35], [NULL, ∞), (25, 51), (NULL, ∞)}, {[35, 35], [NULL, ∞), [51, ∞), (NULL, 16)}, {[35, 35], [NULL, ∞), [51, ∞), (16, ∞)}, {(35, ∞), [NULL, 14), (NULL, 25), (NULL, ∞)}, {(35, ∞), [NULL, 14), [25, 25], (NULL, 32)}, {(35, ∞), [NULL, 14), (25, 51), (NULL, ∞)}, {(35, ∞), [NULL, 14), [51, ∞), (NULL, 16)}, {(35, ∞), [NULL, 14), [51, ∞), (16, ∞)}, {(35, ∞), [14, ∞), (NULL, 65), (NULL, ∞)}, {(35, ∞), [14, ∞), [65, ∞), (NULL, 16)}, {(35, ∞), [14, ∞), [65, ∞), (16, ∞)}]\n" + 10714 " └─ columns: [pk v1 v2 v3 v4]\n" + 10715 "", 10716 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10717 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10718 " ├─ filters: [{(NULL, 14), [NULL, 14), (NULL, 51), (NULL, 32)}, {(NULL, 14), [14, ∞), (NULL, 51), (NULL, ∞)}, {(NULL, 14), [14, ∞), [51, 65), (NULL, 9)}, {(NULL, 14), [14, ∞), [51, 65), (9, ∞)}, {[14, 14], [14, ∞), (NULL, 65), (NULL, 9)}, {[14, 14], [14, ∞), (NULL, 65), (9, ∞)}, {(14, 21), [NULL, 14), (NULL, 51), (NULL, 32)}, {(14, 21), [14, ∞), (NULL, 51), (NULL, ∞)}, {(14, 21), [14, ∞), [51, 65), (NULL, 9)}, {(14, 21), [14, ∞), [51, 65), (9, ∞)}, {[21, 35), [NULL, 14), [25, 25], (NULL, 32)}, {[21, 35), [NULL, 14), (25, 51), (NULL, ∞)}, {[21, 35), [NULL, 14), [51, ∞), (NULL, 16)}, {[21, 35), [NULL, 14), [51, ∞), (16, ∞)}, {[21, 35), [14, ∞), [25, 65), (NULL, ∞)}, {[21, 35), [14, ∞), [65, ∞), (NULL, 16)}, {[21, 35), [14, ∞), [65, ∞), (16, ∞)}, {[21, 35], [NULL, ∞), (NULL, 25), (NULL, ∞)}, {[35, 35], [NULL, ∞), [25, 25], (NULL, 32)}, {[35, 35], [NULL, ∞), (25, 51), (NULL, ∞)}, {[35, 35], [NULL, ∞), [51, ∞), (NULL, 16)}, {[35, 35], [NULL, ∞), [51, ∞), (16, ∞)}, {(35, ∞), [NULL, 14), (NULL, 25), (NULL, ∞)}, {(35, ∞), [NULL, 14), [25, 25], (NULL, 32)}, {(35, ∞), [NULL, 14), (25, 51), (NULL, ∞)}, {(35, ∞), [NULL, 14), [51, ∞), (NULL, 16)}, {(35, ∞), [NULL, 14), [51, ∞), (16, ∞)}, {(35, ∞), [14, ∞), (NULL, 65), (NULL, ∞)}, {(35, ∞), [14, ∞), [65, ∞), (NULL, 16)}, {(35, ∞), [14, ∞), [65, ∞), (16, ∞)}]\n" + 10719 " └─ columns: [pk v1 v2 v3 v4]\n" + 10720 "", 10721 }, 10722 { 10723 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>12 AND v2<0) OR (v1=36 AND v3<37));`, 10724 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10725 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10726 " ├─ static: [{(12, ∞), (NULL, 0), [NULL, ∞), [NULL, ∞)}, {[36, 36], [NULL, NULL], (NULL, 37), [NULL, ∞)}, {[36, 36], [0, ∞), (NULL, 37), [NULL, ∞)}]\n" + 10727 " ├─ colSet: (1-5)\n" + 10728 " ├─ tableId: 1\n" + 10729 " └─ Table\n" + 10730 " ├─ name: comp_index_t2\n" + 10731 " └─ columns: [pk v1 v2 v3 v4]\n" + 10732 "", 10733 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10734 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10735 " ├─ filters: [{(12, ∞), (NULL, 0), [NULL, ∞), [NULL, ∞)}, {[36, 36], [NULL, NULL], (NULL, 37), [NULL, ∞)}, {[36, 36], [0, ∞), (NULL, 37), [NULL, ∞)}]\n" + 10736 " └─ columns: [pk v1 v2 v3 v4]\n" + 10737 "", 10738 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10739 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10740 " ├─ filters: [{(12, ∞), (NULL, 0), [NULL, ∞), [NULL, ∞)}, {[36, 36], [NULL, NULL], (NULL, 37), [NULL, ∞)}, {[36, 36], [0, ∞), (NULL, 37), [NULL, ∞)}]\n" + 10741 " └─ columns: [pk v1 v2 v3 v4]\n" + 10742 "", 10743 }, 10744 { 10745 Query: `SELECT * FROM comp_index_t2 WHERE (v1=83 AND v3>=72 AND v4<=74) AND (v1>61 AND v2 BETWEEN 32 AND 44);`, 10746 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10747 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10748 " ├─ static: [{[83, 83], [32, 44], [72, ∞), (NULL, 74]}]\n" + 10749 " ├─ colSet: (1-5)\n" + 10750 " ├─ tableId: 1\n" + 10751 " └─ Table\n" + 10752 " ├─ name: comp_index_t2\n" + 10753 " └─ columns: [pk v1 v2 v3 v4]\n" + 10754 "", 10755 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10756 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10757 " ├─ filters: [{[83, 83], [32, 44], [72, ∞), (NULL, 74]}]\n" + 10758 " └─ columns: [pk v1 v2 v3 v4]\n" + 10759 "", 10760 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10761 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10762 " ├─ filters: [{[83, 83], [32, 44], [72, ∞), (NULL, 74]}]\n" + 10763 " └─ columns: [pk v1 v2 v3 v4]\n" + 10764 "", 10765 }, 10766 { 10767 Query: `SELECT * FROM comp_index_t2 WHERE (v1=78 AND v2>28 AND v3<=47) AND (v1<35 AND v2=69 AND v3>16);`, 10768 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10769 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10770 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10771 " ├─ colSet: (1-5)\n" + 10772 " ├─ tableId: 1\n" + 10773 " └─ Table\n" + 10774 " ├─ name: comp_index_t2\n" + 10775 " └─ columns: [pk v1 v2 v3 v4]\n" + 10776 "", 10777 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10778 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10779 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10780 " └─ columns: [pk v1 v2 v3 v4]\n" + 10781 "", 10782 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10783 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10784 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10785 " └─ columns: [pk v1 v2 v3 v4]\n" + 10786 "", 10787 }, 10788 { 10789 Query: `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 31 AND 49 AND v2=20 AND v3 BETWEEN 8 AND 46) AND (v1<>57 AND v2<5);`, 10790 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10791 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10792 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10793 " ├─ colSet: (1-5)\n" + 10794 " ├─ tableId: 1\n" + 10795 " └─ Table\n" + 10796 " ├─ name: comp_index_t2\n" + 10797 " └─ columns: [pk v1 v2 v3 v4]\n" + 10798 "", 10799 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10800 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10801 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10802 " └─ columns: [pk v1 v2 v3 v4]\n" + 10803 "", 10804 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10805 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10806 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 10807 " └─ columns: [pk v1 v2 v3 v4]\n" + 10808 "", 10809 }, 10810 { 10811 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=39 AND v2<>3) OR (v1=97 AND v2<>37));`, 10812 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10813 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10814 " ├─ static: [{(NULL, 39], (NULL, 3), [NULL, ∞), [NULL, ∞)}, {(NULL, 39], (3, ∞), [NULL, ∞), [NULL, ∞)}, {[97, 97], (NULL, 37), [NULL, ∞), [NULL, ∞)}, {[97, 97], (37, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10815 " ├─ colSet: (1-5)\n" + 10816 " ├─ tableId: 1\n" + 10817 " └─ Table\n" + 10818 " ├─ name: comp_index_t2\n" + 10819 " └─ columns: [pk v1 v2 v3 v4]\n" + 10820 "", 10821 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10822 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10823 " ├─ filters: [{(NULL, 39], (NULL, 3), [NULL, ∞), [NULL, ∞)}, {(NULL, 39], (3, ∞), [NULL, ∞), [NULL, ∞)}, {[97, 97], (NULL, 37), [NULL, ∞), [NULL, ∞)}, {[97, 97], (37, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10824 " └─ columns: [pk v1 v2 v3 v4]\n" + 10825 "", 10826 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10827 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10828 " ├─ filters: [{(NULL, 39], (NULL, 3), [NULL, ∞), [NULL, ∞)}, {(NULL, 39], (3, ∞), [NULL, ∞), [NULL, ∞)}, {[97, 97], (NULL, 37), [NULL, ∞), [NULL, ∞)}, {[97, 97], (37, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10829 " └─ columns: [pk v1 v2 v3 v4]\n" + 10830 "", 10831 }, 10832 { 10833 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=19 AND v4<>62 AND v2<>19 AND v3<>29) OR (v1 BETWEEN 37 AND 75 AND v4<23 AND v2 BETWEEN 6 AND 43));`, 10834 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10835 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10836 " ├─ static: [{[19, ∞), (NULL, 19), (NULL, 29), (NULL, 62)}, {[19, ∞), (NULL, 19), (NULL, 29), (62, ∞)}, {[19, ∞), (NULL, 19), (29, ∞), (NULL, 62)}, {[19, ∞), (NULL, 19), (29, ∞), (62, ∞)}, {[19, ∞), (19, ∞), (NULL, 29), (NULL, 62)}, {[19, ∞), (19, ∞), (NULL, 29), (62, ∞)}, {[19, ∞), (19, ∞), (29, ∞), (NULL, 62)}, {[19, ∞), (19, ∞), (29, ∞), (62, ∞)}, {[37, 75], [6, 19), [NULL, NULL], (NULL, 23)}, {[37, 75], [6, 19), [29, 29], (NULL, 23)}, {[37, 75], [19, 19], [NULL, ∞), (NULL, 23)}, {[37, 75], (19, 43], [NULL, NULL], (NULL, 23)}, {[37, 75], (19, 43], [29, 29], (NULL, 23)}]\n" + 10837 " ├─ colSet: (1-5)\n" + 10838 " ├─ tableId: 1\n" + 10839 " └─ Table\n" + 10840 " ├─ name: comp_index_t2\n" + 10841 " └─ columns: [pk v1 v2 v3 v4]\n" + 10842 "", 10843 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10844 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10845 " ├─ filters: [{[19, ∞), (NULL, 19), (NULL, 29), (NULL, 62)}, {[19, ∞), (NULL, 19), (NULL, 29), (62, ∞)}, {[19, ∞), (NULL, 19), (29, ∞), (NULL, 62)}, {[19, ∞), (NULL, 19), (29, ∞), (62, ∞)}, {[19, ∞), (19, ∞), (NULL, 29), (NULL, 62)}, {[19, ∞), (19, ∞), (NULL, 29), (62, ∞)}, {[19, ∞), (19, ∞), (29, ∞), (NULL, 62)}, {[19, ∞), (19, ∞), (29, ∞), (62, ∞)}, {[37, 75], [6, 19), [NULL, NULL], (NULL, 23)}, {[37, 75], [6, 19), [29, 29], (NULL, 23)}, {[37, 75], [19, 19], [NULL, ∞), (NULL, 23)}, {[37, 75], (19, 43], [NULL, NULL], (NULL, 23)}, {[37, 75], (19, 43], [29, 29], (NULL, 23)}]\n" + 10846 " └─ columns: [pk v1 v2 v3 v4]\n" + 10847 "", 10848 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10849 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10850 " ├─ filters: [{[19, ∞), (NULL, 19), (NULL, 29), (NULL, 62)}, {[19, ∞), (NULL, 19), (NULL, 29), (62, ∞)}, {[19, ∞), (NULL, 19), (29, ∞), (NULL, 62)}, {[19, ∞), (NULL, 19), (29, ∞), (62, ∞)}, {[19, ∞), (19, ∞), (NULL, 29), (NULL, 62)}, {[19, ∞), (19, ∞), (NULL, 29), (62, ∞)}, {[19, ∞), (19, ∞), (29, ∞), (NULL, 62)}, {[19, ∞), (19, ∞), (29, ∞), (62, ∞)}, {[37, 75], [6, 19), [NULL, NULL], (NULL, 23)}, {[37, 75], [6, 19), [29, 29], (NULL, 23)}, {[37, 75], [19, 19], [NULL, ∞), (NULL, 23)}, {[37, 75], (19, 43], [NULL, NULL], (NULL, 23)}, {[37, 75], (19, 43], [29, 29], (NULL, 23)}]\n" + 10851 " └─ columns: [pk v1 v2 v3 v4]\n" + 10852 "", 10853 }, 10854 { 10855 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<8 AND v2<=33 AND v3 BETWEEN 54 AND 85) OR (v1=46));`, 10856 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10857 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10858 " ├─ static: [{(NULL, 8), (NULL, 33], [54, 85], [NULL, ∞)}, {[46, 46], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10859 " ├─ colSet: (1-5)\n" + 10860 " ├─ tableId: 1\n" + 10861 " └─ Table\n" + 10862 " ├─ name: comp_index_t2\n" + 10863 " └─ columns: [pk v1 v2 v3 v4]\n" + 10864 "", 10865 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10866 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10867 " ├─ filters: [{(NULL, 8), (NULL, 33], [54, 85], [NULL, ∞)}, {[46, 46], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10868 " └─ columns: [pk v1 v2 v3 v4]\n" + 10869 "", 10870 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10871 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10872 " ├─ filters: [{(NULL, 8), (NULL, 33], [54, 85], [NULL, ∞)}, {[46, 46], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10873 " └─ columns: [pk v1 v2 v3 v4]\n" + 10874 "", 10875 }, 10876 { 10877 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=69 AND v2<8) AND (v1>=34 AND v2>=99 AND v3>96 AND v4 BETWEEN 36 AND 99) OR (v1=0 AND v2>=71));`, 10878 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10879 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10880 " ├─ static: [{[0, 0], [71, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10881 " ├─ colSet: (1-5)\n" + 10882 " ├─ tableId: 1\n" + 10883 " └─ Table\n" + 10884 " ├─ name: comp_index_t2\n" + 10885 " └─ columns: [pk v1 v2 v3 v4]\n" + 10886 "", 10887 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10888 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10889 " ├─ filters: [{[0, 0], [71, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10890 " └─ columns: [pk v1 v2 v3 v4]\n" + 10891 "", 10892 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10893 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10894 " ├─ filters: [{[0, 0], [71, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10895 " └─ columns: [pk v1 v2 v3 v4]\n" + 10896 "", 10897 }, 10898 { 10899 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 20 AND 54 AND v2<>31 AND v3 BETWEEN 15 AND 21) OR (v1<=46 AND v3>76)) OR (v1 BETWEEN 31 AND 71));`, 10900 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10901 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10902 " ├─ static: [{(NULL, 31), [NULL, ∞), (76, ∞), [NULL, ∞)}, {[20, 31), (NULL, 31), [15, 21], [NULL, ∞)}, {[20, 31), (31, ∞), [15, 21], [NULL, ∞)}, {[31, 71], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10903 " ├─ colSet: (1-5)\n" + 10904 " ├─ tableId: 1\n" + 10905 " └─ Table\n" + 10906 " ├─ name: comp_index_t2\n" + 10907 " └─ columns: [pk v1 v2 v3 v4]\n" + 10908 "", 10909 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10910 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10911 " ├─ filters: [{(NULL, 31), [NULL, ∞), (76, ∞), [NULL, ∞)}, {[20, 31), (NULL, 31), [15, 21], [NULL, ∞)}, {[20, 31), (31, ∞), [15, 21], [NULL, ∞)}, {[31, 71], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10912 " └─ columns: [pk v1 v2 v3 v4]\n" + 10913 "", 10914 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10915 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10916 " ├─ filters: [{(NULL, 31), [NULL, ∞), (76, ∞), [NULL, ∞)}, {[20, 31), (NULL, 31), [15, 21], [NULL, ∞)}, {[20, 31), (31, ∞), [15, 21], [NULL, ∞)}, {[31, 71], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10917 " └─ columns: [pk v1 v2 v3 v4]\n" + 10918 "", 10919 }, 10920 { 10921 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>37 AND v2<>5 AND v3=8 AND v4 BETWEEN 26 AND 50) OR (v1>=53)) AND (v1 BETWEEN 5 AND 80);`, 10922 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10923 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10924 " ├─ static: [{(37, 53), (NULL, 5), [8, 8], [26, 50]}, {(37, 53), (5, ∞), [8, 8], [26, 50]}, {[53, 80], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10925 " ├─ colSet: (1-5)\n" + 10926 " ├─ tableId: 1\n" + 10927 " └─ Table\n" + 10928 " ├─ name: comp_index_t2\n" + 10929 " └─ columns: [pk v1 v2 v3 v4]\n" + 10930 "", 10931 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10932 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10933 " ├─ filters: [{(37, 53), (NULL, 5), [8, 8], [26, 50]}, {(37, 53), (5, ∞), [8, 8], [26, 50]}, {[53, 80], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10934 " └─ columns: [pk v1 v2 v3 v4]\n" + 10935 "", 10936 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10937 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10938 " ├─ filters: [{(37, 53), (NULL, 5), [8, 8], [26, 50]}, {(37, 53), (5, ∞), [8, 8], [26, 50]}, {[53, 80], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10939 " └─ columns: [pk v1 v2 v3 v4]\n" + 10940 "", 10941 }, 10942 { 10943 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=25) OR (v1<=87));`, 10944 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10945 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10946 " ├─ static: [{(NULL, 87], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10947 " ├─ colSet: (1-5)\n" + 10948 " ├─ tableId: 1\n" + 10949 " └─ Table\n" + 10950 " ├─ name: comp_index_t2\n" + 10951 " └─ columns: [pk v1 v2 v3 v4]\n" + 10952 "", 10953 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10954 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10955 " ├─ filters: [{(NULL, 87], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10956 " └─ columns: [pk v1 v2 v3 v4]\n" + 10957 "", 10958 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10959 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10960 " ├─ filters: [{(NULL, 87], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 10961 " └─ columns: [pk v1 v2 v3 v4]\n" + 10962 "", 10963 }, 10964 { 10965 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=99 AND v2>=85) AND (v1<=83 AND v2=99) OR (v1<=6 AND v2 BETWEEN 36 AND 68 AND v3>62 AND v4=79));`, 10966 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10967 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10968 " ├─ static: [{(NULL, 6], [36, 68], (62, ∞), [79, 79]}]\n" + 10969 " ├─ colSet: (1-5)\n" + 10970 " ├─ tableId: 1\n" + 10971 " └─ Table\n" + 10972 " ├─ name: comp_index_t2\n" + 10973 " └─ columns: [pk v1 v2 v3 v4]\n" + 10974 "", 10975 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10976 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10977 " ├─ filters: [{(NULL, 6], [36, 68], (62, ∞), [79, 79]}]\n" + 10978 " └─ columns: [pk v1 v2 v3 v4]\n" + 10979 "", 10980 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 10981 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10982 " ├─ filters: [{(NULL, 6], [36, 68], (62, ∞), [79, 79]}]\n" + 10983 " └─ columns: [pk v1 v2 v3 v4]\n" + 10984 "", 10985 }, 10986 { 10987 Query: `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 30 AND 32 AND v2<68 AND v3<24) AND (v1>=32);`, 10988 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 10989 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10990 " ├─ static: [{[32, 32], (NULL, 68), (NULL, 24), [NULL, ∞)}]\n" + 10991 " ├─ colSet: (1-5)\n" + 10992 " ├─ tableId: 1\n" + 10993 " └─ Table\n" + 10994 " ├─ name: comp_index_t2\n" + 10995 " └─ columns: [pk v1 v2 v3 v4]\n" + 10996 "", 10997 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 10998 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 10999 " ├─ filters: [{[32, 32], (NULL, 68), (NULL, 24), [NULL, ∞)}]\n" + 11000 " └─ columns: [pk v1 v2 v3 v4]\n" + 11001 "", 11002 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11003 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11004 " ├─ filters: [{[32, 32], (NULL, 68), (NULL, 24), [NULL, ∞)}]\n" + 11005 " └─ columns: [pk v1 v2 v3 v4]\n" + 11006 "", 11007 }, 11008 { 11009 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>62 AND v2>0) OR (v1<>80 AND v2>55 AND v3=10 AND v4=91));`, 11010 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11011 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11012 " ├─ static: [{(NULL, 62], (55, ∞), [10, 10], [91, 91]}, {(62, ∞), (0, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11013 " ├─ colSet: (1-5)\n" + 11014 " ├─ tableId: 1\n" + 11015 " └─ Table\n" + 11016 " ├─ name: comp_index_t2\n" + 11017 " └─ columns: [pk v1 v2 v3 v4]\n" + 11018 "", 11019 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11020 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11021 " ├─ filters: [{(NULL, 62], (55, ∞), [10, 10], [91, 91]}, {(62, ∞), (0, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11022 " └─ columns: [pk v1 v2 v3 v4]\n" + 11023 "", 11024 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11025 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11026 " ├─ filters: [{(NULL, 62], (55, ∞), [10, 10], [91, 91]}, {(62, ∞), (0, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11027 " └─ columns: [pk v1 v2 v3 v4]\n" + 11028 "", 11029 }, 11030 { 11031 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=7 AND v2 BETWEEN 55 AND 81) OR (v1<>56 AND v2<=76 AND v3<>36)) AND (v1<56 AND v2<>69 AND v3=25);`, 11032 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11033 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11034 " ├─ static: [{(NULL, 7], (69, 81], [25, 25], [NULL, ∞)}, {(NULL, 56), (NULL, 69), [25, 25], [NULL, ∞)}, {(7, 56), (69, 76], [25, 25], [NULL, ∞)}]\n" + 11035 " ├─ colSet: (1-5)\n" + 11036 " ├─ tableId: 1\n" + 11037 " └─ Table\n" + 11038 " ├─ name: comp_index_t2\n" + 11039 " └─ columns: [pk v1 v2 v3 v4]\n" + 11040 "", 11041 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11042 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11043 " ├─ filters: [{(NULL, 7], (69, 81], [25, 25], [NULL, ∞)}, {(NULL, 56), (NULL, 69), [25, 25], [NULL, ∞)}, {(7, 56), (69, 76], [25, 25], [NULL, ∞)}]\n" + 11044 " └─ columns: [pk v1 v2 v3 v4]\n" + 11045 "", 11046 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11047 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11048 " ├─ filters: [{(NULL, 7], (69, 81], [25, 25], [NULL, ∞)}, {(NULL, 56), (NULL, 69), [25, 25], [NULL, ∞)}, {(7, 56), (69, 76], [25, 25], [NULL, ∞)}]\n" + 11049 " └─ columns: [pk v1 v2 v3 v4]\n" + 11050 "", 11051 }, 11052 { 11053 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>18) OR (v1>=42 AND v2<=65 AND v3=87 AND v4=80));`, 11054 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11055 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11056 " ├─ static: [{(NULL, 18), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(18, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11057 " ├─ colSet: (1-5)\n" + 11058 " ├─ tableId: 1\n" + 11059 " └─ Table\n" + 11060 " ├─ name: comp_index_t2\n" + 11061 " └─ columns: [pk v1 v2 v3 v4]\n" + 11062 "", 11063 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11064 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11065 " ├─ filters: [{(NULL, 18), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(18, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11066 " └─ columns: [pk v1 v2 v3 v4]\n" + 11067 "", 11068 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11069 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11070 " ├─ filters: [{(NULL, 18), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(18, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11071 " └─ columns: [pk v1 v2 v3 v4]\n" + 11072 "", 11073 }, 11074 { 11075 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=27) OR (v1<23 AND v2>=41));`, 11076 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11077 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11078 " ├─ static: [{(NULL, 27], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11079 " ├─ colSet: (1-5)\n" + 11080 " ├─ tableId: 1\n" + 11081 " └─ Table\n" + 11082 " ├─ name: comp_index_t2\n" + 11083 " └─ columns: [pk v1 v2 v3 v4]\n" + 11084 "", 11085 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11086 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11087 " ├─ filters: [{(NULL, 27], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11088 " └─ columns: [pk v1 v2 v3 v4]\n" + 11089 "", 11090 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11091 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11092 " ├─ filters: [{(NULL, 27], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11093 " └─ columns: [pk v1 v2 v3 v4]\n" + 11094 "", 11095 }, 11096 { 11097 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>71 AND v4>0) OR (v1<48 AND v2=89 AND v3>=46 AND v4<=32)) OR (v1<62 AND v2>=33 AND v3>58)) OR (v1>=31 AND v3<>71));`, 11098 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11099 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11100 " ├─ static: [{(NULL, 31), [33, ∞), (58, ∞), [NULL, ∞)}, {(NULL, 31), [89, 89], [46, 58], (NULL, 32]}, {[31, 62), [NULL, 33), (NULL, 71), [NULL, ∞)}, {[31, 62), [NULL, 33), (71, ∞), [NULL, ∞)}, {[31, 62), [33, ∞), (NULL, ∞), [NULL, ∞)}, {[62, ∞), [NULL, ∞), (NULL, 71), [NULL, ∞)}, {[62, ∞), [NULL, ∞), (71, ∞), [NULL, ∞)}, {(71, ∞), [NULL, ∞), [NULL, NULL], (0, ∞)}, {(71, ∞), [NULL, ∞), [71, 71], (0, ∞)}]\n" + 11101 " ├─ colSet: (1-5)\n" + 11102 " ├─ tableId: 1\n" + 11103 " └─ Table\n" + 11104 " ├─ name: comp_index_t2\n" + 11105 " └─ columns: [pk v1 v2 v3 v4]\n" + 11106 "", 11107 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11108 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11109 " ├─ filters: [{(NULL, 31), [33, ∞), (58, ∞), [NULL, ∞)}, {(NULL, 31), [89, 89], [46, 58], (NULL, 32]}, {[31, 62), [NULL, 33), (NULL, 71), [NULL, ∞)}, {[31, 62), [NULL, 33), (71, ∞), [NULL, ∞)}, {[31, 62), [33, ∞), (NULL, ∞), [NULL, ∞)}, {[62, ∞), [NULL, ∞), (NULL, 71), [NULL, ∞)}, {[62, ∞), [NULL, ∞), (71, ∞), [NULL, ∞)}, {(71, ∞), [NULL, ∞), [NULL, NULL], (0, ∞)}, {(71, ∞), [NULL, ∞), [71, 71], (0, ∞)}]\n" + 11110 " └─ columns: [pk v1 v2 v3 v4]\n" + 11111 "", 11112 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11113 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11114 " ├─ filters: [{(NULL, 31), [33, ∞), (58, ∞), [NULL, ∞)}, {(NULL, 31), [89, 89], [46, 58], (NULL, 32]}, {[31, 62), [NULL, 33), (NULL, 71), [NULL, ∞)}, {[31, 62), [NULL, 33), (71, ∞), [NULL, ∞)}, {[31, 62), [33, ∞), (NULL, ∞), [NULL, ∞)}, {[62, ∞), [NULL, ∞), (NULL, 71), [NULL, ∞)}, {[62, ∞), [NULL, ∞), (71, ∞), [NULL, ∞)}, {(71, ∞), [NULL, ∞), [NULL, NULL], (0, ∞)}, {(71, ∞), [NULL, ∞), [71, 71], (0, ∞)}]\n" + 11115 " └─ columns: [pk v1 v2 v3 v4]\n" + 11116 "", 11117 }, 11118 { 11119 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 9 AND 40 AND v3<=43 AND v4=62 AND v2>=43) OR (v1=61 AND v2>12 AND v3 BETWEEN 0 AND 13 AND v4>=8));`, 11120 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11121 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11122 " ├─ static: [{[9, 40], [43, ∞), (NULL, 43], [62, 62]}, {[61, 61], (12, ∞), [0, 13], [8, ∞)}]\n" + 11123 " ├─ colSet: (1-5)\n" + 11124 " ├─ tableId: 1\n" + 11125 " └─ Table\n" + 11126 " ├─ name: comp_index_t2\n" + 11127 " └─ columns: [pk v1 v2 v3 v4]\n" + 11128 "", 11129 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11130 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11131 " ├─ filters: [{[9, 40], [43, ∞), (NULL, 43], [62, 62]}, {[61, 61], (12, ∞), [0, 13], [8, ∞)}]\n" + 11132 " └─ columns: [pk v1 v2 v3 v4]\n" + 11133 "", 11134 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11135 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11136 " ├─ filters: [{[9, 40], [43, ∞), (NULL, 43], [62, 62]}, {[61, 61], (12, ∞), [0, 13], [8, ∞)}]\n" + 11137 " └─ columns: [pk v1 v2 v3 v4]\n" + 11138 "", 11139 }, 11140 { 11141 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<58) OR (v1 BETWEEN 17 AND 20 AND v2<>99 AND v3<=76)) OR (v1 BETWEEN 48 AND 87)) OR (v1<39 AND v2 BETWEEN 48 AND 94 AND v3<>0));`, 11142 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11143 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11144 " ├─ static: [{(NULL, 87], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11145 " ├─ colSet: (1-5)\n" + 11146 " ├─ tableId: 1\n" + 11147 " └─ Table\n" + 11148 " ├─ name: comp_index_t2\n" + 11149 " └─ columns: [pk v1 v2 v3 v4]\n" + 11150 "", 11151 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11152 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11153 " ├─ filters: [{(NULL, 87], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11154 " └─ columns: [pk v1 v2 v3 v4]\n" + 11155 "", 11156 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11157 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11158 " ├─ filters: [{(NULL, 87], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11159 " └─ columns: [pk v1 v2 v3 v4]\n" + 11160 "", 11161 }, 11162 { 11163 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=33) OR (v1 BETWEEN 7 AND 41 AND v2<82 AND v3<53 AND v4<>3));`, 11164 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11165 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11166 " ├─ static: [{[7, 33), (NULL, 82), (NULL, 53), (NULL, 3)}, {[7, 33), (NULL, 82), (NULL, 53), (3, ∞)}, {[33, 33], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(33, 41], (NULL, 82), (NULL, 53), (NULL, 3)}, {(33, 41], (NULL, 82), (NULL, 53), (3, ∞)}]\n" + 11167 " ├─ colSet: (1-5)\n" + 11168 " ├─ tableId: 1\n" + 11169 " └─ Table\n" + 11170 " ├─ name: comp_index_t2\n" + 11171 " └─ columns: [pk v1 v2 v3 v4]\n" + 11172 "", 11173 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11174 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11175 " ├─ filters: [{[7, 33), (NULL, 82), (NULL, 53), (NULL, 3)}, {[7, 33), (NULL, 82), (NULL, 53), (3, ∞)}, {[33, 33], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(33, 41], (NULL, 82), (NULL, 53), (NULL, 3)}, {(33, 41], (NULL, 82), (NULL, 53), (3, ∞)}]\n" + 11176 " └─ columns: [pk v1 v2 v3 v4]\n" + 11177 "", 11178 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11179 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11180 " ├─ filters: [{[7, 33), (NULL, 82), (NULL, 53), (NULL, 3)}, {[7, 33), (NULL, 82), (NULL, 53), (3, ∞)}, {[33, 33], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(33, 41], (NULL, 82), (NULL, 53), (NULL, 3)}, {(33, 41], (NULL, 82), (NULL, 53), (3, ∞)}]\n" + 11181 " └─ columns: [pk v1 v2 v3 v4]\n" + 11182 "", 11183 }, 11184 { 11185 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=9 AND v4=22 AND v2>=95) OR (v1>96));`, 11186 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11187 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11188 " ├─ static: [{(NULL, 9], [95, ∞), [NULL, ∞), [22, 22]}, {(96, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11189 " ├─ colSet: (1-5)\n" + 11190 " ├─ tableId: 1\n" + 11191 " └─ Table\n" + 11192 " ├─ name: comp_index_t2\n" + 11193 " └─ columns: [pk v1 v2 v3 v4]\n" + 11194 "", 11195 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11196 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11197 " ├─ filters: [{(NULL, 9], [95, ∞), [NULL, ∞), [22, 22]}, {(96, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11198 " └─ columns: [pk v1 v2 v3 v4]\n" + 11199 "", 11200 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11201 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11202 " ├─ filters: [{(NULL, 9], [95, ∞), [NULL, ∞), [22, 22]}, {(96, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11203 " └─ columns: [pk v1 v2 v3 v4]\n" + 11204 "", 11205 }, 11206 { 11207 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=56) OR (v1>=31 AND v4<38 AND v2>20)) OR (v1=91 AND v2<48));`, 11208 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11209 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11210 " ├─ static: [{(NULL, 56], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(56, 91), (20, ∞), [NULL, ∞), (NULL, 38)}, {[91, 91], (NULL, 48), [NULL, ∞), [NULL, ∞)}, {[91, 91], [48, ∞), [NULL, ∞), (NULL, 38)}, {(91, ∞), (20, ∞), [NULL, ∞), (NULL, 38)}]\n" + 11211 " ├─ colSet: (1-5)\n" + 11212 " ├─ tableId: 1\n" + 11213 " └─ Table\n" + 11214 " ├─ name: comp_index_t2\n" + 11215 " └─ columns: [pk v1 v2 v3 v4]\n" + 11216 "", 11217 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11218 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11219 " ├─ filters: [{(NULL, 56], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(56, 91), (20, ∞), [NULL, ∞), (NULL, 38)}, {[91, 91], (NULL, 48), [NULL, ∞), [NULL, ∞)}, {[91, 91], [48, ∞), [NULL, ∞), (NULL, 38)}, {(91, ∞), (20, ∞), [NULL, ∞), (NULL, 38)}]\n" + 11220 " └─ columns: [pk v1 v2 v3 v4]\n" + 11221 "", 11222 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11223 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11224 " ├─ filters: [{(NULL, 56], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(56, 91), (20, ∞), [NULL, ∞), (NULL, 38)}, {[91, 91], (NULL, 48), [NULL, ∞), [NULL, ∞)}, {[91, 91], [48, ∞), [NULL, ∞), (NULL, 38)}, {(91, ∞), (20, ∞), [NULL, ∞), (NULL, 38)}]\n" + 11225 " └─ columns: [pk v1 v2 v3 v4]\n" + 11226 "", 11227 }, 11228 { 11229 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=75 AND v4<=30) OR (v1>=41 AND v2 BETWEEN 16 AND 25 AND v3>=99));`, 11230 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11231 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11232 " ├─ static: [{(NULL, 41), [NULL, ∞), [NULL, ∞), (NULL, 30]}, {[41, 75], [NULL, 16), [NULL, ∞), (NULL, 30]}, {[41, 75], [16, 25], [NULL, 99), (NULL, 30]}, {[41, 75], (25, ∞), [NULL, ∞), (NULL, 30]}, {[41, ∞), [16, 25], [99, ∞), [NULL, ∞)}]\n" + 11233 " ├─ colSet: (1-5)\n" + 11234 " ├─ tableId: 1\n" + 11235 " └─ Table\n" + 11236 " ├─ name: comp_index_t2\n" + 11237 " └─ columns: [pk v1 v2 v3 v4]\n" + 11238 "", 11239 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11240 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11241 " ├─ filters: [{(NULL, 41), [NULL, ∞), [NULL, ∞), (NULL, 30]}, {[41, 75], [NULL, 16), [NULL, ∞), (NULL, 30]}, {[41, 75], [16, 25], [NULL, 99), (NULL, 30]}, {[41, 75], (25, ∞), [NULL, ∞), (NULL, 30]}, {[41, ∞), [16, 25], [99, ∞), [NULL, ∞)}]\n" + 11242 " └─ columns: [pk v1 v2 v3 v4]\n" + 11243 "", 11244 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11245 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11246 " ├─ filters: [{(NULL, 41), [NULL, ∞), [NULL, ∞), (NULL, 30]}, {[41, 75], [NULL, 16), [NULL, ∞), (NULL, 30]}, {[41, 75], [16, 25], [NULL, 99), (NULL, 30]}, {[41, 75], (25, ∞), [NULL, ∞), (NULL, 30]}, {[41, ∞), [16, 25], [99, ∞), [NULL, ∞)}]\n" + 11247 " └─ columns: [pk v1 v2 v3 v4]\n" + 11248 "", 11249 }, 11250 { 11251 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 2 AND 64) OR (v1>=23));`, 11252 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11253 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11254 " ├─ static: [{[2, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11255 " ├─ colSet: (1-5)\n" + 11256 " ├─ tableId: 1\n" + 11257 " └─ Table\n" + 11258 " ├─ name: comp_index_t2\n" + 11259 " └─ columns: [pk v1 v2 v3 v4]\n" + 11260 "", 11261 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11262 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11263 " ├─ filters: [{[2, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11264 " └─ columns: [pk v1 v2 v3 v4]\n" + 11265 "", 11266 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11267 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11268 " ├─ filters: [{[2, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11269 " └─ columns: [pk v1 v2 v3 v4]\n" + 11270 "", 11271 }, 11272 { 11273 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=26 AND v2<1 AND v3=82 AND v4<=42) OR (v1 BETWEEN 42 AND 73));`, 11274 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11275 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11276 " ├─ static: [{(NULL, 26], (NULL, 1), [82, 82], (NULL, 42]}, {[42, 73], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11277 " ├─ colSet: (1-5)\n" + 11278 " ├─ tableId: 1\n" + 11279 " └─ Table\n" + 11280 " ├─ name: comp_index_t2\n" + 11281 " └─ columns: [pk v1 v2 v3 v4]\n" + 11282 "", 11283 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11284 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11285 " ├─ filters: [{(NULL, 26], (NULL, 1), [82, 82], (NULL, 42]}, {[42, 73], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11286 " └─ columns: [pk v1 v2 v3 v4]\n" + 11287 "", 11288 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11289 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11290 " ├─ filters: [{(NULL, 26], (NULL, 1), [82, 82], (NULL, 42]}, {[42, 73], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11291 " └─ columns: [pk v1 v2 v3 v4]\n" + 11292 "", 11293 }, 11294 { 11295 Query: `SELECT * FROM comp_index_t2 WHERE (v1>=23 AND v2<=10) AND (v1>=75 AND v4 BETWEEN 24 AND 68) AND (v1>44 AND v2>8 AND v3<=16);`, 11296 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11297 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11298 " ├─ static: [{[75, ∞), (8, 10], (NULL, 16], [24, 68]}]\n" + 11299 " ├─ colSet: (1-5)\n" + 11300 " ├─ tableId: 1\n" + 11301 " └─ Table\n" + 11302 " ├─ name: comp_index_t2\n" + 11303 " └─ columns: [pk v1 v2 v3 v4]\n" + 11304 "", 11305 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11306 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11307 " ├─ filters: [{[75, ∞), (8, 10], (NULL, 16], [24, 68]}]\n" + 11308 " └─ columns: [pk v1 v2 v3 v4]\n" + 11309 "", 11310 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11311 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11312 " ├─ filters: [{[75, ∞), (8, 10], (NULL, 16], [24, 68]}]\n" + 11313 " └─ columns: [pk v1 v2 v3 v4]\n" + 11314 "", 11315 }, 11316 { 11317 Query: `SELECT * FROM comp_index_t2 WHERE (((((v1>6 AND v2>61 AND v3=0 AND v4>=76) OR (v1<23)) OR (v1<>46 AND v2=29 AND v3>4)) OR (v1>=59)) OR (v1=87 AND v2<=98 AND v3>=47));`, 11318 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11319 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11320 " ├─ static: [{(NULL, 23), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[23, 46), [29, 29], (4, ∞), [NULL, ∞)}, {[23, 59), (61, ∞), [0, 0], [76, ∞)}, {(46, 59), [29, 29], (4, ∞), [NULL, ∞)}, {[59, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11321 " ├─ colSet: (1-5)\n" + 11322 " ├─ tableId: 1\n" + 11323 " └─ Table\n" + 11324 " ├─ name: comp_index_t2\n" + 11325 " └─ columns: [pk v1 v2 v3 v4]\n" + 11326 "", 11327 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11328 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11329 " ├─ filters: [{(NULL, 23), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[23, 46), [29, 29], (4, ∞), [NULL, ∞)}, {[23, 59), (61, ∞), [0, 0], [76, ∞)}, {(46, 59), [29, 29], (4, ∞), [NULL, ∞)}, {[59, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11330 " └─ columns: [pk v1 v2 v3 v4]\n" + 11331 "", 11332 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11333 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11334 " ├─ filters: [{(NULL, 23), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[23, 46), [29, 29], (4, ∞), [NULL, ∞)}, {[23, 59), (61, ∞), [0, 0], [76, ∞)}, {(46, 59), [29, 29], (4, ∞), [NULL, ∞)}, {[59, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11335 " └─ columns: [pk v1 v2 v3 v4]\n" + 11336 "", 11337 }, 11338 { 11339 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=59 AND v2 BETWEEN 15 AND 53 AND v3<>17 AND v4>=10) OR (v1 BETWEEN 37 AND 95 AND v2<=32 AND v3>=81));`, 11340 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11341 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11342 " ├─ static: [{[37, 95], (NULL, 32], [81, ∞), [NULL, ∞)}, {[59, 59], [15, 32], (17, 81), [10, ∞)}, {[59, 59], [15, 53], (NULL, 17), [10, ∞)}, {[59, 59], (32, 53], (17, ∞), [10, ∞)}]\n" + 11343 " ├─ colSet: (1-5)\n" + 11344 " ├─ tableId: 1\n" + 11345 " └─ Table\n" + 11346 " ├─ name: comp_index_t2\n" + 11347 " └─ columns: [pk v1 v2 v3 v4]\n" + 11348 "", 11349 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11350 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11351 " ├─ filters: [{[37, 95], (NULL, 32], [81, ∞), [NULL, ∞)}, {[59, 59], [15, 32], (17, 81), [10, ∞)}, {[59, 59], [15, 53], (NULL, 17), [10, ∞)}, {[59, 59], (32, 53], (17, ∞), [10, ∞)}]\n" + 11352 " └─ columns: [pk v1 v2 v3 v4]\n" + 11353 "", 11354 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11355 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11356 " ├─ filters: [{[37, 95], (NULL, 32], [81, ∞), [NULL, ∞)}, {[59, 59], [15, 32], (17, 81), [10, ∞)}, {[59, 59], [15, 53], (NULL, 17), [10, ∞)}, {[59, 59], (32, 53], (17, ∞), [10, ∞)}]\n" + 11357 " └─ columns: [pk v1 v2 v3 v4]\n" + 11358 "", 11359 }, 11360 { 11361 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 6 AND 92 AND v2=75 AND v3>79) OR (v1>=10)) OR (v1<=35 AND v2<=42)) AND (v1<>65);`, 11362 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11363 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11364 " ├─ static: [{(NULL, 10), (NULL, 42], [NULL, ∞), [NULL, ∞)}, {[6, 10), [75, 75], (79, ∞), [NULL, ∞)}, {[10, 65), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(65, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11365 " ├─ colSet: (1-5)\n" + 11366 " ├─ tableId: 1\n" + 11367 " └─ Table\n" + 11368 " ├─ name: comp_index_t2\n" + 11369 " └─ columns: [pk v1 v2 v3 v4]\n" + 11370 "", 11371 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11372 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11373 " ├─ filters: [{(NULL, 10), (NULL, 42], [NULL, ∞), [NULL, ∞)}, {[6, 10), [75, 75], (79, ∞), [NULL, ∞)}, {[10, 65), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(65, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11374 " └─ columns: [pk v1 v2 v3 v4]\n" + 11375 "", 11376 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11377 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11378 " ├─ filters: [{(NULL, 10), (NULL, 42], [NULL, ∞), [NULL, ∞)}, {[6, 10), [75, 75], (79, ∞), [NULL, ∞)}, {[10, 65), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(65, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11379 " └─ columns: [pk v1 v2 v3 v4]\n" + 11380 "", 11381 }, 11382 { 11383 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>84 AND v4<=53 AND v2=77 AND v3>=40) OR (v1>78 AND v2<>1 AND v3=98 AND v4>=76));`, 11384 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11385 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11386 " ├─ static: [{(78, ∞), (NULL, 1), [98, 98], [76, ∞)}, {(78, ∞), (1, ∞), [98, 98], [76, ∞)}, {(84, ∞), [77, 77], [40, ∞), (NULL, 53]}]\n" + 11387 " ├─ colSet: (1-5)\n" + 11388 " ├─ tableId: 1\n" + 11389 " └─ Table\n" + 11390 " ├─ name: comp_index_t2\n" + 11391 " └─ columns: [pk v1 v2 v3 v4]\n" + 11392 "", 11393 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11394 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11395 " ├─ filters: [{(78, ∞), (NULL, 1), [98, 98], [76, ∞)}, {(78, ∞), (1, ∞), [98, 98], [76, ∞)}, {(84, ∞), [77, 77], [40, ∞), (NULL, 53]}]\n" + 11396 " └─ columns: [pk v1 v2 v3 v4]\n" + 11397 "", 11398 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11399 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11400 " ├─ filters: [{(78, ∞), (NULL, 1), [98, 98], [76, ∞)}, {(78, ∞), (1, ∞), [98, 98], [76, ∞)}, {(84, ∞), [77, 77], [40, ∞), (NULL, 53]}]\n" + 11401 " └─ columns: [pk v1 v2 v3 v4]\n" + 11402 "", 11403 }, 11404 { 11405 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>79 AND v2<=85) OR (v1<>13)) OR (v1 BETWEEN 4 AND 67));`, 11406 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11407 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11408 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11409 " ├─ colSet: (1-5)\n" + 11410 " ├─ tableId: 1\n" + 11411 " └─ Table\n" + 11412 " ├─ name: comp_index_t2\n" + 11413 " └─ columns: [pk v1 v2 v3 v4]\n" + 11414 "", 11415 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11416 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11417 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11418 " └─ columns: [pk v1 v2 v3 v4]\n" + 11419 "", 11420 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11421 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11422 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11423 " └─ columns: [pk v1 v2 v3 v4]\n" + 11424 "", 11425 }, 11426 { 11427 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>34) OR (v1<35 AND v2>=93)) OR (v1>8));`, 11428 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11429 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11430 " ├─ static: [{(NULL, 8], [93, ∞), [NULL, ∞), [NULL, ∞)}, {(8, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11431 " ├─ colSet: (1-5)\n" + 11432 " ├─ tableId: 1\n" + 11433 " └─ Table\n" + 11434 " ├─ name: comp_index_t2\n" + 11435 " └─ columns: [pk v1 v2 v3 v4]\n" + 11436 "", 11437 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11438 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11439 " ├─ filters: [{(NULL, 8], [93, ∞), [NULL, ∞), [NULL, ∞)}, {(8, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11440 " └─ columns: [pk v1 v2 v3 v4]\n" + 11441 "", 11442 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11443 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11444 " ├─ filters: [{(NULL, 8], [93, ∞), [NULL, ∞), [NULL, ∞)}, {(8, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11445 " └─ columns: [pk v1 v2 v3 v4]\n" + 11446 "", 11447 }, 11448 { 11449 Query: `SELECT * FROM comp_index_t2 WHERE (((((v1<65) OR (v1<>44)) OR (v1<=39 AND v3>=14)) OR (v1<=33 AND v2<>11)) OR (v1=75 AND v2=0 AND v3<28));`, 11450 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11451 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11452 " ├─ static: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11453 " ├─ colSet: (1-5)\n" + 11454 " ├─ tableId: 1\n" + 11455 " └─ Table\n" + 11456 " ├─ name: comp_index_t2\n" + 11457 " └─ columns: [pk v1 v2 v3 v4]\n" + 11458 "", 11459 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11460 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11461 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11462 " └─ columns: [pk v1 v2 v3 v4]\n" + 11463 "", 11464 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11465 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11466 " ├─ filters: [{(NULL, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11467 " └─ columns: [pk v1 v2 v3 v4]\n" + 11468 "", 11469 }, 11470 { 11471 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>50 AND v2>=46) AND (v1<>17 AND v2=45 AND v3<=79) OR (v1=10 AND v2>=35)) AND (v1=44 AND v2=38);`, 11472 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11473 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11474 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 11475 " ├─ colSet: (1-5)\n" + 11476 " ├─ tableId: 1\n" + 11477 " └─ Table\n" + 11478 " ├─ name: comp_index_t2\n" + 11479 " └─ columns: [pk v1 v2 v3 v4]\n" + 11480 "", 11481 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11482 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11483 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 11484 " └─ columns: [pk v1 v2 v3 v4]\n" + 11485 "", 11486 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11487 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11488 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 11489 " └─ columns: [pk v1 v2 v3 v4]\n" + 11490 "", 11491 }, 11492 { 11493 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<34) OR (v1<=62 AND v4<>18 AND v2 BETWEEN 1 AND 41)) OR (v1>=65 AND v2>=93 AND v3 BETWEEN 34 AND 41));`, 11494 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11495 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11496 " ├─ static: [{(NULL, 34), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[34, 62], [1, 41], [NULL, ∞), (NULL, 18)}, {[34, 62], [1, 41], [NULL, ∞), (18, ∞)}, {[65, ∞), [93, ∞), [34, 41], [NULL, ∞)}]\n" + 11497 " ├─ colSet: (1-5)\n" + 11498 " ├─ tableId: 1\n" + 11499 " └─ Table\n" + 11500 " ├─ name: comp_index_t2\n" + 11501 " └─ columns: [pk v1 v2 v3 v4]\n" + 11502 "", 11503 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11504 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11505 " ├─ filters: [{(NULL, 34), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[34, 62], [1, 41], [NULL, ∞), (NULL, 18)}, {[34, 62], [1, 41], [NULL, ∞), (18, ∞)}, {[65, ∞), [93, ∞), [34, 41], [NULL, ∞)}]\n" + 11506 " └─ columns: [pk v1 v2 v3 v4]\n" + 11507 "", 11508 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11509 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11510 " ├─ filters: [{(NULL, 34), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[34, 62], [1, 41], [NULL, ∞), (NULL, 18)}, {[34, 62], [1, 41], [NULL, ∞), (18, ∞)}, {[65, ∞), [93, ∞), [34, 41], [NULL, ∞)}]\n" + 11511 " └─ columns: [pk v1 v2 v3 v4]\n" + 11512 "", 11513 }, 11514 { 11515 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>8) OR (v1>20 AND v4>=99));`, 11516 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11517 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11518 " ├─ static: [{(8, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11519 " ├─ colSet: (1-5)\n" + 11520 " ├─ tableId: 1\n" + 11521 " └─ Table\n" + 11522 " ├─ name: comp_index_t2\n" + 11523 " └─ columns: [pk v1 v2 v3 v4]\n" + 11524 "", 11525 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11526 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11527 " ├─ filters: [{(8, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11528 " └─ columns: [pk v1 v2 v3 v4]\n" + 11529 "", 11530 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11531 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11532 " ├─ filters: [{(8, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11533 " └─ columns: [pk v1 v2 v3 v4]\n" + 11534 "", 11535 }, 11536 { 11537 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>57) OR (v1<87 AND v2<>91 AND v3 BETWEEN 47 AND 98));`, 11538 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11539 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11540 " ├─ static: [{(NULL, 57], (NULL, 91), [47, 98], [NULL, ∞)}, {(NULL, 57], (91, ∞), [47, 98], [NULL, ∞)}, {(57, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11541 " ├─ colSet: (1-5)\n" + 11542 " ├─ tableId: 1\n" + 11543 " └─ Table\n" + 11544 " ├─ name: comp_index_t2\n" + 11545 " └─ columns: [pk v1 v2 v3 v4]\n" + 11546 "", 11547 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11548 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11549 " ├─ filters: [{(NULL, 57], (NULL, 91), [47, 98], [NULL, ∞)}, {(NULL, 57], (91, ∞), [47, 98], [NULL, ∞)}, {(57, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11550 " └─ columns: [pk v1 v2 v3 v4]\n" + 11551 "", 11552 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11553 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11554 " ├─ filters: [{(NULL, 57], (NULL, 91), [47, 98], [NULL, ∞)}, {(NULL, 57], (91, ∞), [47, 98], [NULL, ∞)}, {(57, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11555 " └─ columns: [pk v1 v2 v3 v4]\n" + 11556 "", 11557 }, 11558 { 11559 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=57) OR (v1=88 AND v2 BETWEEN 72 AND 93));`, 11560 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11561 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11562 " ├─ static: [{[57, 57], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[88, 88], [72, 93], [NULL, ∞), [NULL, ∞)}]\n" + 11563 " ├─ colSet: (1-5)\n" + 11564 " ├─ tableId: 1\n" + 11565 " └─ Table\n" + 11566 " ├─ name: comp_index_t2\n" + 11567 " └─ columns: [pk v1 v2 v3 v4]\n" + 11568 "", 11569 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11570 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11571 " ├─ filters: [{[57, 57], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[88, 88], [72, 93], [NULL, ∞), [NULL, ∞)}]\n" + 11572 " └─ columns: [pk v1 v2 v3 v4]\n" + 11573 "", 11574 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11575 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11576 " ├─ filters: [{[57, 57], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[88, 88], [72, 93], [NULL, ∞), [NULL, ∞)}]\n" + 11577 " └─ columns: [pk v1 v2 v3 v4]\n" + 11578 "", 11579 }, 11580 { 11581 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>10 AND v2=20 AND v3<=21 AND v4<>88) OR (v1<28 AND v2 BETWEEN 38 AND 59 AND v3<>98 AND v4>=26));`, 11582 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11583 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11584 " ├─ static: [{(NULL, 10), [20, 20], (NULL, 21], (NULL, 88)}, {(NULL, 10), [20, 20], (NULL, 21], (88, ∞)}, {(NULL, 28), [38, 59], (NULL, 98), [26, ∞)}, {(NULL, 28), [38, 59], (98, ∞), [26, ∞)}, {(10, ∞), [20, 20], (NULL, 21], (NULL, 88)}, {(10, ∞), [20, 20], (NULL, 21], (88, ∞)}]\n" + 11585 " ├─ colSet: (1-5)\n" + 11586 " ├─ tableId: 1\n" + 11587 " └─ Table\n" + 11588 " ├─ name: comp_index_t2\n" + 11589 " └─ columns: [pk v1 v2 v3 v4]\n" + 11590 "", 11591 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11592 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11593 " ├─ filters: [{(NULL, 10), [20, 20], (NULL, 21], (NULL, 88)}, {(NULL, 10), [20, 20], (NULL, 21], (88, ∞)}, {(NULL, 28), [38, 59], (NULL, 98), [26, ∞)}, {(NULL, 28), [38, 59], (98, ∞), [26, ∞)}, {(10, ∞), [20, 20], (NULL, 21], (NULL, 88)}, {(10, ∞), [20, 20], (NULL, 21], (88, ∞)}]\n" + 11594 " └─ columns: [pk v1 v2 v3 v4]\n" + 11595 "", 11596 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11597 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11598 " ├─ filters: [{(NULL, 10), [20, 20], (NULL, 21], (NULL, 88)}, {(NULL, 10), [20, 20], (NULL, 21], (88, ∞)}, {(NULL, 28), [38, 59], (NULL, 98), [26, ∞)}, {(NULL, 28), [38, 59], (98, ∞), [26, ∞)}, {(10, ∞), [20, 20], (NULL, 21], (NULL, 88)}, {(10, ∞), [20, 20], (NULL, 21], (88, ∞)}]\n" + 11599 " └─ columns: [pk v1 v2 v3 v4]\n" + 11600 "", 11601 }, 11602 { 11603 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>5 AND v3<>53 AND v4>=49) OR (v1<18 AND v2<94));`, 11604 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11605 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11606 " ├─ static: [{(NULL, 5), [NULL, NULL], (NULL, 53), [49, ∞)}, {(NULL, 5), [NULL, NULL], (53, ∞), [49, ∞)}, {(NULL, 5), [94, ∞), (NULL, 53), [49, ∞)}, {(NULL, 5), [94, ∞), (53, ∞), [49, ∞)}, {(NULL, 18), (NULL, 94), [NULL, ∞), [NULL, ∞)}, {(5, 18), [NULL, NULL], (NULL, 53), [49, ∞)}, {(5, 18), [NULL, NULL], (53, ∞), [49, ∞)}, {(5, 18), [94, ∞), (NULL, 53), [49, ∞)}, {(5, 18), [94, ∞), (53, ∞), [49, ∞)}, {[18, ∞), [NULL, ∞), (NULL, 53), [49, ∞)}, {[18, ∞), [NULL, ∞), (53, ∞), [49, ∞)}]\n" + 11607 " ├─ colSet: (1-5)\n" + 11608 " ├─ tableId: 1\n" + 11609 " └─ Table\n" + 11610 " ├─ name: comp_index_t2\n" + 11611 " └─ columns: [pk v1 v2 v3 v4]\n" + 11612 "", 11613 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11614 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11615 " ├─ filters: [{(NULL, 5), [NULL, NULL], (NULL, 53), [49, ∞)}, {(NULL, 5), [NULL, NULL], (53, ∞), [49, ∞)}, {(NULL, 5), [94, ∞), (NULL, 53), [49, ∞)}, {(NULL, 5), [94, ∞), (53, ∞), [49, ∞)}, {(NULL, 18), (NULL, 94), [NULL, ∞), [NULL, ∞)}, {(5, 18), [NULL, NULL], (NULL, 53), [49, ∞)}, {(5, 18), [NULL, NULL], (53, ∞), [49, ∞)}, {(5, 18), [94, ∞), (NULL, 53), [49, ∞)}, {(5, 18), [94, ∞), (53, ∞), [49, ∞)}, {[18, ∞), [NULL, ∞), (NULL, 53), [49, ∞)}, {[18, ∞), [NULL, ∞), (53, ∞), [49, ∞)}]\n" + 11616 " └─ columns: [pk v1 v2 v3 v4]\n" + 11617 "", 11618 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11619 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11620 " ├─ filters: [{(NULL, 5), [NULL, NULL], (NULL, 53), [49, ∞)}, {(NULL, 5), [NULL, NULL], (53, ∞), [49, ∞)}, {(NULL, 5), [94, ∞), (NULL, 53), [49, ∞)}, {(NULL, 5), [94, ∞), (53, ∞), [49, ∞)}, {(NULL, 18), (NULL, 94), [NULL, ∞), [NULL, ∞)}, {(5, 18), [NULL, NULL], (NULL, 53), [49, ∞)}, {(5, 18), [NULL, NULL], (53, ∞), [49, ∞)}, {(5, 18), [94, ∞), (NULL, 53), [49, ∞)}, {(5, 18), [94, ∞), (53, ∞), [49, ∞)}, {[18, ∞), [NULL, ∞), (NULL, 53), [49, ∞)}, {[18, ∞), [NULL, ∞), (53, ∞), [49, ∞)}]\n" + 11621 " └─ columns: [pk v1 v2 v3 v4]\n" + 11622 "", 11623 }, 11624 { 11625 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<52 AND v2 BETWEEN 33 AND 75 AND v3=32) OR (v1<=98 AND v2<=41 AND v3<>87 AND v4<>83));`, 11626 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11627 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11628 " ├─ static: [{(NULL, 52), (NULL, 33), (NULL, 87), (NULL, 83)}, {(NULL, 52), (NULL, 33), (NULL, 87), (83, ∞)}, {(NULL, 52), [33, 41], (NULL, 32), (NULL, 83)}, {(NULL, 52), [33, 41], (NULL, 32), (83, ∞)}, {(NULL, 52), [33, 41], (32, 87), (NULL, 83)}, {(NULL, 52), [33, 41], (32, 87), (83, ∞)}, {(NULL, 52), [33, 75], [32, 32], [NULL, ∞)}, {(NULL, 98], (NULL, 41], (87, ∞), (NULL, 83)}, {(NULL, 98], (NULL, 41], (87, ∞), (83, ∞)}, {[52, 98], (NULL, 41], (NULL, 87), (NULL, 83)}, {[52, 98], (NULL, 41], (NULL, 87), (83, ∞)}]\n" + 11629 " ├─ colSet: (1-5)\n" + 11630 " ├─ tableId: 1\n" + 11631 " └─ Table\n" + 11632 " ├─ name: comp_index_t2\n" + 11633 " └─ columns: [pk v1 v2 v3 v4]\n" + 11634 "", 11635 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11636 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11637 " ├─ filters: [{(NULL, 52), (NULL, 33), (NULL, 87), (NULL, 83)}, {(NULL, 52), (NULL, 33), (NULL, 87), (83, ∞)}, {(NULL, 52), [33, 41], (NULL, 32), (NULL, 83)}, {(NULL, 52), [33, 41], (NULL, 32), (83, ∞)}, {(NULL, 52), [33, 41], (32, 87), (NULL, 83)}, {(NULL, 52), [33, 41], (32, 87), (83, ∞)}, {(NULL, 52), [33, 75], [32, 32], [NULL, ∞)}, {(NULL, 98], (NULL, 41], (87, ∞), (NULL, 83)}, {(NULL, 98], (NULL, 41], (87, ∞), (83, ∞)}, {[52, 98], (NULL, 41], (NULL, 87), (NULL, 83)}, {[52, 98], (NULL, 41], (NULL, 87), (83, ∞)}]\n" + 11638 " └─ columns: [pk v1 v2 v3 v4]\n" + 11639 "", 11640 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11641 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11642 " ├─ filters: [{(NULL, 52), (NULL, 33), (NULL, 87), (NULL, 83)}, {(NULL, 52), (NULL, 33), (NULL, 87), (83, ∞)}, {(NULL, 52), [33, 41], (NULL, 32), (NULL, 83)}, {(NULL, 52), [33, 41], (NULL, 32), (83, ∞)}, {(NULL, 52), [33, 41], (32, 87), (NULL, 83)}, {(NULL, 52), [33, 41], (32, 87), (83, ∞)}, {(NULL, 52), [33, 75], [32, 32], [NULL, ∞)}, {(NULL, 98], (NULL, 41], (87, ∞), (NULL, 83)}, {(NULL, 98], (NULL, 41], (87, ∞), (83, ∞)}, {[52, 98], (NULL, 41], (NULL, 87), (NULL, 83)}, {[52, 98], (NULL, 41], (NULL, 87), (83, ∞)}]\n" + 11643 " └─ columns: [pk v1 v2 v3 v4]\n" + 11644 "", 11645 }, 11646 { 11647 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>28 AND v4>57 AND v2<62 AND v3 BETWEEN 14 AND 41) AND (v1<>72 AND v2>=13 AND v3>29 AND v4>38) OR (v1<=22 AND v2>58));`, 11648 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11649 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11650 " ├─ static: [{(NULL, 22], (58, ∞), [NULL, ∞), [NULL, ∞)}, {(28, 72), [13, 62), (29, 41], (57, ∞)}, {(72, ∞), [13, 62), (29, 41], (57, ∞)}]\n" + 11651 " ├─ colSet: (1-5)\n" + 11652 " ├─ tableId: 1\n" + 11653 " └─ Table\n" + 11654 " ├─ name: comp_index_t2\n" + 11655 " └─ columns: [pk v1 v2 v3 v4]\n" + 11656 "", 11657 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11658 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11659 " ├─ filters: [{(NULL, 22], (58, ∞), [NULL, ∞), [NULL, ∞)}, {(28, 72), [13, 62), (29, 41], (57, ∞)}, {(72, ∞), [13, 62), (29, 41], (57, ∞)}]\n" + 11660 " └─ columns: [pk v1 v2 v3 v4]\n" + 11661 "", 11662 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11663 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11664 " ├─ filters: [{(NULL, 22], (58, ∞), [NULL, ∞), [NULL, ∞)}, {(28, 72), [13, 62), (29, 41], (57, ∞)}, {(72, ∞), [13, 62), (29, 41], (57, ∞)}]\n" + 11665 " └─ columns: [pk v1 v2 v3 v4]\n" + 11666 "", 11667 }, 11668 { 11669 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=13 AND v2<=52 AND v3=28 AND v4>88) OR (v1<>5 AND v2<=42));`, 11670 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11671 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11672 " ├─ static: [{(NULL, 5), (NULL, 42], [NULL, ∞), [NULL, ∞)}, {(NULL, 5), (42, 52], [28, 28], (88, ∞)}, {[5, 5], (NULL, 52], [28, 28], (88, ∞)}, {(5, 13], (42, 52], [28, 28], (88, ∞)}, {(5, ∞), (NULL, 42], [NULL, ∞), [NULL, ∞)}]\n" + 11673 " ├─ colSet: (1-5)\n" + 11674 " ├─ tableId: 1\n" + 11675 " └─ Table\n" + 11676 " ├─ name: comp_index_t2\n" + 11677 " └─ columns: [pk v1 v2 v3 v4]\n" + 11678 "", 11679 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11680 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11681 " ├─ filters: [{(NULL, 5), (NULL, 42], [NULL, ∞), [NULL, ∞)}, {(NULL, 5), (42, 52], [28, 28], (88, ∞)}, {[5, 5], (NULL, 52], [28, 28], (88, ∞)}, {(5, 13], (42, 52], [28, 28], (88, ∞)}, {(5, ∞), (NULL, 42], [NULL, ∞), [NULL, ∞)}]\n" + 11682 " └─ columns: [pk v1 v2 v3 v4]\n" + 11683 "", 11684 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11685 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11686 " ├─ filters: [{(NULL, 5), (NULL, 42], [NULL, ∞), [NULL, ∞)}, {(NULL, 5), (42, 52], [28, 28], (88, ∞)}, {[5, 5], (NULL, 52], [28, 28], (88, ∞)}, {(5, 13], (42, 52], [28, 28], (88, ∞)}, {(5, ∞), (NULL, 42], [NULL, ∞), [NULL, ∞)}]\n" + 11687 " └─ columns: [pk v1 v2 v3 v4]\n" + 11688 "", 11689 }, 11690 { 11691 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>35 AND v4<>20 AND v2<81 AND v3=27) OR (v1>13 AND v3=27));`, 11692 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11693 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11694 " ├─ static: [{(13, ∞), [NULL, ∞), [27, 27], [NULL, ∞)}]\n" + 11695 " ├─ colSet: (1-5)\n" + 11696 " ├─ tableId: 1\n" + 11697 " └─ Table\n" + 11698 " ├─ name: comp_index_t2\n" + 11699 " └─ columns: [pk v1 v2 v3 v4]\n" + 11700 "", 11701 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11702 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11703 " ├─ filters: [{(13, ∞), [NULL, ∞), [27, 27], [NULL, ∞)}]\n" + 11704 " └─ columns: [pk v1 v2 v3 v4]\n" + 11705 "", 11706 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11707 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11708 " ├─ filters: [{(13, ∞), [NULL, ∞), [27, 27], [NULL, ∞)}]\n" + 11709 " └─ columns: [pk v1 v2 v3 v4]\n" + 11710 "", 11711 }, 11712 { 11713 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=26) OR (v1<59 AND v2 BETWEEN 2 AND 30 AND v3>=69));`, 11714 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11715 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11716 " ├─ static: [{(NULL, 26), [2, 30], [69, ∞), [NULL, ∞)}, {[26, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11717 " ├─ colSet: (1-5)\n" + 11718 " ├─ tableId: 1\n" + 11719 " └─ Table\n" + 11720 " ├─ name: comp_index_t2\n" + 11721 " └─ columns: [pk v1 v2 v3 v4]\n" + 11722 "", 11723 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11724 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11725 " ├─ filters: [{(NULL, 26), [2, 30], [69, ∞), [NULL, ∞)}, {[26, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11726 " └─ columns: [pk v1 v2 v3 v4]\n" + 11727 "", 11728 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11729 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11730 " ├─ filters: [{(NULL, 26), [2, 30], [69, ∞), [NULL, ∞)}, {[26, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11731 " └─ columns: [pk v1 v2 v3 v4]\n" + 11732 "", 11733 }, 11734 { 11735 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<11) OR (v1<>9 AND v2 BETWEEN 51 AND 62 AND v3=98));`, 11736 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11737 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11738 " ├─ static: [{(NULL, 11), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[11, ∞), [51, 62], [98, 98], [NULL, ∞)}]\n" + 11739 " ├─ colSet: (1-5)\n" + 11740 " ├─ tableId: 1\n" + 11741 " └─ Table\n" + 11742 " ├─ name: comp_index_t2\n" + 11743 " └─ columns: [pk v1 v2 v3 v4]\n" + 11744 "", 11745 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11746 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11747 " ├─ filters: [{(NULL, 11), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[11, ∞), [51, 62], [98, 98], [NULL, ∞)}]\n" + 11748 " └─ columns: [pk v1 v2 v3 v4]\n" + 11749 "", 11750 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11751 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11752 " ├─ filters: [{(NULL, 11), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[11, ∞), [51, 62], [98, 98], [NULL, ∞)}]\n" + 11753 " └─ columns: [pk v1 v2 v3 v4]\n" + 11754 "", 11755 }, 11756 { 11757 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=92 AND v2>25) OR (v1=91 AND v2=21 AND v3<=18 AND v4<>15)) OR (v1=79 AND v2>67 AND v3<>48 AND v4<42));`, 11758 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11759 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11760 " ├─ static: [{[79, 79], (67, ∞), (NULL, 48), (NULL, 42)}, {[79, 79], (67, ∞), (48, ∞), (NULL, 42)}, {[91, 91], [21, 21], (NULL, 18], (NULL, 15)}, {[91, 91], [21, 21], (NULL, 18], (15, ∞)}, {[92, 92], (25, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11761 " ├─ colSet: (1-5)\n" + 11762 " ├─ tableId: 1\n" + 11763 " └─ Table\n" + 11764 " ├─ name: comp_index_t2\n" + 11765 " └─ columns: [pk v1 v2 v3 v4]\n" + 11766 "", 11767 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11768 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11769 " ├─ filters: [{[79, 79], (67, ∞), (NULL, 48), (NULL, 42)}, {[79, 79], (67, ∞), (48, ∞), (NULL, 42)}, {[91, 91], [21, 21], (NULL, 18], (NULL, 15)}, {[91, 91], [21, 21], (NULL, 18], (15, ∞)}, {[92, 92], (25, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11770 " └─ columns: [pk v1 v2 v3 v4]\n" + 11771 "", 11772 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11773 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11774 " ├─ filters: [{[79, 79], (67, ∞), (NULL, 48), (NULL, 42)}, {[79, 79], (67, ∞), (48, ∞), (NULL, 42)}, {[91, 91], [21, 21], (NULL, 18], (NULL, 15)}, {[91, 91], [21, 21], (NULL, 18], (15, ∞)}, {[92, 92], (25, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11775 " └─ columns: [pk v1 v2 v3 v4]\n" + 11776 "", 11777 }, 11778 { 11779 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=86 AND v2<5 AND v3<36 AND v4<81) OR (v1>=52 AND v2>24 AND v3<5)) OR (v1 BETWEEN 5 AND 80 AND v3<>80));`, 11780 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11781 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11782 " ├─ static: [{[5, 80], [NULL, ∞), (NULL, 80), [NULL, ∞)}, {[5, 80], [NULL, ∞), (80, ∞), [NULL, ∞)}, {(80, ∞), (24, ∞), (NULL, 5), [NULL, ∞)}, {[86, 86], (NULL, 5), (NULL, 36), (NULL, 81)}]\n" + 11783 " ├─ colSet: (1-5)\n" + 11784 " ├─ tableId: 1\n" + 11785 " └─ Table\n" + 11786 " ├─ name: comp_index_t2\n" + 11787 " └─ columns: [pk v1 v2 v3 v4]\n" + 11788 "", 11789 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11790 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11791 " ├─ filters: [{[5, 80], [NULL, ∞), (NULL, 80), [NULL, ∞)}, {[5, 80], [NULL, ∞), (80, ∞), [NULL, ∞)}, {(80, ∞), (24, ∞), (NULL, 5), [NULL, ∞)}, {[86, 86], (NULL, 5), (NULL, 36), (NULL, 81)}]\n" + 11792 " └─ columns: [pk v1 v2 v3 v4]\n" + 11793 "", 11794 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11795 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11796 " ├─ filters: [{[5, 80], [NULL, ∞), (NULL, 80), [NULL, ∞)}, {[5, 80], [NULL, ∞), (80, ∞), [NULL, ∞)}, {(80, ∞), (24, ∞), (NULL, 5), [NULL, ∞)}, {[86, 86], (NULL, 5), (NULL, 36), (NULL, 81)}]\n" + 11797 " └─ columns: [pk v1 v2 v3 v4]\n" + 11798 "", 11799 }, 11800 { 11801 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>67) OR (v1>69 AND v2>11 AND v3=13 AND v4=20));`, 11802 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11803 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11804 " ├─ static: [{(67, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11805 " ├─ colSet: (1-5)\n" + 11806 " ├─ tableId: 1\n" + 11807 " └─ Table\n" + 11808 " ├─ name: comp_index_t2\n" + 11809 " └─ columns: [pk v1 v2 v3 v4]\n" + 11810 "", 11811 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11812 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11813 " ├─ filters: [{(67, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11814 " └─ columns: [pk v1 v2 v3 v4]\n" + 11815 "", 11816 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11817 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11818 " ├─ filters: [{(67, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11819 " └─ columns: [pk v1 v2 v3 v4]\n" + 11820 "", 11821 }, 11822 { 11823 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>31) OR (v1 BETWEEN 27 AND 87 AND v2=71 AND v3=38 AND v4=1));`, 11824 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11825 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11826 " ├─ static: [{(NULL, 31), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[31, 31], [71, 71], [38, 38], [1, 1]}, {(31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11827 " ├─ colSet: (1-5)\n" + 11828 " ├─ tableId: 1\n" + 11829 " └─ Table\n" + 11830 " ├─ name: comp_index_t2\n" + 11831 " └─ columns: [pk v1 v2 v3 v4]\n" + 11832 "", 11833 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11834 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11835 " ├─ filters: [{(NULL, 31), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[31, 31], [71, 71], [38, 38], [1, 1]}, {(31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11836 " └─ columns: [pk v1 v2 v3 v4]\n" + 11837 "", 11838 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11839 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11840 " ├─ filters: [{(NULL, 31), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[31, 31], [71, 71], [38, 38], [1, 1]}, {(31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11841 " └─ columns: [pk v1 v2 v3 v4]\n" + 11842 "", 11843 }, 11844 { 11845 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>2 AND v4=0 AND v2 BETWEEN 6 AND 23 AND v3 BETWEEN 46 AND 52) OR (v1<=63 AND v2>=71 AND v3=28)) AND (v1<=52);`, 11846 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11847 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11848 " ├─ static: [{(NULL, 52], [71, ∞), [28, 28], [NULL, ∞)}, {(2, 52], [6, 23], [46, 52], [0, 0]}]\n" + 11849 " ├─ colSet: (1-5)\n" + 11850 " ├─ tableId: 1\n" + 11851 " └─ Table\n" + 11852 " ├─ name: comp_index_t2\n" + 11853 " └─ columns: [pk v1 v2 v3 v4]\n" + 11854 "", 11855 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11856 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11857 " ├─ filters: [{(NULL, 52], [71, ∞), [28, 28], [NULL, ∞)}, {(2, 52], [6, 23], [46, 52], [0, 0]}]\n" + 11858 " └─ columns: [pk v1 v2 v3 v4]\n" + 11859 "", 11860 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11861 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11862 " ├─ filters: [{(NULL, 52], [71, ∞), [28, 28], [NULL, ∞)}, {(2, 52], [6, 23], [46, 52], [0, 0]}]\n" + 11863 " └─ columns: [pk v1 v2 v3 v4]\n" + 11864 "", 11865 }, 11866 { 11867 Query: `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 10 AND 90) AND (v1=86 AND v4>=4) AND (v1 BETWEEN 6 AND 58 AND v2=85);`, 11868 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11869 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11870 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 11871 " ├─ colSet: (1-5)\n" + 11872 " ├─ tableId: 1\n" + 11873 " └─ Table\n" + 11874 " ├─ name: comp_index_t2\n" + 11875 " └─ columns: [pk v1 v2 v3 v4]\n" + 11876 "", 11877 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11878 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11879 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 11880 " └─ columns: [pk v1 v2 v3 v4]\n" + 11881 "", 11882 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11883 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11884 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 11885 " └─ columns: [pk v1 v2 v3 v4]\n" + 11886 "", 11887 }, 11888 { 11889 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=46 AND v4>41 AND v2<>12) OR (v1>17 AND v2>=34 AND v3<>68 AND v4<=13)) OR (v1>=98 AND v4 BETWEEN 3 AND 62 AND v2=39));`, 11890 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11891 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11892 " ├─ static: [{(17, 98), [34, ∞), (NULL, 68), (NULL, 13]}, {(17, 98), [34, ∞), (68, ∞), (NULL, 13]}, {[46, 46], (NULL, 12), [NULL, ∞), (41, ∞)}, {[46, 46], (12, ∞), [NULL, ∞), (41, ∞)}, {[98, ∞), [34, 39), (NULL, 68), (NULL, 13]}, {[98, ∞), [34, 39), (68, ∞), (NULL, 13]}, {[98, ∞), [39, 39], [NULL, NULL], [3, 62]}, {[98, ∞), [39, 39], (NULL, 68), (NULL, 62]}, {[98, ∞), [39, 39], [68, 68], [3, 62]}, {[98, ∞), [39, 39], (68, ∞), (NULL, 62]}, {[98, ∞), (39, ∞), (NULL, 68), (NULL, 13]}, {[98, ∞), (39, ∞), (68, ∞), (NULL, 13]}]\n" + 11893 " ├─ colSet: (1-5)\n" + 11894 " ├─ tableId: 1\n" + 11895 " └─ Table\n" + 11896 " ├─ name: comp_index_t2\n" + 11897 " └─ columns: [pk v1 v2 v3 v4]\n" + 11898 "", 11899 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11900 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11901 " ├─ filters: [{(17, 98), [34, ∞), (NULL, 68), (NULL, 13]}, {(17, 98), [34, ∞), (68, ∞), (NULL, 13]}, {[46, 46], (NULL, 12), [NULL, ∞), (41, ∞)}, {[46, 46], (12, ∞), [NULL, ∞), (41, ∞)}, {[98, ∞), [34, 39), (NULL, 68), (NULL, 13]}, {[98, ∞), [34, 39), (68, ∞), (NULL, 13]}, {[98, ∞), [39, 39], [NULL, NULL], [3, 62]}, {[98, ∞), [39, 39], (NULL, 68), (NULL, 62]}, {[98, ∞), [39, 39], [68, 68], [3, 62]}, {[98, ∞), [39, 39], (68, ∞), (NULL, 62]}, {[98, ∞), (39, ∞), (NULL, 68), (NULL, 13]}, {[98, ∞), (39, ∞), (68, ∞), (NULL, 13]}]\n" + 11902 " └─ columns: [pk v1 v2 v3 v4]\n" + 11903 "", 11904 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11905 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11906 " ├─ filters: [{(17, 98), [34, ∞), (NULL, 68), (NULL, 13]}, {(17, 98), [34, ∞), (68, ∞), (NULL, 13]}, {[46, 46], (NULL, 12), [NULL, ∞), (41, ∞)}, {[46, 46], (12, ∞), [NULL, ∞), (41, ∞)}, {[98, ∞), [34, 39), (NULL, 68), (NULL, 13]}, {[98, ∞), [34, 39), (68, ∞), (NULL, 13]}, {[98, ∞), [39, 39], [NULL, NULL], [3, 62]}, {[98, ∞), [39, 39], (NULL, 68), (NULL, 62]}, {[98, ∞), [39, 39], [68, 68], [3, 62]}, {[98, ∞), [39, 39], (68, ∞), (NULL, 62]}, {[98, ∞), (39, ∞), (NULL, 68), (NULL, 13]}, {[98, ∞), (39, ∞), (68, ∞), (NULL, 13]}]\n" + 11907 " └─ columns: [pk v1 v2 v3 v4]\n" + 11908 "", 11909 }, 11910 { 11911 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=12 AND v2<>4 AND v3 BETWEEN 18 AND 42) OR (v1>=73)) OR (v1<60 AND v2=93 AND v3>=79));`, 11912 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11913 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11914 " ├─ static: [{(NULL, 12], (NULL, 4), [18, 42], [NULL, ∞)}, {(NULL, 12], (4, ∞), [18, 42], [NULL, ∞)}, {(NULL, 60), [93, 93], [79, ∞), [NULL, ∞)}, {[73, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11915 " ├─ colSet: (1-5)\n" + 11916 " ├─ tableId: 1\n" + 11917 " └─ Table\n" + 11918 " ├─ name: comp_index_t2\n" + 11919 " └─ columns: [pk v1 v2 v3 v4]\n" + 11920 "", 11921 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11922 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11923 " ├─ filters: [{(NULL, 12], (NULL, 4), [18, 42], [NULL, ∞)}, {(NULL, 12], (4, ∞), [18, 42], [NULL, ∞)}, {(NULL, 60), [93, 93], [79, ∞), [NULL, ∞)}, {[73, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11924 " └─ columns: [pk v1 v2 v3 v4]\n" + 11925 "", 11926 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11927 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11928 " ├─ filters: [{(NULL, 12], (NULL, 4), [18, 42], [NULL, ∞)}, {(NULL, 12], (4, ∞), [18, 42], [NULL, ∞)}, {(NULL, 60), [93, 93], [79, ∞), [NULL, ∞)}, {[73, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11929 " └─ columns: [pk v1 v2 v3 v4]\n" + 11930 "", 11931 }, 11932 { 11933 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=55 AND v2>50) OR (v1<>51 AND v2>=37));`, 11934 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11935 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11936 " ├─ static: [{(NULL, 51), [37, ∞), [NULL, ∞), [NULL, ∞)}, {(51, ∞), [37, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11937 " ├─ colSet: (1-5)\n" + 11938 " ├─ tableId: 1\n" + 11939 " └─ Table\n" + 11940 " ├─ name: comp_index_t2\n" + 11941 " └─ columns: [pk v1 v2 v3 v4]\n" + 11942 "", 11943 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11944 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11945 " ├─ filters: [{(NULL, 51), [37, ∞), [NULL, ∞), [NULL, ∞)}, {(51, ∞), [37, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11946 " └─ columns: [pk v1 v2 v3 v4]\n" + 11947 "", 11948 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11949 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11950 " ├─ filters: [{(NULL, 51), [37, ∞), [NULL, ∞), [NULL, ∞)}, {(51, ∞), [37, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11951 " └─ columns: [pk v1 v2 v3 v4]\n" + 11952 "", 11953 }, 11954 { 11955 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 66 AND 76 AND v2>=84 AND v3>1 AND v4 BETWEEN 71 AND 95) AND (v1>36 AND v2<>41) OR (v1<44 AND v2<=50 AND v3=36 AND v4<=42));`, 11956 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11957 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11958 " ├─ static: [{(NULL, 44), (NULL, 50], [36, 36], (NULL, 42]}, {[66, 76], [84, ∞), (1, ∞), [71, 95]}]\n" + 11959 " ├─ colSet: (1-5)\n" + 11960 " ├─ tableId: 1\n" + 11961 " └─ Table\n" + 11962 " ├─ name: comp_index_t2\n" + 11963 " └─ columns: [pk v1 v2 v3 v4]\n" + 11964 "", 11965 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11966 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11967 " ├─ filters: [{(NULL, 44), (NULL, 50], [36, 36], (NULL, 42]}, {[66, 76], [84, ∞), (1, ∞), [71, 95]}]\n" + 11968 " └─ columns: [pk v1 v2 v3 v4]\n" + 11969 "", 11970 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11971 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11972 " ├─ filters: [{(NULL, 44), (NULL, 50], [36, 36], (NULL, 42]}, {[66, 76], [84, ∞), (1, ∞), [71, 95]}]\n" + 11973 " └─ columns: [pk v1 v2 v3 v4]\n" + 11974 "", 11975 }, 11976 { 11977 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=21 AND v2=44 AND v3>=68) OR (v1>=38 AND v2>=15));`, 11978 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 11979 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11980 " ├─ static: [{(NULL, 21], [44, 44], [68, ∞), [NULL, ∞)}, {[38, ∞), [15, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11981 " ├─ colSet: (1-5)\n" + 11982 " ├─ tableId: 1\n" + 11983 " └─ Table\n" + 11984 " ├─ name: comp_index_t2\n" + 11985 " └─ columns: [pk v1 v2 v3 v4]\n" + 11986 "", 11987 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 11988 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11989 " ├─ filters: [{(NULL, 21], [44, 44], [68, ∞), [NULL, ∞)}, {[38, ∞), [15, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11990 " └─ columns: [pk v1 v2 v3 v4]\n" + 11991 "", 11992 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 11993 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 11994 " ├─ filters: [{(NULL, 21], [44, 44], [68, ∞), [NULL, ∞)}, {[38, ∞), [15, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 11995 " └─ columns: [pk v1 v2 v3 v4]\n" + 11996 "", 11997 }, 11998 { 11999 Query: `SELECT * FROM comp_index_t2 WHERE (v1<>37 AND v2>67 AND v3>52) AND (v1<48 AND v2<>73 AND v3=25 AND v4=22);`, 12000 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12001 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12002 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 12003 " ├─ colSet: (1-5)\n" + 12004 " ├─ tableId: 1\n" + 12005 " └─ Table\n" + 12006 " ├─ name: comp_index_t2\n" + 12007 " └─ columns: [pk v1 v2 v3 v4]\n" + 12008 "", 12009 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12010 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12011 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 12012 " └─ columns: [pk v1 v2 v3 v4]\n" + 12013 "", 12014 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12015 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12016 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 12017 " └─ columns: [pk v1 v2 v3 v4]\n" + 12018 "", 12019 }, 12020 { 12021 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 57 AND 62 AND v2>=99) OR (v1>31));`, 12022 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12023 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12024 " ├─ static: [{(31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12025 " ├─ colSet: (1-5)\n" + 12026 " ├─ tableId: 1\n" + 12027 " └─ Table\n" + 12028 " ├─ name: comp_index_t2\n" + 12029 " └─ columns: [pk v1 v2 v3 v4]\n" + 12030 "", 12031 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12032 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12033 " ├─ filters: [{(31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12034 " └─ columns: [pk v1 v2 v3 v4]\n" + 12035 "", 12036 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12037 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12038 " ├─ filters: [{(31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12039 " └─ columns: [pk v1 v2 v3 v4]\n" + 12040 "", 12041 }, 12042 { 12043 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>22 AND v3<>49) OR (v1>=41 AND v2<=74 AND v3<=46));`, 12044 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12045 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12046 " ├─ static: [{(NULL, 22), [NULL, ∞), (NULL, 49), [NULL, ∞)}, {(NULL, 22), [NULL, ∞), (49, ∞), [NULL, ∞)}, {(22, ∞), [NULL, ∞), (NULL, 49), [NULL, ∞)}, {(22, ∞), [NULL, ∞), (49, ∞), [NULL, ∞)}]\n" + 12047 " ├─ colSet: (1-5)\n" + 12048 " ├─ tableId: 1\n" + 12049 " └─ Table\n" + 12050 " ├─ name: comp_index_t2\n" + 12051 " └─ columns: [pk v1 v2 v3 v4]\n" + 12052 "", 12053 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12054 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12055 " ├─ filters: [{(NULL, 22), [NULL, ∞), (NULL, 49), [NULL, ∞)}, {(NULL, 22), [NULL, ∞), (49, ∞), [NULL, ∞)}, {(22, ∞), [NULL, ∞), (NULL, 49), [NULL, ∞)}, {(22, ∞), [NULL, ∞), (49, ∞), [NULL, ∞)}]\n" + 12056 " └─ columns: [pk v1 v2 v3 v4]\n" + 12057 "", 12058 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12059 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12060 " ├─ filters: [{(NULL, 22), [NULL, ∞), (NULL, 49), [NULL, ∞)}, {(NULL, 22), [NULL, ∞), (49, ∞), [NULL, ∞)}, {(22, ∞), [NULL, ∞), (NULL, 49), [NULL, ∞)}, {(22, ∞), [NULL, ∞), (49, ∞), [NULL, ∞)}]\n" + 12061 " └─ columns: [pk v1 v2 v3 v4]\n" + 12062 "", 12063 }, 12064 { 12065 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=82 AND v4<=67 AND v2=40) OR (v1>63)) OR (v1<=16));`, 12066 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12067 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12068 " ├─ static: [{(NULL, 16], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(63, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12069 " ├─ colSet: (1-5)\n" + 12070 " ├─ tableId: 1\n" + 12071 " └─ Table\n" + 12072 " ├─ name: comp_index_t2\n" + 12073 " └─ columns: [pk v1 v2 v3 v4]\n" + 12074 "", 12075 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12076 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12077 " ├─ filters: [{(NULL, 16], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(63, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12078 " └─ columns: [pk v1 v2 v3 v4]\n" + 12079 "", 12080 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12081 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12082 " ├─ filters: [{(NULL, 16], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(63, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12083 " └─ columns: [pk v1 v2 v3 v4]\n" + 12084 "", 12085 }, 12086 { 12087 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<=39 AND v2<>82 AND v3>=33 AND v4>=84) OR (v1=57 AND v2<25 AND v3<>55 AND v4<=82)) OR (v1>10 AND v2>28 AND v3>=65)) OR (v1<=13 AND v2=66));`, 12088 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12089 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12090 " ├─ static: [{(NULL, 10], (NULL, 66), [33, ∞), [84, ∞)}, {(NULL, 10], (66, 82), [33, ∞), [84, ∞)}, {(NULL, 10], (82, ∞), [33, ∞), [84, ∞)}, {(NULL, 13], [66, 66], [NULL, ∞), [NULL, ∞)}, {(10, 13], (28, 66), [33, 65), [84, ∞)}, {(10, 13], (28, 66), [65, ∞), [NULL, ∞)}, {(10, 13], (66, 82), [33, 65), [84, ∞)}, {(10, 13], (66, ∞), [65, ∞), [NULL, ∞)}, {(10, 39], (NULL, 28], [33, ∞), [84, ∞)}, {(10, 39], (82, ∞), [33, 65), [84, ∞)}, {(13, 39], (28, 82), [33, 65), [84, ∞)}, {(13, ∞), (28, ∞), [65, ∞), [NULL, ∞)}, {[57, 57], (NULL, 25), (NULL, 55), (NULL, 82]}, {[57, 57], (NULL, 25), (55, ∞), (NULL, 82]}]\n" + 12091 " ├─ colSet: (1-5)\n" + 12092 " ├─ tableId: 1\n" + 12093 " └─ Table\n" + 12094 " ├─ name: comp_index_t2\n" + 12095 " └─ columns: [pk v1 v2 v3 v4]\n" + 12096 "", 12097 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12098 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12099 " ├─ filters: [{(NULL, 10], (NULL, 66), [33, ∞), [84, ∞)}, {(NULL, 10], (66, 82), [33, ∞), [84, ∞)}, {(NULL, 10], (82, ∞), [33, ∞), [84, ∞)}, {(NULL, 13], [66, 66], [NULL, ∞), [NULL, ∞)}, {(10, 13], (28, 66), [33, 65), [84, ∞)}, {(10, 13], (28, 66), [65, ∞), [NULL, ∞)}, {(10, 13], (66, 82), [33, 65), [84, ∞)}, {(10, 13], (66, ∞), [65, ∞), [NULL, ∞)}, {(10, 39], (NULL, 28], [33, ∞), [84, ∞)}, {(10, 39], (82, ∞), [33, 65), [84, ∞)}, {(13, 39], (28, 82), [33, 65), [84, ∞)}, {(13, ∞), (28, ∞), [65, ∞), [NULL, ∞)}, {[57, 57], (NULL, 25), (NULL, 55), (NULL, 82]}, {[57, 57], (NULL, 25), (55, ∞), (NULL, 82]}]\n" + 12100 " └─ columns: [pk v1 v2 v3 v4]\n" + 12101 "", 12102 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12103 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12104 " ├─ filters: [{(NULL, 10], (NULL, 66), [33, ∞), [84, ∞)}, {(NULL, 10], (66, 82), [33, ∞), [84, ∞)}, {(NULL, 10], (82, ∞), [33, ∞), [84, ∞)}, {(NULL, 13], [66, 66], [NULL, ∞), [NULL, ∞)}, {(10, 13], (28, 66), [33, 65), [84, ∞)}, {(10, 13], (28, 66), [65, ∞), [NULL, ∞)}, {(10, 13], (66, 82), [33, 65), [84, ∞)}, {(10, 13], (66, ∞), [65, ∞), [NULL, ∞)}, {(10, 39], (NULL, 28], [33, ∞), [84, ∞)}, {(10, 39], (82, ∞), [33, 65), [84, ∞)}, {(13, 39], (28, 82), [33, 65), [84, ∞)}, {(13, ∞), (28, ∞), [65, ∞), [NULL, ∞)}, {[57, 57], (NULL, 25), (NULL, 55), (NULL, 82]}, {[57, 57], (NULL, 25), (55, ∞), (NULL, 82]}]\n" + 12105 " └─ columns: [pk v1 v2 v3 v4]\n" + 12106 "", 12107 }, 12108 { 12109 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=60 AND v2<=25 AND v3<>9) OR (v1 BETWEEN 19 AND 92 AND v2>=33 AND v3<=40 AND v4=53));`, 12110 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12111 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12112 " ├─ static: [{(NULL, 60], (NULL, 25], (NULL, 9), [NULL, ∞)}, {(NULL, 60], (NULL, 25], (9, ∞), [NULL, ∞)}, {[19, 92], [33, ∞), (NULL, 40], [53, 53]}]\n" + 12113 " ├─ colSet: (1-5)\n" + 12114 " ├─ tableId: 1\n" + 12115 " └─ Table\n" + 12116 " ├─ name: comp_index_t2\n" + 12117 " └─ columns: [pk v1 v2 v3 v4]\n" + 12118 "", 12119 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12120 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12121 " ├─ filters: [{(NULL, 60], (NULL, 25], (NULL, 9), [NULL, ∞)}, {(NULL, 60], (NULL, 25], (9, ∞), [NULL, ∞)}, {[19, 92], [33, ∞), (NULL, 40], [53, 53]}]\n" + 12122 " └─ columns: [pk v1 v2 v3 v4]\n" + 12123 "", 12124 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12125 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12126 " ├─ filters: [{(NULL, 60], (NULL, 25], (NULL, 9), [NULL, ∞)}, {(NULL, 60], (NULL, 25], (9, ∞), [NULL, ∞)}, {[19, 92], [33, ∞), (NULL, 40], [53, 53]}]\n" + 12127 " └─ columns: [pk v1 v2 v3 v4]\n" + 12128 "", 12129 }, 12130 { 12131 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=21 AND v2<=27 AND v3>=86 AND v4>99) OR (v1<76 AND v2<>97));`, 12132 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12133 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12134 " ├─ static: [{(NULL, 76), (NULL, 97), [NULL, ∞), [NULL, ∞)}, {(NULL, 76), (97, ∞), [NULL, ∞), [NULL, ∞)}, {[76, ∞), (NULL, 27], [86, ∞), (99, ∞)}]\n" + 12135 " ├─ colSet: (1-5)\n" + 12136 " ├─ tableId: 1\n" + 12137 " └─ Table\n" + 12138 " ├─ name: comp_index_t2\n" + 12139 " └─ columns: [pk v1 v2 v3 v4]\n" + 12140 "", 12141 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12142 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12143 " ├─ filters: [{(NULL, 76), (NULL, 97), [NULL, ∞), [NULL, ∞)}, {(NULL, 76), (97, ∞), [NULL, ∞), [NULL, ∞)}, {[76, ∞), (NULL, 27], [86, ∞), (99, ∞)}]\n" + 12144 " └─ columns: [pk v1 v2 v3 v4]\n" + 12145 "", 12146 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12147 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12148 " ├─ filters: [{(NULL, 76), (NULL, 97), [NULL, ∞), [NULL, ∞)}, {(NULL, 76), (97, ∞), [NULL, ∞), [NULL, ∞)}, {[76, ∞), (NULL, 27], [86, ∞), (99, ∞)}]\n" + 12149 " └─ columns: [pk v1 v2 v3 v4]\n" + 12150 "", 12151 }, 12152 { 12153 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 4 AND 8 AND v3>=12) OR (v1>=12 AND v2>=0 AND v3=18));`, 12154 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12155 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12156 " ├─ static: [{[4, 8], [NULL, ∞), [12, ∞), [NULL, ∞)}, {[12, ∞), [0, ∞), [18, 18], [NULL, ∞)}]\n" + 12157 " ├─ colSet: (1-5)\n" + 12158 " ├─ tableId: 1\n" + 12159 " └─ Table\n" + 12160 " ├─ name: comp_index_t2\n" + 12161 " └─ columns: [pk v1 v2 v3 v4]\n" + 12162 "", 12163 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12164 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12165 " ├─ filters: [{[4, 8], [NULL, ∞), [12, ∞), [NULL, ∞)}, {[12, ∞), [0, ∞), [18, 18], [NULL, ∞)}]\n" + 12166 " └─ columns: [pk v1 v2 v3 v4]\n" + 12167 "", 12168 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12169 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12170 " ├─ filters: [{[4, 8], [NULL, ∞), [12, ∞), [NULL, ∞)}, {[12, ∞), [0, ∞), [18, 18], [NULL, ∞)}]\n" + 12171 " └─ columns: [pk v1 v2 v3 v4]\n" + 12172 "", 12173 }, 12174 { 12175 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>65 AND v2<=52 AND v3>37) OR (v1>11)) OR (v1<=54 AND v2 BETWEEN 30 AND 85 AND v3 BETWEEN 14 AND 27 AND v4>=35)) OR (v1>44 AND v2<>76 AND v3>=52));`, 12176 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12177 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12178 " ├─ static: [{(NULL, 11], [30, 85], [14, 27], [35, ∞)}, {(11, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12179 " ├─ colSet: (1-5)\n" + 12180 " ├─ tableId: 1\n" + 12181 " └─ Table\n" + 12182 " ├─ name: comp_index_t2\n" + 12183 " └─ columns: [pk v1 v2 v3 v4]\n" + 12184 "", 12185 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12186 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12187 " ├─ filters: [{(NULL, 11], [30, 85], [14, 27], [35, ∞)}, {(11, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12188 " └─ columns: [pk v1 v2 v3 v4]\n" + 12189 "", 12190 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12191 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12192 " ├─ filters: [{(NULL, 11], [30, 85], [14, 27], [35, ∞)}, {(11, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12193 " └─ columns: [pk v1 v2 v3 v4]\n" + 12194 "", 12195 }, 12196 { 12197 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=54) OR (v1<17 AND v2=34 AND v3>=59));`, 12198 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12199 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12200 " ├─ static: [{(NULL, 17), [34, 34], [59, ∞), [NULL, ∞)}, {[54, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12201 " ├─ colSet: (1-5)\n" + 12202 " ├─ tableId: 1\n" + 12203 " └─ Table\n" + 12204 " ├─ name: comp_index_t2\n" + 12205 " └─ columns: [pk v1 v2 v3 v4]\n" + 12206 "", 12207 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12208 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12209 " ├─ filters: [{(NULL, 17), [34, 34], [59, ∞), [NULL, ∞)}, {[54, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12210 " └─ columns: [pk v1 v2 v3 v4]\n" + 12211 "", 12212 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12213 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12214 " ├─ filters: [{(NULL, 17), [34, 34], [59, ∞), [NULL, ∞)}, {[54, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12215 " └─ columns: [pk v1 v2 v3 v4]\n" + 12216 "", 12217 }, 12218 { 12219 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>9 AND v4<>61 AND v2=98 AND v3<1) OR (v1<2 AND v2 BETWEEN 3 AND 70));`, 12220 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12221 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12222 " ├─ static: [{(NULL, 2), [3, 70], [NULL, ∞), [NULL, ∞)}, {(NULL, 9), [98, 98], (NULL, 1), (NULL, 61)}, {(NULL, 9), [98, 98], (NULL, 1), (61, ∞)}, {(9, ∞), [98, 98], (NULL, 1), (NULL, 61)}, {(9, ∞), [98, 98], (NULL, 1), (61, ∞)}]\n" + 12223 " ├─ colSet: (1-5)\n" + 12224 " ├─ tableId: 1\n" + 12225 " └─ Table\n" + 12226 " ├─ name: comp_index_t2\n" + 12227 " └─ columns: [pk v1 v2 v3 v4]\n" + 12228 "", 12229 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12230 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12231 " ├─ filters: [{(NULL, 2), [3, 70], [NULL, ∞), [NULL, ∞)}, {(NULL, 9), [98, 98], (NULL, 1), (NULL, 61)}, {(NULL, 9), [98, 98], (NULL, 1), (61, ∞)}, {(9, ∞), [98, 98], (NULL, 1), (NULL, 61)}, {(9, ∞), [98, 98], (NULL, 1), (61, ∞)}]\n" + 12232 " └─ columns: [pk v1 v2 v3 v4]\n" + 12233 "", 12234 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12235 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12236 " ├─ filters: [{(NULL, 2), [3, 70], [NULL, ∞), [NULL, ∞)}, {(NULL, 9), [98, 98], (NULL, 1), (NULL, 61)}, {(NULL, 9), [98, 98], (NULL, 1), (61, ∞)}, {(9, ∞), [98, 98], (NULL, 1), (NULL, 61)}, {(9, ∞), [98, 98], (NULL, 1), (61, ∞)}]\n" + 12237 " └─ columns: [pk v1 v2 v3 v4]\n" + 12238 "", 12239 }, 12240 { 12241 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=6 AND v2>93) OR (v1 BETWEEN 38 AND 46));`, 12242 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12243 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12244 " ├─ static: [{(NULL, 6], (93, ∞), [NULL, ∞), [NULL, ∞)}, {[38, 46], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12245 " ├─ colSet: (1-5)\n" + 12246 " ├─ tableId: 1\n" + 12247 " └─ Table\n" + 12248 " ├─ name: comp_index_t2\n" + 12249 " └─ columns: [pk v1 v2 v3 v4]\n" + 12250 "", 12251 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12252 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12253 " ├─ filters: [{(NULL, 6], (93, ∞), [NULL, ∞), [NULL, ∞)}, {[38, 46], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12254 " └─ columns: [pk v1 v2 v3 v4]\n" + 12255 "", 12256 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12257 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12258 " ├─ filters: [{(NULL, 6], (93, ∞), [NULL, ∞), [NULL, ∞)}, {[38, 46], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12259 " └─ columns: [pk v1 v2 v3 v4]\n" + 12260 "", 12261 }, 12262 { 12263 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 16 AND 72) OR (v1=20)) OR (v1>61 AND v2<>48 AND v3<>83 AND v4=46)) OR (v1=5 AND v2=59));`, 12264 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12265 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12266 " ├─ static: [{[5, 5], [59, 59], [NULL, ∞), [NULL, ∞)}, {[16, 72], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(72, ∞), (NULL, 48), (NULL, 83), [46, 46]}, {(72, ∞), (NULL, 48), (83, ∞), [46, 46]}, {(72, ∞), (48, ∞), (NULL, 83), [46, 46]}, {(72, ∞), (48, ∞), (83, ∞), [46, 46]}]\n" + 12267 " ├─ colSet: (1-5)\n" + 12268 " ├─ tableId: 1\n" + 12269 " └─ Table\n" + 12270 " ├─ name: comp_index_t2\n" + 12271 " └─ columns: [pk v1 v2 v3 v4]\n" + 12272 "", 12273 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12274 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12275 " ├─ filters: [{[5, 5], [59, 59], [NULL, ∞), [NULL, ∞)}, {[16, 72], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(72, ∞), (NULL, 48), (NULL, 83), [46, 46]}, {(72, ∞), (NULL, 48), (83, ∞), [46, 46]}, {(72, ∞), (48, ∞), (NULL, 83), [46, 46]}, {(72, ∞), (48, ∞), (83, ∞), [46, 46]}]\n" + 12276 " └─ columns: [pk v1 v2 v3 v4]\n" + 12277 "", 12278 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12279 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12280 " ├─ filters: [{[5, 5], [59, 59], [NULL, ∞), [NULL, ∞)}, {[16, 72], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(72, ∞), (NULL, 48), (NULL, 83), [46, 46]}, {(72, ∞), (NULL, 48), (83, ∞), [46, 46]}, {(72, ∞), (48, ∞), (NULL, 83), [46, 46]}, {(72, ∞), (48, ∞), (83, ∞), [46, 46]}]\n" + 12281 " └─ columns: [pk v1 v2 v3 v4]\n" + 12282 "", 12283 }, 12284 { 12285 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>41 AND v2>74 AND v3>37 AND v4<38) OR (v1=58 AND v2>=1)) OR (v1<=4 AND v2>0 AND v3 BETWEEN 39 AND 72 AND v4>=29));`, 12286 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12287 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12288 " ├─ static: [{(NULL, 4], (0, ∞), [39, 72], [29, ∞)}, {(41, 58), (74, ∞), (37, ∞), (NULL, 38)}, {[58, 58], [1, ∞), [NULL, ∞), [NULL, ∞)}, {(58, ∞), (74, ∞), (37, ∞), (NULL, 38)}]\n" + 12289 " ├─ colSet: (1-5)\n" + 12290 " ├─ tableId: 1\n" + 12291 " └─ Table\n" + 12292 " ├─ name: comp_index_t2\n" + 12293 " └─ columns: [pk v1 v2 v3 v4]\n" + 12294 "", 12295 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12296 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12297 " ├─ filters: [{(NULL, 4], (0, ∞), [39, 72], [29, ∞)}, {(41, 58), (74, ∞), (37, ∞), (NULL, 38)}, {[58, 58], [1, ∞), [NULL, ∞), [NULL, ∞)}, {(58, ∞), (74, ∞), (37, ∞), (NULL, 38)}]\n" + 12298 " └─ columns: [pk v1 v2 v3 v4]\n" + 12299 "", 12300 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12301 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12302 " ├─ filters: [{(NULL, 4], (0, ∞), [39, 72], [29, ∞)}, {(41, 58), (74, ∞), (37, ∞), (NULL, 38)}, {[58, 58], [1, ∞), [NULL, ∞), [NULL, ∞)}, {(58, ∞), (74, ∞), (37, ∞), (NULL, 38)}]\n" + 12303 " └─ columns: [pk v1 v2 v3 v4]\n" + 12304 "", 12305 }, 12306 { 12307 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>53 AND v4<99 AND v2<>31) OR (v1<>5 AND v2>70 AND v3>=71));`, 12308 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12309 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12310 " ├─ static: [{(NULL, 5), (31, 70], [NULL, ∞), (NULL, 99)}, {(NULL, 5), (70, ∞), [NULL, 71), (NULL, 99)}, {(NULL, 5), (70, ∞), [71, ∞), [NULL, ∞)}, {(NULL, 53), (NULL, 31), [NULL, ∞), (NULL, 99)}, {[5, 5], (31, ∞), [NULL, ∞), (NULL, 99)}, {(5, 53), (31, 70], [NULL, ∞), (NULL, 99)}, {(5, 53), (70, ∞), [NULL, 71), (NULL, 99)}, {(5, ∞), (70, ∞), [71, ∞), [NULL, ∞)}, {(53, ∞), (NULL, 31), [NULL, ∞), (NULL, 99)}, {(53, ∞), (31, 70], [NULL, ∞), (NULL, 99)}, {(53, ∞), (70, ∞), [NULL, 71), (NULL, 99)}]\n" + 12311 " ├─ colSet: (1-5)\n" + 12312 " ├─ tableId: 1\n" + 12313 " └─ Table\n" + 12314 " ├─ name: comp_index_t2\n" + 12315 " └─ columns: [pk v1 v2 v3 v4]\n" + 12316 "", 12317 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12318 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12319 " ├─ filters: [{(NULL, 5), (31, 70], [NULL, ∞), (NULL, 99)}, {(NULL, 5), (70, ∞), [NULL, 71), (NULL, 99)}, {(NULL, 5), (70, ∞), [71, ∞), [NULL, ∞)}, {(NULL, 53), (NULL, 31), [NULL, ∞), (NULL, 99)}, {[5, 5], (31, ∞), [NULL, ∞), (NULL, 99)}, {(5, 53), (31, 70], [NULL, ∞), (NULL, 99)}, {(5, 53), (70, ∞), [NULL, 71), (NULL, 99)}, {(5, ∞), (70, ∞), [71, ∞), [NULL, ∞)}, {(53, ∞), (NULL, 31), [NULL, ∞), (NULL, 99)}, {(53, ∞), (31, 70], [NULL, ∞), (NULL, 99)}, {(53, ∞), (70, ∞), [NULL, 71), (NULL, 99)}]\n" + 12320 " └─ columns: [pk v1 v2 v3 v4]\n" + 12321 "", 12322 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12323 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12324 " ├─ filters: [{(NULL, 5), (31, 70], [NULL, ∞), (NULL, 99)}, {(NULL, 5), (70, ∞), [NULL, 71), (NULL, 99)}, {(NULL, 5), (70, ∞), [71, ∞), [NULL, ∞)}, {(NULL, 53), (NULL, 31), [NULL, ∞), (NULL, 99)}, {[5, 5], (31, ∞), [NULL, ∞), (NULL, 99)}, {(5, 53), (31, 70], [NULL, ∞), (NULL, 99)}, {(5, 53), (70, ∞), [NULL, 71), (NULL, 99)}, {(5, ∞), (70, ∞), [71, ∞), [NULL, ∞)}, {(53, ∞), (NULL, 31), [NULL, ∞), (NULL, 99)}, {(53, ∞), (31, 70], [NULL, ∞), (NULL, 99)}, {(53, ∞), (70, ∞), [NULL, 71), (NULL, 99)}]\n" + 12325 " └─ columns: [pk v1 v2 v3 v4]\n" + 12326 "", 12327 }, 12328 { 12329 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>1 AND v4=93) OR (v1<10 AND v2 BETWEEN 40 AND 74 AND v3>=27));`, 12330 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12331 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12332 " ├─ static: [{(NULL, 10), [40, 74], [27, ∞), [NULL, ∞)}, {(1, 10), [NULL, 40), [NULL, ∞), [93, 93]}, {(1, 10), [40, 74], [NULL, 27), [93, 93]}, {(1, 10), (74, ∞), [NULL, ∞), [93, 93]}, {[10, ∞), [NULL, ∞), [NULL, ∞), [93, 93]}]\n" + 12333 " ├─ colSet: (1-5)\n" + 12334 " ├─ tableId: 1\n" + 12335 " └─ Table\n" + 12336 " ├─ name: comp_index_t2\n" + 12337 " └─ columns: [pk v1 v2 v3 v4]\n" + 12338 "", 12339 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12340 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12341 " ├─ filters: [{(NULL, 10), [40, 74], [27, ∞), [NULL, ∞)}, {(1, 10), [NULL, 40), [NULL, ∞), [93, 93]}, {(1, 10), [40, 74], [NULL, 27), [93, 93]}, {(1, 10), (74, ∞), [NULL, ∞), [93, 93]}, {[10, ∞), [NULL, ∞), [NULL, ∞), [93, 93]}]\n" + 12342 " └─ columns: [pk v1 v2 v3 v4]\n" + 12343 "", 12344 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12345 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12346 " ├─ filters: [{(NULL, 10), [40, 74], [27, ∞), [NULL, ∞)}, {(1, 10), [NULL, 40), [NULL, ∞), [93, 93]}, {(1, 10), [40, 74], [NULL, 27), [93, 93]}, {(1, 10), (74, ∞), [NULL, ∞), [93, 93]}, {[10, ∞), [NULL, ∞), [NULL, ∞), [93, 93]}]\n" + 12347 " └─ columns: [pk v1 v2 v3 v4]\n" + 12348 "", 12349 }, 12350 { 12351 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=92 AND v2>=64 AND v3=39 AND v4 BETWEEN 16 AND 53) OR (v1<54 AND v2 BETWEEN 8 AND 17 AND v3=21 AND v4=86));`, 12352 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12353 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12354 " ├─ static: [{(NULL, 54), [8, 17], [21, 21], [86, 86]}, {[92, ∞), [64, ∞), [39, 39], [16, 53]}]\n" + 12355 " ├─ colSet: (1-5)\n" + 12356 " ├─ tableId: 1\n" + 12357 " └─ Table\n" + 12358 " ├─ name: comp_index_t2\n" + 12359 " └─ columns: [pk v1 v2 v3 v4]\n" + 12360 "", 12361 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12362 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12363 " ├─ filters: [{(NULL, 54), [8, 17], [21, 21], [86, 86]}, {[92, ∞), [64, ∞), [39, 39], [16, 53]}]\n" + 12364 " └─ columns: [pk v1 v2 v3 v4]\n" + 12365 "", 12366 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12367 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12368 " ├─ filters: [{(NULL, 54), [8, 17], [21, 21], [86, 86]}, {[92, ∞), [64, ∞), [39, 39], [16, 53]}]\n" + 12369 " └─ columns: [pk v1 v2 v3 v4]\n" + 12370 "", 12371 }, 12372 { 12373 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 16 AND 31 AND v4 BETWEEN 18 AND 96) OR (v1=40 AND v2<=35 AND v3>=51 AND v4>=83));`, 12374 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12375 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12376 " ├─ static: [{[16, 31], [NULL, ∞), [NULL, ∞), [18, 96]}, {[40, 40], (NULL, 35], [51, ∞), [83, ∞)}]\n" + 12377 " ├─ colSet: (1-5)\n" + 12378 " ├─ tableId: 1\n" + 12379 " └─ Table\n" + 12380 " ├─ name: comp_index_t2\n" + 12381 " └─ columns: [pk v1 v2 v3 v4]\n" + 12382 "", 12383 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12384 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12385 " ├─ filters: [{[16, 31], [NULL, ∞), [NULL, ∞), [18, 96]}, {[40, 40], (NULL, 35], [51, ∞), [83, ∞)}]\n" + 12386 " └─ columns: [pk v1 v2 v3 v4]\n" + 12387 "", 12388 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12389 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12390 " ├─ filters: [{[16, 31], [NULL, ∞), [NULL, ∞), [18, 96]}, {[40, 40], (NULL, 35], [51, ∞), [83, ∞)}]\n" + 12391 " └─ columns: [pk v1 v2 v3 v4]\n" + 12392 "", 12393 }, 12394 { 12395 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 68 AND 78 AND v2>96 AND v3<58 AND v4<14) OR (v1=71)) AND (v1>15 AND v2>=19) OR (v1>36));`, 12396 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12397 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12398 " ├─ static: [{(36, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12399 " ├─ colSet: (1-5)\n" + 12400 " ├─ tableId: 1\n" + 12401 " └─ Table\n" + 12402 " ├─ name: comp_index_t2\n" + 12403 " └─ columns: [pk v1 v2 v3 v4]\n" + 12404 "", 12405 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12406 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12407 " ├─ filters: [{(36, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12408 " └─ columns: [pk v1 v2 v3 v4]\n" + 12409 "", 12410 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12411 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12412 " ├─ filters: [{(36, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12413 " └─ columns: [pk v1 v2 v3 v4]\n" + 12414 "", 12415 }, 12416 { 12417 Query: `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 33 AND 71 AND v2<=61 AND v3<=32 AND v4 BETWEEN 18 AND 73) AND (v1<3) AND (v1<=59 AND v2=47 AND v3<49 AND v4>36);`, 12418 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12419 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12420 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 12421 " ├─ colSet: (1-5)\n" + 12422 " ├─ tableId: 1\n" + 12423 " └─ Table\n" + 12424 " ├─ name: comp_index_t2\n" + 12425 " └─ columns: [pk v1 v2 v3 v4]\n" + 12426 "", 12427 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12428 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12429 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 12430 " └─ columns: [pk v1 v2 v3 v4]\n" + 12431 "", 12432 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12433 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12434 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 12435 " └─ columns: [pk v1 v2 v3 v4]\n" + 12436 "", 12437 }, 12438 { 12439 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<77 AND v2=43 AND v3<92 AND v4=13) OR (v1=38 AND v2<=46)) OR (v1 BETWEEN 10 AND 79 AND v2>=11 AND v3 BETWEEN 14 AND 14));`, 12440 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12441 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12442 " ├─ static: [{(NULL, 10), [43, 43], (NULL, 92), [13, 13]}, {[10, 38), [11, ∞), [14, 14], [NULL, ∞)}, {[10, 38), [43, 43], (NULL, 14), [13, 13]}, {[10, 38), [43, 43], (14, 92), [13, 13]}, {[38, 38], (NULL, 46], [NULL, ∞), [NULL, ∞)}, {[38, 38], (46, ∞), [14, 14], [NULL, ∞)}, {(38, 77), [43, 43], (NULL, 14), [13, 13]}, {(38, 77), [43, 43], (14, 92), [13, 13]}, {(38, 79], [11, ∞), [14, 14], [NULL, ∞)}]\n" + 12443 " ├─ colSet: (1-5)\n" + 12444 " ├─ tableId: 1\n" + 12445 " └─ Table\n" + 12446 " ├─ name: comp_index_t2\n" + 12447 " └─ columns: [pk v1 v2 v3 v4]\n" + 12448 "", 12449 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12450 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12451 " ├─ filters: [{(NULL, 10), [43, 43], (NULL, 92), [13, 13]}, {[10, 38), [11, ∞), [14, 14], [NULL, ∞)}, {[10, 38), [43, 43], (NULL, 14), [13, 13]}, {[10, 38), [43, 43], (14, 92), [13, 13]}, {[38, 38], (NULL, 46], [NULL, ∞), [NULL, ∞)}, {[38, 38], (46, ∞), [14, 14], [NULL, ∞)}, {(38, 77), [43, 43], (NULL, 14), [13, 13]}, {(38, 77), [43, 43], (14, 92), [13, 13]}, {(38, 79], [11, ∞), [14, 14], [NULL, ∞)}]\n" + 12452 " └─ columns: [pk v1 v2 v3 v4]\n" + 12453 "", 12454 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12455 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12456 " ├─ filters: [{(NULL, 10), [43, 43], (NULL, 92), [13, 13]}, {[10, 38), [11, ∞), [14, 14], [NULL, ∞)}, {[10, 38), [43, 43], (NULL, 14), [13, 13]}, {[10, 38), [43, 43], (14, 92), [13, 13]}, {[38, 38], (NULL, 46], [NULL, ∞), [NULL, ∞)}, {[38, 38], (46, ∞), [14, 14], [NULL, ∞)}, {(38, 77), [43, 43], (NULL, 14), [13, 13]}, {(38, 77), [43, 43], (14, 92), [13, 13]}, {(38, 79], [11, ∞), [14, 14], [NULL, ∞)}]\n" + 12457 " └─ columns: [pk v1 v2 v3 v4]\n" + 12458 "", 12459 }, 12460 { 12461 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=47 AND v4=13) AND (v1<=27 AND v3<54 AND v4 BETWEEN 27 AND 40) OR (v1>=40 AND v4=98 AND v2=25 AND v3>66));`, 12462 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12463 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12464 " ├─ static: [{[40, ∞), [25, 25], (66, ∞), [98, 98]}]\n" + 12465 " ├─ colSet: (1-5)\n" + 12466 " ├─ tableId: 1\n" + 12467 " └─ Table\n" + 12468 " ├─ name: comp_index_t2\n" + 12469 " └─ columns: [pk v1 v2 v3 v4]\n" + 12470 "", 12471 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12472 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12473 " ├─ filters: [{[40, ∞), [25, 25], (66, ∞), [98, 98]}]\n" + 12474 " └─ columns: [pk v1 v2 v3 v4]\n" + 12475 "", 12476 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12477 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12478 " ├─ filters: [{[40, ∞), [25, 25], (66, ∞), [98, 98]}]\n" + 12479 " └─ columns: [pk v1 v2 v3 v4]\n" + 12480 "", 12481 }, 12482 { 12483 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<98 AND v3 BETWEEN 80 AND 82) OR (v1 BETWEEN 31 AND 38 AND v2=39));`, 12484 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12485 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12486 " ├─ static: [{(NULL, 31), [NULL, ∞), [80, 82], [NULL, ∞)}, {[31, 38], [NULL, 39), [80, 82], [NULL, ∞)}, {[31, 38], [39, 39], [NULL, ∞), [NULL, ∞)}, {[31, 38], (39, ∞), [80, 82], [NULL, ∞)}, {(38, 98), [NULL, ∞), [80, 82], [NULL, ∞)}]\n" + 12487 " ├─ colSet: (1-5)\n" + 12488 " ├─ tableId: 1\n" + 12489 " └─ Table\n" + 12490 " ├─ name: comp_index_t2\n" + 12491 " └─ columns: [pk v1 v2 v3 v4]\n" + 12492 "", 12493 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12494 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12495 " ├─ filters: [{(NULL, 31), [NULL, ∞), [80, 82], [NULL, ∞)}, {[31, 38], [NULL, 39), [80, 82], [NULL, ∞)}, {[31, 38], [39, 39], [NULL, ∞), [NULL, ∞)}, {[31, 38], (39, ∞), [80, 82], [NULL, ∞)}, {(38, 98), [NULL, ∞), [80, 82], [NULL, ∞)}]\n" + 12496 " └─ columns: [pk v1 v2 v3 v4]\n" + 12497 "", 12498 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12499 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12500 " ├─ filters: [{(NULL, 31), [NULL, ∞), [80, 82], [NULL, ∞)}, {[31, 38], [NULL, 39), [80, 82], [NULL, ∞)}, {[31, 38], [39, 39], [NULL, ∞), [NULL, ∞)}, {[31, 38], (39, ∞), [80, 82], [NULL, ∞)}, {(38, 98), [NULL, ∞), [80, 82], [NULL, ∞)}]\n" + 12501 " └─ columns: [pk v1 v2 v3 v4]\n" + 12502 "", 12503 }, 12504 { 12505 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=75 AND v2 BETWEEN 45 AND 51 AND v3<15) OR (v1>=74 AND v2>=37 AND v3<76));`, 12506 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12507 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12508 " ├─ static: [{[74, ∞), [37, ∞), (NULL, 76), [NULL, ∞)}]\n" + 12509 " ├─ colSet: (1-5)\n" + 12510 " ├─ tableId: 1\n" + 12511 " └─ Table\n" + 12512 " ├─ name: comp_index_t2\n" + 12513 " └─ columns: [pk v1 v2 v3 v4]\n" + 12514 "", 12515 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12516 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12517 " ├─ filters: [{[74, ∞), [37, ∞), (NULL, 76), [NULL, ∞)}]\n" + 12518 " └─ columns: [pk v1 v2 v3 v4]\n" + 12519 "", 12520 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12521 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12522 " ├─ filters: [{[74, ∞), [37, ∞), (NULL, 76), [NULL, ∞)}]\n" + 12523 " └─ columns: [pk v1 v2 v3 v4]\n" + 12524 "", 12525 }, 12526 { 12527 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=40) OR (v1<>32 AND v4<=37));`, 12528 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12529 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12530 " ├─ static: [{(NULL, 32), [NULL, ∞), [NULL, ∞), (NULL, 37]}, {(32, 40), [NULL, ∞), [NULL, ∞), (NULL, 37]}, {[40, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12531 " ├─ colSet: (1-5)\n" + 12532 " ├─ tableId: 1\n" + 12533 " └─ Table\n" + 12534 " ├─ name: comp_index_t2\n" + 12535 " └─ columns: [pk v1 v2 v3 v4]\n" + 12536 "", 12537 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12538 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12539 " ├─ filters: [{(NULL, 32), [NULL, ∞), [NULL, ∞), (NULL, 37]}, {(32, 40), [NULL, ∞), [NULL, ∞), (NULL, 37]}, {[40, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12540 " └─ columns: [pk v1 v2 v3 v4]\n" + 12541 "", 12542 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12543 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12544 " ├─ filters: [{(NULL, 32), [NULL, ∞), [NULL, ∞), (NULL, 37]}, {(32, 40), [NULL, ∞), [NULL, ∞), (NULL, 37]}, {[40, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12545 " └─ columns: [pk v1 v2 v3 v4]\n" + 12546 "", 12547 }, 12548 { 12549 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>63 AND v3 BETWEEN 43 AND 50 AND v4<29 AND v2>=89) OR (v1>80));`, 12550 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12551 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12552 " ├─ static: [{(63, 80], [89, ∞), [43, 50], (NULL, 29)}, {(80, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12553 " ├─ colSet: (1-5)\n" + 12554 " ├─ tableId: 1\n" + 12555 " └─ Table\n" + 12556 " ├─ name: comp_index_t2\n" + 12557 " └─ columns: [pk v1 v2 v3 v4]\n" + 12558 "", 12559 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12560 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12561 " ├─ filters: [{(63, 80], [89, ∞), [43, 50], (NULL, 29)}, {(80, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12562 " └─ columns: [pk v1 v2 v3 v4]\n" + 12563 "", 12564 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12565 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12566 " ├─ filters: [{(63, 80], [89, ∞), [43, 50], (NULL, 29)}, {(80, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12567 " └─ columns: [pk v1 v2 v3 v4]\n" + 12568 "", 12569 }, 12570 { 12571 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=81) OR (v1>=27 AND v2>=21 AND v3 BETWEEN 1 AND 63 AND v4>=92));`, 12572 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12573 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12574 " ├─ static: [{[27, 81), [21, ∞), [1, 63], [92, ∞)}, {[81, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12575 " ├─ colSet: (1-5)\n" + 12576 " ├─ tableId: 1\n" + 12577 " └─ Table\n" + 12578 " ├─ name: comp_index_t2\n" + 12579 " └─ columns: [pk v1 v2 v3 v4]\n" + 12580 "", 12581 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12582 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12583 " ├─ filters: [{[27, 81), [21, ∞), [1, 63], [92, ∞)}, {[81, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12584 " └─ columns: [pk v1 v2 v3 v4]\n" + 12585 "", 12586 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12587 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12588 " ├─ filters: [{[27, 81), [21, ∞), [1, 63], [92, ∞)}, {[81, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12589 " └─ columns: [pk v1 v2 v3 v4]\n" + 12590 "", 12591 }, 12592 { 12593 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>13) OR (v1>72 AND v2=2 AND v3<=40)) OR (v1>77 AND v2<21));`, 12594 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12595 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12596 " ├─ static: [{(13, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12597 " ├─ colSet: (1-5)\n" + 12598 " ├─ tableId: 1\n" + 12599 " └─ Table\n" + 12600 " ├─ name: comp_index_t2\n" + 12601 " └─ columns: [pk v1 v2 v3 v4]\n" + 12602 "", 12603 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12604 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12605 " ├─ filters: [{(13, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12606 " └─ columns: [pk v1 v2 v3 v4]\n" + 12607 "", 12608 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12609 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12610 " ├─ filters: [{(13, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12611 " └─ columns: [pk v1 v2 v3 v4]\n" + 12612 "", 12613 }, 12614 { 12615 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>54 AND v2>23 AND v3 BETWEEN 28 AND 48 AND v4>=37) OR (v1>93 AND v2>=51 AND v3<9 AND v4<>49)) OR (v1>=71 AND v2<>33));`, 12616 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12617 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12618 " ├─ static: [{(NULL, 54), (23, ∞), [28, 48], [37, ∞)}, {(54, 71), (23, ∞), [28, 48], [37, ∞)}, {[71, ∞), (NULL, 33), [NULL, ∞), [NULL, ∞)}, {[71, ∞), [33, 33], [28, 48], [37, ∞)}, {[71, ∞), (33, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12619 " ├─ colSet: (1-5)\n" + 12620 " ├─ tableId: 1\n" + 12621 " └─ Table\n" + 12622 " ├─ name: comp_index_t2\n" + 12623 " └─ columns: [pk v1 v2 v3 v4]\n" + 12624 "", 12625 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12626 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12627 " ├─ filters: [{(NULL, 54), (23, ∞), [28, 48], [37, ∞)}, {(54, 71), (23, ∞), [28, 48], [37, ∞)}, {[71, ∞), (NULL, 33), [NULL, ∞), [NULL, ∞)}, {[71, ∞), [33, 33], [28, 48], [37, ∞)}, {[71, ∞), (33, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12628 " └─ columns: [pk v1 v2 v3 v4]\n" + 12629 "", 12630 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12631 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12632 " ├─ filters: [{(NULL, 54), (23, ∞), [28, 48], [37, ∞)}, {(54, 71), (23, ∞), [28, 48], [37, ∞)}, {[71, ∞), (NULL, 33), [NULL, ∞), [NULL, ∞)}, {[71, ∞), [33, 33], [28, 48], [37, ∞)}, {[71, ∞), (33, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12633 " └─ columns: [pk v1 v2 v3 v4]\n" + 12634 "", 12635 }, 12636 { 12637 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 15 AND 69 AND v4=83 AND v2<=43) OR (v1<51 AND v2<24 AND v3<>27 AND v4<>50)) OR (v1<>37));`, 12638 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12639 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12640 " ├─ static: [{(NULL, 37), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[37, 37], (NULL, 24), [NULL, NULL], [83, 83]}, {[37, 37], (NULL, 24), (NULL, 27), (NULL, 50)}, {[37, 37], (NULL, 24), (NULL, 27), (50, ∞)}, {[37, 37], (NULL, 24), [27, 27], [83, 83]}, {[37, 37], (NULL, 24), (27, ∞), (NULL, 50)}, {[37, 37], (NULL, 24), (27, ∞), (50, ∞)}, {[37, 37], [24, 43], [NULL, ∞), [83, 83]}, {(37, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12641 " ├─ colSet: (1-5)\n" + 12642 " ├─ tableId: 1\n" + 12643 " └─ Table\n" + 12644 " ├─ name: comp_index_t2\n" + 12645 " └─ columns: [pk v1 v2 v3 v4]\n" + 12646 "", 12647 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12648 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12649 " ├─ filters: [{(NULL, 37), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[37, 37], (NULL, 24), [NULL, NULL], [83, 83]}, {[37, 37], (NULL, 24), (NULL, 27), (NULL, 50)}, {[37, 37], (NULL, 24), (NULL, 27), (50, ∞)}, {[37, 37], (NULL, 24), [27, 27], [83, 83]}, {[37, 37], (NULL, 24), (27, ∞), (NULL, 50)}, {[37, 37], (NULL, 24), (27, ∞), (50, ∞)}, {[37, 37], [24, 43], [NULL, ∞), [83, 83]}, {(37, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12650 " └─ columns: [pk v1 v2 v3 v4]\n" + 12651 "", 12652 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12653 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12654 " ├─ filters: [{(NULL, 37), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[37, 37], (NULL, 24), [NULL, NULL], [83, 83]}, {[37, 37], (NULL, 24), (NULL, 27), (NULL, 50)}, {[37, 37], (NULL, 24), (NULL, 27), (50, ∞)}, {[37, 37], (NULL, 24), [27, 27], [83, 83]}, {[37, 37], (NULL, 24), (27, ∞), (NULL, 50)}, {[37, 37], (NULL, 24), (27, ∞), (50, ∞)}, {[37, 37], [24, 43], [NULL, ∞), [83, 83]}, {(37, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12655 " └─ columns: [pk v1 v2 v3 v4]\n" + 12656 "", 12657 }, 12658 { 12659 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 55 AND 66 AND v2<>81 AND v3=6 AND v4<=19) OR (v1<>91));`, 12660 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12661 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12662 " ├─ static: [{(NULL, 91), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(91, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12663 " ├─ colSet: (1-5)\n" + 12664 " ├─ tableId: 1\n" + 12665 " └─ Table\n" + 12666 " ├─ name: comp_index_t2\n" + 12667 " └─ columns: [pk v1 v2 v3 v4]\n" + 12668 "", 12669 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12670 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12671 " ├─ filters: [{(NULL, 91), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(91, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12672 " └─ columns: [pk v1 v2 v3 v4]\n" + 12673 "", 12674 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12675 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12676 " ├─ filters: [{(NULL, 91), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(91, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12677 " └─ columns: [pk v1 v2 v3 v4]\n" + 12678 "", 12679 }, 12680 { 12681 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=21 AND v2<50 AND v3>=39) OR (v1<=79 AND v4>62 AND v2=31));`, 12682 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12683 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12684 " ├─ static: [{(NULL, 21), [31, 31], [NULL, ∞), (62, ∞)}, {[21, 21], (NULL, 50), [39, ∞), [NULL, ∞)}, {[21, 21], [31, 31], [NULL, 39), (62, ∞)}, {(21, 79], [31, 31], [NULL, ∞), (62, ∞)}]\n" + 12685 " ├─ colSet: (1-5)\n" + 12686 " ├─ tableId: 1\n" + 12687 " └─ Table\n" + 12688 " ├─ name: comp_index_t2\n" + 12689 " └─ columns: [pk v1 v2 v3 v4]\n" + 12690 "", 12691 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12692 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12693 " ├─ filters: [{(NULL, 21), [31, 31], [NULL, ∞), (62, ∞)}, {[21, 21], (NULL, 50), [39, ∞), [NULL, ∞)}, {[21, 21], [31, 31], [NULL, 39), (62, ∞)}, {(21, 79], [31, 31], [NULL, ∞), (62, ∞)}]\n" + 12694 " └─ columns: [pk v1 v2 v3 v4]\n" + 12695 "", 12696 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12697 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12698 " ├─ filters: [{(NULL, 21), [31, 31], [NULL, ∞), (62, ∞)}, {[21, 21], (NULL, 50), [39, ∞), [NULL, ∞)}, {[21, 21], [31, 31], [NULL, 39), (62, ∞)}, {(21, 79], [31, 31], [NULL, ∞), (62, ∞)}]\n" + 12699 " └─ columns: [pk v1 v2 v3 v4]\n" + 12700 "", 12701 }, 12702 { 12703 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>78) OR (v1>=9 AND v2<>84));`, 12704 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12705 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12706 " ├─ static: [{[9, 78], (NULL, 84), [NULL, ∞), [NULL, ∞)}, {[9, 78], (84, ∞), [NULL, ∞), [NULL, ∞)}, {(78, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12707 " ├─ colSet: (1-5)\n" + 12708 " ├─ tableId: 1\n" + 12709 " └─ Table\n" + 12710 " ├─ name: comp_index_t2\n" + 12711 " └─ columns: [pk v1 v2 v3 v4]\n" + 12712 "", 12713 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12714 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12715 " ├─ filters: [{[9, 78], (NULL, 84), [NULL, ∞), [NULL, ∞)}, {[9, 78], (84, ∞), [NULL, ∞), [NULL, ∞)}, {(78, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12716 " └─ columns: [pk v1 v2 v3 v4]\n" + 12717 "", 12718 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12719 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12720 " ├─ filters: [{[9, 78], (NULL, 84), [NULL, ∞), [NULL, ∞)}, {[9, 78], (84, ∞), [NULL, ∞), [NULL, ∞)}, {(78, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12721 " └─ columns: [pk v1 v2 v3 v4]\n" + 12722 "", 12723 }, 12724 { 12725 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>16 AND v3>=29) OR (v1>=47 AND v2<>63));`, 12726 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12727 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12728 " ├─ static: [{(16, 47), [NULL, ∞), [29, ∞), [NULL, ∞)}, {[47, ∞), [NULL, NULL], [29, ∞), [NULL, ∞)}, {[47, ∞), (NULL, 63), [NULL, ∞), [NULL, ∞)}, {[47, ∞), [63, 63], [29, ∞), [NULL, ∞)}, {[47, ∞), (63, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12729 " ├─ colSet: (1-5)\n" + 12730 " ├─ tableId: 1\n" + 12731 " └─ Table\n" + 12732 " ├─ name: comp_index_t2\n" + 12733 " └─ columns: [pk v1 v2 v3 v4]\n" + 12734 "", 12735 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12736 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12737 " ├─ filters: [{(16, 47), [NULL, ∞), [29, ∞), [NULL, ∞)}, {[47, ∞), [NULL, NULL], [29, ∞), [NULL, ∞)}, {[47, ∞), (NULL, 63), [NULL, ∞), [NULL, ∞)}, {[47, ∞), [63, 63], [29, ∞), [NULL, ∞)}, {[47, ∞), (63, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12738 " └─ columns: [pk v1 v2 v3 v4]\n" + 12739 "", 12740 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12741 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12742 " ├─ filters: [{(16, 47), [NULL, ∞), [29, ∞), [NULL, ∞)}, {[47, ∞), [NULL, NULL], [29, ∞), [NULL, ∞)}, {[47, ∞), (NULL, 63), [NULL, ∞), [NULL, ∞)}, {[47, ∞), [63, 63], [29, ∞), [NULL, ∞)}, {[47, ∞), (63, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12743 " └─ columns: [pk v1 v2 v3 v4]\n" + 12744 "", 12745 }, 12746 { 12747 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=16 AND v2>=9 AND v3<>48) OR (v1>=76 AND v2<>86)) OR (v1<28 AND v2=1 AND v3<=23 AND v4 BETWEEN 13 AND 55));`, 12748 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12749 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12750 " ├─ static: [{(NULL, 28), [1, 1], (NULL, 23], [13, 55]}, {[16, 16], [9, ∞), (NULL, 48), [NULL, ∞)}, {[16, 16], [9, ∞), (48, ∞), [NULL, ∞)}, {[76, ∞), (NULL, 86), [NULL, ∞), [NULL, ∞)}, {[76, ∞), (86, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12751 " ├─ colSet: (1-5)\n" + 12752 " ├─ tableId: 1\n" + 12753 " └─ Table\n" + 12754 " ├─ name: comp_index_t2\n" + 12755 " └─ columns: [pk v1 v2 v3 v4]\n" + 12756 "", 12757 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12758 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12759 " ├─ filters: [{(NULL, 28), [1, 1], (NULL, 23], [13, 55]}, {[16, 16], [9, ∞), (NULL, 48), [NULL, ∞)}, {[16, 16], [9, ∞), (48, ∞), [NULL, ∞)}, {[76, ∞), (NULL, 86), [NULL, ∞), [NULL, ∞)}, {[76, ∞), (86, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12760 " └─ columns: [pk v1 v2 v3 v4]\n" + 12761 "", 12762 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12763 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12764 " ├─ filters: [{(NULL, 28), [1, 1], (NULL, 23], [13, 55]}, {[16, 16], [9, ∞), (NULL, 48), [NULL, ∞)}, {[16, 16], [9, ∞), (48, ∞), [NULL, ∞)}, {[76, ∞), (NULL, 86), [NULL, ∞), [NULL, ∞)}, {[76, ∞), (86, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12765 " └─ columns: [pk v1 v2 v3 v4]\n" + 12766 "", 12767 }, 12768 { 12769 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=35 AND v2>67) OR (v1<>55));`, 12770 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12771 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12772 " ├─ static: [{(NULL, 55), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(55, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12773 " ├─ colSet: (1-5)\n" + 12774 " ├─ tableId: 1\n" + 12775 " └─ Table\n" + 12776 " ├─ name: comp_index_t2\n" + 12777 " └─ columns: [pk v1 v2 v3 v4]\n" + 12778 "", 12779 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12780 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12781 " ├─ filters: [{(NULL, 55), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(55, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12782 " └─ columns: [pk v1 v2 v3 v4]\n" + 12783 "", 12784 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12785 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12786 " ├─ filters: [{(NULL, 55), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(55, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12787 " └─ columns: [pk v1 v2 v3 v4]\n" + 12788 "", 12789 }, 12790 { 12791 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<89 AND v2<5 AND v3 BETWEEN 53 AND 61) OR (v1<>72 AND v3<20));`, 12792 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12793 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12794 " ├─ static: [{(NULL, 72), [NULL, ∞), (NULL, 20), [NULL, ∞)}, {(NULL, 89), (NULL, 5), [53, 61], [NULL, ∞)}, {(72, ∞), [NULL, ∞), (NULL, 20), [NULL, ∞)}]\n" + 12795 " ├─ colSet: (1-5)\n" + 12796 " ├─ tableId: 1\n" + 12797 " └─ Table\n" + 12798 " ├─ name: comp_index_t2\n" + 12799 " └─ columns: [pk v1 v2 v3 v4]\n" + 12800 "", 12801 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12802 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12803 " ├─ filters: [{(NULL, 72), [NULL, ∞), (NULL, 20), [NULL, ∞)}, {(NULL, 89), (NULL, 5), [53, 61], [NULL, ∞)}, {(72, ∞), [NULL, ∞), (NULL, 20), [NULL, ∞)}]\n" + 12804 " └─ columns: [pk v1 v2 v3 v4]\n" + 12805 "", 12806 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12807 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12808 " ├─ filters: [{(NULL, 72), [NULL, ∞), (NULL, 20), [NULL, ∞)}, {(NULL, 89), (NULL, 5), [53, 61], [NULL, ∞)}, {(72, ∞), [NULL, ∞), (NULL, 20), [NULL, ∞)}]\n" + 12809 " └─ columns: [pk v1 v2 v3 v4]\n" + 12810 "", 12811 }, 12812 { 12813 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=58 AND v2<=89 AND v3=78 AND v4<=58) OR (v1>39)) AND (v1<>25 AND v2>1 AND v3<18);`, 12814 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12815 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12816 " ├─ static: [{(39, ∞), (1, ∞), (NULL, 18), [NULL, ∞)}]\n" + 12817 " ├─ colSet: (1-5)\n" + 12818 " ├─ tableId: 1\n" + 12819 " └─ Table\n" + 12820 " ├─ name: comp_index_t2\n" + 12821 " └─ columns: [pk v1 v2 v3 v4]\n" + 12822 "", 12823 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12824 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12825 " ├─ filters: [{(39, ∞), (1, ∞), (NULL, 18), [NULL, ∞)}]\n" + 12826 " └─ columns: [pk v1 v2 v3 v4]\n" + 12827 "", 12828 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12829 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12830 " ├─ filters: [{(39, ∞), (1, ∞), (NULL, 18), [NULL, ∞)}]\n" + 12831 " └─ columns: [pk v1 v2 v3 v4]\n" + 12832 "", 12833 }, 12834 { 12835 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>94) OR (v1=33 AND v2 BETWEEN 53 AND 60 AND v3 BETWEEN 37 AND 73));`, 12836 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12837 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12838 " ├─ static: [{[33, 33], [53, 60], [37, 73], [NULL, ∞)}, {(94, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12839 " ├─ colSet: (1-5)\n" + 12840 " ├─ tableId: 1\n" + 12841 " └─ Table\n" + 12842 " ├─ name: comp_index_t2\n" + 12843 " └─ columns: [pk v1 v2 v3 v4]\n" + 12844 "", 12845 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12846 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12847 " ├─ filters: [{[33, 33], [53, 60], [37, 73], [NULL, ∞)}, {(94, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12848 " └─ columns: [pk v1 v2 v3 v4]\n" + 12849 "", 12850 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12851 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12852 " ├─ filters: [{[33, 33], [53, 60], [37, 73], [NULL, ∞)}, {(94, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12853 " └─ columns: [pk v1 v2 v3 v4]\n" + 12854 "", 12855 }, 12856 { 12857 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=40 AND v2<>8 AND v3<=69) OR (v1<=72)) OR (v1 BETWEEN 87 AND 89 AND v2 BETWEEN 52 AND 58));`, 12858 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12859 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12860 " ├─ static: [{(NULL, 72], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[87, 89], [52, 58], [NULL, ∞), [NULL, ∞)}]\n" + 12861 " ├─ colSet: (1-5)\n" + 12862 " ├─ tableId: 1\n" + 12863 " └─ Table\n" + 12864 " ├─ name: comp_index_t2\n" + 12865 " └─ columns: [pk v1 v2 v3 v4]\n" + 12866 "", 12867 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12868 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12869 " ├─ filters: [{(NULL, 72], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[87, 89], [52, 58], [NULL, ∞), [NULL, ∞)}]\n" + 12870 " └─ columns: [pk v1 v2 v3 v4]\n" + 12871 "", 12872 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12873 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12874 " ├─ filters: [{(NULL, 72], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[87, 89], [52, 58], [NULL, ∞), [NULL, ∞)}]\n" + 12875 " └─ columns: [pk v1 v2 v3 v4]\n" + 12876 "", 12877 }, 12878 { 12879 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<9 AND v2=97 AND v3<>54 AND v4>71) OR (v1>48 AND v2 BETWEEN 7 AND 23 AND v3<>95 AND v4>86)) OR (v1 BETWEEN 36 AND 90));`, 12880 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12881 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12882 " ├─ static: [{(NULL, 9), [97, 97], (NULL, 54), (71, ∞)}, {(NULL, 9), [97, 97], (54, ∞), (71, ∞)}, {[36, 90], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(90, ∞), [7, 23], (NULL, 95), (86, ∞)}, {(90, ∞), [7, 23], (95, ∞), (86, ∞)}]\n" + 12883 " ├─ colSet: (1-5)\n" + 12884 " ├─ tableId: 1\n" + 12885 " └─ Table\n" + 12886 " ├─ name: comp_index_t2\n" + 12887 " └─ columns: [pk v1 v2 v3 v4]\n" + 12888 "", 12889 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12890 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12891 " ├─ filters: [{(NULL, 9), [97, 97], (NULL, 54), (71, ∞)}, {(NULL, 9), [97, 97], (54, ∞), (71, ∞)}, {[36, 90], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(90, ∞), [7, 23], (NULL, 95), (86, ∞)}, {(90, ∞), [7, 23], (95, ∞), (86, ∞)}]\n" + 12892 " └─ columns: [pk v1 v2 v3 v4]\n" + 12893 "", 12894 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12895 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12896 " ├─ filters: [{(NULL, 9), [97, 97], (NULL, 54), (71, ∞)}, {(NULL, 9), [97, 97], (54, ∞), (71, ∞)}, {[36, 90], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(90, ∞), [7, 23], (NULL, 95), (86, ∞)}, {(90, ∞), [7, 23], (95, ∞), (86, ∞)}]\n" + 12897 " └─ columns: [pk v1 v2 v3 v4]\n" + 12898 "", 12899 }, 12900 { 12901 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=38 AND v2<70) OR (v1>79));`, 12902 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12903 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12904 " ├─ static: [{[38, 79], (NULL, 70), [NULL, ∞), [NULL, ∞)}, {(79, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12905 " ├─ colSet: (1-5)\n" + 12906 " ├─ tableId: 1\n" + 12907 " └─ Table\n" + 12908 " ├─ name: comp_index_t2\n" + 12909 " └─ columns: [pk v1 v2 v3 v4]\n" + 12910 "", 12911 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12912 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12913 " ├─ filters: [{[38, 79], (NULL, 70), [NULL, ∞), [NULL, ∞)}, {(79, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12914 " └─ columns: [pk v1 v2 v3 v4]\n" + 12915 "", 12916 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12917 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12918 " ├─ filters: [{[38, 79], (NULL, 70), [NULL, ∞), [NULL, ∞)}, {(79, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12919 " └─ columns: [pk v1 v2 v3 v4]\n" + 12920 "", 12921 }, 12922 { 12923 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<47 AND v2 BETWEEN 22 AND 85) AND (v1=73) OR (v1<42));`, 12924 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12925 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12926 " ├─ static: [{(NULL, 42), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12927 " ├─ colSet: (1-5)\n" + 12928 " ├─ tableId: 1\n" + 12929 " └─ Table\n" + 12930 " ├─ name: comp_index_t2\n" + 12931 " └─ columns: [pk v1 v2 v3 v4]\n" + 12932 "", 12933 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12934 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12935 " ├─ filters: [{(NULL, 42), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12936 " └─ columns: [pk v1 v2 v3 v4]\n" + 12937 "", 12938 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12939 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12940 " ├─ filters: [{(NULL, 42), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 12941 " └─ columns: [pk v1 v2 v3 v4]\n" + 12942 "", 12943 }, 12944 { 12945 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<29) AND (v1<41 AND v2>52 AND v3<>55) OR (v1 BETWEEN 16 AND 28 AND v2>=9 AND v3=43 AND v4<6));`, 12946 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12947 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12948 " ├─ static: [{(NULL, 29), (52, ∞), (NULL, 55), [NULL, ∞)}, {(NULL, 29), (52, ∞), (55, ∞), [NULL, ∞)}, {[16, 28], [9, 52], [43, 43], (NULL, 6)}]\n" + 12949 " ├─ colSet: (1-5)\n" + 12950 " ├─ tableId: 1\n" + 12951 " └─ Table\n" + 12952 " ├─ name: comp_index_t2\n" + 12953 " └─ columns: [pk v1 v2 v3 v4]\n" + 12954 "", 12955 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12956 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12957 " ├─ filters: [{(NULL, 29), (52, ∞), (NULL, 55), [NULL, ∞)}, {(NULL, 29), (52, ∞), (55, ∞), [NULL, ∞)}, {[16, 28], [9, 52], [43, 43], (NULL, 6)}]\n" + 12958 " └─ columns: [pk v1 v2 v3 v4]\n" + 12959 "", 12960 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12961 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12962 " ├─ filters: [{(NULL, 29), (52, ∞), (NULL, 55), [NULL, ∞)}, {(NULL, 29), (52, ∞), (55, ∞), [NULL, ∞)}, {[16, 28], [9, 52], [43, 43], (NULL, 6)}]\n" + 12963 " └─ columns: [pk v1 v2 v3 v4]\n" + 12964 "", 12965 }, 12966 { 12967 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<56 AND v2<=52) OR (v1>=30 AND v2<73 AND v3>40 AND v4>=13)) AND (v1<30 AND v4<>25 AND v2<>82 AND v3 BETWEEN 80 AND 88);`, 12968 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12969 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12970 " ├─ static: [{(NULL, 30), (NULL, 52], [80, 88], (NULL, 25)}, {(NULL, 30), (NULL, 52], [80, 88], (25, ∞)}]\n" + 12971 " ├─ colSet: (1-5)\n" + 12972 " ├─ tableId: 1\n" + 12973 " └─ Table\n" + 12974 " ├─ name: comp_index_t2\n" + 12975 " └─ columns: [pk v1 v2 v3 v4]\n" + 12976 "", 12977 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 12978 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12979 " ├─ filters: [{(NULL, 30), (NULL, 52], [80, 88], (NULL, 25)}, {(NULL, 30), (NULL, 52], [80, 88], (25, ∞)}]\n" + 12980 " └─ columns: [pk v1 v2 v3 v4]\n" + 12981 "", 12982 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 12983 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12984 " ├─ filters: [{(NULL, 30), (NULL, 52], [80, 88], (NULL, 25)}, {(NULL, 30), (NULL, 52], [80, 88], (25, ∞)}]\n" + 12985 " └─ columns: [pk v1 v2 v3 v4]\n" + 12986 "", 12987 }, 12988 { 12989 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 9 AND 53 AND v2 BETWEEN 26 AND 56) OR (v1 BETWEEN 29 AND 72 AND v2<18 AND v3=73 AND v4<=12));`, 12990 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 12991 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 12992 " ├─ static: [{[9, 53], [26, 56], [NULL, ∞), [NULL, ∞)}, {[29, 72], (NULL, 18), [73, 73], (NULL, 12]}]\n" + 12993 " ├─ colSet: (1-5)\n" + 12994 " ├─ tableId: 1\n" + 12995 " └─ Table\n" + 12996 " ├─ name: comp_index_t2\n" + 12997 " └─ columns: [pk v1 v2 v3 v4]\n" + 12998 "", 12999 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13000 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13001 " ├─ filters: [{[9, 53], [26, 56], [NULL, ∞), [NULL, ∞)}, {[29, 72], (NULL, 18), [73, 73], (NULL, 12]}]\n" + 13002 " └─ columns: [pk v1 v2 v3 v4]\n" + 13003 "", 13004 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13005 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13006 " ├─ filters: [{[9, 53], [26, 56], [NULL, ∞), [NULL, ∞)}, {[29, 72], (NULL, 18), [73, 73], (NULL, 12]}]\n" + 13007 " └─ columns: [pk v1 v2 v3 v4]\n" + 13008 "", 13009 }, 13010 { 13011 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>96 AND v2<27) OR (v1<82)) AND (v1>=80 AND v2 BETWEEN 14 AND 53);`, 13012 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13013 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13014 " ├─ static: [{[80, 82), [14, 53], [NULL, ∞), [NULL, ∞)}, {(96, ∞), [14, 27), [NULL, ∞), [NULL, ∞)}]\n" + 13015 " ├─ colSet: (1-5)\n" + 13016 " ├─ tableId: 1\n" + 13017 " └─ Table\n" + 13018 " ├─ name: comp_index_t2\n" + 13019 " └─ columns: [pk v1 v2 v3 v4]\n" + 13020 "", 13021 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13022 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13023 " ├─ filters: [{[80, 82), [14, 53], [NULL, ∞), [NULL, ∞)}, {(96, ∞), [14, 27), [NULL, ∞), [NULL, ∞)}]\n" + 13024 " └─ columns: [pk v1 v2 v3 v4]\n" + 13025 "", 13026 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13027 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13028 " ├─ filters: [{[80, 82), [14, 53], [NULL, ∞), [NULL, ∞)}, {(96, ∞), [14, 27), [NULL, ∞), [NULL, ∞)}]\n" + 13029 " └─ columns: [pk v1 v2 v3 v4]\n" + 13030 "", 13031 }, 13032 { 13033 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>86) OR (v1>=48 AND v4>9));`, 13034 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13035 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13036 " ├─ static: [{[48, 86], [NULL, ∞), [NULL, ∞), (9, ∞)}, {(86, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13037 " ├─ colSet: (1-5)\n" + 13038 " ├─ tableId: 1\n" + 13039 " └─ Table\n" + 13040 " ├─ name: comp_index_t2\n" + 13041 " └─ columns: [pk v1 v2 v3 v4]\n" + 13042 "", 13043 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13044 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13045 " ├─ filters: [{[48, 86], [NULL, ∞), [NULL, ∞), (9, ∞)}, {(86, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13046 " └─ columns: [pk v1 v2 v3 v4]\n" + 13047 "", 13048 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13049 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13050 " ├─ filters: [{[48, 86], [NULL, ∞), [NULL, ∞), (9, ∞)}, {(86, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13051 " └─ columns: [pk v1 v2 v3 v4]\n" + 13052 "", 13053 }, 13054 { 13055 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=41 AND v2=79 AND v3<16 AND v4>=2) OR (v1<16 AND v4>59));`, 13056 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13057 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13058 " ├─ static: [{(NULL, 16), [NULL, ∞), [NULL, ∞), (59, ∞)}, {[41, 41], [79, 79], (NULL, 16), [2, ∞)}]\n" + 13059 " ├─ colSet: (1-5)\n" + 13060 " ├─ tableId: 1\n" + 13061 " └─ Table\n" + 13062 " ├─ name: comp_index_t2\n" + 13063 " └─ columns: [pk v1 v2 v3 v4]\n" + 13064 "", 13065 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13066 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13067 " ├─ filters: [{(NULL, 16), [NULL, ∞), [NULL, ∞), (59, ∞)}, {[41, 41], [79, 79], (NULL, 16), [2, ∞)}]\n" + 13068 " └─ columns: [pk v1 v2 v3 v4]\n" + 13069 "", 13070 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13071 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13072 " ├─ filters: [{(NULL, 16), [NULL, ∞), [NULL, ∞), (59, ∞)}, {[41, 41], [79, 79], (NULL, 16), [2, ∞)}]\n" + 13073 " └─ columns: [pk v1 v2 v3 v4]\n" + 13074 "", 13075 }, 13076 { 13077 Query: `SELECT * FROM comp_index_t2 WHERE (v1>=69 AND v2 BETWEEN 38 AND 45) AND (v1<>35 AND v2<28 AND v3>14);`, 13078 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13079 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13080 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 13081 " ├─ colSet: (1-5)\n" + 13082 " ├─ tableId: 1\n" + 13083 " └─ Table\n" + 13084 " ├─ name: comp_index_t2\n" + 13085 " └─ columns: [pk v1 v2 v3 v4]\n" + 13086 "", 13087 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13088 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13089 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 13090 " └─ columns: [pk v1 v2 v3 v4]\n" + 13091 "", 13092 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13093 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13094 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 13095 " └─ columns: [pk v1 v2 v3 v4]\n" + 13096 "", 13097 }, 13098 { 13099 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=93 AND v2<=10 AND v3 BETWEEN 21 AND 83) AND (v1<>5 AND v2>59 AND v3<>17) OR (v1<69 AND v3<>65 AND v4>=51 AND v2<=48)) OR (v1 BETWEEN 37 AND 57 AND v2 BETWEEN 44 AND 57 AND v3<40 AND v4=98));`, 13100 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13101 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13102 " ├─ static: [{(NULL, 69), (NULL, 48], (NULL, 65), [51, ∞)}, {(NULL, 69), (NULL, 48], (65, ∞), [51, ∞)}, {[37, 57], (48, 57], (NULL, 40), [98, 98]}]\n" + 13103 " ├─ colSet: (1-5)\n" + 13104 " ├─ tableId: 1\n" + 13105 " └─ Table\n" + 13106 " ├─ name: comp_index_t2\n" + 13107 " └─ columns: [pk v1 v2 v3 v4]\n" + 13108 "", 13109 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13110 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13111 " ├─ filters: [{(NULL, 69), (NULL, 48], (NULL, 65), [51, ∞)}, {(NULL, 69), (NULL, 48], (65, ∞), [51, ∞)}, {[37, 57], (48, 57], (NULL, 40), [98, 98]}]\n" + 13112 " └─ columns: [pk v1 v2 v3 v4]\n" + 13113 "", 13114 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13115 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13116 " ├─ filters: [{(NULL, 69), (NULL, 48], (NULL, 65), [51, ∞)}, {(NULL, 69), (NULL, 48], (65, ∞), [51, ∞)}, {[37, 57], (48, 57], (NULL, 40), [98, 98]}]\n" + 13117 " └─ columns: [pk v1 v2 v3 v4]\n" + 13118 "", 13119 }, 13120 { 13121 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<46) OR (v1<>60));`, 13122 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13123 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13124 " ├─ static: [{(NULL, 60), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(60, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13125 " ├─ colSet: (1-5)\n" + 13126 " ├─ tableId: 1\n" + 13127 " └─ Table\n" + 13128 " ├─ name: comp_index_t2\n" + 13129 " └─ columns: [pk v1 v2 v3 v4]\n" + 13130 "", 13131 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13132 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13133 " ├─ filters: [{(NULL, 60), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(60, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13134 " └─ columns: [pk v1 v2 v3 v4]\n" + 13135 "", 13136 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13137 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13138 " ├─ filters: [{(NULL, 60), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(60, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13139 " └─ columns: [pk v1 v2 v3 v4]\n" + 13140 "", 13141 }, 13142 { 13143 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<97 AND v2<=47 AND v3=91) OR (v1=74 AND v4>72 AND v2<>44 AND v3 BETWEEN 4 AND 51));`, 13144 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13145 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13146 " ├─ static: [{(NULL, 97), (NULL, 47], [91, 91], [NULL, ∞)}, {[74, 74], (NULL, 44), [4, 51], (72, ∞)}, {[74, 74], (44, ∞), [4, 51], (72, ∞)}]\n" + 13147 " ├─ colSet: (1-5)\n" + 13148 " ├─ tableId: 1\n" + 13149 " └─ Table\n" + 13150 " ├─ name: comp_index_t2\n" + 13151 " └─ columns: [pk v1 v2 v3 v4]\n" + 13152 "", 13153 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13154 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13155 " ├─ filters: [{(NULL, 97), (NULL, 47], [91, 91], [NULL, ∞)}, {[74, 74], (NULL, 44), [4, 51], (72, ∞)}, {[74, 74], (44, ∞), [4, 51], (72, ∞)}]\n" + 13156 " └─ columns: [pk v1 v2 v3 v4]\n" + 13157 "", 13158 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13159 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13160 " ├─ filters: [{(NULL, 97), (NULL, 47], [91, 91], [NULL, ∞)}, {[74, 74], (NULL, 44), [4, 51], (72, ∞)}, {[74, 74], (44, ∞), [4, 51], (72, ∞)}]\n" + 13161 " └─ columns: [pk v1 v2 v3 v4]\n" + 13162 "", 13163 }, 13164 { 13165 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 26 AND 60 AND v2>53 AND v3<=9 AND v4<8) OR (v1>0 AND v2<=69));`, 13166 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13167 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13168 " ├─ static: [{(0, ∞), (NULL, 69], [NULL, ∞), [NULL, ∞)}, {[26, 60], (69, ∞), (NULL, 9], (NULL, 8)}]\n" + 13169 " ├─ colSet: (1-5)\n" + 13170 " ├─ tableId: 1\n" + 13171 " └─ Table\n" + 13172 " ├─ name: comp_index_t2\n" + 13173 " └─ columns: [pk v1 v2 v3 v4]\n" + 13174 "", 13175 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13176 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13177 " ├─ filters: [{(0, ∞), (NULL, 69], [NULL, ∞), [NULL, ∞)}, {[26, 60], (69, ∞), (NULL, 9], (NULL, 8)}]\n" + 13178 " └─ columns: [pk v1 v2 v3 v4]\n" + 13179 "", 13180 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13181 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13182 " ├─ filters: [{(0, ∞), (NULL, 69], [NULL, ∞), [NULL, ∞)}, {[26, 60], (69, ∞), (NULL, 9], (NULL, 8)}]\n" + 13183 " └─ columns: [pk v1 v2 v3 v4]\n" + 13184 "", 13185 }, 13186 { 13187 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=33 AND v2<2 AND v3<>63) OR (v1 BETWEEN 20 AND 95 AND v2<>7 AND v3 BETWEEN 95 AND 96 AND v4 BETWEEN 34 AND 41)) OR (v1 BETWEEN 27 AND 44 AND v4<>28 AND v2<=43 AND v3<=64));`, 13188 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13189 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13190 " ├─ static: [{[20, 33), (NULL, 7), [95, 96], [34, 41]}, {[20, 95], (7, ∞), [95, 96], [34, 41]}, {[27, 33), (NULL, 43], (NULL, 64], (NULL, 28)}, {[27, 33), (NULL, 43], (NULL, 64], (28, ∞)}, {[33, 33], (NULL, 2), (NULL, 63), [NULL, ∞)}, {[33, 33], (NULL, 2), [63, 63], (NULL, 28)}, {[33, 33], (NULL, 2), [63, 63], (28, ∞)}, {[33, 33], (NULL, 2), (63, ∞), [NULL, ∞)}, {[33, 33], [2, 7), [95, 96], [34, 41]}, {[33, 33], [2, 43], (NULL, 64], (NULL, 28)}, {[33, 33], [2, 43], (NULL, 64], (28, ∞)}, {(33, 44], (NULL, 43], (NULL, 64], (NULL, 28)}, {(33, 44], (NULL, 43], (NULL, 64], (28, ∞)}, {(33, 95], (NULL, 7), [95, 96], [34, 41]}]\n" + 13191 " ├─ colSet: (1-5)\n" + 13192 " ├─ tableId: 1\n" + 13193 " └─ Table\n" + 13194 " ├─ name: comp_index_t2\n" + 13195 " └─ columns: [pk v1 v2 v3 v4]\n" + 13196 "", 13197 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13198 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13199 " ├─ filters: [{[20, 33), (NULL, 7), [95, 96], [34, 41]}, {[20, 95], (7, ∞), [95, 96], [34, 41]}, {[27, 33), (NULL, 43], (NULL, 64], (NULL, 28)}, {[27, 33), (NULL, 43], (NULL, 64], (28, ∞)}, {[33, 33], (NULL, 2), (NULL, 63), [NULL, ∞)}, {[33, 33], (NULL, 2), [63, 63], (NULL, 28)}, {[33, 33], (NULL, 2), [63, 63], (28, ∞)}, {[33, 33], (NULL, 2), (63, ∞), [NULL, ∞)}, {[33, 33], [2, 7), [95, 96], [34, 41]}, {[33, 33], [2, 43], (NULL, 64], (NULL, 28)}, {[33, 33], [2, 43], (NULL, 64], (28, ∞)}, {(33, 44], (NULL, 43], (NULL, 64], (NULL, 28)}, {(33, 44], (NULL, 43], (NULL, 64], (28, ∞)}, {(33, 95], (NULL, 7), [95, 96], [34, 41]}]\n" + 13200 " └─ columns: [pk v1 v2 v3 v4]\n" + 13201 "", 13202 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13203 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13204 " ├─ filters: [{[20, 33), (NULL, 7), [95, 96], [34, 41]}, {[20, 95], (7, ∞), [95, 96], [34, 41]}, {[27, 33), (NULL, 43], (NULL, 64], (NULL, 28)}, {[27, 33), (NULL, 43], (NULL, 64], (28, ∞)}, {[33, 33], (NULL, 2), (NULL, 63), [NULL, ∞)}, {[33, 33], (NULL, 2), [63, 63], (NULL, 28)}, {[33, 33], (NULL, 2), [63, 63], (28, ∞)}, {[33, 33], (NULL, 2), (63, ∞), [NULL, ∞)}, {[33, 33], [2, 7), [95, 96], [34, 41]}, {[33, 33], [2, 43], (NULL, 64], (NULL, 28)}, {[33, 33], [2, 43], (NULL, 64], (28, ∞)}, {(33, 44], (NULL, 43], (NULL, 64], (NULL, 28)}, {(33, 44], (NULL, 43], (NULL, 64], (28, ∞)}, {(33, 95], (NULL, 7), [95, 96], [34, 41]}]\n" + 13205 " └─ columns: [pk v1 v2 v3 v4]\n" + 13206 "", 13207 }, 13208 { 13209 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 13 AND 36 AND v2>40) OR (v1<>28 AND v2<29)) OR (v1 BETWEEN 36 AND 89 AND v2>=92 AND v3>39 AND v4<16)) OR (v1<=1));`, 13210 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13211 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13212 " ├─ static: [{(NULL, 1], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(1, 28), (NULL, 29), [NULL, ∞), [NULL, ∞)}, {[13, 36], (40, ∞), [NULL, ∞), [NULL, ∞)}, {(28, ∞), (NULL, 29), [NULL, ∞), [NULL, ∞)}, {(36, 89], [92, ∞), (39, ∞), (NULL, 16)}]\n" + 13213 " ├─ colSet: (1-5)\n" + 13214 " ├─ tableId: 1\n" + 13215 " └─ Table\n" + 13216 " ├─ name: comp_index_t2\n" + 13217 " └─ columns: [pk v1 v2 v3 v4]\n" + 13218 "", 13219 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13220 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13221 " ├─ filters: [{(NULL, 1], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(1, 28), (NULL, 29), [NULL, ∞), [NULL, ∞)}, {[13, 36], (40, ∞), [NULL, ∞), [NULL, ∞)}, {(28, ∞), (NULL, 29), [NULL, ∞), [NULL, ∞)}, {(36, 89], [92, ∞), (39, ∞), (NULL, 16)}]\n" + 13222 " └─ columns: [pk v1 v2 v3 v4]\n" + 13223 "", 13224 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13225 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13226 " ├─ filters: [{(NULL, 1], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(1, 28), (NULL, 29), [NULL, ∞), [NULL, ∞)}, {[13, 36], (40, ∞), [NULL, ∞), [NULL, ∞)}, {(28, ∞), (NULL, 29), [NULL, ∞), [NULL, ∞)}, {(36, 89], [92, ∞), (39, ∞), (NULL, 16)}]\n" + 13227 " └─ columns: [pk v1 v2 v3 v4]\n" + 13228 "", 13229 }, 13230 { 13231 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=68 AND v2=49) OR (v1<=35 AND v2>=59 AND v3>=88 AND v4 BETWEEN 1 AND 62));`, 13232 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13233 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13234 " ├─ static: [{(NULL, 35], [59, ∞), [88, ∞), [1, 62]}, {[68, 68], [49, 49], [NULL, ∞), [NULL, ∞)}]\n" + 13235 " ├─ colSet: (1-5)\n" + 13236 " ├─ tableId: 1\n" + 13237 " └─ Table\n" + 13238 " ├─ name: comp_index_t2\n" + 13239 " └─ columns: [pk v1 v2 v3 v4]\n" + 13240 "", 13241 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13242 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13243 " ├─ filters: [{(NULL, 35], [59, ∞), [88, ∞), [1, 62]}, {[68, 68], [49, 49], [NULL, ∞), [NULL, ∞)}]\n" + 13244 " └─ columns: [pk v1 v2 v3 v4]\n" + 13245 "", 13246 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13247 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13248 " ├─ filters: [{(NULL, 35], [59, ∞), [88, ∞), [1, 62]}, {[68, 68], [49, 49], [NULL, ∞), [NULL, ∞)}]\n" + 13249 " └─ columns: [pk v1 v2 v3 v4]\n" + 13250 "", 13251 }, 13252 { 13253 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>33) OR (v1<23 AND v4<=23 AND v2>=41));`, 13254 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13255 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13256 " ├─ static: [{(NULL, 23), [41, ∞), [NULL, ∞), (NULL, 23]}, {(33, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13257 " ├─ colSet: (1-5)\n" + 13258 " ├─ tableId: 1\n" + 13259 " └─ Table\n" + 13260 " ├─ name: comp_index_t2\n" + 13261 " └─ columns: [pk v1 v2 v3 v4]\n" + 13262 "", 13263 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13264 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13265 " ├─ filters: [{(NULL, 23), [41, ∞), [NULL, ∞), (NULL, 23]}, {(33, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13266 " └─ columns: [pk v1 v2 v3 v4]\n" + 13267 "", 13268 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13269 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13270 " ├─ filters: [{(NULL, 23), [41, ∞), [NULL, ∞), (NULL, 23]}, {(33, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13271 " └─ columns: [pk v1 v2 v3 v4]\n" + 13272 "", 13273 }, 13274 { 13275 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=78 AND v2=26 AND v3 BETWEEN 70 AND 89) OR (v1 BETWEEN 12 AND 78 AND v2>41 AND v3 BETWEEN 2 AND 11 AND v4 BETWEEN 12 AND 97)) OR (v1>16 AND v2=85 AND v3<56 AND v4<19));`, 13276 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13277 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13278 " ├─ static: [{[12, 16], (41, ∞), [2, 11], [12, 97]}, {(16, 78], (41, 85), [2, 11], [12, 97]}, {(16, 78], [85, 85], (NULL, 2), (NULL, 19)}, {(16, 78], [85, 85], [2, 11], (NULL, 97]}, {(16, 78], [85, 85], (11, 56), (NULL, 19)}, {(16, 78], (85, ∞), [2, 11], [12, 97]}, {[78, ∞), [26, 26], [70, 89], [NULL, ∞)}, {(78, ∞), [85, 85], (NULL, 56), (NULL, 19)}]\n" + 13279 " ├─ colSet: (1-5)\n" + 13280 " ├─ tableId: 1\n" + 13281 " └─ Table\n" + 13282 " ├─ name: comp_index_t2\n" + 13283 " └─ columns: [pk v1 v2 v3 v4]\n" + 13284 "", 13285 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13286 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13287 " ├─ filters: [{[12, 16], (41, ∞), [2, 11], [12, 97]}, {(16, 78], (41, 85), [2, 11], [12, 97]}, {(16, 78], [85, 85], (NULL, 2), (NULL, 19)}, {(16, 78], [85, 85], [2, 11], (NULL, 97]}, {(16, 78], [85, 85], (11, 56), (NULL, 19)}, {(16, 78], (85, ∞), [2, 11], [12, 97]}, {[78, ∞), [26, 26], [70, 89], [NULL, ∞)}, {(78, ∞), [85, 85], (NULL, 56), (NULL, 19)}]\n" + 13288 " └─ columns: [pk v1 v2 v3 v4]\n" + 13289 "", 13290 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13291 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13292 " ├─ filters: [{[12, 16], (41, ∞), [2, 11], [12, 97]}, {(16, 78], (41, 85), [2, 11], [12, 97]}, {(16, 78], [85, 85], (NULL, 2), (NULL, 19)}, {(16, 78], [85, 85], [2, 11], (NULL, 97]}, {(16, 78], [85, 85], (11, 56), (NULL, 19)}, {(16, 78], (85, ∞), [2, 11], [12, 97]}, {[78, ∞), [26, 26], [70, 89], [NULL, ∞)}, {(78, ∞), [85, 85], (NULL, 56), (NULL, 19)}]\n" + 13293 " └─ columns: [pk v1 v2 v3 v4]\n" + 13294 "", 13295 }, 13296 { 13297 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=51 AND v2=3 AND v3>48 AND v4>=49) OR (v1>25 AND v3=37));`, 13298 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13299 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13300 " ├─ static: [{(25, ∞), [NULL, ∞), [37, 37], [NULL, ∞)}, {[51, ∞), [3, 3], (48, ∞), [49, ∞)}]\n" + 13301 " ├─ colSet: (1-5)\n" + 13302 " ├─ tableId: 1\n" + 13303 " └─ Table\n" + 13304 " ├─ name: comp_index_t2\n" + 13305 " └─ columns: [pk v1 v2 v3 v4]\n" + 13306 "", 13307 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13308 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13309 " ├─ filters: [{(25, ∞), [NULL, ∞), [37, 37], [NULL, ∞)}, {[51, ∞), [3, 3], (48, ∞), [49, ∞)}]\n" + 13310 " └─ columns: [pk v1 v2 v3 v4]\n" + 13311 "", 13312 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13313 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13314 " ├─ filters: [{(25, ∞), [NULL, ∞), [37, 37], [NULL, ∞)}, {[51, ∞), [3, 3], (48, ∞), [49, ∞)}]\n" + 13315 " └─ columns: [pk v1 v2 v3 v4]\n" + 13316 "", 13317 }, 13318 { 13319 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<4 AND v2<>1 AND v3<=34) OR (v1>=63)) OR (v1<58 AND v2=33)) AND (v1<=55) OR (v1 BETWEEN 1 AND 80 AND v2<=51));`, 13320 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13321 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13322 " ├─ static: [{(NULL, 1), (NULL, 1), (NULL, 34], [NULL, ∞)}, {(NULL, 1), (1, 33), (NULL, 34], [NULL, ∞)}, {(NULL, 1), [33, 33], [NULL, ∞), [NULL, ∞)}, {(NULL, 1), (33, ∞), (NULL, 34], [NULL, ∞)}, {[1, 4), (51, ∞), (NULL, 34], [NULL, ∞)}, {[1, 80], (NULL, 51], [NULL, ∞), [NULL, ∞)}]\n" + 13323 " ├─ colSet: (1-5)\n" + 13324 " ├─ tableId: 1\n" + 13325 " └─ Table\n" + 13326 " ├─ name: comp_index_t2\n" + 13327 " └─ columns: [pk v1 v2 v3 v4]\n" + 13328 "", 13329 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13330 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13331 " ├─ filters: [{(NULL, 1), (NULL, 1), (NULL, 34], [NULL, ∞)}, {(NULL, 1), (1, 33), (NULL, 34], [NULL, ∞)}, {(NULL, 1), [33, 33], [NULL, ∞), [NULL, ∞)}, {(NULL, 1), (33, ∞), (NULL, 34], [NULL, ∞)}, {[1, 4), (51, ∞), (NULL, 34], [NULL, ∞)}, {[1, 80], (NULL, 51], [NULL, ∞), [NULL, ∞)}]\n" + 13332 " └─ columns: [pk v1 v2 v3 v4]\n" + 13333 "", 13334 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13335 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13336 " ├─ filters: [{(NULL, 1), (NULL, 1), (NULL, 34], [NULL, ∞)}, {(NULL, 1), (1, 33), (NULL, 34], [NULL, ∞)}, {(NULL, 1), [33, 33], [NULL, ∞), [NULL, ∞)}, {(NULL, 1), (33, ∞), (NULL, 34], [NULL, ∞)}, {[1, 4), (51, ∞), (NULL, 34], [NULL, ∞)}, {[1, 80], (NULL, 51], [NULL, ∞), [NULL, ∞)}]\n" + 13337 " └─ columns: [pk v1 v2 v3 v4]\n" + 13338 "", 13339 }, 13340 { 13341 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 33 AND 82 AND v2<26) OR (v1>=98 AND v4>30 AND v2 BETWEEN 47 AND 67 AND v3 BETWEEN 9 AND 54)) OR (v1>=5)) AND (v1<>85 AND v4<>31);`, 13342 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13343 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13344 " ├─ static: [{[5, 85), [NULL, ∞), [NULL, ∞), (NULL, 31)}, {[5, 85), [NULL, ∞), [NULL, ∞), (31, ∞)}, {(85, ∞), [NULL, ∞), [NULL, ∞), (NULL, 31)}, {(85, ∞), [NULL, ∞), [NULL, ∞), (31, ∞)}]\n" + 13345 " ├─ colSet: (1-5)\n" + 13346 " ├─ tableId: 1\n" + 13347 " └─ Table\n" + 13348 " ├─ name: comp_index_t2\n" + 13349 " └─ columns: [pk v1 v2 v3 v4]\n" + 13350 "", 13351 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13352 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13353 " ├─ filters: [{[5, 85), [NULL, ∞), [NULL, ∞), (NULL, 31)}, {[5, 85), [NULL, ∞), [NULL, ∞), (31, ∞)}, {(85, ∞), [NULL, ∞), [NULL, ∞), (NULL, 31)}, {(85, ∞), [NULL, ∞), [NULL, ∞), (31, ∞)}]\n" + 13354 " └─ columns: [pk v1 v2 v3 v4]\n" + 13355 "", 13356 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13357 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13358 " ├─ filters: [{[5, 85), [NULL, ∞), [NULL, ∞), (NULL, 31)}, {[5, 85), [NULL, ∞), [NULL, ∞), (31, ∞)}, {(85, ∞), [NULL, ∞), [NULL, ∞), (NULL, 31)}, {(85, ∞), [NULL, ∞), [NULL, ∞), (31, ∞)}]\n" + 13359 " └─ columns: [pk v1 v2 v3 v4]\n" + 13360 "", 13361 }, 13362 { 13363 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=82 AND v3<>55 AND v4>26) OR (v1=35)) OR (v1 BETWEEN 18 AND 70 AND v2>=17));`, 13364 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13365 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13366 " ├─ static: [{[18, 35), [17, ∞), [NULL, ∞), [NULL, ∞)}, {[35, 35], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(35, 70], [17, ∞), [NULL, ∞), [NULL, ∞)}, {[82, 82], [NULL, ∞), (NULL, 55), (26, ∞)}, {[82, 82], [NULL, ∞), (55, ∞), (26, ∞)}]\n" + 13367 " ├─ colSet: (1-5)\n" + 13368 " ├─ tableId: 1\n" + 13369 " └─ Table\n" + 13370 " ├─ name: comp_index_t2\n" + 13371 " └─ columns: [pk v1 v2 v3 v4]\n" + 13372 "", 13373 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13374 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13375 " ├─ filters: [{[18, 35), [17, ∞), [NULL, ∞), [NULL, ∞)}, {[35, 35], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(35, 70], [17, ∞), [NULL, ∞), [NULL, ∞)}, {[82, 82], [NULL, ∞), (NULL, 55), (26, ∞)}, {[82, 82], [NULL, ∞), (55, ∞), (26, ∞)}]\n" + 13376 " └─ columns: [pk v1 v2 v3 v4]\n" + 13377 "", 13378 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13379 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13380 " ├─ filters: [{[18, 35), [17, ∞), [NULL, ∞), [NULL, ∞)}, {[35, 35], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(35, 70], [17, ∞), [NULL, ∞), [NULL, ∞)}, {[82, 82], [NULL, ∞), (NULL, 55), (26, ∞)}, {[82, 82], [NULL, ∞), (55, ∞), (26, ∞)}]\n" + 13381 " └─ columns: [pk v1 v2 v3 v4]\n" + 13382 "", 13383 }, 13384 { 13385 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>45 AND v2<=55 AND v3>=2 AND v4<46) OR (v1>=0 AND v2<>6));`, 13386 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13387 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13388 " ├─ static: [{(NULL, 0), (NULL, 55], [2, ∞), (NULL, 46)}, {[0, 45), [6, 6], [2, ∞), (NULL, 46)}, {[0, ∞), (NULL, 6), [NULL, ∞), [NULL, ∞)}, {[0, ∞), (6, ∞), [NULL, ∞), [NULL, ∞)}, {(45, ∞), [6, 6], [2, ∞), (NULL, 46)}]\n" + 13389 " ├─ colSet: (1-5)\n" + 13390 " ├─ tableId: 1\n" + 13391 " └─ Table\n" + 13392 " ├─ name: comp_index_t2\n" + 13393 " └─ columns: [pk v1 v2 v3 v4]\n" + 13394 "", 13395 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13396 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13397 " ├─ filters: [{(NULL, 0), (NULL, 55], [2, ∞), (NULL, 46)}, {[0, 45), [6, 6], [2, ∞), (NULL, 46)}, {[0, ∞), (NULL, 6), [NULL, ∞), [NULL, ∞)}, {[0, ∞), (6, ∞), [NULL, ∞), [NULL, ∞)}, {(45, ∞), [6, 6], [2, ∞), (NULL, 46)}]\n" + 13398 " └─ columns: [pk v1 v2 v3 v4]\n" + 13399 "", 13400 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13401 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13402 " ├─ filters: [{(NULL, 0), (NULL, 55], [2, ∞), (NULL, 46)}, {[0, 45), [6, 6], [2, ∞), (NULL, 46)}, {[0, ∞), (NULL, 6), [NULL, ∞), [NULL, ∞)}, {[0, ∞), (6, ∞), [NULL, ∞), [NULL, ∞)}, {(45, ∞), [6, 6], [2, ∞), (NULL, 46)}]\n" + 13403 " └─ columns: [pk v1 v2 v3 v4]\n" + 13404 "", 13405 }, 13406 { 13407 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=85 AND v2>=46 AND v3=87 AND v4>3) OR (v1=52));`, 13408 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13409 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13410 " ├─ static: [{(NULL, 52), [46, ∞), [87, 87], (3, ∞)}, {[52, 52], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(52, 85], [46, ∞), [87, 87], (3, ∞)}]\n" + 13411 " ├─ colSet: (1-5)\n" + 13412 " ├─ tableId: 1\n" + 13413 " └─ Table\n" + 13414 " ├─ name: comp_index_t2\n" + 13415 " └─ columns: [pk v1 v2 v3 v4]\n" + 13416 "", 13417 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13418 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13419 " ├─ filters: [{(NULL, 52), [46, ∞), [87, 87], (3, ∞)}, {[52, 52], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(52, 85], [46, ∞), [87, 87], (3, ∞)}]\n" + 13420 " └─ columns: [pk v1 v2 v3 v4]\n" + 13421 "", 13422 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13423 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13424 " ├─ filters: [{(NULL, 52), [46, ∞), [87, 87], (3, ∞)}, {[52, 52], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(52, 85], [46, ∞), [87, 87], (3, ∞)}]\n" + 13425 " └─ columns: [pk v1 v2 v3 v4]\n" + 13426 "", 13427 }, 13428 { 13429 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<90 AND v4=77) OR (v1<>32 AND v2<=17 AND v3=68)) OR (v1<41));`, 13430 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13431 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13432 " ├─ static: [{(NULL, 41), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[41, 90), [NULL, NULL], [NULL, ∞), [77, 77]}, {[41, 90), (NULL, 17], [NULL, 68), [77, 77]}, {[41, 90), (NULL, 17], (68, ∞), [77, 77]}, {[41, 90), (17, ∞), [NULL, ∞), [77, 77]}, {[41, ∞), (NULL, 17], [68, 68], [NULL, ∞)}]\n" + 13433 " ├─ colSet: (1-5)\n" + 13434 " ├─ tableId: 1\n" + 13435 " └─ Table\n" + 13436 " ├─ name: comp_index_t2\n" + 13437 " └─ columns: [pk v1 v2 v3 v4]\n" + 13438 "", 13439 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13440 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13441 " ├─ filters: [{(NULL, 41), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[41, 90), [NULL, NULL], [NULL, ∞), [77, 77]}, {[41, 90), (NULL, 17], [NULL, 68), [77, 77]}, {[41, 90), (NULL, 17], (68, ∞), [77, 77]}, {[41, 90), (17, ∞), [NULL, ∞), [77, 77]}, {[41, ∞), (NULL, 17], [68, 68], [NULL, ∞)}]\n" + 13442 " └─ columns: [pk v1 v2 v3 v4]\n" + 13443 "", 13444 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13445 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13446 " ├─ filters: [{(NULL, 41), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[41, 90), [NULL, NULL], [NULL, ∞), [77, 77]}, {[41, 90), (NULL, 17], [NULL, 68), [77, 77]}, {[41, 90), (NULL, 17], (68, ∞), [77, 77]}, {[41, 90), (17, ∞), [NULL, ∞), [77, 77]}, {[41, ∞), (NULL, 17], [68, 68], [NULL, ∞)}]\n" + 13447 " └─ columns: [pk v1 v2 v3 v4]\n" + 13448 "", 13449 }, 13450 { 13451 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=2) AND (v1>=13 AND v2<=23 AND v3<=23) OR (v1 BETWEEN 18 AND 57));`, 13452 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13453 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13454 " ├─ static: [{[18, 57], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13455 " ├─ colSet: (1-5)\n" + 13456 " ├─ tableId: 1\n" + 13457 " └─ Table\n" + 13458 " ├─ name: comp_index_t2\n" + 13459 " └─ columns: [pk v1 v2 v3 v4]\n" + 13460 "", 13461 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13462 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13463 " ├─ filters: [{[18, 57], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13464 " └─ columns: [pk v1 v2 v3 v4]\n" + 13465 "", 13466 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13467 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13468 " ├─ filters: [{[18, 57], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13469 " └─ columns: [pk v1 v2 v3 v4]\n" + 13470 "", 13471 }, 13472 { 13473 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 32 AND 72 AND v2<>89 AND v3>=39) OR (v1>50 AND v4>80));`, 13474 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13475 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13476 " ├─ static: [{[32, 72], (NULL, 89), [39, ∞), [NULL, ∞)}, {[32, 72], (89, ∞), [39, ∞), [NULL, ∞)}, {(50, 72], [NULL, NULL], [NULL, ∞), (80, ∞)}, {(50, 72], (NULL, 89), [NULL, 39), (80, ∞)}, {(50, 72], [89, 89], [NULL, ∞), (80, ∞)}, {(50, 72], (89, ∞), [NULL, 39), (80, ∞)}, {(72, ∞), [NULL, ∞), [NULL, ∞), (80, ∞)}]\n" + 13477 " ├─ colSet: (1-5)\n" + 13478 " ├─ tableId: 1\n" + 13479 " └─ Table\n" + 13480 " ├─ name: comp_index_t2\n" + 13481 " └─ columns: [pk v1 v2 v3 v4]\n" + 13482 "", 13483 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13484 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13485 " ├─ filters: [{[32, 72], (NULL, 89), [39, ∞), [NULL, ∞)}, {[32, 72], (89, ∞), [39, ∞), [NULL, ∞)}, {(50, 72], [NULL, NULL], [NULL, ∞), (80, ∞)}, {(50, 72], (NULL, 89), [NULL, 39), (80, ∞)}, {(50, 72], [89, 89], [NULL, ∞), (80, ∞)}, {(50, 72], (89, ∞), [NULL, 39), (80, ∞)}, {(72, ∞), [NULL, ∞), [NULL, ∞), (80, ∞)}]\n" + 13486 " └─ columns: [pk v1 v2 v3 v4]\n" + 13487 "", 13488 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13489 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13490 " ├─ filters: [{[32, 72], (NULL, 89), [39, ∞), [NULL, ∞)}, {[32, 72], (89, ∞), [39, ∞), [NULL, ∞)}, {(50, 72], [NULL, NULL], [NULL, ∞), (80, ∞)}, {(50, 72], (NULL, 89), [NULL, 39), (80, ∞)}, {(50, 72], [89, 89], [NULL, ∞), (80, ∞)}, {(50, 72], (89, ∞), [NULL, 39), (80, ∞)}, {(72, ∞), [NULL, ∞), [NULL, ∞), (80, ∞)}]\n" + 13491 " └─ columns: [pk v1 v2 v3 v4]\n" + 13492 "", 13493 }, 13494 { 13495 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<44) OR (v1<>37 AND v2<=12 AND v3>65 AND v4<47)) OR (v1<>76));`, 13496 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13497 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13498 " ├─ static: [{(NULL, 76), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[76, 76], (NULL, 12], (65, ∞), (NULL, 47)}, {(76, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13499 " ├─ colSet: (1-5)\n" + 13500 " ├─ tableId: 1\n" + 13501 " └─ Table\n" + 13502 " ├─ name: comp_index_t2\n" + 13503 " └─ columns: [pk v1 v2 v3 v4]\n" + 13504 "", 13505 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13506 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13507 " ├─ filters: [{(NULL, 76), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[76, 76], (NULL, 12], (65, ∞), (NULL, 47)}, {(76, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13508 " └─ columns: [pk v1 v2 v3 v4]\n" + 13509 "", 13510 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13511 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13512 " ├─ filters: [{(NULL, 76), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[76, 76], (NULL, 12], (65, ∞), (NULL, 47)}, {(76, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13513 " └─ columns: [pk v1 v2 v3 v4]\n" + 13514 "", 13515 }, 13516 { 13517 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 29 AND 37) OR (v1<>54 AND v2<=65 AND v3<=1 AND v4<>10)) OR (v1<>55 AND v2 BETWEEN 49 AND 56 AND v3>=25 AND v4<=8));`, 13518 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13519 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13520 " ├─ static: [{(NULL, 29), (NULL, 65], (NULL, 1], (NULL, 10)}, {(NULL, 29), (NULL, 65], (NULL, 1], (10, ∞)}, {(NULL, 29), [49, 56], [25, ∞), (NULL, 8]}, {[29, 37], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(37, 54), (NULL, 65], (NULL, 1], (NULL, 10)}, {(37, 54), (NULL, 65], (NULL, 1], (10, ∞)}, {(37, 55), [49, 56], [25, ∞), (NULL, 8]}, {(54, ∞), (NULL, 65], (NULL, 1], (NULL, 10)}, {(54, ∞), (NULL, 65], (NULL, 1], (10, ∞)}, {(55, ∞), [49, 56], [25, ∞), (NULL, 8]}]\n" + 13521 " ├─ colSet: (1-5)\n" + 13522 " ├─ tableId: 1\n" + 13523 " └─ Table\n" + 13524 " ├─ name: comp_index_t2\n" + 13525 " └─ columns: [pk v1 v2 v3 v4]\n" + 13526 "", 13527 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13528 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13529 " ├─ filters: [{(NULL, 29), (NULL, 65], (NULL, 1], (NULL, 10)}, {(NULL, 29), (NULL, 65], (NULL, 1], (10, ∞)}, {(NULL, 29), [49, 56], [25, ∞), (NULL, 8]}, {[29, 37], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(37, 54), (NULL, 65], (NULL, 1], (NULL, 10)}, {(37, 54), (NULL, 65], (NULL, 1], (10, ∞)}, {(37, 55), [49, 56], [25, ∞), (NULL, 8]}, {(54, ∞), (NULL, 65], (NULL, 1], (NULL, 10)}, {(54, ∞), (NULL, 65], (NULL, 1], (10, ∞)}, {(55, ∞), [49, 56], [25, ∞), (NULL, 8]}]\n" + 13530 " └─ columns: [pk v1 v2 v3 v4]\n" + 13531 "", 13532 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13533 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13534 " ├─ filters: [{(NULL, 29), (NULL, 65], (NULL, 1], (NULL, 10)}, {(NULL, 29), (NULL, 65], (NULL, 1], (10, ∞)}, {(NULL, 29), [49, 56], [25, ∞), (NULL, 8]}, {[29, 37], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(37, 54), (NULL, 65], (NULL, 1], (NULL, 10)}, {(37, 54), (NULL, 65], (NULL, 1], (10, ∞)}, {(37, 55), [49, 56], [25, ∞), (NULL, 8]}, {(54, ∞), (NULL, 65], (NULL, 1], (NULL, 10)}, {(54, ∞), (NULL, 65], (NULL, 1], (10, ∞)}, {(55, ∞), [49, 56], [25, ∞), (NULL, 8]}]\n" + 13535 " └─ columns: [pk v1 v2 v3 v4]\n" + 13536 "", 13537 }, 13538 { 13539 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=80 AND v2<95 AND v3>6) OR (v1 BETWEEN 7 AND 14 AND v2 BETWEEN 27 AND 49 AND v3>57 AND v4 BETWEEN 28 AND 60));`, 13540 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13541 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13542 " ├─ static: [{[7, 14], [27, 49], (57, ∞), [28, 60]}, {[80, 80], (NULL, 95), (6, ∞), [NULL, ∞)}]\n" + 13543 " ├─ colSet: (1-5)\n" + 13544 " ├─ tableId: 1\n" + 13545 " └─ Table\n" + 13546 " ├─ name: comp_index_t2\n" + 13547 " └─ columns: [pk v1 v2 v3 v4]\n" + 13548 "", 13549 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13550 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13551 " ├─ filters: [{[7, 14], [27, 49], (57, ∞), [28, 60]}, {[80, 80], (NULL, 95), (6, ∞), [NULL, ∞)}]\n" + 13552 " └─ columns: [pk v1 v2 v3 v4]\n" + 13553 "", 13554 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13555 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13556 " ├─ filters: [{[7, 14], [27, 49], (57, ∞), [28, 60]}, {[80, 80], (NULL, 95), (6, ∞), [NULL, ∞)}]\n" + 13557 " └─ columns: [pk v1 v2 v3 v4]\n" + 13558 "", 13559 }, 13560 { 13561 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>10 AND v2<43 AND v3<>15) OR (v1<=71 AND v4<>22));`, 13562 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13563 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13564 " ├─ static: [{(NULL, 10], [NULL, ∞), [NULL, ∞), (NULL, 22)}, {(NULL, 10], [NULL, ∞), [NULL, ∞), (22, ∞)}, {(10, 71], [NULL, NULL], [NULL, ∞), (NULL, 22)}, {(10, 71], [NULL, NULL], [NULL, ∞), (22, ∞)}, {(10, 71], (NULL, 43), [NULL, NULL], (NULL, 22)}, {(10, 71], (NULL, 43), [NULL, NULL], (22, ∞)}, {(10, 71], (NULL, 43), [15, 15], (NULL, 22)}, {(10, 71], (NULL, 43), [15, 15], (22, ∞)}, {(10, 71], [43, ∞), [NULL, ∞), (NULL, 22)}, {(10, 71], [43, ∞), [NULL, ∞), (22, ∞)}, {(10, ∞), (NULL, 43), (NULL, 15), [NULL, ∞)}, {(10, ∞), (NULL, 43), (15, ∞), [NULL, ∞)}]\n" + 13565 " ├─ colSet: (1-5)\n" + 13566 " ├─ tableId: 1\n" + 13567 " └─ Table\n" + 13568 " ├─ name: comp_index_t2\n" + 13569 " └─ columns: [pk v1 v2 v3 v4]\n" + 13570 "", 13571 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13572 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13573 " ├─ filters: [{(NULL, 10], [NULL, ∞), [NULL, ∞), (NULL, 22)}, {(NULL, 10], [NULL, ∞), [NULL, ∞), (22, ∞)}, {(10, 71], [NULL, NULL], [NULL, ∞), (NULL, 22)}, {(10, 71], [NULL, NULL], [NULL, ∞), (22, ∞)}, {(10, 71], (NULL, 43), [NULL, NULL], (NULL, 22)}, {(10, 71], (NULL, 43), [NULL, NULL], (22, ∞)}, {(10, 71], (NULL, 43), [15, 15], (NULL, 22)}, {(10, 71], (NULL, 43), [15, 15], (22, ∞)}, {(10, 71], [43, ∞), [NULL, ∞), (NULL, 22)}, {(10, 71], [43, ∞), [NULL, ∞), (22, ∞)}, {(10, ∞), (NULL, 43), (NULL, 15), [NULL, ∞)}, {(10, ∞), (NULL, 43), (15, ∞), [NULL, ∞)}]\n" + 13574 " └─ columns: [pk v1 v2 v3 v4]\n" + 13575 "", 13576 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13577 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13578 " ├─ filters: [{(NULL, 10], [NULL, ∞), [NULL, ∞), (NULL, 22)}, {(NULL, 10], [NULL, ∞), [NULL, ∞), (22, ∞)}, {(10, 71], [NULL, NULL], [NULL, ∞), (NULL, 22)}, {(10, 71], [NULL, NULL], [NULL, ∞), (22, ∞)}, {(10, 71], (NULL, 43), [NULL, NULL], (NULL, 22)}, {(10, 71], (NULL, 43), [NULL, NULL], (22, ∞)}, {(10, 71], (NULL, 43), [15, 15], (NULL, 22)}, {(10, 71], (NULL, 43), [15, 15], (22, ∞)}, {(10, 71], [43, ∞), [NULL, ∞), (NULL, 22)}, {(10, 71], [43, ∞), [NULL, ∞), (22, ∞)}, {(10, ∞), (NULL, 43), (NULL, 15), [NULL, ∞)}, {(10, ∞), (NULL, 43), (15, ∞), [NULL, ∞)}]\n" + 13579 " └─ columns: [pk v1 v2 v3 v4]\n" + 13580 "", 13581 }, 13582 { 13583 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 18 AND 36 AND v4<>87 AND v2>=13) OR (v1>=63 AND v3<=89)) AND (v1<76 AND v4<49 AND v2<=96);`, 13584 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13585 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13586 " ├─ static: [{[18, 36], [13, 96], [NULL, ∞), (NULL, 49)}, {[63, 76), (NULL, 96], (NULL, 89], (NULL, 49)}]\n" + 13587 " ├─ colSet: (1-5)\n" + 13588 " ├─ tableId: 1\n" + 13589 " └─ Table\n" + 13590 " ├─ name: comp_index_t2\n" + 13591 " └─ columns: [pk v1 v2 v3 v4]\n" + 13592 "", 13593 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13594 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13595 " ├─ filters: [{[18, 36], [13, 96], [NULL, ∞), (NULL, 49)}, {[63, 76), (NULL, 96], (NULL, 89], (NULL, 49)}]\n" + 13596 " └─ columns: [pk v1 v2 v3 v4]\n" + 13597 "", 13598 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13599 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13600 " ├─ filters: [{[18, 36], [13, 96], [NULL, ∞), (NULL, 49)}, {[63, 76), (NULL, 96], (NULL, 89], (NULL, 49)}]\n" + 13601 " └─ columns: [pk v1 v2 v3 v4]\n" + 13602 "", 13603 }, 13604 { 13605 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<93 AND v2<>16) OR (v1>=23 AND v4>=19)) OR (v1<48 AND v2<=45 AND v3<>46 AND v4>76)) AND (v1=22 AND v3=41) OR (v1<=17 AND v2>=41));`, 13606 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13607 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13608 " ├─ static: [{(NULL, 17], [41, ∞), [NULL, ∞), [NULL, ∞)}, {[22, 22], (NULL, 16), [41, 41], [NULL, ∞)}, {[22, 22], [16, 16], [41, 41], (76, ∞)}, {[22, 22], (16, ∞), [41, 41], [NULL, ∞)}]\n" + 13609 " ├─ colSet: (1-5)\n" + 13610 " ├─ tableId: 1\n" + 13611 " └─ Table\n" + 13612 " ├─ name: comp_index_t2\n" + 13613 " └─ columns: [pk v1 v2 v3 v4]\n" + 13614 "", 13615 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13616 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13617 " ├─ filters: [{(NULL, 17], [41, ∞), [NULL, ∞), [NULL, ∞)}, {[22, 22], (NULL, 16), [41, 41], [NULL, ∞)}, {[22, 22], [16, 16], [41, 41], (76, ∞)}, {[22, 22], (16, ∞), [41, 41], [NULL, ∞)}]\n" + 13618 " └─ columns: [pk v1 v2 v3 v4]\n" + 13619 "", 13620 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13621 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13622 " ├─ filters: [{(NULL, 17], [41, ∞), [NULL, ∞), [NULL, ∞)}, {[22, 22], (NULL, 16), [41, 41], [NULL, ∞)}, {[22, 22], [16, 16], [41, 41], (76, ∞)}, {[22, 22], (16, ∞), [41, 41], [NULL, ∞)}]\n" + 13623 " └─ columns: [pk v1 v2 v3 v4]\n" + 13624 "", 13625 }, 13626 { 13627 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>17 AND v4>50 AND v2 BETWEEN 11 AND 23 AND v3=23) OR (v1<73));`, 13628 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13629 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13630 " ├─ static: [{(NULL, 73), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[73, ∞), [11, 23], [23, 23], (50, ∞)}]\n" + 13631 " ├─ colSet: (1-5)\n" + 13632 " ├─ tableId: 1\n" + 13633 " └─ Table\n" + 13634 " ├─ name: comp_index_t2\n" + 13635 " └─ columns: [pk v1 v2 v3 v4]\n" + 13636 "", 13637 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13638 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13639 " ├─ filters: [{(NULL, 73), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[73, ∞), [11, 23], [23, 23], (50, ∞)}]\n" + 13640 " └─ columns: [pk v1 v2 v3 v4]\n" + 13641 "", 13642 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13643 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13644 " ├─ filters: [{(NULL, 73), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[73, ∞), [11, 23], [23, 23], (50, ∞)}]\n" + 13645 " └─ columns: [pk v1 v2 v3 v4]\n" + 13646 "", 13647 }, 13648 { 13649 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 5 AND 41 AND v3<78 AND v4<41) OR (v1>84 AND v2<>43));`, 13650 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13651 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13652 " ├─ static: [{[5, 41], [NULL, ∞), (NULL, 78), (NULL, 41)}, {(84, ∞), (NULL, 43), [NULL, ∞), [NULL, ∞)}, {(84, ∞), (43, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13653 " ├─ colSet: (1-5)\n" + 13654 " ├─ tableId: 1\n" + 13655 " └─ Table\n" + 13656 " ├─ name: comp_index_t2\n" + 13657 " └─ columns: [pk v1 v2 v3 v4]\n" + 13658 "", 13659 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13660 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13661 " ├─ filters: [{[5, 41], [NULL, ∞), (NULL, 78), (NULL, 41)}, {(84, ∞), (NULL, 43), [NULL, ∞), [NULL, ∞)}, {(84, ∞), (43, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13662 " └─ columns: [pk v1 v2 v3 v4]\n" + 13663 "", 13664 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13665 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13666 " ├─ filters: [{[5, 41], [NULL, ∞), (NULL, 78), (NULL, 41)}, {(84, ∞), (NULL, 43), [NULL, ∞), [NULL, ∞)}, {(84, ∞), (43, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13667 " └─ columns: [pk v1 v2 v3 v4]\n" + 13668 "", 13669 }, 13670 { 13671 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=24 AND v2 BETWEEN 43 AND 84) OR (v1>=90 AND v2>1 AND v3<>70)) OR (v1>=66 AND v2<95));`, 13672 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13673 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13674 " ├─ static: [{[24, 24], [43, 84], [NULL, ∞), [NULL, ∞)}, {[66, ∞), (NULL, 95), [NULL, ∞), [NULL, ∞)}, {[90, ∞), [95, ∞), (NULL, 70), [NULL, ∞)}, {[90, ∞), [95, ∞), (70, ∞), [NULL, ∞)}]\n" + 13675 " ├─ colSet: (1-5)\n" + 13676 " ├─ tableId: 1\n" + 13677 " └─ Table\n" + 13678 " ├─ name: comp_index_t2\n" + 13679 " └─ columns: [pk v1 v2 v3 v4]\n" + 13680 "", 13681 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13682 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13683 " ├─ filters: [{[24, 24], [43, 84], [NULL, ∞), [NULL, ∞)}, {[66, ∞), (NULL, 95), [NULL, ∞), [NULL, ∞)}, {[90, ∞), [95, ∞), (NULL, 70), [NULL, ∞)}, {[90, ∞), [95, ∞), (70, ∞), [NULL, ∞)}]\n" + 13684 " └─ columns: [pk v1 v2 v3 v4]\n" + 13685 "", 13686 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13687 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13688 " ├─ filters: [{[24, 24], [43, 84], [NULL, ∞), [NULL, ∞)}, {[66, ∞), (NULL, 95), [NULL, ∞), [NULL, ∞)}, {[90, ∞), [95, ∞), (NULL, 70), [NULL, ∞)}, {[90, ∞), [95, ∞), (70, ∞), [NULL, ∞)}]\n" + 13689 " └─ columns: [pk v1 v2 v3 v4]\n" + 13690 "", 13691 }, 13692 { 13693 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<=18 AND v2<=70) OR (v1>55 AND v2>52 AND v3<>70)) OR (v1=58)) AND (v1<>22 AND v4>76) OR (v1>14 AND v2<32 AND v3>97));`, 13694 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13695 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13696 " ├─ static: [{(NULL, 14], (NULL, 70], [NULL, ∞), (76, ∞)}, {(14, 18], (NULL, 32), [NULL, 97], (76, ∞)}, {(14, 18], [32, 70], [NULL, ∞), (76, ∞)}, {(14, ∞), (NULL, 32), (97, ∞), [NULL, ∞)}, {(55, 58), (52, ∞), (NULL, 70), (76, ∞)}, {(55, 58), (52, ∞), (70, ∞), (76, ∞)}, {[58, 58], [NULL, NULL], [NULL, ∞), (76, ∞)}, {[58, 58], (NULL, 32), [NULL, 97], (76, ∞)}, {[58, 58], [32, ∞), [NULL, ∞), (76, ∞)}, {(58, ∞), (52, ∞), (NULL, 70), (76, ∞)}, {(58, ∞), (52, ∞), (70, ∞), (76, ∞)}]\n" + 13697 " ├─ colSet: (1-5)\n" + 13698 " ├─ tableId: 1\n" + 13699 " └─ Table\n" + 13700 " ├─ name: comp_index_t2\n" + 13701 " └─ columns: [pk v1 v2 v3 v4]\n" + 13702 "", 13703 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13704 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13705 " ├─ filters: [{(NULL, 14], (NULL, 70], [NULL, ∞), (76, ∞)}, {(14, 18], (NULL, 32), [NULL, 97], (76, ∞)}, {(14, 18], [32, 70], [NULL, ∞), (76, ∞)}, {(14, ∞), (NULL, 32), (97, ∞), [NULL, ∞)}, {(55, 58), (52, ∞), (NULL, 70), (76, ∞)}, {(55, 58), (52, ∞), (70, ∞), (76, ∞)}, {[58, 58], [NULL, NULL], [NULL, ∞), (76, ∞)}, {[58, 58], (NULL, 32), [NULL, 97], (76, ∞)}, {[58, 58], [32, ∞), [NULL, ∞), (76, ∞)}, {(58, ∞), (52, ∞), (NULL, 70), (76, ∞)}, {(58, ∞), (52, ∞), (70, ∞), (76, ∞)}]\n" + 13706 " └─ columns: [pk v1 v2 v3 v4]\n" + 13707 "", 13708 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13709 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13710 " ├─ filters: [{(NULL, 14], (NULL, 70], [NULL, ∞), (76, ∞)}, {(14, 18], (NULL, 32), [NULL, 97], (76, ∞)}, {(14, 18], [32, 70], [NULL, ∞), (76, ∞)}, {(14, ∞), (NULL, 32), (97, ∞), [NULL, ∞)}, {(55, 58), (52, ∞), (NULL, 70), (76, ∞)}, {(55, 58), (52, ∞), (70, ∞), (76, ∞)}, {[58, 58], [NULL, NULL], [NULL, ∞), (76, ∞)}, {[58, 58], (NULL, 32), [NULL, 97], (76, ∞)}, {[58, 58], [32, ∞), [NULL, ∞), (76, ∞)}, {(58, ∞), (52, ∞), (NULL, 70), (76, ∞)}, {(58, ∞), (52, ∞), (70, ∞), (76, ∞)}]\n" + 13711 " └─ columns: [pk v1 v2 v3 v4]\n" + 13712 "", 13713 }, 13714 { 13715 Query: `SELECT * FROM comp_index_t2 WHERE (v1>=9 AND v2>69) AND (v1 BETWEEN 39 AND 73);`, 13716 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13717 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13718 " ├─ static: [{[39, 73], (69, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13719 " ├─ colSet: (1-5)\n" + 13720 " ├─ tableId: 1\n" + 13721 " └─ Table\n" + 13722 " ├─ name: comp_index_t2\n" + 13723 " └─ columns: [pk v1 v2 v3 v4]\n" + 13724 "", 13725 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13726 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13727 " ├─ filters: [{[39, 73], (69, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13728 " └─ columns: [pk v1 v2 v3 v4]\n" + 13729 "", 13730 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13731 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13732 " ├─ filters: [{[39, 73], (69, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13733 " └─ columns: [pk v1 v2 v3 v4]\n" + 13734 "", 13735 }, 13736 { 13737 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<87 AND v2 BETWEEN 2 AND 34 AND v3=87 AND v4>=76) OR (v1<>77 AND v2<=44 AND v3>34));`, 13738 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13739 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13740 " ├─ static: [{(NULL, 77), (NULL, 44], (34, ∞), [NULL, ∞)}, {[77, 77], [2, 34], [87, 87], [76, ∞)}, {(77, ∞), (NULL, 44], (34, ∞), [NULL, ∞)}]\n" + 13741 " ├─ colSet: (1-5)\n" + 13742 " ├─ tableId: 1\n" + 13743 " └─ Table\n" + 13744 " ├─ name: comp_index_t2\n" + 13745 " └─ columns: [pk v1 v2 v3 v4]\n" + 13746 "", 13747 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13748 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13749 " ├─ filters: [{(NULL, 77), (NULL, 44], (34, ∞), [NULL, ∞)}, {[77, 77], [2, 34], [87, 87], [76, ∞)}, {(77, ∞), (NULL, 44], (34, ∞), [NULL, ∞)}]\n" + 13750 " └─ columns: [pk v1 v2 v3 v4]\n" + 13751 "", 13752 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13753 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13754 " ├─ filters: [{(NULL, 77), (NULL, 44], (34, ∞), [NULL, ∞)}, {[77, 77], [2, 34], [87, 87], [76, ∞)}, {(77, ∞), (NULL, 44], (34, ∞), [NULL, ∞)}]\n" + 13755 " └─ columns: [pk v1 v2 v3 v4]\n" + 13756 "", 13757 }, 13758 { 13759 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=9 AND v4>=68 AND v2>21) OR (v1=5 AND v2<69 AND v3<=15 AND v4>=61));`, 13760 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13761 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13762 " ├─ static: [{[5, 5], (NULL, 69), (NULL, 15], [61, ∞)}, {[9, 9], (21, ∞), [NULL, ∞), [68, ∞)}]\n" + 13763 " ├─ colSet: (1-5)\n" + 13764 " ├─ tableId: 1\n" + 13765 " └─ Table\n" + 13766 " ├─ name: comp_index_t2\n" + 13767 " └─ columns: [pk v1 v2 v3 v4]\n" + 13768 "", 13769 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13770 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13771 " ├─ filters: [{[5, 5], (NULL, 69), (NULL, 15], [61, ∞)}, {[9, 9], (21, ∞), [NULL, ∞), [68, ∞)}]\n" + 13772 " └─ columns: [pk v1 v2 v3 v4]\n" + 13773 "", 13774 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13775 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13776 " ├─ filters: [{[5, 5], (NULL, 69), (NULL, 15], [61, ∞)}, {[9, 9], (21, ∞), [NULL, ∞), [68, ∞)}]\n" + 13777 " └─ columns: [pk v1 v2 v3 v4]\n" + 13778 "", 13779 }, 13780 { 13781 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=22) OR (v1>55));`, 13782 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13783 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13784 " ├─ static: [{[22, 22], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(55, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13785 " ├─ colSet: (1-5)\n" + 13786 " ├─ tableId: 1\n" + 13787 " └─ Table\n" + 13788 " ├─ name: comp_index_t2\n" + 13789 " └─ columns: [pk v1 v2 v3 v4]\n" + 13790 "", 13791 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13792 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13793 " ├─ filters: [{[22, 22], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(55, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13794 " └─ columns: [pk v1 v2 v3 v4]\n" + 13795 "", 13796 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13797 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13798 " ├─ filters: [{[22, 22], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(55, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13799 " └─ columns: [pk v1 v2 v3 v4]\n" + 13800 "", 13801 }, 13802 { 13803 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 47 AND 57 AND v2>=83) OR (v1=91 AND v2>34));`, 13804 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13805 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13806 " ├─ static: [{[47, 57], [83, ∞), [NULL, ∞), [NULL, ∞)}, {[91, 91], (34, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13807 " ├─ colSet: (1-5)\n" + 13808 " ├─ tableId: 1\n" + 13809 " └─ Table\n" + 13810 " ├─ name: comp_index_t2\n" + 13811 " └─ columns: [pk v1 v2 v3 v4]\n" + 13812 "", 13813 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13814 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13815 " ├─ filters: [{[47, 57], [83, ∞), [NULL, ∞), [NULL, ∞)}, {[91, 91], (34, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13816 " └─ columns: [pk v1 v2 v3 v4]\n" + 13817 "", 13818 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13819 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13820 " ├─ filters: [{[47, 57], [83, ∞), [NULL, ∞), [NULL, ∞)}, {[91, 91], (34, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13821 " └─ columns: [pk v1 v2 v3 v4]\n" + 13822 "", 13823 }, 13824 { 13825 Query: `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 23 AND 25) AND (v1<98 AND v2>=20 AND v3>37);`, 13826 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13827 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13828 " ├─ static: [{[23, 25], [20, ∞), (37, ∞), [NULL, ∞)}]\n" + 13829 " ├─ colSet: (1-5)\n" + 13830 " ├─ tableId: 1\n" + 13831 " └─ Table\n" + 13832 " ├─ name: comp_index_t2\n" + 13833 " └─ columns: [pk v1 v2 v3 v4]\n" + 13834 "", 13835 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13836 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13837 " ├─ filters: [{[23, 25], [20, ∞), (37, ∞), [NULL, ∞)}]\n" + 13838 " └─ columns: [pk v1 v2 v3 v4]\n" + 13839 "", 13840 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13841 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13842 " ├─ filters: [{[23, 25], [20, ∞), (37, ∞), [NULL, ∞)}]\n" + 13843 " └─ columns: [pk v1 v2 v3 v4]\n" + 13844 "", 13845 }, 13846 { 13847 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=6) OR (v1>61 AND v2<=34)) OR (v1>10 AND v2<>50 AND v3<>62 AND v4<=84));`, 13848 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13849 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13850 " ├─ static: [{[6, 6], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(10, 61], (NULL, 50), (NULL, 62), (NULL, 84]}, {(10, 61], (NULL, 50), (62, ∞), (NULL, 84]}, {(10, ∞), (50, ∞), (NULL, 62), (NULL, 84]}, {(10, ∞), (50, ∞), (62, ∞), (NULL, 84]}, {(61, ∞), (NULL, 34], [NULL, ∞), [NULL, ∞)}, {(61, ∞), (34, 50), (NULL, 62), (NULL, 84]}, {(61, ∞), (34, 50), (62, ∞), (NULL, 84]}]\n" + 13851 " ├─ colSet: (1-5)\n" + 13852 " ├─ tableId: 1\n" + 13853 " └─ Table\n" + 13854 " ├─ name: comp_index_t2\n" + 13855 " └─ columns: [pk v1 v2 v3 v4]\n" + 13856 "", 13857 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13858 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13859 " ├─ filters: [{[6, 6], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(10, 61], (NULL, 50), (NULL, 62), (NULL, 84]}, {(10, 61], (NULL, 50), (62, ∞), (NULL, 84]}, {(10, ∞), (50, ∞), (NULL, 62), (NULL, 84]}, {(10, ∞), (50, ∞), (62, ∞), (NULL, 84]}, {(61, ∞), (NULL, 34], [NULL, ∞), [NULL, ∞)}, {(61, ∞), (34, 50), (NULL, 62), (NULL, 84]}, {(61, ∞), (34, 50), (62, ∞), (NULL, 84]}]\n" + 13860 " └─ columns: [pk v1 v2 v3 v4]\n" + 13861 "", 13862 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13863 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13864 " ├─ filters: [{[6, 6], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(10, 61], (NULL, 50), (NULL, 62), (NULL, 84]}, {(10, 61], (NULL, 50), (62, ∞), (NULL, 84]}, {(10, ∞), (50, ∞), (NULL, 62), (NULL, 84]}, {(10, ∞), (50, ∞), (62, ∞), (NULL, 84]}, {(61, ∞), (NULL, 34], [NULL, ∞), [NULL, ∞)}, {(61, ∞), (34, 50), (NULL, 62), (NULL, 84]}, {(61, ∞), (34, 50), (62, ∞), (NULL, 84]}]\n" + 13865 " └─ columns: [pk v1 v2 v3 v4]\n" + 13866 "", 13867 }, 13868 { 13869 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>74) OR (v1<>86 AND v2<=91)) AND (v1>=8);`, 13870 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13871 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13872 " ├─ static: [{[8, 74), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[74, 74], (NULL, 91], [NULL, ∞), [NULL, ∞)}, {(74, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13873 " ├─ colSet: (1-5)\n" + 13874 " ├─ tableId: 1\n" + 13875 " └─ Table\n" + 13876 " ├─ name: comp_index_t2\n" + 13877 " └─ columns: [pk v1 v2 v3 v4]\n" + 13878 "", 13879 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13880 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13881 " ├─ filters: [{[8, 74), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[74, 74], (NULL, 91], [NULL, ∞), [NULL, ∞)}, {(74, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13882 " └─ columns: [pk v1 v2 v3 v4]\n" + 13883 "", 13884 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13885 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13886 " ├─ filters: [{[8, 74), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[74, 74], (NULL, 91], [NULL, ∞), [NULL, ∞)}, {(74, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13887 " └─ columns: [pk v1 v2 v3 v4]\n" + 13888 "", 13889 }, 13890 { 13891 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>25 AND v2 BETWEEN 23 AND 54) OR (v1<>40 AND v3>90)) OR (v1<>7 AND v4<=78));`, 13892 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13893 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13894 " ├─ static: [{(NULL, 7), [NULL, ∞), [NULL, 90], (NULL, 78]}, {(NULL, 25], [NULL, ∞), (90, ∞), [NULL, ∞)}, {(7, 25], [NULL, ∞), [NULL, 90], (NULL, 78]}, {(25, 40), [NULL, 23), [NULL, 90], (NULL, 78]}, {(25, 40), [NULL, 23), (90, ∞), [NULL, ∞)}, {(25, 40), (54, ∞), [NULL, 90], (NULL, 78]}, {(25, 40), (54, ∞), (90, ∞), [NULL, ∞)}, {(25, ∞), [23, 54], [NULL, ∞), [NULL, ∞)}, {[40, 40], [NULL, 23), [NULL, ∞), (NULL, 78]}, {[40, 40], (54, ∞), [NULL, ∞), (NULL, 78]}, {(40, ∞), [NULL, 23), [NULL, 90], (NULL, 78]}, {(40, ∞), [NULL, 23), (90, ∞), [NULL, ∞)}, {(40, ∞), (54, ∞), [NULL, 90], (NULL, 78]}, {(40, ∞), (54, ∞), (90, ∞), [NULL, ∞)}]\n" + 13895 " ├─ colSet: (1-5)\n" + 13896 " ├─ tableId: 1\n" + 13897 " └─ Table\n" + 13898 " ├─ name: comp_index_t2\n" + 13899 " └─ columns: [pk v1 v2 v3 v4]\n" + 13900 "", 13901 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13902 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13903 " ├─ filters: [{(NULL, 7), [NULL, ∞), [NULL, 90], (NULL, 78]}, {(NULL, 25], [NULL, ∞), (90, ∞), [NULL, ∞)}, {(7, 25], [NULL, ∞), [NULL, 90], (NULL, 78]}, {(25, 40), [NULL, 23), [NULL, 90], (NULL, 78]}, {(25, 40), [NULL, 23), (90, ∞), [NULL, ∞)}, {(25, 40), (54, ∞), [NULL, 90], (NULL, 78]}, {(25, 40), (54, ∞), (90, ∞), [NULL, ∞)}, {(25, ∞), [23, 54], [NULL, ∞), [NULL, ∞)}, {[40, 40], [NULL, 23), [NULL, ∞), (NULL, 78]}, {[40, 40], (54, ∞), [NULL, ∞), (NULL, 78]}, {(40, ∞), [NULL, 23), [NULL, 90], (NULL, 78]}, {(40, ∞), [NULL, 23), (90, ∞), [NULL, ∞)}, {(40, ∞), (54, ∞), [NULL, 90], (NULL, 78]}, {(40, ∞), (54, ∞), (90, ∞), [NULL, ∞)}]\n" + 13904 " └─ columns: [pk v1 v2 v3 v4]\n" + 13905 "", 13906 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13907 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13908 " ├─ filters: [{(NULL, 7), [NULL, ∞), [NULL, 90], (NULL, 78]}, {(NULL, 25], [NULL, ∞), (90, ∞), [NULL, ∞)}, {(7, 25], [NULL, ∞), [NULL, 90], (NULL, 78]}, {(25, 40), [NULL, 23), [NULL, 90], (NULL, 78]}, {(25, 40), [NULL, 23), (90, ∞), [NULL, ∞)}, {(25, 40), (54, ∞), [NULL, 90], (NULL, 78]}, {(25, 40), (54, ∞), (90, ∞), [NULL, ∞)}, {(25, ∞), [23, 54], [NULL, ∞), [NULL, ∞)}, {[40, 40], [NULL, 23), [NULL, ∞), (NULL, 78]}, {[40, 40], (54, ∞), [NULL, ∞), (NULL, 78]}, {(40, ∞), [NULL, 23), [NULL, 90], (NULL, 78]}, {(40, ∞), [NULL, 23), (90, ∞), [NULL, ∞)}, {(40, ∞), (54, ∞), [NULL, 90], (NULL, 78]}, {(40, ∞), (54, ∞), (90, ∞), [NULL, ∞)}]\n" + 13909 " └─ columns: [pk v1 v2 v3 v4]\n" + 13910 "", 13911 }, 13912 { 13913 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=25) OR (v1>40 AND v2 BETWEEN 26 AND 40 AND v3<76));`, 13914 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13915 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13916 " ├─ static: [{[25, 25], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(40, ∞), [26, 40], (NULL, 76), [NULL, ∞)}]\n" + 13917 " ├─ colSet: (1-5)\n" + 13918 " ├─ tableId: 1\n" + 13919 " └─ Table\n" + 13920 " ├─ name: comp_index_t2\n" + 13921 " └─ columns: [pk v1 v2 v3 v4]\n" + 13922 "", 13923 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13924 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13925 " ├─ filters: [{[25, 25], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(40, ∞), [26, 40], (NULL, 76), [NULL, ∞)}]\n" + 13926 " └─ columns: [pk v1 v2 v3 v4]\n" + 13927 "", 13928 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13929 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13930 " ├─ filters: [{[25, 25], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(40, ∞), [26, 40], (NULL, 76), [NULL, ∞)}]\n" + 13931 " └─ columns: [pk v1 v2 v3 v4]\n" + 13932 "", 13933 }, 13934 { 13935 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=13 AND v2<85) OR (v1=23 AND v2<>68 AND v3=33));`, 13936 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13937 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13938 " ├─ static: [{[13, 13], (NULL, 85), [NULL, ∞), [NULL, ∞)}, {[23, 23], (NULL, 68), [33, 33], [NULL, ∞)}, {[23, 23], (68, ∞), [33, 33], [NULL, ∞)}]\n" + 13939 " ├─ colSet: (1-5)\n" + 13940 " ├─ tableId: 1\n" + 13941 " └─ Table\n" + 13942 " ├─ name: comp_index_t2\n" + 13943 " └─ columns: [pk v1 v2 v3 v4]\n" + 13944 "", 13945 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13946 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13947 " ├─ filters: [{[13, 13], (NULL, 85), [NULL, ∞), [NULL, ∞)}, {[23, 23], (NULL, 68), [33, 33], [NULL, ∞)}, {[23, 23], (68, ∞), [33, 33], [NULL, ∞)}]\n" + 13948 " └─ columns: [pk v1 v2 v3 v4]\n" + 13949 "", 13950 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13951 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13952 " ├─ filters: [{[13, 13], (NULL, 85), [NULL, ∞), [NULL, ∞)}, {[23, 23], (NULL, 68), [33, 33], [NULL, ∞)}, {[23, 23], (68, ∞), [33, 33], [NULL, ∞)}]\n" + 13953 " └─ columns: [pk v1 v2 v3 v4]\n" + 13954 "", 13955 }, 13956 { 13957 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<42 AND v2>95 AND v3>17 AND v4<>97) OR (v1>=13 AND v2<>10 AND v3 BETWEEN 73 AND 85 AND v4=48)) OR (v1>55 AND v2=85 AND v3>30));`, 13958 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13959 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13960 " ├─ static: [{(NULL, 42), (95, ∞), (17, ∞), (NULL, 97)}, {(NULL, 42), (95, ∞), (17, ∞), (97, ∞)}, {[13, 42), (10, 95], [73, 85], [48, 48]}, {[13, ∞), (NULL, 10), [73, 85], [48, 48]}, {[42, 55], (10, ∞), [73, 85], [48, 48]}, {(55, ∞), (10, 85), [73, 85], [48, 48]}, {(55, ∞), [85, 85], (30, ∞), [NULL, ∞)}, {(55, ∞), (85, ∞), [73, 85], [48, 48]}]\n" + 13961 " ├─ colSet: (1-5)\n" + 13962 " ├─ tableId: 1\n" + 13963 " └─ Table\n" + 13964 " ├─ name: comp_index_t2\n" + 13965 " └─ columns: [pk v1 v2 v3 v4]\n" + 13966 "", 13967 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13968 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13969 " ├─ filters: [{(NULL, 42), (95, ∞), (17, ∞), (NULL, 97)}, {(NULL, 42), (95, ∞), (17, ∞), (97, ∞)}, {[13, 42), (10, 95], [73, 85], [48, 48]}, {[13, ∞), (NULL, 10), [73, 85], [48, 48]}, {[42, 55], (10, ∞), [73, 85], [48, 48]}, {(55, ∞), (10, 85), [73, 85], [48, 48]}, {(55, ∞), [85, 85], (30, ∞), [NULL, ∞)}, {(55, ∞), (85, ∞), [73, 85], [48, 48]}]\n" + 13970 " └─ columns: [pk v1 v2 v3 v4]\n" + 13971 "", 13972 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13973 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13974 " ├─ filters: [{(NULL, 42), (95, ∞), (17, ∞), (NULL, 97)}, {(NULL, 42), (95, ∞), (17, ∞), (97, ∞)}, {[13, 42), (10, 95], [73, 85], [48, 48]}, {[13, ∞), (NULL, 10), [73, 85], [48, 48]}, {[42, 55], (10, ∞), [73, 85], [48, 48]}, {(55, ∞), (10, 85), [73, 85], [48, 48]}, {(55, ∞), [85, 85], (30, ∞), [NULL, ∞)}, {(55, ∞), (85, ∞), [73, 85], [48, 48]}]\n" + 13975 " └─ columns: [pk v1 v2 v3 v4]\n" + 13976 "", 13977 }, 13978 { 13979 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 5 AND 32) OR (v1>7)) OR (v1=34));`, 13980 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 13981 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13982 " ├─ static: [{[5, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13983 " ├─ colSet: (1-5)\n" + 13984 " ├─ tableId: 1\n" + 13985 " └─ Table\n" + 13986 " ├─ name: comp_index_t2\n" + 13987 " └─ columns: [pk v1 v2 v3 v4]\n" + 13988 "", 13989 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 13990 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13991 " ├─ filters: [{[5, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13992 " └─ columns: [pk v1 v2 v3 v4]\n" + 13993 "", 13994 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 13995 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 13996 " ├─ filters: [{[5, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 13997 " └─ columns: [pk v1 v2 v3 v4]\n" + 13998 "", 13999 }, 14000 { 14001 Query: `SELECT * FROM comp_index_t2 WHERE (v1>=34 AND v2<>61 AND v3<>3) AND (v1 BETWEEN 69 AND 93) AND (v1=36 AND v2>14);`, 14002 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14003 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14004 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14005 " ├─ colSet: (1-5)\n" + 14006 " ├─ tableId: 1\n" + 14007 " └─ Table\n" + 14008 " ├─ name: comp_index_t2\n" + 14009 " └─ columns: [pk v1 v2 v3 v4]\n" + 14010 "", 14011 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14012 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14013 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14014 " └─ columns: [pk v1 v2 v3 v4]\n" + 14015 "", 14016 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14017 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14018 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14019 " └─ columns: [pk v1 v2 v3 v4]\n" + 14020 "", 14021 }, 14022 { 14023 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>75) OR (v1<>74 AND v3 BETWEEN 29 AND 73));`, 14024 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14025 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14026 " ├─ static: [{(NULL, 75), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[75, 75], [NULL, ∞), [29, 73], [NULL, ∞)}, {(75, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14027 " ├─ colSet: (1-5)\n" + 14028 " ├─ tableId: 1\n" + 14029 " └─ Table\n" + 14030 " ├─ name: comp_index_t2\n" + 14031 " └─ columns: [pk v1 v2 v3 v4]\n" + 14032 "", 14033 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14034 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14035 " ├─ filters: [{(NULL, 75), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[75, 75], [NULL, ∞), [29, 73], [NULL, ∞)}, {(75, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14036 " └─ columns: [pk v1 v2 v3 v4]\n" + 14037 "", 14038 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14039 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14040 " ├─ filters: [{(NULL, 75), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[75, 75], [NULL, ∞), [29, 73], [NULL, ∞)}, {(75, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14041 " └─ columns: [pk v1 v2 v3 v4]\n" + 14042 "", 14043 }, 14044 { 14045 Query: `SELECT * FROM comp_index_t2 WHERE (v1<>91 AND v3=27 AND v4=22 AND v2<>68) AND (v1<=88);`, 14046 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14047 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14048 " ├─ static: [{(NULL, 88], (NULL, 68), [27, 27], [22, 22]}, {(NULL, 88], (68, ∞), [27, 27], [22, 22]}]\n" + 14049 " ├─ colSet: (1-5)\n" + 14050 " ├─ tableId: 1\n" + 14051 " └─ Table\n" + 14052 " ├─ name: comp_index_t2\n" + 14053 " └─ columns: [pk v1 v2 v3 v4]\n" + 14054 "", 14055 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14056 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14057 " ├─ filters: [{(NULL, 88], (NULL, 68), [27, 27], [22, 22]}, {(NULL, 88], (68, ∞), [27, 27], [22, 22]}]\n" + 14058 " └─ columns: [pk v1 v2 v3 v4]\n" + 14059 "", 14060 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14061 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14062 " ├─ filters: [{(NULL, 88], (NULL, 68), [27, 27], [22, 22]}, {(NULL, 88], (68, ∞), [27, 27], [22, 22]}]\n" + 14063 " └─ columns: [pk v1 v2 v3 v4]\n" + 14064 "", 14065 }, 14066 { 14067 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<>18 AND v2<>90 AND v3>95) OR (v1>=44)) OR (v1<4 AND v3<=26 AND v4<>67 AND v2>=37)) OR (v1<36 AND v2<=15 AND v3 BETWEEN 25 AND 36 AND v4<=14));`, 14068 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14069 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14070 " ├─ static: [{(NULL, 4), [37, ∞), (NULL, 26], (NULL, 67)}, {(NULL, 4), [37, ∞), (NULL, 26], (67, ∞)}, {(NULL, 18), (NULL, 90), (95, ∞), [NULL, ∞)}, {(NULL, 18), (90, ∞), (95, ∞), [NULL, ∞)}, {(NULL, 36), (NULL, 15], [25, 36], (NULL, 14]}, {(18, 44), (NULL, 90), (95, ∞), [NULL, ∞)}, {(18, 44), (90, ∞), (95, ∞), [NULL, ∞)}, {[44, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14071 " ├─ colSet: (1-5)\n" + 14072 " ├─ tableId: 1\n" + 14073 " └─ Table\n" + 14074 " ├─ name: comp_index_t2\n" + 14075 " └─ columns: [pk v1 v2 v3 v4]\n" + 14076 "", 14077 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14078 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14079 " ├─ filters: [{(NULL, 4), [37, ∞), (NULL, 26], (NULL, 67)}, {(NULL, 4), [37, ∞), (NULL, 26], (67, ∞)}, {(NULL, 18), (NULL, 90), (95, ∞), [NULL, ∞)}, {(NULL, 18), (90, ∞), (95, ∞), [NULL, ∞)}, {(NULL, 36), (NULL, 15], [25, 36], (NULL, 14]}, {(18, 44), (NULL, 90), (95, ∞), [NULL, ∞)}, {(18, 44), (90, ∞), (95, ∞), [NULL, ∞)}, {[44, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14080 " └─ columns: [pk v1 v2 v3 v4]\n" + 14081 "", 14082 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14083 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14084 " ├─ filters: [{(NULL, 4), [37, ∞), (NULL, 26], (NULL, 67)}, {(NULL, 4), [37, ∞), (NULL, 26], (67, ∞)}, {(NULL, 18), (NULL, 90), (95, ∞), [NULL, ∞)}, {(NULL, 18), (90, ∞), (95, ∞), [NULL, ∞)}, {(NULL, 36), (NULL, 15], [25, 36], (NULL, 14]}, {(18, 44), (NULL, 90), (95, ∞), [NULL, ∞)}, {(18, 44), (90, ∞), (95, ∞), [NULL, ∞)}, {[44, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14085 " └─ columns: [pk v1 v2 v3 v4]\n" + 14086 "", 14087 }, 14088 { 14089 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 44 AND 87 AND v2<52 AND v3<52 AND v4<1) OR (v1<30 AND v4 BETWEEN 8 AND 97 AND v2<=24));`, 14090 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14091 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14092 " ├─ static: [{(NULL, 30), (NULL, 24], [NULL, ∞), [8, 97]}, {[44, 87], (NULL, 52), (NULL, 52), (NULL, 1)}]\n" + 14093 " ├─ colSet: (1-5)\n" + 14094 " ├─ tableId: 1\n" + 14095 " └─ Table\n" + 14096 " ├─ name: comp_index_t2\n" + 14097 " └─ columns: [pk v1 v2 v3 v4]\n" + 14098 "", 14099 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14100 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14101 " ├─ filters: [{(NULL, 30), (NULL, 24], [NULL, ∞), [8, 97]}, {[44, 87], (NULL, 52), (NULL, 52), (NULL, 1)}]\n" + 14102 " └─ columns: [pk v1 v2 v3 v4]\n" + 14103 "", 14104 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14105 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14106 " ├─ filters: [{(NULL, 30), (NULL, 24], [NULL, ∞), [8, 97]}, {[44, 87], (NULL, 52), (NULL, 52), (NULL, 1)}]\n" + 14107 " └─ columns: [pk v1 v2 v3 v4]\n" + 14108 "", 14109 }, 14110 { 14111 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>48 AND v2<=83) OR (v1>28 AND v2 BETWEEN 9 AND 87 AND v3<>73)) OR (v1>=53 AND v2>=91 AND v3 BETWEEN 33 AND 97));`, 14112 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14113 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14114 " ├─ static: [{(28, 48], [9, 87], (NULL, 73), [NULL, ∞)}, {(28, 48], [9, 87], (73, ∞), [NULL, ∞)}, {(48, ∞), (NULL, 83], [NULL, ∞), [NULL, ∞)}, {(48, ∞), (83, 87], (NULL, 73), [NULL, ∞)}, {(48, ∞), (83, 87], (73, ∞), [NULL, ∞)}, {[53, ∞), [91, ∞), [33, 97], [NULL, ∞)}]\n" + 14115 " ├─ colSet: (1-5)\n" + 14116 " ├─ tableId: 1\n" + 14117 " └─ Table\n" + 14118 " ├─ name: comp_index_t2\n" + 14119 " └─ columns: [pk v1 v2 v3 v4]\n" + 14120 "", 14121 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14122 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14123 " ├─ filters: [{(28, 48], [9, 87], (NULL, 73), [NULL, ∞)}, {(28, 48], [9, 87], (73, ∞), [NULL, ∞)}, {(48, ∞), (NULL, 83], [NULL, ∞), [NULL, ∞)}, {(48, ∞), (83, 87], (NULL, 73), [NULL, ∞)}, {(48, ∞), (83, 87], (73, ∞), [NULL, ∞)}, {[53, ∞), [91, ∞), [33, 97], [NULL, ∞)}]\n" + 14124 " └─ columns: [pk v1 v2 v3 v4]\n" + 14125 "", 14126 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14127 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14128 " ├─ filters: [{(28, 48], [9, 87], (NULL, 73), [NULL, ∞)}, {(28, 48], [9, 87], (73, ∞), [NULL, ∞)}, {(48, ∞), (NULL, 83], [NULL, ∞), [NULL, ∞)}, {(48, ∞), (83, 87], (NULL, 73), [NULL, ∞)}, {(48, ∞), (83, 87], (73, ∞), [NULL, ∞)}, {[53, ∞), [91, ∞), [33, 97], [NULL, ∞)}]\n" + 14129 " └─ columns: [pk v1 v2 v3 v4]\n" + 14130 "", 14131 }, 14132 { 14133 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>8 AND v2 BETWEEN 34 AND 48) OR (v1<>54));`, 14134 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14135 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14136 " ├─ static: [{(NULL, 54), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[54, 54], [34, 48], [NULL, ∞), [NULL, ∞)}, {(54, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14137 " ├─ colSet: (1-5)\n" + 14138 " ├─ tableId: 1\n" + 14139 " └─ Table\n" + 14140 " ├─ name: comp_index_t2\n" + 14141 " └─ columns: [pk v1 v2 v3 v4]\n" + 14142 "", 14143 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14144 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14145 " ├─ filters: [{(NULL, 54), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[54, 54], [34, 48], [NULL, ∞), [NULL, ∞)}, {(54, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14146 " └─ columns: [pk v1 v2 v3 v4]\n" + 14147 "", 14148 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14149 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14150 " ├─ filters: [{(NULL, 54), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[54, 54], [34, 48], [NULL, ∞), [NULL, ∞)}, {(54, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14151 " └─ columns: [pk v1 v2 v3 v4]\n" + 14152 "", 14153 }, 14154 { 14155 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=78 AND v2<74 AND v3<42 AND v4>=34) OR (v1<=29 AND v2<=27 AND v3>31 AND v4 BETWEEN 35 AND 41));`, 14156 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14157 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14158 " ├─ static: [{(NULL, 29], (NULL, 27], [42, ∞), [35, 41]}, {(NULL, 78], (NULL, 74), (NULL, 42), [34, ∞)}]\n" + 14159 " ├─ colSet: (1-5)\n" + 14160 " ├─ tableId: 1\n" + 14161 " └─ Table\n" + 14162 " ├─ name: comp_index_t2\n" + 14163 " └─ columns: [pk v1 v2 v3 v4]\n" + 14164 "", 14165 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14166 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14167 " ├─ filters: [{(NULL, 29], (NULL, 27], [42, ∞), [35, 41]}, {(NULL, 78], (NULL, 74), (NULL, 42), [34, ∞)}]\n" + 14168 " └─ columns: [pk v1 v2 v3 v4]\n" + 14169 "", 14170 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14171 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14172 " ├─ filters: [{(NULL, 29], (NULL, 27], [42, ∞), [35, 41]}, {(NULL, 78], (NULL, 74), (NULL, 42), [34, ∞)}]\n" + 14173 " └─ columns: [pk v1 v2 v3 v4]\n" + 14174 "", 14175 }, 14176 { 14177 Query: `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 9 AND 35 AND v4<=69 AND v2 BETWEEN 34 AND 53 AND v3<>28) AND (v1 BETWEEN 12 AND 48);`, 14178 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14179 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14180 " ├─ static: [{[12, 35], [34, 53], (NULL, 28), (NULL, 69]}, {[12, 35], [34, 53], (28, ∞), (NULL, 69]}]\n" + 14181 " ├─ colSet: (1-5)\n" + 14182 " ├─ tableId: 1\n" + 14183 " └─ Table\n" + 14184 " ├─ name: comp_index_t2\n" + 14185 " └─ columns: [pk v1 v2 v3 v4]\n" + 14186 "", 14187 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14188 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14189 " ├─ filters: [{[12, 35], [34, 53], (NULL, 28), (NULL, 69]}, {[12, 35], [34, 53], (28, ∞), (NULL, 69]}]\n" + 14190 " └─ columns: [pk v1 v2 v3 v4]\n" + 14191 "", 14192 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14193 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14194 " ├─ filters: [{[12, 35], [34, 53], (NULL, 28), (NULL, 69]}, {[12, 35], [34, 53], (28, ∞), (NULL, 69]}]\n" + 14195 " └─ columns: [pk v1 v2 v3 v4]\n" + 14196 "", 14197 }, 14198 { 14199 Query: `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 13 AND 77 AND v2>75 AND v3<73 AND v4>=6) AND (v1<=58 AND v2=48 AND v3 BETWEEN 33 AND 73);`, 14200 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14201 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14202 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14203 " ├─ colSet: (1-5)\n" + 14204 " ├─ tableId: 1\n" + 14205 " └─ Table\n" + 14206 " ├─ name: comp_index_t2\n" + 14207 " └─ columns: [pk v1 v2 v3 v4]\n" + 14208 "", 14209 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14210 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14211 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14212 " └─ columns: [pk v1 v2 v3 v4]\n" + 14213 "", 14214 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14215 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14216 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14217 " └─ columns: [pk v1 v2 v3 v4]\n" + 14218 "", 14219 }, 14220 { 14221 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>47 AND v3>47 AND v4 BETWEEN 51 AND 86 AND v2=26) OR (v1<82 AND v2<=17 AND v3<17 AND v4>=46));`, 14222 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14223 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14224 " ├─ static: [{(NULL, 82), (NULL, 17], (NULL, 17), [46, ∞)}, {(47, ∞), [26, 26], (47, ∞), [51, 86]}]\n" + 14225 " ├─ colSet: (1-5)\n" + 14226 " ├─ tableId: 1\n" + 14227 " └─ Table\n" + 14228 " ├─ name: comp_index_t2\n" + 14229 " └─ columns: [pk v1 v2 v3 v4]\n" + 14230 "", 14231 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14232 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14233 " ├─ filters: [{(NULL, 82), (NULL, 17], (NULL, 17), [46, ∞)}, {(47, ∞), [26, 26], (47, ∞), [51, 86]}]\n" + 14234 " └─ columns: [pk v1 v2 v3 v4]\n" + 14235 "", 14236 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14237 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14238 " ├─ filters: [{(NULL, 82), (NULL, 17], (NULL, 17), [46, ∞)}, {(47, ∞), [26, 26], (47, ∞), [51, 86]}]\n" + 14239 " └─ columns: [pk v1 v2 v3 v4]\n" + 14240 "", 14241 }, 14242 { 14243 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>87) OR (v1>82 AND v4>=22)) OR (v1>=52 AND v2<>47 AND v3=37)) OR (v1<=14 AND v2<57 AND v3<10));`, 14244 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14245 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14246 " ├─ static: [{(NULL, 14], (NULL, 57), (NULL, 10), [NULL, ∞)}, {[52, 87], (NULL, 47), [37, 37], [NULL, ∞)}, {[52, 87], (47, ∞), [37, 37], [NULL, ∞)}, {(82, 87], [NULL, NULL], [NULL, ∞), [22, ∞)}, {(82, 87], (NULL, 47), [NULL, 37), [22, ∞)}, {(82, 87], (NULL, 47), (37, ∞), [22, ∞)}, {(82, 87], [47, 47], [NULL, ∞), [22, ∞)}, {(82, 87], (47, ∞), [NULL, 37), [22, ∞)}, {(82, 87], (47, ∞), (37, ∞), [22, ∞)}, {(87, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14247 " ├─ colSet: (1-5)\n" + 14248 " ├─ tableId: 1\n" + 14249 " └─ Table\n" + 14250 " ├─ name: comp_index_t2\n" + 14251 " └─ columns: [pk v1 v2 v3 v4]\n" + 14252 "", 14253 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14254 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14255 " ├─ filters: [{(NULL, 14], (NULL, 57), (NULL, 10), [NULL, ∞)}, {[52, 87], (NULL, 47), [37, 37], [NULL, ∞)}, {[52, 87], (47, ∞), [37, 37], [NULL, ∞)}, {(82, 87], [NULL, NULL], [NULL, ∞), [22, ∞)}, {(82, 87], (NULL, 47), [NULL, 37), [22, ∞)}, {(82, 87], (NULL, 47), (37, ∞), [22, ∞)}, {(82, 87], [47, 47], [NULL, ∞), [22, ∞)}, {(82, 87], (47, ∞), [NULL, 37), [22, ∞)}, {(82, 87], (47, ∞), (37, ∞), [22, ∞)}, {(87, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14256 " └─ columns: [pk v1 v2 v3 v4]\n" + 14257 "", 14258 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14259 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14260 " ├─ filters: [{(NULL, 14], (NULL, 57), (NULL, 10), [NULL, ∞)}, {[52, 87], (NULL, 47), [37, 37], [NULL, ∞)}, {[52, 87], (47, ∞), [37, 37], [NULL, ∞)}, {(82, 87], [NULL, NULL], [NULL, ∞), [22, ∞)}, {(82, 87], (NULL, 47), [NULL, 37), [22, ∞)}, {(82, 87], (NULL, 47), (37, ∞), [22, ∞)}, {(82, 87], [47, 47], [NULL, ∞), [22, ∞)}, {(82, 87], (47, ∞), [NULL, 37), [22, ∞)}, {(82, 87], (47, ∞), (37, ∞), [22, ∞)}, {(87, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14261 " └─ columns: [pk v1 v2 v3 v4]\n" + 14262 "", 14263 }, 14264 { 14265 Query: `SELECT * FROM comp_index_t2 WHERE (v1>=99 AND v3<=41) AND (v1<>38 AND v2<94 AND v3 BETWEEN 83 AND 95 AND v4>=86);`, 14266 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14267 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14268 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14269 " ├─ colSet: (1-5)\n" + 14270 " ├─ tableId: 1\n" + 14271 " └─ Table\n" + 14272 " ├─ name: comp_index_t2\n" + 14273 " └─ columns: [pk v1 v2 v3 v4]\n" + 14274 "", 14275 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14276 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14277 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14278 " └─ columns: [pk v1 v2 v3 v4]\n" + 14279 "", 14280 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14281 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14282 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14283 " └─ columns: [pk v1 v2 v3 v4]\n" + 14284 "", 14285 }, 14286 { 14287 Query: `SELECT * FROM comp_index_t2 WHERE (v1>78) AND (v1>32 AND v2>11 AND v3>=78);`, 14288 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14289 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14290 " ├─ static: [{(78, ∞), (11, ∞), [78, ∞), [NULL, ∞)}]\n" + 14291 " ├─ colSet: (1-5)\n" + 14292 " ├─ tableId: 1\n" + 14293 " └─ Table\n" + 14294 " ├─ name: comp_index_t2\n" + 14295 " └─ columns: [pk v1 v2 v3 v4]\n" + 14296 "", 14297 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14298 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14299 " ├─ filters: [{(78, ∞), (11, ∞), [78, ∞), [NULL, ∞)}]\n" + 14300 " └─ columns: [pk v1 v2 v3 v4]\n" + 14301 "", 14302 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14303 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14304 " ├─ filters: [{(78, ∞), (11, ∞), [78, ∞), [NULL, ∞)}]\n" + 14305 " └─ columns: [pk v1 v2 v3 v4]\n" + 14306 "", 14307 }, 14308 { 14309 Query: `SELECT * FROM comp_index_t2 WHERE (v1<>3 AND v2=26 AND v3=22 AND v4<=76) AND (v1 BETWEEN 59 AND 92 AND v2 BETWEEN 36 AND 80);`, 14310 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14311 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14312 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14313 " ├─ colSet: (1-5)\n" + 14314 " ├─ tableId: 1\n" + 14315 " └─ Table\n" + 14316 " ├─ name: comp_index_t2\n" + 14317 " └─ columns: [pk v1 v2 v3 v4]\n" + 14318 "", 14319 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14320 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14321 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14322 " └─ columns: [pk v1 v2 v3 v4]\n" + 14323 "", 14324 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14325 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14326 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14327 " └─ columns: [pk v1 v2 v3 v4]\n" + 14328 "", 14329 }, 14330 { 14331 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>10) OR (v1=12));`, 14332 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14333 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14334 " ├─ static: [{(10, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14335 " ├─ colSet: (1-5)\n" + 14336 " ├─ tableId: 1\n" + 14337 " └─ Table\n" + 14338 " ├─ name: comp_index_t2\n" + 14339 " └─ columns: [pk v1 v2 v3 v4]\n" + 14340 "", 14341 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14342 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14343 " ├─ filters: [{(10, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14344 " └─ columns: [pk v1 v2 v3 v4]\n" + 14345 "", 14346 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14347 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14348 " ├─ filters: [{(10, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14349 " └─ columns: [pk v1 v2 v3 v4]\n" + 14350 "", 14351 }, 14352 { 14353 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>=12 AND v3>=45 AND v4<98) OR (v1<>51 AND v3=79 AND v4<=24)) OR (v1 BETWEEN 4 AND 59 AND v4<82)) OR (v1>=29 AND v2<>21));`, 14354 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14355 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14356 " ├─ static: [{(NULL, 4), [NULL, ∞), [79, 79], (NULL, 24]}, {[4, 12), [NULL, ∞), [NULL, ∞), (NULL, 82)}, {[12, 29), [NULL, ∞), [NULL, 45), (NULL, 82)}, {[12, 29), [NULL, ∞), [45, ∞), (NULL, 98)}, {[29, 59], [NULL, NULL], [NULL, 45), (NULL, 82)}, {[29, 59], [21, 21], [NULL, 45), (NULL, 82)}, {[29, ∞), [NULL, NULL], [45, ∞), (NULL, 98)}, {[29, ∞), (NULL, 21), [NULL, ∞), [NULL, ∞)}, {[29, ∞), [21, 21], [45, ∞), (NULL, 98)}, {[29, ∞), (21, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14357 " ├─ colSet: (1-5)\n" + 14358 " ├─ tableId: 1\n" + 14359 " └─ Table\n" + 14360 " ├─ name: comp_index_t2\n" + 14361 " └─ columns: [pk v1 v2 v3 v4]\n" + 14362 "", 14363 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14364 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14365 " ├─ filters: [{(NULL, 4), [NULL, ∞), [79, 79], (NULL, 24]}, {[4, 12), [NULL, ∞), [NULL, ∞), (NULL, 82)}, {[12, 29), [NULL, ∞), [NULL, 45), (NULL, 82)}, {[12, 29), [NULL, ∞), [45, ∞), (NULL, 98)}, {[29, 59], [NULL, NULL], [NULL, 45), (NULL, 82)}, {[29, 59], [21, 21], [NULL, 45), (NULL, 82)}, {[29, ∞), [NULL, NULL], [45, ∞), (NULL, 98)}, {[29, ∞), (NULL, 21), [NULL, ∞), [NULL, ∞)}, {[29, ∞), [21, 21], [45, ∞), (NULL, 98)}, {[29, ∞), (21, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14366 " └─ columns: [pk v1 v2 v3 v4]\n" + 14367 "", 14368 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14369 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14370 " ├─ filters: [{(NULL, 4), [NULL, ∞), [79, 79], (NULL, 24]}, {[4, 12), [NULL, ∞), [NULL, ∞), (NULL, 82)}, {[12, 29), [NULL, ∞), [NULL, 45), (NULL, 82)}, {[12, 29), [NULL, ∞), [45, ∞), (NULL, 98)}, {[29, 59], [NULL, NULL], [NULL, 45), (NULL, 82)}, {[29, 59], [21, 21], [NULL, 45), (NULL, 82)}, {[29, ∞), [NULL, NULL], [45, ∞), (NULL, 98)}, {[29, ∞), (NULL, 21), [NULL, ∞), [NULL, ∞)}, {[29, ∞), [21, 21], [45, ∞), (NULL, 98)}, {[29, ∞), (21, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14371 " └─ columns: [pk v1 v2 v3 v4]\n" + 14372 "", 14373 }, 14374 { 14375 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>10 AND v2<=75 AND v3>=70) OR (v1<89 AND v2<=32));`, 14376 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14377 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14378 " ├─ static: [{(NULL, 10), (32, 75], [70, ∞), [NULL, ∞)}, {(NULL, 89), (NULL, 32], [NULL, ∞), [NULL, ∞)}, {(10, 89), (32, 75], [70, ∞), [NULL, ∞)}, {[89, ∞), (NULL, 75], [70, ∞), [NULL, ∞)}]\n" + 14379 " ├─ colSet: (1-5)\n" + 14380 " ├─ tableId: 1\n" + 14381 " └─ Table\n" + 14382 " ├─ name: comp_index_t2\n" + 14383 " └─ columns: [pk v1 v2 v3 v4]\n" + 14384 "", 14385 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14386 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14387 " ├─ filters: [{(NULL, 10), (32, 75], [70, ∞), [NULL, ∞)}, {(NULL, 89), (NULL, 32], [NULL, ∞), [NULL, ∞)}, {(10, 89), (32, 75], [70, ∞), [NULL, ∞)}, {[89, ∞), (NULL, 75], [70, ∞), [NULL, ∞)}]\n" + 14388 " └─ columns: [pk v1 v2 v3 v4]\n" + 14389 "", 14390 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14391 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14392 " ├─ filters: [{(NULL, 10), (32, 75], [70, ∞), [NULL, ∞)}, {(NULL, 89), (NULL, 32], [NULL, ∞), [NULL, ∞)}, {(10, 89), (32, 75], [70, ∞), [NULL, ∞)}, {[89, ∞), (NULL, 75], [70, ∞), [NULL, ∞)}]\n" + 14393 " └─ columns: [pk v1 v2 v3 v4]\n" + 14394 "", 14395 }, 14396 { 14397 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=15) OR (v1=15)) OR (v1 BETWEEN 14 AND 25 AND v4>55 AND v2<53 AND v3=95));`, 14398 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14399 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14400 " ├─ static: [{[14, 15), (NULL, 53), [95, 95], (55, ∞)}, {[15, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14401 " ├─ colSet: (1-5)\n" + 14402 " ├─ tableId: 1\n" + 14403 " └─ Table\n" + 14404 " ├─ name: comp_index_t2\n" + 14405 " └─ columns: [pk v1 v2 v3 v4]\n" + 14406 "", 14407 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14408 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14409 " ├─ filters: [{[14, 15), (NULL, 53), [95, 95], (55, ∞)}, {[15, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14410 " └─ columns: [pk v1 v2 v3 v4]\n" + 14411 "", 14412 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14413 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14414 " ├─ filters: [{[14, 15), (NULL, 53), [95, 95], (55, ∞)}, {[15, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14415 " └─ columns: [pk v1 v2 v3 v4]\n" + 14416 "", 14417 }, 14418 { 14419 Query: `SELECT * FROM comp_index_t2 WHERE (v1>48 AND v2 BETWEEN 4 AND 84 AND v3<=3 AND v4<>31) AND (v1 BETWEEN 2 AND 15 AND v3>75);`, 14420 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14421 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14422 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14423 " ├─ colSet: (1-5)\n" + 14424 " ├─ tableId: 1\n" + 14425 " └─ Table\n" + 14426 " ├─ name: comp_index_t2\n" + 14427 " └─ columns: [pk v1 v2 v3 v4]\n" + 14428 "", 14429 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14430 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14431 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14432 " └─ columns: [pk v1 v2 v3 v4]\n" + 14433 "", 14434 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14435 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14436 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14437 " └─ columns: [pk v1 v2 v3 v4]\n" + 14438 "", 14439 }, 14440 { 14441 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<41 AND v4=9 AND v2>77 AND v3=41) OR (v1>62 AND v2>=48 AND v3=13 AND v4>61)) OR (v1 BETWEEN 33 AND 75)) OR (v1 BETWEEN 45 AND 65 AND v4 BETWEEN 4 AND 68));`, 14442 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14443 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14444 " ├─ static: [{(NULL, 33), (77, ∞), [41, 41], [9, 9]}, {[33, 75], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(75, ∞), [48, ∞), [13, 13], (61, ∞)}]\n" + 14445 " ├─ colSet: (1-5)\n" + 14446 " ├─ tableId: 1\n" + 14447 " └─ Table\n" + 14448 " ├─ name: comp_index_t2\n" + 14449 " └─ columns: [pk v1 v2 v3 v4]\n" + 14450 "", 14451 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14452 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14453 " ├─ filters: [{(NULL, 33), (77, ∞), [41, 41], [9, 9]}, {[33, 75], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(75, ∞), [48, ∞), [13, 13], (61, ∞)}]\n" + 14454 " └─ columns: [pk v1 v2 v3 v4]\n" + 14455 "", 14456 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14457 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14458 " ├─ filters: [{(NULL, 33), (77, ∞), [41, 41], [9, 9]}, {[33, 75], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(75, ∞), [48, ∞), [13, 13], (61, ∞)}]\n" + 14459 " └─ columns: [pk v1 v2 v3 v4]\n" + 14460 "", 14461 }, 14462 { 14463 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>20) OR (v1>=71 AND v4 BETWEEN 12 AND 20 AND v2<=30 AND v3 BETWEEN 14 AND 44)) AND (v1>97 AND v2=91 AND v3>=5) OR (v1>7 AND v2<34 AND v3<55 AND v4 BETWEEN 88 AND 97)) AND (v1 BETWEEN 2 AND 16 AND v2<>23 AND v3=75 AND v4>99);`, 14464 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14465 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14466 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14467 " ├─ colSet: (1-5)\n" + 14468 " ├─ tableId: 1\n" + 14469 " └─ Table\n" + 14470 " ├─ name: comp_index_t2\n" + 14471 " └─ columns: [pk v1 v2 v3 v4]\n" + 14472 "", 14473 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14474 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14475 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14476 " └─ columns: [pk v1 v2 v3 v4]\n" + 14477 "", 14478 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14479 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14480 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14481 " └─ columns: [pk v1 v2 v3 v4]\n" + 14482 "", 14483 }, 14484 { 14485 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=55 AND v2<13 AND v3<=96 AND v4>=49) OR (v1 BETWEEN 39 AND 98 AND v2=77 AND v3>85));`, 14486 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14487 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14488 " ├─ static: [{[39, 98], [77, 77], (85, ∞), [NULL, ∞)}, {[55, 55], (NULL, 13), (NULL, 96], [49, ∞)}]\n" + 14489 " ├─ colSet: (1-5)\n" + 14490 " ├─ tableId: 1\n" + 14491 " └─ Table\n" + 14492 " ├─ name: comp_index_t2\n" + 14493 " └─ columns: [pk v1 v2 v3 v4]\n" + 14494 "", 14495 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14496 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14497 " ├─ filters: [{[39, 98], [77, 77], (85, ∞), [NULL, ∞)}, {[55, 55], (NULL, 13), (NULL, 96], [49, ∞)}]\n" + 14498 " └─ columns: [pk v1 v2 v3 v4]\n" + 14499 "", 14500 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14501 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14502 " ├─ filters: [{[39, 98], [77, 77], (85, ∞), [NULL, ∞)}, {[55, 55], (NULL, 13), (NULL, 96], [49, ∞)}]\n" + 14503 " └─ columns: [pk v1 v2 v3 v4]\n" + 14504 "", 14505 }, 14506 { 14507 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=74 AND v2<>13 AND v3<67 AND v4 BETWEEN 1 AND 70) OR (v1 BETWEEN 30 AND 50 AND v2<27 AND v3>=35));`, 14508 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14509 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14510 " ├─ static: [{[30, 50], (NULL, 27), [35, ∞), [NULL, ∞)}, {[74, 74], (NULL, 13), (NULL, 67), [1, 70]}, {[74, 74], (13, ∞), (NULL, 67), [1, 70]}]\n" + 14511 " ├─ colSet: (1-5)\n" + 14512 " ├─ tableId: 1\n" + 14513 " └─ Table\n" + 14514 " ├─ name: comp_index_t2\n" + 14515 " └─ columns: [pk v1 v2 v3 v4]\n" + 14516 "", 14517 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14518 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14519 " ├─ filters: [{[30, 50], (NULL, 27), [35, ∞), [NULL, ∞)}, {[74, 74], (NULL, 13), (NULL, 67), [1, 70]}, {[74, 74], (13, ∞), (NULL, 67), [1, 70]}]\n" + 14520 " └─ columns: [pk v1 v2 v3 v4]\n" + 14521 "", 14522 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14523 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14524 " ├─ filters: [{[30, 50], (NULL, 27), [35, ∞), [NULL, ∞)}, {[74, 74], (NULL, 13), (NULL, 67), [1, 70]}, {[74, 74], (13, ∞), (NULL, 67), [1, 70]}]\n" + 14525 " └─ columns: [pk v1 v2 v3 v4]\n" + 14526 "", 14527 }, 14528 { 14529 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1=76) OR (v1>22 AND v3<49 AND v4=2)) OR (v1=85 AND v4>79)) OR (v1=10 AND v2=47 AND v3 BETWEEN 6 AND 21 AND v4>97));`, 14530 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14531 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14532 " ├─ static: [{[10, 10], [47, 47], [6, 21], (97, ∞)}, {(22, 76), [NULL, ∞), (NULL, 49), [2, 2]}, {[76, 76], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(76, ∞), [NULL, ∞), (NULL, 49), [2, 2]}, {[85, 85], [NULL, ∞), [NULL, ∞), (79, ∞)}]\n" + 14533 " ├─ colSet: (1-5)\n" + 14534 " ├─ tableId: 1\n" + 14535 " └─ Table\n" + 14536 " ├─ name: comp_index_t2\n" + 14537 " └─ columns: [pk v1 v2 v3 v4]\n" + 14538 "", 14539 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14540 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14541 " ├─ filters: [{[10, 10], [47, 47], [6, 21], (97, ∞)}, {(22, 76), [NULL, ∞), (NULL, 49), [2, 2]}, {[76, 76], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(76, ∞), [NULL, ∞), (NULL, 49), [2, 2]}, {[85, 85], [NULL, ∞), [NULL, ∞), (79, ∞)}]\n" + 14542 " └─ columns: [pk v1 v2 v3 v4]\n" + 14543 "", 14544 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14545 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14546 " ├─ filters: [{[10, 10], [47, 47], [6, 21], (97, ∞)}, {(22, 76), [NULL, ∞), (NULL, 49), [2, 2]}, {[76, 76], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(76, ∞), [NULL, ∞), (NULL, 49), [2, 2]}, {[85, 85], [NULL, ∞), [NULL, ∞), (79, ∞)}]\n" + 14547 " └─ columns: [pk v1 v2 v3 v4]\n" + 14548 "", 14549 }, 14550 { 14551 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>38 AND v2>98) OR (v1<>29 AND v2=75)) OR (v1>58 AND v2<>49 AND v3 BETWEEN 25 AND 58));`, 14552 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14553 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14554 " ├─ static: [{(NULL, 29), [75, 75], [NULL, ∞), [NULL, ∞)}, {(29, ∞), [75, 75], [NULL, ∞), [NULL, ∞)}, {(38, ∞), (98, ∞), [NULL, ∞), [NULL, ∞)}, {(58, ∞), (NULL, 49), [25, 58], [NULL, ∞)}, {(58, ∞), (49, 75), [25, 58], [NULL, ∞)}, {(58, ∞), (75, 98], [25, 58], [NULL, ∞)}]\n" + 14555 " ├─ colSet: (1-5)\n" + 14556 " ├─ tableId: 1\n" + 14557 " └─ Table\n" + 14558 " ├─ name: comp_index_t2\n" + 14559 " └─ columns: [pk v1 v2 v3 v4]\n" + 14560 "", 14561 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14562 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14563 " ├─ filters: [{(NULL, 29), [75, 75], [NULL, ∞), [NULL, ∞)}, {(29, ∞), [75, 75], [NULL, ∞), [NULL, ∞)}, {(38, ∞), (98, ∞), [NULL, ∞), [NULL, ∞)}, {(58, ∞), (NULL, 49), [25, 58], [NULL, ∞)}, {(58, ∞), (49, 75), [25, 58], [NULL, ∞)}, {(58, ∞), (75, 98], [25, 58], [NULL, ∞)}]\n" + 14564 " └─ columns: [pk v1 v2 v3 v4]\n" + 14565 "", 14566 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14567 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14568 " ├─ filters: [{(NULL, 29), [75, 75], [NULL, ∞), [NULL, ∞)}, {(29, ∞), [75, 75], [NULL, ∞), [NULL, ∞)}, {(38, ∞), (98, ∞), [NULL, ∞), [NULL, ∞)}, {(58, ∞), (NULL, 49), [25, 58], [NULL, ∞)}, {(58, ∞), (49, 75), [25, 58], [NULL, ∞)}, {(58, ∞), (75, 98], [25, 58], [NULL, ∞)}]\n" + 14569 " └─ columns: [pk v1 v2 v3 v4]\n" + 14570 "", 14571 }, 14572 { 14573 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>82 AND v4=74 AND v2=8 AND v3>=43) OR (v1=1 AND v2>=54 AND v3 BETWEEN 41 AND 91 AND v4>=0));`, 14574 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14575 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14576 " ├─ static: [{(NULL, 82), [8, 8], [43, ∞), [74, 74]}, {[1, 1], [54, ∞), [41, 91], [0, ∞)}, {(82, ∞), [8, 8], [43, ∞), [74, 74]}]\n" + 14577 " ├─ colSet: (1-5)\n" + 14578 " ├─ tableId: 1\n" + 14579 " └─ Table\n" + 14580 " ├─ name: comp_index_t2\n" + 14581 " └─ columns: [pk v1 v2 v3 v4]\n" + 14582 "", 14583 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14584 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14585 " ├─ filters: [{(NULL, 82), [8, 8], [43, ∞), [74, 74]}, {[1, 1], [54, ∞), [41, 91], [0, ∞)}, {(82, ∞), [8, 8], [43, ∞), [74, 74]}]\n" + 14586 " └─ columns: [pk v1 v2 v3 v4]\n" + 14587 "", 14588 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14589 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14590 " ├─ filters: [{(NULL, 82), [8, 8], [43, ∞), [74, 74]}, {[1, 1], [54, ∞), [41, 91], [0, ∞)}, {(82, ∞), [8, 8], [43, ∞), [74, 74]}]\n" + 14591 " └─ columns: [pk v1 v2 v3 v4]\n" + 14592 "", 14593 }, 14594 { 14595 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=26 AND v2<=94 AND v3<=76) OR (v1<34 AND v2 BETWEEN 5 AND 20));`, 14596 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14597 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14598 " ├─ static: [{(NULL, 34), [5, 20], [NULL, ∞), [NULL, ∞)}, {[26, 26], (NULL, 5), (NULL, 76], [NULL, ∞)}, {[26, 26], (20, 94], (NULL, 76], [NULL, ∞)}]\n" + 14599 " ├─ colSet: (1-5)\n" + 14600 " ├─ tableId: 1\n" + 14601 " └─ Table\n" + 14602 " ├─ name: comp_index_t2\n" + 14603 " └─ columns: [pk v1 v2 v3 v4]\n" + 14604 "", 14605 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14606 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14607 " ├─ filters: [{(NULL, 34), [5, 20], [NULL, ∞), [NULL, ∞)}, {[26, 26], (NULL, 5), (NULL, 76], [NULL, ∞)}, {[26, 26], (20, 94], (NULL, 76], [NULL, ∞)}]\n" + 14608 " └─ columns: [pk v1 v2 v3 v4]\n" + 14609 "", 14610 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14611 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14612 " ├─ filters: [{(NULL, 34), [5, 20], [NULL, ∞), [NULL, ∞)}, {[26, 26], (NULL, 5), (NULL, 76], [NULL, ∞)}, {[26, 26], (20, 94], (NULL, 76], [NULL, ∞)}]\n" + 14613 " └─ columns: [pk v1 v2 v3 v4]\n" + 14614 "", 14615 }, 14616 { 14617 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>74 AND v2<=3 AND v3>51 AND v4<1) OR (v1>=92 AND v2<=2));`, 14618 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14619 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14620 " ├─ static: [{(74, 92), (NULL, 3], (51, ∞), (NULL, 1)}, {[92, ∞), (NULL, 2], [NULL, ∞), [NULL, ∞)}, {[92, ∞), (2, 3], (51, ∞), (NULL, 1)}]\n" + 14621 " ├─ colSet: (1-5)\n" + 14622 " ├─ tableId: 1\n" + 14623 " └─ Table\n" + 14624 " ├─ name: comp_index_t2\n" + 14625 " └─ columns: [pk v1 v2 v3 v4]\n" + 14626 "", 14627 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14628 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14629 " ├─ filters: [{(74, 92), (NULL, 3], (51, ∞), (NULL, 1)}, {[92, ∞), (NULL, 2], [NULL, ∞), [NULL, ∞)}, {[92, ∞), (2, 3], (51, ∞), (NULL, 1)}]\n" + 14630 " └─ columns: [pk v1 v2 v3 v4]\n" + 14631 "", 14632 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14633 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14634 " ├─ filters: [{(74, 92), (NULL, 3], (51, ∞), (NULL, 1)}, {[92, ∞), (NULL, 2], [NULL, ∞), [NULL, ∞)}, {[92, ∞), (2, 3], (51, ∞), (NULL, 1)}]\n" + 14635 " └─ columns: [pk v1 v2 v3 v4]\n" + 14636 "", 14637 }, 14638 { 14639 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<=10 AND v2 BETWEEN 29 AND 83 AND v3<30 AND v4=54) OR (v1=68 AND v2=9 AND v3<=31)) AND (v1=87 AND v2>=91) OR (v1<=3 AND v2<>65 AND v3<8 AND v4<54)) OR (v1<7 AND v2>=4 AND v3<=47));`, 14640 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14641 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14642 " ├─ static: [{(NULL, 3], (NULL, 4), (NULL, 8), (NULL, 54)}, {(NULL, 7), [4, ∞), (NULL, 47], [NULL, ∞)}]\n" + 14643 " ├─ colSet: (1-5)\n" + 14644 " ├─ tableId: 1\n" + 14645 " └─ Table\n" + 14646 " ├─ name: comp_index_t2\n" + 14647 " └─ columns: [pk v1 v2 v3 v4]\n" + 14648 "", 14649 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14650 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14651 " ├─ filters: [{(NULL, 3], (NULL, 4), (NULL, 8), (NULL, 54)}, {(NULL, 7), [4, ∞), (NULL, 47], [NULL, ∞)}]\n" + 14652 " └─ columns: [pk v1 v2 v3 v4]\n" + 14653 "", 14654 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14655 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14656 " ├─ filters: [{(NULL, 3], (NULL, 4), (NULL, 8), (NULL, 54)}, {(NULL, 7), [4, ∞), (NULL, 47], [NULL, ∞)}]\n" + 14657 " └─ columns: [pk v1 v2 v3 v4]\n" + 14658 "", 14659 }, 14660 { 14661 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<35) OR (v1>=5 AND v2>=10 AND v3=65));`, 14662 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14663 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14664 " ├─ static: [{(NULL, 35), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[35, ∞), [10, ∞), [65, 65], [NULL, ∞)}]\n" + 14665 " ├─ colSet: (1-5)\n" + 14666 " ├─ tableId: 1\n" + 14667 " └─ Table\n" + 14668 " ├─ name: comp_index_t2\n" + 14669 " └─ columns: [pk v1 v2 v3 v4]\n" + 14670 "", 14671 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14672 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14673 " ├─ filters: [{(NULL, 35), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[35, ∞), [10, ∞), [65, 65], [NULL, ∞)}]\n" + 14674 " └─ columns: [pk v1 v2 v3 v4]\n" + 14675 "", 14676 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14677 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14678 " ├─ filters: [{(NULL, 35), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[35, ∞), [10, ∞), [65, 65], [NULL, ∞)}]\n" + 14679 " └─ columns: [pk v1 v2 v3 v4]\n" + 14680 "", 14681 }, 14682 { 14683 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>31 AND v2<=37 AND v3>56 AND v4 BETWEEN 10 AND 31) OR (v1>8)) AND (v1>=27 AND v2<>44);`, 14684 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14685 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14686 " ├─ static: [{[27, ∞), (NULL, 44), [NULL, ∞), [NULL, ∞)}, {[27, ∞), (44, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14687 " ├─ colSet: (1-5)\n" + 14688 " ├─ tableId: 1\n" + 14689 " └─ Table\n" + 14690 " ├─ name: comp_index_t2\n" + 14691 " └─ columns: [pk v1 v2 v3 v4]\n" + 14692 "", 14693 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14694 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14695 " ├─ filters: [{[27, ∞), (NULL, 44), [NULL, ∞), [NULL, ∞)}, {[27, ∞), (44, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14696 " └─ columns: [pk v1 v2 v3 v4]\n" + 14697 "", 14698 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14699 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14700 " ├─ filters: [{[27, ∞), (NULL, 44), [NULL, ∞), [NULL, ∞)}, {[27, ∞), (44, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14701 " └─ columns: [pk v1 v2 v3 v4]\n" + 14702 "", 14703 }, 14704 { 14705 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>52) OR (v1<21 AND v2<61 AND v3=13)) OR (v1=89 AND v3>33));`, 14706 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14707 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14708 " ├─ static: [{(NULL, 21), (NULL, 61), [13, 13], [NULL, ∞)}, {(52, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14709 " ├─ colSet: (1-5)\n" + 14710 " ├─ tableId: 1\n" + 14711 " └─ Table\n" + 14712 " ├─ name: comp_index_t2\n" + 14713 " └─ columns: [pk v1 v2 v3 v4]\n" + 14714 "", 14715 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14716 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14717 " ├─ filters: [{(NULL, 21), (NULL, 61), [13, 13], [NULL, ∞)}, {(52, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14718 " └─ columns: [pk v1 v2 v3 v4]\n" + 14719 "", 14720 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14721 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14722 " ├─ filters: [{(NULL, 21), (NULL, 61), [13, 13], [NULL, ∞)}, {(52, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14723 " └─ columns: [pk v1 v2 v3 v4]\n" + 14724 "", 14725 }, 14726 { 14727 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<30 AND v4>11 AND v2<=11) OR (v1<>19 AND v2<>47 AND v3 BETWEEN 38 AND 77 AND v4>31)) OR (v1 BETWEEN 0 AND 27 AND v2 BETWEEN 33 AND 34)) OR (v1<32)) AND (v1<9 AND v3=54 AND v4<>31 AND v2<>95);`, 14728 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14729 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14730 " ├─ static: [{(NULL, 9), (NULL, 95), [54, 54], (NULL, 31)}, {(NULL, 9), (NULL, 95), [54, 54], (31, ∞)}, {(NULL, 9), (95, ∞), [54, 54], (NULL, 31)}, {(NULL, 9), (95, ∞), [54, 54], (31, ∞)}]\n" + 14731 " ├─ colSet: (1-5)\n" + 14732 " ├─ tableId: 1\n" + 14733 " └─ Table\n" + 14734 " ├─ name: comp_index_t2\n" + 14735 " └─ columns: [pk v1 v2 v3 v4]\n" + 14736 "", 14737 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14738 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14739 " ├─ filters: [{(NULL, 9), (NULL, 95), [54, 54], (NULL, 31)}, {(NULL, 9), (NULL, 95), [54, 54], (31, ∞)}, {(NULL, 9), (95, ∞), [54, 54], (NULL, 31)}, {(NULL, 9), (95, ∞), [54, 54], (31, ∞)}]\n" + 14740 " └─ columns: [pk v1 v2 v3 v4]\n" + 14741 "", 14742 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14743 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14744 " ├─ filters: [{(NULL, 9), (NULL, 95), [54, 54], (NULL, 31)}, {(NULL, 9), (NULL, 95), [54, 54], (31, ∞)}, {(NULL, 9), (95, ∞), [54, 54], (NULL, 31)}, {(NULL, 9), (95, ∞), [54, 54], (31, ∞)}]\n" + 14745 " └─ columns: [pk v1 v2 v3 v4]\n" + 14746 "", 14747 }, 14748 { 14749 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=48) OR (v1 BETWEEN 2 AND 81));`, 14750 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14751 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14752 " ├─ static: [{(NULL, 81], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14753 " ├─ colSet: (1-5)\n" + 14754 " ├─ tableId: 1\n" + 14755 " └─ Table\n" + 14756 " ├─ name: comp_index_t2\n" + 14757 " └─ columns: [pk v1 v2 v3 v4]\n" + 14758 "", 14759 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14760 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14761 " ├─ filters: [{(NULL, 81], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14762 " └─ columns: [pk v1 v2 v3 v4]\n" + 14763 "", 14764 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14765 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14766 " ├─ filters: [{(NULL, 81], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14767 " └─ columns: [pk v1 v2 v3 v4]\n" + 14768 "", 14769 }, 14770 { 14771 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<>36) OR (v1<>70 AND v2 BETWEEN 23 AND 39)) OR (v1>51 AND v2>=57)) OR (v1<50 AND v2<=3 AND v3 BETWEEN 1 AND 74));`, 14772 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14773 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14774 " ├─ static: [{(NULL, 36), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[36, 36], (NULL, 3], [1, 74], [NULL, ∞)}, {[36, 36], [23, 39], [NULL, ∞), [NULL, ∞)}, {(36, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14775 " ├─ colSet: (1-5)\n" + 14776 " ├─ tableId: 1\n" + 14777 " └─ Table\n" + 14778 " ├─ name: comp_index_t2\n" + 14779 " └─ columns: [pk v1 v2 v3 v4]\n" + 14780 "", 14781 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14782 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14783 " ├─ filters: [{(NULL, 36), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[36, 36], (NULL, 3], [1, 74], [NULL, ∞)}, {[36, 36], [23, 39], [NULL, ∞), [NULL, ∞)}, {(36, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14784 " └─ columns: [pk v1 v2 v3 v4]\n" + 14785 "", 14786 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14787 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14788 " ├─ filters: [{(NULL, 36), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[36, 36], (NULL, 3], [1, 74], [NULL, ∞)}, {[36, 36], [23, 39], [NULL, ∞), [NULL, ∞)}, {(36, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14789 " └─ columns: [pk v1 v2 v3 v4]\n" + 14790 "", 14791 }, 14792 { 14793 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1>30) OR (v1>98 AND v4>43 AND v2<>80)) OR (v1 BETWEEN 2 AND 23 AND v2>=34)) OR (v1>=42));`, 14794 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14795 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14796 " ├─ static: [{[2, 23], [34, ∞), [NULL, ∞), [NULL, ∞)}, {(30, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14797 " ├─ colSet: (1-5)\n" + 14798 " ├─ tableId: 1\n" + 14799 " └─ Table\n" + 14800 " ├─ name: comp_index_t2\n" + 14801 " └─ columns: [pk v1 v2 v3 v4]\n" + 14802 "", 14803 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14804 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14805 " ├─ filters: [{[2, 23], [34, ∞), [NULL, ∞), [NULL, ∞)}, {(30, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14806 " └─ columns: [pk v1 v2 v3 v4]\n" + 14807 "", 14808 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14809 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14810 " ├─ filters: [{[2, 23], [34, ∞), [NULL, ∞), [NULL, ∞)}, {(30, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14811 " └─ columns: [pk v1 v2 v3 v4]\n" + 14812 "", 14813 }, 14814 { 14815 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<68 AND v2<81 AND v3<34 AND v4<>33) OR (v1<=78 AND v4 BETWEEN 34 AND 99 AND v2>=79 AND v3>=9)) OR (v1=27 AND v4 BETWEEN 20 AND 41 AND v2<98 AND v3>=15));`, 14816 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14817 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14818 " ├─ static: [{(NULL, 27), (NULL, 81), (NULL, 34), (NULL, 33)}, {(NULL, 27), (NULL, 81), (NULL, 34), (33, ∞)}, {(NULL, 27), [79, 81), [34, ∞), [34, 99]}, {(NULL, 27), [81, ∞), [9, ∞), [34, 99]}, {[27, 27], (NULL, 79), [34, ∞), [20, 41]}, {[27, 27], (NULL, 81), (NULL, 15), (NULL, 33)}, {[27, 27], (NULL, 81), (NULL, 15), (33, ∞)}, {[27, 27], (NULL, 81), [15, 34), (NULL, ∞)}, {[27, 27], [79, 81), [34, ∞), [20, 99]}, {[27, 27], [81, 98), [9, 15), [34, 99]}, {[27, 27], [81, 98), [15, ∞), [20, 99]}, {[27, 27], [98, ∞), [9, ∞), [34, 99]}, {(27, 68), (NULL, 81), (NULL, 34), (NULL, 33)}, {(27, 68), (NULL, 81), (NULL, 34), (33, ∞)}, {(27, 68), [79, 81), [34, ∞), [34, 99]}, {(27, 68), [81, ∞), [9, ∞), [34, 99]}, {[68, 78], [79, ∞), [9, ∞), [34, 99]}]\n" + 14819 " ├─ colSet: (1-5)\n" + 14820 " ├─ tableId: 1\n" + 14821 " └─ Table\n" + 14822 " ├─ name: comp_index_t2\n" + 14823 " └─ columns: [pk v1 v2 v3 v4]\n" + 14824 "", 14825 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14826 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14827 " ├─ filters: [{(NULL, 27), (NULL, 81), (NULL, 34), (NULL, 33)}, {(NULL, 27), (NULL, 81), (NULL, 34), (33, ∞)}, {(NULL, 27), [79, 81), [34, ∞), [34, 99]}, {(NULL, 27), [81, ∞), [9, ∞), [34, 99]}, {[27, 27], (NULL, 79), [34, ∞), [20, 41]}, {[27, 27], (NULL, 81), (NULL, 15), (NULL, 33)}, {[27, 27], (NULL, 81), (NULL, 15), (33, ∞)}, {[27, 27], (NULL, 81), [15, 34), (NULL, ∞)}, {[27, 27], [79, 81), [34, ∞), [20, 99]}, {[27, 27], [81, 98), [9, 15), [34, 99]}, {[27, 27], [81, 98), [15, ∞), [20, 99]}, {[27, 27], [98, ∞), [9, ∞), [34, 99]}, {(27, 68), (NULL, 81), (NULL, 34), (NULL, 33)}, {(27, 68), (NULL, 81), (NULL, 34), (33, ∞)}, {(27, 68), [79, 81), [34, ∞), [34, 99]}, {(27, 68), [81, ∞), [9, ∞), [34, 99]}, {[68, 78], [79, ∞), [9, ∞), [34, 99]}]\n" + 14828 " └─ columns: [pk v1 v2 v3 v4]\n" + 14829 "", 14830 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14831 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14832 " ├─ filters: [{(NULL, 27), (NULL, 81), (NULL, 34), (NULL, 33)}, {(NULL, 27), (NULL, 81), (NULL, 34), (33, ∞)}, {(NULL, 27), [79, 81), [34, ∞), [34, 99]}, {(NULL, 27), [81, ∞), [9, ∞), [34, 99]}, {[27, 27], (NULL, 79), [34, ∞), [20, 41]}, {[27, 27], (NULL, 81), (NULL, 15), (NULL, 33)}, {[27, 27], (NULL, 81), (NULL, 15), (33, ∞)}, {[27, 27], (NULL, 81), [15, 34), (NULL, ∞)}, {[27, 27], [79, 81), [34, ∞), [20, 99]}, {[27, 27], [81, 98), [9, 15), [34, 99]}, {[27, 27], [81, 98), [15, ∞), [20, 99]}, {[27, 27], [98, ∞), [9, ∞), [34, 99]}, {(27, 68), (NULL, 81), (NULL, 34), (NULL, 33)}, {(27, 68), (NULL, 81), (NULL, 34), (33, ∞)}, {(27, 68), [79, 81), [34, ∞), [34, 99]}, {(27, 68), [81, ∞), [9, ∞), [34, 99]}, {[68, 78], [79, ∞), [9, ∞), [34, 99]}]\n" + 14833 " └─ columns: [pk v1 v2 v3 v4]\n" + 14834 "", 14835 }, 14836 { 14837 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<23 AND v2<=45 AND v3<0) OR (v1>=31)) OR (v1>=50));`, 14838 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14839 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14840 " ├─ static: [{(NULL, 23), (NULL, 45], (NULL, 0), [NULL, ∞)}, {[31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14841 " ├─ colSet: (1-5)\n" + 14842 " ├─ tableId: 1\n" + 14843 " └─ Table\n" + 14844 " ├─ name: comp_index_t2\n" + 14845 " └─ columns: [pk v1 v2 v3 v4]\n" + 14846 "", 14847 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14848 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14849 " ├─ filters: [{(NULL, 23), (NULL, 45], (NULL, 0), [NULL, ∞)}, {[31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14850 " └─ columns: [pk v1 v2 v3 v4]\n" + 14851 "", 14852 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14853 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14854 " ├─ filters: [{(NULL, 23), (NULL, 45], (NULL, 0), [NULL, ∞)}, {[31, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14855 " └─ columns: [pk v1 v2 v3 v4]\n" + 14856 "", 14857 }, 14858 { 14859 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<16) OR (v1>=19 AND v2<25 AND v3>77));`, 14860 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14861 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14862 " ├─ static: [{(NULL, 16), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[19, ∞), (NULL, 25), (77, ∞), [NULL, ∞)}]\n" + 14863 " ├─ colSet: (1-5)\n" + 14864 " ├─ tableId: 1\n" + 14865 " └─ Table\n" + 14866 " ├─ name: comp_index_t2\n" + 14867 " └─ columns: [pk v1 v2 v3 v4]\n" + 14868 "", 14869 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14870 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14871 " ├─ filters: [{(NULL, 16), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[19, ∞), (NULL, 25), (77, ∞), [NULL, ∞)}]\n" + 14872 " └─ columns: [pk v1 v2 v3 v4]\n" + 14873 "", 14874 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14875 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14876 " ├─ filters: [{(NULL, 16), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[19, ∞), (NULL, 25), (77, ∞), [NULL, ∞)}]\n" + 14877 " └─ columns: [pk v1 v2 v3 v4]\n" + 14878 "", 14879 }, 14880 { 14881 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<29 AND v2 BETWEEN 81 AND 92) OR (v1>20 AND v2>=53 AND v3 BETWEEN 20 AND 68));`, 14882 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14883 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14884 " ├─ static: [{(NULL, 29), [81, 92], [NULL, ∞), [NULL, ∞)}, {(20, 29), [53, 81), [20, 68], [NULL, ∞)}, {(20, 29), (92, ∞), [20, 68], [NULL, ∞)}, {[29, ∞), [53, ∞), [20, 68], [NULL, ∞)}]\n" + 14885 " ├─ colSet: (1-5)\n" + 14886 " ├─ tableId: 1\n" + 14887 " └─ Table\n" + 14888 " ├─ name: comp_index_t2\n" + 14889 " └─ columns: [pk v1 v2 v3 v4]\n" + 14890 "", 14891 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14892 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14893 " ├─ filters: [{(NULL, 29), [81, 92], [NULL, ∞), [NULL, ∞)}, {(20, 29), [53, 81), [20, 68], [NULL, ∞)}, {(20, 29), (92, ∞), [20, 68], [NULL, ∞)}, {[29, ∞), [53, ∞), [20, 68], [NULL, ∞)}]\n" + 14894 " └─ columns: [pk v1 v2 v3 v4]\n" + 14895 "", 14896 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14897 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14898 " ├─ filters: [{(NULL, 29), [81, 92], [NULL, ∞), [NULL, ∞)}, {(20, 29), [53, 81), [20, 68], [NULL, ∞)}, {(20, 29), (92, ∞), [20, 68], [NULL, ∞)}, {[29, ∞), [53, ∞), [20, 68], [NULL, ∞)}]\n" + 14899 " └─ columns: [pk v1 v2 v3 v4]\n" + 14900 "", 14901 }, 14902 { 14903 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 25 AND 59 AND v2=1 AND v3<93 AND v4<=16) OR (v1<40 AND v2 BETWEEN 14 AND 37 AND v3>62 AND v4<58)) OR (v1<>17 AND v2<>36)) OR (v1 BETWEEN 7 AND 99 AND v2<>6 AND v3=43 AND v4<89));`, 14904 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14905 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14906 " ├─ static: [{(NULL, 17), (NULL, 36), [NULL, ∞), [NULL, ∞)}, {(NULL, 17), [36, 36], (62, ∞), (NULL, 58)}, {(NULL, 17), (36, ∞), [NULL, ∞), [NULL, ∞)}, {[7, 17), [36, 36], [43, 43], (NULL, 89)}, {[17, 17], (NULL, 6), [43, 43], (NULL, 89)}, {[17, 17], (6, ∞), [43, 43], (NULL, 89)}, {[17, 17], [14, 37], (62, ∞), (NULL, 58)}, {(17, 40), [36, 36], (62, ∞), (NULL, 58)}, {(17, 99], [36, 36], [43, 43], (NULL, 89)}, {(17, ∞), (NULL, 36), [NULL, ∞), [NULL, ∞)}, {(17, ∞), (36, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14907 " ├─ colSet: (1-5)\n" + 14908 " ├─ tableId: 1\n" + 14909 " └─ Table\n" + 14910 " ├─ name: comp_index_t2\n" + 14911 " └─ columns: [pk v1 v2 v3 v4]\n" + 14912 "", 14913 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14914 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14915 " ├─ filters: [{(NULL, 17), (NULL, 36), [NULL, ∞), [NULL, ∞)}, {(NULL, 17), [36, 36], (62, ∞), (NULL, 58)}, {(NULL, 17), (36, ∞), [NULL, ∞), [NULL, ∞)}, {[7, 17), [36, 36], [43, 43], (NULL, 89)}, {[17, 17], (NULL, 6), [43, 43], (NULL, 89)}, {[17, 17], (6, ∞), [43, 43], (NULL, 89)}, {[17, 17], [14, 37], (62, ∞), (NULL, 58)}, {(17, 40), [36, 36], (62, ∞), (NULL, 58)}, {(17, 99], [36, 36], [43, 43], (NULL, 89)}, {(17, ∞), (NULL, 36), [NULL, ∞), [NULL, ∞)}, {(17, ∞), (36, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14916 " └─ columns: [pk v1 v2 v3 v4]\n" + 14917 "", 14918 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14919 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14920 " ├─ filters: [{(NULL, 17), (NULL, 36), [NULL, ∞), [NULL, ∞)}, {(NULL, 17), [36, 36], (62, ∞), (NULL, 58)}, {(NULL, 17), (36, ∞), [NULL, ∞), [NULL, ∞)}, {[7, 17), [36, 36], [43, 43], (NULL, 89)}, {[17, 17], (NULL, 6), [43, 43], (NULL, 89)}, {[17, 17], (6, ∞), [43, 43], (NULL, 89)}, {[17, 17], [14, 37], (62, ∞), (NULL, 58)}, {(17, 40), [36, 36], (62, ∞), (NULL, 58)}, {(17, 99], [36, 36], [43, 43], (NULL, 89)}, {(17, ∞), (NULL, 36), [NULL, ∞), [NULL, ∞)}, {(17, ∞), (36, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14921 " └─ columns: [pk v1 v2 v3 v4]\n" + 14922 "", 14923 }, 14924 { 14925 Query: `SELECT * FROM comp_index_t2 WHERE (v1=46) AND (v1>=93 AND v3<>51 AND v4=93 AND v2=8);`, 14926 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14927 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14928 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14929 " ├─ colSet: (1-5)\n" + 14930 " ├─ tableId: 1\n" + 14931 " └─ Table\n" + 14932 " ├─ name: comp_index_t2\n" + 14933 " └─ columns: [pk v1 v2 v3 v4]\n" + 14934 "", 14935 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14936 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14937 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14938 " └─ columns: [pk v1 v2 v3 v4]\n" + 14939 "", 14940 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14941 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14942 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 14943 " └─ columns: [pk v1 v2 v3 v4]\n" + 14944 "", 14945 }, 14946 { 14947 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<=5 AND v2>=14 AND v3<=2) OR (v1<53 AND v4=99 AND v2=72)) OR (v1<>49 AND v2<>39 AND v3>=70 AND v4<>24)) OR (v1<79));`, 14948 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14949 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14950 " ├─ static: [{(NULL, 79), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[79, ∞), (NULL, 39), [70, ∞), (NULL, 24)}, {[79, ∞), (NULL, 39), [70, ∞), (24, ∞)}, {[79, ∞), (39, ∞), [70, ∞), (NULL, 24)}, {[79, ∞), (39, ∞), [70, ∞), (24, ∞)}]\n" + 14951 " ├─ colSet: (1-5)\n" + 14952 " ├─ tableId: 1\n" + 14953 " └─ Table\n" + 14954 " ├─ name: comp_index_t2\n" + 14955 " └─ columns: [pk v1 v2 v3 v4]\n" + 14956 "", 14957 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14958 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14959 " ├─ filters: [{(NULL, 79), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[79, ∞), (NULL, 39), [70, ∞), (NULL, 24)}, {[79, ∞), (NULL, 39), [70, ∞), (24, ∞)}, {[79, ∞), (39, ∞), [70, ∞), (NULL, 24)}, {[79, ∞), (39, ∞), [70, ∞), (24, ∞)}]\n" + 14960 " └─ columns: [pk v1 v2 v3 v4]\n" + 14961 "", 14962 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14963 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14964 " ├─ filters: [{(NULL, 79), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[79, ∞), (NULL, 39), [70, ∞), (NULL, 24)}, {[79, ∞), (NULL, 39), [70, ∞), (24, ∞)}, {[79, ∞), (39, ∞), [70, ∞), (NULL, 24)}, {[79, ∞), (39, ∞), [70, ∞), (24, ∞)}]\n" + 14965 " └─ columns: [pk v1 v2 v3 v4]\n" + 14966 "", 14967 }, 14968 { 14969 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1<99 AND v2<=42) OR (v1=47 AND v4 BETWEEN 33 AND 63 AND v2>=10 AND v3<=57)) OR (v1>44)) OR (v1<>87 AND v2>42 AND v3<69));`, 14970 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14971 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14972 " ├─ static: [{(NULL, 44], (NULL, 42], [NULL, ∞), [NULL, ∞)}, {(NULL, 44], (42, ∞), (NULL, 69), [NULL, ∞)}, {(44, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14973 " ├─ colSet: (1-5)\n" + 14974 " ├─ tableId: 1\n" + 14975 " └─ Table\n" + 14976 " ├─ name: comp_index_t2\n" + 14977 " └─ columns: [pk v1 v2 v3 v4]\n" + 14978 "", 14979 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 14980 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14981 " ├─ filters: [{(NULL, 44], (NULL, 42], [NULL, ∞), [NULL, ∞)}, {(NULL, 44], (42, ∞), (NULL, 69), [NULL, ∞)}, {(44, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14982 " └─ columns: [pk v1 v2 v3 v4]\n" + 14983 "", 14984 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 14985 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14986 " ├─ filters: [{(NULL, 44], (NULL, 42], [NULL, ∞), [NULL, ∞)}, {(NULL, 44], (42, ∞), (NULL, 69), [NULL, ∞)}, {(44, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 14987 " └─ columns: [pk v1 v2 v3 v4]\n" + 14988 "", 14989 }, 14990 { 14991 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=29 AND v2 BETWEEN 50 AND 86 AND v3<=6 AND v4 BETWEEN 8 AND 48) OR (v1>86 AND v2 BETWEEN 62 AND 70 AND v3=33));`, 14992 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 14993 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 14994 " ├─ static: [{(NULL, 29], [50, 86], (NULL, 6], [8, 48]}, {(86, ∞), [62, 70], [33, 33], [NULL, ∞)}]\n" + 14995 " ├─ colSet: (1-5)\n" + 14996 " ├─ tableId: 1\n" + 14997 " └─ Table\n" + 14998 " ├─ name: comp_index_t2\n" + 14999 " └─ columns: [pk v1 v2 v3 v4]\n" + 15000 "", 15001 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15002 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15003 " ├─ filters: [{(NULL, 29], [50, 86], (NULL, 6], [8, 48]}, {(86, ∞), [62, 70], [33, 33], [NULL, ∞)}]\n" + 15004 " └─ columns: [pk v1 v2 v3 v4]\n" + 15005 "", 15006 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15007 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15008 " ├─ filters: [{(NULL, 29], [50, 86], (NULL, 6], [8, 48]}, {(86, ∞), [62, 70], [33, 33], [NULL, ∞)}]\n" + 15009 " └─ columns: [pk v1 v2 v3 v4]\n" + 15010 "", 15011 }, 15012 { 15013 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=15) OR (v1>=59 AND v2<18)) OR (v1 BETWEEN 23 AND 31 AND v3>50 AND v4 BETWEEN 15 AND 54));`, 15014 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15015 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15016 " ├─ static: [{[15, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15017 " ├─ colSet: (1-5)\n" + 15018 " ├─ tableId: 1\n" + 15019 " └─ Table\n" + 15020 " ├─ name: comp_index_t2\n" + 15021 " └─ columns: [pk v1 v2 v3 v4]\n" + 15022 "", 15023 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15024 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15025 " ├─ filters: [{[15, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15026 " └─ columns: [pk v1 v2 v3 v4]\n" + 15027 "", 15028 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15029 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15030 " ├─ filters: [{[15, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15031 " └─ columns: [pk v1 v2 v3 v4]\n" + 15032 "", 15033 }, 15034 { 15035 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=50 AND v2<=84 AND v3 BETWEEN 22 AND 26) OR (v1<=18 AND v2<49 AND v3>19 AND v4 BETWEEN 61 AND 75)) AND (v1>48 AND v2>=56 AND v3=6) OR (v1<=88 AND v2>=76 AND v3<40 AND v4<=18));`, 15036 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15037 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15038 " ├─ static: [{(NULL, 88], [76, ∞), (NULL, 40), (NULL, 18]}]\n" + 15039 " ├─ colSet: (1-5)\n" + 15040 " ├─ tableId: 1\n" + 15041 " └─ Table\n" + 15042 " ├─ name: comp_index_t2\n" + 15043 " └─ columns: [pk v1 v2 v3 v4]\n" + 15044 "", 15045 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15046 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15047 " ├─ filters: [{(NULL, 88], [76, ∞), (NULL, 40), (NULL, 18]}]\n" + 15048 " └─ columns: [pk v1 v2 v3 v4]\n" + 15049 "", 15050 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15051 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15052 " ├─ filters: [{(NULL, 88], [76, ∞), (NULL, 40), (NULL, 18]}]\n" + 15053 " └─ columns: [pk v1 v2 v3 v4]\n" + 15054 "", 15055 }, 15056 { 15057 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=27) OR (v1>=11 AND v2<97 AND v3<97 AND v4<44));`, 15058 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15059 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15060 " ├─ static: [{[11, 27), (NULL, 97), (NULL, 97), (NULL, 44)}, {[27, 27], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(27, ∞), (NULL, 97), (NULL, 97), (NULL, 44)}]\n" + 15061 " ├─ colSet: (1-5)\n" + 15062 " ├─ tableId: 1\n" + 15063 " └─ Table\n" + 15064 " ├─ name: comp_index_t2\n" + 15065 " └─ columns: [pk v1 v2 v3 v4]\n" + 15066 "", 15067 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15068 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15069 " ├─ filters: [{[11, 27), (NULL, 97), (NULL, 97), (NULL, 44)}, {[27, 27], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(27, ∞), (NULL, 97), (NULL, 97), (NULL, 44)}]\n" + 15070 " └─ columns: [pk v1 v2 v3 v4]\n" + 15071 "", 15072 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15073 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15074 " ├─ filters: [{[11, 27), (NULL, 97), (NULL, 97), (NULL, 44)}, {[27, 27], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(27, ∞), (NULL, 97), (NULL, 97), (NULL, 44)}]\n" + 15075 " └─ columns: [pk v1 v2 v3 v4]\n" + 15076 "", 15077 }, 15078 { 15079 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=89 AND v2<=93) OR (v1<=54));`, 15080 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15081 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15082 " ├─ static: [{(NULL, 54], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(54, 89], (NULL, 93], [NULL, ∞), [NULL, ∞)}]\n" + 15083 " ├─ colSet: (1-5)\n" + 15084 " ├─ tableId: 1\n" + 15085 " └─ Table\n" + 15086 " ├─ name: comp_index_t2\n" + 15087 " └─ columns: [pk v1 v2 v3 v4]\n" + 15088 "", 15089 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15090 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15091 " ├─ filters: [{(NULL, 54], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(54, 89], (NULL, 93], [NULL, ∞), [NULL, ∞)}]\n" + 15092 " └─ columns: [pk v1 v2 v3 v4]\n" + 15093 "", 15094 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15095 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15096 " ├─ filters: [{(NULL, 54], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(54, 89], (NULL, 93], [NULL, ∞), [NULL, ∞)}]\n" + 15097 " └─ columns: [pk v1 v2 v3 v4]\n" + 15098 "", 15099 }, 15100 { 15101 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=74 AND v2<=31) OR (v1<11)) OR (v1 BETWEEN 26 AND 38));`, 15102 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15103 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15104 " ├─ static: [{(NULL, 11), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[26, 38], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[74, 74], (NULL, 31], [NULL, ∞), [NULL, ∞)}]\n" + 15105 " ├─ colSet: (1-5)\n" + 15106 " ├─ tableId: 1\n" + 15107 " └─ Table\n" + 15108 " ├─ name: comp_index_t2\n" + 15109 " └─ columns: [pk v1 v2 v3 v4]\n" + 15110 "", 15111 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15112 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15113 " ├─ filters: [{(NULL, 11), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[26, 38], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[74, 74], (NULL, 31], [NULL, ∞), [NULL, ∞)}]\n" + 15114 " └─ columns: [pk v1 v2 v3 v4]\n" + 15115 "", 15116 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15117 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15118 " ├─ filters: [{(NULL, 11), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[26, 38], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[74, 74], (NULL, 31], [NULL, ∞), [NULL, ∞)}]\n" + 15119 " └─ columns: [pk v1 v2 v3 v4]\n" + 15120 "", 15121 }, 15122 { 15123 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=10 AND v2<12 AND v3=54 AND v4>89) OR (v1=99 AND v4=37));`, 15124 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15125 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15126 " ├─ static: [{[10, ∞), (NULL, 12), [54, 54], (89, ∞)}, {[99, 99], [NULL, ∞), [NULL, ∞), [37, 37]}]\n" + 15127 " ├─ colSet: (1-5)\n" + 15128 " ├─ tableId: 1\n" + 15129 " └─ Table\n" + 15130 " ├─ name: comp_index_t2\n" + 15131 " └─ columns: [pk v1 v2 v3 v4]\n" + 15132 "", 15133 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15134 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15135 " ├─ filters: [{[10, ∞), (NULL, 12), [54, 54], (89, ∞)}, {[99, 99], [NULL, ∞), [NULL, ∞), [37, 37]}]\n" + 15136 " └─ columns: [pk v1 v2 v3 v4]\n" + 15137 "", 15138 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15139 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15140 " ├─ filters: [{[10, ∞), (NULL, 12), [54, 54], (89, ∞)}, {[99, 99], [NULL, ∞), [NULL, ∞), [37, 37]}]\n" + 15141 " └─ columns: [pk v1 v2 v3 v4]\n" + 15142 "", 15143 }, 15144 { 15145 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=50 AND v2<50) OR (v1<19)) OR (v1=51));`, 15146 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15147 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15148 " ├─ static: [{(NULL, 19), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[19, 50], (NULL, 50), [NULL, ∞), [NULL, ∞)}, {[51, 51], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15149 " ├─ colSet: (1-5)\n" + 15150 " ├─ tableId: 1\n" + 15151 " └─ Table\n" + 15152 " ├─ name: comp_index_t2\n" + 15153 " └─ columns: [pk v1 v2 v3 v4]\n" + 15154 "", 15155 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15156 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15157 " ├─ filters: [{(NULL, 19), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[19, 50], (NULL, 50), [NULL, ∞), [NULL, ∞)}, {[51, 51], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15158 " └─ columns: [pk v1 v2 v3 v4]\n" + 15159 "", 15160 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15161 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15162 " ├─ filters: [{(NULL, 19), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[19, 50], (NULL, 50), [NULL, ∞), [NULL, ∞)}, {[51, 51], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15163 " └─ columns: [pk v1 v2 v3 v4]\n" + 15164 "", 15165 }, 15166 { 15167 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=62 AND v2<89) AND (v1<90 AND v2>=19) OR (v1<=1 AND v2>49));`, 15168 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15169 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15170 " ├─ static: [{(NULL, 1], (49, ∞), [NULL, ∞), [NULL, ∞)}, {[62, 62], [19, 89), [NULL, ∞), [NULL, ∞)}]\n" + 15171 " ├─ colSet: (1-5)\n" + 15172 " ├─ tableId: 1\n" + 15173 " └─ Table\n" + 15174 " ├─ name: comp_index_t2\n" + 15175 " └─ columns: [pk v1 v2 v3 v4]\n" + 15176 "", 15177 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15178 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15179 " ├─ filters: [{(NULL, 1], (49, ∞), [NULL, ∞), [NULL, ∞)}, {[62, 62], [19, 89), [NULL, ∞), [NULL, ∞)}]\n" + 15180 " └─ columns: [pk v1 v2 v3 v4]\n" + 15181 "", 15182 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15183 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15184 " ├─ filters: [{(NULL, 1], (49, ∞), [NULL, ∞), [NULL, ∞)}, {[62, 62], [19, 89), [NULL, ∞), [NULL, ∞)}]\n" + 15185 " └─ columns: [pk v1 v2 v3 v4]\n" + 15186 "", 15187 }, 15188 { 15189 Query: `SELECT * FROM comp_index_t2 WHERE (v1<=61 AND v2<=64) AND (v1>=0);`, 15190 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15191 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15192 " ├─ static: [{[0, 61], (NULL, 64], [NULL, ∞), [NULL, ∞)}]\n" + 15193 " ├─ colSet: (1-5)\n" + 15194 " ├─ tableId: 1\n" + 15195 " └─ Table\n" + 15196 " ├─ name: comp_index_t2\n" + 15197 " └─ columns: [pk v1 v2 v3 v4]\n" + 15198 "", 15199 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15200 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15201 " ├─ filters: [{[0, 61], (NULL, 64], [NULL, ∞), [NULL, ∞)}]\n" + 15202 " └─ columns: [pk v1 v2 v3 v4]\n" + 15203 "", 15204 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15205 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15206 " ├─ filters: [{[0, 61], (NULL, 64], [NULL, ∞), [NULL, ∞)}]\n" + 15207 " └─ columns: [pk v1 v2 v3 v4]\n" + 15208 "", 15209 }, 15210 { 15211 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 5 AND 69) OR (v1<52 AND v4<14 AND v2>=25 AND v3=63));`, 15212 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15213 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15214 " ├─ static: [{(NULL, 5), [25, ∞), [63, 63], (NULL, 14)}, {[5, 69], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15215 " ├─ colSet: (1-5)\n" + 15216 " ├─ tableId: 1\n" + 15217 " └─ Table\n" + 15218 " ├─ name: comp_index_t2\n" + 15219 " └─ columns: [pk v1 v2 v3 v4]\n" + 15220 "", 15221 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15222 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15223 " ├─ filters: [{(NULL, 5), [25, ∞), [63, 63], (NULL, 14)}, {[5, 69], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15224 " └─ columns: [pk v1 v2 v3 v4]\n" + 15225 "", 15226 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15227 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15228 " ├─ filters: [{(NULL, 5), [25, ∞), [63, 63], (NULL, 14)}, {[5, 69], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15229 " └─ columns: [pk v1 v2 v3 v4]\n" + 15230 "", 15231 }, 15232 { 15233 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=21 AND v2<>0 AND v3<49) OR (v1<=70 AND v2>16 AND v3<=89 AND v4>=27)) OR (v1>=14));`, 15234 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15235 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15236 " ├─ static: [{(NULL, 14), (16, ∞), (NULL, 89], [27, ∞)}, {[14, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15237 " ├─ colSet: (1-5)\n" + 15238 " ├─ tableId: 1\n" + 15239 " └─ Table\n" + 15240 " ├─ name: comp_index_t2\n" + 15241 " └─ columns: [pk v1 v2 v3 v4]\n" + 15242 "", 15243 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15244 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15245 " ├─ filters: [{(NULL, 14), (16, ∞), (NULL, 89], [27, ∞)}, {[14, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15246 " └─ columns: [pk v1 v2 v3 v4]\n" + 15247 "", 15248 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15249 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15250 " ├─ filters: [{(NULL, 14), (16, ∞), (NULL, 89], [27, ∞)}, {[14, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15251 " └─ columns: [pk v1 v2 v3 v4]\n" + 15252 "", 15253 }, 15254 { 15255 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>14) OR (v1>=82));`, 15256 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15257 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15258 " ├─ static: [{(14, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15259 " ├─ colSet: (1-5)\n" + 15260 " ├─ tableId: 1\n" + 15261 " └─ Table\n" + 15262 " ├─ name: comp_index_t2\n" + 15263 " └─ columns: [pk v1 v2 v3 v4]\n" + 15264 "", 15265 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15266 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15267 " ├─ filters: [{(14, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15268 " └─ columns: [pk v1 v2 v3 v4]\n" + 15269 "", 15270 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15271 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15272 " ├─ filters: [{(14, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15273 " └─ columns: [pk v1 v2 v3 v4]\n" + 15274 "", 15275 }, 15276 { 15277 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=19 AND v3<72 AND v4=23) OR (v1<=36 AND v2>99));`, 15278 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15279 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15280 " ├─ static: [{(NULL, 36], (99, ∞), [NULL, ∞), [NULL, ∞)}, {[19, 19], [NULL, 99], (NULL, 72), [23, 23]}]\n" + 15281 " ├─ colSet: (1-5)\n" + 15282 " ├─ tableId: 1\n" + 15283 " └─ Table\n" + 15284 " ├─ name: comp_index_t2\n" + 15285 " └─ columns: [pk v1 v2 v3 v4]\n" + 15286 "", 15287 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15288 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15289 " ├─ filters: [{(NULL, 36], (99, ∞), [NULL, ∞), [NULL, ∞)}, {[19, 19], [NULL, 99], (NULL, 72), [23, 23]}]\n" + 15290 " └─ columns: [pk v1 v2 v3 v4]\n" + 15291 "", 15292 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15293 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15294 " ├─ filters: [{(NULL, 36], (99, ∞), [NULL, ∞), [NULL, ∞)}, {[19, 19], [NULL, 99], (NULL, 72), [23, 23]}]\n" + 15295 " └─ columns: [pk v1 v2 v3 v4]\n" + 15296 "", 15297 }, 15298 { 15299 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>43) OR (v1>=41 AND v4=32 AND v2<=66)) AND (v1>43 AND v2 BETWEEN 83 AND 97);`, 15300 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15301 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15302 " ├─ static: [{(43, ∞), [83, 97], [NULL, ∞), [NULL, ∞)}]\n" + 15303 " ├─ colSet: (1-5)\n" + 15304 " ├─ tableId: 1\n" + 15305 " └─ Table\n" + 15306 " ├─ name: comp_index_t2\n" + 15307 " └─ columns: [pk v1 v2 v3 v4]\n" + 15308 "", 15309 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15310 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15311 " ├─ filters: [{(43, ∞), [83, 97], [NULL, ∞), [NULL, ∞)}]\n" + 15312 " └─ columns: [pk v1 v2 v3 v4]\n" + 15313 "", 15314 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15315 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15316 " ├─ filters: [{(43, ∞), [83, 97], [NULL, ∞), [NULL, ∞)}]\n" + 15317 " └─ columns: [pk v1 v2 v3 v4]\n" + 15318 "", 15319 }, 15320 { 15321 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=8 AND v4>=44) AND (v1=84 AND v2=41 AND v3 BETWEEN 5 AND 81) OR (v1<>31 AND v2<=96 AND v3<=20 AND v4<=14));`, 15322 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15323 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15324 " ├─ static: [{(NULL, 31), (NULL, 96], (NULL, 20], (NULL, 14]}, {(31, ∞), (NULL, 96], (NULL, 20], (NULL, 14]}]\n" + 15325 " ├─ colSet: (1-5)\n" + 15326 " ├─ tableId: 1\n" + 15327 " └─ Table\n" + 15328 " ├─ name: comp_index_t2\n" + 15329 " └─ columns: [pk v1 v2 v3 v4]\n" + 15330 "", 15331 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15332 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15333 " ├─ filters: [{(NULL, 31), (NULL, 96], (NULL, 20], (NULL, 14]}, {(31, ∞), (NULL, 96], (NULL, 20], (NULL, 14]}]\n" + 15334 " └─ columns: [pk v1 v2 v3 v4]\n" + 15335 "", 15336 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15337 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15338 " ├─ filters: [{(NULL, 31), (NULL, 96], (NULL, 20], (NULL, 14]}, {(31, ∞), (NULL, 96], (NULL, 20], (NULL, 14]}]\n" + 15339 " └─ columns: [pk v1 v2 v3 v4]\n" + 15340 "", 15341 }, 15342 { 15343 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 52 AND 55) OR (v1>1 AND v2>36 AND v3<=47)) OR (v1 BETWEEN 0 AND 38 AND v2<=49 AND v3>=8));`, 15344 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15345 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15346 " ├─ static: [{[0, 1], (NULL, 49], [8, ∞), [NULL, ∞)}, {(1, 38], (NULL, 36], [8, ∞), [NULL, ∞)}, {(1, 38], (36, 49], (NULL, ∞), [NULL, ∞)}, {(1, 38], (49, ∞), (NULL, 47], [NULL, ∞)}, {(38, 52), (36, ∞), (NULL, 47], [NULL, ∞)}, {[52, 55], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(55, ∞), (36, ∞), (NULL, 47], [NULL, ∞)}]\n" + 15347 " ├─ colSet: (1-5)\n" + 15348 " ├─ tableId: 1\n" + 15349 " └─ Table\n" + 15350 " ├─ name: comp_index_t2\n" + 15351 " └─ columns: [pk v1 v2 v3 v4]\n" + 15352 "", 15353 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15354 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15355 " ├─ filters: [{[0, 1], (NULL, 49], [8, ∞), [NULL, ∞)}, {(1, 38], (NULL, 36], [8, ∞), [NULL, ∞)}, {(1, 38], (36, 49], (NULL, ∞), [NULL, ∞)}, {(1, 38], (49, ∞), (NULL, 47], [NULL, ∞)}, {(38, 52), (36, ∞), (NULL, 47], [NULL, ∞)}, {[52, 55], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(55, ∞), (36, ∞), (NULL, 47], [NULL, ∞)}]\n" + 15356 " └─ columns: [pk v1 v2 v3 v4]\n" + 15357 "", 15358 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15359 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15360 " ├─ filters: [{[0, 1], (NULL, 49], [8, ∞), [NULL, ∞)}, {(1, 38], (NULL, 36], [8, ∞), [NULL, ∞)}, {(1, 38], (36, 49], (NULL, ∞), [NULL, ∞)}, {(1, 38], (49, ∞), (NULL, 47], [NULL, ∞)}, {(38, 52), (36, ∞), (NULL, 47], [NULL, ∞)}, {[52, 55], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(55, ∞), (36, ∞), (NULL, 47], [NULL, ∞)}]\n" + 15361 " └─ columns: [pk v1 v2 v3 v4]\n" + 15362 "", 15363 }, 15364 { 15365 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=11 AND v2>=41 AND v3=9) AND (v1<>41 AND v3<>69 AND v4<24) OR (v1>48 AND v4<79));`, 15366 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15367 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15368 " ├─ static: [{(NULL, 11], [41, ∞), [9, 9], (NULL, 24)}, {(48, ∞), [NULL, ∞), [NULL, ∞), (NULL, 79)}]\n" + 15369 " ├─ colSet: (1-5)\n" + 15370 " ├─ tableId: 1\n" + 15371 " └─ Table\n" + 15372 " ├─ name: comp_index_t2\n" + 15373 " └─ columns: [pk v1 v2 v3 v4]\n" + 15374 "", 15375 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15376 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15377 " ├─ filters: [{(NULL, 11], [41, ∞), [9, 9], (NULL, 24)}, {(48, ∞), [NULL, ∞), [NULL, ∞), (NULL, 79)}]\n" + 15378 " └─ columns: [pk v1 v2 v3 v4]\n" + 15379 "", 15380 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15381 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15382 " ├─ filters: [{(NULL, 11], [41, ∞), [9, 9], (NULL, 24)}, {(48, ∞), [NULL, ∞), [NULL, ∞), (NULL, 79)}]\n" + 15383 " └─ columns: [pk v1 v2 v3 v4]\n" + 15384 "", 15385 }, 15386 { 15387 Query: `SELECT * FROM comp_index_t2 WHERE (v1=23 AND v4>=52 AND v2>=61) AND (v1<>85 AND v3>2 AND v4<15);`, 15388 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15389 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15390 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 15391 " ├─ colSet: (1-5)\n" + 15392 " ├─ tableId: 1\n" + 15393 " └─ Table\n" + 15394 " ├─ name: comp_index_t2\n" + 15395 " └─ columns: [pk v1 v2 v3 v4]\n" + 15396 "", 15397 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15398 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15399 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 15400 " └─ columns: [pk v1 v2 v3 v4]\n" + 15401 "", 15402 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15403 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15404 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 15405 " └─ columns: [pk v1 v2 v3 v4]\n" + 15406 "", 15407 }, 15408 { 15409 Query: `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 32 AND 51 AND v4 BETWEEN 5 AND 14 AND v2=46 AND v3>=31) OR (v1>=32 AND v2<=26 AND v3>52 AND v4>55));`, 15410 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15411 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15412 " ├─ static: [{[32, 51], [46, 46], [31, ∞), [5, 14]}, {[32, ∞), (NULL, 26], (52, ∞), (55, ∞)}]\n" + 15413 " ├─ colSet: (1-5)\n" + 15414 " ├─ tableId: 1\n" + 15415 " └─ Table\n" + 15416 " ├─ name: comp_index_t2\n" + 15417 " └─ columns: [pk v1 v2 v3 v4]\n" + 15418 "", 15419 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15420 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15421 " ├─ filters: [{[32, 51], [46, 46], [31, ∞), [5, 14]}, {[32, ∞), (NULL, 26], (52, ∞), (55, ∞)}]\n" + 15422 " └─ columns: [pk v1 v2 v3 v4]\n" + 15423 "", 15424 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15425 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15426 " ├─ filters: [{[32, 51], [46, 46], [31, ∞), [5, 14]}, {[32, ∞), (NULL, 26], (52, ∞), (55, ∞)}]\n" + 15427 " └─ columns: [pk v1 v2 v3 v4]\n" + 15428 "", 15429 }, 15430 { 15431 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=16 AND v2<59 AND v3<=43) OR (v1=17 AND v2<=4 AND v3>71));`, 15432 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15433 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15434 " ├─ static: [{[16, ∞), (NULL, 59), (NULL, 43], [NULL, ∞)}, {[17, 17], (NULL, 4], (71, ∞), [NULL, ∞)}]\n" + 15435 " ├─ colSet: (1-5)\n" + 15436 " ├─ tableId: 1\n" + 15437 " └─ Table\n" + 15438 " ├─ name: comp_index_t2\n" + 15439 " └─ columns: [pk v1 v2 v3 v4]\n" + 15440 "", 15441 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15442 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15443 " ├─ filters: [{[16, ∞), (NULL, 59), (NULL, 43], [NULL, ∞)}, {[17, 17], (NULL, 4], (71, ∞), [NULL, ∞)}]\n" + 15444 " └─ columns: [pk v1 v2 v3 v4]\n" + 15445 "", 15446 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15447 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15448 " ├─ filters: [{[16, ∞), (NULL, 59), (NULL, 43], [NULL, ∞)}, {[17, 17], (NULL, 4], (71, ∞), [NULL, ∞)}]\n" + 15449 " └─ columns: [pk v1 v2 v3 v4]\n" + 15450 "", 15451 }, 15452 { 15453 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1=42 AND v4=47) OR (v1>=28)) AND (v1<>10) OR (v1 BETWEEN 20 AND 60 AND v2>96 AND v3<>28)) OR (v1=99 AND v2<=62 AND v3=30 AND v4 BETWEEN 92 AND 93));`, 15454 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15455 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15456 " ├─ static: [{[20, 28), (96, ∞), (NULL, 28), [NULL, ∞)}, {[20, 28), (96, ∞), (28, ∞), [NULL, ∞)}, {[28, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15457 " ├─ colSet: (1-5)\n" + 15458 " ├─ tableId: 1\n" + 15459 " └─ Table\n" + 15460 " ├─ name: comp_index_t2\n" + 15461 " └─ columns: [pk v1 v2 v3 v4]\n" + 15462 "", 15463 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15464 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15465 " ├─ filters: [{[20, 28), (96, ∞), (NULL, 28), [NULL, ∞)}, {[20, 28), (96, ∞), (28, ∞), [NULL, ∞)}, {[28, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15466 " └─ columns: [pk v1 v2 v3 v4]\n" + 15467 "", 15468 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15469 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15470 " ├─ filters: [{[20, 28), (96, ∞), (NULL, 28), [NULL, ∞)}, {[20, 28), (96, ∞), (28, ∞), [NULL, ∞)}, {[28, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15471 " └─ columns: [pk v1 v2 v3 v4]\n" + 15472 "", 15473 }, 15474 { 15475 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=50 AND v3=4 AND v4=53 AND v2>=80) OR (v1<54 AND v4<=76 AND v2>48)) OR (v1>=38 AND v4<76 AND v2=56));`, 15476 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15477 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15478 " ├─ static: [{(NULL, 54), (48, ∞), [NULL, ∞), (NULL, 76]}, {[54, ∞), [56, 56], [NULL, ∞), (NULL, 76)}]\n" + 15479 " ├─ colSet: (1-5)\n" + 15480 " ├─ tableId: 1\n" + 15481 " └─ Table\n" + 15482 " ├─ name: comp_index_t2\n" + 15483 " └─ columns: [pk v1 v2 v3 v4]\n" + 15484 "", 15485 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15486 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15487 " ├─ filters: [{(NULL, 54), (48, ∞), [NULL, ∞), (NULL, 76]}, {[54, ∞), [56, 56], [NULL, ∞), (NULL, 76)}]\n" + 15488 " └─ columns: [pk v1 v2 v3 v4]\n" + 15489 "", 15490 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15491 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15492 " ├─ filters: [{(NULL, 54), (48, ∞), [NULL, ∞), (NULL, 76]}, {[54, ∞), [56, 56], [NULL, ∞), (NULL, 76)}]\n" + 15493 " └─ columns: [pk v1 v2 v3 v4]\n" + 15494 "", 15495 }, 15496 { 15497 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=79 AND v2>24) OR (v1<76 AND v3<=59 AND v4<=36 AND v2=39));`, 15498 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15499 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15500 " ├─ static: [{(NULL, 76), [39, 39], (NULL, 59], (NULL, 36]}, {[79, 79], (24, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15501 " ├─ colSet: (1-5)\n" + 15502 " ├─ tableId: 1\n" + 15503 " └─ Table\n" + 15504 " ├─ name: comp_index_t2\n" + 15505 " └─ columns: [pk v1 v2 v3 v4]\n" + 15506 "", 15507 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15508 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15509 " ├─ filters: [{(NULL, 76), [39, 39], (NULL, 59], (NULL, 36]}, {[79, 79], (24, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15510 " └─ columns: [pk v1 v2 v3 v4]\n" + 15511 "", 15512 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15513 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15514 " ├─ filters: [{(NULL, 76), [39, 39], (NULL, 59], (NULL, 36]}, {[79, 79], (24, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15515 " └─ columns: [pk v1 v2 v3 v4]\n" + 15516 "", 15517 }, 15518 { 15519 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<=15 AND v2 BETWEEN 21 AND 76 AND v3=23) OR (v1 BETWEEN 2 AND 55));`, 15520 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15521 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15522 " ├─ static: [{(NULL, 2), [21, 76], [23, 23], [NULL, ∞)}, {[2, 55], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15523 " ├─ colSet: (1-5)\n" + 15524 " ├─ tableId: 1\n" + 15525 " └─ Table\n" + 15526 " ├─ name: comp_index_t2\n" + 15527 " └─ columns: [pk v1 v2 v3 v4]\n" + 15528 "", 15529 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15530 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15531 " ├─ filters: [{(NULL, 2), [21, 76], [23, 23], [NULL, ∞)}, {[2, 55], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15532 " └─ columns: [pk v1 v2 v3 v4]\n" + 15533 "", 15534 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15535 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15536 " ├─ filters: [{(NULL, 2), [21, 76], [23, 23], [NULL, ∞)}, {[2, 55], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15537 " └─ columns: [pk v1 v2 v3 v4]\n" + 15538 "", 15539 }, 15540 { 15541 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=85 AND v2>37 AND v3<=57 AND v4 BETWEEN 12 AND 49) AND (v1>10) OR (v1>56)) OR (v1>=57));`, 15542 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15543 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15544 " ├─ static: [{(56, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15545 " ├─ colSet: (1-5)\n" + 15546 " ├─ tableId: 1\n" + 15547 " └─ Table\n" + 15548 " ├─ name: comp_index_t2\n" + 15549 " └─ columns: [pk v1 v2 v3 v4]\n" + 15550 "", 15551 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15552 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15553 " ├─ filters: [{(56, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15554 " └─ columns: [pk v1 v2 v3 v4]\n" + 15555 "", 15556 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15557 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15558 " ├─ filters: [{(56, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15559 " └─ columns: [pk v1 v2 v3 v4]\n" + 15560 "", 15561 }, 15562 { 15563 Query: `SELECT * FROM comp_index_t2 WHERE (((((v1<>89 AND v2>=75) OR (v1<=5)) OR (v1=5 AND v2<19 AND v3>=1)) OR (v1>=18 AND v2>=17 AND v3 BETWEEN 78 AND 83)) OR (v1>=11 AND v3<=9 AND v4>39));`, 15564 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15565 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15566 " ├─ static: [{(NULL, 5], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(5, 89), [75, ∞), [NULL, ∞), [NULL, ∞)}, {[11, 89), [NULL, 75), (NULL, 9], (39, ∞)}, {[18, 89), [17, 75), [78, 83], [NULL, ∞)}, {[89, 89], [NULL, ∞), (NULL, 9], (39, ∞)}, {[89, 89], [17, ∞), [78, 83], [NULL, ∞)}, {(89, ∞), [NULL, 75), (NULL, 9], (39, ∞)}, {(89, ∞), [17, 75), [78, 83], [NULL, ∞)}, {(89, ∞), [75, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15567 " ├─ colSet: (1-5)\n" + 15568 " ├─ tableId: 1\n" + 15569 " └─ Table\n" + 15570 " ├─ name: comp_index_t2\n" + 15571 " └─ columns: [pk v1 v2 v3 v4]\n" + 15572 "", 15573 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15574 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15575 " ├─ filters: [{(NULL, 5], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(5, 89), [75, ∞), [NULL, ∞), [NULL, ∞)}, {[11, 89), [NULL, 75), (NULL, 9], (39, ∞)}, {[18, 89), [17, 75), [78, 83], [NULL, ∞)}, {[89, 89], [NULL, ∞), (NULL, 9], (39, ∞)}, {[89, 89], [17, ∞), [78, 83], [NULL, ∞)}, {(89, ∞), [NULL, 75), (NULL, 9], (39, ∞)}, {(89, ∞), [17, 75), [78, 83], [NULL, ∞)}, {(89, ∞), [75, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15576 " └─ columns: [pk v1 v2 v3 v4]\n" + 15577 "", 15578 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15579 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15580 " ├─ filters: [{(NULL, 5], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(5, 89), [75, ∞), [NULL, ∞), [NULL, ∞)}, {[11, 89), [NULL, 75), (NULL, 9], (39, ∞)}, {[18, 89), [17, 75), [78, 83], [NULL, ∞)}, {[89, 89], [NULL, ∞), (NULL, 9], (39, ∞)}, {[89, 89], [17, ∞), [78, 83], [NULL, ∞)}, {(89, ∞), [NULL, 75), (NULL, 9], (39, ∞)}, {(89, ∞), [17, 75), [78, 83], [NULL, ∞)}, {(89, ∞), [75, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15581 " └─ columns: [pk v1 v2 v3 v4]\n" + 15582 "", 15583 }, 15584 { 15585 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 36 AND 48 AND v4<97 AND v2>=99 AND v3=3) OR (v1<>84 AND v2=46 AND v3=4)) OR (v1>73 AND v2 BETWEEN 34 AND 39 AND v3 BETWEEN 34 AND 71 AND v4>=15)) OR (v1<>82));`, 15586 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15587 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15588 " ├─ static: [{(NULL, 82), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[82, 82], [34, 39], [34, 71], [15, ∞)}, {[82, 82], [46, 46], [4, 4], [NULL, ∞)}, {(82, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15589 " ├─ colSet: (1-5)\n" + 15590 " ├─ tableId: 1\n" + 15591 " └─ Table\n" + 15592 " ├─ name: comp_index_t2\n" + 15593 " └─ columns: [pk v1 v2 v3 v4]\n" + 15594 "", 15595 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15596 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15597 " ├─ filters: [{(NULL, 82), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[82, 82], [34, 39], [34, 71], [15, ∞)}, {[82, 82], [46, 46], [4, 4], [NULL, ∞)}, {(82, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15598 " └─ columns: [pk v1 v2 v3 v4]\n" + 15599 "", 15600 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15601 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15602 " ├─ filters: [{(NULL, 82), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[82, 82], [34, 39], [34, 71], [15, ∞)}, {[82, 82], [46, 46], [4, 4], [NULL, ∞)}, {(82, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15603 " └─ columns: [pk v1 v2 v3 v4]\n" + 15604 "", 15605 }, 15606 { 15607 Query: `SELECT * FROM comp_index_t2 WHERE (v1<=50 AND v3>=51 AND v4<>69) AND (v1>1 AND v3<24);`, 15608 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15609 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15610 " ├─ static: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 15611 " ├─ colSet: (1-5)\n" + 15612 " ├─ tableId: 1\n" + 15613 " └─ Table\n" + 15614 " ├─ name: comp_index_t2\n" + 15615 " └─ columns: [pk v1 v2 v3 v4]\n" + 15616 "", 15617 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15618 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15619 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 15620 " └─ columns: [pk v1 v2 v3 v4]\n" + 15621 "", 15622 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15623 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15624 " ├─ filters: [{(∞, ∞), (∞, ∞), (∞, ∞), (∞, ∞)}]\n" + 15625 " └─ columns: [pk v1 v2 v3 v4]\n" + 15626 "", 15627 }, 15628 { 15629 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>10 AND v2=72 AND v3<31) OR (v1<67 AND v3 BETWEEN 13 AND 70 AND v4>66 AND v2>39)) OR (v1<82)) AND (v1>=66);`, 15630 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15631 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15632 " ├─ static: [{[66, 82), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[82, ∞), [72, 72], (NULL, 31), [NULL, ∞)}]\n" + 15633 " ├─ colSet: (1-5)\n" + 15634 " ├─ tableId: 1\n" + 15635 " └─ Table\n" + 15636 " ├─ name: comp_index_t2\n" + 15637 " └─ columns: [pk v1 v2 v3 v4]\n" + 15638 "", 15639 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15640 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15641 " ├─ filters: [{[66, 82), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[82, ∞), [72, 72], (NULL, 31), [NULL, ∞)}]\n" + 15642 " └─ columns: [pk v1 v2 v3 v4]\n" + 15643 "", 15644 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15645 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15646 " ├─ filters: [{[66, 82), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[82, ∞), [72, 72], (NULL, 31), [NULL, ∞)}]\n" + 15647 " └─ columns: [pk v1 v2 v3 v4]\n" + 15648 "", 15649 }, 15650 { 15651 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=84 AND v2<85 AND v3 BETWEEN 75 AND 86 AND v4<=34) OR (v1>=37 AND v2<59 AND v3 BETWEEN 2 AND 26 AND v4>6));`, 15652 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15653 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15654 " ├─ static: [{[37, ∞), (NULL, 59), [2, 26], (6, ∞)}, {[84, 84], (NULL, 85), [75, 86], (NULL, 34]}]\n" + 15655 " ├─ colSet: (1-5)\n" + 15656 " ├─ tableId: 1\n" + 15657 " └─ Table\n" + 15658 " ├─ name: comp_index_t2\n" + 15659 " └─ columns: [pk v1 v2 v3 v4]\n" + 15660 "", 15661 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15662 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15663 " ├─ filters: [{[37, ∞), (NULL, 59), [2, 26], (6, ∞)}, {[84, 84], (NULL, 85), [75, 86], (NULL, 34]}]\n" + 15664 " └─ columns: [pk v1 v2 v3 v4]\n" + 15665 "", 15666 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15667 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15668 " ├─ filters: [{[37, ∞), (NULL, 59), [2, 26], (6, ∞)}, {[84, 84], (NULL, 85), [75, 86], (NULL, 34]}]\n" + 15669 " └─ columns: [pk v1 v2 v3 v4]\n" + 15670 "", 15671 }, 15672 { 15673 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>10 AND v2=42) OR (v1>=85 AND v2<>6 AND v3=34 AND v4<=45));`, 15674 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15675 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15676 " ├─ static: [{(10, ∞), [42, 42], [NULL, ∞), [NULL, ∞)}, {[85, ∞), (NULL, 6), [34, 34], (NULL, 45]}, {[85, ∞), (6, 42), [34, 34], (NULL, 45]}, {[85, ∞), (42, ∞), [34, 34], (NULL, 45]}]\n" + 15677 " ├─ colSet: (1-5)\n" + 15678 " ├─ tableId: 1\n" + 15679 " └─ Table\n" + 15680 " ├─ name: comp_index_t2\n" + 15681 " └─ columns: [pk v1 v2 v3 v4]\n" + 15682 "", 15683 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15684 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15685 " ├─ filters: [{(10, ∞), [42, 42], [NULL, ∞), [NULL, ∞)}, {[85, ∞), (NULL, 6), [34, 34], (NULL, 45]}, {[85, ∞), (6, 42), [34, 34], (NULL, 45]}, {[85, ∞), (42, ∞), [34, 34], (NULL, 45]}]\n" + 15686 " └─ columns: [pk v1 v2 v3 v4]\n" + 15687 "", 15688 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15689 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15690 " ├─ filters: [{(10, ∞), [42, 42], [NULL, ∞), [NULL, ∞)}, {[85, ∞), (NULL, 6), [34, 34], (NULL, 45]}, {[85, ∞), (6, 42), [34, 34], (NULL, 45]}, {[85, ∞), (42, ∞), [34, 34], (NULL, 45]}]\n" + 15691 " └─ columns: [pk v1 v2 v3 v4]\n" + 15692 "", 15693 }, 15694 { 15695 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=24 AND v2<>33 AND v3=77 AND v4<>63) OR (v1<>22 AND v2<=58 AND v3>71 AND v4>=87)) OR (v1<=85 AND v2>18 AND v3<=40));`, 15696 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15697 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15698 " ├─ static: [{(NULL, 22), (NULL, 58], (71, ∞), [87, ∞)}, {(NULL, 85], (18, ∞), (NULL, 40], [NULL, ∞)}, {(22, 24), (NULL, 58], (71, ∞), [87, ∞)}, {[24, 24], (NULL, 33), (71, 77), [87, ∞)}, {[24, 24], (NULL, 33), [77, 77], (NULL, 63)}, {[24, 24], (NULL, 33), [77, 77], (63, ∞)}, {[24, 24], (NULL, 33), (77, ∞), [87, ∞)}, {[24, 24], [33, 33], (71, ∞), [87, ∞)}, {[24, 24], (33, 58], (71, 77), [87, ∞)}, {[24, 24], (33, 58], (77, ∞), [87, ∞)}, {[24, 24], (33, ∞), [77, 77], (NULL, 63)}, {[24, 24], (33, ∞), [77, 77], (63, ∞)}, {(24, ∞), (NULL, 58], (71, ∞), [87, ∞)}]\n" + 15699 " ├─ colSet: (1-5)\n" + 15700 " ├─ tableId: 1\n" + 15701 " └─ Table\n" + 15702 " ├─ name: comp_index_t2\n" + 15703 " └─ columns: [pk v1 v2 v3 v4]\n" + 15704 "", 15705 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15706 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15707 " ├─ filters: [{(NULL, 22), (NULL, 58], (71, ∞), [87, ∞)}, {(NULL, 85], (18, ∞), (NULL, 40], [NULL, ∞)}, {(22, 24), (NULL, 58], (71, ∞), [87, ∞)}, {[24, 24], (NULL, 33), (71, 77), [87, ∞)}, {[24, 24], (NULL, 33), [77, 77], (NULL, 63)}, {[24, 24], (NULL, 33), [77, 77], (63, ∞)}, {[24, 24], (NULL, 33), (77, ∞), [87, ∞)}, {[24, 24], [33, 33], (71, ∞), [87, ∞)}, {[24, 24], (33, 58], (71, 77), [87, ∞)}, {[24, 24], (33, 58], (77, ∞), [87, ∞)}, {[24, 24], (33, ∞), [77, 77], (NULL, 63)}, {[24, 24], (33, ∞), [77, 77], (63, ∞)}, {(24, ∞), (NULL, 58], (71, ∞), [87, ∞)}]\n" + 15708 " └─ columns: [pk v1 v2 v3 v4]\n" + 15709 "", 15710 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15711 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15712 " ├─ filters: [{(NULL, 22), (NULL, 58], (71, ∞), [87, ∞)}, {(NULL, 85], (18, ∞), (NULL, 40], [NULL, ∞)}, {(22, 24), (NULL, 58], (71, ∞), [87, ∞)}, {[24, 24], (NULL, 33), (71, 77), [87, ∞)}, {[24, 24], (NULL, 33), [77, 77], (NULL, 63)}, {[24, 24], (NULL, 33), [77, 77], (63, ∞)}, {[24, 24], (NULL, 33), (77, ∞), [87, ∞)}, {[24, 24], [33, 33], (71, ∞), [87, ∞)}, {[24, 24], (33, 58], (71, 77), [87, ∞)}, {[24, 24], (33, 58], (77, ∞), [87, ∞)}, {[24, 24], (33, ∞), [77, 77], (NULL, 63)}, {[24, 24], (33, ∞), [77, 77], (63, ∞)}, {(24, ∞), (NULL, 58], (71, ∞), [87, ∞)}]\n" + 15713 " └─ columns: [pk v1 v2 v3 v4]\n" + 15714 "", 15715 }, 15716 { 15717 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<72 AND v2>=67) OR (v1<>88 AND v2<>23 AND v3=23));`, 15718 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15719 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15720 " ├─ static: [{(NULL, 72), (23, 67), [23, 23], [NULL, ∞)}, {(NULL, 72), [67, ∞), [NULL, ∞), [NULL, ∞)}, {(NULL, 88), (NULL, 23), [23, 23], [NULL, ∞)}, {[72, 88), (23, ∞), [23, 23], [NULL, ∞)}, {(88, ∞), (NULL, 23), [23, 23], [NULL, ∞)}, {(88, ∞), (23, ∞), [23, 23], [NULL, ∞)}]\n" + 15721 " ├─ colSet: (1-5)\n" + 15722 " ├─ tableId: 1\n" + 15723 " └─ Table\n" + 15724 " ├─ name: comp_index_t2\n" + 15725 " └─ columns: [pk v1 v2 v3 v4]\n" + 15726 "", 15727 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15728 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15729 " ├─ filters: [{(NULL, 72), (23, 67), [23, 23], [NULL, ∞)}, {(NULL, 72), [67, ∞), [NULL, ∞), [NULL, ∞)}, {(NULL, 88), (NULL, 23), [23, 23], [NULL, ∞)}, {[72, 88), (23, ∞), [23, 23], [NULL, ∞)}, {(88, ∞), (NULL, 23), [23, 23], [NULL, ∞)}, {(88, ∞), (23, ∞), [23, 23], [NULL, ∞)}]\n" + 15730 " └─ columns: [pk v1 v2 v3 v4]\n" + 15731 "", 15732 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15733 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15734 " ├─ filters: [{(NULL, 72), (23, 67), [23, 23], [NULL, ∞)}, {(NULL, 72), [67, ∞), [NULL, ∞), [NULL, ∞)}, {(NULL, 88), (NULL, 23), [23, 23], [NULL, ∞)}, {[72, 88), (23, ∞), [23, 23], [NULL, ∞)}, {(88, ∞), (NULL, 23), [23, 23], [NULL, ∞)}, {(88, ∞), (23, ∞), [23, 23], [NULL, ∞)}]\n" + 15735 " └─ columns: [pk v1 v2 v3 v4]\n" + 15736 "", 15737 }, 15738 { 15739 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=11 AND v2>=99) OR (v1<18 AND v2>=34 AND v3<53)) OR (v1>68));`, 15740 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15741 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15742 " ├─ static: [{(NULL, 11), [34, ∞), (NULL, 53), [NULL, ∞)}, {[11, 11], [34, 99), (NULL, 53), [NULL, ∞)}, {[11, 11], [99, ∞), [NULL, ∞), [NULL, ∞)}, {(11, 18), [34, ∞), (NULL, 53), [NULL, ∞)}, {(68, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15743 " ├─ colSet: (1-5)\n" + 15744 " ├─ tableId: 1\n" + 15745 " └─ Table\n" + 15746 " ├─ name: comp_index_t2\n" + 15747 " └─ columns: [pk v1 v2 v3 v4]\n" + 15748 "", 15749 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15750 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15751 " ├─ filters: [{(NULL, 11), [34, ∞), (NULL, 53), [NULL, ∞)}, {[11, 11], [34, 99), (NULL, 53), [NULL, ∞)}, {[11, 11], [99, ∞), [NULL, ∞), [NULL, ∞)}, {(11, 18), [34, ∞), (NULL, 53), [NULL, ∞)}, {(68, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15752 " └─ columns: [pk v1 v2 v3 v4]\n" + 15753 "", 15754 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15755 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15756 " ├─ filters: [{(NULL, 11), [34, ∞), (NULL, 53), [NULL, ∞)}, {[11, 11], [34, 99), (NULL, 53), [NULL, ∞)}, {[11, 11], [99, ∞), [NULL, ∞), [NULL, ∞)}, {(11, 18), [34, ∞), (NULL, 53), [NULL, ∞)}, {(68, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15757 " └─ columns: [pk v1 v2 v3 v4]\n" + 15758 "", 15759 }, 15760 { 15761 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<=40 AND v2<0) OR (v1>=35 AND v2<=95 AND v3<>61)) OR (v1>49));`, 15762 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15763 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15764 " ├─ static: [{(NULL, 40], (NULL, 0), [NULL, ∞), [NULL, ∞)}, {[35, 40], [0, 95], (NULL, 61), [NULL, ∞)}, {[35, 40], [0, 95], (61, ∞), [NULL, ∞)}, {(40, 49], (NULL, 95], (NULL, 61), [NULL, ∞)}, {(40, 49], (NULL, 95], (61, ∞), [NULL, ∞)}, {(49, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15765 " ├─ colSet: (1-5)\n" + 15766 " ├─ tableId: 1\n" + 15767 " └─ Table\n" + 15768 " ├─ name: comp_index_t2\n" + 15769 " └─ columns: [pk v1 v2 v3 v4]\n" + 15770 "", 15771 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15772 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15773 " ├─ filters: [{(NULL, 40], (NULL, 0), [NULL, ∞), [NULL, ∞)}, {[35, 40], [0, 95], (NULL, 61), [NULL, ∞)}, {[35, 40], [0, 95], (61, ∞), [NULL, ∞)}, {(40, 49], (NULL, 95], (NULL, 61), [NULL, ∞)}, {(40, 49], (NULL, 95], (61, ∞), [NULL, ∞)}, {(49, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15774 " └─ columns: [pk v1 v2 v3 v4]\n" + 15775 "", 15776 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15777 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15778 " ├─ filters: [{(NULL, 40], (NULL, 0), [NULL, ∞), [NULL, ∞)}, {[35, 40], [0, 95], (NULL, 61), [NULL, ∞)}, {[35, 40], [0, 95], (61, ∞), [NULL, ∞)}, {(40, 49], (NULL, 95], (NULL, 61), [NULL, ∞)}, {(40, 49], (NULL, 95], (61, ∞), [NULL, ∞)}, {(49, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15779 " └─ columns: [pk v1 v2 v3 v4]\n" + 15780 "", 15781 }, 15782 { 15783 Query: `SELECT * FROM comp_index_t2 WHERE (((v1=85 AND v2<81 AND v3 BETWEEN 14 AND 61 AND v4<>99) OR (v1 BETWEEN 31 AND 86 AND v4<>43)) OR (v1 BETWEEN 15 AND 67)) AND (v1 BETWEEN 37 AND 55);`, 15784 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15785 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15786 " ├─ static: [{[37, 55], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15787 " ├─ colSet: (1-5)\n" + 15788 " ├─ tableId: 1\n" + 15789 " └─ Table\n" + 15790 " ├─ name: comp_index_t2\n" + 15791 " └─ columns: [pk v1 v2 v3 v4]\n" + 15792 "", 15793 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15794 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15795 " ├─ filters: [{[37, 55], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15796 " └─ columns: [pk v1 v2 v3 v4]\n" + 15797 "", 15798 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15799 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15800 " ├─ filters: [{[37, 55], [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15801 " └─ columns: [pk v1 v2 v3 v4]\n" + 15802 "", 15803 }, 15804 { 15805 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>=52 AND v4>=86) OR (v1>=86 AND v3=79 AND v4=9 AND v2 BETWEEN 2 AND 6)) OR (v1>98 AND v2<=44 AND v3<>53));`, 15806 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15807 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15808 " ├─ static: [{[52, 98], [NULL, ∞), [NULL, ∞), [86, ∞)}, {[86, 98], [2, 6], [79, 79], [9, 9]}, {(98, ∞), [NULL, NULL], [NULL, ∞), [86, ∞)}, {(98, ∞), (NULL, 44], [NULL, NULL], [86, ∞)}, {(98, ∞), (NULL, 44], (NULL, 53), [NULL, ∞)}, {(98, ∞), (NULL, 44], [53, 53], [86, ∞)}, {(98, ∞), (NULL, 44], (53, ∞), [NULL, ∞)}, {(98, ∞), (44, ∞), [NULL, ∞), [86, ∞)}]\n" + 15809 " ├─ colSet: (1-5)\n" + 15810 " ├─ tableId: 1\n" + 15811 " └─ Table\n" + 15812 " ├─ name: comp_index_t2\n" + 15813 " └─ columns: [pk v1 v2 v3 v4]\n" + 15814 "", 15815 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15816 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15817 " ├─ filters: [{[52, 98], [NULL, ∞), [NULL, ∞), [86, ∞)}, {[86, 98], [2, 6], [79, 79], [9, 9]}, {(98, ∞), [NULL, NULL], [NULL, ∞), [86, ∞)}, {(98, ∞), (NULL, 44], [NULL, NULL], [86, ∞)}, {(98, ∞), (NULL, 44], (NULL, 53), [NULL, ∞)}, {(98, ∞), (NULL, 44], [53, 53], [86, ∞)}, {(98, ∞), (NULL, 44], (53, ∞), [NULL, ∞)}, {(98, ∞), (44, ∞), [NULL, ∞), [86, ∞)}]\n" + 15818 " └─ columns: [pk v1 v2 v3 v4]\n" + 15819 "", 15820 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15821 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15822 " ├─ filters: [{[52, 98], [NULL, ∞), [NULL, ∞), [86, ∞)}, {[86, 98], [2, 6], [79, 79], [9, 9]}, {(98, ∞), [NULL, NULL], [NULL, ∞), [86, ∞)}, {(98, ∞), (NULL, 44], [NULL, NULL], [86, ∞)}, {(98, ∞), (NULL, 44], (NULL, 53), [NULL, ∞)}, {(98, ∞), (NULL, 44], [53, 53], [86, ∞)}, {(98, ∞), (NULL, 44], (53, ∞), [NULL, ∞)}, {(98, ∞), (44, ∞), [NULL, ∞), [86, ∞)}]\n" + 15823 " └─ columns: [pk v1 v2 v3 v4]\n" + 15824 "", 15825 }, 15826 { 15827 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>5 AND v4 BETWEEN 14 AND 43 AND v2>=62) OR (v1>=91 AND v2>=28 AND v3>=83 AND v4<>91));`, 15828 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15829 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15830 " ├─ static: [{(5, 91), [62, ∞), [NULL, ∞), [14, 43]}, {[91, ∞), [28, ∞), [83, ∞), (NULL, 91)}, {[91, ∞), [28, ∞), [83, ∞), (91, ∞)}, {[91, ∞), [62, ∞), [NULL, 83), [14, 43]}]\n" + 15831 " ├─ colSet: (1-5)\n" + 15832 " ├─ tableId: 1\n" + 15833 " └─ Table\n" + 15834 " ├─ name: comp_index_t2\n" + 15835 " └─ columns: [pk v1 v2 v3 v4]\n" + 15836 "", 15837 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15838 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15839 " ├─ filters: [{(5, 91), [62, ∞), [NULL, ∞), [14, 43]}, {[91, ∞), [28, ∞), [83, ∞), (NULL, 91)}, {[91, ∞), [28, ∞), [83, ∞), (91, ∞)}, {[91, ∞), [62, ∞), [NULL, 83), [14, 43]}]\n" + 15840 " └─ columns: [pk v1 v2 v3 v4]\n" + 15841 "", 15842 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15843 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15844 " ├─ filters: [{(5, 91), [62, ∞), [NULL, ∞), [14, 43]}, {[91, ∞), [28, ∞), [83, ∞), (NULL, 91)}, {[91, ∞), [28, ∞), [83, ∞), (91, ∞)}, {[91, ∞), [62, ∞), [NULL, 83), [14, 43]}]\n" + 15845 " └─ columns: [pk v1 v2 v3 v4]\n" + 15846 "", 15847 }, 15848 { 15849 Query: `SELECT * FROM comp_index_t2 WHERE ((v1<>87) OR (v1>91 AND v2>23 AND v3<74));`, 15850 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15851 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15852 " ├─ static: [{(NULL, 87), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(87, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15853 " ├─ colSet: (1-5)\n" + 15854 " ├─ tableId: 1\n" + 15855 " └─ Table\n" + 15856 " ├─ name: comp_index_t2\n" + 15857 " └─ columns: [pk v1 v2 v3 v4]\n" + 15858 "", 15859 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15860 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15861 " ├─ filters: [{(NULL, 87), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(87, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15862 " └─ columns: [pk v1 v2 v3 v4]\n" + 15863 "", 15864 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15865 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15866 " ├─ filters: [{(NULL, 87), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(87, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15867 " └─ columns: [pk v1 v2 v3 v4]\n" + 15868 "", 15869 }, 15870 { 15871 Query: `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 1 AND 19 AND v2 BETWEEN 22 AND 48) AND (v1 BETWEEN 6 AND 47 AND v2>=25 AND v3<27);`, 15872 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15873 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15874 " ├─ static: [{[6, 19], [25, 48], (NULL, 27), [NULL, ∞)}]\n" + 15875 " ├─ colSet: (1-5)\n" + 15876 " ├─ tableId: 1\n" + 15877 " └─ Table\n" + 15878 " ├─ name: comp_index_t2\n" + 15879 " └─ columns: [pk v1 v2 v3 v4]\n" + 15880 "", 15881 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15882 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15883 " ├─ filters: [{[6, 19], [25, 48], (NULL, 27), [NULL, ∞)}]\n" + 15884 " └─ columns: [pk v1 v2 v3 v4]\n" + 15885 "", 15886 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15887 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15888 " ├─ filters: [{[6, 19], [25, 48], (NULL, 27), [NULL, ∞)}]\n" + 15889 " └─ columns: [pk v1 v2 v3 v4]\n" + 15890 "", 15891 }, 15892 { 15893 Query: `SELECT * FROM comp_index_t2 WHERE ((((v1=76 AND v2>35 AND v3<=59 AND v4>25) OR (v1 BETWEEN 35 AND 82 AND v2 BETWEEN 8 AND 37 AND v3>18 AND v4<=70)) OR (v1<=95 AND v3=70 AND v4=11)) OR (v1 BETWEEN 15 AND 23 AND v2<>24 AND v3<=50 AND v4<>84));`, 15894 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15895 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15896 " ├─ static: [{(NULL, 35), [NULL, ∞), [70, 70], [11, 11]}, {[15, 23], (NULL, 24), (NULL, 50], (NULL, 84)}, {[15, 23], (NULL, 24), (NULL, 50], (84, ∞)}, {[15, 23], (24, ∞), (NULL, 50], (NULL, 84)}, {[15, 23], (24, ∞), (NULL, 50], (84, ∞)}, {[35, 76), [8, 37], (18, ∞), (NULL, 70]}, {[35, 82], [NULL, 8), [70, 70], [11, 11]}, {[35, 82], (37, ∞), [70, 70], [11, 11]}, {[76, 76], [8, 35], (18, ∞), (NULL, 70]}, {[76, 76], (35, 37], (NULL, 18], (25, ∞)}, {[76, 76], (35, 37], (18, 59], (NULL, ∞)}, {[76, 76], (35, 37], (59, ∞), (NULL, 70]}, {[76, 76], (37, ∞), (NULL, 59], (25, ∞)}, {(76, 82], [8, 37], (18, ∞), (NULL, 70]}, {(82, 95], [NULL, ∞), [70, 70], [11, 11]}]\n" + 15897 " ├─ colSet: (1-5)\n" + 15898 " ├─ tableId: 1\n" + 15899 " └─ Table\n" + 15900 " ├─ name: comp_index_t2\n" + 15901 " └─ columns: [pk v1 v2 v3 v4]\n" + 15902 "", 15903 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15904 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15905 " ├─ filters: [{(NULL, 35), [NULL, ∞), [70, 70], [11, 11]}, {[15, 23], (NULL, 24), (NULL, 50], (NULL, 84)}, {[15, 23], (NULL, 24), (NULL, 50], (84, ∞)}, {[15, 23], (24, ∞), (NULL, 50], (NULL, 84)}, {[15, 23], (24, ∞), (NULL, 50], (84, ∞)}, {[35, 76), [8, 37], (18, ∞), (NULL, 70]}, {[35, 82], [NULL, 8), [70, 70], [11, 11]}, {[35, 82], (37, ∞), [70, 70], [11, 11]}, {[76, 76], [8, 35], (18, ∞), (NULL, 70]}, {[76, 76], (35, 37], (NULL, 18], (25, ∞)}, {[76, 76], (35, 37], (18, 59], (NULL, ∞)}, {[76, 76], (35, 37], (59, ∞), (NULL, 70]}, {[76, 76], (37, ∞), (NULL, 59], (25, ∞)}, {(76, 82], [8, 37], (18, ∞), (NULL, 70]}, {(82, 95], [NULL, ∞), [70, 70], [11, 11]}]\n" + 15906 " └─ columns: [pk v1 v2 v3 v4]\n" + 15907 "", 15908 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15909 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15910 " ├─ filters: [{(NULL, 35), [NULL, ∞), [70, 70], [11, 11]}, {[15, 23], (NULL, 24), (NULL, 50], (NULL, 84)}, {[15, 23], (NULL, 24), (NULL, 50], (84, ∞)}, {[15, 23], (24, ∞), (NULL, 50], (NULL, 84)}, {[15, 23], (24, ∞), (NULL, 50], (84, ∞)}, {[35, 76), [8, 37], (18, ∞), (NULL, 70]}, {[35, 82], [NULL, 8), [70, 70], [11, 11]}, {[35, 82], (37, ∞), [70, 70], [11, 11]}, {[76, 76], [8, 35], (18, ∞), (NULL, 70]}, {[76, 76], (35, 37], (NULL, 18], (25, ∞)}, {[76, 76], (35, 37], (18, 59], (NULL, ∞)}, {[76, 76], (35, 37], (59, ∞), (NULL, 70]}, {[76, 76], (37, ∞), (NULL, 59], (25, ∞)}, {(76, 82], [8, 37], (18, ∞), (NULL, 70]}, {(82, 95], [NULL, ∞), [70, 70], [11, 11]}]\n" + 15911 " └─ columns: [pk v1 v2 v3 v4]\n" + 15912 "", 15913 }, 15914 { 15915 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>42 AND v2=44 AND v3<>73) OR (v1>24 AND v2>49 AND v3>=7));`, 15916 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15917 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15918 " ├─ static: [{(24, ∞), (49, ∞), [7, ∞), [NULL, ∞)}, {(42, ∞), [44, 44], (NULL, 73), [NULL, ∞)}, {(42, ∞), [44, 44], (73, ∞), [NULL, ∞)}]\n" + 15919 " ├─ colSet: (1-5)\n" + 15920 " ├─ tableId: 1\n" + 15921 " └─ Table\n" + 15922 " ├─ name: comp_index_t2\n" + 15923 " └─ columns: [pk v1 v2 v3 v4]\n" + 15924 "", 15925 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15926 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15927 " ├─ filters: [{(24, ∞), (49, ∞), [7, ∞), [NULL, ∞)}, {(42, ∞), [44, 44], (NULL, 73), [NULL, ∞)}, {(42, ∞), [44, 44], (73, ∞), [NULL, ∞)}]\n" + 15928 " └─ columns: [pk v1 v2 v3 v4]\n" + 15929 "", 15930 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15931 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15932 " ├─ filters: [{(24, ∞), (49, ∞), [7, ∞), [NULL, ∞)}, {(42, ∞), [44, 44], (NULL, 73), [NULL, ∞)}, {(42, ∞), [44, 44], (73, ∞), [NULL, ∞)}]\n" + 15933 " └─ columns: [pk v1 v2 v3 v4]\n" + 15934 "", 15935 }, 15936 { 15937 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=79 AND v3<89 AND v4>=3) OR (v1<63 AND v2<66));`, 15938 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15939 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15940 " ├─ static: [{(NULL, 63), (NULL, 66), [NULL, ∞), [NULL, ∞)}, {[79, 79], [NULL, ∞), (NULL, 89), [3, ∞)}]\n" + 15941 " ├─ colSet: (1-5)\n" + 15942 " ├─ tableId: 1\n" + 15943 " └─ Table\n" + 15944 " ├─ name: comp_index_t2\n" + 15945 " └─ columns: [pk v1 v2 v3 v4]\n" + 15946 "", 15947 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15948 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15949 " ├─ filters: [{(NULL, 63), (NULL, 66), [NULL, ∞), [NULL, ∞)}, {[79, 79], [NULL, ∞), (NULL, 89), [3, ∞)}]\n" + 15950 " └─ columns: [pk v1 v2 v3 v4]\n" + 15951 "", 15952 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15953 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15954 " ├─ filters: [{(NULL, 63), (NULL, 66), [NULL, ∞), [NULL, ∞)}, {[79, 79], [NULL, ∞), (NULL, 89), [3, ∞)}]\n" + 15955 " └─ columns: [pk v1 v2 v3 v4]\n" + 15956 "", 15957 }, 15958 { 15959 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>66) OR (v1=33)) OR (v1<>39 AND v2>53 AND v3<73 AND v4<75));`, 15960 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15961 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15962 " ├─ static: [{(NULL, 66), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[66, 66], (53, ∞), (NULL, 73), (NULL, 75)}, {(66, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15963 " ├─ colSet: (1-5)\n" + 15964 " ├─ tableId: 1\n" + 15965 " └─ Table\n" + 15966 " ├─ name: comp_index_t2\n" + 15967 " └─ columns: [pk v1 v2 v3 v4]\n" + 15968 "", 15969 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15970 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15971 " ├─ filters: [{(NULL, 66), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[66, 66], (53, ∞), (NULL, 73), (NULL, 75)}, {(66, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15972 " └─ columns: [pk v1 v2 v3 v4]\n" + 15973 "", 15974 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15975 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15976 " ├─ filters: [{(NULL, 66), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[66, 66], (53, ∞), (NULL, 73), (NULL, 75)}, {(66, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 15977 " └─ columns: [pk v1 v2 v3 v4]\n" + 15978 "", 15979 }, 15980 { 15981 Query: `SELECT * FROM comp_index_t2 WHERE ((v1=15) OR (v1>36 AND v3=13 AND v4<=98 AND v2 BETWEEN 70 AND 85));`, 15982 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 15983 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15984 " ├─ static: [{[15, 15], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(36, ∞), [70, 85], [13, 13], (NULL, 98]}]\n" + 15985 " ├─ colSet: (1-5)\n" + 15986 " ├─ tableId: 1\n" + 15987 " └─ Table\n" + 15988 " ├─ name: comp_index_t2\n" + 15989 " └─ columns: [pk v1 v2 v3 v4]\n" + 15990 "", 15991 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 15992 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15993 " ├─ filters: [{[15, 15], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(36, ∞), [70, 85], [13, 13], (NULL, 98]}]\n" + 15994 " └─ columns: [pk v1 v2 v3 v4]\n" + 15995 "", 15996 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 15997 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 15998 " ├─ filters: [{[15, 15], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(36, ∞), [70, 85], [13, 13], (NULL, 98]}]\n" + 15999 " └─ columns: [pk v1 v2 v3 v4]\n" + 16000 "", 16001 }, 16002 { 16003 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 23 AND 45 AND v4<30) OR (v1>=36 AND v2<>6 AND v3 BETWEEN 30 AND 53)) OR (v1 BETWEEN 41 AND 95));`, 16004 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 16005 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16006 " ├─ static: [{[23, 36), [NULL, ∞), [NULL, ∞), (NULL, 30)}, {[36, 41), [NULL, NULL], [NULL, ∞), (NULL, 30)}, {[36, 41), (NULL, 6), [NULL, 30), (NULL, 30)}, {[36, 41), (NULL, 6), [30, 53], [NULL, ∞)}, {[36, 41), (NULL, 6), (53, ∞), (NULL, 30)}, {[36, 41), [6, 6], [NULL, ∞), (NULL, 30)}, {[36, 41), (6, ∞), [NULL, 30), (NULL, 30)}, {[36, 41), (6, ∞), [30, 53], [NULL, ∞)}, {[36, 41), (6, ∞), (53, ∞), (NULL, 30)}, {[41, 95], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(95, ∞), (NULL, 6), [30, 53], [NULL, ∞)}, {(95, ∞), (6, ∞), [30, 53], [NULL, ∞)}]\n" + 16007 " ├─ colSet: (1-5)\n" + 16008 " ├─ tableId: 1\n" + 16009 " └─ Table\n" + 16010 " ├─ name: comp_index_t2\n" + 16011 " └─ columns: [pk v1 v2 v3 v4]\n" + 16012 "", 16013 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 16014 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16015 " ├─ filters: [{[23, 36), [NULL, ∞), [NULL, ∞), (NULL, 30)}, {[36, 41), [NULL, NULL], [NULL, ∞), (NULL, 30)}, {[36, 41), (NULL, 6), [NULL, 30), (NULL, 30)}, {[36, 41), (NULL, 6), [30, 53], [NULL, ∞)}, {[36, 41), (NULL, 6), (53, ∞), (NULL, 30)}, {[36, 41), [6, 6], [NULL, ∞), (NULL, 30)}, {[36, 41), (6, ∞), [NULL, 30), (NULL, 30)}, {[36, 41), (6, ∞), [30, 53], [NULL, ∞)}, {[36, 41), (6, ∞), (53, ∞), (NULL, 30)}, {[41, 95], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(95, ∞), (NULL, 6), [30, 53], [NULL, ∞)}, {(95, ∞), (6, ∞), [30, 53], [NULL, ∞)}]\n" + 16016 " └─ columns: [pk v1 v2 v3 v4]\n" + 16017 "", 16018 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 16019 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16020 " ├─ filters: [{[23, 36), [NULL, ∞), [NULL, ∞), (NULL, 30)}, {[36, 41), [NULL, NULL], [NULL, ∞), (NULL, 30)}, {[36, 41), (NULL, 6), [NULL, 30), (NULL, 30)}, {[36, 41), (NULL, 6), [30, 53], [NULL, ∞)}, {[36, 41), (NULL, 6), (53, ∞), (NULL, 30)}, {[36, 41), [6, 6], [NULL, ∞), (NULL, 30)}, {[36, 41), (6, ∞), [NULL, 30), (NULL, 30)}, {[36, 41), (6, ∞), [30, 53], [NULL, ∞)}, {[36, 41), (6, ∞), (53, ∞), (NULL, 30)}, {[41, 95], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {(95, ∞), (NULL, 6), [30, 53], [NULL, ∞)}, {(95, ∞), (6, ∞), [30, 53], [NULL, ∞)}]\n" + 16021 " └─ columns: [pk v1 v2 v3 v4]\n" + 16022 "", 16023 }, 16024 { 16025 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>6 AND v4<>9 AND v2<>77 AND v3>=81) OR (v1<>21 AND v2>=17 AND v3<=3));`, 16026 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 16027 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16028 " ├─ static: [{(NULL, 21), [17, ∞), (NULL, 3], [NULL, ∞)}, {(6, ∞), (NULL, 77), [81, ∞), (NULL, 9)}, {(6, ∞), (NULL, 77), [81, ∞), (9, ∞)}, {(6, ∞), (77, ∞), [81, ∞), (NULL, 9)}, {(6, ∞), (77, ∞), [81, ∞), (9, ∞)}, {(21, ∞), [17, ∞), (NULL, 3], [NULL, ∞)}]\n" + 16029 " ├─ colSet: (1-5)\n" + 16030 " ├─ tableId: 1\n" + 16031 " └─ Table\n" + 16032 " ├─ name: comp_index_t2\n" + 16033 " └─ columns: [pk v1 v2 v3 v4]\n" + 16034 "", 16035 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 16036 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16037 " ├─ filters: [{(NULL, 21), [17, ∞), (NULL, 3], [NULL, ∞)}, {(6, ∞), (NULL, 77), [81, ∞), (NULL, 9)}, {(6, ∞), (NULL, 77), [81, ∞), (9, ∞)}, {(6, ∞), (77, ∞), [81, ∞), (NULL, 9)}, {(6, ∞), (77, ∞), [81, ∞), (9, ∞)}, {(21, ∞), [17, ∞), (NULL, 3], [NULL, ∞)}]\n" + 16038 " └─ columns: [pk v1 v2 v3 v4]\n" + 16039 "", 16040 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 16041 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16042 " ├─ filters: [{(NULL, 21), [17, ∞), (NULL, 3], [NULL, ∞)}, {(6, ∞), (NULL, 77), [81, ∞), (NULL, 9)}, {(6, ∞), (NULL, 77), [81, ∞), (9, ∞)}, {(6, ∞), (77, ∞), [81, ∞), (NULL, 9)}, {(6, ∞), (77, ∞), [81, ∞), (9, ∞)}, {(21, ∞), [17, ∞), (NULL, 3], [NULL, ∞)}]\n" + 16043 " └─ columns: [pk v1 v2 v3 v4]\n" + 16044 "", 16045 }, 16046 { 16047 Query: `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 94 AND 99 AND v2>4 AND v3<94 AND v4<=59) OR (v1=19 AND v2 BETWEEN 47 AND 54)) AND (v1>=83) OR (v1 BETWEEN 50 AND 97 AND v2<12 AND v3>23));`, 16048 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 16049 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16050 " ├─ static: [{[50, 97], (NULL, 12), (23, ∞), [NULL, ∞)}, {[94, 97], (4, 12), (NULL, 23], (NULL, 59]}, {[94, 97], [12, ∞), (NULL, 94), (NULL, 59]}, {(97, 99], (4, ∞), (NULL, 94), (NULL, 59]}]\n" + 16051 " ├─ colSet: (1-5)\n" + 16052 " ├─ tableId: 1\n" + 16053 " └─ Table\n" + 16054 " ├─ name: comp_index_t2\n" + 16055 " └─ columns: [pk v1 v2 v3 v4]\n" + 16056 "", 16057 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 16058 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16059 " ├─ filters: [{[50, 97], (NULL, 12), (23, ∞), [NULL, ∞)}, {[94, 97], (4, 12), (NULL, 23], (NULL, 59]}, {[94, 97], [12, ∞), (NULL, 94), (NULL, 59]}, {(97, 99], (4, ∞), (NULL, 94), (NULL, 59]}]\n" + 16060 " └─ columns: [pk v1 v2 v3 v4]\n" + 16061 "", 16062 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 16063 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16064 " ├─ filters: [{[50, 97], (NULL, 12), (23, ∞), [NULL, ∞)}, {[94, 97], (4, 12), (NULL, 23], (NULL, 59]}, {[94, 97], [12, ∞), (NULL, 94), (NULL, 59]}, {(97, 99], (4, ∞), (NULL, 94), (NULL, 59]}]\n" + 16065 " └─ columns: [pk v1 v2 v3 v4]\n" + 16066 "", 16067 }, 16068 { 16069 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>19 AND v2>46 AND v3=26 AND v4>=47) OR (v1>18 AND v2<=79 AND v3=45 AND v4<=7)) OR (v1 BETWEEN 2 AND 21 AND v2>32));`, 16070 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 16071 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16072 " ├─ static: [{(NULL, 2), (46, ∞), [26, 26], [47, ∞)}, {[2, 21], (32, ∞), [NULL, ∞), [NULL, ∞)}, {(18, 21], (NULL, 32], [45, 45], (NULL, 7]}, {(21, ∞), (NULL, 79], [45, 45], (NULL, 7]}, {(21, ∞), (46, ∞), [26, 26], [47, ∞)}]\n" + 16073 " ├─ colSet: (1-5)\n" + 16074 " ├─ tableId: 1\n" + 16075 " └─ Table\n" + 16076 " ├─ name: comp_index_t2\n" + 16077 " └─ columns: [pk v1 v2 v3 v4]\n" + 16078 "", 16079 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 16080 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16081 " ├─ filters: [{(NULL, 2), (46, ∞), [26, 26], [47, ∞)}, {[2, 21], (32, ∞), [NULL, ∞), [NULL, ∞)}, {(18, 21], (NULL, 32], [45, 45], (NULL, 7]}, {(21, ∞), (NULL, 79], [45, 45], (NULL, 7]}, {(21, ∞), (46, ∞), [26, 26], [47, ∞)}]\n" + 16082 " └─ columns: [pk v1 v2 v3 v4]\n" + 16083 "", 16084 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 16085 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16086 " ├─ filters: [{(NULL, 2), (46, ∞), [26, 26], [47, ∞)}, {[2, 21], (32, ∞), [NULL, ∞), [NULL, ∞)}, {(18, 21], (NULL, 32], [45, 45], (NULL, 7]}, {(21, ∞), (NULL, 79], [45, 45], (NULL, 7]}, {(21, ∞), (46, ∞), [26, 26], [47, ∞)}]\n" + 16087 " └─ columns: [pk v1 v2 v3 v4]\n" + 16088 "", 16089 }, 16090 { 16091 Query: `SELECT * FROM comp_index_t2 WHERE (v1>=5) AND (v1=50 AND v2<=50);`, 16092 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 16093 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16094 " ├─ static: [{[50, 50], (NULL, 50], [NULL, ∞), [NULL, ∞)}]\n" + 16095 " ├─ colSet: (1-5)\n" + 16096 " ├─ tableId: 1\n" + 16097 " └─ Table\n" + 16098 " ├─ name: comp_index_t2\n" + 16099 " └─ columns: [pk v1 v2 v3 v4]\n" + 16100 "", 16101 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 16102 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16103 " ├─ filters: [{[50, 50], (NULL, 50], [NULL, ∞), [NULL, ∞)}]\n" + 16104 " └─ columns: [pk v1 v2 v3 v4]\n" + 16105 "", 16106 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 16107 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16108 " ├─ filters: [{[50, 50], (NULL, 50], [NULL, ∞), [NULL, ∞)}]\n" + 16109 " └─ columns: [pk v1 v2 v3 v4]\n" + 16110 "", 16111 }, 16112 { 16113 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>=82 AND v2 BETWEEN 34 AND 50 AND v3<26 AND v4 BETWEEN 48 AND 76) OR (v1<=6));`, 16114 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 16115 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16116 " ├─ static: [{(NULL, 6], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[82, ∞), [34, 50], (NULL, 26), [48, 76]}]\n" + 16117 " ├─ colSet: (1-5)\n" + 16118 " ├─ tableId: 1\n" + 16119 " └─ Table\n" + 16120 " ├─ name: comp_index_t2\n" + 16121 " └─ columns: [pk v1 v2 v3 v4]\n" + 16122 "", 16123 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 16124 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16125 " ├─ filters: [{(NULL, 6], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[82, ∞), [34, 50], (NULL, 26), [48, 76]}]\n" + 16126 " └─ columns: [pk v1 v2 v3 v4]\n" + 16127 "", 16128 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 16129 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16130 " ├─ filters: [{(NULL, 6], [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[82, ∞), [34, 50], (NULL, 26), [48, 76]}]\n" + 16131 " └─ columns: [pk v1 v2 v3 v4]\n" + 16132 "", 16133 }, 16134 { 16135 Query: `SELECT * FROM comp_index_t2 WHERE ((v1>29) OR (v1<>94 AND v2>=56 AND v3=14));`, 16136 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 16137 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16138 " ├─ static: [{(NULL, 29], [56, ∞), [14, 14], [NULL, ∞)}, {(29, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 16139 " ├─ colSet: (1-5)\n" + 16140 " ├─ tableId: 1\n" + 16141 " └─ Table\n" + 16142 " ├─ name: comp_index_t2\n" + 16143 " └─ columns: [pk v1 v2 v3 v4]\n" + 16144 "", 16145 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 16146 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16147 " ├─ filters: [{(NULL, 29], [56, ∞), [14, 14], [NULL, ∞)}, {(29, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 16148 " └─ columns: [pk v1 v2 v3 v4]\n" + 16149 "", 16150 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 16151 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16152 " ├─ filters: [{(NULL, 29], [56, ∞), [14, 14], [NULL, ∞)}, {(29, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 16153 " └─ columns: [pk v1 v2 v3 v4]\n" + 16154 "", 16155 }, 16156 { 16157 Query: `SELECT * FROM comp_index_t2 WHERE (((v1>8 AND v2<97 AND v3=51 AND v4<=26) OR (v1>87)) OR (v1<10 AND v2<=45 AND v3>=73));`, 16158 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 16159 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16160 " ├─ static: [{(NULL, 10), (NULL, 45], [73, ∞), [NULL, ∞)}, {(8, 87], (NULL, 97), [51, 51], (NULL, 26]}, {(87, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 16161 " ├─ colSet: (1-5)\n" + 16162 " ├─ tableId: 1\n" + 16163 " └─ Table\n" + 16164 " ├─ name: comp_index_t2\n" + 16165 " └─ columns: [pk v1 v2 v3 v4]\n" + 16166 "", 16167 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 16168 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16169 " ├─ filters: [{(NULL, 10), (NULL, 45], [73, ∞), [NULL, ∞)}, {(8, 87], (NULL, 97), [51, 51], (NULL, 26]}, {(87, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 16170 " └─ columns: [pk v1 v2 v3 v4]\n" + 16171 "", 16172 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 16173 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16174 " ├─ filters: [{(NULL, 10), (NULL, 45], [73, ∞), [NULL, ∞)}, {(8, 87], (NULL, 97), [51, 51], (NULL, 26]}, {(87, ∞), [NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 16175 " └─ columns: [pk v1 v2 v3 v4]\n" + 16176 "", 16177 }, 16178 { 16179 Query: `SELECT * FROM comp_index_t2 WHERE (((v1<>15 AND v2>1) OR (v1<46)) OR (v1>47 AND v2>=9 AND v3 BETWEEN 39 AND 87 AND v4>=10));`, 16180 ExpectedPlan: "IndexedTableAccess(comp_index_t2)\n" + 16181 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16182 " ├─ static: [{(NULL, 46), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[46, ∞), (1, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 16183 " ├─ colSet: (1-5)\n" + 16184 " ├─ tableId: 1\n" + 16185 " └─ Table\n" + 16186 " ├─ name: comp_index_t2\n" + 16187 " └─ columns: [pk v1 v2 v3 v4]\n" + 16188 "", 16189 ExpectedEstimates: "IndexedTableAccess(comp_index_t2)\n" + 16190 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16191 " ├─ filters: [{(NULL, 46), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[46, ∞), (1, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 16192 " └─ columns: [pk v1 v2 v3 v4]\n" + 16193 "", 16194 ExpectedAnalysis: "IndexedTableAccess(comp_index_t2)\n" + 16195 " ├─ index: [comp_index_t2.v1,comp_index_t2.v2,comp_index_t2.v3,comp_index_t2.v4]\n" + 16196 " ├─ filters: [{(NULL, 46), [NULL, ∞), [NULL, ∞), [NULL, ∞)}, {[46, ∞), (1, ∞), [NULL, ∞), [NULL, ∞)}]\n" + 16197 " └─ columns: [pk v1 v2 v3 v4]\n" + 16198 "", 16199 }, 16200 { 16201 Query: `select * from comp_index_t3 where v1 = 'a'`, 16202 ExpectedPlan: "Filter\n" + 16203 " ├─ Eq\n" + 16204 " │ ├─ comp_index_t3.v1:1\n" + 16205 " │ └─ a (longtext)\n" + 16206 " └─ IndexedTableAccess(comp_index_t3)\n" + 16207 " ├─ index: [comp_index_t3.v1]\n" + 16208 " ├─ static: [{[[97], [97]]}]\n" + 16209 " ├─ colSet: (1-3)\n" + 16210 " ├─ tableId: 1\n" + 16211 " └─ Table\n" + 16212 " ├─ name: comp_index_t3\n" + 16213 " └─ columns: [pk v1 v2]\n" + 16214 "", 16215 ExpectedEstimates: "Filter\n" + 16216 " ├─ (comp_index_t3.v1 = 'a')\n" + 16217 " └─ IndexedTableAccess(comp_index_t3)\n" + 16218 " ├─ index: [comp_index_t3.v1]\n" + 16219 " ├─ filters: [{[[97], [97]]}]\n" + 16220 " └─ columns: [pk v1 v2]\n" + 16221 "", 16222 ExpectedAnalysis: "Filter\n" + 16223 " ├─ (comp_index_t3.v1 = 'a')\n" + 16224 " └─ IndexedTableAccess(comp_index_t3)\n" + 16225 " ├─ index: [comp_index_t3.v1]\n" + 16226 " ├─ filters: [{[[97], [97]]}]\n" + 16227 " └─ columns: [pk v1 v2]\n" + 16228 "", 16229 }, 16230 { 16231 Query: `select * from comp_index_t3 where v1 like 'a%'`, 16232 ExpectedPlan: "Filter\n" + 16233 " ├─ comp_index_t3.v1 LIKE 'a%'\n" + 16234 " └─ ProcessTable\n" + 16235 " └─ Table\n" + 16236 " ├─ name: comp_index_t3\n" + 16237 " └─ columns: [pk v1 v2]\n" + 16238 "", 16239 ExpectedEstimates: "Filter\n" + 16240 " ├─ comp_index_t3.v1 LIKE 'a%'\n" + 16241 " └─ Table\n" + 16242 " ├─ name: comp_index_t3\n" + 16243 " └─ columns: [pk v1 v2]\n" + 16244 "", 16245 ExpectedAnalysis: "Filter\n" + 16246 " ├─ comp_index_t3.v1 LIKE 'a%'\n" + 16247 " └─ Table\n" + 16248 " ├─ name: comp_index_t3\n" + 16249 " └─ columns: [pk v1 v2]\n" + 16250 "", 16251 }, 16252 { 16253 Query: `select * from comp_index_t3 where v2 = 'a'`, 16254 ExpectedPlan: "Filter\n" + 16255 " ├─ Eq\n" + 16256 " │ ├─ comp_index_t3.v2:2\n" + 16257 " │ └─ a (longtext)\n" + 16258 " └─ ProcessTable\n" + 16259 " └─ Table\n" + 16260 " ├─ name: comp_index_t3\n" + 16261 " └─ columns: [pk v1 v2]\n" + 16262 "", 16263 ExpectedEstimates: "Filter\n" + 16264 " ├─ (comp_index_t3.v2 = 'a')\n" + 16265 " └─ Table\n" + 16266 " ├─ name: comp_index_t3\n" + 16267 " └─ columns: [pk v1 v2]\n" + 16268 "", 16269 ExpectedAnalysis: "Filter\n" + 16270 " ├─ (comp_index_t3.v2 = 'a')\n" + 16271 " └─ Table\n" + 16272 " ├─ name: comp_index_t3\n" + 16273 " └─ columns: [pk v1 v2]\n" + 16274 "", 16275 }, 16276 { 16277 Query: `select * from comp_index_t3 where v2 like 'a%'`, 16278 ExpectedPlan: "Filter\n" + 16279 " ├─ comp_index_t3.v2 LIKE 'a%'\n" + 16280 " └─ ProcessTable\n" + 16281 " └─ Table\n" + 16282 " ├─ name: comp_index_t3\n" + 16283 " └─ columns: [pk v1 v2]\n" + 16284 "", 16285 ExpectedEstimates: "Filter\n" + 16286 " ├─ comp_index_t3.v2 LIKE 'a%'\n" + 16287 " └─ Table\n" + 16288 " ├─ name: comp_index_t3\n" + 16289 " └─ columns: [pk v1 v2]\n" + 16290 "", 16291 ExpectedAnalysis: "Filter\n" + 16292 " ├─ comp_index_t3.v2 LIKE 'a%'\n" + 16293 " └─ Table\n" + 16294 " ├─ name: comp_index_t3\n" + 16295 " └─ columns: [pk v1 v2]\n" + 16296 "", 16297 }, 16298 }