@@ -7671,10 +7671,12 @@ EXPLAIN
7671
7671
"filtered": 100,
7672
7672
"materialized": {
7673
7673
"unique": 1,
7674
- "query_block": {
7675
- "select_id": 2,
7676
- "table": {
7677
- "message": "Select tables optimized away"
7674
+ "materialization": {
7675
+ "query_block": {
7676
+ "select_id": 2,
7677
+ "table": {
7678
+ "message": "Select tables optimized away"
7679
+ }
7678
7680
}
7679
7681
}
7680
7682
}
@@ -7731,10 +7733,12 @@ EXPLAIN
7731
7733
"filtered": 100,
7732
7734
"materialized": {
7733
7735
"unique": 1,
7734
- "query_block": {
7735
- "select_id": 2,
7736
- "table": {
7737
- "message": "Select tables optimized away"
7736
+ "materialization": {
7737
+ "query_block": {
7738
+ "select_id": 2,
7739
+ "table": {
7740
+ "message": "Select tables optimized away"
7741
+ }
7738
7742
}
7739
7743
}
7740
7744
}
@@ -7815,10 +7819,12 @@ EXPLAIN
7815
7819
"filtered": 100,
7816
7820
"materialized": {
7817
7821
"unique": 1,
7818
- "query_block": {
7819
- "select_id": 3,
7820
- "table": {
7821
- "message": "Select tables optimized away"
7822
+ "materialization": {
7823
+ "query_block": {
7824
+ "select_id": 3,
7825
+ "table": {
7826
+ "message": "Select tables optimized away"
7827
+ }
7822
7828
}
7823
7829
}
7824
7830
}
@@ -7872,10 +7878,12 @@ EXPLAIN
7872
7878
"filtered": 100,
7873
7879
"materialized": {
7874
7880
"unique": 1,
7875
- "query_block": {
7876
- "select_id": 3,
7877
- "table": {
7878
- "message": "Select tables optimized away"
7881
+ "materialization": {
7882
+ "query_block": {
7883
+ "select_id": 3,
7884
+ "table": {
7885
+ "message": "Select tables optimized away"
7886
+ }
7879
7887
}
7880
7888
}
7881
7889
}
@@ -7924,10 +7932,12 @@ EXPLAIN
7924
7932
"filtered": 100,
7925
7933
"materialized": {
7926
7934
"unique": 1,
7927
- "query_block": {
7928
- "select_id": 3,
7929
- "table": {
7930
- "message": "Select tables optimized away"
7935
+ "materialization": {
7936
+ "query_block": {
7937
+ "select_id": 3,
7938
+ "table": {
7939
+ "message": "Select tables optimized away"
7940
+ }
7931
7941
}
7932
7942
}
7933
7943
}
@@ -7976,10 +7986,12 @@ EXPLAIN
7976
7986
"filtered": 100,
7977
7987
"materialized": {
7978
7988
"unique": 1,
7979
- "query_block": {
7980
- "select_id": 3,
7981
- "table": {
7982
- "message": "Select tables optimized away"
7989
+ "materialization": {
7990
+ "query_block": {
7991
+ "select_id": 3,
7992
+ "table": {
7993
+ "message": "Select tables optimized away"
7994
+ }
7983
7995
}
7984
7996
}
7985
7997
}
@@ -8030,10 +8042,12 @@ EXPLAIN
8030
8042
"filtered": 100,
8031
8043
"materialized": {
8032
8044
"unique": 1,
8033
- "query_block": {
8034
- "select_id": 3,
8035
- "table": {
8036
- "message": "Select tables optimized away"
8045
+ "materialization": {
8046
+ "query_block": {
8047
+ "select_id": 3,
8048
+ "table": {
8049
+ "message": "Select tables optimized away"
8050
+ }
8037
8051
}
8038
8052
}
8039
8053
}
@@ -8082,10 +8096,12 @@ EXPLAIN
8082
8096
"filtered": 100,
8083
8097
"materialized": {
8084
8098
"unique": 1,
8085
- "query_block": {
8086
- "select_id": 3,
8087
- "table": {
8088
- "message": "Select tables optimized away"
8099
+ "materialization": {
8100
+ "query_block": {
8101
+ "select_id": 3,
8102
+ "table": {
8103
+ "message": "Select tables optimized away"
8104
+ }
8089
8105
}
8090
8106
}
8091
8107
}
@@ -8134,10 +8150,12 @@ EXPLAIN
8134
8150
"filtered": 100,
8135
8151
"materialized": {
8136
8152
"unique": 1,
8137
- "query_block": {
8138
- "select_id": 3,
8139
- "table": {
8140
- "message": "Select tables optimized away"
8153
+ "materialization": {
8154
+ "query_block": {
8155
+ "select_id": 3,
8156
+ "table": {
8157
+ "message": "Select tables optimized away"
8158
+ }
8141
8159
}
8142
8160
}
8143
8161
}
@@ -8223,10 +8241,12 @@ EXPLAIN
8223
8241
},
8224
8242
"subqueries": [
8225
8243
{
8226
- "query_block": {
8227
- "select_id": 2,
8228
- "table": {
8229
- "message": "Impossible WHERE"
8244
+ "materialization": {
8245
+ "query_block": {
8246
+ "select_id": 2,
8247
+ "table": {
8248
+ "message": "Impossible WHERE"
8249
+ }
8230
8250
}
8231
8251
}
8232
8252
}
@@ -9294,27 +9314,29 @@ EXPLAIN
9294
9314
"filtered": 100,
9295
9315
"materialized": {
9296
9316
"unique": 1,
9297
- "query_block": {
9298
- "select_id": 2,
9299
- "temporary_table": {
9300
- "table": {
9301
- "table_name": "<derived3>",
9302
- "access_type": "ALL",
9303
- "rows": 5,
9304
- "filtered": 100,
9305
- "attached_condition": "d_tab.e > 1",
9306
- "materialized": {
9307
- "query_block": {
9308
- "select_id": 3,
9309
- "filesort": {
9310
- "sort_key": "t2.e",
9311
- "temporary_table": {
9312
- "table": {
9313
- "table_name": "t2",
9314
- "access_type": "ALL",
9315
- "rows": 5,
9316
- "filtered": 100,
9317
- "attached_condition": "t2.e > 1"
9317
+ "materialization": {
9318
+ "query_block": {
9319
+ "select_id": 2,
9320
+ "temporary_table": {
9321
+ "table": {
9322
+ "table_name": "<derived3>",
9323
+ "access_type": "ALL",
9324
+ "rows": 5,
9325
+ "filtered": 100,
9326
+ "attached_condition": "d_tab.e > 1",
9327
+ "materialized": {
9328
+ "query_block": {
9329
+ "select_id": 3,
9330
+ "filesort": {
9331
+ "sort_key": "t2.e",
9332
+ "temporary_table": {
9333
+ "table": {
9334
+ "table_name": "t2",
9335
+ "access_type": "ALL",
9336
+ "rows": 5,
9337
+ "filtered": 100,
9338
+ "attached_condition": "t2.e > 1"
9339
+ }
9318
9340
}
9319
9341
}
9320
9342
}
@@ -9396,27 +9418,29 @@ EXPLAIN
9396
9418
"filtered": 100,
9397
9419
"materialized": {
9398
9420
"unique": 1,
9399
- "query_block": {
9400
- "select_id": 2,
9401
- "temporary_table": {
9402
- "table": {
9403
- "table_name": "<derived3>",
9404
- "access_type": "ALL",
9405
- "rows": 5,
9406
- "filtered": 100,
9407
- "attached_condition": "d_tab.max_f > 20",
9408
- "materialized": {
9409
- "query_block": {
9410
- "select_id": 3,
9411
- "having_condition": "max_f > 20",
9412
- "filesort": {
9413
- "sort_key": "t2.e",
9414
- "temporary_table": {
9415
- "table": {
9416
- "table_name": "t2",
9417
- "access_type": "ALL",
9418
- "rows": 5,
9419
- "filtered": 100
9421
+ "materialization": {
9422
+ "query_block": {
9423
+ "select_id": 2,
9424
+ "temporary_table": {
9425
+ "table": {
9426
+ "table_name": "<derived3>",
9427
+ "access_type": "ALL",
9428
+ "rows": 5,
9429
+ "filtered": 100,
9430
+ "attached_condition": "d_tab.max_f > 20",
9431
+ "materialized": {
9432
+ "query_block": {
9433
+ "select_id": 3,
9434
+ "having_condition": "max_f > 20",
9435
+ "filesort": {
9436
+ "sort_key": "t2.e",
9437
+ "temporary_table": {
9438
+ "table": {
9439
+ "table_name": "t2",
9440
+ "access_type": "ALL",
9441
+ "rows": 5,
9442
+ "filtered": 100
9443
+ }
9420
9444
}
9421
9445
}
9422
9446
}
@@ -10826,16 +10850,18 @@ EXPLAIN
10826
10850
"attached_condition": "t4.c = `<subquery2>`.`sum(b)`",
10827
10851
"materialized": {
10828
10852
"unique": 1,
10829
- "query_block": {
10830
- "select_id": 2,
10831
- "having_condition": "`f1(a)` > 1 and `sum(b)` > 123",
10832
- "temporary_table": {
10833
- "table": {
10834
- "table_name": "t1",
10835
- "access_type": "ALL",
10836
- "rows": 3,
10837
- "filtered": 100,
10838
- "attached_condition": "t1.a + 1 > 10"
10853
+ "materialization": {
10854
+ "query_block": {
10855
+ "select_id": 2,
10856
+ "having_condition": "`f1(a)` > 1 and `sum(b)` > 123",
10857
+ "temporary_table": {
10858
+ "table": {
10859
+ "table_name": "t1",
10860
+ "access_type": "ALL",
10861
+ "rows": 3,
10862
+ "filtered": 100,
10863
+ "attached_condition": "t1.a + 1 > 10"
10864
+ }
10839
10865
}
10840
10866
}
10841
10867
}
0 commit comments