@@ -3411,76 +3411,36 @@ NULL {m} 1000 1000 true
3411
3411
NULL {n} 1000 50 true
3412
3412
NULL {o} 1000 33 true
3413
3413
3414
+ # All we care about is the row counts, so don't error if other parts of the explain output change
3414
3415
query T retry
3415
- EXPLAIN SELECT * FROM mno WHERE n = 1 AND o = 9
3416
+ SELECT info FROM [ EXPLAIN SELECT * FROM mno WHERE n = 1 AND o = 9] WHERE info LIKE '%estimated row count:%'
3416
3417
----
3417
- distribution: full
3418
- vectorized: true
3419
- ·
3420
- • render
3421
- │
3422
- └── • filter
3423
3418
│ estimated row count: 1
3424
- │ filter: n = 1
3425
- │
3426
- └── • scan
3427
3419
estimated row count: 18 (1.8% of the table; stats collected <hidden> ago)
3428
- table: mno@mno_o_idx
3429
- spans: [/9 - /9]
3430
3420
3421
+ # All we care about is the row counts, so don't error if other parts of the explain output change
3431
3422
query T
3432
- EXPLAIN SELECT * FROM mno WHERE n = 1 AND o = 11
3423
+ SELECT info FROM [ EXPLAIN SELECT * FROM mno WHERE n = 1 AND o = 11] WHERE info LIKE '%estimated row count:%'
3433
3424
----
3434
- distribution: full
3435
- vectorized: true
3436
- ·
3437
- • render
3438
- │
3439
- └── • filter
3440
3425
│ estimated row count: 1
3441
- │ filter: sqrt(m::FLOAT8)::INT8 = 11
3442
- │
3443
- └── • scan
3444
3426
estimated row count: 20 (2.0% of the table; stats collected <hidden> ago)
3445
- table: mno@mno_n_idx
3446
- spans: [/1 - /1]
3447
3427
3448
3428
statement ok
3449
3429
SET optimizer_use_virtual_computed_column_stats = false
3450
3430
3431
+ # All we care about is the row counts, so don't error if other parts of the explain output change
3451
3432
query T
3452
- EXPLAIN SELECT * FROM mno WHERE n = 1 AND o = 9
3433
+ SELECT info FROM [ EXPLAIN SELECT * FROM mno WHERE n = 1 AND o = 9] WHERE info LIKE '%estimated row count:%'
3453
3434
----
3454
- distribution: full
3455
- vectorized: true
3456
- ·
3457
- • render
3458
- │
3459
- └── • filter
3460
3435
│ estimated row count: 7
3461
- │ filter: n = 1
3462
- │
3463
- └── • scan
3464
3436
estimated row count: 10 (1.0% of the table; stats collected <hidden> ago)
3465
- table: mno@mno_o_idx
3466
- spans: [/9 - /9]
3467
3437
3438
+ # All we care about is the row counts, so don't error if other parts of the explain output change
3468
3439
query T
3469
- EXPLAIN SELECT * FROM mno WHERE n = 1 AND o = 11
3440
+ SELECT info FROM [ EXPLAIN SELECT * FROM mno WHERE n = 1 AND o = 11] WHERE info LIKE '%estimated row count:%'
3470
3441
----
3471
- distribution: full
3472
- vectorized: true
3473
- ·
3474
- • render
3475
- │
3476
- └── • filter
3477
3442
│ estimated row count: 7
3478
- │ filter: n = 1
3479
- │
3480
- └── • scan
3481
3443
estimated row count: 10 (1.0% of the table; stats collected <hidden> ago)
3482
- table: mno@mno_o_idx
3483
- spans: [/11 - /11]
3484
3444
3485
3445
# Regression for not setting the TypeResolver on the SemaContext when dealing
3486
3446
# with stats on virtual computed columns (#122312).
@@ -3577,39 +3537,25 @@ column_names row_count null_count distinct_count avg_size has_histogram
3577
3537
{b} 2 0 2 8 true
3578
3538
{c} 2 0 2 8 true
3579
3539
3540
+ # All we care about is the row counts, so don't error if other parts of the explain output change
3580
3541
query T retry
3581
- EXPLAIN SELECT count(*) FROM t138809 WHERE b > 1
3542
+ SELECT info FROM [ EXPLAIN SELECT count(*) FROM t138809 WHERE b > 1] WHERE info LIKE '%estimated row count:%'
3582
3543
----
3583
- distribution: full
3584
- vectorized: true
3585
- ·
3586
- • group (scalar)
3587
3544
│ estimated row count: 1
3588
- │
3589
- └── • scan
3590
3545
estimated row count: 2 (100% of the table; stats collected <hidden> ago)
3591
- table: t138809@t138809_pkey
3592
- spans: [/1 - ]
3593
3546
3594
3547
statement ok
3595
3548
SET CLUSTER SETTING jobs.debug.pausepoints = 'schemachanger.root..1'
3596
3549
3597
3550
statement error job \d+ was paused before it completed with reason: pause point "schemachanger\.root\.\.1" hit
3598
3551
ALTER TABLE t138809 DROP COLUMN c
3599
3552
3553
+ # All we care about is the row counts, so don't error if other parts of the explain output change
3600
3554
query T
3601
- EXPLAIN SELECT count(*) FROM t138809 WHERE b > 1
3555
+ SELECT info FROM [ EXPLAIN SELECT count(*) FROM t138809 WHERE b > 1] WHERE info LIKE '%estimated row count:%'
3602
3556
----
3603
- distribution: full
3604
- vectorized: true
3605
- ·
3606
- • group (scalar)
3607
3557
│ estimated row count: 1
3608
- │
3609
- └── • scan
3610
3558
estimated row count: 2 (100% of the table; stats collected <hidden> ago)
3611
- table: t138809@t138809_pkey
3612
- spans: [/1 - ]
3613
3559
3614
3560
statement ok
3615
3561
SET CLUSTER SETTING jobs.debug.pausepoints = DEFAULT
0 commit comments