From 6ed7184984ed3e9ec1848093f2fbc30e5f8bd9b6 Mon Sep 17 00:00:00 2001 From: Radu Berinde Date: Wed, 23 Feb 2022 20:11:27 -0800 Subject: [PATCH] sql: update plan diagrams in tests Release note: None --- .../logic_test/multi_region_query_behavior | 4 +-- .../logic_test/regional_by_row_query_behavior | 20 +++++------ pkg/sql/execinfrapb/flow_diagram_test.go | 4 +-- .../opt/exec/execbuilder/testdata/distsql_agg | 6 ++-- .../execbuilder/testdata/distsql_indexjoin | 2 +- .../testdata/distsql_inverted_index | 8 ++--- .../execbuilder/testdata/distsql_merge_join | 4 +-- .../testdata/explain_analyze_plans | 2 +- .../testdata/inverted_filter_geospatial | 4 +-- .../testdata/inverted_filter_geospatial_dist | 20 +++++------ .../testdata/inverted_filter_json_array_dist | 10 +++--- .../testdata/inverted_index_geospatial | 6 ++-- .../testdata/inverted_join_geospatial | 2 +- .../testdata/inverted_join_geospatial_dist | 36 +++++++++---------- .../testdata/inverted_join_json_array_dist | 20 +++++------ .../testdata/inverted_join_multi_column_dist | 4 +-- .../opt/exec/execbuilder/testdata/lookup_join | 20 +++++------ .../exec/execbuilder/testdata/vectorize_local | 2 +- pkg/sql/rowexec/processors_test.go | 2 +- 19 files changed, 88 insertions(+), 88 deletions(-) diff --git a/pkg/ccl/logictestccl/testdata/logic_test/multi_region_query_behavior b/pkg/ccl/logictestccl/testdata/logic_test/multi_region_query_behavior index ac05413bf916..8e178d21398a 100644 --- a/pkg/ccl/logictestccl/testdata/logic_test/multi_region_query_behavior +++ b/pkg/ccl/logictestccl/testdata/logic_test/multi_region_query_behavior @@ -365,7 +365,7 @@ vectorized: true table: orders@orders_pkey spans: [/'ap-southeast-2'/'94e4b847-8f2f-4ac5-83f1-641d6e3df727' - /'ap-southeast-2'/'94e4b847-8f2f-4ac5-83f1-641d6e3df727'] [/'us-east-1'/'94e4b847-8f2f-4ac5-83f1-641d6e3df727' - /'us-east-1'/'94e4b847-8f2f-4ac5-83f1-641d6e3df727'] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk9tO20AQhu_7FKO54aCNEh8gwRKSEU1pUBpoQtVK3Sgy3glsSXbd3bWaCuWqz9b3quyFUqMGCdoLew8z_8x8v-xbtF8XmGD_0_nwaDCC7deDycXk_XAHJv1h__gCtBFkZlIwKIxe6rudzAmOJn4z-ybdtS7drE64j-6CkDbXpXLNRJ8Fb8Zn73xtC6dng5GvbuHDZDA6ge37Xjvw8W1_3P89BRzC1kFM8WUv7rZ683DeirN8r9WL5kFrPw7EPkVi3g27W8hQaUGjbEkWk88Y45RhYXRO1mpTXd3WCQOxwqTDUKqidNX1lGGuDWFyi066BWGCF9nlgsaUCTLtDjIU5DK5qMt6gtQvs-KGviPDY70ol8omDe9kTg8WIsNJkVUpbY4pxzZHzlcHMecrql6XvRPOV715-_TnD85X80BwvgqEOqwO3S2O7Q5kSkAA2l2TwemaoS7dA4J12RVhEqzZyzCD_49ZAXVehLoRL9yI90BlychsAaWqpyTRAJuu_-LDSLd00Q6bDgzlUjoINo7SeY7Tp1qqO6OjZhv_F6R-uTd6qPVNWcAXLRVolUBaicakBJkE0oBBGjFIw-rZTfc2jhg9Z8Qx2UIrS4_s2gQ_ZUjiirz1Vpcmp3Oj87qNP57VuvpCkHU-GvrDQNWh-mv9Uxz8izh8Uhw1xJ3H4uhJcfxIPF2_-hUAAP__SGy-Yw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk9tO20wQx--_pxjNDQdtlPgACZaQjPhSGpQGmlC1UjeKjHcCW5Jdd3etpkK56rP1vSp7SUNQgwTthb2n-e_M72_PPdqvM0yw--myf9IbwO7_vdHV6H1_D0bdfvf0CrQRZCZSMCiMnuuHmcwJTkZ-Mvkm3a0u3aQOWJ3ug5A216Vym4E-Ct4ML975uy2cX_QG_nYLH0a9wRnsrnLtwce33WH3dxVwDDtHMcXXnbjd6EzDaSPO8oNGJ5oGjcM4EIcUiWk7bO8gQ6UFDbI5WUw-Y4xjhoXROVmrTbV1Xwf0xAKTFkOpitJV22OGuTaEyT066WaECV5l1zMaUibINFvIUJDL5Ky-1hOkfpgUd_QdGZ7qWTlXNtnwTua0thAZjoqsCmlyTDk2OXK-OIo5X1D1uu6ccb7oTJvnP39wvpgGgvNFINRxtWjvcGy2IFMCAtDulgyOlwx16dYI1mU3hEmwZK_DDP49ZgXUehXqVrxwK96aypKR2QxKVVdJYgNsvPyDDwPd0EUz3HSgL-fSQbC1lNZLnD7XUj0YHW2m8V2Q-mFldF_ru7KAL1oq0CqBNHrs_rotVw2HDIekBJkE0oBBGjFIw-rZTw-2AkQvARiSLbSy9MTMbdaMGZK4If9hrC5NTpdG53Uav7yodfWGIOv8aegXPVUf1f_yY3HwN-LwWXG0IW49FUfPiuMn4vHyv18BAAD__47ayRw= query T nodeidx=3 USE multi_region_test_db; EXPLAIN (DISTSQL) SELECT @@ -402,7 +402,7 @@ vectorized: true table: orders@orders_pkey spans: [/'ap-southeast-2'/'94e4b847-8f2f-4ac5-83f1-641d6e3df727' - /'ap-southeast-2'/'94e4b847-8f2f-4ac5-83f1-641d6e3df727'] [/'us-east-1'/'94e4b847-8f2f-4ac5-83f1-641d6e3df727' - /'us-east-1'/'94e4b847-8f2f-4ac5-83f1-641d6e3df727'] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysU19v0zAQf-dTWPcymNw1_9Z2kSZ5GgU6lXa0k0DCVZXF182stYPtQNDUJz4b3wsl6TYy0UobPCS27-7n-_3Od7dgvy4hhv6n8-HJYERevh5ML6Yfhq_ItD_sn14QbQSauRSUZEavtD2olo1BpkhOpvVm_l26a527eRVw590nQtpU58o1A-so8mYyfl-nsORsPBhtkpDx3e5AqoUmjOeeF-ImsrZ9fNef9O_pkWOydxRhdNmLuq3eIli0oiQ9bPXChd_qRL7oYCgW3aC7BxSUFjhKVmgh_gwRzChkRqdorTal6bYKGIgCYo-CVFnuSvOMQqoNQnwLTrolQgwXyeUSJ5gING0PKAh0iVxW19ZMWb3Msxv8ARRO9TJfK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w007RPtYbtphqPVdnpFPWiqiVUxYCRqPCOs2yW7b5vF1eXg3tp0zQSXQVJoIO6aEBeXvkHV2Koueo2yCNtPK4pN-2PV1ZxRQ3GDdW1bnJsVLo9MqTX0cV7jKINC62hvUh4GqXNUo_gr2_wQc7AWHDbD3FBzuBUf7wdFe8PET8Gz9z88AAAD__y7iIUk= # Regression test for #74890. Code should not panic due to distribution already # provided by input. diff --git a/pkg/ccl/logictestccl/testdata/logic_test/regional_by_row_query_behavior b/pkg/ccl/logictestccl/testdata/logic_test/regional_by_row_query_behavior index 1c1664e930d8..cc07ae097aa9 100644 --- a/pkg/ccl/logictestccl/testdata/logic_test/regional_by_row_query_behavior +++ b/pkg/ccl/logictestccl/testdata/logic_test/regional_by_row_query_behavior @@ -624,7 +624,7 @@ SELECT message FROM [SHOW KV TRACE FOR SESSION] WITH ORDINALITY Scan /Table/112/1/"@"/10/0, /Table/112/1/"\x80"/10/0, /Table/112/1/"\xc0"/10/0 fetched: /child/child_pkey/?/10/c_p_id -> /10 Scan /Table/111/1/"@"/10/0, /Table/111/1/"\x80"/10/0, /Table/111/1/"\xc0"/10/0 -fetched: /parent/parent_pkey/?/? -> +fetched: /parent/parent_pkey/'ap-southeast-2'/10 -> # Semi join with locality optimized search disabled. query T @@ -654,7 +654,7 @@ SELECT message FROM [SHOW KV TRACE FOR SESSION] WITH ORDINALITY Scan /Table/112/1/"@"/10/0, /Table/112/1/"\x80"/10/0, /Table/112/1/"\xc0"/10/0 fetched: /child/child_pkey/?/10/c_p_id -> /10 Scan /Table/111/1/"@"/10/0, /Table/111/1/"\x80"/10/0, /Table/111/1/"\xc0"/10/0 -fetched: /parent/parent_pkey/?/? -> +fetched: /parent/parent_pkey/'ap-southeast-2'/10 -> output row: [10 10] # Inner join with locality optimized search disabled. @@ -750,7 +750,7 @@ SELECT * FROM [EXPLAIN (DISTSQL) SELECT * FROM child WHERE NOT EXISTS (SELECT * table: child@child_pkey spans: [/'ca-central-1'/10 - /'ca-central-1'/10] [/'us-east-1'/10 - /'us-east-1'/10] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k2GLm04Qxt__P8Uwb5L82ZLVWHosBAx3hnpYvSZCDy4SrA539oxr3RVyhHz3oqbcGZrQu7Zv1J2dx_09w7M7VN9zFLh0POcyhP9hvgg-wZ1ze-PNXB-GV-4yXH72RtBvSB6yPIUvH52FA0M_CMG5bRph2G8r44oKfegr11kKU0jWzcdoBDP_CoZJVzT4KIJgPl86IZjIsJAp-fGGFIo7NDBiWFYyIaVk1ZR2bYObblFwhllR1ropRwwTWRGKHepM54QCw_hrTguKU6rGHBmmpOMsb3_berDb57p8pCdkeCnzelMoAQ0WO6Aiw2UZN9XxCler7QVf4djgYw5xkYIBUj9QhdGeoaz1M4nS8T2hMPbsbbTGX6C1D6Qn6cyTdM9QiqoszqEuZJVSRWmPK9r_woYv38lybPYNeNkm02CcROGvGdS1zIrDnCb9Y8KnkgR4zjyEmR-6cB24PjLskmh3r58D9KR8rEv4JrMCZCFgaE9gCrZ5yKZtwRS2A4sPhBC2wbnBP4yQYVBrAbbBbPOkmckbzVj_0kxzn7eDi5d2GGwHSc_fbxq0XmNwQaqUhaKj5JzKQcSQ0nvqUqhkXSV0U8mkPaZbBq2uLaSkdLdrdgu3aLfae_dSbPyJ2DwrnvTE_Fg8OSu2zouts-L3R-Jo_9-PAAAA__9jBNRX +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k2Fro04Qxt__P8Uwb5L82SOr8biyULC0hrN4ppcIV2gkWHdovdpdb1VIKfnuh5qjMVwCzd29UXd2Hvf3DM--YvkjR4ELL_AuI_gfpvPZF7jzbm-CCz-E4ZW_iBZfgxH0G9LHLJfw7bM392AYziLwbptGGPbbisSQqrZ9xSqTcA7pqvkYjeAivIJh2hUtPophNp0uvAhsZKi0pDB5phLFHVoYMyyMTqkstWlKr22DL9coOMNMFXXVlGOGqTaE4hWrrMoJBUbJfU5zSiSZMUeGkqoky9vfth7c9rkqnugFGV7qvH5WpYAGi21RkeGiSJrqeInL5fqML3Fs8TGHREmwQFePZDDeMNR19UZSVskDobA27DRa6y_QulvSg3T2Qbo3qJJMluRQK20kGZI9rnjzGxuh_qCLsd03EGTPWQXWQRT-nkFd60xt5zTpHxO9FCQg8KYRXISRD9czP0SGXRLd7vVrgIHWT3UB33WmQCsBQ3cC5-Da22y6DpzDeuDwgRDCtTi3-KfR7tyLbu5G3q8MPWRaHTQ3OdGc8y_NNfd7PTjbtcdgPUh7fk807LzH8JzKQquS9pJ1KCcxQ5IP1KW01LVJ6cbotD2mW85aXVuQVFbdrt0tfNVutfdyV2z9idg-Kp70xHxfPDkqdo6LnaPij3viePPfzwAAAP__dhHiVw== statement ok SET vectorize=on @@ -783,7 +783,7 @@ SELECT message FROM [SHOW KV TRACE FOR SESSION] WITH ORDINALITY Scan /Table/112/1/"@"/10/0 fetched: /child/child_pkey/?/10/c_p_id -> /10 Scan /Table/111/1/"@"/10/0 -fetched: /parent/parent_pkey/?/? -> +fetched: /parent/parent_pkey/'ap-southeast-2'/10 -> statement ok SET tracing = on,kv,results; SELECT * FROM child WHERE NOT EXISTS (SELECT * FROM parent WHERE p_id = c_p_id) AND c_id = 20; SET tracing = off @@ -801,7 +801,7 @@ Scan /Table/112/1/"\x80"/20/0, /Table/112/1/"\xc0"/20/0 fetched: /child/child_pkey/?/20/c_p_id -> /20 Scan /Table/111/1/"@"/20/0 Scan /Table/111/1/"\x80"/20/0, /Table/111/1/"\xc0"/20/0 -fetched: /parent/parent_pkey/?/? -> +fetched: /parent/parent_pkey/'ca-central-1'/20 -> # Semi join with locality optimized search enabled. query T @@ -827,7 +827,7 @@ SELECT * FROM [EXPLAIN (DISTSQL) SELECT * FROM child WHERE EXISTS (SELECT * FROM table: child@child_pkey spans: [/'ca-central-1'/10 - /'ca-central-1'/10] [/'us-east-1'/10 - /'us-east-1'/10] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk1Fr2z4Uxd__n-JyX5L80YjsFF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r8pY6Y_6Xxodwvw001agnUWhb_HqBudqoNPo-414UtOAnx3GkLg3npwM_dmyLAdRKd9_TLQ1_q5yuG7ThVoJaDvjGACjn2YTWcME9j2xrwnhHAszi3-eYAMF7TRJUH2R3X962x7F8d6Btte0jlwcNzJvO2kkY8rQ-tUq7N2jd5j14KKXKuCTlp3rhERQ5Jraseg0JVJ6M7opLmmXc4bXROQVJTtrt0uPNVsNYN_LLb-RWy_KR51xPxUPHpTPD4RR_sPPwMAAP__OaSYJA== statement ok SET vectorize=on @@ -859,7 +859,7 @@ SELECT message FROM [SHOW KV TRACE FOR SESSION] WITH ORDINALITY Scan /Table/112/1/"@"/10/0 fetched: /child/child_pkey/?/10/c_p_id -> /10 Scan /Table/111/1/"@"/10/0 -fetched: /parent/parent_pkey/?/? -> +fetched: /parent/parent_pkey/'ap-southeast-2'/10 -> output row: [10 10] statement ok @@ -878,7 +878,7 @@ Scan /Table/112/1/"\x80"/20/0, /Table/112/1/"\xc0"/20/0 fetched: /child/child_pkey/?/20/c_p_id -> /20 Scan /Table/111/1/"@"/20/0 Scan /Table/111/1/"\x80"/20/0, /Table/111/1/"\xc0"/20/0 -fetched: /parent/parent_pkey/?/? -> +fetched: /parent/parent_pkey/'ca-central-1'/20 -> output row: [20 20] # Inner join with locality optimized search enabled. @@ -905,7 +905,7 @@ SELECT * FROM [EXPLAIN (DISTSQL) SELECT * FROM child INNER JOIN parent ON p_id = table: child@child_pkey spans: [/'ca-central-1'/10 - /'ca-central-1'/10] [/'us-east-1'/10 - /'us-east-1'/10] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk9Fq2zAUhu_3FIdzk2RoRLYDK4KAS-swl8zunMAGjQmefWi9OpYnyZAR8u4jckbrsHR0241tHemTPv2Sd6i_VyhwEcyDqyW8hVkSf4S74Mvt_DKMYHgdLpaLT_MR9AfkD2VVQBhFQQI3cRhBkymqDcQRNOuygCnka_vx-UOQBJB3NYenEM9mi2AJLjKsZUFRtiGN4g4dTBk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uEqp1qO_4Ydv4Gdl-FvR7MT2HvVfjyBE53__0IAAD__5JOkJo= statement ok SET vectorize=on @@ -983,7 +983,7 @@ SELECT * FROM [EXPLAIN (DISTSQL) SELECT * FROM child LEFT JOIN parent ON p_id = table: child@child_pkey spans: [/'ca-central-1'/10 - /'ca-central-1'/10] [/'us-east-1'/10 - /'us-east-1'/10] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk1Fr2zAUhd_3Ky73Je3QiGwXVgQBl9ZhKZ7dOR4bNCZ49qX16lieJENKyH8fkTNah6Wj215s60jn6tPR9Qb1jxoFzoMwuEzhLUyT-CPcBl9vwotZBCdXs3k6_xSewnBBcV_VJYTBNIXreBZBmytqDMQRtMuqhAkUS_vx5UOQBFD0msMziKfTeZCCiwwbWVKUr0ijuEUHM4atkgVpLdVO2tgFs3KNgjOsmrYzOzljWEhFKDZoKlMTCkzzbzUllJekxhwZlmTyqrZlLadvn8v2gR6R4aWsu1WjhaVie1BkOG_znTpe4GKxPucLHDt8zCFvSnBAmntSmG0Zys48kWiT3xEKZ8v-jtb5D7T-nvQonXuU7glKk6ryGrpGqpIUlQOubPubY0TynWzH7vAAYbWqDDhHUfhrgrqWVbPPyRtukz62JPruiz-nQWJ7EBn2Xej3r18JhlI-dC18l1UDshFw4nswAd89hYvoCk78M5jAenTGR0II3-Hc4e9PkWFCK2kI6j-6d3_JenT-3M9gPSoGBXcV484I8B3mu8z3jkbkvSaihHQrG00H13Us_IwhlXfUX72WnSroRsnCbtMPY-uzQkna9LNuP5g1dso2-3Oz8y9m90WzNzDzQ7P3ovnswJxt3_wMAAD__4udjM4= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk2Fr2zwQgL-_v-K4L2leNCI7hRVBwaV1WIpnd47HBo0JrnW0Xh3Jk2VIKfnvI3JH67B0dNuXxDrpkR7dnR6x_V6jwEUYhecZ_A-zNPkI1-HXq-hsHsPRxXyRLT5FYxguKO-qWkIUzjK4TOYxNIUhZSGJoVlVEk6hXLmPLx_CNISyj3k8h2Q2W4QZ-MhQaUlxsaYWxTV6mDNsjC6pbbXZhR7dgrncoOAMK9V0dhfOGZbaEIpHtJWtCQVmxU1NKRWSzIQjQ0m2qGq3rfMM3O-quacHZHiu626tWuGs2JMoMlw0xS46WeJyuTnhS5x4fMKhUBI80PaODOZbhrqzzyatLW4Jhbdlf2br_QPb4Mn0oJ1_0O5ZqiVTFTV0ShtJhuTAK9_-4hqxfqebiT-8QFStKwveQRX-lkRd6ko95Wk6PCZ7aEj03Zd8zsLU9SAy7Lsw6P9-ZjDS-r5r4JuuFGgl4CiYwikE_hjO4gs4Co7hFDajYz4SQgQe5x5_P0aGKa21Jah_S-9eyWZ08pJnsBmVgw3HL0vZ9KU08mZl6LbSChkmnRUQeCzwWTA9mL_pW_KXUtto1dJeLQ9VJmdI8pb6vmh1Z0q6Mrp0x_TDxHEuIKm1_azfD-bKTbmX8BL2_gb2X4WnA5jvw9NX4eM9ON_-9yMAAP__uiqW3w== statement ok SET vectorize=on diff --git a/pkg/sql/execinfrapb/flow_diagram_test.go b/pkg/sql/execinfrapb/flow_diagram_test.go index b23955872c83..630694846a51 100644 --- a/pkg/sql/execinfrapb/flow_diagram_test.go +++ b/pkg/sql/execinfrapb/flow_diagram_test.go @@ -152,7 +152,7 @@ func TestPlanDiagramIndexJoin(t *testing.T) { {"nodeIdx":0,"inputs":[],"core":{"title":"TableReader/0","details":["Table@SomeIndex","Columns: a, b"]},"outputs":[],"stage":1}, {"nodeIdx":1,"inputs":[],"core":{"title":"TableReader/1","details":["Table@SomeIndex","Columns: a, b"]},"outputs":[],"stage":1}, {"nodeIdx":2,"inputs":[],"core":{"title":"TableReader/2","details":["Table@SomeIndex","Columns: a, b"]},"outputs":[],"stage":1}, - {"nodeIdx":2,"inputs":[{"title":"ordered","details":["@2+"]}],"core":{"title":"JoinReader/3","details":["Table@primary","Out: @3"]},"outputs":[],"stage":2}, + {"nodeIdx":2,"inputs":[{"title":"ordered","details":["@2+"]}],"core":{"title":"JoinReader/3","details":["Table@primary","Columns: x, y","Out: @3"]},"outputs":[],"stage":2}, {"nodeIdx":2,"inputs":[],"core":{"title":"Response","details":[]},"outputs":[],"stage":0} ], "edges":[ @@ -166,7 +166,7 @@ func TestPlanDiagramIndexJoin(t *testing.T) { compareDiagrams(t, json, expected) - expectedURL := "https://cockroachdb.github.io/distsqlplan/decode.html#eJy0kkFLw0AQhe_-ivCuLphsPO2pIAUrarX1Jjlss0MJJDtxdwOVkv8u3QhtoJVK6XHm5b3vZdgt_FcNheX8ZZos35-Tx-liCgHLhl51Qx7qExkEJARyFAKt45K8Z7eTtvHDmdlApQKVbbuwWxcCJTuC2iJUoSYofOhVTQvShtxdCgFDQVd1jI_SZMkNzayhDQQeuO4a61WiRbJC0QtwF_bZPug1QWW9OOBn5_Oza_Dl-Xx5bf4ey86QIzMGTuQtiv5IySeu7G_H_FjH1lWNdt8QmHdBJZP8ZDf5n9ssyLdsPY2Qp5LTXXEyaxp-1HPnSnpzXMYnOIzz6IsLQz4Maj4MMxuleLxDc3aJWV5izv8034_MaV_0Nz8BAAD___CkNwI=" + expectedURL := "https://cockroachdb.github.io/distsqlplan/decode.html#eJy0kkFLw0AQhe_-ivCuLphsPO2pIAUrarX1Jjlss0MJJDtxdwOVkv8u2QhtoZVK6XHm7ZvvzbBb-K8aCsv5yzRZvj8nj9PFFAKWDb3qhjzUJzIISAjkKARaxyV5z26QtvHhzGygUoHKtl0Y2oVAyY6gtghVqAkKH3pV04K0IXeXQsBQ0FUdx0dpsuSGZtbQBgIPXHeN9SrRIlmh6AW4C7vZPug1QWW92ONn5_Oza_Dl-Xx5bf4Oy86QI3MInMhbFP2RkE9c2d-M-bGMrasa7b73E25EMtTzLqhkkp_MKv9zqwX5lq2ngwinJqfDImTWNC7uuXMlvTku45ccy3n0xYYhH0Y1H4uZjVI85r45u8QsLzHnf5rvD8xpX_Q3PwEAAP__4nU76g==" if url.String() != expectedURL { t.Errorf("expected `%s` got `%s`", expectedURL, url.String()) } diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_agg b/pkg/sql/opt/exec/execbuilder/testdata/distsql_agg index a723a9bc0ee6..8111a71a5d5e 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_agg +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_agg @@ -906,7 +906,7 @@ vectorized: true table: sorted_data@foo spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUks9q20AQh-99iuV3smGDLSm96CQ3dYuLIrm2AwnFmLV2Kkxljbq7ghTjdy-SSmsHpCa3nT_f7DcwJ9ifBULMH5fxbJGI0cfFerP-Go_Feh7P7zZiL8VRPY-ysfi0Su-FZeNI77RyKvrOLD6v0oel-PAk9pAoWVOijmQRfoMHiffYSlSGM7KWTZM-tU0L_YxwKnEoq9o16a1ExoYQnuAOriCESPiGq0kACU1OHYq27SzBtfsHWadyQnh7lheDveHBG7UvaEVKk5lMr8bjxXaQuOOiPpY2FEq2K64r1UQ3kEhrF4rIQ5-U9xapL3wo_zh5_U4X7131g379tfBlFPSK-G8RmeW5oVw5NhP_WiRqxFKjyZBuF5eYJU-7JN3skoc4HkXeGBL3s8dR5I97ZYIrmf_cwIpsxaWlVx3B9LyVIJ1Td2eWa5PR0nDWftOFacu1CU3WddXbLliUXakRvIS9Qdgfhv1BOBiGg0F4-gLent_9DgAA__8TijsP +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkt-L2kAQx9_7VyzfJ4U9NPH6sk-xV1ssucSqB3cUkTU7DdKYSXc3cEX830uSQvXAtL7t_PjMfgbmCPezgMLseRFP54kYfJyv1quv8VCsZvHsYS12Uhz06yAbik_L9FE4tp7M1mivo-_M4vMyfVqIDy9iB4mSDSX6QA7qGwJIvMdGorKckXNsm_SxbZqbV6ixxL6sat-kNxIZW4I6wu99QVBI-I6r0QQShrzeF23bSYJr_xdyXucEdX-SZ4OD_sFrvStoSdqQHY0vxuPNdpB44KI-lE4JLdsVV5VuojtIpLVXIgpwTSq4ReoL78s_TsF1p7P3tvpBv84Fd1JkV13CW1ymeW4p157tKLx0iRq31BqyZNrdJabJyzZJ19vkKY4HUTCExOP0eRCFw6sykwuZf5zBklzFpaP_uoPxaSNBJqfu1BzXNqOF5az9pgvTlmsThpzvqvddMC-7UiN4Dge9cNgPh73wpB-e9MLjN_Dm9O53AAAA__8rGDy4 query T EXPLAIN (DISTSQL) SELECT * FROM (SELECT a, max(c) FROM sorted_data GROUP BY a) JOIN (SELECT b, min(c) FROM sorted_data@foo GROUP BY b) ON a = b @@ -940,7 +940,7 @@ vectorized: true table: sorted_data@foo spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMl1Fv4kYQx9_7KVbzBL1FZteGEEsnOb2mFSdiUuCkO1UIGbwBVPBS20h3ivjulXEqDIYdFjut3zD4t55Z__6Z7CtEf6_Ahsevz72Hrktqv3aHo-EfvToZPvYeP43Iz-S3Qf-J1N4uPUrW3vfarJ5-HckwFv7E92KP_D7of3kmv3wjXp187idrvTFTStbL4BzjvEh54KZ10neJRz6SKVAIpC9cby0isP8EBhQ4UDCBggUUWjCmsAnlTESRDJNbXvdA1_8OdpPCMths4-TrMYWZDAXYrxAv45UAG0bedCUGwvNFaDSBgi9ib7naPyZbWubzZPOX-AEUPsnVdh1EdrILM6Aw3HjJVcNgxAt8woiMFyKE8Y6C3MaHCqLYmwuw2Y5eX-XDfB6KuRfL0GgdF-kkm9EPfREK3yb7qwf328Ttjybul16v5rA6UHh6-FpzeP2kmMP60x9k4UWL3NLj3aFgfrHgwzoyLeR0nQ_pQoquWPP_asss1hY93LUNzt13tvMnEc7FZ7kMRGiwzvG6K_ES1xz2of4xXM4X6cdkM7ZxshHU4dQxqWNdFOvuioY0SnVlQ24Mbp7cef7ZnaNns-ujx8qInsEaBr8hfEidGU3b1QgfKzl8rBrh026rhPDdv2f4-PUB4KUEgDcM84YAIHVmVLmrRgB4yQHg1QiAdlvFA8Cb7xkA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ul16v5rA6UHh6-FpzeP2kmMP60x9k4UWL3NLj3aFgfrHgwzoyLeR0nQ_pQoquWPP_asss1hY93LUNzt13tvMnEc7FZ7kMRGiwzvG6K_ES1xz2of4xXM4X6cdkM7ZxshHU4dQxqWNdFOvuioY0SnVlQ24Mbp7cef7ZnaNns-ujx8qInsEaBr8hfEidGU3b1QgfKzl8rBrh026rhPDdv2f4-PUB4KUEgDcM84YAIHVmVLmrRgB4yQHg1QiAdlvFA8Cb7xkA8_oAmKUEwGwY1g0BQOrMqNKpRgDMkgNgViMA2m2VEAD2ngGwrg-AVUoArIbRuiEASJ0ZVe6rEQCr5ABY1QiAhi-sdVmYFylPHJlmTqgHnS_aYelUlSTp36Lat1k8TSy-VEzrRlXZbf-tdN3CL7VdzNUS_qrx_-pQeaaQgYg2MojEVUfGZtKK8Oci3Z1IbsOZeA7lbP-Y9LK_5_Zf-CKK019ZetEN0p-SArMwO4VZFuZHMNOD74rAjBWiW4XoezXNlbRZBO4UgRnyuhC6XYTmSNumUlJLDVtKmFtqxVtKuq2G20XyoYaRfKhhLB8IjeQDoZF83BXJhxpG8qGGsXwgNJIPNY3lo1MkH_fqCdBERkBugGjNADWNDQE1jU4BBMfGAIIjnjP1GEHeOEIjpiM0pjqGI64jOCY7y80SHduZepYwZByw3DTR0l1NY7qraVR3BMd0R3BM99wg1dJdTWO6q2lUdwTHdFfjqO65caqle26wHOveQXTPTRYt3dU0pruaRnVHcEx3BMd0z01VLd3VNKa7mkZ1R3BMdzWO6c7VB1KOnEh5brYc4xzBdU5nXJPuFKJPXps23i6Ec6x1vSPaePfTPwEAAP__FdJiSQ== # Verify that the stages preserve the ordering as expected. query T @@ -1102,4 +1102,4 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlttv4kYYxd_7V4y-J1AHmRmbm6VKThNakRKbcpEaVShy8IjQEA_1BW0U8b-vbO8uxizzcQviJbIhv5kzc853xAeE_8_BhPY_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/distsql_indexjoin b/pkg/sql/opt/exec/execbuilder/testdata/distsql_indexjoin index adb3b5870970..f0c11cd02bd6 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_indexjoin +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_indexjoin @@ -92,4 +92,4 @@ vectorized: true table: t@v spans: [/41 - /49] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkdGPmkAQxt_7V0zmSZM1LKAv-6RVmtJYsGDSNi1pKEwMEVnKLvYuhv_9Alw8NZG7e5xv5zffN7MnVP9yFOj82KwXrgejlRtuw2_rMYTO2llu4T98CvyvoOH7ZydwYHSE3zXnNsGUj2Hhrc5KAjM-Bj9YOQF8_AlHZFjIlLz4QArFLzSR4QwjhmUlE1JKVq186prc9AEFZ5gVZa1bOWKYyIpQnFBnOicU6MmJLA0LGaak4yzv2hqGstYvkNLxjlDYDbsYbA4P3sZ_cwooTqky-NV41PN2jaXM60OhBOxZt1ZYxm1lTM2JMWsJv9YC5ibei2O-J84XmRXPaczbNPpPuafHs6N919G6cnzlsgGpUhaK3nRa3kQMKd1R_3tK1lVCm0omnU1f-h3XCSkp3b_afeEW_VMb8BI2B2FrGLYGYX4DR82HpwAAAP__UuLwig== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkVGPmkAQx9_7KSbzpMkaFtSXfdIqTWksWDBpm5Y0FCaGiCzHLnoXw3e_ABdPTeTuHue_8xt-M5xQPWQo0P61Xs0dFwZLJ9gEP1ZDCOyVvdjAEb743nfQ8POr7dswOMDfivMxwYQPYe4uz0kMUz4Ez1_aPnz-DQdkmMuE3GhPCsUfNJHhFEOGRSljUkqWTXxqm5zkEQVnmOZFpZs4ZBjLklCcUKc6IxToypEsDAsZJqSjNGvbaoay0q-Q0tGWUIxrdjHY7B-8if5n5FOUUGnwq_GoZ80aC5lV-1wJ2LF2raCImsqYmCNj2hBepQXMTLynY35E55tM8xcb89ZG_yt29HSpdGBwPBtYdw2sK4M3Lu2TKmSu6F2n5nXIkJItdX9TyaqMaV3KuP1MV3ot1wYJKd29jrvCybunRvASNnthqx-2emF-A4f1p-cAAAD___fw9W0= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_inverted_index b/pkg/sql/opt/exec/execbuilder/testdata/distsql_inverted_index index 3cde2a67e181..2319f24f31be 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_inverted_index +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_inverted_index @@ -92,7 +92,7 @@ vectorized: true right columns: () right fixed values: 1 column · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkk9v1DAQxe98itFcCsLSxtmbT6E0iK2WpCSV-FOilZsMkdvFE2wHAat8d5REFBbaVffmmef33k-Wd-i_blFh-v5i_WKVwdOzVXlZvl0_gzJdpy8vQcOrIn8DN57tJuhrePc6LVK4huRTH0VLgpMrKSCuTiAvztICTj-ARoGWG8r0F_KorlBiJbBzXJP37MbVbrqwar6jigQa2_VhXFcCa3aEaofBhC2hwo-m_anbczaW3CJCgQ0FbbZTbmkagkjdsSWfmTfGfkMxS_JeKe-DgkRiNQjkPvyp9kG3hEoO4vF4I1hBuiG3kPtwd82_D5vuln6gwDXzbd_BDRsLbCcUgXkGyfK_N1VKnZd5dvoI6vgY6pJdILeI94kT-fzB-OUx8QX5jq2nvfiHkqOhEkhNS_O_8Ny7mi4c11PNPOaTb1o05MOsynlY2VkaAf82y4Pm-LA5Pmhe_mOuhie_AgAA__9H7A1h +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkk9v1DAQxe98itFcCsLSxtmbT6FtEFstm5JU4k-JVt7NELlNPcF2ELDKd0dJRGGhXXVvnnl-b35jeYf-a4MK0w-Xy1eLFTw_XxRXxbvlCyjSZXp2BRpe59lbuPFs10Fv4P2bNE9hA8nnLormBCfXUkBcnkCWn6c5nH4EjQItV7TSd-RRXaPEUmDreEvesxtau_HCovqOKhJobNuFoV0K3LIjVDsMJjSECj-Z-qeuL9hYcrMIBVYUtGnG3MJUBJG6Z0u-MK-N_YZikuSDUtYFBYnEshfIXfgz2gddEyrZi6fjDWA56YrcTO7D3U_-fVi3t_QDBS6Zb7sWbthYYDuiCMxWkMT_valS6qLIVqco8Iyb7s56BZsnrBAfs0LBLpCbxfv4iXz5aPz8mPicfMvW0178Y8lRXwqkqqbpk3ju3JYuHW_HMVOZjb6xUZEPkyqnYmEnaQD82ywPmuPD5vigef6Pueyf_QoAAP__rQARbQ== # Combine predicates with AND. Should have the same output as b @> '[1, 2]'. # This should use a zigzag join. @@ -120,7 +120,7 @@ vectorized: true right columns: () right fixed values: 1 column · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUl1v00AQfOdXrPalqTgpPuftntwSI1IFu9iV-ChWdI2X6Npwa-7OCIjy35FtKDVqo-bNO-OZnVndDv23LSpMP1wuzxYZTOaL8qp8tzyFMl2mr65Aw-sifwu3nu0q6Bt4_yYtUpjcQPK5jaIZwcm1rE5O4Sybj9G4Q_NinhZw_hE0CrRcU6a_kkd1jRIrgY3jNXnProN2_Q-L-geqSKCxTRs6uBK4ZkeodhhM2BIq_GQ2v_Tmgo0lN41QYE1Bm23vW5qaIFL3gZMvzCtjv6MYKPkolbdBQSKx2gvkNvxb7YPeECq5F8-P1wUrSNfkpnIc7n7z349Vc0c_UeCS-a5t4JaNBbZ9FIF5BpNkNj60UuqizLPzPwcf0fED-hmd4mM6lewCuWk87pPIl0_az46xL8g3bD2N7J9yjvaVQKo3NLwaz61b06Xjdb9mGPNe1wM1-TCwchgWdqC6gA_F8qA4PiyOD4pn_4mr_YvfAQAA___d0RnQ +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUl1vm0AQfO-vWO1LHPUkc_jtnkhiqjpyIYVI_UiRhc3WusS5pXdH1dbiv1dAm4YqseI3doaZnVndHt23HSqMP14tzxYJTOaL_Dp_vzyFPF7GF9dQwpssfQe3js3Kl2v48DbOYpisIfrSBMGM4ORGFiencJbMx2jYoWk2jzM4_wQlCjRcUVLek0N1gxILgbXlDTnHtoP2_Q-L6geqQKA2deM7uBC4YUuo9ui13xEq_Ky3v8rtJWtDdhqgwIp8qXe9b64rgkA9BI6-Mq-0-Y5ioOSTVNp4BZHEohXIjf-32vlyS6hkK14erwuWUVmRncpxuIfNfz9W9R39RIFL5rumhlvWBtj0UQSmCUyicHxopdRlnibnfw4-osNHNAq84F1zb5yC9QsKhscUzNl6stNwXC6Sr5-1nx1jn5Gr2Tga2T_nHLSFQKq2NDwhx43d0JXlTb9mGNNe1wMVOT-wchgWZqC6gI_F8qA4PCwOD4pn_4mL9tXvAAAA___isx3b # Filter with a nested array. This index expression is not tight. # This should use a zigzag join. @@ -148,7 +148,7 @@ vectorized: true right columns: () right fixed values: 1 column · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkk9v1DAQxe98itFcCsLSxtmbT6E0iK2WpCSV-LNEKzcZIreLJ9gOAlb57iiJKGzVrtqbZ57fez9Z3qP_vkOF6ceL9atVBs_PVuVl-X79Asp0nb6-BA1vivwdXHu226Cv4MPbtEjhCpIvfRQtCU42GykgrqoTyIuztIDTT6BRoOWGMv2NPKoNSqwEdo5r8p7duNpPF1bNT1SRQGO7PozrSmDNjlDtMZiwI1T42bS_dXvOxpJbRCiwoaDNbsotTUMQqVu65Cvz1tgfKGZJ3ivlfVCQSKwGgdyHf9U-6JZQyUE8Hm8EK0g35BbyEO62-e9h293QLxS4Zr7pO7hmY4HthCIwzyBZ3vOqSqnzMs9OH8EdP4W7ZBfILeJD5kS-fDB--ZT4gnzH1tNB_EPJ0VAJpKal-Wd47l1NF47rqWYe88k3LRryYVblPKzsLI2A_5vlUXN83BwfNS_vmKvh2Z8AAAD__9JIDtE= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkk9v1DAQxe98itFcCsLSxtmbT6FtEFstm5JU4s8SrbybIXKbeoLtIGCV746SiMJW7aq9eeb5vfmN5T367w0qTD9dLt8sVvDyfFFcFR-Wr6BIl-nZFWh4m2fv4dqz3QS9hY_v0jyFLSRfuyiaE5ys11JAXJYnkOXnaQ6nn0GjQMsVrfQteVRrlFgKbB3vyHt2Q2s_XlhUP1FFAo1tuzC0S4E7doRqj8GEhlDhF1P_1vUFG0tuFqHAioI2zZhbmIogUnd0yTfmjbE_UEySfFDKuqAgkVj2ArkL_0b7oGtCJXvxdLwBLCddkZvJQ7i7yX8Pm_aGfqHAJfNN18I1GwtsRxSB2QqS-IFXVUpdFNnqFAWecdPdWq9g-4Ql4ucsUbAL5Gbx4QKJfP1o_Pw58Tn5lq2ng_jHkqO-FEhVTdM38dy5HV063o1jpjIbfWOjIh8mVU7Fwk7SAPi_WR41x8fN8VHz_J657F_8CQAA__9KGRLd subtest array @@ -209,4 +209,4 @@ vectorized: true right columns: () right fixed values: 1 column · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkkFv00AQhe_8itFcCmKleJ0L2pMDNcIoxGUdCUqxom08REvDjtldI0rk_45io5ZAG7W3mXl-732ydofh-xYV5h_P5rNiAU9Pi2pZvZ8_gyqf56-WYOC1Lt-B8d5cr6K5zL4wr6z7AR_e5DqHS8g-d0kyJTjZSQFpfwKlPs01vDwHgwIdN7Qw3yigukCJtcDW85pCYL8_7YYPiuYnqkSgdW0X9-da4Jo9odphtHFLqPCT3fwym7dsHflJggIbisZuh9zKNgSJ-h8SxajJu7WyiwoyiXUvkLt4Wx6i2RAq2YuHA-7RNJmG_EQe4t1W30yr9oquUeCc-apr4StbB-wGGIHlArLpzX-daT07v5BKqWKxfCHSP0P9AP70MfwV-0h-kh6yZ_L5vfHTx8RrCi27QAfx9yUnfS2Qmg2NbyRw59d05nk91IxrOfiGQ0Mhjqocl8KN0h7wb7M8ak6Pm9Oj5uk_5rp_8jsAAP__DSIVUw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkkFv00AQhe_8itFcCmKleJ0L2pNDa4RRiIsdCUqxok08REvTHbO7RpTI_x3ZRi2BNmpvM_P83nxj7R799x0qTD-dz2fZAp6fZeWy_DB_AWU6T0-XoOFNkb8H7Zy-WQW9Tr4yr4z9AR_fpkUKa0i-tFE0JTjZSwFxdwJ5cZYW8PoCNAq0XNNCX5NHdYkSK4GN4w15z64f7YcPsvonqkigsU0b-nElcMOOUO0xmLAjVPjZbH_p7Ts2ltwkQoE1BW12Q25paoJI_Q-JYtTk_VreBgWJxKoTyG24W-6D3hIq2YnHA_ZoBema3EQe4t2tvq1WzRXdoMA581XbwDc2FtgOMALzBSTx7X-dFcXs4lIqpbLF8pWI_xQVCjzlXXttvYL1I46Jn3JMyS6Qm8SHhyTy5YPx06fEF-Qbtp4O4h9KjrpKINVbGh-M59Zt6NzxZlgztvngGwY1-TCqcmwyO0o94N9medQcHzfHR83Tf8xV9-x3AAAA___ZeBlf diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_merge_join b/pkg/sql/opt/exec/execbuilder/testdata/distsql_merge_join index 7749273bfc0b..1caf90b23760 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_merge_join +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_merge_join @@ -1141,7 +1141,7 @@ vectorized: true table: child1@child1_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckl9v0zAQwN_5FNY9tezQmqQwEQnJsBWUqWtGUiQQilCIjywss4PtSKCq3x3lz9SmakfLU3y--zm_O3sF5lcJPsw-387fBgs2ugriZfxxPmbxbD67XLLn7H0U3rBcp1Jkd0UpHHYdBgvWrz_FweIDG1WFcJBlhXDGXbpKNUk7yI9ZGF3NIvbuC2tCQJBK0CJ9IAP-V3AgQai0ysgYpZutVVsQiN_gTxAKWdW22U4QMqUJ_BXYwpYEPizT7yVFlArS5xNAEGTTomyP3RLnW-tv1T39AYRLVdYP0vhs0wGy_PGTNpZxlTYFLyBZI6jabjSMTXMC31nj_6k6Q9Xe8gjBI8Xcg2Ibn1oqLUiTGLgkDfmvkj3d3ZDO6VoVkvS5O-yupB92xJ0z5O7Z-I0u8rtNCAhhbX3GHeQucg_5FPlL5K-QXxzszjtl7I1TP3Vv6NW_VN5_H-c-V-q-rthPVUimZKO2V_IC-euDhtNTDCMylZKGdu9h78mTZvgkcuou06haZ3SrVdb-pgvDlms3BBnbZd0uCGSbal_uNuycALu7sPsk7A3gyS7sPQlPd-Bk_exvAAAA___ZuYQa +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckm1v0zAQx9_zKax71bJDa5LCRCQkw1ZQpq4ZSZFAKEIhPrKwzA62I4GqfneUh6lNt46WV_E9_J3f3d8rML9K8GH2-Xr-Nliw0UUQL-OP8zGLZ_PZ-ZI9Z--j8IrlOpUiuylK4bDLMFiw_vwpDhYf2KgqhIMsK4Qz7spVqknaQX3MwuhiFrF3X1gTAoJUghbpHRnwv4IDCUKlVUbGKN2kVm1DIH6DP0EoZFXbJp0gZEoT-CuwhS0JfFim30uKKBWkTyeAIMimRdleuwXOt87fqlv6AwjnqqzvpPHZZgJk-f0nbSjjKm0aXkCyRlC13WAYm-YEvrPG_0N1hqg95QGAB4K5e8E2PLVUWpAmMWBJGuW_Wh6Z7op0TpeqkKRP3eF0Jf2wI-6cIHdPxm90kd9sQkAIa-sz7iB3kXvIp8hfIn-F_GzvdN4xa2-Y-q17Q67-pfL-e7_3uVK3dcV-qkIyJRu0h2ZUrQ0Pyc-Qv96LPT0GOyJTKWlo15xHb540jpDIqXPYqFpndK1V1v6mC8NW1yYEGdtV3S4IZFtqn_O22DlC7O6K3SfF3kA82RV7T4qnO-Jk_exvAAAA__8sDYqB # Multi-table join with parent1 and child1 at the bottom uses merge # joiner but induces a hash joiner on the higher join. @@ -1173,7 +1173,7 @@ vectorized: true table: grandchild1@grandchild1_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckm1v0zAQx9_zKax71bJDq5PyFAnJaBSUqWtHUyQkFKEQH1lYZgfbkUBVvzuK09GmrIXy6nIP_9zv7rwC-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c9sSjfXF4VDzeE6frJ38CAAD__wMwhqU= statement ok DROP TABLE grandchild2, grandchild1, child1, child2, parent1, parent2 diff --git a/pkg/sql/opt/exec/execbuilder/testdata/explain_analyze_plans b/pkg/sql/opt/exec/execbuilder/testdata/explain_analyze_plans index 99140339bb54..819fe0c0cfbb 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/explain_analyze_plans +++ b/pkg/sql/opt/exec/execbuilder/testdata/explain_analyze_plans @@ -412,4 +412,4 @@ regions: · Diagram 1 (subquery): https://cockroachdb.github.io/distsqlplan/decode.html#eJysU9Fq20oQfb9fMcyTDRssOVwo-5TUuGDiyMV2DKWYsFkNyhJpV90dNXaDP6s_0C8rkqw2IsRtaZ_sPTNn9szZoycMn3KUOEtW0-UaZsl6Afre5ClsLuc30xUMYgGD1XQ-nayhMHZQDuHdcnENpfJkeThEgdallKiCAsqPGKPA_3ErsPROUwjO1_BT0zRLdygjgcaWFdfwVqB2nlA-IRvOCSUm7syVozEKTImVyZuhtCNdsXEW2BQkIfr2NaDAO8X6ngK4isuKJUQo0LvHn0CM24PA9nS8L7DKCOX5QTzTFJ_WtFZ3OS1JpeRHUV9Za8NF-3NbPtAeBU5cXhU2SChR4KpU9d8zFDg3hWGoHbra9De52oB2lsm-XPJqA81OnlQqO_LdnqmD3sBbFHi9mUwgMJWgXWUZBrTjkbE8lBA1otsGoofXGgq1g4IK5_eg8txpxZRKiJrpf-F0_CdOX2aZp0yx86O4b_Rl8uE2Waxvk5v5fHAR17n796kY97T-IqlLCqWzgXo6X5scHbYCKc2o_RqCq7ym997p5pr2uGh4DZBS4LZ63h5mti3VAp-T45Pk8Wny-CQ56pObVZqt0BI_Ov8AuWKyev_D-Q5_VIb7b5JSIG9Ubr6olw_W0Y4x12Q-0zHqXanLe1drM99VCwpBZb2G6HeDsD389z0AAP__LpmnwQ== Diagram 2 (main-query): https://cockroachdb.github.io/distsqlplan/decode.html#eJyMj89K80AUxfffU1zOqoWBL9nOTiRCoLbSVjeSRZxc2oF0bpy5wULJY_kCPpk0I4gLweX53Tl_5oL02sOiXu-q7Z7q9X5D7uj7jp5uVo_VjhalocWuWlW3ezr5sBiWdLfd3NPQRg66XMIgSMfr9sQJ9hklGoMhiuOUJF7RZX5Qd2fYwsCHYdQrbgycRIa9QL32DIteXNuTkzEoFf8LGHSsre_nYD6zG9VLIPUntlR8vCcYvLTqjpxIRh1GtXR1RXn7BiWaySCrr96k7YFhy8n8fduW0yAh8Y9RvyUXU2PA3YHz_5OM0fFDFDfXZLmZfTPoOGm-llnUIZ-mZvr3GQAA__9Sm4hi -Diagram 3 (postquery): https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lMGO2j4Qxu__pxjNCSRLJLCHv3xii0DKkk0qyHKpUBWcYdcl2KntqCDEY_UF-mRVYlYtXYFK1Z5gPs83-U0-Kwe0n0vkGCXz8SyDKMlSEC-yLGBxHz-N59AJGXTm43g8ymArVafqwmSWPkKVG1Ku20WGSheU5FuyyD9giEuGldGCrNWmkQ5tQ1TskAcMpapq18hLhkIbQn5AJ11JyLHUIi_BilzBql6vyUDQC5BhQS6XZTs-rR2HYR8Z0o5E7aRW4OSWOATfvlpkuMqdeCELunZV09v4jf7yQwhxeWToqxOHdfkzIQ-P7PdZJ7J0ZMj0wnNAr3MYhhDNIUkzSJ7i-J_w9m_hfdBSzSgvyPT658TZviIO8XiSwX2SRfCQRgky9AEP_c_HakN7ZBhrvakr-KSlAq2aLZGdMmn-tQDQ4Dfcr7V1eVmebz1dvKmFVo7U2xc0XbQDwVBe-KnTBaz2jl6l_-EdMnxcjEZgHVUgdK0cdGjnelK5Lj9dIt9AtLnU8KcBBRcDGtwSkL_8ZIw2INd-57A3OM_q7zPe3cI4I1tpZekM6tLk4LhkSMUz-Y-A1bUR9N5o0T7Gl2nra4WCrPOnoS8i5Y8awJ_N4VVz_7q5f9U8uG4eXDXf_WJeHv_7HgAA__9_S8JN +Diagram 3 (postquery): https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lMGO2j4Qxu__pxjNCSRLJLCHv3xii0DKkk0qyHKpUBWSYdcl2K7tqCDEY_UF-mRVYlYtXYFK1Z6i-Tzf5Df5rBzQfq6QY5TMx7MMoiRLoXgRVQmL-_hpPIdOyKAzH8fjUQZbITu6C5NZ-gg6NyRdt4sMpSopybdkkX_AEJcMtVEFWatMIx3ahqjcIQ8YCqlr18hLhoUyhPyATriKkGOlirwCW-QSVvV6TQaCXoAMS3K5qNrxae04DPvIkHZU1E4oCU5siUPw7atFhqvcFS9kQdVON72N36gvP4QQl0eGvjpxWJc_E_LwyH6fdSIqR4ZMLzwH9DqHYQjRHJI0g-Qpjv8Jb_8W3gcl5Izykkyvf06c7TVxiMeTDO6TLIKHNEqQoQ946B8f9Yb2yDBWalNr-KSEBCWbLZHhSFX1VloOGk8M0GzQoL_W1uVVdb74dPGmLpR0JN9-o-miHQiG8tJPnS5gtXf0Kv0P75Dh42I0AutIQ6Fq6aBDO9cT0nX56R75BqLNpYY_zSi4mNHgloz8_SdjlAGx9juHvcF5XH-f8e4WxhlZraSlM6hLk4PjkiGVz-T_A1bVpqD3RhXta3yZtr5WKMk6fxr6IpL-qAH82RxeNfevm_tXzYPr5sFV890v5uXxv-8BAAD__9KTw_U= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_geospatial b/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_geospatial index ea08b3a65774..f9c8c63db197 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_geospatial +++ b/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_geospatial @@ -32,7 +32,7 @@ vectorized: true table: geo_table2@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk-GP0jAUwL_7VzTvC5DUo9swmn5Cz53OcIBAosaSZdInLox2tp2ZIfzvZtt5HFzYHfvQrO_t1_7eW7sD-zsDDuHX6ehtNCbd99F8Mf886pF5OAqvF2RDbmaTW7JGHbvkR4Y--fIxnIXEujhVDo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DI7rCig3GAzyVYXZo0zo9f1Nc12WnN1QKJ1TdZrNpFqUpXAh7DXCvvtsN8KB-1w0AoPz-DV4dmfAAAA__9IUKyF query T EXPLAIN (DISTSQL) SELECT k, k_plus_one FROM geo_table2 WHERE ST_Intersects('POINT(3.0 3.0)'::geometry, geom) @@ -55,7 +55,7 @@ vectorized: true table: geo_table2@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk1Fv0zAQx9_5FNa9rJXM6iRFID8FRgZBXVvaSoBwFYX6KFFTO9gOCqr63VGSwdpOzWgerNxd_vbvf_HtwP7MgUP0eTp6HY9J7208X8w_jvpkHo2imwXZULJJiry0iVZIbmeTO7JGnbj0W44--fQ-mkXEuiRTDo3FlbO9q-kkHi96wTUjwTXrX3H-LprcRYvZF1pLt32goLTEcbpFC_wreLCkUBi9Qmu1qVO75oNYVsAZhUwVpavTSworbRD4DlzmcgQOi5pjhqlEM2BAQaJLs7zZ9gEzrI9NMiWxAgo3Oi-3yvJjay0bUJgXaV0cCHgjRPVdClF5TIiKPbXA80s1ngCSKkkCRrT7gcbCck9Bl-7Br3XpGoF7e_r_PYnVLzQO5W2WOzRoBt5xY_7Wo6owRCsS-pzY2jWxLjWONy6Cly-EYD4TgrGnFiCo5KWy2vyJewqT0nESejT0z7bCv6QVH3Sm7m-H33U77l-TYoO_jzBoGJwlCS4h-fczgmOONs9PZ4h5zGOPn1fDR_EVPxyw0O8f8p-HH14CP0NbaGXxCP3czmy_pIByje0kW12aFU6NXjXHtOGk0TUJida1Va8NYtWWasBDsdcp9rvFfqc46BYHneLhiXi5f_YnAAD__0gur0U= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk1Fv0zAQx9_5FNa9rJXM6iRFID8VRgZBXVvaSoBwFYX6KFFTO9gOCqr63VGSwdpOzUgerPguP_v_v9ztwf7MgEP4eTZ-HU1I7220WC4-jvtkEY7DmyXZUrKN86ywsVZIbufTO7JBHbvkW4Y--fQ-nIfEujhVDo3FtbO9q9k0mix7wTUjwTXrX3H-Lpzehcv5F1qhuz5QUFriJNmhBf4VPFhRyI1eo7XaVKF9_UEkS-CMQqrywlXhFYW1Ngh8Dy51GQKHZaVjjolEM2BAQaJL0qw-9kHmqLo2TpXEEijc6KzYKctPrTXagMIiT6rkQMAbIcrvUojSY0KU7KkFnndlPAEkUZIEjGj3A42F1YGCLtyDX-uSDQL3DvT_axKpX2gcyts0c2jQDLzTwvzNh2VuiFZk5HNiK9fEusQ4XrsIXr4QgvlMCMaeWoCgkl2xyvyZewrTwnEy8ujIv1gKv0spPuhU3XeH39Yd969xvsXfZy1StcVxo1wUFnQR9u_fBKeymjg_HynmMY89fl4NH-2v-PG8jfz-cVWDi-KHXcTP0eZaWTyRfulkdlhRQLnBZrCtLswaZ0av62ua7bTm6oBE65qs12wi1aQqgcew1wr77bDfCgftcNAKD8_g1eHZnwAAAP__TcK2Gg== query T EXPLAIN SELECT k, k_plus_one FROM geo_table2 WHERE ST_Intersects('POINT(3.0 3.0)'::geometry, geom) diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_geospatial_dist b/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_geospatial_dist index e8766b9da6ec..b3210a522f7d 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_geospatial_dist +++ b/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_geospatial_dist @@ -43,7 +43,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUVF9v2j4Uff99Cuu-FPTzwHZSbfUT_ZNumWjpAtNWzQhl5K6LoDazzZSp4rtPSbq2UJE2fnB87_U5OefGzh24X0uQEH29Gh7Hl6RzFo8n40_DLhlHw-h0QhbkPBldkBs0M59-XyL58iFKIuL8LNcercO5d52Di8_DSXw1ii8nnY7oCSJ6oktJJ-gxEvRYt3sg5ftodBFNkmtact12ySg5ixJyck0WQEGbDC_TW3QgvwGHK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rvgSbwnHj7Mkdd_wQUEXVxPtXFohsG25xF_vZN-vwt9jLbQyuIW_S5mtplTwPQKm0-K1WuzxAujl_XfNOGkxtWJFK1rdnkTRKrZqgQ-BPNWsNcO9lrBfjvYbwUH7eCgFbz_CDzfvPobAAD__7nZ7IU= # The inverted filterer handles five inverted index rows with decoded # datums, where the first column is the PK (k) and the second is the cellid @@ -94,7 +94,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUVF9v2j4Uff99Cuu-FPTzwHZSbfUT_ZNumWjpAtNWzQhl5K6LoDazzZSp4rtPSbq2UJE2fnB87_U5OefGzh24X0uQEH29Gh7Hl6RzFo8n40_DLhlHw-h0QhbkPBldkBs0M59-XyL58iFKIuL8LNcercO5d52Di8_DSXw1ii8nnY7oCSJ6oktJJ-gxEvRYt3sg5ftodBFNkmtact12ySg5ixJyck0WQEGbDC_TW3QgvwGHKYWVNXN0ztgydVdtiLMCJKOQ69Xal-kphbmxCPIOfO6XCBImpcYE0wxtnwGFDH2aLyvaBwuDUsAs1xkWQOHULNe32kmyqJUBhfEqLRN9BSdKFT8ypQrOlCrYSxO8aYvhCkiqMxIwYvxPtA6mGwpm7R8tOp_eIEi-oa9vQ6x_o_WYnedLjxZtn2_34l89KlaWGE0GXBJXuibOp9bLykXw9lApJphSjL00AUGdtYWV5nfcUxitvSQDvrcPok0fPppc358G0XAa6tVstcA_jwroQOwVEbQR8fARgm0JdV7u3iXGWcjqIe6fnPF6cXR89DAYD5_Fjzu3xrvwWXwgn17Jgei-ovVhG9djYz3afrjtecD_30t_2IY-Qbcy2uEW_T5mtplSwOwG65-JM2s7xytr5tVr6nBU4apEhs7XVV4Hsa5LpcCnYN4IFs1g0QgOmsFBIzhsBoeN4MMd8HTz398AAAD__9wy6Yw= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUVF1v0zAUfedXWPdlrTCtnWSC-an7yCCoW0daBBOuqtBcRtTMDraLgqb-d5RkbOtGs8UPru-1z-k519e5AfsrBwHh14vxYXROeifRdDb9NO6TaTgOj2dkRU7jyRm5Qr1wyfccyZcPYRwS6xaZcmgsLp3t7Z19Hs-ii0l0Puv1vIFHvIHXp6TnDxjxB6zf3xPifTg5C2fxJa24rvtkEp-EMTm6JCugoHSK58k1WhDfgMOcQmH0Eq3Vpkrd1AeitATBKGSqWLsqPaew1AZB3IDLXI4gYFZpjDFJ0QwZUEjRJVle095ZGFUCFplKsQQKxzpfXysryKpRBhSmRVIlhhKOpCx_pFKWnElZsucmeNMVwyWQRKXEZ0S7n2gszDcU9NrdW7QuuUIQfENfXoZI_UbjMD3NcocGzZBv1-LfflgWhmhFRlwQW7km1iXGidqF_3ZfSuYxKRl7bgKCKu0Kq8w_ck9hsnaCjPjOOnhd6vBRZ-q2G7yWbmhWi2KFf_7XEbuk-F2k3F2Fvy2kyYvHL4pxFrBmeLe_nPFmcXB4cDcYD57E9ye3xrvgSbwnHj7Mkdd_wQUEXVxPtXFohsG25xF_vZN-vwt9jLbQyuIW_S5mtplTwPQKm0-K1WuzxAujl_XfNOGkxtWJFK1rdnkTRKrZqgQ-BPNWsNcO9lrBfjvYbwUH7eCgFbz_CDzfvPobAAD__7nZ7IU= statement ok ALTER INDEX geo_table@geom_index EXPERIMENTAL_RELOCATE VALUES (ARRAY[2], 1152921574000000000) @@ -132,7 +132,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUVF9v2j4Uff99Cuu-FPTzwHZSbfUT_ZNumWjpAtNWzQhl5K6LoDazzZSp4rtPSbq2UJE2fnB87_U5OefGzh24X0uQEH29Gh7Hl6RzFo8n40_DLhlHw-h0QhbkPBldkBs0M59-XyL58iFKIuL8LNcercO5d52Di8_DSXw1ii8nnY7oCSJ6oktJJ-gxEvRYt3sg5ftodBFNkmtact12ySg5ixJyck0WQEGbDC_TW3QgvwGHKYWVNXN0ztgydVdtiLMCJKOQ69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tXFohsG25xF_vZN-vwt9jLbQyuIW_S5mtplTwPQKm0-K1WuzxAujl_XfNOGkxtWJFK1rdnkTRKrZqgQ-BPNWsNcO9lrBfjvYbwUH7eCgFbz_CDzfvPobAAD__7nZ7IU= # Data is distributed, but the filterer can't be distributed since it is not a union. query T @@ -160,7 +160,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUVF1P2zAUfd-vsO4Lrea1thO04afyEbZMhbK004bmqgr1Hata4s52URDqf5-SMKBFDcQPju-9Pifn3Ni5B_d3ARKinxf9w_ictE7i4Wj4rd8mw6gfHY_InJwmgzNyjWbi06sFkh9foiQizk-m5hYt6qu71t7Z9_4ovhjE56NWS3QEER3RpqQVdBgJOqzd3pPyczQ4i0bJJS2obtpkkJxECTm6JHOgkBmN5-kNOpC_gMOYwtKaKTpnbJG6LzfEOgfJKMyy5coX6TGFqbEI8h78zC8QJIwKiQmmGm2XAQWNPp0tStpHB71CwGSWacyBwrFZrG4yJ8m8UgYUhsu0SHQVHCmV_9ZK5ZwplbPXJvjQFMMVkDTTJGDE-D9oHYzXFMzKP1l0Pr1GkHxN396GOLtF61GfzhYeLdou3-zF_3qULy0xGelxSVzhmjifWi9LF8HHfaWYYEox9toEBDPdFFaY33JPYbDykvT4zj6IJn34ambZw2kQNaehWk2Wc7x7UkB7YqeIoImIx48QbEqo8nLrKjHOQlYN8fDkjFeLg8ODx8F4-CJ-2rkxPoUv4j35_Eb2RPsNnQ-bmB4a69F2w03LPf5-J_1-E_oE3dJkDjfodzGz9ZgC6mus_iXOrOwUL6yZlq-pwkGJKxMana-qvArirCoVAp-DeS1Y1INFLTioBwe14LAeHNaC97fA4_W7fwEAAP__ZL_oig== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUVF9P2z4Uff99Cuu-0OrntXYStOGn8idsmQplaacNzVUV6jtWNcSZ7aIg1O8-JWFAyxqIHxzfa5-Tc26ucw_2dwoCwu8Xw8PonHROovFk_GXYJeNwGB5PyJKcxqMzco165pKrFMm3T2EcEutmc32LBtXVXWfv7OtwEl2MovNJp-P1POL1vC4lHb_HiN9j3e6eEB_D0Vk4iS9pSXXTJaP4JIzJ0SVZAoVMKzxPbtCC-AEcphRyo-dorTZl6r46EKkCBKOwyPKVK9NTCnNtEMQ9uIVLEQRMSokxJgpNnwEFhS5ZpBXto4NBKWC2yBQWQOFYp6ubzAqyrJUBhXGelIm-hCMpi59KyoIzKQv22gTv2mK4BJJkiviMaPcLjYXpmoJeuSeL1iXXCIKv6dvLEGW3aByq00Xq0KDp881a_N0Pi9wQnZEBF8SWrol1iXGicuG_35eSeUxKxl6bgGCm2sJK81vuKYxWTpAB31kHr00dPutF9tANXkM31KtZvsS7f3XELil-GymPn8LfFFLnxdaFYpwFrB7ew5MzXi8ODg8eB-PBi_jp5Mb4ELyI98Tzeznwum-of9DG9Fgbh6YfbFoe8P930u-3oY_R5jqzuEG_i5mtpxRQXWP9R7F6ZeZ4YfS8ek0djipclVBoXb3L6yDK6q1S4HMwbwR7zWCvEew3g_1GcNAMDhrB-1vg6fq_PwEAAP__PGfrgw== # Move all the index data that will be read to node 2 while the query executes # at node 1. The filtering moves to node 2 when it is distributable. @@ -202,7 +202,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlN9v2jAQx9_3V1j3UtBcsJ3QrX6iP9ItE4UuMG3VjFBGbl0EtTPbTEwV__sU0rWlFaH4IeTO_hz3_cb2Hbjfc5AQfbvqncR90jiPh6Ph516TDKNedDYiM3KRDC7JDZqJT3_MkXz9GCURcX6Sa4_W4dS7xsHll94ovhrE_VGjIVqCiJZoUtIIWowELdZsHkj5IRpcRqPkmpa1bptkkJxHCTm9JjOgoE2G_fQWHcjvwIGCgDGFwpopOmdsmb5bL4qzJUhGIdfFwpfpMYWpsQjyDnzu5wgS-ubQFO0OUMjQp_l8vWxFwSz8I-R8eoMgj1b0SW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fFc1XbEC4j-qhsR5tO9zU3OX_bw3f2Qi_4x1J0BVGO3zVQ8JWYwqY3WD1VjmzsFO8sma6_k1lDtbc2pGh89XsUWXEupoqE3wK81pY1MOiFg7q4aAWDuvhsBbu1MOdWpg9g8er__4EAAD__8RFHrA= # Filtering is at gateway node since the filter is not distributable. # @@ -233,7 +233,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlF9v2jwUxu_fT2Gdm4JeF2wndKuv6J90y0ShC0xbNSOU4rMOQePMNhVVxXefQrq2tCJtfBFyjv07nOeJ7XtwfxYgIfpx0TuK-6RxGg9Hw6-9JhlGvehkRObkLBmck2s0E59eLZB8_xwlEXF-MjW3aFFf3TX2zr_1RvHFIO6PGg3REkS0RJOSRtBiJGixZnNPyk_R4DwaJZe0KHXTJIPkNErI8SWZA4XMaOynN-hA_gQOFASMKeTWTNE5Y4v0_WZRrFcgGYVZli99kR5TmBqLIO_Bz_wCQULf7Ju83QEKGn06W2yWrSmYpX-CnE-vEeTBmj4rzKsLjwr9CaYabZttlYdHe7qFusks07gCCidmsbzJnCTzUjZQGOZpkWgrOFZq9UsrteJMqRV76wH7dRmugKSZJgEjxv9G62CXDbyODXF2i9ajPpstPFq0bb7txb_5aJVbYjLS5ZK4QjVxPrVeblQEHzpKMcGUYuytBxDMdF2sEP9CPYXB0kvS5Tt9EHV8-GJm2cNuEBW7oXyb5HO8e-qAdsXOJoI6TTx-hGC7hTIvX5xTxlnIyiEefjnj5cvh0eHjYDx8FT-t3Bofw1fxnnx-3Lui-Q7nwzqih8Z6tO1wW3KX_7-zfGer_BsXSIIuN5nDd90gbD2mgPoay0vKmaWd4oU1083flOFgw20SGp0vZw_KIM7KqaLB5zCvhEU1LCrhoBoOKuGwGg4r4U413KmE2Qt4vP7vbwAAAP__f50atQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlN9v2jAQx9_3V1j3UtBcsJ3QrX6iP9ItE4UuMG3VjFCKbx2CxpltKqqK_30K6drSjlD8EHJnf477fmP7HtyfGUiIflx0juIuqZ3G_UH_a6dO-lEnOhmQKTlLeufkGs3Ip1czJN8_R0lEnB-NzS1a1Fd3tb3zb51BfNGLu4NaTTQEEQ1Rp6QWNBgJGqxe35PyU9Q7jwbJJS1K3dRJLzmNEnJ8SaZAITMau-kNOpA_gQMFAUMKuTVjdM7YIn2_WhTrBUhGYZLlc1-khxTGxiLIe_ATP0OQ0DX7Jm-2gIJGn05mq2VLCmbunyDn02sEebCkzwrz6sKDQn-CqUbbZGvl4dGedqFuNMk0LoDCiZnNbzInybSUDRT6eVokmgqOlVr80kotOFNqwbY9YH9XhisgaaZJwIjxv9E62GQD38WGOLtF61GfTWYeLdomX_fi33y0yC0xGWlzSVyhmjifWi9XKoIPLaWYYEoxtu0BBDO9K1aIf6GeQm_uJWnzjT6IXXz4YibZw24QFbuhfBvlU7z7347Y1EqwSyuPnyJYb6TMyxenlXEWsnKIh1_OePlyeHT4OBgPX8VPK9fGx_BVvCefH_q2qL_B_3AX0X1jPdpmuC65zd9vLN9aK7_lGknQ5SZz-KZ7hC2HFFBfY3lVOTO3Y7ywZrz6mzLsrbhVQqPz5exBGcRZOVU0-BzmlbCohkUlHFTDQSUcVsNhJdyqhluVMHsBD5fv_gYAAP__vQcdrg== # Bounding box operations. statement ok @@ -276,7 +276,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlNFv2j4Qx99_f4V1L20lt9gJ_Db5ia1Lt0wUGCBt04xQhm8sItiZ7UyZEP_7lGRrCxVh8GBxZ38u9_3Gly24HxkIiD6NB6_iIbl8E09n0w-DKzKNBtHtjKzJ3WR0T1ZoFj75miH5-C6aRFW8IbJgLPi_WcnFeBQPZ5fhDSPhDbu6EOJtNLqPZpPPQEEbhcNkgw7EF-BAIYA5hdyaJTpnbJXe1odiVYJgFFKdF75KzyksjUUQW_CpzxAEDM21y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MJhOxy2wt12uNsKswN4vvvvZwAAAP__SRfTUA== query T retry EXPLAIN (DISTSQL) @@ -300,7 +300,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk99v2jAQx9_3V1j3Qiu5wk5gm_zEaFONiUEHSEOaEcrwjUUEO7OdKRPif5-SrD9oRyh5sOI7fy73_ca3A_crBQHR_G74YTAiFzeD6Wz6ZXhJptEwup6RDbmdjD-TNZqlj7-nSL5-jCYRaTHOOHv5vO-82LeE6I_nwQ2ROWPB23otC26BgjYKR_EWHYhvwIFCAAsKmTUrdM7YMryrDg1UAYJRSHSW-zK8oLAyFkHswCc-RRAwMlcma3eAgkIfJ2l1bE_B5P4Rcj5eI4junj4pzJsLz0rlE4wV2jY7KA8PxvRKRctEKyyAwrVJ8612gmzovdRpFpeBtoS-lMUPJWXBmZQFO7XA1bkMl0BirUjIiPE_0To4ZgM_x4aB_o3Wo7pNUo8WbZsfenGfj4rMEqNJjwviStXE-dh6UakI33WlZAGTkrFTCxDU6lysFP9MPYVx7gXp8aM-BOf48Mkk-t9tCBpuQ_22zDb457ED2guONhGe08TDTwgPW6jjgrT64_lFSEIakvCyJf47hL3gFdZ0Dro6MYITdJnRDl81g2y_oIBqjfWYO5PbFd5Zs6o-U2_HFVcFFDpfZ7v1ZqDrVNngU5g3wkEzHDTCYTMcNsKdZrjTCLNn8GL_5m8AAAD__5e_zZI= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk1Fv2jAQx9_3Kax7oZVcYSewTX5itKnGxKADpCHNCGX4xiKCndnOlAnx3acka1faEkoerPjs3-X-_9ztwP1KQUA0vxt-GIzIxc1gOpt-GV6SaTSMrmdkQ24n489kjWbp4-8pkq8fo0lEWowzzp4_7zvP9i0h-uN5cENkzljwtl7LhFugoI3CUbxFB-IbcKAQwIJCZs0KnTO2DO-qSwNVgGAUEp3lvgwvKKyMRRA78IlPEQSMzJXJ2h2goNDHSVpd21Mwuf8POR-vEUR3Tx8l5s2JZ6XyCcYKbZsdpIcHY3qlomWiFRZA4dqk-VY7QTb0Xuo0i8tAW0JfyuKHkrLgTMqCnVrg6lyGSyCxViRkxPifaB0cs4GfY8NA_0brUd0mqUeLts0Pvbg_j4rMEqNJjwviStXE-dh6UakI33WlZAGTkrFTCxDU6lysFP9EPYVx7gXp8aM-BOf48Mkk-l83BA3dUL8tsw3-eakjjpUSnlPKw68IDwup44K0-uP5RUhCGpLwsiVeHMVe8AqDOgdVnRjECbrMaIevmkS2X1BAtcZ62J3J7QrvrFlVn6m344qrAgqdr0-79Wag66OywMcwb4SDZjhohMNmOGyEO81wpxFmT-DF_s3fAAAA___Mu9CL query T retry EXPLAIN (DISTSQL) @@ -324,7 +324,7 @@ vectorized: true table: geo_table@geom_index spans: 33 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlFFv2jwUhu-_X2GdG1rJLXYS9Em-YutCl4lCF5C2aUZVRs5YRLAz20yZEPvtU5LRAhKhWIqTc-zHOe8bOxuwP3MQEH5-HL6JRuTqXTSZTj4Or8kkHIZ3U7Ikg3j8QBaon1zyLUfy6X0Yh6QzjEbhZBpHo_srfssIv2WU9G5ZdV13hLgPxw_hNP5C_lToCigoneIoWaEF8RU4UPBgRqEweo7WalOlN_WkKC1BMAqZKtauSs8ozLVBEBtwmcsRBIz0jS66AVBI0SVZXk_bUtBr9wJZlywQRG9L9xbm7QtPK40xJimaLjtYHp4t6FeKnjKVYgkU7nS-XikryJLupE6KpEp0JbyVsvyeSllyJmXJznVwcynDJZBEpcT3iHY_0Fg4ZQO_xIZI_ULjMB1kuUODpssPvdiNh2VhiFakzwWxlWpiXWKcqFX4__ekZB6TkrFzHRBU6aVYJf5IPYXx2gnS5yd98C7x4YPO1L_d4LXshubpqVji75cKaN87WYR_SRHPH8E_LKHJC9JhnHmsabv7Xhswf9AW8yBgx3FHHBzhvvcKY4MDTWcOcIy20Mriq04w284oYLrA5idh9drM8dHoef2aJhzXXJ1I0bpmtNcEkWqGqgL3Yd4Ke-2w1wr77bDfCgftcNAKsyN4tv3vbwAAAP__Y7rV0Q== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlFFv2jwUhu-_X2GdG1rJLXYS9Em-YutCl4lCF5C2aUZVRs5YRLAz20yZEPvtU5LRARqhWIqTc-zHOe8bOxuw33MQEH58HL6KRuTqTTSZTt4Pr8kkHIZ3U7Ikg3j8QBaon1zyJUfy4W0Yh6QzjEbhZBpHo_srfssIv2WU9G5ZdV13hLgPxw_hNP5EflXoCigoneIoWaEF8Rk4UPBgRqEweo7WalOlN_WkKC1BMAqZKtauSs8ozLVBEBtwmcsRBIz0jS66AVBI0SVZXk_bUtBr9xeyLlkgiN6W7i3M2xeeVhpjTFI0XXawPDxb0K8UPWUqxRIo3Ol8vVJWkCXdSZ0USZXoSngtZfk1lbLkTMqSnevg5lKGSyCJSonvEe2-obFwygZ-iQ2R-oHGYTrIcocGTZcferEbD8vCEK1InwtiK9XEusQ4Uavw_-9JyTwmJWPnOiCo0kuxSvyRegrjtROkz0_64F3iwzudqT-7wWvZDc3TU7HEn__aEadK8S8p5flT-IeFNHlBOowzjzVtd99rA-YP2mIeBOw47oiDg9z3XmBvcKDpzDGO0RZaWXzROWbbGQVMF9j8Kqxemzk-Gj2vX9OE45qrEyla14z2miBSzVBV4D7MW2GvHfZaYb8d9lvhoB0OWmF2BM-2__0OAAD__zwl2Mo= query T retry EXPLAIN (DISTSQL) @@ -348,4 +348,4 @@ vectorized: true table: geo_table@geom_index spans: 30 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk99v2jAQx9_3V1j30lZyhZ0ETfMTaxs0JgYdIA1pRijDNxYR7Mw2UybE_vYpyVp-SIThByd39sf53je-LbifGQiIp8_9970BuX3qjSfjz_07Mo778eOErEh3NPxElmjmPvmWIfnyIR7FZbwmf8gN4yxg9Xh5HowuC7tNMY8idhrfCPEwnAZPQEEbhYNkjQ7EV-BAIY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HJmmX1mdocVVzlUOh8fdqujb6uj8oED2HeCAfNcNAIh81w2AhHzXDUCLMTeL7_73cAAAD__8T80w4= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_json_array_dist b/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_json_array_dist index 34deffebfa3a..2725f328948e 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_json_array_dist +++ b/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_json_array_dist @@ -186,7 +186,7 @@ vectorized: true table: json_tab@json_inv spans: 4 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk99P2zAQx9_3V5zuBdg8JU6KkPwUfgStiFGWIG0TjZDb3Fi2YGe2gzpV_d-nJC0siEb0IZbvzp_L9yv7lmj_lCgw_nZ9eTy-gv2zcXqTfrk8gDS-jE9vQMJ5MvkMv6xWd07O4OunOIlhfwbRtPb9kGDv9pYzCLJs7wAmyYtKyGC0rpzFCZx8B4kMlc7pSj6QRXGLHDOGldFzslabJrVsD4zzBQqfYaGq2jXpjOFcG0KxRFe4klDgjZyVlJDMyXg-MszJyaJs224ER-2mUI_I8FSX9YOyAiSDGTJMK9lEHve9Y2Paj3_sRd61oR_FIlY5SJXDEWj3k4zFbMVQ1-5ZmXXynlDwFXu7-rF6JOMoPy9KR4aMx_sWNvV4URnQCiIuwDaSwTppnJji0XTq-36zhK_s-PtmDboYgVS-C8KnCK3pcGOa4aR2AiK-1X6wi_1UG0fGC_qmI_5ha_twl_YXulDrpxEOPQ0nZ3fVb_r7bI9FwVYJo10kPF3sqC-gywvYj4JXxkgIcZFOrk66ceofWc_T05E33MnhLooTspVWlnp6t3X2VxlDyu-pG1qrazOna6Pn7W-6cNJybSIn67oq74Kx6kqNwP9hPggHw3AwCIfDcDgIj4bh0SB8-ALOVu_-BQAA__8n5bpR +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk99P2zAQx9_3V5zuBdg8JU6KkPwUfgStiFGWIG0TjZDb3Fi2YGe2gzpV_d-nJC1bGI3oQyzfnT-X71f2LdH-KlFg_OX68nh8Bftn4_Qm_XR5AGl8GZ_egITzZPIRflit7pycwecPcRLD_gyiae37IcHe7S1nEGTZ3gFMkmeVkMFoXTmLEzj5ChIZKp3TlXwgi-IWOWYMK6PnZK02TWrZHhjnCxQ-w0JVtWvSGcO5NoRiia5wJaHAGzkrKSGZk_F8ZJiTk0XZtt0IjtpNoR6R4aku6wdlBUgGM2SYVrKJPO57x8a0H3_fi7xrQ9-KRaxykCqHI9DuOxmL2Yqhrt1fZdbJe0LBV-z16sfqkYyj_LwoHRkyHu9b2NTjRWVAK4i4ANtIBuukcWKKR9Op7_vNEr6w42-bNehiBFL5LgifIrSmw41phpPaCYj4VvvBLvZTbRwZL-ibjvi7re3DXdpf6EKtn0Y49DScnN1VP-n3f-9jm4rRLiqe7nbU19DlBexHwQuTJIS4SCdXJ91E9Y-sR-rpyCuu5XAXxQnZSitLPb3bOvurjCHl99TNrdW1mdO10fP2N104abk2kZN1XZV3wVh1pUbgvzAfhINhOBiEw2E4HIRHw_BoED58BmerN38CAAD__wbDu_o= # Combine predicates with OR. query T @@ -236,7 +236,7 @@ vectorized: true table: json_tab@json_inv spans: 3 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk1tv00wQhu-_XzGamx6-RfbaKUh75R5ckao0xY4EKLGqTTwUg7trdtdVUJT_jmyTFCPFkBtr5_COn1ejWaP9XqLA-OP97fn4Do6vxuk0fX97Aml8G19O4RSuk8k7-Gq1enByAR_exkkMxwuI5rXvhwRHszA7OoFJ0k_OOIMg6ypXcQIXn0AiQ6VzupNPZFHMkGPGsDJ6SdZq06TWbcM4X6HwGRaqql2TzhgutSEUa3SFKwkFTuWipIRkTsbzkWFOThZlO3bLGrWPQj0jw0td1k_KCpAMFsgwrWQTedz3zo3xwle7l3dv6HOxilUOUuVwBtp9IWMx2zDUtXshsk4-Egq-Yf9OPVbPZBzl10XpyJDxeB99W49XlQGtIOICbIMK1knjxBzfzOe-7zefcPfip833dRcjkMr_3sjnCK3BYGuQ4aR2AiK-12pwiNVUG0fGC_oGI_7_3vHhIeNvdKF-rT8cWr-Ti4fqG_14sceigEXhXorRIRS7PY76DF1ewHEU9A9FCHGTTu4uuoPpVbcXs2vZi3h2CGJCttLKUg9w32R_kzGk_JG6Y7S6Nku6N3rZ_qYLJ62uTeRkXVflXTBWXakB_F3MB8XBsDgYFIfD4nBQPBoWjwbFZ3-Is81_PwMAAP__1OmuEQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk9tu00wQx--_pxjNTQ_fInvtFKS9cg-uSFWaYkcClFjVJh6Kwd01u-sqKMq7I9sk4Eox5GY1p__4NxrPGu33EgXGH-9vz8d3cHw1Tqfp-9sTSOPb-HIKp3CdTN7BV6vVg5ML-PA2TmI4XkA0r30_JDiahdnRCUySfnDGGQRZl7mKE7j4BBIZKp3TnXwii2KGHDOGldFLslabJrRuC8b5CoXPsFBV7ZpwxnCpDaFYoytcSShwKhclJSRzMp6PDHNysijbtlvWqDUK9YwML3VZPykrQDJYIMO0ko3ncd87N8YLX-0s797Q52IVqxykyuEMtPtCxmK2Yahr95vIOvlIKPiG_Tv1WD2TcZRfF6UjQ8bjffRtPl5VBrSCiAuwDSpYJ40Tc3wzn_u-3zzhzuKnzfu68xFI5X8v5HOEdsBgOyDDSe0ERHzvqMEho6baODJe0B8w4v_vbR8e0v5GF-rX-sOh9Tu5eKi-0Y-X_wCD5V6Q0SEgu1WO-hhdXMBxFPRvRQhxk07uLrqb6WW3R7Mr2Yt4dghiQrbSylIPcF9nf5MxpPyRunu0ujZLujd62X6mcyetrg3kZF2X5Z0zVl2qAfxTzAfFwbA4GBSHw-JwUDwaFo8GxWcvxNnmv58BAAD__6mPr8o= # More complex combination. query T @@ -313,7 +313,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: [/44 - /44] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lNtv0z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6ovFugo9FUUWOlomkdXvaar_O2LLRSNnFq6Z5qau5c0wU_5JlF3Orn3VxpdbQqOsj6HiI6DyXp34p9ZrxDbOtECIscTlbWpWA_k4cgjVeqdOqo7HGhmLDcZe-2vLxbp_wnnqTPb9DYKEerVHh1VEwc2Hq14JCdBsfeSXCc9Q3rbGhYZ2JYZ1PDGlQ-G9bb1LCG8jOGbf5HwxpUTCZ_9GqGdXZqWLLzf_ol7UImM55KVum1qrJdCGbxLSsvKHkuBuxS8MG4TbntjrnxDzGTqjwl5aaTlkeFwFmYzMNkFj6qwKQeTNxtaEcPO9pLGzq7-hfz9E_maemGHm5o4aYebmrhlh5ubTNpPWyatJ42TPpom0kf6ydtG8JhiJYpWwsOr-KOAV_weK1s6mljOPW4YWZEn7D53tHozb8AAAD__48eXhs= # We cannot use the index for this query. query T @@ -431,7 +431,7 @@ vectorized: true table: array_tab@array_tab_pkey spans: [/1 - /1] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lG9r2zAQxt_vU4h705Sp2LLz1zDI1ngsI0s6J7CNzQQlPopZanmSPFZCvvuwHZa4xKqTwt4YydLv7rm7B21B_dqAB_7Xu8nb8ZS0RuP5Yv55ck3m_sS_XRBO3gezT4RLyR-Xmq_Ilw9-4JPWigx_ZLbtIrnast3VNZkFpMXJG8Ly5cgPyLtvhAOFREQ45Q-owPsODCg4QMGFkEIqxRqVEjI_2hYXx9Ef8GwKcZJmuvytY71B8EDICCVGQCFCzeNNEW_IXkO4CymshUTwDren4kakVr9yO9xREJneRw4pKM3vEbzOjtZkPxF4FCsdJ2ttDZ4qAQqzUqNHyl2mi1Vd3m4lLzPnXfDVBgPkEUqLVVP_m82QS7mMk99A4VZssodEecUI5inPlxazLXaTf51aTc45muZCapSWe2omp8O754T_KOJkX3HHUHG5WqY_8fHQdDqsr7FdEeE077vdWMWh_ZSsjidg2bWy2KWynAvt4BR2cJrb4RlNezu0L7XDM-GP7ND9P3Z42ePTa_T42Oc8PgGqVCQKG0YOKWB0j2UpSmRyjXdSrIs05XZWcMWPCJUuT1m5GSflUS7wGGZm2DbTjpF2zbBrhNtmuG2Eq7LZU7hjhAdmuGuEe2bZPSPcN8P9l8genNWwcPfqbwAAAP__u_mycw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lFFv2j4Uxd__n8K6L231d5XYgbZEmsRWMo2JQReQtmmLkCFWG43Gme1MQ4jvPpEgSCg4hLG9oCT2z_fc63NYgPoxAxe8zw-9190-uux0h6Phx94VGno9736EGHrrDz4gJiWbjzWboE_vPN9DlxPU_pbatsPRxYIsL67QwEeXDL1CZPXY8Xz05gtigCEWIe-zZ67A_QoEMFDA4ECAIZFiypUScrW0yDZ2w1_g2hiiOEl1_llHesbBBSFDLnkIGEKuWTTLzmuT_yFYBhimQnJwt7v74lokFqHl7YNUu6hNIFhiEKle1wgwKM0eObi3S1zQQQo69pQYscmM-5yFXFqkXGczrTaTchzFPwHDvZilz7Fys6EME7Z6tIhtkevVLz2oidbRNBRSc2k5-6a0_3inzvHvRRSvO24aOs6fxsl3Pi81jtHkoI5GHR2dSOkonmrrbrdRwDDIjbLnorcHTOboiamnF3TmpbWi5kFFp5pyI5vYtXRvNd2UNNHjDWqfeF0Fq1r2QVnkVFn0xNzQLDf0-NxUaFrnpnFqbiqOL-Tm5q_mhp7tr_O2tPtQdbvOFDb2b_2z1J5jHtvUkrOk1jZPyecqEbHiR84_wMDDR543qEQqp_xBimlWJn8dZFz2IeRK56vEyd-6cb62UlikiZGmZpga4YrKjhFumOHGLkyKcLMEk3owoWa6adRtm-Eb82VV0LdG-s48sjsj3DLDrT_STSo8Sio8-sKkdW67gq66bmI2-W7nwfK_3wEAAP__hKG25A== # The split disjunction rule allows us to use the index for this query. query T @@ -467,7 +467,7 @@ vectorized: true table: array_tab@array_tab_pkey spans: [/1 - /1] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lGFP2z4Qxt__P8Xp3gD6GyVOSoFIk7pB0DoxylqkbVor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gaNqVPBsqFSXypDyj1arfN_ZfrmNuk_yTjpkYhIua1yicWY2ounm_QnPaGDp3KS3Sc6AOHAqJLjaBuORUOPNzW0GMuGpi4TjJ7gTui7NfVsfHOiViXRMs8mC8zbbcNm3lbcS6bjnTNdykOZuoyXj9eZ8qTEwezTuhajCc1twyy2uYmThzW_ONhPRb5ymeeyw_zXr8Ti22B1kgdShqLzeGJIkXL9MtufePiYKpAJtFkAOmcBbYQywQAHA87YAIGSaL7yBwiVdH6Jjr--ad4bv7UXvXO9Siz2Viz-9lny2Sz562dZg7U2y8a_NMvFd3_y164rvtPriu38utpQrkc6lYmmlf_TzZm9HJiiWypeUMtMjelKyfGsTLHsznSzjYi0KaKsWHSSIpQDvhQzq5jbxdwq9u1if1XMXoobJTHbTsy4Xd2wcjft4qa93TVvfWRVt-zillXs2bmP7dw1Pjmxq70al9k9WkPO1ky6jVVq1HVeYXaTr5plOP3vdwAAAP__lx_dUQ== # We cannot use the index for this query. query T diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_index_geospatial b/pkg/sql/opt/exec/execbuilder/testdata/inverted_index_geospatial index a5844f2d6598..0fcc15465e81 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/inverted_index_geospatial +++ b/pkg/sql/opt/exec/execbuilder/testdata/inverted_index_geospatial @@ -78,7 +78,7 @@ regions: table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMVVFu4zYQ_e8pBvOTGFVhUlJcL4sCbrza1m2zXsjGFovKMBRp6hUskVqSahUEPlYv0JMVkpJtvIaVuPmJP2TPGz565j0OdYvmU44CF8GvwXQJW3gTzq9gQ2pt4-uc4LefgjAAY9eZtKQNJdacny3C2evv3dErPv7u3Xz2dnnuM8aYB-0X8wZnQvwYzK-CZfjBafYqBjAPXwchXH6ALTooVUpv44IMit-R48rBUquEjFG6gW7bBbO0RsEczGRZ2QZeOZgoTShu0WY2JxS4bGoMKU5JDxk6mJKNs7zd9nM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S3Tw6v10CsZSCYmqpIVzqu0wk3YggLU8dQuItscWFHENBRVK30Cc5yqJLaUCWLv7dWyTj2RAVbasrIBmfdvWfcLH1c7BLroTzth4Qyj4znm6uDP5J2lL6Zsst6RJD_m-wvf1oC41KAkTLsA0WoKxsbai1cb79iKKmMuiiLHHHggk01NhjaQHms4bGiZNv-2ArWqdYF1sbJzn-9pSTUl1KHmfEE3NfMrBUlFCmpktVCbe0JN1co_q5J6i088qk3cedHs82P1al1u6-W8fPtsI7qER-OglGOE4wd4pBH82gLdPb5cXX97OjDPe3MMuc0ejV-zhZzr6gY993gVjNuZj3w98fiYeXtgTd3D0CLvPOML_gyb_FJoWSlvSQ3-fpAn_-qW56-KUqUIypZKG9qY6tjPbrRykdEPda9SoSif0Tquk_ZsunLe4NpGSsV2Vd8FMdqWmwYdg3gt2-8FuL9jrB3u9YL8f7PeCL74Ar3Zf_RsAAP__XBHl5A== statement ok DROP TABLE geo_table @@ -162,7 +162,7 @@ regions: table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzkleGO4zQQx7_zFKP5slsRVDvJlp4RUtleDgrs9ZRWh06kqrLJ0Iua2DnbgaxWfSxegCdDTnaP7a02ULEfkOgHtzPjvzv-_2LnFs2HEgWuoh-j-Rr28CpeXsGO1Nam1yXBT99FcQTGbgtpSRvKrDk_W8WLl1_7kxd8-tWb5eL1-jxkjLEAui8WjM6E-DZaXkXr-J3n1qpGsIxfRjFcvoM9eihVTq_TigyKn5HjxsNaq4yMUdqlbrsJi7xFwTwsZN1Yl954mClNKG7RFrYkFLh2PcaU5qTHDD3MyaZF2S37cQsz18C2kDm16OFclU0ljYB93xl6uKpTlxgneJkk7S95krQscAP7mwG_OFXDE4RU5hAwUPY9aYMe_vAWbFGRAPbH73dxpqQlaQslH5W0-s2ApjQX4PeZ6xtL9yk-gUv08OrtfA7GUg2ZaqSFc2rtuJB2JIB1PvUTiPZPTajSFiqqlL6BtCxVllrKBbBu9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aVkes6WWsuYx8iEQLmY-lGCpqiEvzB4ak-7oGTj5p3D6XhXybgb9gRnsf23rPd389Rz-nwYhOKXBHwcgOG5v7xef3s6MM-7uYZ_5k8kL9vAzn3zDpyHvjSmb8mkYRiE_Ew8v7Jk_etZH-F-0KTylTSulLelxeNykGf_8vzZdF6dUFZOplTR0VNVTJ7PDxkPKd9S_Ro1qdEZvtMq6v-nNZafrHDkZ20d5byxkH3IJPhTzQbE_LPYHxcGwOBgUh8PicFB88Yl4c_jszwAAAP__brTl5g== # Also works when creating an index. statement ok @@ -230,4 +230,4 @@ regions: table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzkleGO4zQQx7_zFKP5slsRVDvJlp4RUtleDgrs9ZRWh06kqrLJ0Iua2DnbgaxWfSxegCdDTnaP7a02ULEfkOgHtzPjvzv-_2LnFs2HEgWuoh-j-Rr28CpeXsGO1Nam1yXBT99FcQTGbgtpSRvKrDk_W8WLl1_7kxd8-tWb5eL1-jxkjLEAui8WjM6E-DZaXkXr-J3n1qpGsIxfRjFcvoM9eihVTq_TigyKn5HjxsNaq4yMUdqlbrsJi7xFwTwsZN1Yl954mClNKG7RFrYkFLh2PcaU5qTHDD3MyaZF2S37cQsz18C2kDm16OFclU0ljYB93xl6uKpTlxgneJkk7S95krQscAP7mwG_OFXDE4RU5hAwUPY9aYMe_vAWbFGRAPbH73dxpqQlaQslH5W0-s2ApjQX4PeZ6xtL9yk-gUv08OrtfA7GUg2ZaqSFc2rtuJB2JIB1PvUTiPZPTajSFiqqlL6BtCxVllrKBbBu9evUZu_JgGps3VgBbn7X1n3Cx83Bwz66A2dsuiMU_OD9c7gL-StpS_mrorSkSY_5MeH7etTWGpSEGRdgHEswNtVWdGyCLy-ShDk2zCEYHBBI5qfKHNJHTJfOhpnrt9tgR60H1sfGpmV5zJZayprHyIdAuJr5UIKlqoa8MHtoTLqjZ-Dkn8Lpe1XIuzPoD5zB_te23tPNXw55M_9_dgSC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v-nNZafrHDkZ20d5byxkH3IJPhTzQbE_LPYHxcGwOBgUh8PicFB88Yl4c_jszwAAAP__brTl5g== diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_geospatial b/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_geospatial index 5bf3057b3231..4098f403979e 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_geospatial +++ b/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_geospatial @@ -39,7 +39,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkkGP0zAQhe_8CmtOu9LA1unCwSejpUhZlWZpe0BCURXiURWa2sF2UFGV_45sr4AUWtFTMs_zZr68-AjuWwsCZp-e5m_zBbt5l6_Wq4_zW7aazWcPa9bukNkdZ--XxQfW-upLS-yxyBfMxne5JbPfNFrRgRUL5vym0Z6so9q7m9T-KrRwfDbE6hYQtFG0qPbkQHwGDiVCZ01NzhkbpGNsyNUBxASh0V3vg1wi1MYSiCP4xrcEAtZh7JIqRfZuAgiKfNW0cWwCkOmx6Xb0AxAeTNvvtRPx0yIbIKy6KkgvoRwQTO9_r3O-2hIIPuD_I-X6O1lP6tE0muwdH1P9lRzgL8fs0NmTFGWGTN6HyIreCyY5ygzlFOXrs7DZNbAB8jm-7J-gdhTf3Jhd37GvptHMaMECyX2AO_37kfvNiPs88fQa4iW5zmhHI9pzkydDiUBqS-lWOdPbmp6sqeOaVBbRFwVFzqdTnopcp6MA-KeZXzRnl83ZRfP0xFwOL34GAAD__0a7M8I= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkkGP0zAQhe_8CmtOW2lg63Th4JPRUqSsSrO0PSChqArxqApJ7WA7qKjqf0e2V9AWWu2ekhnPG3_vJXtwPzoQMP3yOHufz9nNh3y5Wn6ejdhyOpver1jXIrMtZx8XxSfW-epbR-yhyOfMxne5IbNdN1rRjhVz5vy60Z6so9q7mzT-JoxwfBLEagQI2iiaV1tyIL4ChxKht6Ym54wNrX0cyNUOxBih0f3gQ7tEqI0lEHvwje8IBKzC2gVViuztGBAU-arp4toEINNj3bf0CxDuTTdstRPRWmQDhGVfhdZrKA8IZvB_r3O-2hAIfsDnI-X6J1lP6sE0muwtP6X6JznAP4rprrdnKcoMmbwLkRWDF0xylBnKCcq3F2Gzl8AGyKf4sv-C2pP4Zsa0Q8--m0YzowULJHcB7vzrR-53o-PEbctT5MdmLtuYvMTGglxvtKMTC5c2jw8lAqkNpV_NmcHW9GhNHa9JZRF1saHI-XTKU5HrdBQAj8X8qji7Ls6uiidn4vLw6ncAAAD__27AOm8= query T EXPLAIN SELECT lk, rk1, rk2, rtable.geom diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_geospatial_dist b/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_geospatial_dist index dd1cddb4bb00..079604ff66a0 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_geospatial_dist +++ b/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_geospatial_dist @@ -68,7 +68,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlF1P2zwUx--fT2GdKxDuk9pJeclVNuikoK5hLRebpgplyRHLmtqZ7UxMqN99SsIGKY1TxCa4av3yz_n56KdzC_p7Dj6MP15M3oRTsncWzi_nHyb7ZD6ejE8vSb6kRC3Ju1n0nuQm_pIjOY_CKVH1_-Aa5eoqEynekGhKtLnKhEGlMTF6r7n-f3WF0btAvdon0exsPCNvP5G95vv7QEHIFKfxCjX4n4EBBQ4UXFhQKJRMUGupqqPb-mKY3oA_pJCJojTV9oJCIhWCfwsmMzmCD5dVwRnGKSpnCBRSNHGW159v0ILm56pY4k-gcCrzciW0X7-5pgYK8yKutgYOh8WagizNfUFt4msEn63p7lCh-IHKYHouM4HKcdtcj7oK9E9ifFOojQ4HnJLAq5oXlcYnAaMBp4HbScqfQ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jO6zebi1zFeG1klFZploGZa7ciFGb6pRVi5GojgrAzTCzhrk9zK1h1x52reF-Lcy2w317zy2lB9b0iT18Yg2f2sOn1vCZPXx2yMTO7RPrtWjSIlmbZXbNWItnzC7adufz1X-_AgAA__-l4_NK query T EXPLAIN (DISTSQL) SELECT lk, rk FROM ltable JOIN rtable@geom_index @@ -95,7 +95,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUldFv2joUxt_vX2GdJ6qaBjvQUj-lt6USFZf0Ag-bJlRl5KjNCHZmm61Txf8-JelWQsGh6ia1TxDbP873nXzHPID5moKA3ofrwVl_SBoX_fFk_P_ggIx7g975hKRzSvScXI7C_0hqo88pkquwPyS6-B7colrcJDLGexIOibE3ibSoDc6saZRHjvIj9JEtHtgBCUf52fh7Yu8S2Vjfo6SC8fzsRW9E_v1IGqWWA6AgVYzDaIEGxCdgQIEDBR-mFDKtZmiM0vnWQ3GwH9-DaFFIZLa0-fKUwkxpBPEANrEpgoBJXnOEUYzaawGFGG2UpMXPl-qC8uMmm-MPoHCu0uVCGlH0pxAOFMZZlC81PQ7TFQW1tE8FjY1uEQRb0f1F9eU31BbjK5VI1J5f1fXsDQD9TfTuM73xNgJOSdDebH25Sgk_agkhLgfh2aSbNzhcWkECRgNOA3-nG_4SN7mLxw4fb3WiKx0eKDVfZuSLSiRRUpAgt_8sY0GHkoBvddVxuGrvtOS_xNJYaYvaO63aCdghDfghUFhEdnZHUpSCsJ0V2zsrPhVSOkaN8fY609UWaUPVVJnHeAXZJaFTkcD2HxX2ylHxeNPbHS_2Elkbw9J-48NS42ZtWE7ey7DUWHocFtb6g9PC948qf21U_eaeQa0RtRHUzhsPao2btaB230tQayz9Cir7S9f6lpIjNJmSBve6rVv5fY_xLZb_EUYt9QyvtZoVZcrHsOCKhRiNLXdZ-dCX5VYucB1mTpi7Ye6EfTfsO-F2BWabcNvtuaZ0x0kfu-FjJ3zihk-ccNcNd1_TsVN3x1o1MakJWV3K3DFjNTlj7qBtOp-u_vkZAAD__wubKgI= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUVVFv2jwUff9-hXWfqGoKdqClfkq_lkpUjHTAw6YJVRm5ajOCndlm61Tx36ckrCUUHKpuUvsEtu_JOef63OQBzPcEBHQ_XffPegNSu-iNxqOP_QMy6va752OSzCjRM3I5DD6QxIZfEyRXQW9AdP7fv0U1v4llhPckGBBjb2JpURucWlMrSo6yErrC5gt2QIJhVhv9jO1dLGvrZ5SUYDyrvegOyf-fSa3QcgAUpIpwEM7RgPgCDChwoODBhEKq1RSNUTo7esgLe9E9iCaFWKYLm21PKEyVRhAPYGObIAgYZ5xDDCPUjSZQiNCGcZI_vlDnFz836Qx_AYVzlSzm0oi8P7lwoDBKw2yr3uAwWVJQC_tEaGx4iyDYku4vqid_oLYYXalYom54ZV3PbgDoI6J7n-qN2_A5JX5rs_XFLiX8qCmEuOwHZ-NO1uBgYQXxGfU59b2dbvhL3GQuVh0-3upElzrcV2q2SMk3FUuipCB-Zv9Zxvw2JT7f6qr93NXjrenVra07be206b3E5khpi7pxWrbos0Pq80OgMA_t9I4kKAVhOxlbOxmfiJSOUGO0nWey3CJtoOoqbTBeguyS0C5JYPuPD3vl-DR4vbE7cuwlsjYGqPXGB6jCzdoAnbznAaqwuRog1vyLE8T3jy9_bXy9-p7hrRC1Ed72Gw9vhZu18Hbec3grbP4JL_tHr_8tlEM0qZIG93qrN7PvAka3WHxLjFroKV5rNc1pimWQ4_KNCI0tTlmx6MniKBO4DmZOMHeDuRPsucGeE9wqgdkmuOX2XEHddqKP3eBjJ_jEDT5xgjtucOc1HTt1d6xZEZOKkFWlzB0zVpEz5g7apvPJ8r_fAQAA__8syj12 query T EXPLAIN (DISTSQL) SELECT lk, rk FROM ltable JOIN rtable@geom_index @@ -122,7 +122,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#e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uMwORz9jcx-L2lqNkjKM10kwvOwOyf-fSa0QUwcKQkY4COeowfsCDChwoODChEKq5BS1liorPeYHe9EDeE0KsUgXJtueUJhKheA9golNguDBOCMdYhihcppAIUITxkn-84Ugv_i4TWf4CyhcyGQxF9rLG5RrBQqjNMy2Gg6HyZKCXJhnQm3COwSPLenhonriByqD0bWMBSrHLevaugKgT4juQ6o2rsPnlPitrd4X25Tw46bneVf94HzcyTocLIxHfEZ9Tn13rx3-EjuZjVWLT3ZaUaUW96WcLVLyTcaCSOERP_O_lbJcf3vbVpuSrLRp6-ne1Ore1q229vp0X-JzJJVB5ZyVPfrsiPr8CCjMQzO9JwkKj7C9jK29jM9EUkWoMNrNM1nukDaQDZk6jJcg-yS0SxLY4QPEXjlADm84-zPHXiJrY4Rab32EKuysjdDpux6hCp-rEWLNvzhD_PAA89cG2G0cGN8KURvxbb_1-FbYWYtv513Ht8Lnn_iyf_QE7KAcok6l0HjQP3szexswusPiPdFyoaZ4o-Q0pymWQY7LNyLUpqiyYtETRSkTuA5mVjC3g7kV7NrBrhXcKoHZJrhl91xB3baiT-zgEyv41A4-tYI7dnDnNR07s3esWRGTipBVpcweM1aRM2YP2qbzyfK_3wEAAP__TIA-1A== query T EXPLAIN (DISTSQL) @@ -147,7 +147,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzslcFv2jAUxu_7K6x3KUgG4gQo9SlVC1MqmnTAYdOEECNvXUYaZ7bTtar436ck1UrSEKjW3eil2H6f35ff0yc_gfoVAofh55vxueOSxqUznU0_jZtkOhwPL2YkXFMi12Q08a5JqJffQiRXnuMSmf22b1HcLYLIxwfiuaSh9CKINEqFK60aeX07rWH0WZGtmuTcvSRKL1biHmWh0CwW5pXpvf73JAwffwf6RxA1tkooKbZhhtEk3oQUrZzceI47a7C2QVjbaJ6UugCFSPjoLu9QAf8KDCiYQMGCOYVYihUqJWR69JQVOv4DcINCEMWJTrfnFFZ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jphp0nE1Dc75YOSeT3u7Jmcwgxmv_gaGNSiuTzjnH_vudX86_pL1BgpurDmxGbVNalvUbu8FaL4FYAJuM9vuTngyN9uREKs4Ij-FHxIRcmK3E2evApNC6e4E2d0LsktJovuPILspyOfvU26-z224nb1Yrb1YX2jGoZAeSvRyKGfrHeAd0RBR66xQuLt1O9eaVY8re5-4tsxGy6oY2APuCoFtHwNbDOwBgFuBPT0GtnpgzeqpMd8pNVajYmYOeCtkpnPMTDEzBwBuZaZ3zMzfXXI7sI5RRSJUWOkOM5JLEL1bzG5MJWK5xBsplmmbbOmmuvSBh0pnuyxbDMNsKzG4LWalYrNcbJaKrZyYFcVWuW2jvHW7VN0pF3dKxd1ycfdfXvq0VNwr79wrFZ-Vi8_eZHu2_vAnAAD__yorZDY= # This query performs a semi-join, which is converted to paired joins by the # optimizer. @@ -172,7 +172,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUlFFv2j4Uxd__n8K6T-1fZiEJ0DZPmbpUS0WhA6RVmlCVxXdVRmpntjO1Qnz3yQlbCQKTipf2KbJ9f7nnXB3dJahfOQQQ3d0OP8YjcvIpns6mX4anZBoNo8sZyRfkajK-IblOvudIvn6OJhGJ7kwVOVnX_F-XyM0Spe8zrlEqTLU6qekPDygePbourE6np0CBC4aj5BEVBN_ABQoeUPBhTqGQIkWlhDRPy6owZk8QdClkvCi1uZ5TSIVECJagM50jBDAz_59gwlA6XaDAUCdZXv2-VhLWn_tigc9A4VLk5SNXAckXlFQigcK0SMxVx_FgvqIgSv3SUOnkASFwV7S9qJj_RqmRXYuMo3T8pq56JqFpfp9xhk9A_xHRUyG3Bhp6lIQ9M7wfmVSa_BQZJxknRZJJZB1zBArjUgckdGno0dCnYX-vEe81RoyB9XAHTROz5wIDMoyuZmQa3cTkehyPgP71JhszHwqxKItauOABCc1AxqNdPgfGp8JUcGY3utefv9ffi62SC8lQImt4mq92TGAkOqJwLrYKd7fuNVq77YPrHhlcx-s4fsvoHpC1Fd3e243uASMb0T17l9H12ufHOzY_fqdleg6I2kpP_-2m54CRjfScv8v0HFjsE1SF4Apb7bWuWYzIHrDeokqUMsVbKdKqTX0cV1x1wVDp-tWtDzGvn4zATdi1wp4d9qyw34Ddbdi3y-7aW_esdN8O963wwA4PjjF9ZoXP7Z3PrfCFHb54lez56r8_AQAA__8VlH_9 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzclV9v2jAUxd_3Kaz71E5mIQn0T54ydamWikIHSKs0oSqL76qM1M5sZ2pV8d0nJ6wQBCYVL1WfkO17fM_vcuQ8g_qTQwDR7c3gczwkR1_iyXTybXBMJtEgupiSfE4ux6NrkuvkZ47k-9doHJHo1lSRo2XNx7pErpcofZdxjVJhqtVRrf50j-LBo8vCanV8DBS4YDhMHlBB8ANcoOABBR9mFAopUlRKSHP0XBXG7BGCLoWMF6U22zMKqZAIwTPoTOcIAUzN_WNMGEqnCxQY6iTLq-trJ2H9c1fM8QkoXIi8fOAqIPmcksokUJgUidnqOB7MFhREqVcNlU7uEQJ3QdubivlflBrZlcg4Ssdv-qpnEprmdxln-Aj0RRE9FnJjoKFHSdgzw_uVSaXJb5FxknFSJJlE1jFLoDAqdUBCl4YeDX0a9neCeK8BMQDL4Z40IaZPBQZkEF1OySS6jsnVKB4C_c8mGzMfCDEvi9q44AEJzUBGw22cfcOpMBWc7QB9-QPN_FbgO3n9nbwrzJILyVAiazDOFlsmMhQdUTjnG4XbW_card32QXYPDLLjdRy_ZZT32NqIcu_tRnkPyFqUT99FlL32efIOzZPfaZmmPaY20tR_u2naA7KWprN3kaY9H4IxqkJwha3eva55OJHdY_3KKlHKFG-kSKs29XJU6aoNhkrXp269iHl9ZAyui12r2LOLPavYb4jdTbFvt921t-5Z1X27uG8Vn9jFJ4dAn1rFZ_bOZ1bxuV18_irbs8WHfwEAAP__xp2P8w== # Left joins are converted to paired joins by the optimizer. query T @@ -196,7 +196,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUVVFr2zwUff9-hbhPLSifYztJWz95dC64ZHGXeDAYoXjWXfHiSp4kj5aS_z5klbXJWtmlT3kK9-oe3XNODvIDqF81RJB8vZp_SBfk6GO6ylef58dklcyT85zUG0rkhlwss0-k1sX3Gsk8ucjJZZYuiLSNbEGUvq64Rqmw1OrIDv5_g-LWp49TXXUMFLhguChuUUH0DXygEACFENYUGilKVEpIc_TQDabsDqIxhYo3rTbtNYVSSIToAXSla4QIcnP9EguG0hsDBYa6qOrueksktj_XzQbvgcK5qNtbrqJOW8cRKKyawrRGXgDrLQXR6qeFShc3CJG_pcNJpfw3So3sUlQcpRfu8srvG4yskdmXPFl2dgIFa1VsSF1XnOEd0L83JXeN3PM5DiiJJ8bUH5VUmvwUFScVJ01RSWQjUwKFrNURiX0aBzQOaTx9VWDwFoFG2KPpszeJkzt_xlyITdtY5oJHJDZO_ROoTujMCFVYCs76lL6uMXxV45O0lgvJUCLb0bXevuDCQoxE453tDb68erKz2h8eav-dofaCkRcOjHUPrb1YTw4v1j0Cn8X65GBjHQzPVvDebIWjgcnqIbWXrOnhJatH4LNknR5ssno-CktUjeAKB72HY_OgIrtB-_oq0coSr6QouzW2zDpc12CotD31bZFye2QIPgf7TnDgBgdOcLgD9vfBoZv22L164kRP3eCpEzxzg2fvEX3iBJ-6N586wWdu8NmbaK-3__0JAAD__2c6kj0= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzclV9r2zAUxd_3KcR9akFZYjtJWz95dC64ZHGXeDAYoXjWXfHiSp4kj5aS7z5klTbJGsUlT-2T0Z-je35XB_kB1J8KQoi_X00-JVNy9DmZZ_Ovk2MyjyfxeUaqJSVySS5m6RdS6fxnhWQSX2TkMk2mRNqJdEqUvi65Rqmw0OrIbvx4g-LWo4-72tExUOCC4TS_RQXhD_CAgg8UAlhQqKUoUCkhzdJDuzFhdxAOKJS8brSZXlAohEQIH0CXukIIITPHzzBnKPsDoMBQ52XVHm-NRPZzXS_xHiici6q55Sps2VqPQGFe52aq1_dhsaIgGv1cUOn8BiH0VrS7qYT_RamRXYqSo-wHm76y-xpD28j0WxbP2nYCBduqyJi6LjnDO6BPJ8V3tdzqc-RTEg1NU3-VUmnyW5SclJzUeSmR9cwQKKSNDknk0cinUUCj0U5A_zWABuyx6eNXwcmNy5gIsWxq61zwkESmU_8FqgUdG1CFheBsB-nTzcrHm12n380d7OR-xm24kAwlsg3WxeqFzkxFT9T9s62NL5cebpT2ugfdOzDofb_XDzpGfY-tragP317U9wCuRf3kXUXd7543_9C8Bb2Oadtjaitto7eXtj2Aa2k7fVdp2_NDmaGqBVfY6d0cmIcX2Q3aV1qJRhZ4JUXRlrHDtNW1EwyVtqueHSTcLhmD62LPKfbdYt8pDjbE3rY4cNseuEsPneqRWzxyisdu8fgQ6BOn-NRd-dQpPnOLz15le7H68C8AAP___UalsQ== query T EXPLAIN (DISTSQL) @@ -224,7 +224,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzcVVFv2joUfr-_wjpPVDUFO0Cpn9LbUomKS3qBK91pQlVGztqMYGe22VpV_PcpSbcSCg5VtxeeItvny_f5O-eTn8B8TUBA7_-bwXl_SGqX_fFk_O_giIx7g97FhCRzSvScXI2Cf0hiw08JkkHvakKug_6Q6HzDv0O1uI1lhA8kGBJjb2NpURucWVMrSk6yEvr8g3zBjkgwymqj77G9j2Vt_YySEoxntZe9Efn7A6kVgo6AglQRDsMFGhAfgQEFDhQ8mFJItZqhMUpnR095YT96ANGkEMt0abPtKYWZ0gjiCWxsEwQBk4xzhGGEutEEChHaME7y3xfq_OJzm87xEShcqGS5kEbkJuXCgcI4DbOteoPDdEVBLe0LobHhHYJgK7q_qL78htpidK1iibrhlXVNHlMURUeC_ya9Ud4XoPCqM0B__an3kOqNLvmcEr-12ZJilxJ-0hRCXA2C80k3M_5zrI0lX1Q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IfX4IFGahndySBKUgbGfHxs6OT42UjlBjtL3PeLGFWl9VVVpjfA2yi0JzjQLbP6rslVGt8WrN2zOsJbQ2wtp4m2EtEWElrMfvLqwl2izDyup_MK18_6jw10bFq-4ZlBJSG0Fpvs2glIiwEpT2uwtKiTa_g8L-0rO2peUATaqkwb1eq3r23mF0g8UbadRcT_BKq0neplgGOS7fiNDY4pQVi64sjjKCq2DmBHM3mDvBnhvsOcGNNTDbBDfcdy5p3XSiW25wywk-doOPneC2G9x-jWInbsXqJTYpMVmZy9w2YyU-Y26jbd58vPjnVwAAAP__19SkEw== query T EXPLAIN (DISTSQL) @@ -252,7 +252,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzcVV1v4jgUfd9fYd0nqpqCHb6ap3RbKlGxpAustKsVqrLkbpsh2BnbzLSq-O8jJ8wU0uJQTeeFp8i-PjnH594jP4P-nIIP_b9vhxeDEaldDSbTyZ_DEzLpD_uXU5IuKFELcj0O_yCpif5LkQz711NyEw5GROUbwT3K5V0iYnwk4Yhoc5cIg0rj3OhagTmzRxjdAPLVCQnH9mz8NTEPiahtlSjZQnFKuD171R-T3_8htULQCVAQMsZRtEQN_r_AgAIHCh7MKGRKzlFrqWzpOT84iB_Bb1JIRLYydntGYS4Vgv8MJjEpgg9TSzrGKEbVaAKFGE2UpPnvC0FB8bnLFvgEFC5luloK7ecmbW6YSwYKkyyylXqDw2xNQa7MC6820T2Cz9b0cG0D8QWVwfhGJgJVw9uVN33K0C8aE_417Y_z9gCFVw0C-uNP_cdMlZoVcEqCdrkzgWd3KeFnTd_3r4fhxbRn_f8_UdqQTzIRJBEkixKFcd0ugUK4Mj4JGA04DTwatGjQ2esDf48P9v6bFnXe5YHaad1QysUqK8RL4ZOgZUWXhzf3o_vKjy4l1pOyHxrnUsRVhuz3wXuPDxOpDKrG-a4HATulAT8FCsvIzB9IisInbC9jay_jC5FUMSqM3-aZrd-QNpJ1m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JGp0GErMr1PF5kKbb5Hhv2kp-6VlmPUmRQaD3rBmvYNxPgWi3dTy5Wa47WS87xNsQxzXL4RozZFlRWLgShKluA2mDnB3A3mTrDnBntOcGsHzMrglvvOFa3bTnTHDe44wV03uOsE99zg3o8odupWrFlhkwqTVbnMbTNW4TPmNlr55rP1L98CAAD__zKFrIE= query T EXPLAIN (DISTSQL) @@ -310,7 +310,7 @@ vectorized: true └── • scan buffer label: buffer 1 (q) · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk09vm0wQxu_vpxjNyY72rQ2kVbUn3JQ0RBRSjJVGrWURmFjUZBfvLlWiyN-9WnDSxJKt-rSaP8_M8xubJ9TrGjkG36-iSRjD4HM4zabfoiFch9kFrGEyhcE0iIKzDE7gPE2-Qm3y25rg-iJIA6hX8LMdjz0CdwjbvkK2wgxOhuxF-ZzpB6y373O1XjFQq20NouA8g8skjEH1i5IYtFlUwpDSVBg9WL9bkrx32Lahi4ZD-JImsyv4dAP1ChkKWVKc35NG_gMdnDNslCxIa6ls6qlrCMsH5GOGlWhaY9NzhoVUhPwJTWVqQo61LPIadJELuG3v7kjBeDRGhiWZvKq78UlrOPgO812cbxjK1vwdp02-JOTOhv37ylD8JmWovJSVIDVy3m7LHhvi_ZmSWRak3bGQYX8N315jUYmSHpC9TAoeGrVzRd9l4J8OkeFdpbSBX7ISUAlo8kpR-b8Nkb1CY77H_Pd7Ad1jAC1YSnlJauQeBdc_i2ZFj8gwknLVNr1zKTj4nnW8-3fpQD9YUE2FFOVh0r2A3jGAk-VS0TI3Uo28t4C-_TUn8c0iTrJFPIuige9Yb2fJLM4WaXI9HdgwJVGS4mDN2y7Owzj7uNfc6THmUtKNFJreGNs3ebyZM6RySf1Xo2WrCrpSsujW9GHS6bpESdr0VacPQtGXrMHXYueg2D0sdg-KvcNi76D4dEc83_z3JwAA__8CNaMj +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk01vm0AQhu_9FaM52dG2NpBI1Z5wU9IQUUgxVhq1lkVgYlGTXby7VIki__dqwfmUbNWn1Xy8M-8zNo-o1zVyDH5eRpMwhsHXcJpNf0RDuAqzc1jDZAqDaRAFpxkcwVmafIfa5Dc1wdV5kAZQr-B3Ox57BO4Qtn2FbIUZHA3Zs_Ip0w9Yb9-nar1ioFbbGkTBWQYXSRiD6hclMWizqIQhpakwerD-tCR557BtQxcNh_AtTWaX8OUa6hUyFLKkOL8jjfwXOjhn2ChZkNZS2dRj1xCW98jHDCvRtMam5wwLqQj5I5rK1IQca1nkNegiF3DT3t6SgvFojAxLMnlVd-OT1nDwHea7ON8wlK15GadNviTkzob9_8pQ_CVlqLyQlSA1ct5uyx4a4v2ZklkWpN2xkGF_Dd9eY1GJku6RPU8K7hv17oq-y8A_HiLD20ppA39kJaAS0OSVovKjDZG9QmO-x_yTnYDuIYAWLKW8JDVyD4Lrn0WzogdkGEm5apveuRQcfM86fv936UBPLKimQopyB-mprNs7oTnYA76Q7wT2DgGeLJeKlrmRauS9BfbtrzuJrxdxki3iWRQNfMd6PU1mcbZIk6vpwIYpiZIUBwtjuzgP4-zzTnPHh5hLSTdSaHpjbNfk8WbOkMol9V-Rlq0q6FLJolvTh0mn6xIladNXnT4IRV-yBl-Lnb1id7_Y3Sv29ou9veLjd-L55sO_AAAA__-kU6h1 # Anti joins are also converted to paired joins by the optimizer. query T @@ -334,7 +334,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUlVFP2z4Uxd__n8K6T_CXuzZJWyBPQSxoQV3C2kxDmiqUxXcoa7Az25lAqN99coJGG1E3iKc-Vbbv8T2_2yPnCdTvEnwIb65n51FMjj5Gi3TxZXZMFuEsvEhJuSKX8-QzKXX2o0Ty7VM4D0mcpCS8MZXk6Lnu_7ZMbpYpfVtwjVJhrtVRe8OHOxT3Ln0ubFbHx0CBC4Zxdo8K_O_gAAUXKHiwpFBJkaNSQpqjp6YwYg_gjygUvKq12V5Sy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iOBXmgrMtoI8f1szvCXwrr7eV9wmz5kIylMg2GBerZyYSi4GohsedwudbjzdaO_0D7rwy4EN3MPR6RnyHrU7Ex28v4jsA1yJ--C4i7vbPmfvanHmDninbYaqTssnbS9kOwLWUHb2LlO3445ihqgRX2OudHJmHFtk1tq-yErXM8UKKvGnTLpNG12wwVLo9ddpFxNsjY3Bd7FjFrl3sWsXehtjpij277ZG99diqntjFE6v4wC4-eA30oVV8ZO98ZBUf28XHL7K9WH34HwAA___BqqTA query T EXPLAIN (DISTSQL) @@ -361,7 +361,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzcVcFu2kAQvfcrRnOCdinYBkJ8cpo4qiNqp8ZVU7UocvE0cnG87q4dJYr498o2DRiVhYhTckI7O2_nvTcz5hHlnwRNtK8uxyeOC60zZxJMPo_bMLHH9mkAyRzOfe8TJHn4MyH4-tH2bXC9AOyrMhNay7y3dZpYT2vJ_HrG70jIVg1_f0P8VmPLrOrUhhP3DFrJHH4UvZ5BMGgvQ-IppOntNnj-me3Dh2-QzJFhyiNyw1uSaH5HDRnqyNDAKcNM8BlJyUV59VglOtE9mj2GcZoVeRmeMpxxQWg-Yh7nCaGJQcnIpzAi0e0hw4jyME6q52vuVv1znc3pARme8qS4TaUJyZxBJQsZTrKwDHW6Ok4XDHmRrwrKPLwhNLUF25-Uk96RyCm64HFKoms0eQUPGZkwts8D8L4Etg8XnuMiw9pdqyR1HacR3SN7esm-zwSs2mLpDKx-Gxl6LrQs7akJpmk6bjBatsIyVq34d4MMf8VC5vCbxynEKWRhLCjqlMfyvSI3wdKYpTPLYNZgqyH6cwwpjVg2abjVjBM3cDa8EI3ejTmfF1lNnKcmWEZtwIYvw1KjpBlPo_1E9reKNLaKXGnjIiJBUVOWpb3D6eI_Tri8w7PucTN7yWcrjX6Dhrb_RmgHbkRX73SNPXdiB62Nnei__p3YYcjaThy93J3Q9x9G_dBhNDp7juIOUhujOHj9o7jDkLVRHL3cUdzxH-STzHgqqSFw28u98ttN0Q3V33rJCzGjS8FnVZn66FW4KhCRzOtbrT44aX1VElwHa0qwrgbrSrDRAGubYENNu6cu3VeiB2rwQAkeqsHDQ0QfKcEjdeWREnysBh8_i_Z08eZvAAAA___Bi8G- +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzcVdFum0oQfb9fMZon-971tQE7cXgiTYhK5EKKqZqqtSJqphE1YekuRIki_3sFuLaxytpRnpIna2fn7JxzZgY_ofyVoIn29dXk1HGhc-5Mg-nHSRem9sQ-CyBZwIXvfYAkD78nBJ_f274NrheAfV1mQmeV92-dJrbTOjK_mfN7ErJTw_-_JX6nsVVWderCqXsOnWQB34rBwCAYdVchsQ5percLnn9u-_DuCyQLZJjyiNzwjiSaX1FDhjoyNHDGMBN8TlJyUV49VYlO9IDmgGGcZkVehmcM51wQmk-Yx3lCaGJQMvIpjEj0B8gwojyMk-r5mrtV_9xkC3pEhmc8Ke5SaUKyYFDJQobTLCxDvb6OsyVDXuSbgjIPbwlNbckOJ-Wk9yRyii55nJLoG01ewWNGJkzsiwC8T4Htw6XnuMiwdtcqSd3EaUQPyNYv2Q-ZgE1bLJ2BNewiQ8-FjqWtm2CapuMG41UrLGPTij83yPBHLGQOP3mcQpxCFsaCol55LN8rchMsjVk6swxmjVoN0Z9jSGnEqklHrWacuoGz44Vo9G7C-aLIauI8NcEyagN2fBmVGiXNeRq1iFwPQel1q0KjVeFGGBcRCYqamiztP5wt_2KDy3s86580s1eOt9IYNmhoh6-D9sJ16Ou9vnHgQuyhtbMQw7e_EHsM2VqI41e6EPrhk6i_dBKN3oFzuIfUzhyO3v4c7jFkaw7Hr3QO9_z1-CQznkpqqGt7eVB-tSm6pforL3kh5nQl-LwqUx-9ClcFIpJ5favVByetr0qC22BNCdbVYF0JNhpgbRdsqGkP1KWHSvRIDR4pwUdq8NFLRB8rwWN15bESfKIGnzyL9mz5z-8AAAD__3t3xMQ= # Bounding box operations. statement ok @@ -388,7 +388,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElM2O2jAQgO99CmtOu5JpiAO7kFOqLZWyoskWOFSqEErxCKUEO7WdFRVin71KgrpAwYA4cAL_fJlvPKNZgf6dgQ-97y_9T2FE7j6Hw9HwW_-eDHv93tOIZHNK1Jx8GcRfSWaSnxmS5ziMiKr-BzOUi0kqOC5JHG0ufCw3XfK2uVMtgYKQHKNkgRr8H-ACBQYUPBhTyJWcotZSlUer6mLIl-A3KaQiL0y5PaYwlQrBX4FJTYbgw6j8-gATjsppAgWOJkmz6vO1SFD_TPI5_gEKTzIrFkL7VU6VI1AY5km51XAYjNcUZGHeA2qTzBB8d03PlwrFKyqD_FmmApXj7Xr992pA_xG9Za6INpOpfEWl7wJGSdC6BwpxYXwSuDRgNPCOWrJLLEu7zcs9HDRUOy_Xl3Je5OSXTAWRwidBmVYckYCRNxK0tx1bRwW9o4LvXoWQiqNCviM1Xh9IIZINmTvdvYuHQ7d2Qrvnt5V7ZVs5rOEcL5l7idZeY7Vu1FgnLLca6_E2jcXOry67trpe48zanpDaq237RrU9YblV287th8YBwQHqXAqNZ82EZjlUkM-wnkBaFmqKL0pOqzD1Mq64aoOjNvWpWy9CUR-Vgtuwa4WZHWZW2NuB3X3Ys2s37aFbVrpth9tW-MEOP1yT9KMV7tgjd6xw1w53L9Ierz_8DQAA__-vnxVI +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlFFv2jAQx9_3Kax7aiWzEAdayFOmjkmpWNIBD5MmhDJ8QhnBzmynYkL0s09J0AoMDIiH9gls3z_3u_ufbgX6dwY-9L4_9T-FEbn5HA5Hw2_9WzLs9XsPI5LNKVFz8mUQfyWZSX5mSB7jMCKq-h_MUC4mqeC4JHG0CfhYXrrkZRNTHYGCkByjZIEa_B_gAgUGFDwYU8iVnKLWUpVPqyow5EvwmxRSkRemvB5TmEqF4K_ApCZD8GFUfn2ACUflNIECR5OkWfX5GiSofyb5HP8AhQeZFQuh_aqmihEoDPOkvGo4DMZrCrIwrwm1SWYIvrum50OF4hmVQf4oU4HK8Xa5_usa0H-K3jJXRJvJVD6j0jcBoyRo3QKFuDA-CVwaMBp4RynZJZQl3aZzdwcJ1U7n-lLOi5z8kqkgUvgkKMuKIxIw8kKC9nZv1aa329yto9DeUehX1kJIxVEh3wEdrw-UFcmGzJ3uXuDh1K2d1O75o-ZeOWoOazjHbXQvwdobttYbDdsJyq1hu38_w8bOd5xd67jXONPvE1B7frffyO8TlFt-d96P3yc24gB1LoXGs3ZHs1w-yGdYbyotCzXFJyWnVZr6GFe66oKjNvWrWx9CUT-VgNti1ypmdjGzir0dsbsv9uzYTXvqllXdtovbVvGdXXx3TdH3VnHHnrljFXft4u5F2OP1h78BAAD___wwKLw= query T EXPLAIN (DISTSQL) @@ -411,7 +411,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElFFv2jAQgN_3K6x7aiWzEAco5ClTx6RUjHTAw6QJoZScUEawM9upqBD97ZOTdgUGBsQDT-Czv9xn3-lWoP5k4EP352PvS9gnN1_D4Wj4o3dLht1e935Esjklck6-DaLvJNPxU4bkIQr7RJb_gxmKxSTlCS5J9B78bILk9e14uXKBAhcJ9uMFKvB_gQkwoODBmEIuxRSVEtJsrcqDYbIEv04h5XmhTXhMYSokgr8CneoMwYeR-fwA4wSlUwcKCeo4zcrPV6mD6meSz_EFKNyLrFhw5Zd3erca5rEJ1RwG4zUFUeiPhErHMwTfXdPTpUL-jFJj8iBSjtLxtr3-ezWg_4juMpdE6clUPKPE5OnlJmCUBI1boBAV2ieBSwNGA--gKDtH1Ai-PV5rr6TceryeEPMiJ79FyongPgnMzaI-CZrklQRs07FxUNA7KPjhVXAhE_MAW1Lj9Z4r9EVN5E5n5-D-1I2t1O7pneVe2FkOqzmHS-aeo7XTW43r9dYR0Y3eurtOb7HTC8wuLbBXO7G8R6R2ytu8XnmPiG6Ut3390bFHcIAqF1zhSZOhbkYLJjOs5pAShZzioxTTMk21jEquDCSodLXrVouQV1tGcBN2rTCzw8wKe1uwuwt7du26PXXDSjftcNMKt-xw65JL31nhtj1z2wp37HDnLO3x-tPfAAAA__8FThjb +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlFFv2jAQx9_3Kax7aiWzEAdayFOmjkmpGOmAh0kTQik5oYxgZ7ZTUSH62ScndAUGBsRD-wQ--5_73f1PtwT1JwMfOj8ful_CHrn6Gg6Ggx_dazLodDt3Q5LNKJEz8q0ffSeZjh8zJPdR2COy_B9MUczHKU9wQaLX4GcTJC_r5-XJBQpcJNiL56jA_wUmwICCByMKuRQTVEpIc7UsH4bJAvw6hZTnhTbhEYWJkAj-EnSqMwQfhubzfYwTlE4dKCSo4zQrP1-lDqqfcT7DZ6BwJ7JizpVf1vRKNchjE6o5DEYrCqLQbwmVjqcIvruip0OF_AmlxuRepByl421z_dc1oP8UnUUuidLjiXhCicnj81XAKAka10AhKrRPApcGjAbeQVB2DqgBXDfvZi-k3GpeV4hZkZPfIuVEcJ8EprKoR4ImeSEB22yvXLd3k7txENo7CP3GWnAhE9OULdDRak9ZPVETudPeebg_dWMrtXv6tLkXTpvDas5hG91zsHbmrfF-83YEdGPebj_OvLHTTWeXmu7VTrT8CNSO5c33s_wI6IblrY9j-ZG92EeVC67wpA1SNysIkylW-0qJQk7wQYpJmaY6RqWuDCSodHXrVoeQV1cGcFPsWsXMLmZWsbcldnfFnh27bk_dsKqbdnHTKr6xi28uKfrWKm7ZM7es4rZd3D4Le7T69DcAAP__G0IsTw== query T EXPLAIN (DISTSQL) @@ -434,7 +434,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElFGPmkAQx9_7KTbzdJesBRb1lCeaq024WLmqD01aY6hMDBV36e7S2Bi_ewPc9cTqivHBF4UZ_ju_2f9ktqB-peDB4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I7hG_KC0cEr9Tn7rP9lstd63eL6F9kt89yf-CnXMhY5QY15in2yMVDkVLZFbv4MPjqdu11E5z5zlXOs9iLev0RJ1LsA68135F750h3fPe3Zv0HmtuAHatAdxWw_GfgToYf-cVx3-GdG_8929y_GdW5whVJrjCRpvFLlYTxgus9pgSuZzjkxTzMk31Gpa6MhCj0tWpU70EvDoqAPfFjlHMzGJmFLs1sXMods3Ytjl126jumMUdo7hrFnevKfrOKL43Z743intmce8i7On23d8AAAD__6uGOKI= # Tests where the table with the inverted index has multiple columns in the primary # key. @@ -482,7 +482,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlF9P2zwUxu_fT2GdKxDum9rpH8iVN-ikoq5lLRebpgplzRHLmtqZ7U5MqN99cgKj7YgTxCa4aZrYT55fjn7yLZjvGUQw-HgxejMck4Oz4exy9mF0SGaD0eD0kmRLSvSSuR9O3k0n70lm4y8ZkvPJcEx08Z-La1Srq1QmeEMmY2LsVSotaoMLaw7K_f-7Le41ZaK4PSST6dlgSt5-IgfbPYdAQaoEx_EKDUSfgQEFDhRCmFPItVqgMUq7pdti4zC5gahNIZX52rrHcwoLpRGiW7CpzRAiuHS9U4wT1EEbKCRo4zQrXl8SivJylS_xJ1A4Vdl6JU1UTKCABwqzPHaPWgGH-YaCWtuHQmPja4SIbWhzqKH8gdpicq5SiToId7n-nC7Q35HBTa73Ji04JaLjpjdZ24gIRgWnIqSiW0nLn0LrKO8m2Huc9O56P8ORUst1Tr6pVBIlI-JYOg5v35GCvLdD3qWiX4kdPgV7prRFHZzsIgt2RAU_oiI8Agqr2C6-kgxlRFhla6ey9aFM6QQ1JtVd880jiGPVUnnA-E6sCqO7g8Gaa8-eqX3AW0HYUPwarD3xOy8sfg3tlvj91yR-Dfad-Kz9l83nzZXjz1UubDUUrgZqT7juCwtXQ7sl3PFrEq4G-1449g-P2kdqp2hyJQ02Oj3b7vzF5BrLc9uotV7ghVaLoqa8nRS54kGCxparrLwZynLJAW6HmTfM_WHuDYf-cOgNd3bCbD_c8X9zTXXXm-75wz1vuO8P973hY3_4-DkTO_FPrF2jSY1kdZb5NWM1njG_aPtfPt_89ysAAP__wsbt7g== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUlF9v2jwUxu_fT2Gdq6KaN9jhT5urbC2TqBh00ItNE6oyctRlBDuzzdSp4rtPdtoVWHFSsanqDSG2nzy_c_Qc34H-nkME_Y-XwzeDETk6H0yvph-GDTLtD_tnVyRfUKIWzP5w8m4yfk9yk3zJkVyMByOi3H8e36BcXmcixVsyHhFtrjNhUGmcG31Unv_fHrGfKRXutUHGk_P-hLz9RI42fRpAQcgUR8kSNUSfgQEFDhRCmFEolJyj1lLZrTt3cJDeQtSikIliZezyjMJcKoToDkxmcoQIrqzvBJMUVdACCimaJMvd50vCuHxcFwv8CRTOZL5aCh25Djh4oDAtErvUDDjM1hTkyjwaapPcIERsTetDDcQPVAbTC5kJVEG4zfVnd4H-lvRvC7XT6ZhTErdt98YrE5GY0ZjTOKRxZy8tfw6tpbzvYPdp0vvnQw-HUi5WBfkmM0GkiIhlaVu83Yw48m5js-0uDLZyF4nNmjo07u0tKHxOQVOpDKrgdLuYmB3TmB_TODwGCsvEzL-SHEVE2F7X9l7XRzOpUlSY7vearZ9AHMmmLALGt2T7MDpbGKz-QLADByLgzSCsORIVWDsj0X7hkaig3RiJ3usYiYqC7keCtf7yTPD6YeSHhjFs1oxiBdROFDsvHMUK2o0onryOKFYU9BBF9g-v5ydsJ6gLKTTWunFb9s7G9AbLu17LlZrjpZJzZ1O-jp3OLaSoTbnLypeBKLcs4KaYecXcL-ZecegXh15xe0vMdsVtf80V1h2vuusXd73inl_c84pP_OKTQzp26u9YqyImFSGrSpk_ZqwiZ8wftN3KZ-v_fgUAAP__XXMGFQ== query T EXPLAIN (DISTSQL) @@ -510,7 +510,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUVV9v2j4Uff99Cus-tar5gR3-NU_Z2lSiYqQDJm2aUJUld11GsDPbTK0qvvvkpF2BFYeq2wMviWzn-Jxzc67uPegfOfgQfrwavhmMyNH5YDKdvB8ek0k4DM-mJJ9ToubMPji5GEfvSG7iLzmSYXgxJZfRYERUucGDG5SL60ykeEuiEdHmOhMGlcbE6KMK9L_9xN5VIcrlMYnG5-GYvP1EjtbJjoGCkCmO4gVq8D8DAwocKHgwo1AomaDWUtmj-_LDQXoLfotCJoqlsdszColUCP49mMzkCD5MLe8Y4xRVswUUUjRxlpfXVwqD6nVdzPEOKJzJfLkQ2i_LUIoHCpMitluNJofZioJcmidCbeIbBJ-t6P6iBuInKoPppcwEqqa3qWt6V6BfVTv6MA3HZc2Bwp9VB_r7qvC2UFt_IOCUBG1b1a-Z0oZ8l5kgmSBFnClMG3YJFKKl8UnAaMBp4NGgQ4PuTpP8JSatuYfCd19m8OH9-EuGUs6XRSVfCp9YmW2rfDtypeGeNawxkSKtc9ylQX-nV-8lXidSGVTN002fATuhAT-hgXcCFBaxSb6RHIVP2E7W9k7WJzKpUlSY7uaarZ6ROJINWTQZ34DtktHZkMH2bzH2yhZr8kbT27PJamRtNVn7MJusxuRak_UOvslqvD40GWv95S7j-8ebvzbeXmPPcNeI2gp35zDDXWNyLdz9gw93jdfHcLN_OEKeoR2jLqTQuNdUaNm5gukNVvNIy6VK8ErJpKSpllGJKzdS1KY6ZdViIKojK3AdzJxg7gZzJ9hzgz0nuL0BZtvgtttzDXXHie66wV0nuOcG95zgvhvcf03FTt0Va9XEpCZkdSlzx4zV5Iy5g7btfLb671cAAAD__8xMVJ0= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzcVctu2zoU3N-vIM4qQehrk_IrWunexAEcuFZqu0CLwghU6TRVLZMqSRcJAv97QSkP240oB2kXyUYCH8MzM5wD3oL-kYEPg48Xo_-GY3JwOpzOpu9Hh2Q6GA1OZiRbUKIWzH44OZuE70hmoi8ZktHgbEbOw-GYqGKCB1col5epSPCahGOizWUqDCqNsdEHJehfu8WeVSKK4SEJJ6eDCfn_EznYLHYIFIRMcBwtUYP_GRhQ4EDBgzmFXMkYtZbKLt0WG4fJNfgtCqnIV8ZOzynEUiH4t2BSkyH4MLN1JxglqJotoJCgidKsOL5kGJS_y3yBN0DhRGarpdB-YUNBHihM88hONZoc5msKcmUeC2oTXSH4bE33JzUUP1EZTM5lKlA1vW1es5sc_dLt8MNsMCk8Bwq_uw704ajBda52biDglARt6-rXVGlDvstUkFSQPEoVJg07BArhyvgkYDTgNPBo0KFBt1Ikf45IK-7O-O7zBN79769kJOVilZf0pfCJpdm2zHcjVwjuWcEaYymSCsUPV1wEz7pZxG_Tiy4N-pUueM9xYSqVQdU83nYgYEc04Ec08I6AwjIy8TeSofAJq6zarqz6WEyqBBUm1bXm6ycojmVD5k3Gt2BVNDpbNNj-zcde2HxN3mh6e7ZfDa2d9mu_zvarEbnRfr033H41Lty1H2v94f7j-wefvzT4XmPP2NeQ2ol953XGvkbkRuz7bzj2NS7cx579xWfnibIT1LkUGvd6SVr2LcLkCss3TMuVivFCybgoUw7DAldMJKhNucrKwVCUS5bgJpg5wdwN5k6w5wZ7TnB7C8x2wW235prSHSe66wZ3neCeG9xzgvtucP8ljh27HWvVxKQmZHUpc8eM1eSMuYO2q3y-_udXAAAA__-MbGy1 query T EXPLAIN (DISTSQL) @@ -534,7 +534,7 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzclV9P2zAUxd_3Kaz7RDd3bZK2QJ6yQdCCSsvaSmOaKpTFdyhrsDPbmUCo331yUv6ko25QXxBPke17fM_v6si5A_UnAx_Ci_Php2hE9o6j6Wz6ddgi03AYHs1ItiAnk_EZyXT8M0Py7Us4CUl4YarI3qrmfVUiyxI3uEJxfZlyhjercqUvU65RKky02qtu-miqHHovKpetFhlPjsMJ-fydZAugwAXDUXyNCvwf4A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n42gE9IFv9b2f_FCIRZFX7gX3iXHZM8ZHz_EODK_CRHDWAPzwS5o5NqJ6jaiPhEIylMjqcIHzAebLZ-YxEm2Rdw7r1avpN9ro1Ww422fa2THTHbfd8bZM9QZba6nuve5Ub4B5kur9t55qd_s4ubvGyWtvGaYNptbC1H_dYdoA8yRMB289TBv-DSaocsEV1jCbbu6a9xPZFVbvrRKFTPBciqRsUy3Hpa7cYKh0depUi4hXR8bgU7FjFbt2sWsVezWxsy727La79tY9q7pvF_et4oFdPNgFet8qPrB3PrCKD-3iwxfZni_f_QsAAP__oxSYdg== query T EXPLAIN (DISTSQL) @@ -558,4 +558,4 @@ vectorized: true table: ltable@ltable_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzclVFP2zAUhd_3K6z7RDd3bZK2QJ7CIGhBXcLSTGOaKpTVdyhrsDPbnUCo_31yUgbtqFvUJ3iKbN_je77bI_cO1O8SfAgvzodHUUz2TqJRNvo8bJFROAyPM1JOyWmafCKlzn-USL5-DNOQxElGwgtTSfYWdW-bMlmXucEViuvLgjO8WUiUviy4RqlwotVec9t7U-XQe1G9bLVIkp6EKfnwjZRToMAFwzi_RgX-d3CAggsUPBhTqKSYoFJCmqO7ujBiN-B3KRS8mmmzPaYwERLBvwNd6BLBh8w0SzFnKDtdoMBQ50VZX9_YCprPZTXFW6BwLMrZNVc-KaeU1I6BwqjKzVa748J4TkHM9ENDpfMrBN-Z0-1NRfwPSo3sTBQcZcdb9pXdVuiTYXiakeRLFqbkLIlioPD_tIH-uyq8qeTK2AOXkqDXAgo_C6k0-SUKTgpOqryQyNpmCRSSmfZJ4NDApYFHgz4NBmsh3edAGrjF4AdrAY_iLFrlW3zvf5GhENNZ1bgX3CfGZc8Yj5_i3Te8CieCs-2AezTorwX21gI_cArJUCJbRgycdzCePzGVWLRF1Tlcrl5YWmujt2TD2T7xzo6J77jtjrdl5jfYWsl872VmfgPko8zvv47Mu9uHzd01bF57y6htMLUStf7LjNoGyEdRO3gdUdvwf5KiqgRXuAS77uaueXuRXWHzVisxkxM8l2JSt2mWSa2rNxgq3Zw6zSLizZEx-FjsWMWuXexaxd6S2FkVe3bbXXvrnlXdt4v7VvHALh7sAr1vFR_YOx9YxYd28eGzbI_nb_4GAAD__6g2rCA= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUlV9vmzwUxu_fT2Gdq-adswRI0pYrupZqVBl0hGmdpqhi4axioTaznalVle8-GdI_ZMVJlatcIdvn8Xl-h0fwAPJ3AS74V5fjkyAkB2fBJJl8HnfIxB_7pwkp5uQ8jj6RQqU_CiRfP_qxT8IoIf6VriQHq7r_6zJRldneDfLb65xleLeSSHWdM4VC4kzJg_q297rKoo-iatnpkCg-82Py4Rsp5kCB8QzD9BYluN_BAgo2UHBgSqEUfIZScqGPHqrCILsDt08hZ-VC6e0phRkXCO4DqFwVCC4kulmMaYai1wcKGao0L6rra1te_bgu53gPFE55sbhl0iXFnJLKMVCYlKne6vZsmC4p8IV6bihVeoPgWku6vamA_UGhMLvgOUPRc5q-kvsSXTL2zxMSfUn8mFxEQQgU_p020Ker_LtSrI3dsynxBh2g8DMXUpFfPGckZ6RMc4FZVy-BQrRQLvEs6tnUc6g3pN6oFdJ-C6SGWw1-1Ap4EibBOt_q-fhGxpzPF2XtnjOXaJcDbTx8jXekeSXOOMtagJ_esJ5jK6rTivpMyEWGArMmnGe9g-nylXmEvMvL3nGzejX9VhuDhg1r-6xbO2a9Z3d7zpZp32BrLe2D_Uz7BsgXaT_c97Tb28fM3jVmTnfLkG0wtRay4X6GbAPki5Ad7XvINvw9YpQlZxIbmG039_X3FrMbrL_Pki_EDC8Fn1Vt6mVU6aqNDKWqT616EbD6SBt8KbaMYtssto1ipyG21sWO2Xbf3HpgVA_N4qFRPDKLR7tAHxrFR-bOR0bxsVl8_Cbb0-V_fwMAAP__b4CtQw== diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_json_array_dist b/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_json_array_dist index 627d6d541ead..ec83fa521a1a 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_json_array_dist +++ b/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_json_array_dist @@ -94,7 +94,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlN9u2jAUh-_3FNa52lbTxE7on1y5azONiUGXIG3ThlAgZ1UojTMnqToh3n1KoBQQcVIxVb2L7fx8Ph99OnNI_8zAAff7dfei0yNvrzr-wP_afUd8t-teDsh78tHrfyHTVMajLBiL31KOovieXPhkyuh6v1xz8u2T67lkyo7HRPzKTdNCMuXHY9L3rlyPfPhRHAW02AuAQixD7AV3mILzExhQ4EDBgiGFRMkJpqlUxdG8_LETPoBjUojiJM-K7SGFiVQIzhyyKJshODAIxjP0MAhRGSZQCDELoll5_foBjx-j5Bb_AoVLOcvv4tQhASVjoOAnQbFqGcyE4YKCzLOngmkW3CA4bEGbQ3Xie1QZhp9lFKMyrAquVWOBrgPuQ6KIsNedFEV7-nnmEMGo4FRYlYD8OYAF2KppJw2b1pXyNk_IVEYxkbFDRPGqfo-I9j5am4o2LZkrga3nAPtSZaiM821YwY6osI4qS9iVJZ5ulipEhWHVxXtYerIlE4PxrUgVQnsLgTWXmR0ms8HMlsGb-lzDteOz_fI-1wBu-Hz6OnyuAV75zMxDhObNbeIH2sTNVkOVaqB2VGq_vEo1gBsqnb0OlWqAH1Vi_2s27qnhYZrIOMVGI88shiaGN7gctKnM1QSvlZyUZZbLfpkrN0JMs-UpWy468fKoANwMM22Y68NcG7b0YUsbtrfCbDds699cU7qtTZ_owyfa8Kk-fKoNn-nDZ4d07FzfMbNGkxrJ6izTa8ZqPGN60XZfPly8-RcAAP__WK26iA== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlN9umzAUh-_3FNa52lanYEP6hyt3LdMyZUkHlbZpiyISzirSFDMDVaco7z4BaZpExVBlqnqHbT6f3zn65AWkf-bggPv9sn_WG5C3Fz3_yv_af0d8t--eX5H35KM3_EJmqYzHWTARv6UcR_EdOfPJjNH1frnm5Nsn13PJjB1OiPiVm6aFZMYPJ2ToXbge-fCjOAposRcAhViGOAhuMQXnJzCgwIGCBSMKiZJTTFOpiqNF-WMvvAfHpBDFSZ4V2yMKU6kQnAVkUTZHcOAqmMzRwyBEZZhAIcQsiObl9esGHj7GyQ3-BQrncp7fxqlDAkomQMFPgmLVMZgJoyUFmWePBdMsuEZw2JK2D9WL71BlGH6WUYzKsGpyrQYLdA2494kiwl5PUhTjGeaZQwSjglNh1QbkzwlYBFsN7ajl0PpS3uQJmckoJjJ2iCi6Gg6I6G6n3R1uld6mokvLHmobsJ7TgC9Vhso43Q4v2AEV1kFtCbu2xOPNUoWoMKy7-IksA9mRicH4FlIXobsVgbWXm-0nt8HMjsHb-t2Qa8dv--X9bgi44ffx6_S7oYGV38zcR3De3i6-p13c7LRUqyHUjlrdl1erIeCGWievU62GBh7UYv_r7XyihodpIuMUWz2JZvGoYniN1UOcylxN8VLJaVmmWg5LrtwIMc2qU1YtenF1VATchJkW5nqYa2FLD1ta2N6C2S5s63tuKN3V0kd6-EgLH-vhYy18oodP9pnYqX5iZoMmDZI1WabXjDV4xvSi7XY-Wr75FwAA__-j8Mi2 # This query performs a cross join followed by a filter. # Note that the distribution shows as either full or partial depending on the @@ -151,7 +151,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: [ - /19] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUk09vm0wQxu_vpxjNJXayMSzYSd49kcRUInIhBatq1VjR2mwjOw5LF4hSWf7uFZB_RGFtqz20N3aY38zzjPSsMPuxRIbul8vRqedDZ-hF4-jTqAuRO3LPx7CgvX0CC6u3Dx_C4CMsMplc53wKpxEsLPB83w3B8z-74dgdwkXg-c0WCoEPnc6C9qbgXBWmaYty2rQLp_4QmvW91RXyK2SwWq_3uk8dVo9D1TADy-xCEA7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We5yUDh6v29_xuiMpb4sUFnKegEwYOHYpzYeOM3jD1mC7rdd_16bNPnEGrU7t9ziNpMqFMo6aLh37gDj0oHVFv3XFy2SpYqFE3Db4DS2-PJSpcdIkatt25bk036pp0NBEd88P_b38GNQ8NKxdI7RF16sI2X9xhLY42YjQ4B-P0BanjxE6_lMRemNFKLJUJplorGibbJbZEvGNqPOYyULNxKWSs2pN_QwqrirEIsvrr7R-eEn9qRS4CVMtbOlhSwvbetjWwv0GTF_DfS38v37zQAsf6eEjLXysh4-18IkePnnXwSbr_34FAAD__-9h8_E= # This query performs a cross join followed by a filter. query T @@ -212,7 +212,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzkVdFu4joQfb9fMZqXwq2BOAFK_ZS2pFIqbtIL2dWutqgKxK1CaZx1QtUK8e-rkFIIKg4V-8Zb7PjMnDkzRzPH5PcUGVo_bnsXtgOVrj3wBv_3qjCwetaVB__Cdd_9DyaJiO5TfwQXA5jo0LOuPbCd71bfs7pw49pO8QUF14FKZULrIzDvZppmcJjo9VEVLpwuFO9P5nfo3yGD-WJxUl290Os-LB-MQdeq4Pa7Vh8uf8KE1n2SxfKRYCQC7vjPPEH2CykS1JGggUOCsRRjniRCZr_my4d28IpMIxhG8SzNrocEx0JyZHNMw3TKkaHnj6a8z_2Ay4aGBAOe-uF0GX5Vn7n6uI-f-BsSvBLT2XOUMPAJjJDgIPazU61BNRwuCIpZuk6YpP4jR0YXZH9SdvTCZcqDGxFGXDaMIi_vLeYsb4j7zbP6y24gWfN9EOI-jF6QfASyXmMJFbP50QJTf5d9467QFsbYzcB1LqtI0HXApOveMMZsx-sgwYdQJilMRBhBGEHsh5IHteyYgWYpA5MSUyemQczWTmX0ryiTKfLerfYXVdnuYk-Ip1mcsxcRA9PIS62Y7U9kapfLlPCxiII95GgRs71TDuMrcgyETLlsnBelMI1TYtLTnSmaO1OsIwsZcMmDXYE_4eKImogbVC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64gcU0JmwzGdY3RMCZ6VY-jfeuk-ydHnSSyihO_1gGnZE8iDR54_m4mYyTG_lWK8TJMv3aVuuRHwJM3_0nxhR_mvrMBNMVWKdbVYV4oNtdhQipsFMd0WN9V3LkndUqrbanFbKT5Ti8-U4o5a3DmE2LmamFYyJiVDVjZl6jGjJXNG1YO2ffPh4p8_AQAA__-lsY5U # This query performs a semi inverted join with an additional filter. query T @@ -240,7 +240,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: [ - /19] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzck0FP204Qxe__TzGaU_LvhnjtJJV8MgWjGgWH2pFK1UbIsQdkE3bdXRuBUL57ZZsCRtgE9VL15pmd3-57o-d71D83aKN7djrf93wYHHrhMvwyH0Lozt2DJfwPR8HiBDItxXkRrWE_hMyEr5_dwAX3rBqGweujzoWU56m4qRH-gAwyvrcG50dpGBZBZu6th7DvH8IgM_ciqNsxmMZwCIvg0A3g07dqKEKGQibkR9ek0f6OHBmauGKYKxmT1lJV7ft6yEtu0TYYpiIvi6q9YhhLRWjfY5EWG0Ibl9F6QwFFCamxgQwTKqJ0U1_9KP_3x3l-RXfI8EBuymuhbYgYrJFhmEdVNRpzA1dbhrIsnh7URXRJaPMt212UJ25IFZQcy1SQGpsduh7WiuwRcG9zBc7kca1OhV6kSheQyVRAKiCPUkXJqCqR4aIsbHA4c0zmWMyZduo336O_0v2w00lb-_IuJxvm7tESQvfEg-OF5yPrXvVcyqsyb8RLYYNjVaJ9cGZtj5piKZLdTE46TVqdJp-8SZWQoqRty-EfcLV9ZRO-HMl8PGtPP-npVDJpKeG7Z5j_WYbH3BiNzV1j_IauFzG2_roYv6H_WYyn_0aMXzEZkM6l0NQy2HWzUWWckktq_gktSxXTqZJx_UxTLmqubiSki-aUN4UnmqNK4HOY98JmP2z2wlYL5i9hqxf-2P_ypBee9sPTXnjWD8_e5Xm1_e9XAAAA___F_4V5 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUk09P20wQxu_vpxjNKXm7IV47oZJPpmBUo5BQO1Kp2gj5z4Bswq67ayMQynevbNOAETZBvbS3zOz8dp9n8vgB9c812uien80OvDkMjrxgGXyZDSFwZ-7hEv6HY39xCpmW4qIIIzgIIDPh62fXd8E9r4Zh8PqocynlRSpua4Q_IoOM70Xg_CgNwyLIzL1oCAfzIxhk5l4IdTsG0xgOYeEfuT58-lYNhchQyITm4Q1ptL8jR4YmrhjmSsaktVRV-6Ee8pI7tA2GqcjLomqvGMZSEdoPWKTFmtDGZRityacwITU2kGFCRZiu66u38n__uMiv6R4ZHsp1eSO0DSGDCBkGeVhVozE3cLVhKMvi6UFdhFeENt-w3UV54pZUQcmJTAWpsdmh63GtyLaAe5crcCbbtToVepkqXUAmUwGpgDxMFSWjqkSGi7KwweHMMZljMWfaqd98j_5K9-NOJ23ty_ucbJi5x0sI3FMPThbeHFn3qmdSXpd5I14KGxyrEj0HZ9r2qCmWIukwuf2_ok57Vqe9J1dSJaQoaRty-AdcbV7ZwVyOZD7eb08_rbtTyaSlhO-eXv5n6R1zYzQ2dw3wG7peBNj66wL8hv5nAZ7-6wF-xZ5POpdCU8ta181GlW5Krqj5GrQsVUxnSsb1M025qLm6kZAumlPeFJ5ojiqBz2HeC5v9sNkLWy2Yv4StXvhj_8uTXnjaD0974f1-eP9dnleb_34FAAD__81NhPE= # This query performs an anti inverted join with an additional filter. query T @@ -269,7 +269,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUlUFv2kAQhe_9FaM5QbsErw2E-GSaOKojaqfGVVO1KDJ4EpkQr-u1o0QR_72ySUNMw0KUEzd2d76d98ZPyyPKP3M00b44Hw4cFxonzigYfRs2YWQP7eMAPsKp732FmRTJZR5OYDCCmQ4_vti-Da4XgH1RAtB4vdy6EuIyTu4qjD9hjRk_mID1u9A0g2CmH0yaMHBPoDHTD0Kotqega80meP6J7cPnn2VRiAwTEZEb3pJE8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ILF19M2TdNx_R4yvI5SmcFMRDFEMSRBlFLYKpYFlGcmWJxZOrMMZnVrDetvMVwYfX6Ew1qzfdd3_vO6-TYDIW7zZClexCZYxrPTbtW8pKmIwxqTqwee1Nozau2tXYk0pJTCqiGLf8Lx4pUZuKIlkvZxtXo97lolnYoSvnvc-fvi3uZaq63vmvgtujYS39n_xG8x_CLxR_uYeH33nOnvzJmutXYM2RZRGyHr7n_Ithh-EbLePoZsy7-GRzIRsaSKtbqbteKbS-ENLb_RUuTplC5SMS3bLJfDkis3QpLZ8pQvF068PCoEvoS5EtbVsK6EjQrMN2FDLVtTt-4o6a4a7irhQzV8-B7TR0q4p-7cU8LHavj4TbLHiw9_AwAA__-vtaCK statement ok INSERT INTO array_tab VALUES @@ -318,7 +318,7 @@ vectorized: true table: array_tab@array_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMk01v2kAQhu_9FaM5tc0S4w8-6tOmiatSUUhtpLZqEVrwNHJDvO56HSVC_PfKBkGI8AJqpfbGzvDMPBq9XmD-a44-Bl-u-xe9Aby86kWj6FP_FURBP7gcwWt4Fw4_glBKPE60mPIfUk6S9B4uIhA22zaqggOf3wdhAMI-nwL_XjSbLoFwzqcwDK-CEN5-LVuClTWBDFMZ00DcUY7-N7SRoYtjhpmSM8pzqcryovpTL35Av8kwSbNCl-Uxw5lUhP4CdaLnhD6OxHROIYmYlNVEhjFpkcyr0Vv9za9JdkuPyPBSzou7NPdBMJgiwygT5athuTheMpSF3m7Mtbgh9O0lO96ql96T0hR_kElKynLqxNZ3RbYhgodMAfc2d-QlOyy0D9xm3GG83tA5xbA0W5_NO_psfSlviwx-yiQFmfrA3VJuALy1z9djvMUq61pl9xTlSCpNymrv6nL7jHH3rHaFV7tiO1mqmBTFdYP3uAxkQ2ZWd4eoM2jtGNjH59n-0zxbbuPIPB-wepZn9x_k-YDhkzy3_pc8H1Be57nzt_K8Z0VIeSbTnI7KabMMOsU3tPo4clmoGV0rOavWrJ7DiqsKMeV61bVXj166apWCT2HbCDtm2DHCrhl2jbC3A9vPYc8IvzFvbhnhthluG-GOGe4Y4a4Z7p50sPHyxe8AAAD__9-argo= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMk99v0zAQx9_5K6x7AuYudZL-IE8eWxBFpR1JJUBQVW5zTGFdHBxn2lT1f0dJqnatFjcVSPBWn_vxfe70zQqyX0vwwP9yPbwYjMjLq0E4CT8NX5HQH_qXE_KavAvGH4lQSjzOtJjzH1LO4uSeXIREMLq7KAs2-fzeD3wi2Pmc8O95u-0gEfb5nIyDKz8gb78WV4IWNQEUEhnhSNxhBt43YEDBgSmFVMkFZplURXlV_mkQPYDXphAnaa6L8pTCQioEbwU61ksEDyZivsQARYTKagOFCLWIl-XTO_3tr1l6i49A4VIu87sk84igZA4UwlQUp5blwHRNQeZ61zHT4gbBY2va3GqQ3KPSGH2QcYLKsuvENnsFuiX8h1QR7m73yAt2nGuPcEa5TXm9oX2KYWG2WZvbeG1DKW_zlPyUcUJk4hHuFHIjwjv7vofrrfxdyju0nKJ2BOeUEUKpNCqru6_P2RnlzlltC7e2xe5lqSJUGNU9_IzLSLZkavX3iDqDzp4Ba55v9qf5tpxWw3wfsTrIt_MP8n3E8Em-O_9rvo-MsMl372_l-5kWAWapTDJslNt2EXyMbrD6WDKZqwVeK7ko21THccmVhQgzXd2y6jBIqqtC8CnMjLBthm0j7Jhhxwi7ezA7hF0j_MbcuWOEu2a4a4R7ZrhnhPtmuH_SwqbrF78DAAD__37-t34= # This query performs a cross join followed by a filter. query T @@ -374,7 +374,7 @@ vectorized: true table: array_tab@array_tab_pkey spans: [ - /4] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUk0Fv2k4Qxe__TzGaS-CfDWZtnFCfTIMrOaImNahqlKJowdPIDfG6aztKhPjulQ1NIMIbUHtob-ysfzvvPfEWmP2Yo4Pel8tBzw-g0fdH49GnQRNG3sA7H8P_8CEcfgShlHi6ycXUff51k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YdYJWy8d2TPhPaYKGm7neb-uud7tRq0Xhr2ra-44jh-Mu5MmMhwWuQMuZ67J3HoT5iEmSvHrzXb23uxAyrsihe8yTkAmDrhWKS6AhmvvsGTrLL3-kzYtdphr17q0DnE5kionZZxuO3StY-by49oRndoRL52likhRVNd4h5ZAnsjU6G4RdQrsLQV8_5Tw302JYZ0Y9cvnh-h6lRPr78zJGyY2cmL_wzl5w-U6J2d_Kic7RoSUpTLJaK_vv10GiKJbWoUuk4Wa0aWSs2rM6jisuKoQUZavbvnq4Cerq1LgJsy1sKmHTS1s6WFLC3e2YP4a7mjhd_rJthY-1cOnWvhMD59p4a4e7h60sMnyv58BAAD__-xu8Ko= # This query performs a cross join followed by a filter. query T @@ -436,7 +436,7 @@ vectorized: true table: array_tab@array_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzkk19v2kgUxd_3U1zdl0Ay_BkbCOunYYMjOWJN1nirRimKBjyJ3BCPOzZRIsR3r2xTgpN4Amqf2jfPXP_uPXOuzgqTbwu00P58ORo4LtSGzsSf_Deqw8Qe2Wc-cNo8JsCN5jGce-N_gSvFn29SPmPbr5v4XjzDYALcgJF97oPjfrI93x7Cxdhxd4hbKW_C6DH_lcLYhVqN0-YM2Jdlu22KbMqsDgN3COX7oxVdH9V_VIwmh7wwh24dxt7Q9uCfq0woz4VyJBjJQLj8QSRoXSNFgiZOCcZKzkWSSJVdr_KfnOAJrTbBMIqXaXY9JTiXSqC1wjRMFwIt9PlsITzBA6FabSQYiJSHi7x1lRtI8Ewulg9RYgEnMEOCk5hnp0bLxOmaoFymLxOTlN8JtOia7K_KiR6FSkVwIcNIqJZRFuY_x8IqtjH-37e9fBVI8M0ykGw72U-xghrrbH1nxsbznbuB5w2urqllWY7r96d1JDh2gdHtSjYVJHgbqiSFrzKMIIwg5qESQSM7ZswytYBRwgzCTMK6lZ4Yh3iSebFZVOdQP94scCTl_TIu9MvIAmYWb62x3jsO9XQOJWIuo2APK7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zjn8otAJGlRpcXBiYpSJnAXplrY0MOGFjb1sKmFOyWYPoc7Wvh__eSuFu7p4Z4WPtbDx1q4r4f7exk2Xf_3OwAA__8JyUUD # This query performs a semi inverted join. query T @@ -464,7 +464,7 @@ vectorized: true table: array_tab@array_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzck9FP2zAQxt_3V5zuCTaXNknbSXkKg6AFlZYllca0VchtDpRR7Mx2EAj1f5-cVC1hJBTtZdpb7uyf7_tOXx5R_1qij-HF-egwGsPecZRMky-jfUjCUXg0Be4evIeTeHIGXCn-cGn4PNh8XeY39ACHCXAXvn4O4xDCC8vD3pr-A72S8jITdyXjrBnuHMwh-FH0eh7ZefN9mMTHYQyfvtmSI0MhUxrzW9Lof0cHGXo4Y5gruSCtpbLtx_JSlN6j32OYibwwtj1juJCK0H9Ek5kloY9TPl9STDwl1e0hw5QMz5bl000ekeGRXBa3QvvAGcyRYZJzW3W6Hs5WDGVhthO14deEvrNiu6uKxB0pQ-mpzASprtskbL1BZBsivM8VBP3NCgPLXmVKG_gpMwGZgJxnitKOLZHhpDA-BA4LXBZ4LBg0GnDfYsAKX2-1Xxc_fcjJh1F4MoUkPIvgdBKNkbUteyTlTZFX8qXwIfCs7DEEw7pLTQsp0t1s9htteo02t-6kSklRWjcWOB9wtnphF2PZkXl3WL-91dOopF9T4uyeY-dvc9z1Ojvm-BVVz3Ls_Xs5fsXAkxwP_pccv2AzJp1Loalmsenlng05pddU_RRaFmpB50ouyjFVOSm5spGSNtWpUxWRqI6swKew0wq77bDbCns12HkOe63wx_bJ_VZ40A4PWuFhOzx8k-fZ6t3vAAAA__-DRYqh +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUk0FP20AQhe_9FaM5QbshsZ1QySdTMKpRSKgdqVRtFK3jAbmEXXfXRkRR_nu1dpRgik1QL-0tM7vfznuT5xXqXwt00b--Gp4EIzg4C6JJ9GV4CJE_9E8nwO2j93Aeji-BK8WXs5zH3vbXLLujJZxEwG34-tkPffCvDQ8HG_oP9EbKWSoeSsbaMNw6isH7UfR6Dpl58SGMwzM_hE_fTMmRoZAJjfg9aXS_o4UMHZwyzJSck9ZSmfaqvBQkj-j2GKYiK3LTnjKcS0XorjBP8wWhixMeLygknpDq9pBhQjlPF-XTTR6R4alcFPdCu8AZxMgwyripOl0Hp2uGssh3E3XObwlda832VxWIB1I5JRcyFaS6dpOwzQaRbQn_MVPg9bcr9Ax7kyqdw0-ZCkgFZDxVlHRMiQzHRe6CZzHPZp7DvEGjAfstBozwzVb7dfGTZUYuDP3zCUT-ZQAX42CErG3ZQynviqySL4ULnmNkj8Ab1F1qmkuRNNjc_mNxo0Gn0eDOl1QJKUrqljzrA07XL2xhJDsy6x7Xb-8W3qikX1Ni7Z9g628T3HU6eyb4FVXPEuz8ewl-xcCTBA_-_wS_YDAknUmhqWau6eWeiTclt1R9DloWak5XSs7LMVU5LrmykZDOq1OrKgJRHRmBT2GrFbbbYbsVdmqw9Rx2WuGP7ZP7rfCgHR60wsft8PGbPE_X734HAAD__1PLihk= # This query performs an anti inverted join. query T @@ -492,4 +492,4 @@ vectorized: true table: array_tab@array_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzck0FP204Qxe__TzGaE_y7IbGdpJJPpmBUo9SmjqtStRHaxANyCbvuro1AKN-9WhslmGAT1FN7y-zum3m_yfMD6l9LdNE_P5scBiHsHQfTZPp5sg9Tf-IfJcDtg__hJI4-AVeK318UfO6tf13k13QPh1PgNnz96Mc-hFEC_rnpAXuPHbbkl1JeZOK20lmPOm4dzMH7UQ4GDpmZ832I4mM_hg_fTMmRoZAphfyGNLrf0UKGDs4Y5kouSGupzPFD9ShI79AdMMxEXhbmeMZwIRWh-4BFViwJXUz4fEkx8ZRUf4AMUyp4tqxat3EiwyO5LG-EdoEzmCPDac5N1es7OFsxlGWxmagLfkXoWiu2u6tA3JIqKD2VmSDVt5vGkvucXJj4JwlEXx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1-8f6bmOer__4GAAD__6bOmFI= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_multi_column_dist b/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_multi_column_dist index f2ac677e9e3d..d84a7d621521 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_multi_column_dist +++ b/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_multi_column_dist @@ -115,7 +115,7 @@ vectorized: true └── • values size: 1 column, 2 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk91um0wQhs-_qxjNkf1lG8MCjsTRJjFVXLl2iq3-qEURNaOENWHpLlSuLN97Bc6f3UDrw9mdx-9jeNmg-ZGhj8Hn68n5eAq90Xi-mH-Y9GEeTILLBfwPb8PZe5BcpPImTdYMpA2froIwgF4KNcEZOP0-nE9H0JP8VIL4VlmWQyDtU9mHWTgKQrj4Uo8rBpKfrpBhrhKaxvdk0P-KNkYMC62WZIzS9dGmWRgna_QthmleVGV9HDFcKk3ob7BMy4zQx0X8PaOQ4oT0wEKGCZVxmjU_K20h7ZtiRb-Q4aXKqvvc-FA7IMN5EdfTG4y2DFVVPieYMr4l9O0t-3eLj3FWkRnY-wIuXECPw_Kuylem35pktSY9B1S50glpSvYSopr828orulexuXun0pz0gO8rz6rSB2EzwZlwWo35Mc9mnP8kXVLyEOgcvKTHYiF72gzWhQYxfCqSqCVfmrlMeK1yzjFytdRDe9w_xCR_bM9EqVVVgFRpDir3QdT_YjYFcfaapMfEkIkz1ti2errHeM6VLkkPvH1H4Z4wYZ-0RnjHRIRkCpUbOmxYS2cjhpTc0q6mRlV6SddaLZuY3ThruOYgIVPubvluGOfNVfORvYTtI2B-CPNO2NmDrUPY6YTdbtjthL1u2OuEhwdwtP3vdwAAAP__5RvQ4g== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk11vmzAUhu_3K47OVbJ6DRhoJa7cD6ZmypKOVPvQhioWjlocipkNU6cq_30C-hGywZbLY_vhfQwvD2h-ZOhj8PlydjKdw-h8urxafpiNYRnMgrMreA1vw8V7kFyk8jpN7hlIGz5dBGEAoxRqgjNwxmM4mZ_DSPJDCeJbZVkOgbQP5RgW4XkQwumXelwzkPxwjQxzldA8viOD_le0MWJYaLUiY5Sulx6aA9PkHn2LYZoXVVkvRwxXShP6D1imZUbo41X8PaOQ4oT0xEKGCZVxmjWPlbaQ9nWxpl_I8Exl1V1ufKgdkOGyiOvpDUYbhqoqXxJMGd8Q-vaG_b_FxziryEzsroALpzDisLqt8rUZ9yZZvUkvAVWudEKakk5CVJP_OvIX3YvY3L5TaU56wrvKi6r0QdhMcCacXmO-z7uZ5j9Jl5Q8Bjo7H-mpWMieTwb3hQZx9FwkUUtum7lMeL1yzj5ytdRje9w_xCR_as9MqXVVgFRpDir3QdS3WMxBHHclt1uWtkVrvT0mjpg4Zs0FetXdfdSXSpekJ15XW7gHTNgHvRHePhEhmULlhnZL11PjiCElN9Q216hKr-hSq1UT046LhmsWEjJlu8vbYZo3W81_tw3be8B8F-aDsNOBrV3YGYTdYdgdhL1h2BuEj3bgaPPqdwAAAP__zTvWYw== statement ok CREATE TABLE a1 ( @@ -195,4 +195,4 @@ vectorized: true └── • values size: 1 column, 2 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk11vmzAUhu_3K47OVbJ6DRhoJa7cNkzNlCUdifahDVVeOGpZqM1smDJF-e8TpF_JClsuj32evE_gZY32Z44hRp-vxmejCfSGo9l89mHch1k0ji7m8BrextP3ILnI5HWWrhhIFz5dRnEEvQxqgjPw-n04mwyhJ_mxBPGtchyPQLrHsg_TeBjFcP6lHpcMJD9eIkOlU5rIO7IYfkUXE4aF0QuyVpv6aN0sjNIVhg7DTBVVWR8nDBfaEIZrLLMyJwxxLr_nFJNMyQwcZJhSKbO8-VnpCuleF0v6jQwvdF7dKRtC7YAMZ4WspzeYbBjqqnxKsKW8IQzdDft_i48yr8gO3F0BH86hx2FxW6ml7bcmOa1JTwGV0iYlQ-lOQlKT_1p5QfdS2tt3OlNkBnxXeVqVIQiXCc6E12rMD3k2I_WLTEnpfaC395IeioXscTNaFQbEyWORRC353MxnImiV8w6Rq6Xu2-P_JSb5Q3vGWi-rAn7oTIFWIYj6X0wnIE5fkgyYOGHilDW2rZ7-IZ4zbUoyg2DXUfhHTLhHrRHBIREx2UIrS_sNa-lswpDSG9rW1OrKLOjK6EUTsx2nDdccpGTL7S3fDiPVXDUf2XPYPQDm-zDvhL0d2NmHvU7Y74b9TjjohoNO-GQPTjav_gQAAP__RTnQUg== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk11vmzwUx--fT3F0rpKnXgMGWokrtw1TM2VJR6K9aEOVF45aFoqZDVOmKN99AvoSssGWy2P7x_9n-LNF8z1FH4OPN9OLyQwG48liuXg3HcIimAZXS_gfXofztyC5SORtEm8YSBs-XAdhAIMEKoIzcIZDuJiNYSD5qQTxpbQsh0Dap3II83AchHD5qRrXDCQ_XSPDTMU0kw9k0P-MNkYMc61WZIzS1dK2PjCJN-hbDJMsL4tqOWK4UprQ32KRFCmhj0v5NaWQZEx6ZCHDmAqZpPVjpS2kfZuv6ScyvFJp-ZAZHyoHZLjIZTW9wmjHUJXFS4Ip5B2hb-_Yv1u8l2lJZmS3BVy4hAGH1X2Zrc2wM8nqTHoJKDOlY9IUtxKiivzbkT_oXktz_0YlGekRbyvPy8IHYTPBmXA6jfkx72aS_SBdUPwY6Bx8pKdiIXs-GWxyDeLsuUiiktw3c5nwOuWcY-Qqqcf2uL-JSf7UnqlS6zKHbyrJQGU-iOoW8xmI87bkfsuSpmiNt8fEGRPnrL5Ap7p7jPpC6YL0yGtrC_eECfukM8I7JiIkk6vM0GHpOmocMaT4jprmGlXqFd1otapjmnFec_VCTKZodnkzTLJ6q_7v9mH7CJgfwrwXdlqwdQg7vbDbD7u9sNcPe73w2QEc7f77FQAA__8M79XK diff --git a/pkg/sql/opt/exec/execbuilder/testdata/lookup_join b/pkg/sql/opt/exec/execbuilder/testdata/lookup_join index 0de1d4b9fbf6..9eee624d5f36 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/lookup_join +++ b/pkg/sql/opt/exec/execbuilder/testdata/lookup_join @@ -236,7 +236,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElV9r2zwYxe_fT_HwXLUvMrb8p00FA4cuZSmZ0yUZG2xhuLbovLqWJ9uwUfLdh-0tjUsreXHobgKSdXKOnt8B3WPxPUWGk49Xs_E0gKPX0-Vq-W52DMvJbHK-gv_hYjF_C0fdZRyWIXx4M1lMIIJXQI9hvIQUgvHq_WI8g8t5_VcKyefKshwOVqOTSDATMQ_CO14g-4QUCdpI0EGCLhL0cE0wlyLiRSFkfeS-EUzjH8gsgkmWV2W9vSYYCcmR3WOZlClHhqvwOuULHsZcmhYSjHkZJmljUyfy658v-S3_iQTPRVrdZQWDkMA1gYhAjASXeVjvGSaFMIuBgii_conrDUFRlQ_ORRnecGR0Q_qnu0jSkksuTa8brd1n4Dv1dBlj02A1etbS_hvLS5Fkv-dBdQOZCXFb5fBNJBmIjIFPiW8T3yF-jWUegH-6RfknJMF5VXaPPpfbeTb3Q9wqEzLmksedqOvNEzcLhCFyk3qPTj7t7Xa8af8S0SElMqlh2nvUSJNvW6OTw9VIY7lbI91IXrRGdn-U9iCUtmE6e6DU5NuiPD0cSo3lLkrdSF4UpdMfpTMIpWOY7h4oNfm2KEeHQ6mx3EWpG8mLonT7o3QHoXQN09sDpSbfFuXZ4VBqLHdR6kbyz97pJ3IveJGLrOC9XmGrfsd5fMPbR78QlYz4lRRRY9Mu542u2Yh5UbZfabuYZu2nOuCumCrFtlpsK8VOR0wfix117BO1tatUe2qxpxRrnE-GXPpUKR6pnUdK8ZlafDYkNtV0TFcydcuopmZ0UM-opmiuxlzdNKqpGlV37XH29ea_XwEAAP__8v2OmQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMll9rm1AYxu_3KV7eq3acoMc_bXpgYOhSlpKZLsnYYAvD6qFztR53VNgo-e5D3dJYmnNczEVuAh59fJ73_T0QHzH_mSDD8eeb6Wjiw8nbyWK5-DA9hcV4Or5cwmu4ms_ew0n7MgqKAD69G8_HEMIboKcwWkAC_mj5cT6awvWsepVC8rU0TZuDWeskEkxFxP3ggefIviBFghYStJGggwRdXBHMpAh5ngtZPfJYCybRL2QmwTjNyqI6XhEMheTIHrGIi4Qjw2Vwm_A5DyIuDRMJRrwI4qS2qRJ51c-37J7_RoKXIikf0pxBQOCWQEggQoKLLKjOBgaFII2Agii-c4mrNUFRFk_OeRHccWR0Tbqnu4qTgksuDbcdrTln4NnVdhljE3853Glp_Y_ltYjTv_uguoVMhbgvM_gh4hREysCjxLOIZxOvwjLzwTvfoPwXctcaZ2XRfsGuaeyd0zwNUaZCRlzyqDXAav3CvL4YiMyg7rMnX_Z2Wt60e7Von2oZdGBYe5RLk29TrrPDlUtjuV0u3UqOoFxWd8BWL8DWwLD3AKzJtwF8fjjAGsttwLqVHAFguztguxdge2A4ewDW5NsAHh4OsMZyG7BuJUcA2OkO2OkF2BkY7h6ANfk2gC8OB1hjuQ1Yt5IjAKz5mpnzPBNpzjv9u5vV9wGP7njzMZGLUob8RoqwtmkuZ7WuPoh4XjR3aXMxSZtbVcBtMVWKLbXYUortlpg-F9vq2Gdqa0epdtViVynWOJ_1GfpcKR6qnYdK8YVafNEnNtV0TFcydcuopma0V8-opmiOxlzdNKqpGlV37Xn21frVnwAAAP__SgWtFg== statement ok CREATE TABLE books (title STRING, edition INT, shelf INT, PRIMARY KEY (title, edition)) @@ -383,7 +383,7 @@ vectorized: true table: authors@authors_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyck2-L2k4Qx5__XsX85lGErZpNvELgYEUtZ7F6VaGFIiUxc5oas2l2Ay3iey-70V61mp73RHd25jP7nT_ZofqeYoCDz4-j7nAMTn84m88-jhowG4wGvTkYezjuzSEs9VoWqpmFW4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lkoHMAhC-UTYBwc1Wim7NXlT6vZuy_XtkDxKlk2ylW_65aOHezN95U_7Oq_N378k_I5XLTNHlIl3N3DbbQ_Gaqm1UsixW9FTIlX2mMqeWsxcxKV15eWWMMuuy392fsHsHzC9hXgt7Z3D7EvZqYb8e9mvhTj3cqYW7F_Dy8N_vAAAA___MoPuW query T EXPLAIN (VERBOSE) SELECT a.name FROM authors AS a JOIN books2 AS b2 ON a.book = b2.title ORDER BY a.name @@ -457,7 +457,7 @@ vectorized: true table: authors@authors_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUktFr1EAQxt_9K4Z5Upm2l5yKLBRWasSUM6m5AwUJkt4ONV5uJ-5uQDnuf5ckF7SFHr2n2flmv29-LLtD_6tBhcnXm8W7NIPn79Plavl58QKWySK5WsFL-FDkn6Dqwg9xHtIsSwq4ztMMbkU2PoZ8Op2zqUMtFi4hgi8fkyKZBqEODcPlFHLey0hoxXBWbdmj-oYRloStkzV7L66XdsOF1PxGNSOsbduFXi4J1-IY1Q6HXFS4qm4bLrgy7C5mSGg4VHUzxB5W6kP93m74DxJeSdNtrVdgqy0THICWbdVrZ0hYsDXsFERKqTRbvSXQEYGOsdwTShf-wfhQ3TGqaE9PB76W2h54o_u844vpsUy0C5FN18JPqS2IVaDnpHtf3gUFOqa-f0X6Nek3j_LFp_BlcibtRXwP7bHg-SnBBftWrOcnJc_2JSGbOx5_g5fOrfnGyXpYM7b54BsEwz6M02hsUjuOesD_zdFRc3zcHB81zx-Yy_2zvwEAAP__GM0YKQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkm9r1EAQxt_7KYZ5pTJtb3MqslBYqRFTzqTmDhQkSHoZ23i5nbi7AeW47y75c9gKPdpXm3kmzzO_SXaH_leDGuOvV4t3SQrP3yfL1fLz4gUs40V8sYKX8CHPPkHZhVtxHpI0jXO4zJIUrkU2PoLs8HTKVR1qsXAOCr58jPP40Ah1aBjODyGnvYyEVipOyy171N9QYUHYOlmz9-J6aTe8kFS_Uc8Ia9t2oZcLwrU4Rr3DIRc1rsrrhnMuK3ZnMySsOJR1M8ROI810fm83_AcJL6TpttZrsOWWCSagZVv22gkS5mwrdhqU1jpJV28JjCIwERZ7QunCPxgfyhtGrfb0eOBLqe3Eq-7zjl_MjMeBdiGy6Vr4KbUFsRrMnIy6u8WQSzD9AAJ_y80PJMy6oMFE1BtekXlN5s2DC0RPWSCVE2nPonvsDwXPnxKcs2_Fen5U8mxfEHJ1w-N18dK5NV85WQ9jxjIbfINQsQ9jV41FYsdWD3jXrI6ao-Pm6Kh5_p-52D_7GwAA___rWSOM #################################### # LOOKUP JOIN ON SECONDARY INDEX # @@ -623,7 +623,7 @@ vectorized: true table: small@small_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlV9r2zwUxu_fT3E48ELC5DqynTQVFNy1Lrhkdud4sDHCcGPRZXUtz5ZhpeS7D8ndmpTFDs5Nboz159HznN8R6Bmrnxky9D7fzi78AAZX_jyef5wNYe7NvMsYJD1JCEjr5A6uo_ADVI9JlsHFHCSFmXcdw03oB5Al5T3XsxaEAQyUCs6VLBnCRXAFg4E-4n-YDOEcRkMIoysvgvdftAESzEXKg-SRV8i-IkWCFhK0kaCDBMe4IFiUYsmrSpRqy7MW-OkvZCOCq7yopZpeEFyKkiN7RrmSGUeGcXKX8YgnKS_NERJMuUxWmbbRtbj6-6144E9I8FJk9WNeMVCZ5kWifg2TQpKnQEHI77zExZqgqOWrZSWTe46Mrsn-sW7EKn9JNd5OFT8VnDVsw0-xF2nCSFAzdvX3T9qZEA91AT_EKgeRM3AVOMXftRVqxpgfxFNN_OVfrddS7SSuRVx7ZzHWzmJeaxBlykuebsd36TtcrP9RcSAMUZj0TQ_-ptkdxd6KQvdvN-3VbpMaptWj4R3BNho-Of6GW_tTtvpRtgzT7kG5I9gG5dPjp2zvT9nuR9k2TKcH5Y5gG5Snx0_Z2Z-y04-yY5jjHpQ7gm1QPjt-yh3vXcSrQuQV3ypk18kj9X7w9J43700l6nLJb0ux1DbNMNQ6PZHySjartBn4ebOkAm6KaavY2hLTt2Kr3bnD2m5VO-1i55Dc41bxpN15cojzaat42u48PcT5rL1Xo45r0n7J3nov1v_9DgAA___BWoxP +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlV9r2zAUxd_3KS4XBglT6sh20lRQcNe64JLZnePBxgjDjUWX1bU8W4aVku8-JHc0LosdnJe8GP3x0Tn3dwV6xvJ3igzdr7fzC8-HwZW3iBaf50NYuHP3MgJJT2IC0jy5g-sw-ATlY5ymcLEASWHuXkdwE3g-pHFxz_WqCYEPA6WCcyWLh3DhX8FgoI94D9MhnMN4CEF45Ybw8Zs2QIKZSLgfP_IS2XekSNBEghYStJHgBJcE80KseFmKQv3yrAVe8gfZmOA6yyuplpcEV6LgyJ5RrmXKkWEU36U85HHCC2OMBBMu43WqbXQtjv7-yB_4ExK8FGn1mJUMVKZFHqvhyKAQZwlQEPInL3C5ISgq-WpZyvieI6Mbsn-sG7HOXlJNmqmip5yzmm3wJXJDTRgJasaO_v5LOxfiocrhl1hnIDIGjgKn-DuWQs0Y8_xopom_jBslErjbWYy5s5jXGkSR8IInzfgO_YDLzX8q9sVI5AZ904Ogkio3caydUaxGFLp_u2mvdht0ZJg9Gt4RbKvh0-NvuLk_ZbMfZXNkWD0odwTbonx6_JSt_Slb_ShbI8PuQbkj2Bbl2fFTtvenbPejbI-MSQ_KHcG2KJ8dP-WO9y7kZS6ykjcK2XXyWL0fPLnn9XtTiqpY8dtCrLRNPQ20Ti8kvJT1Lq0nXlZvqYDbYtoqNhti-lZstjt3WFutartdbB-Se9IqnrY7Tw9xPm0Vz9qdZ4c4n7X3atxxTdov2Vvv5ebd3wAAAP__UXyRgQ== # Left join against covering secondary index query T @@ -1187,7 +1187,7 @@ vectorized: true table: small@small_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlNFr2zAQxt_3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8pxdmGoVxlL64qE_eELt-w5mRXchE_gXWrYNPHhFwYepdTmHjXPlyN_VFeITIxyJdn2qGUD6sE_shFDDJ2YcArT9iJae3EfKGTaUgphVWwAf-Is80bbxlJQyYmrwa8y96u2PPm_eNt-2dyw7RadLCGbauDvUN20GoeodU6Qssw7RYR1rBtRXh6yAjt5hHarSO0DdNpEWEN21aE_UNG6DSP0GkdoWOY3RYR1rBtRXj2XkbxG5gBqUTGihpN2U4-pym8p3KuK7lK53STynlhU27Hha44CEll5S0vN35cXuWA22KuFVsVMX8ttvTONda2Vu3oxc4-3F2tuKd37u3jfKoV9_XO_X2cz_S96tR8E_0ne-0923z4HwAA__-XZmPv query T EXPLAIN (DISTSQL) @@ -1211,7 +1211,7 @@ vectorized: true table: small@small_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlm9r4koYxd_fT_HwvIo4Nk7-tDZwIb1tyk2xsVeF22VXltEMXbdpJps_sKX43Zck1cayzrgpgm-EPJmTc2Z-B5wXzH5E6KB3fze88APQrvzJdPLfsAMTb-hdToERmMP1eHQL2ROLIvj_X2_sgaYx6MK8A1-Kft9cgNHvwEVwBd59KQdtLa6VIcvZWlh95YTB39X0hNU67XU-h249X7x-mgO1Ox0Yja-8MfzzCRgSjEXIA_bEM3Q-I0WCBhI0kaCFBG2cEUxSseBZJtJyyUsl8MOf6PQJLuOkyMvxjOBCpBydF8yXecTRwSmbR3zMWchTvY8EQ56zZVTZVPHc6vdr8sifkeCliIqnOHOqI0KCk4SVTz2dAotDoCDybzzF2YqgKPI31yxnDxwduiL7J7teRjlPearb27HquQOaS6ELrtEA4jiOH0wHO_2NP_G_Ecv49WDou5OZPifcgaF3PYWJd-vDzcgPyhUsZ275sz6uoRCPRQLfxTIGETvgluRGAWiuUUa3G8DX0QmOirxcSVxj5z7Mnft4iy_SkKc83A7u0i7OVr_ZbCB6ItHp9lHvsre27On-BaNtC6bTnm60qJgi26ZipweqmMK_WTF6zBUz9m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VASlTXU5LHXlIORZXt2l1YUXV7eKgHUxlYoNudiQis0NMX0vNuWxT-XWllTdk4t7UrHC-XSfQ59JxX25c18qPpeLz_eJTRUdU5VM3jKqqBndq2dUUTRLYS5vGlVUjcq79j77dPnfnwAAAP__dDHHAA== # Regression test for #40562. @@ -1902,7 +1902,7 @@ vectorized: true └── • values size: 1 column, 2 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkdFr1EAQxt_9K4Z5ysrS3uZa0YXCnjaFlJjUS1oECRKSocY7d2N2FwzH_e-SrKAVTuxTMvPtN9_-Zg9ov-9RYvLxLtukOUTXaVmVHzIGZZIl7yp4CTfb4j1ED5vsPikhEoxDFDMGmxI8RBODLLmp4LZIc3CXb16Jy1lxUOTgzya4Anc2IUdtOsqbb2RRfkKBNcdhNC1Za8a5dVgOpN0PlCuOvR68m9s1x9aMhPKArnd7QokPzd6TPV8hx45c0--XiRfwFqIY2i9e7yzD-sjRePd7inXNI6FcHfn_J92aXm-p6Wg8F0_TqmkgGbiL-yrZLvTIMfCr8Pk87Ggmz4zZ-QG-ml6D0RIiJeAK1JrBJr-GSMUwr11IKdO8es1h_euPMeRYeCdBCa5irtZcXZwkE88h25IdjLb0hOr0zmqO1D1SeCdr_NjS3WjaJSaUxeJbGh1ZF1QRilQHab7gn2bxT3P8l7k-vvgZAAD__6n4z4U= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkdFr1EAQxt_9K4Z52pWlvb1a0YXCnW0KKTGpSVoECRKSocZLd2N2FxqP-98lWUErnOhTMvPtN9_-Zvdov_WoMPp4m2zjFNhVXJTFh4RDESXRZQkv4TrP3gO73yZ3UQFMcgFszTlsC_DAJg5JdF3CTRan4M7fvpbns-IgS8GfTHAB7mRCgdq0lNaPZFF9QomVwGE0DVlrxrm1Xw7E7ROqlcBOD97N7UpgY0ZCtUfXuZ5Q4X3de7KnKxTYkqu7fpn4Ct4BW0Pzxeud5VgdBBrvfk2xrn4gVKuD-PekG9PpnOqWxlP5PK2cBlKBO7sro3yhR4GBfxM-n4cdzeSJMTs_wFfTaTBaAdtIuIDNGYdtegVss4Z57VIpFaflGwFnP_84R4GXpveP2ip4EjAJ-H6UTP4PWU52MNrSM6rjO6sEUvtA4Z2s8WNDt6NplphQZotvabRkXVBlKGIdpPmCv5vlX83rP8zV4cWPAAAA__8OI9Dj query T EXPLAIN (DISTSQL) SELECT * FROM (VALUES (1), (2)) AS u(y) WHERE NOT EXISTS ( @@ -1919,7 +1919,7 @@ vectorized: true └── • values size: 1 column, 2 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkW9r1EAQxt_7KYZ5tStLe3u1oguFRLvFlJjUS6wFCRKSocY7d2N2FwzHfXdJUtATKvZVMn9-M_s8s0f3Y4cK9d1NGicZsMukKIsPKYdCp_ptCc_hapO_B3Ybpx91AUxyAWzNOcQFBGAjh0_v9EZDlpeg7yYY2DHqz1-_lOdTv3_oDScjXIA_GTkKNLalrP5ODtVnlFgJ7AfbkHN2mFL7uSFpf6JaCexMH_yUrgQ2diBUe_Sd3xEqvK13gdzpCgW25OtuN098AW-AraH5GszWcawOAm3wv6c4X98TqtVB_P-ma9uZDdUtDafyeFs59qQg1VclxFmZwHWeZChwsSBaPl_6LY0oMLV2G3r4ZjsD1ihgkYQLiM44xNklsGgN0z2kUirJylcCzh7--ORaHryCSD6qRz5Fz4Zcb42jIy2PO1UJpPaelus4G4aGbgbbzGuWMJ-5OdGS80tVLkFiltL0wD9h-U94_RdcHZ79CgAA__-lVNQD +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkW9r1EAQxt_7KYZ5tStLe3u1oguFi-0WU2KuXmItSJCQDDVeuhuzu9Bw3HeXJAU94URfJfPnN7PPMzt0P1pUqO9vkyhOgV3FWZ59TDhkOtGXObyE6836A7C7KPmkM2CSC2BLziHKIAAbOHx-rzca0nUO-n6EgR2i_vzta3k-9vvn3nAywAX4k4GjQGNrSstHcqi-oMRCYNfbipyz_ZjaTQ1x_YRqIbAxXfBjuhBY2Z5Q7dA3viVUeFe2gdzpAgXW5MumnSa-gnfAllB9C2brOBZ7gTb4X1OcLx8I1WIv_n3TjW3Mhsqa-lN5uC0fOlKQ6OscojSP4WYdpyhwtmA1f752WxpQYGLtNnTw3TYGrFHAVhIuYHXGIUqvgK2WMN5DKqXiNH8j4Oz5j4-uXdo2PBqn4EnAcFSV_B9VG3KdNY4OFB33qxBI9QPNN3I29BXd9raa1szheuKmRE3Oz1U5B7GZS-MDf4flX-HlH3Cxf_EzAAD__xtm1ng= statement ok CREATE TABLE lookup_expr ( @@ -1947,7 +1947,7 @@ vectorized: true └── • values size: 2 columns, 3 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUmFr2zAQ_b5fcdyXyONoo2RpgyCgbHWHi2d3sVMGIxgTi85rZnmWjN2F_Pdhu13TQcf67d679-7EO-3R_NyhQPfLtb_0AmAXXhRHn30HItd3P8TwFi5X4SdgN0t_7UbAOAEfOwRsQjDpiylBsPZ9x4FlBDWwhqB1wHcvY7gKvQB2Wt_VZaLasuoUFsIAWH3SwALsSePAMrjocNvj1kHCQmcqSH8og-IrctwQlpXeKmN01VH7XuBlLYoxYV6Ute3oDeFWVwrFHm1udwoF3qS7WpnTMRJmyqb5bpjI4T2wKWy_1cWdcXBzINS1fRpjbHqrUIwP9P-rrnRerFSaqeqUP18X35dKDHmE69hd9akg4VEu8qhOqqRN7pNfSZPkWYuEft-D7zovQBcCGGNMTmAB8uwhPMk7NHMe4RS6S45UauxICBHFKy_4SDBq1DHh_NGf93o-FkJ4QTzvDvtQPmnmsIDZI4uEYW0FSE5yQnJK8h3JGckzkuck5y8myl-T6EqZUhdGPUvz5VttCFV2q4YPYnRdbdV1pbf9mgGGva8nMmXs0OUD8Iqh1T3w2Mz_aZ78Zd4c3vwOAAD___N7_WA= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUtFq20AQfO9XLPuSU1kSn03acGCwmyhFQZVTSw6FYoSwllSNolN1p0qO8b8XSUnjFFLat53ZmVsxox2aHzkqdL9c-3MvAHHhhVH42XcgdH33PIK3cLlcfAJxM_dXbghCEsiRQyDGBON-mBAEK993HJiHUINoCFoHfPcygquFF0Cu9V1dxtyWVaewsAhA1McNTMEeNw7Mg4sOtz1uHSQsdMpBcs8G1VeUuCYsK71hY3TVUbte4KUtqhFhVpS17eg14UZXjGqHNrM5o8KbJK_ZnIyQMGWbZPnwooQPICaw-VYXd8bB9Z5Q1_b5GWOTW0Y12tO_n7rSWbHkJOXqRL48F21LVkMei1XkLvtUkPAgl9nBHFdxG2_jh7iJs7RFQr_fwXedFaALBUIIMRvDFGbvHsObyQ6dOk9wAl2TR5wYe6SUCqOlF3wkOGr4kHB-69_3ejlSSnlBdNYV-zg-a85gCqdPLBKe67y-L4yCiuAnQVc6wZbg4dU45f_EuWRT6sLwiyhfL2pNyOktD3-H0XW14etKb_ozA1z0vp5I2dhhKwfgFcOq-8BDs_yrefyHeb1_8ysAAP__I_P-dw== query T EXPLAIN (DISTSQL) SELECT * FROM (VALUES (1, 10), (2, 20), (3, NULL)) AS u(w, x) WHERE NOT EXISTS ( @@ -1964,4 +1964,4 @@ vectorized: true └── • values size: 2 columns, 3 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUlFr20wQfP9-xbIvvvs4Ep9N2nBgkNsorYIqp5aSBooRQlpSNapO1Z2QUuP_XiQ5jV1Iad92Zndmj9nbovleoEL37tpfegGwCy-Mwo8-h9D13bcR_A-X69UHYLdL_8YNgUkBcsoFsJmA2VDMBQQ3vs85LENogLUCOg6f3rtrF4JVBO5dbwns2LDQ-qGpYuqqutfZvYA1Jy0swJ60HJbBRY-7AXeco8BSZxQk38ig-owSNwKrWqdkjK57ajsMeFmHaiowL6vG9vRGYKprQrVFm9uCUOFtUjRkTqcoMCOb5MXoKOENsDmkX5rywXDc7ATqxj7bGJvcE6rpTvz9qiudl2tKMqpP5fG66LEiBb57GcEyiDy4WnkBCjyIxjmo4zru4sf4R9zGedahQH_owVedl6BLBYwx5sxgAc6rfXiO7NEZf4Jz6E88ocTYiVIqjNZe8E7ApKVDgv-afz3My6lSygui8_7i-_J55hwWcPbEosBVYxU4UjizF-OT_xLfmkylS0NH0b18mI1Ayu5p_A1GN3VK17VOhzUjXA26gcjI2LErR-CVY6t_4KFY_lE8-0282f33MwAA__9ovQAB +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUtFq20AQfO9XDPuSu3Iklt205cBgN1FaBVVOLSUNFCOEdaRqFJ2qk7Ac438vJzmNXUhp33Zmd2aP2duQ-ZmTJPf2yp96Adi5F0bhF58jdH33LMJrXMxnn8Fupv61G4I5As6AC7ChwLArRgLBte9zjmmIBmwl0HJ8_eTOXQSzCO6ttQQ7NMy1vm_KWLVlZXX1TsCa4xXGqI9XHNPg3OK2wy3nJKjQqQqSB2VIfiOHFoLKSi-VMbqy1KYb8NKW5EBQVpRNbemFoKWuFMkN1VmdK5J0k-SNMicDEpSqOsny3tHBB7ARlt-b4t5wWmwF6aZ-tjF1cqdIDrbi31dd6qyYqyRV1YlzuC5al0rCdy8iTIPIw-XMC0jQXjSTvTqu4jZex4_xKs7SlgT5XQ8_dFZAFxKMMTYZYozJ6S68iWPRG_4ER7AnPlKJqY-klGE094KPAkcrtU_w3_Nvu3lnIKX0gui9vfiufJ55hzFOn1gSdKbz5qEwEpWA_QoCa4HHF6N0_ifKuTKlLow6iPHlIy0EqfRO9T_D6KZaqqtKL7s1PZx1uo5Ilan7rtMDr-hb9oH7Yuev4uEf4sX21a8AAAD__6FsBBs= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/vectorize_local b/pkg/sql/opt/exec/execbuilder/testdata/vectorize_local index 8a403937f41c..e19d2619ce95 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/vectorize_local +++ b/pkg/sql/opt/exec/execbuilder/testdata/vectorize_local @@ -98,7 +98,7 @@ regions: table: c@sec spans: FULL SCAN · -Diagram: https://cockroachdb.github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kHMW17xPnfIsmPI3n9RInQlux4vP8_wij-Jow1hZ59oAdBPDY5O1QKyd1Q-keBx8HSh4FtXJNkGfui4ShIes2TWPr0NB14vzn_bXPxS3N1ePYzAAD__51rTyQ= query T EXPLAIN (OPT, VERBOSE) SELECT c.a FROM c INNER MERGE JOIN d ON c.a = d.b diff --git a/pkg/sql/rowexec/processors_test.go b/pkg/sql/rowexec/processors_test.go index 8aadc9b7f3ef..b324cfb85a1c 100644 --- a/pkg/sql/rowexec/processors_test.go +++ b/pkg/sql/rowexec/processors_test.go @@ -750,7 +750,7 @@ func TestUncertaintyErrorIsReturned(t *testing.T) { }, { query: "SELECT * FROM t AS t1 INNER LOOKUP JOIN t AS t2 ON t1.x = t2.y", - expectedPlanURL: "Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lHFr2kAUwP_fp3g8GN3GWXMXtRoYpLQZS5slTh0blFAyc5OsmstyF1DE7z5ihKrVa9zA_3z33s_38947lyj_TNHCoeM5NyNI0l8CPg2CL_Dg_Oh7164P727d4Wj41XsPm5oPVYGC6yEoCq7vOwPwguD-Wx_uAtffZBgEPih6OYePoNjlIoTvn52BU7Xw3HsHLm6TaJJHM-vtBRJMRcz9aMYlWg9IkSBDgiaGBLNcjLmUIi9Ty3WhG8_RMggmaVao8jgkOBY5R2uJKlFTjhaOop9TPuBRzPOmgQRjrqJkuv56ZavH7IkvkOCNmBazVFowJ1DGwywqo0aTGhiuCIpCPbeQKppwtOiK1Ne4E0m6sTBfWiwek3iOBD0hnooMfoskBZFaYJc3EBSq_ERsRuwWsdtHhdg_CnWOXssLn9aeT5vY5lEf86jPs0aRijzmOY93HMLVAWNfNETW7O0VHm7d2mlN668IPXVFmtRoNFndLXnFZGsorfNsSX2hq7NsCas_KnbyqJjRqDmnVzS2rqV9njnVF-qe_TUf8BlwmYlU8lqP1ShfO48nvPprkKLIx7yfi_G6TRUGa259EHOpqiytAjetUqXgNky1MNPDTAubOzDdh029tqFv3dLSbT3c1sIdPdz5nx99pYW7-s5dLdzTw72TtMPVm78BAAD__7d_3bg=", + expectedPlanURL: "Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElHFr2kAUwP_fp3g8GN3GWXMXtRoYWNqMpc0Sp44NSiiZuUlWzWW5C1PE7z6SCNVWr3ED9-fLez_fz3vvboXy1wwtHNmufTWGOPkh4MPQ_wR39reBe-l48ObaGY1Hn923sKl5VxUouByBouB4nj0E1_dvvwzgxne8TYaB74Gi5wt4D4qdLwP4-tEe2lUL17m14ew6DqdZOLdenyHBRETcC-dconWHFAkyJGhiQDDNxIRLKbIitSoLnWiBlkEwTtJcFZ8DghORcbRWqGI142jhOPw-40MeRjxrGkgw4iqMZ-XPq766Tx_4EgleiVk-T6QFCwJFPErDImo0qYHBmqDI1WMLqcIpR4uuSX2NGxEnGwvzucXyPo4WSNAV4iFP4aeIExCJBX267bYkkInfcXTQiP2lUefguTwTau0cFhL0c1V4kj4j_TbpmwflzINyj055IrKIZzzaEQrWe_Q90RBps_ekcH_r1k5rWn9h6LEL06RGo8nq7swLJlsTap1oZ-obXZx-Z1j9wbGjB8eMRs2pvaCxdUbtE02tvlH3_970PXJDLlORSF7rIhvFS8CjKa-eDSnybMIHmZiUbarQL7nyQ8SlqrK0CpykShWC2zDVwkwPMy1s7sD0KWzqtQ1965aWbuvhthbu6OHOv_zpCy3c1XfuauGeHu4dpR2sX_0JAAD__8XU8Oo=", }, { // This test reproduces 51458 and should be enabled once that issue is