From 88f311de7da10f1f29a86795609c8978edfe65ec Mon Sep 17 00:00:00 2001 From: adityamaru Date: Thu, 11 May 2023 16:56:38 -0400 Subject: [PATCH] jobsprofiler: annotate backup DSP diagram with per-proc progress This change teaches `SHOW JOB WITH EXECUTION DETAILS` when run against a backup job to annotate the latest DSP diagram stored for the backup with per-node, per-processor progress information. This annotated diagram is then re-serialized and stored as the most up-to-date DSP diagram for that job. The backup job is the first of its kind to annotate a DSP diagram with per-node, per-proc progress information and so this change adds some logic to deserialize a flow diagram from a URL and annotate the diagram's processors with progress information. Informs: #100488 Release note (sql change): `SHOW JOB WITH EXECUTION DETAILS` for a backup job will regenerate the DistSQL plan diagram with per-node, per-processor progress information. This will help better understand the state of a running backup job. --- .../logic_test/multi_region_query_behavior | 4 +- .../logic_test/regional_by_row_query_behavior | 14 +- .../profilerconstants/BUILD.bazel | 4 + .../profilerconstants/constants.go | 32 +- pkg/sql/delegate/show_jobs.go | 1 + pkg/sql/distsql_physical_planner_test.go | 16 +- pkg/sql/execinfrapb/flow_diagram.go | 125 ++++- .../execinfrapb/flow_diagram_external_test.go | 2 +- pkg/sql/execinfrapb/flow_diagram_test.go | 472 ++++++++++++++++-- pkg/sql/explain_plan.go | 3 +- pkg/sql/jobs_execution_details.go | 100 +++- pkg/sql/logictest/testdata/logic_test/explain | 2 +- .../exec/execbuilder/testdata/dist_vectorize | 4 +- .../opt/exec/execbuilder/testdata/distsql_agg | 98 ++-- .../execbuilder/testdata/distsql_auto_mode | 4 +- .../execbuilder/testdata/distsql_distinct_on | 10 +- .../execbuilder/testdata/distsql_group_join | 4 +- .../execbuilder/testdata/distsql_indexjoin | 8 +- .../testdata/distsql_inverted_index | 8 +- .../exec/execbuilder/testdata/distsql_join | 2 +- .../execbuilder/testdata/distsql_merge_join | 40 +- .../exec/execbuilder/testdata/distsql_misc | 8 +- .../execbuilder/testdata/distsql_numtables | 28 +- .../execbuilder/testdata/distsql_ordinality | 2 +- .../execbuilder/testdata/distsql_single_flow | 8 +- .../testdata/distsql_tenant_locality | 6 +- .../exec/execbuilder/testdata/distsql_union | 90 ++-- .../exec/execbuilder/testdata/distsql_window | 4 +- .../experimental_distsql_planning_5node | 2 +- .../testdata/explain_analyze_plans | 18 +- .../opt/exec/execbuilder/testdata/group_join | 4 +- .../testdata/inverted_filter_geospatial | 4 +- .../testdata/inverted_filter_geospatial_dist | 20 +- .../testdata/inverted_filter_json_array_dist | 30 +- .../testdata/inverted_index_geospatial | 6 +- .../testdata/inverted_join_geospatial | 2 +- .../testdata/inverted_join_geospatial_dist | 36 +- .../testdata/inverted_join_json_array_dist | 28 +- .../testdata/inverted_join_multi_column_dist | 4 +- .../opt/exec/execbuilder/testdata/lookup_join | 20 +- .../execbuilder/testdata/merge_join_dist_vec | 2 +- pkg/sql/opt/exec/execbuilder/testdata/union | 56 +-- .../exec/execbuilder/testdata/vectorize_local | 6 +- pkg/sql/rowexec/processors_test.go | 8 +- 44 files changed, 969 insertions(+), 376 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 d1117c83930a..aee07b6f85be 100644 --- a/pkg/ccl/logictestccl/testdata/logic_test/multi_region_query_behavior +++ b/pkg/ccl/logictestccl/testdata/logic_test/multi_region_query_behavior @@ -372,7 +372,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#eJysk9tO20wQx--_pxjNDQdtlPgACZaQjPhSGpQGmlC1UjeKjHcCW5Jdd3etpkK56rP1vSp7SUNQgwTthb2n-e_M72_PPdqvM0yw--myf9IbwO7_vdHV6H1_D0bdfvf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SwRtkluEyFth7p5B5M6dj2F7_x7bArofQt-K62_geltxl5QaFU9yUooqa2RroOP5K770ZUMWTX_dkR6fckO8ram5G6n576nEheTiuRDB-rV118T1sChET8r7siA_JBdEiojEwWp1lm28aFBwYICCoYpI7DkkDhwS-_a3Hx9sBQo2gIL3AA1QF1Jo3DD776xreLYqyG6xrqSWpUrxWsm0iq2XV5VQtcFQm_rUrxddUR159gaFyfTlU1lV8j6q5G4q-W8qBWtK7qqSv6kUvKkUbldyrWNZLh9sE0bgPj-NV16LB-wfklttyza8kw-V7OixsKZnSa7RgcvkHs_QoJpywbXhKURGlTif__cnAAD__8jUE1E= skipif config multiregion-9node-3region-3azs-no-los query T nodeidx=3 @@ -410,7 +410,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#eJyslN1u2koQx-_PU6zmJudES_AnEEuRNsqhLRGFFCK1Uhchxzsk28Cuu163riKu-mx9r8o2-SCqqUh7Aeudmb9nfrOzvoPs8xIi6H-4GJ4ORuTf_wfTy-m74X9k2h_2zy6JNgLNXApKUqNXOjuqlo1BJkhOp_XD_Ku0Nzq38yrg3ntIhMwSnSu7HVhHkVeT8ds6RUbOx4PRJgkZ3z8dSbXQhPHccXzcRNa292_6k_5DeeSEHBwHGFz1gm6rt_AWrSBOwlbPX7itTuCKDvpi0fW6B0BBaYGjeIUZRB8hgBmF1OgEs0yb0nRXBQxEAZFDQao0t6V5RiHRBiG6AyvtEiGCy_hqiROMBZq2AxQE2lguq9fWlbJ6mae3-A0onOllvlJZtNVUmSAlJRFQmKZx6W5zYBzaHDgvjgPOCyz_rnqvOS96i_b5j--cFwtXcF64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UBZSFlEW9TGGHKXwJk2PZJ1Z0jGefWDOlbquS_KGEJEomhLlFizlho__EevhH6gOMKTulbNSLGXUwo5dgtskSHxIuUXLUjQfCIkpY4H5vWNzrIe54iF_iYYmmVNJgJ7X_X6IOfFcDyK-xrRujKp3jZ63yJrbtLhqhZoCjse1s0Hamspny3Q4as-1jYT5X8l-r5HWVgqNK4YGS91wp6CqFR5WifqWwqxQdVYr7laKuUnxU6bRfyXO3WGzU3VpwSMDbP4OvvB4ecAuya-NSaXWj7hrZiy-lS4Qi2xik8Cm7xTO0qLdCCmNFDonVFe523_0bAAD__51rvcs= # 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 2576306d7150..9b8901444ec6 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 @@ -423,7 +423,7 @@ SELECT * FROM [EXPLAIN (DISTSQL) SELECT * FROM regional_by_row_table WHERE pk = table: regional_by_row_table@regional_by_row_table_pkey spans: [/'ap-southeast-2'/1 - /'ap-southeast-2'/1] [/'ca-central-1'/1 - /'ca-central-1'/1] [/'us-east-1'/1 - /'us-east-1'/1] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8kF-r00AQxd_9FMM8qazkT32QgHDlmmKgttckoHATwjY7lJjc7Lq7wZaS7y5JHmoliLbcPs6ZOTPnN0c0PxoMMAlX4X0Kr2EZbz7DY_jtYfUhWsPLj1GSJl9Wr-B8QNOuki1viu2h0PJnYfm2Ifj6KYxDUDW8By-HzXKZhCn4yLCVgtb8iQwGj-hhzlBpWZIxUg_ScRyIxB4Dl2HVqs4Ocs6wlJowOKKtbEMYYDrciYkL0o6LDAVZXjXj2tlId7NqoWo6IMN72XRPrQlA1QxU7TPgDLYMviPDRPGh42R4l6HjOS7mPUPZ2VM4Y_mOMPB6dhmAdyOALNu_c58Lwr8dRHk5xCl710otSJM4y533M5hr-UYqZ_HH4Pxp_3_-F5NRsjX0T5vdIRqJHU0cRna6pActy_HMVG5G3ygIMnbqLqYiasfW-Jvfzd41Zv8a8-Kv5rdnZrfP-xe_AgAA__9014gb +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8klGrmzAUx9_3KcJ52kaKxu5hBAZ33Fom9LZ3VdjgViTVczunNVkS6S3F7z602-6tuLH2oXkQcnL8nf8vegDzowQOoT_zbyPylkyXizvy4H-9n30M5uT1JAij8PPsDTlt0LjJZSXKZL1PtNwlVqxLJF8--UufqIJ8ICwmi-k09CPiAYVKZjgXWzTAH4BBTEFpmaIxUrelQ9cQZE_AXQp5pWrblmMKqdQI_AA2tyUCh6ids0SRoXZcoJChFXnZYQcj3QxWE1XgHijcyrLeVoYTVVCiCo8SQcmaku9AIVSiPXFWcLMChzkuxA0FWdvncMaKDQJnL2yCCXC3oZcJsSsJrVZP790zpdilUt71pNJzpby_Sj271JXUGWrMTjziZkB7LkdSOeNe43AUrxdlfM79LtEoWRn8r0lub9KItdkx2-BR1Mhap3ivZdr1HreLDtQVMjT2eDo-boKqO2LtBI1i--eff0lil5JYn-RdSvL6pPE_Se9OSO6pXUzhsZS7JM-Ag_trjQYevxe0L4iNaT9b-E3uOmy0V-2lP4rSIIU7UeAELeptXuXG5ilwq2tsmlc_AwAA__9wGtJB statement ok SET vectorize=on @@ -483,7 +483,7 @@ SELECT * FROM [EXPLAIN (DISTSQL) SELECT * FROM regional_by_row_table WHERE pk = table: regional_by_row_table@regional_by_row_table_pkey spans: [/'ca-central-1'/1 - /'ca-central-1'/1] [/'us-east-1'/1 - /'us-east-1'/1] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8kl-L00AUxd_9FJf7pDKSP60gAWFlTbFQ27UJKGxCmGYuJSbNjDMT3KXku0uShzUSu7td6OP988s952SOaH5VGGAUrsLrGN7CYrv5Crfhj5vVp-UaXn9eRnH0bfUGxgua9oWseZXt7jMtf2eW7yqC71_CbQiqhI_gpbBZLKIwBh8Z1lLQmh_IYHCLHqYMlZY5GSN11zr2C0txh4HLsKhVY7t2yjCXmjA4oi1sRRhg3N3ZEhekHRcZCrK8qPrPTkq6muxmqqR7ZHgtq-ZQmwBUyUCVPgPOYMfgJzKMFO8mToJJcvfBTdDxHBfTlqFs7INAY_meMPBadp4J73Im8vNNPGhvaqkFaRIj3Wk7YXMt30nl-P8sTp_2z81vdqH8rh7JbvaE7Azpglfw7AjnY4-r4lBY8P4rxX1OllsyStaGnvSX3E4jiT0NvoxsdE43Wub9maHc9FzfEGTsMPWHYln3o_6d_Q17L4H9k_D8NDx7CTw_Cb8fwW6btq_-BAAA___NQ8qq +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8k1Fr2zAUhd_3K8R92oZCLCeDIRh0NA4LpEkXBzZoTFDs20yLY2mSTBqC__uws621cbomD9WDQVfX3z3nyD6A_ZUChzAYB9dz8p4MZ9Mbchd8vx1_Hk3I28EonIdfx-9IvcHgWqpMpMvVfmnUbunEKkXy7UswC4jekE-ERWQ6HIbBnPhAIVMJTsQWLfA7YBBR0EbFaK0yZelQNYySB-AeBZnp3JXliEKsDAI_gJMuReAwL-fMUCRouh5QSNAJmVbYVklXrdWl3uAeKFyrNN9mlhO9oURvfEoEJStKfgKFUIvypLuAxeLho7eALut6EBUUVO4eBVon1gicPXE0GgD3CnqZKfZ6puJzTbGTph695JkyCRpMaj6iosX2RHWU7vqNxnYpfkOKf2m-vVfK9-o_2fYahnovyNaikSIlZ0fcr3sey610hJ2U5jWk9c_JeoZWq8zii261OanDShOYrPFo3KrcxHhrVFz1HrfTClQVErTueOofN6OsOmLlBINi--9XfEpil5JYk-Q_S-qfJvWapN6lJL9J6j9L-lAjefWcIgr3qdotZQIcvD-r0_L4u6B8Qaxt-QGEP9Suws73ury-e5FapHAjNjhAh2YrM2mdjIE7k2NRvPkdAAD__67tHiA= query T EXPLAIN (VEC) SELECT * FROM regional_by_row_table WHERE pk = 1 @@ -504,7 +504,7 @@ SET vectorize=off query T retry SELECT * FROM [EXPLAIN (DISTSQL) SELECT * FROM regional_by_row_table WHERE pk = 1] AS temp(a) WHERE a LIKE '%Diagram%' ---- -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8keFr1EAQxb_7VwwDpa2sJBu_SEBoaSMG47VeDhR64di7Hc71kt11d4MtR_53uUQ4IxdBBT_Oe_Mm75fdo_9aY4plVmQ3C3gOb-Z37-Eh-3RfXOczuLjNy0X5obiE8YKjrTJa1Kv108qZb6sg1jXBx7fZPAO7g9fAK7guIVBj4UJc_nAEFPm7DM7PbpXYOtGcnSNDbSTNREMe0wfkWDG0zmzIe-MO0r5fyOUjpjFDpW0bDnLFcGMcYbrHoEJNmOLi0GFOQpKLYmQoKQhV92dP1r06qa7sjp6Q4Y2p20b7FOyOgd0lDASDNYMvyLC04uBES1wuH1_FS4x4FIPQEjiY8JkcVh1D04ZjWR_EljDlHfs7IP6fgK4GmEmAZBLg2NuTU6KGVhsnyZEcVa-6E6Qz88LYKBkzFqpRAfhklfhP_uWcvDXa0y9dpi5XDEluaeDypnUbundm039mGO_6XC9I8mFwk2HIdW_1j_1zmP9LOPlt-OUoHHdV9-x7AAAA__-eCkLr +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8kFFr2zAQx9_3KY6D0nYoxPJehmDQ0njMLE27OLBBY4ISXVMttqVJMmkI-e7DTrc2IRlbH6YHg-7OP_1_t0b_o0CBWdJPrkbwFj4Ob67hLvl2279MB3DWS7NR9qV_DrsDjubaVLKYTFcTZ5aTIKcFwddPyTABu4APwHO4zCBQaeFMnj91JPTTzwmcnvS0nDtZnpwiw8ooGsiSPIo75JgztM7MyHvjmtK6HUjVI4qIoa5sHZpyznBmHKFYY9ChIBQ4ajIMSSpy3QgZKgpSFy32YNyLg9WJXdAKGV6Zoi4rL8AuGNhFzEAymDL4jgwzK5tOd4zj8eP7aIxd3o1AVgo4mPBADvMNQ1OH57A-yDmh4C_s0h6KaMNeJ8j_k-DFVu6oULwnxI8KPXt4cloWUFfGKXKkdlTyzQHzgekY2413nfu61AH40WjRXrT4X3Y9JG9N5Wkv29-91OGNBKk5bcW9qd2Mbp2ZtbPb600LaguKfNh24-0lrdoWb15wJMvfm31J4q8lRfuk-I-kdzukaJeUM7wvzHKiFQqMnk7nwOfXweYHOffNsrMHs2yxo5VtVnUvC08Mr-WCehTIlbrSPugZiuBq2mze_AwAAP__m_KD0g== statement ok RESET vectorize @@ -815,7 +815,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#eJysk9Fro0AQxt_vrxjmJcmxR1bjQVkoWFrDWTzTS4QrNBKsO7Re7a63KqSU_O-HmqMxXALt5UXd2fnc3zd8-4rl7xwFLrzAu4zgM0zns-9w593eBBd-CMMrfxEtfgQj6Dekj1ku4ec3b-7BMJxF4N02jTDstxWJIVVt-4pVJuEc0lXzMRrBRXgFw7QrWnwUw2w6XXgR2MhQaUlh8kwliju0MGZYGJ1SWWrTlF7bBl-uUXCGmSrqqinHDFNtCMUrVlmVEwqMkvuc5pRIMmOODCVVSZa3v209uO1zVTzRCzK81Hn9rEoBDRbboiLDRZE01fESl8v1GV_i2OJjDomSYIGuHslgvGGo6-qNpKySB0JhbdjHaK0T0Lpb0oN09kG6N6iSTJbkUCttJBmSPa548w8bof6ii7HdNxBkz1kF1kEU_p5BXetMbec06R8TvRQkIPCmEVyEkQ_XMz9Ehl0S3e71d4CB1k91Ab90pkArAUPXgXNYDxw-EEK4FucWP9sG1bXhHNzJaHfuRTd3I-9Xhh4yrQ6am3zQnHNac82NXg_Odu0xWA_Snt-TGHbeY3hOZaFVSXvJOpSTmCHJB-pSWurapHRjdNoe0y1nra4tSCqrbtfuFr5qt9p7uSu2_kdsHxVPemK-L54cFTvHxc5R8dc9cbz59CcAAP__ibHiWg== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyslNFr6kgUxt_3rzicF3VJcRJdKAOFlBrZFBu7GthCFUmTUzu3MZM7k1BL8X-_TGJvTajltjQP0Zwcf_N9Zz7nBfXPFDnOvYl3EcLfMJ5Nr-DWu7menPsBdEf-PJz_N-lBsyF-EGkC___rzTzoBtMQvBvTCN1mWx4pyop9X74SCZxBvDJfej04D0bQjeuizXpLmI7Hcy8EBy3MZEJBtCGN_BZtXFqYKxmT1lKZ0kvV4Cdb5MxCkeVlYcpLC2OpCPkLFqJICTmG0V1KM4oSUn2GFiZURCKtsJUHt7qv8kd6RgsvZFpuMs3ByLL2UtHCeR6Zan-Bi8X2lC2wb7M-gyhLwAZZPJDC5c5CWRZvSnQRrQm5fSDdHyFnO-tr6u1vUO_ulR9V67TU2kfVvonUpESUQplJlZCipKFzuXvHViBPZN53moYmYiMKsI9KYy1pzmcGeSlFtp_joLls-JwTh4k3DuE8CH24nPoBWlgn160_Xgc8kfKxzOGHFBnIjEPXHcIZbDtD1uGcuzZjNjvdB9t14AzcQe9wX_J6X1Ryt1K0FjI7anbQMjv4otnh95o1J8K2c3po14JtJ274_5YBDFsDGH5mADPSucw0tZL4Z7k6sU1kKVlTHXMtSxXTtZJx1Vs_TitQVUhIF_Vbp37ws-qVbVZQFG1-_48OSfZXSaxNcj4kDRokdkhy2qTBh6ThcdKgTRp-SPrnOImZ2d-n8smcXBzZ_jp55_Z6oflBtNYmAPMH-VRhTdA18vso1WThVfRIIypIbUQmdCFi5IUqabf761cAAAD__yS4NdA= statement ok SET vectorize=on @@ -892,7 +892,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#eJysk9Fro04Qx99_f8UwL0l-7JHV5CEsBCyt4Sw26UXhCo0E6w6pV7PrrQopIf_7oeauNdcUencv6s7Od_az3xn3WHzPUGDg-u5lCP_DbLm4gXv37ta_8ObQv_KCMPjiD6CbkDymmYSvn92lC-5dnQP9bkYeG1LlMSVfpxKmkKzrjwFczK-gn7Qxiw8iWMxmgRuCjQyVljSPt1SguEcLI4a50QkVhTZ1aN8keHKHgjNMVV6VdThimGhDKPZYpmVGKDCMHzJaUizJDDkylFTGadaUbeid5rnOn-gZGV7qrNqqQkCNxY6kyDDI4zo6XOFqtZvwFQ4tPuQQKwkW6PKRDEYHhroqX0iKMt4QCuvA_ozW-ge0zpH0LJ19lu4FqiCTxhlUShtJhmSHKzq8cY25_qTzod29gJ9u0xKssyj8I0Zd61QdfRp1jwmfcxLgu7MQAvfGg-uFN0eG7SA67eungb7WT1UO33SqQCsBfWcMU9j1xrwnhHAszi0-OQ6qY8MUnNEAGS5pq0uC7A11_bPsepPXega7XtIp-HvFX53M204a-bA2tEm1OmvX6CN2LanItSropHXnGhExJLmhdgwKXZmEbo1OmmPa5aLRNQFJRdnu2u3CU81WM_ivxdbfiO13xaOOmJ-KR--Kxyfi6PDfjwAAAP__S-6YJw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk0Fv4jwQhu_frxjNBfjkCif0UFmqRFWClopClyBtpYJQmkyptyHO2o5KVfHfV05oS9hSbavNweDx-PXjd8bPaH6lKDAMhsH5FP6H_mR8CTfB9dXwbDCCZm8QTsPvwxbUE-J7mSbw41swCSC4djnQrGfkkabMblPyhUzgFOKF-9OCs1EPmnEV83hrDuN-Pwym4CPDTCU0ilZkUNygh3OGuVYxGaO0Cz2XCYNkjYIzlFleWBeeM4yVJhTPaKVNCQVOo9uUJhQlpNscGSZkI5mWsiV9txwX-QM9IcNzlRarzAhwWGxLigzDPHLR9gxns_UJn2Hb420OUZaAB8rek8b5hqEq7BuJsdGSUHg76IMeCr5hX6P3_gF9d0t-kNbfo_UO0r5BGtIySqHIlE5IU1LjnG_eudZIHam87dcvNJQracE7iMb30PzPGHmhZLb1sVM_dvqUk4Bh0J9CGFwO4GI8GCHDqnG71c-LwUOlHoocfiqZgcoENLvHcArrxjFvCCG6HuceP9k2dteHU-h2WshwQitlCdJ3drvHtW6c7O5nsG7ENcE_FV8rnVeV1sntQtNSquygfZ09-zqfsW9CJleZob3S_l2hjjzXA5Qsqeobowod05VWcZlbTcelUBlIyNhq1a8mg6xc8twJmqLVa2PuKnlfVeL7Sv6HSp2aEt9V8veVOh8qHR9W4s6xu1Q9ugcskG-_o3eGlw_dhmhpXNnCe_VYyrrmNijuotQQw8vogXpkSa9kJo2VMQqrC9ps_vsdAAD__6Zd4k0= statement ok SET vectorize=on @@ -970,7 +970,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#eJysk1Fr2zAQgN_3K457STs0Itt9CIKAS-swl8zunMAGjQmudaReHcmTZcgI-e8jdrbWWVPothfbOuk7fbqTt1h_L1HgLJgGV3N4D5Mk_gR3wdfb6WUYwdl1OJvPPk_Pob8gfyhKCWEUBQncxGEEVWZIWYgjqJaFhDHky_bjy8cgCSDvYg5PIZ5MZsEcXGSotKQoW1ON4g4dTBlWRudU19rsQ9t2QSg3KDjDQlWN3YdThrk2hGKLtrAlocB5dl9SQpkkM-TIUJLNirJN24r67XNZPdIPZHily2atatFasYMoMpxV2T46XOBisRnxBQ4dPuSQKQkOaPtABtMdQ93YJ5PaZitC4ezY39k6_8HWP5ietHNP2j1J1WSKrIRGaSPJkOx5pbsXjhHpD7oauv0DTIt1YcE5qcLfUqgbXahDnbz-Nt1t87vXr0pNtX5sKvimCwVaCTjzL2AMm8EFHwghfIdzh4_O4TK6hjPfhTH43jkyTGitLUH5Ar3_ATaD0XOewWaQ9xL-mfF3y6quZUbeLw2tCq2QYdxYAb7DfJf53sk6eW-pU0J1pVVNRz071YGUIckVdf2vdWNyujU6b7fphnHLtQFJte1m3W4QqnaqvfHPYedfYPdV2OvB_Bj2XoUvjuB09-5nAAAA__-kyJCd +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk9FO4zoQhu_PU4zmpnBkVDvhAllCCqJBJ6iknLbSrkSrKiRD8ZLGWdsRRajvvkpSoO1StKD1hROP7d-f_xk_o_2Zo8RR2A_Px_AvXAwHV3ATfr_un0UxHPSi0Xj0f_8Qthek9yrPIIrjcAiXgyiGMjFUOBjEUM5UBqeQzpqfb_-FwxDSNib4FAYXF6NwDB4yLHRGcbIgi_IGBU4ZlkanZK02dei5WRBlS5ScoSrKytXhKcNUG0L5jE65nFDiOLnNaUhJRqbLkWFGLlF5I9uABk0_Kx_oCRme67xaFFY2VGwNigxHZVJHuxOcTJYnfIJdwbsckiIDAdrdk8HpiqGu3BuJdcmcUIoN9KiHkq_Y1-jFX6AP1uR7ab0dWrGX9g3SklFJDlWhTUaGsi3O6eqda8X6SJddb_tCfbVQDsReNL6D5n3GyEutirWP_vaxbXUG7efFyb7WD1UJP7QqQBcSDoJjOIVl55h3pJSB4Fzwk0M4i3twEHhwCoF_iAyHtNCOIH9nd_1glp2Tzf0Mlp10S_B3xdeUlm1KTXY7MzRXukCGg8pJCAQLPBb4e33zd3zzP-PbkGypC0s7Of2zDB2JOvmUzaktGKsrk9K10Wmzth0OGqEmkJF17azXDqKimRL1CYaSxWtFbiqJryrxXSXvQyV_S4lvKnm7Sv6HSsf7lXjt2F2uH-uXK5Gv29E73UvDekMyt3XaRvf6sZEdP5W16XdJbonhVfJAPXJkFqpQ1qkUpTMVrVb__AoAAP__93baww== statement ok SET vectorize=on @@ -1048,7 +1048,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#eJysk1Fr2zAQx9_3KY57STs0Ijt9KIKCS-uwFM_uHI8NGhNc62i9OpIny5BS8t1H5G6ts6bQbS-2dNL_9NP_Tg_Y_qhR4DyMwrMM3sM0TT7BVfjtMjqdxXBwPptn88_RIQw3lLdVLSEKpxlcJLMYmsKQspDE0CwrCSdQLt3g68cwDaHsYx7PIZlO52EGPjJUWlJcrKhFcYUe5gwbo0tqW222oQe3YSbXKDjDSjWd3YZzhqU2hOIBbWVrQoFZcV1TSoUkM-bIUJItqtqldZyB-y6bO7pHhme67laqFY6KPYIiw3lTbKPjBS4W62O-wLHHxxwKJcEDbW_JYL5hqDv7RNLa4oZQeBv2d7Tef6ANHkn30vl76Z6gWjJVUUOntJFkSA648s0L14j1B92M_eEFompVWfD2ovC3GHWhK_Xo02R4THbfkOi7L_mShanrQWTYd2HQ_345GGl91zXwXVcKtBJwEBzBCaxHR3wkhAg8zj1-fAin8TkcBD6cQDA5RIYprbQlqF9Qb9_FenT8XM9gPSoHCf_M-LuUTV9KI6-Xhm4qrZBh0lkBgccCnwWTvf5N3uJfSm2jVUs7tdxXmZwhyRvq-6LVnSnp0ujSHdNPE6dzAUmt7Vf9fjJTbsm9hOdi71_E_qviyUDMd8WTV8VHO-J88-5nAAAA___MpJbi +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk1FP2zwUhu-_X3F0bgqfjGqnXCBLSEE01YpKw9pMm0SrKiSH4pHGme2IItT_PiUp0HYUDTRfOPGx_frxOa-f0P7KUOI4GATnEfwPvVF4CdfBj6vBWX8IB93-OBp_HRzC9oLkTmUpDIJeBBdhfwhFbCh3EA6hmKkUTiGZ1T_fvwSjAJImJvgUwl5vHETgIcNcpzSMF2RRXqPAKcPC6ISs1aYKPdUL-ukSJWeo8qJ0VXjKMNGGUD6hUy4jlBjFNxmNKE7JtDkyTMnFKqtla06_7mfFPT0iw3OdlYvcypqKrUGR4biIq2h7gpPJ8oRPsC14m0OcpyBAuzsyOF0x1KV7JbEunhNKsYHe76LkK_Y5evEP6P01-V5ab4dW7KV9hbRkVJxBmWuTkqF0i3O6euNaQ32ki7a3faGBWigHYi8a30HzPpLIC63ydR4728dGjwXJxq3htygY1Z5Fho1r_ebznOGB1vdlAT-1ykHnEg78YziFZeuYt6SUvuBc8JNDOBt24cD34BT8ziEyHNFCO4Lsjd3VO1q2Tjb3M1i2ki3BPxVfSl00pTbpzczQXOkcGYalk-AL5nvM7-zNZ2cnn52P5HNEttC5pZ1a_13ljkRlCkrn1BjJ6tIkdGV0Uq9thmEtVAdSsq6Z9ZpBP6-nRHWCoXjx4tRNJfFZJb6r5L2r1NlS4ptK3q5S512l4_1KvMrYbaYfqhctka_b0Rvdc8NqQzy3VdnGd_qhlq3cblHexpklhpfxPXXJkVmoXFmnEpTOlLRa_fc7AAD__0CL4Qg= statement ok SET vectorize=on diff --git a/pkg/jobs/jobsprofiler/profilerconstants/BUILD.bazel b/pkg/jobs/jobsprofiler/profilerconstants/BUILD.bazel index 291fbfb895e2..b21c6aecd4dd 100644 --- a/pkg/jobs/jobsprofiler/profilerconstants/BUILD.bazel +++ b/pkg/jobs/jobsprofiler/profilerconstants/BUILD.bazel @@ -6,6 +6,10 @@ go_library( srcs = ["constants.go"], importpath = "github.com/cockroachdb/cockroach/pkg/jobs/jobsprofiler/profilerconstants", visibility = ["//visibility:public"], + deps = [ + "//pkg/util/uuid", + "@com_github_cockroachdb_errors//:errors", + ], ) get_x_data(name = "get_x_data") diff --git a/pkg/jobs/jobsprofiler/profilerconstants/constants.go b/pkg/jobs/jobsprofiler/profilerconstants/constants.go index 347d3fc1f64c..8a8e2107f06e 100644 --- a/pkg/jobs/jobsprofiler/profilerconstants/constants.go +++ b/pkg/jobs/jobsprofiler/profilerconstants/constants.go @@ -10,7 +10,14 @@ package profilerconstants -import "fmt" +import ( + "fmt" + "strconv" + "strings" + + "github.com/cockroachdb/cockroach/pkg/util/uuid" + "github.com/cockroachdb/errors" +) const DSPDiagramInfoKeyPrefix = "~dsp-diag-url-" @@ -31,3 +38,26 @@ func MakeNodeProcessorProgressInfoKey( // The info key is of the form: -,,. return fmt.Sprintf("%s%s,%s,%d", NodeProcessorProgressInfoKeyPrefix, flowID, instanceID, processorID), nil } + +// GetNodeProcessorProgressInfoKeyParts deconstructs the passed in info key and +// returns the referenced flowID, instanceID and processorID. +func GetNodeProcessorProgressInfoKeyParts(infoKey string) (uuid.UUID, int, int, error) { + parts := strings.Split(strings.TrimPrefix(infoKey, NodeProcessorProgressInfoKeyPrefix), ",") + if len(parts) != 3 { + return uuid.Nil, 0, 0, errors.AssertionFailedf("expected 3 parts in info key but found %d: %v", len(parts), parts) + } + flowID, err := uuid.FromString(parts[0]) + if err != nil { + return uuid.Nil, 0, 0, err + } + instanceID, err := strconv.Atoi(parts[1]) + if err != nil { + return uuid.Nil, 0, 0, err + } + processorID, err := strconv.Atoi(parts[2]) + if err != nil { + return uuid.Nil, 0, 0, err + } + + return flowID, instanceID, processorID, nil +} diff --git a/pkg/sql/delegate/show_jobs.go b/pkg/sql/delegate/show_jobs.go index 16002c063031..ec9614e2dcc9 100644 --- a/pkg/sql/delegate/show_jobs.go +++ b/pkg/sql/delegate/show_jobs.go @@ -33,6 +33,7 @@ SELECT job_id, job_type, description, statement, user_name, status, if n.Options != nil { if n.Options.ExecutionDetails { baseQuery.WriteString(`, NULLIF(crdb_internal.job_execution_details(job_id)->>'plan_diagram'::STRING, '') AS plan_diagram`) + baseQuery.WriteString(`, NULLIF(crdb_internal.job_execution_details(job_id)->>'per_component_fraction_progressed'::STRING, '') AS component_fraction_progressed`) } } diff --git a/pkg/sql/distsql_physical_planner_test.go b/pkg/sql/distsql_physical_planner_test.go index 6950b2923ac3..975f3edf79a7 100644 --- a/pkg/sql/distsql_physical_planner_test.go +++ b/pkg/sql/distsql_physical_planner_test.go @@ -455,8 +455,8 @@ func TestDistSQLDeadHosts(t *testing.T) { // Verify the plan (should include all 5 nodes). r.CheckQueryResults(t, - "SELECT info FROM [EXPLAIN (DISTSQL) SELECT sum(xsquared) FROM t] WHERE info LIKE 'Diagram%'", - [][]string{{"Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyslG-Lm0AQxt_3U8hAuQQ2uBqT83x1x52l0tyfxpQWDinbOBWpcb3dFa6EfPeitsSEu9XGe-nuPPM8v3GZLcinDDwI_YV_vTLS_Cc3Pizvb41H_9vD4iq4M0Y3QbgKPy_Gxt8aWW5Gz_KpZALjcVOsIuPrR3_pN_pF8Mk3zm5Slgi2eX8GBHIe4x3boATvESwgYAOBKRBwgMAMIgKF4GuUkouqZFsLgvgZPEogzYtSVccRgTUXCN4WVKoyBA9W7EeGS2QxCpMCgRgVS7PaRl2q78Uv_A0ErnlWbnLpGf9iA4GwYNXJxLQpRDsCvFR7G6lYguBZO9I_ylWSCEyY4sKcHSYJv9yOLq3xqzb2qzb77mXORYxN9H3raKcPYtH_SzI9SGL1n711yuxNm05Mp-_4O9K0qOdDxm_3h7ZPgnboxJz3he5I04I-HwI97Q89PQl6Tiem2xe6I00L2h0C7fSHdk6CdumkJ3FHlBbxxVutlhdsligLnks8WjEvd6bV6sE4wWZPSV6KNT4Ivq5tms_7WlcfxChVc2s1H0HeXFUB22JLK7YPxNax2NY7d1hPtWpHL3aG5J5pxXO983yI87lW7Oqd3SHOF_p_RTueif6RHXtHu3d_AgAA___Fl-el"}}, + "SELECT info FROM [EXPLAIN (DISTSQL, SHAPE) SELECT sum(xsquared) FROM t] WHERE info LIKE 'Diagram%'", + [][]string{{"Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyklV9ro0wUxu_fTyEHXtrCiI4aY7xqaVwaNv2zMcsulFBm46krNU46M9KWku--GNutcRtR40XAceZ5fvOcmZNXkI8p-BAG0-B8riXZPde-zK4vtdvg5830bHKlHY8n4Tz8NiVaeHF2E5xob1Nlvjp-lo85ExidlGvUQvtxEcyCUmY6-RpoR-OExYKt_j8CAhmP8IqtUIJ_CxQIWEDABgIOEBjAgsBa8CVKyUUx5XW7YBI9g28SSLJ1rorhBYElFwj-K6hEpQg-zNmvFGfIIhSGCQQiVCxJtzbqVN2tH_AFCJzzNF9l0tfesYFAuGbFiG5YJiw2BHiuPmykYjGCTytckzH45oa0RzuLY4ExU1wYg12y8Pvl8Sk92Wtr1WwHe20_3PKMiwjLrX1YLTbNYNTsRmbXyOhuIrR9sWifYhmWqRtO-3rRLnSVWNzD6uXu2FrtQ7F6heKYuuG2D8XqQlcJZXhYKMMdW7t9KHavUFxTN7z2odhd6CqheIeF4u3YOu1DcXqF4pl660ScLmiVREaHJTLq0mJnKNc8k1jreZ87mTUnnRbNEaMYy04qeS6WeCP4cju3fL3eCm0HIpSq_ErLl0n2_kkqgWz19x-iqkQblawdJVpVGtSVrGamLlB2o5SzX4nWlZy-23PrSoNGJXc_k1VXcvsyDetKw0Ylbz-TXVfy-jJ5daVR8zEw90M5_5zN5mPeQDUqrs59yp_ukgh8MN8e_ZOf9weKBSyWxf0Nf_Onrez8ZV3cvnuWSiRwyR5wjArFKskSqZIl-ErkuNn89ycAAP__hKt0rw=="}}, ) // Stop node 5. @@ -465,9 +465,9 @@ func TestDistSQLDeadHosts(t *testing.T) { testutils.SucceedsSoon(t, runQuery) // The leaseholder for the last range should have moved to either node 2 or 3. - query := "SELECT info FROM [EXPLAIN (DISTSQL) SELECT sum(xsquared) FROM t] WHERE info LIKE 'Diagram%'" - exp2 := [][]string{{"Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk29r2zAQxt_vU4iD0QQUbDmum_lVS-sxs_TP4owNihladPPMHMuVZOgI-e7D9kaS0ipuspeW7rnn95x8K9APBYSQRNPock7y8ock72e31-Q--no3vYhvyOAqTubJp-mQ_K3R9XLwqB9qrlAMu2KTki8folnU6afxx4icXOU8U3z59gQolFLgDV-ihvAeGFDwgMIYKPiQUqiUXKDWUjXXq7Y4Fo8QuhTysqpNc5xSWEiFEK7A5KZACGHOvxc4Qy5QOS5QEGh4XrQW5tx8q37hb6BwKYt6WeqQ_EMGCknFm5OR47mQrinI2mxstOEZQsjWtD_KRZYpzLiRyvF3SZLP14NzNnzRxnvRZtO9LqUS2KFvWqdrO8jkdSDjHRDWf_TskNE7njtyfJfwUhBGpPmJqudL7CHbGsDpMS_h9R-Ad9AAfHfkBH1_vz00W6GDY0KP-4ceHxQ6cEfOpG_oPTRboc_-1849YzNDXclS45Pde76z2-wkigy7BdayVgu8U3LR2nSft62uPRCoTXfLuo-47K4awG0xs4q9HTF7Kvas4nd257FV7NvF_jHYp1ZxYHcOjnE-s4ondufJq5zT9Zs_AQAA__9QI3J0"}} - exp3 := [][]string{{"Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk29r2zAQxt_vU4iD0QQUbDmum_lVS-sxs_TP4owNihladPPMHMuVZOgI-e7D9kaS0ipuspfW3XPP7x5zK9APBYSQRNPock7y8ock72e31-Q--no3vYhvyOAqTubJp-mQ_O3R9XLwqB9qrlAMu2aTki8folnU6afxx4icXOU8U3z59gQolFLgDV-ihvAeGFDwgMIYKPiQUqiUXKDWUjXlVdsci0cIXQp5WdWmeU4pLKRCCFdgclMghDDn3wucIReoHBcoCDQ8L1oLc26-Vb_wN1C4lEW9LHVI_iEDhaTizcvI8VxI1xRkbTY22vAMIWRr2h_lIssUZtxI5fi7JMnn68E5G75o471os5lel1IJ7NA3o9O1HWTyOpDxDgjrHz07JHrHc0eO3zf9PTRbS58ek77Xf2nvoKV9d-QELuGlIIxI8xNVzwD2kG0FEBwTwLh_AOODAgjckTPp-9f30Gwtffa_bu4ZmxnqSpYan9ze85Pd5iZRZNgdsJa1WuCdkovWpvu8bXXtg0BtuirrPuKyKzWA22JmFXs7YvZU7FnF7-zOY6vYt4v9Y7BPreLA7hwc43xmFU_szpNXOafrN38CAAD__0dtcnQ="}} + query := "SELECT info FROM [EXPLAIN (DISTSQL, SHAPE) SELECT sum(xsquared) FROM t] WHERE info LIKE 'Diagram%'" + exp2 := [][]string{{"Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyklF9vmzAUxd_3KawrTW0lR2AgJOOpVcPUaOmfhUybVEWVF24pKsGpbdRWVb77BLQrQQ0CygMStvmd43Pt-wLqIQEPAn_mny5InN4K8n1-eU6u_T9Xs5PpBTmcTINF8HNGSXB2cuUfkdelKlsfPqmHjEsMj8p_9JL8PvPnfomZTX_45GAS80jy9dcDoJCKEC_4GhV418CAggUUbKDgwJLCRooVKiVkPv1SLJ6GT-CZFOJ0k-l8eElhJSSC9wI61gmCBwv-N8E58hClYQKFEDWPk0JCH-ubzT0-A4VTkWTrVHnkzTJQCDY8HxkYlgnLLQWR6XcZpXmE4LGKr-kEPHNL21s7iSKJEddCGs6us-DX-eExO9ora9Vknb2y72pZKmSI5dbepZbbZmPjbsbsmrHxjjHWvlSsT6kMyxwYTvtqsS7uKqEMP1et4Y6s1T4Uq1cojjkwXJPwNCSMCH2HsnVAVhenlYDczwXk7sja7QOyewXkmgNj3P7U2F3cVUIZfS6UUZfWMke1EanC2l3_WMmsKQ1Y3hQwjLDsIEpkcoVXUqyKteXnZQEqBkJUupxl5cc0fZtSWiJf_--MVRJrJFk7JFYlOXWS1Uj61sGT3Uhy9pNYneT03d2wTho2ktz9nqw6ye3rya2TRo2k8X5Pdp007utplJ_R20Q83sQheGC-PoMPXm8P5D_wSOUXJbgTjwV28bzJj_ktTxRSOOf3OEGNch2nsdLxCjwtM9xuv_wLAAD__6oi7LA="}} + exp3 := [][]string{{"Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyklF9vmzAUxd_3KawrTW0lR2AgJOOpVcPUaOmfhUybVEWVF24pKsGpbdRWVb77BLQrQQ0CygMStvmd43Pt-wLqIQEPAn_mny5InN4K8n1-eU6u_T9Xs5PpBTmcTINF8HNGSXB2cuUfkdelKlsfPqmHjEsMj8p_9JL8PvPnfomZTX_45GAS80jy9dcDoJCKEC_4GhV418CAggUUbKDgwJLCRooVKiVkPv1SLJ6GT-CZFOJ0k-l8eElhJSSC9wI61gmCBwv-N8E58hClYQKFEDWPk0JCH-ubzT0-A4VTkWTrVHnkzTJQCDY8HxkYlgnLLQWR6XcZpXmE4LGKr-kEPHNL21s7iSKJEddCGs6us-DX-eExO9ora9Vknb2y72pZKmSI5dbepZbbZmPjbsbsmrHxjjHWvlSsT6kMyxwYjkl4GhJGhL5D2bpyrIvTSkDDz1VuuCNrtQ_I6hWQYw4Mt_1xtrq4q4Tifi4Ud0fWbh-K3SsU1xwY4_ah2F3cVUIZfS6UUZfWMke1EanC2l3_WMmsKQ1Y3hQwjLDsIEpkcoVXUqyKteXnZQEqBkJUupxl5cc0fZtSWiJf_--MVRJrJFk7JFYlOXWS1Uj61sGT3Uhy9pNYneT03d2wTho2ktz9nqw6ye3rya2TRo2k8X5Pdp007utplJ_R20Q83sQheGC-PoMPXm8P5D_wSOUXJbgTjwV28bzJj_ktTxRSOOf3OEGNch2nsdLxCjwtM9xuv_wLAAD__7Co7LA="}} res := r.QueryStr(t, query) if !reflect.DeepEqual(res, exp2) && !reflect.DeepEqual(res, exp3) { @@ -534,7 +534,7 @@ func TestDistSQLDrainingHosts(t *testing.T) { const query = "SELECT count(*) FROM NUMS" expectPlan := func(expectedPlan [][]string) { t.Helper() - planQuery := fmt.Sprintf(`SELECT info FROM [EXPLAIN (DISTSQL) %s] WHERE info LIKE 'Diagram%%'`, query) + planQuery := fmt.Sprintf(`SELECT info FROM [EXPLAIN (DISTSQL, SHAPE) %s] WHERE info LIKE 'Diagram%%'`, query) testutils.SucceedsSoon(t, func() error { resultPlan := r.QueryStr(t, planQuery) if !reflect.DeepEqual(resultPlan, expectedPlan) { @@ -545,14 +545,14 @@ func TestDistSQLDrainingHosts(t *testing.T) { } // Verify distribution. - expectPlan([][]string{{"Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyskVFr2zAQx9_3KcTBaDJUEjnZi55aUo-ZpXFnu3RQTNCsmzGzJU-SYSP4uw_bg9al8RLoi0HS_e7_890B7K8SOMT-1t8kpFA_NPkUhbfk0f92t70OdmR2E8RJ_HU7J_9qMt0oN_swH-pUU9mUPHz2I3-gt8EXn1zcFCI3onp_ARSUlrgTFVrgj8CAggcphdroDK3Vprs-9EWB_A18SaFQdeO665RCpg0CP4ArXInAIRHfS4xQSDSLJVCQ6ERR9q07lavus69_4h-gsNFlUynLgUJcC2U5uVwwSFsKunFPEdaJHIGzlp6ucZ3nBnPhtFl4Y4tNeL9L9lH4EM_mR7O8o1lPEY3SRqJBOeqfttM267FNfH-7D3bJ7Iodl1mNZNjp82dnz3_BLk-c_380nv3x6k3n_0pWhLbWyuKLPbzeedntB2WOwzKtbkyGd0ZnfcxwDHuuv5Bo3fDKhkOghqdO8DnMJmFvBLOXsDcJf5xOXk3C62l4fZZ22r77GwAA__-hBX17"}}) + expectPlan([][]string{{"Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyskl9r2zAUxd_3KcyF0XQoJHKyFz01JB41y7_FLh0UEzT7xjO1JU-S6Urwdx-22zU2TUjG9CDQ1fXvHOvcPehfKTDwnLkz9a1E7KT1ZbNaWA_O9_V84i6t3sz1fO_bnFje7WTtXFsvraEshOl9um7aRZHpwLq_dTZOA5m7Xx3rapbwWPHs4xUQEDLCJc9QA3sACgRsCAjkSoaotVRVeV83udFvYEMCicgLU5UDAqFUCGwPJjEpAgOf_0hxgzxCNRgCgQgNT9IaXVm5qbZt_ojPQGAq0yITmgEBL-dCM6s_oBCUBGRh3iS04TECowee3BmwYUnOtzWJY4UxN1IN7Lar6epu6W83q3uvd31U2-5o20e13yQLIVWECqOWXlCedjduu_PuFlt36fdu6HFzo465ccscPT8venFeA9o_Oy96ia2DFxn9h7xGl8zKBnUuhcZObu8rDTtKfVoFjFGMzTRoWagQ10qGdW9zXNWguhChNs0tbQ6ueL3SRiHP_o76IYmeJNktEj0k2V2SfZL0-QJPo5Ok8XES7ZLG__p3o-rtd6l82iYRMBi-rP472-uC6gMe62oAvJ_yqcb6z3kV346nGgks-CPO0KDKEpFok4TAjCqwLD_8CQAA__-76dKf"}}) // Drain the second node and expect the query to be planned on only the // first node. distServer := tc.Server(1).DistSQLServer().(*distsql.ServerImpl) distServer.Drain(ctx, 0 /* flowDrainWait */, nil /* reporter */) - expectPlan([][]string{{"Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkF9LwzAUxd_9FOGCbJPI1j3mybFVLNZ1tpUJo4zYXkuxTWr-gDL63aWNoBMm-hK4555zf4ccQL_WwCDxQ3-Zkko8S3IdR3dk5z9uwkWwJuNVkKTJfTghn55cWmHGFxPnE7bRGdne-LHv0mFw65PRquKl4s35CCgIWeCaN6iB7cCDjEKrZI5aS9VLh8EQFG_AZhQq0VrTyxmFXCoEdgBTmRqBQcqfaoyRF6imM6BQoOFVPZzta1z1z759wXegsJS1bYRmQCFpudCMXELWUZDWfAG04SUC8zr69xKLslRYciPV1DvusIwe1uk-jrbJeHKSNf8PK0bdSqHxiHPq8qzLKGBRovtULa3KcaNkPmDcGA25QShQG7f13BAIt-oLfg97v4bnP8JZd_YRAAD___rywTs="}}) + expectPlan([][]string{{"Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkVFr2z4Uxd__n0Ic-NNkKNTuo54WEo-apUlme3RQTNDsG0_UljxJpivB333Ybre2rGXTg-Dee3x-x1cnuO81BNJoE60ypvTRsA_J7ordRF_2m2W8ZbN1nGbppw1n6eVyH83Zg7Qwnfazd_NJrrvG5ez6MkqiyWQTf4zY2VrJysrm_zNwaFPSVjbkIG4QIudorSnIOWOH1mkUxOUPiIBD6bbzQzvnKIwliBO88jVBIJNfa0pIlmTPA3CU5KWqR9shxvvhOrS3dA-Olam7RjsBjrSV2gm2QN5zmM7_BjgvK4IInySK1xBBz_8-1LKqLFXSG3sePs-02n3eZodkd53O5q-yL16ww39hJ-Raox09475GCl6QFmGfc1BZ0fQKznS2oL01xaidyt1oNDZKcn6ahlMR68eR85Zk82t1T53CN50u3nLKOY61uTuoEgLBw1n84Xo8GD6QlRtWlH4zd6Ntdt8OP3iUtSOOK3lLa_JkG6WV86qA8Lajvv_vZwAAAP__7rz6og=="}}) // Verify correctness. var res int diff --git a/pkg/sql/execinfrapb/flow_diagram.go b/pkg/sql/execinfrapb/flow_diagram.go index a551cac25433..71cb941dbc2b 100644 --- a/pkg/sql/execinfrapb/flow_diagram.go +++ b/pkg/sql/execinfrapb/flow_diagram.go @@ -16,8 +16,10 @@ import ( "encoding/base64" "encoding/json" "fmt" + "io" "net/url" "sort" + "strconv" "strings" "github.com/cockroachdb/cockroach/pkg/base" @@ -27,6 +29,7 @@ import ( "github.com/cockroachdb/cockroach/pkg/sql/catalog/fetchpb" "github.com/cockroachdb/cockroach/pkg/util/encoding" "github.com/cockroachdb/cockroach/pkg/util/tracing/tracingpb" + "github.com/cockroachdb/cockroach/pkg/util/uuid" "github.com/cockroachdb/errors" "github.com/dustin/go-humanize" ) @@ -640,13 +643,12 @@ type diagramCell struct { } type diagramProcessor struct { - NodeIdx int `json:"nodeIdx"` - Inputs []diagramCell `json:"inputs"` - Core diagramCell `json:"core"` - Outputs []diagramCell `json:"outputs"` - StageID int32 `json:"stage"` - - processorID int32 + NodeIdx int `json:"nodeIdx"` + Inputs []diagramCell `json:"inputs"` + Core diagramCell `json:"core"` + Outputs []diagramCell `json:"outputs"` + StageID int32 `json:"stage"` + ProcessorID int32 `json:"processorID"` } type diagramEdge struct { @@ -655,8 +657,7 @@ type diagramEdge struct { DestProc int `json:"destProc"` DestInput int `json:"destInput"` Stats []string `json:"stats,omitempty"` - - streamID StreamID + StreamID StreamID `json:"streamID"` } // FlowDiagram is a plan diagram that can be made into a URL. @@ -667,6 +668,10 @@ type FlowDiagram interface { // AddSpans adds stats extracted from the input spans to the diagram. AddSpans([]tracingpb.RecordedSpan) + + // UpdateComponentFractionProgressed updates the per-component progress on the + // diagram. + UpdateComponentFractionProgressed(perComponentProgress map[ComponentID]float32) } type diagramData struct { @@ -674,16 +679,41 @@ type diagramData struct { NodeNames []string `json:"nodeNames"` Processors []diagramProcessor `json:"processors"` Edges []diagramEdge `json:"edges"` + FlowID FlowID `json:"flow_id"` + Flags DiagramFlags `json:"flags"` - flags DiagramFlags - flowID FlowID sqlInstanceIDs []base.SQLInstanceID } var _ FlowDiagram = &diagramData{} +// FromURL converts a FlowDiagram URL to a FlowDiagram. +func FromURL(url string) (FlowDiagram, error) { + r, err := decodeURLToJSON(url) + if err != nil { + return &diagramData{}, errors.Wrap(err, "failed to decode URL to JSON") + } + + d := diagramData{} + err = json.NewDecoder(&r).Decode(&d) + for _, name := range d.NodeNames { + sqlInstanceID, err := strconv.Atoi(name) + if err != nil { + return nil, err + } + d.sqlInstanceIDs = append(d.sqlInstanceIDs, base.SQLInstanceID(sqlInstanceID)) + } + return &d, err +} + // ToURL implements the FlowDiagram interface. func (d diagramData) ToURL() (string, url.URL, error) { + if d.Flags.MakeDeterministic { + d.FlowID = FlowID{uuid.Nil} + for _, p := range d.Processors { + p.ProcessorID = 0 + } + } var buf bytes.Buffer if err := json.NewEncoder(&buf).Encode(d); err != nil { return "", url.URL{}, err @@ -691,20 +721,50 @@ func (d diagramData) ToURL() (string, url.URL, error) { return encodeJSONToURL(buf) } +// UpdateComponentFractionProgressed implements the FlowDiagram interface. +func (d *diagramData) UpdateComponentFractionProgressed( + perComponentProgress map[ComponentID]float32, +) { + for i := range d.Processors { + p := &d.Processors[i] + sqlInstanceID := d.sqlInstanceIDs[p.NodeIdx] + component := ProcessorComponentID(sqlInstanceID, d.FlowID, p.ProcessorID) + if fraction, ok := perComponentProgress[component]; ok { + var updated bool + for i, detail := range p.Core.Details { + if strings.HasPrefix(detail, "progress") { + p.Core.Details[i] = fmt.Sprintf("progress: %.2f", fraction) + updated = true + break + } + } + + // If this is the first time we are recording the component progress then + // we simply append the new details. + // + // TODO(adityamaru): Consider making p.Core.Details a map instead of a + // slice since all the values stored in the slice are key-values. + if !updated { + p.Core.Details = append(p.Core.Details, fmt.Sprintf("progress: %.2f", fraction)) + } + } + } +} + // AddSpans implements the FlowDiagram interface. func (d *diagramData) AddSpans(spans []tracingpb.RecordedSpan) { - statsMap := ExtractStatsFromSpans(spans, d.flags.MakeDeterministic) + statsMap := ExtractStatsFromSpans(spans, d.Flags.MakeDeterministic) for i := range d.Processors { p := &d.Processors[i] sqlInstanceID := d.sqlInstanceIDs[p.NodeIdx] - component := ProcessorComponentID(sqlInstanceID, d.flowID, p.processorID) + component := ProcessorComponentID(sqlInstanceID, d.FlowID, p.ProcessorID) if compStats := statsMap[component]; compStats != nil { p.Core.Details = append(p.Core.Details, compStats.StatsForQueryPlan()...) } } for i := range d.Edges { originSQLInstanceID := d.sqlInstanceIDs[d.Processors[d.Edges[i].SourceProc].NodeIdx] - component := StreamComponentID(originSQLInstanceID, d.flowID, d.Edges[i].streamID) + component := StreamComponentID(originSQLInstanceID, d.FlowID, d.Edges[i].StreamID) if compStats := statsMap[component]; compStats != nil { d.Edges[i].Stats = compStats.StatsForQueryPlan() } @@ -719,7 +779,7 @@ func generateDiagramData( d := &diagramData{ SQL: sql, sqlInstanceIDs: sqlInstanceIDs, - flags: flags, + Flags: flags, } d.NodeNames = make([]string, len(sqlInstanceIDs)) for i := range d.NodeNames { @@ -727,9 +787,9 @@ func generateDiagramData( } if len(flows) > 0 { - d.flowID = flows[0].FlowID + d.FlowID = flows[0].FlowID for i := 1; i < len(flows); i++ { - if flows[i].FlowID != d.flowID { + if flows[i].FlowID != d.FlowID { return nil, errors.AssertionFailedf("flow ID mismatch within a diagram") } } @@ -746,7 +806,7 @@ func generateDiagramData( proc := diagramProcessor{NodeIdx: n} proc.Core.Title, proc.Core.Details = p.Core.GetValue().(diagramCellType).summary() proc.Core.Title += fmt.Sprintf("/%d", p.ProcessorID) - proc.processorID = p.ProcessorID + proc.ProcessorID = p.ProcessorID proc.Core.Details = append(proc.Core.Details, p.Post.summary()...) // We need explicit synchronizers if we have multiple inputs, or if the @@ -809,7 +869,7 @@ func generateDiagramData( // When generating stats, spans are mapped from processor ID in the span // tags to processor ID in the diagram data. To avoid clashing with // the processor with ID 0, assign an impossible processorID. - processorID: -1, + ProcessorID: -1, }) } @@ -826,7 +886,7 @@ func generateDiagramData( edge := diagramEdge{ SourceProc: pIdx, SourceOutput: srcOutput, - streamID: o.StreamID, + StreamID: o.StreamID, } if o.Type == StreamEndpointSpec_SYNC_RESPONSE { edge.DestProc = len(d.Processors) - 1 @@ -885,6 +945,31 @@ func GeneratePlanDiagramURL( return d.ToURL() } +func decodeURLToJSON(urlStr string) (bytes.Buffer, error) { + var json bytes.Buffer + u, err := url.Parse(urlStr) + if err != nil { + return json, errors.Wrap(err, "failed to Parse URL") + } + + compressed := u.Fragment + decoder := base64.NewDecoder(base64.URLEncoding, bytes.NewReader([]byte(compressed))) + decompressor, err := zlib.NewReader(decoder) + if err != nil { + return json, errors.Wrap(err, "failed in NewReader") + } + b, err := io.ReadAll(decompressor) + if err != nil { + return json, errors.Wrap(err, "failed in ReadAll") + } + if err := decompressor.Close(); err != nil { + return json, err + } + + _, err = json.Write(b) + return json, err +} + func encodeJSONToURL(json bytes.Buffer) (string, url.URL, error) { var compressed bytes.Buffer jsonStr := json.String() diff --git a/pkg/sql/execinfrapb/flow_diagram_external_test.go b/pkg/sql/execinfrapb/flow_diagram_external_test.go index f5b03f5a4dca..ce5e7374d07e 100644 --- a/pkg/sql/execinfrapb/flow_diagram_external_test.go +++ b/pkg/sql/execinfrapb/flow_diagram_external_test.go @@ -87,7 +87,7 @@ func TestPlanDiagramTableReaderWrapColumns(t *testing.T) { if err != nil { t.Fatal(err) } - expectedURL := "https://cockroachdb.github.io/distsqlplan/decode.html#eJyMk1Hr0zAUxd_9FOU-B2w2N7VPggwcqNPNNymX2Fy6YJrE3NStjn53afswFP7Z_yVwz--eEwgnN-BfFio4HT7titPXj8WH3XEHApzX9Fl1xFB9Bwm1gBB9Q8w-TtJtXtjrK1SlAONCnya5FtD4SFDdIJlkCSr4pn5YOpLSFF-WIEBTUsbOsYk4vZsODD9pAAHvve07x1WRzobRMCr8TXFA612LTnWEpRQZuMrBtQABGf4qZ97k4PZB8uuc-U0Ovs0nyzJjlrmnkqsHyeucOfdUcvMgeSuKqyiG_7a4DxRRz-d9OZ1VmvikUJxGh8oNGEmxd1Oz8BJVCMa1aE1nEiqnses5oQqBVETv0CRGf3FojaP51j9QjwJ8n-6t5aRagkqO4vnNPhIH75j-KfVTyeVYCyDd0vJ72PexoS_RN_M1y3iYfbOgidNC5TLs3YLGenzxNwAA__9IF1PL" + expectedURL := "https://cockroachdb.github.io/distsqlplan/decode.html#eJyMk1Fv1DAMx9_5FJWfM9FubECfkNhJnMQY3O0NVVZovF60NAlxyq2c-t1R2k2DCXLkwZL9s_9Oo38PwN8N1LC9vloV2y8fiw-rzQoEWKfok-yJof4KFTQCfHAtMbuQSoe5Ya3uoS4FaOuHmMqNgNYFgvoAUUdDUMON_GZoQ1JReFmCAEVRajPLRuL4LgX0dzSCgPfODL3luog7zagZJf6gMKJxtkMre8KyEhl4moNnAgRk-Kvc8HkOXhxRfp0bfpODb_PKVZkZrnJPVZ0eUT7LDeeeqjo_onwhintRjM-6ePAUUM3xqTnuZEw8VSik1KK0IwaS7GxyFu6D9F7bDo3udURpFfYDR5TekwzoLOrI6PYWjbY0b_0JzSTADfHJtRxlR1BXv9l8fQl1OYn_d_qG2DvL9IfJ_7WpfLbppJoaAaQ6Wn4vdkNo6XNw7dy7pNez0FxQxHGh1ZKs7SPiGEj2y_UbAbfG7VErqKF8OCd_CY8H0oDsOH3Yduf2s-zN6NO1bqVhEnAl7-iSIoVeW81Rtw9kml78CgAA__8xyIKF" if url.String() != expectedURL { t.Errorf("expected `%s` got `%s`", expectedURL, url.String()) } diff --git a/pkg/sql/execinfrapb/flow_diagram_test.go b/pkg/sql/execinfrapb/flow_diagram_test.go index a3a7ca72b67d..286dc79d43a4 100644 --- a/pkg/sql/execinfrapb/flow_diagram_test.go +++ b/pkg/sql/execinfrapb/flow_diagram_test.go @@ -144,29 +144,139 @@ func TestPlanDiagramIndexJoin(t *testing.T) { t.Fatal(err) } + // Test that deserializing the URL also results in the same plan. + diagram, err := GeneratePlanDiagram("SOME SQL HERE", flows, flags) + require.NoError(t, err) + deserializedDiagram, err := FromURL(url.String()) + require.NoError(t, err) + require.Equal(t, diagram, deserializedDiagram) + expected := ` - { - "sql":"SOME SQL HERE", - "nodeNames":["1","2","3"], - "processors":[ - {"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","Columns: x, y","Out: @3"]},"outputs":[],"stage":2}, - {"nodeIdx":2,"inputs":[],"core":{"title":"Response","details":[]},"outputs":[],"stage":0} - ], - "edges":[ - {"sourceProc":0,"sourceOutput":0,"destProc":3,"destInput":1}, - {"sourceProc":1,"sourceOutput":0,"destProc":3,"destInput":1}, - {"sourceProc":2,"sourceOutput":0,"destProc":3,"destInput":1}, - {"sourceProc":3,"sourceOutput":0,"destProc":4,"destInput":0} - ] - } +{ + "sql": "SOME SQL HERE", + "nodeNames": [ + "1", + "2", + "3" + ], + "processors": [ + { + "nodeIdx": 0, + "inputs": [], + "core": { + "title": "TableReader/0", + "details": [ + "Table@SomeIndex", + "Columns: a, b" + ] + }, + "outputs": [], + "stage": 1, + "processorID": 0 + }, + { + "nodeIdx": 1, + "inputs": [], + "core": { + "title": "TableReader/1", + "details": [ + "Table@SomeIndex", + "Columns: a, b" + ] + }, + "outputs": [], + "stage": 1, + "processorID": 1 + }, + { + "nodeIdx": 2, + "inputs": [], + "core": { + "title": "TableReader/2", + "details": [ + "Table@SomeIndex", + "Columns: a, b" + ] + }, + "outputs": [], + "stage": 1, + "processorID": 2 + }, + { + "nodeIdx": 2, + "inputs": [ + { + "title": "ordered", + "details": [ + "@2+" + ] + } + ], + "core": { + "title": "JoinReader/3", + "details": [ + "Table@primary", + "Columns: x, y", + "Out: @3" + ] + }, + "outputs": [], + "stage": 2, + "processorID": 3 + }, + { + "nodeIdx": 2, + "inputs": [], + "core": { + "title": "Response", + "details": [] + }, + "outputs": [], + "stage": 0, + "processorID": -1 + } + ], + "edges": [ + { + "sourceProc": 0, + "sourceOutput": 0, + "destProc": 3, + "destInput": 1, + "streamID": 0 + }, + { + "sourceProc": 1, + "sourceOutput": 0, + "destProc": 3, + "destInput": 1, + "streamID": 1 + }, + { + "sourceProc": 2, + "sourceOutput": 0, + "destProc": 3, + "destInput": 1, + "streamID": 2 + }, + { + "sourceProc": 3, + "sourceOutput": 0, + "destProc": 4, + "destInput": 0, + "streamID": 0 + } + ], + "flow_id": "00000000-0000-0000-0000-000000000000", + "flags": { + "ShowInputTypes": true, + "MakeDeterministic": false + } +} ` compareDiagrams(t, json, expected) - expectedURL := "https://cockroachdb.github.io/distsqlplan/decode.html#eJy0kkFLw0AQhe_-ivCuLphsPO2pIAUrarX1Jjlss0MJJDtxdwOVkv8u2QhtoZVK6XHm7ZvvzbBb-K8aCsv5yzRZvj8nj9PFFAKWDb3qhjzUJzIISAjkKARaxyV5z26QtvHhzGygUoHKtl0Y2oVAyY6gtghVqAkKH3pV04K0IXeXQsBQ0FUdx0dpsuSGZtbQBgIPXHeN9SrRIlmh6AW4C7vZPug1QWW92ONn5_Oza_Dl-Xx5bf4Oy86QI3MInMhbFP2RkE9c2d-M-bGMrasa7b73E25EMtTzLqhkkp_MKv9zqwX5lq2ngwinJqfDImTWNC7uuXMlvTku45ccy3n0xYYhH0Y1H4uZjVI85r45u8QsLzHnf5rvD8xpX_Q3PwEAAP__4nU76g==" + expectedURL := `https://cockroachdb.github.io/distsqlplan/decode.html#eJy0kkFr2zAUx-_7FOZ_ncoseSedAmtgGeuyJb0NM1TrNROzJU-SaUrwdx9SujUOyWgL1cHw9Jd_76dn7xB-t5BYL6_mxfrb5-LjfDUHg3WavqiOAuR3cDAIMFSoGXrvGgrB-RTt8sGF3kKWDMb2Q0zbNUPjPEHuEE1sCRLX6qalFSlN_l0JBk1RmTbjczRbu44WVtMWDB9cO3Q2yEKx4gb1yOCG-MgOUW0Ikh_ILC4hy5Ed-PCn-_DX8eETH_F0H_E6PuKsz6OG85o86anATLxFPZ6Q_uSMfXCuTjn33nTK3x8ab1mR6uUQZTGrzrqLI_fqObNcUeidDTRROtepPOp0wdNNSW9oP5ngBt_QV--afHZfLjMob2gKcZ9W-2Jhc8RTB0-q-_drHpL4S0n8mCReShLHpOq_pPcTUjm9Xc1w27q7H0ZDonxYFycefxfSC2oT0mdb_3R3GXt936ehRz8Qw5X6RZcUyXfGmhBNA3mr2kDj-OZPAAAA___R4oYQ` if url.String() != expectedURL { t.Errorf("expected `%s` got `%s`", expectedURL, url.String()) } @@ -369,42 +479,306 @@ func TestPlanDiagramJoin(t *testing.T) { if err != nil { t.Fatal(err) } - s, _, err := diagram.ToURL() + s, diagramURL, err := diagram.ToURL() if err != nil { t.Fatal(err) } + // Test that deserializing the URL also results in the same plan. + deserializedDiagram, err := FromURL(diagramURL.String()) + require.NoError(t, err) + require.Equal(t, diagram, deserializedDiagram) + expected := ` - { - "sql":"SOME SQL HERE", - "nodeNames":["1","2","3","4"], - "processors":[ - {"nodeIdx":0,"inputs":[],"core":{"title":"TableReader/0","details":["TableA@primary","Columns: a, b, d"]},"outputs":[{"title":"by hash","details":["@1,@2"]}],"stage":0}, - {"nodeIdx":1,"inputs":[],"core":{"title":"TableReader/1","details":["TableA@primary","Columns: a, b, d"]},"outputs":[{"title":"by hash","details":["@1,@2"]}],"stage":0}, - {"nodeIdx":1,"inputs":[{"title":"unordered","details":[]},{"title":"unordered","details":[]}],"core":{"title":"HashJoiner/2","details":["left(@1,@3)=right(@3,@2)","ON @1+@2\u003c@6","Out: @1,@2,@3,@4,@5,@6"]},"outputs":[],"stage":0}, - {"nodeIdx":1,"inputs":[{"title":"unordered","details":[]}],"core":{"title":"No-op/3","details":[]},"outputs":[],"stage":0}, - {"nodeIdx":2,"inputs":[],"core":{"title":"TableReader/4","details":["TableA@primary","Columns: a, b, d","Out: @1,@2,@4"]},"outputs":[{"title":"by hash","details":["@1,@2"]}],"stage":0}, - {"nodeIdx":2,"inputs":[],"core":{"title":"TableReader/5","details":["TableB@primary","Columns: b, c, e"]},"outputs":[{"title":"by hash","details":["@3,@2"]}],"stage":0}, - {"nodeIdx":2,"inputs":[{"title":"unordered","details":[]},{"title":"unordered","details":[]}],"core":{"title":"HashJoiner/6","details":["left(@1,@3)=right(@3,@2)","ON @1+@2\u003c@6"]},"outputs":[],"stage":0}, - {"nodeIdx":3,"inputs":[],"core":{"title":"TableReader/7","details":["TableB@primary","Columns: b, c, e"]},"outputs":[{"title":"by hash","details":["@3,@2"]}],"stage":0}, - {"nodeIdx":1,"inputs":[],"core":{"title":"Response","details":[]},"outputs":[],"stage":0} - ], - "edges":[ - {"sourceProc":0,"sourceOutput":1,"destProc":2,"destInput":1}, - {"sourceProc":0,"sourceOutput":1,"destProc":6,"destInput":1}, - {"sourceProc":1,"sourceOutput":1,"destProc":2,"destInput":1}, - {"sourceProc":1,"sourceOutput":1,"destProc":6,"destInput":1}, - {"sourceProc":2,"sourceOutput":0,"destProc":3,"destInput":1}, - {"sourceProc":3,"sourceOutput":0,"destProc":8,"destInput":0}, - {"sourceProc":4,"sourceOutput":1,"destProc":2,"destInput":1}, - {"sourceProc":4,"sourceOutput":1,"destProc":6,"destInput":1}, - {"sourceProc":5,"sourceOutput":1,"destProc":2,"destInput":2}, - {"sourceProc":5,"sourceOutput":1,"destProc":6,"destInput":2}, - {"sourceProc":6,"sourceOutput":0,"destProc":3,"destInput":1}, - {"sourceProc":7,"sourceOutput":1,"destProc":2,"destInput":2}, - {"sourceProc":7,"sourceOutput":1,"destProc":6,"destInput":2} - ] - } +{ + "sql": "SOME SQL HERE", + "nodeNames": [ + "1", + "2", + "3", + "4" + ], + "processors": [ + { + "nodeIdx": 0, + "inputs": [], + "core": { + "title": "TableReader/0", + "details": [ + "TableA@primary", + "Columns: a, b, d" + ] + }, + "outputs": [ + { + "title": "by hash", + "details": [ + "@1,@2" + ] + } + ], + "stage": 0, + "processorID": 0 + }, + { + "nodeIdx": 1, + "inputs": [], + "core": { + "title": "TableReader/1", + "details": [ + "TableA@primary", + "Columns: a, b, d" + ] + }, + "outputs": [ + { + "title": "by hash", + "details": [ + "@1,@2" + ] + } + ], + "stage": 0, + "processorID": 1 + }, + { + "nodeIdx": 1, + "inputs": [ + { + "title": "unordered", + "details": [] + }, + { + "title": "unordered", + "details": [] + } + ], + "core": { + "title": "HashJoiner/2", + "details": [ + "left(@1,@3)=right(@3,@2)", + "ON @1+@2<@6", + "Out: @1,@2,@3,@4,@5,@6" + ] + }, + "outputs": [], + "stage": 0, + "processorID": 2 + }, + { + "nodeIdx": 1, + "inputs": [ + { + "title": "unordered", + "details": [] + } + ], + "core": { + "title": "No-op/3", + "details": [] + }, + "outputs": [], + "stage": 0, + "processorID": 3 + }, + { + "nodeIdx": 2, + "inputs": [], + "core": { + "title": "TableReader/4", + "details": [ + "TableA@primary", + "Columns: a, b, d", + "Out: @1,@2,@4" + ] + }, + "outputs": [ + { + "title": "by hash", + "details": [ + "@1,@2" + ] + } + ], + "stage": 0, + "processorID": 4 + }, + { + "nodeIdx": 2, + "inputs": [], + "core": { + "title": "TableReader/5", + "details": [ + "TableB@primary", + "Columns: b, c, e" + ] + }, + "outputs": [ + { + "title": "by hash", + "details": [ + "@3,@2" + ] + } + ], + "stage": 0, + "processorID": 5 + }, + { + "nodeIdx": 2, + "inputs": [ + { + "title": "unordered", + "details": [] + }, + { + "title": "unordered", + "details": [] + } + ], + "core": { + "title": "HashJoiner/6", + "details": [ + "left(@1,@3)=right(@3,@2)", + "ON @1+@2<@6" + ] + }, + "outputs": [], + "stage": 0, + "processorID": 6 + }, + { + "nodeIdx": 3, + "inputs": [], + "core": { + "title": "TableReader/7", + "details": [ + "TableB@primary", + "Columns: b, c, e" + ] + }, + "outputs": [ + { + "title": "by hash", + "details": [ + "@3,@2" + ] + } + ], + "stage": 0, + "processorID": 7 + }, + { + "nodeIdx": 1, + "inputs": [], + "core": { + "title": "Response", + "details": [] + }, + "outputs": [], + "stage": 0, + "processorID": -1 + } + ], + "edges": [ + { + "sourceProc": 0, + "sourceOutput": 1, + "destProc": 2, + "destInput": 1, + "streamID": 11 + }, + { + "sourceProc": 0, + "sourceOutput": 1, + "destProc": 6, + "destInput": 1, + "streamID": 12 + }, + { + "sourceProc": 1, + "sourceOutput": 1, + "destProc": 2, + "destInput": 1, + "streamID": 21 + }, + { + "sourceProc": 1, + "sourceOutput": 1, + "destProc": 6, + "destInput": 1, + "streamID": 22 + }, + { + "sourceProc": 2, + "sourceOutput": 0, + "destProc": 3, + "destInput": 1, + "streamID": 101 + }, + { + "sourceProc": 3, + "sourceOutput": 0, + "destProc": 8, + "destInput": 0, + "streamID": 0 + }, + { + "sourceProc": 4, + "sourceOutput": 1, + "destProc": 2, + "destInput": 1, + "streamID": 31 + }, + { + "sourceProc": 4, + "sourceOutput": 1, + "destProc": 6, + "destInput": 1, + "streamID": 32 + }, + { + "sourceProc": 5, + "sourceOutput": 1, + "destProc": 2, + "destInput": 2, + "streamID": 41 + }, + { + "sourceProc": 5, + "sourceOutput": 1, + "destProc": 6, + "destInput": 2, + "streamID": 42 + }, + { + "sourceProc": 6, + "sourceOutput": 0, + "destProc": 3, + "destInput": 1, + "streamID": 101 + }, + { + "sourceProc": 7, + "sourceOutput": 1, + "destProc": 2, + "destInput": 2, + "streamID": 51 + }, + { + "sourceProc": 7, + "sourceOutput": 1, + "destProc": 6, + "destInput": 2, + "streamID": 52 + } + ], + "flow_id": "00000000-0000-0000-0000-000000000000", + "flags": { + "ShowInputTypes": true, + "MakeDeterministic": false + } +} ` compareDiagrams(t, s, expected) diff --git a/pkg/sql/explain_plan.go b/pkg/sql/explain_plan.go index 5c4ff036db8e..85a87d4c8ff2 100644 --- a/pkg/sql/explain_plan.go +++ b/pkg/sql/explain_plan.go @@ -111,7 +111,8 @@ func (e *explainPlanNode) startExec(params runParams) error { if e.options.Mode == tree.ExplainDistSQL { flags := execinfrapb.DiagramFlags{ - ShowInputTypes: e.options.Flags[tree.ExplainFlagTypes], + ShowInputTypes: e.options.Flags[tree.ExplainFlagTypes], + MakeDeterministic: e.flags.Deflake.Has(explain.DeflakeAll) || params.p.execCfg.TestingKnobs.DeterministicExplain, } diagram, err := execinfrapb.GeneratePlanDiagram(params.p.stmt.String(), flows, flags) if err != nil { diff --git a/pkg/sql/jobs_execution_details.go b/pkg/sql/jobs_execution_details.go index 43428458708d..1483a1685c65 100644 --- a/pkg/sql/jobs_execution_details.go +++ b/pkg/sql/jobs_execution_details.go @@ -13,12 +13,18 @@ package sql import ( "context" gojson "encoding/json" + "net/url" + "strconv" + "github.com/cockroachdb/cockroach/pkg/base" "github.com/cockroachdb/cockroach/pkg/jobs" "github.com/cockroachdb/cockroach/pkg/jobs/jobspb" "github.com/cockroachdb/cockroach/pkg/jobs/jobsprofiler/profilerconstants" + "github.com/cockroachdb/cockroach/pkg/sql/execinfrapb" "github.com/cockroachdb/cockroach/pkg/sql/isql" "github.com/cockroachdb/cockroach/pkg/sql/sem/eval" + "github.com/cockroachdb/cockroach/pkg/util/timeutil" + "github.com/cockroachdb/errors" ) // GenerateExecutionDetailsJSON implements the Profiler interface. @@ -34,8 +40,8 @@ func (p *planner) GenerateExecutionDetailsJSON( var executionDetailsJSON []byte payload := j.Payload() switch payload.Type() { - // TODO(adityamaru): This allows different job types to implement custom - // execution detail aggregation. + case jobspb.TypeBackup: + executionDetailsJSON, err = constructBackupExecutionDetails(ctx, jobID, execCfg.InternalDB) default: executionDetailsJSON, err = constructDefaultExecutionDetails(ctx, jobID, execCfg.InternalDB) } @@ -73,3 +79,93 @@ func constructDefaultExecutionDetails( j, err := gojson.Marshal(executionDetails) return j, err } + +// backupExecutionDetails is a JSON serializable struct that captures the +// execution details that are specific to BACKUPs. +type backupExecutionDetails struct { + defaultExecutionDetails + + // PerComponentFractionProgressed is a mapping from a string representing + // execinfra.ComponentID to the progress fraction reported by the executing + // job for that component. + PerComponentFractionProgressed map[string]float32 `json:"per_component_fraction_progressed"` +} + +func constructBackupExecutionDetails( + ctx context.Context, jobID jobspb.JobID, db isql.DB, +) ([]byte, error) { + var annotatedURL url.URL + marshallablePerComponentProgress := make(map[string]float32) + if err := db.Txn(ctx, func(ctx context.Context, txn isql.Txn) error { + // Read the latest DistSQL diagram. + infoStorage := jobs.InfoStorageForJob(txn, jobID) + var distSQLURL string + if err := infoStorage.GetLast(ctx, profilerconstants.DSPDiagramInfoKeyPrefix, func(infoKey string, value []byte) error { + distSQLURL = string(value) + return nil + }); err != nil { + return err + } + + // Read the per node, per processor fraction progressed from the + // system.job_info table. + perComponentProgress := make(map[execinfrapb.ComponentID]float32) + if err := infoStorage.Iterate(ctx, profilerconstants.NodeProcessorProgressInfoKeyPrefix, func(infoKey string, value []byte) error { + flowID, instanceID, processorID, err := profilerconstants.GetNodeProcessorProgressInfoKeyParts(infoKey) + if err != nil { + return err + } + componentID := execinfrapb.ComponentID{ + FlowID: execinfrapb.FlowID{UUID: flowID}, + Type: execinfrapb.ComponentID_PROCESSOR, + ID: int32(processorID), + SQLInstanceID: base.SQLInstanceID(instanceID), + } + progress, err := strconv.ParseFloat(string(value), 64) + if err != nil { + return err + } + perComponentProgress[componentID] = float32(progress) + return nil + }); err != nil { + return err + } + + // If the job has generated a DistSQL diagram, update it with the latest + // progress fractions. + if distSQLURL != "" { + flowDiag, err := execinfrapb.FromURL(distSQLURL) + if err != nil { + return errors.Wrap(err, "failed to FromURL") + } + flowDiag.UpdateComponentFractionProgressed(perComponentProgress) + + // Re-serialize and write the updated DistSQL diagram. + _, annotatedURL, err = flowDiag.ToURL() + if err != nil { + return err + } + key, err := profilerconstants.MakeDSPDiagramInfoKey(timeutil.Now().UnixNano()) + if err != nil { + return errors.Wrap(err, "failed to construct DSP info key") + } + if err := infoStorage.Write(ctx, key, []byte(annotatedURL.String())); err != nil { + return err + } + } + + for component, progress := range perComponentProgress { + marshallablePerComponentProgress[component.String()] = progress + } + return nil + }); err != nil { + return nil, err + } + + executionDetails := backupExecutionDetails{ + defaultExecutionDetails: defaultExecutionDetails{PlanDiagram: annotatedURL.String()}, + PerComponentFractionProgressed: marshallablePerComponentProgress, + } + j, err := gojson.Marshal(executionDetails) + return j, err +} diff --git a/pkg/sql/logictest/testdata/logic_test/explain b/pkg/sql/logictest/testdata/logic_test/explain index 37bf3c7356c7..0cd434f28244 100644 --- a/pkg/sql/logictest/testdata/logic_test/explain +++ b/pkg/sql/logictest/testdata/logic_test/explain @@ -16,7 +16,7 @@ distribution: local table: t@t_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUF9L6zAUf7-fIhy4rL3ksnWPedqYVYt1nW3ZhFEkNsdR7JqapPPP6HeXNgOdMNG3_P4fsgf9VAKDxA_9WUqK6kGS8zi6Jmv_dhFOgzlxzoIkTW5Clxw8_6zBOUC-2zjcJdHSj4njWs24GVld-rFvC-dRSsLgyieDHeZGquINxd8BUKikwDnfoga2Bg8yCrWSOWotVUfte0MgXoCNKBRV3ZiOzijkUiGwPZjClAgMUn5fYoxcoBqOgIJAw4uyrzUTc1c_4itQmMmy2VaaEQ4Ukpp3z_-QtRRkYz7KteEbBOa19OcHrIpKyGdUQ-94fbq8cCaeCxSixjAyGZ-cG_9mLkZdy0rj0dip5lGbUUCxQfunWjYqx4WSeT9jYdTnekKgNlb1LAgqK3UHfg5734bHX8JZ--c9AAD__8sxxS4= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkdFvmzAQxt_3V1ifNBUmV4U8-ilVwza0NHSA2kkVqjy4ZFYJZrZp1kX87xOQbm21Vts9IO7u8-87n_ew32sIZNEyOsuZataavU-Tc3YdfblYnsYr5i3iLM8-L3120LybBN4hlXcbT_osuYxS5vlTz_kFu_oYpdEEXCU5W8afInZ0R6XTRv2k6u0ROBpd0UpuyUJcI0TB0RpdkrXaDKX9KIirHxABh2razg3lgqPUhiD2cMrVBIFcfq0pJVmROQnAUZGTqh6xbu5u2lu6B8eZrrttYwWT4MhaOfweo-g5dOf-wK2TG4IIH00TLyCCnv_7QFeqqfSOzEn4dJrTyw_ePPTBkXROsPnsRfvZM_vwf-xTsq1uLD0xf8kpeOZ0HPYFB1Ubmh7B6s6UdGF0OWqnNBlBY6Ei66ZuOCVx89CyzpDc_t7eY1L4Kmn2GqngWNd6d6MqCASHOP7L5yEwHJAbO6wo-6Z3Iza_b4cLrmVtieNc3tKCHJmtapR1qoRwpqO-f_MrAAD__0Qd_Ng= # Test that explaining a query that contains a subquery the result of which is # needed to make the physical plan is rejected. See #40677. diff --git a/pkg/sql/opt/exec/execbuilder/testdata/dist_vectorize b/pkg/sql/opt/exec/execbuilder/testdata/dist_vectorize index d1a9f648996e..77c4c9ebe2e0 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/dist_vectorize +++ b/pkg/sql/opt/exec/execbuilder/testdata/dist_vectorize @@ -81,7 +81,7 @@ regions: table: kv@kv_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzslstu2zgUhvfzFMRZOQMaujpxtMqMkQGCaeLAdtJFYQSMdKAKlkiVpBy7gR-rL9AnKyRVqeUkkoyiSIF6yXMRf_7nE8FHUJ9i8GB6_u58NCO-yLju_X1E_puML8liCRS4CPCKJajA-wAWULCBggMUXKAwgDmFVAoflRIyL3ksGi6CFXgmhYinmc7Dcwq-kAjeI-hIxwgezNh9jBNkAUrDBAoBahbFxTaL5dlieZcucA0URiLOEq48oDBNGVce6Ru5hv9viY4S9Ij59Ysq177gGrmOBH-WkuJBkQB9EWDgEasM3q81KiKRBR4Zkn_LYDi5HhGfxbF6qktZJKu6fOvL29GIKI1paRjp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Prur-R24SceGiQLeidXNu3plRQ231Yb6dPa0f3hj_z86s2s6MakmM9j1idOqRvtnrW_cuadUlRpeSlFga3rhLhhXdZnuUzG4oWb2-fUepFUpml5KUUBrdGKVRRbfVHiWrG0p2Lztb7ij9O0pWl5KUUBrfGKVxRbfdHiW7G0qD3h2kViDZXQpSAmlyY5AmXS6vS5QxjyTWLoNfX0mvrdQz0lsjuh7mV0zJE-Hge8GdLDZ_XGSJsgEXpcpnjfxhFhVTUglk4evdu5zJaMxkVjIZ5UyDeiazWVMXUVZjKvt6JqOeye66PZZVBSJUBy52JGAKI-f0SlIxfmC-qjLmokThs8D_g10CWLyWQSfQQX9fNHsxVXR8MZd3fTEbopTMqwToLcEu-zOs-zNo9Gd43Wmznml4d7rsz6juz6jRn_F1p616pvHd6bI_47o_k-YPkX7davvi69j8of3mvJ6kR9KngB-2vgsU9C-_3lf-ih-kLzBPpufi6jM_ZGatT3F6qn1igUQN5myHb1GhCP3Il8p3gCqR4Pn83d8BAAD__wOQkWY= query T EXPLAIN ANALYZE (DISTSQL) SELECT * FROM kv JOIN kw ON kv.k = kw.k @@ -135,7 +135,7 @@ regions: table: kw@kw_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsmt9u2zYUxu_3FASv2pWuTMlOEwEFjAUdkG5JirTozWAMjHRmC5JFlaTteEEeay-wJxskwUn9R7KlaSBn6S4SSenwdw4_faH5iOW3CLv484dfP1x-QT-in-9ur1G4QB9vr25QuES3NyhcvA3RexQu34aY4Jj7cMNmILH7G6aYYBsT7GCCB5jgIR4TnAjugZRcpF0eswFX_gN2-wQHcTJX6e0xwR4XgN1HrAIVAXbxF3YfwR0wH4TVxwT7oFgQZa8JF6Nw8XsSwgoTfMmj-SyWLgoJWmCCPycsvepZaSC_fEUqmIGL-n__JfNrj8cKYhXweKdJ8KVEPnjcB99FNL95v1IgkQDmu-gc_ZTfnNx9ukQeiyL53C9hgVj3S199_fXyEkkFCfL4PFboFTwo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26suDs3DVJBVXuzYefyTbDk1CjICPn3932D-UbmYoIai5iHwScAWhs3iOZXV-zj21HqULEiKPB96fPI1gdVny7hE44M0SBq-aVtry3JYAWLWOQcZcNi_G8mFIQP2SAbEdgHoHAcTWAelIQCy7Gio6hAwsIatuhMwUIYYQVP2oBLWLC6WbGUpFc82QgPolAypeUJGAWHY1VHQIGVhCVt0ImSlC-iahzmtCRnrGWd3KSmmzsfNWbF3ROkclzqlYzJzGvaLjhuH4ZK8Gyk81Q8ZStnEvPNc6ElANjTuWUNnGvXCvYqYIWTmNe0WH0AmOT_Zq4AgEFRlL2ca9eEFFAqqhcccSKtu4Fy-oKUJdrHGvNiArNeOcNBZ-TYVwfOq3oY8ElL0uKH9K1pGxlG7hC5cLA0uobAtf_FZRilCvsfCvAfVwfOq3oY8ElL0uOAJBRcZSuoUvXlCxhMq28MULaopQv7HwaxY-NeOwvN_PVHQIGUhAZZv4wocQwxKq3-4-ltCOtUH587KBjqZ-Pj6NKO9HNBUl1EcCKtvJF6-qWEL12-LHEtqxQDgCVUVHUz8zn0aE_pKm2qJhpeed1AdCR-Xmi_9NBwmobDdf_A4SllD93DyWUOk7_cWvmdGIspcI5U_NZjoazKeKNTCrFhJQ2W6-eFXFEqqfm8cSKn27v3hVRSPKXiIcgaqmo0l9gFRzN28-3Wr0PhDzb55Lbdr596-15Z_VH40v4ENJ7Ud6PRLzhNbNYgKS2vc8kKDRc-7DR1AQjb3Qk8pzqK2iKTw9_fRPAAAA__88tZtc query T EXPLAIN (VEC, VERBOSE) SELECT count(*) FROM kv diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_agg b/pkg/sql/opt/exec/execbuilder/testdata/distsql_agg index 65ef00a9a104..986ae3c42d9f 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_agg +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_agg @@ -78,7 +78,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsql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lxq2JKrPzO0-V2F9aj3y8KOQKVqX3nFoUXUEoXlGI0uIVhSgvblGIEuMWRZVZpQWdXBQy-5b6vAh_O74He7C5_dQPXHYfyALcecy-Klsv4e8U135fsS-6z-4ipgiO3Z-0TxMaLf3AjxN_BntJtKYfH__5NwAA__8RGA5z statement ok @@ -99,7 +99,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyslF2Lm0AUhu_7K4ZzlcCIjpps1qtdtikEsh-NKRSKlGnmYEONY2dGaAn570W9WBM2o9W9CfHjned9OHKOoH9nEMHy68v6fvVEJh9X8Tb-vJ6SeLlePmyJLg8TPiWfNs-PRHDDgUIuBT7xA2qIvgEDCj5QCIBCCBRmkFAolNyh1lJVrxzrwEr8gcijsM-L0lS3Ewo7qRCiI5i9yRAi2PIfGW6QC1SuBxQEGr7PakyFvqt-vhe_8C9QeJBZech1RKpGccGrv47LCM8FYUSan6ggOVGQpXkFasNThIidaP9S92mqMOVGKnd23in-8ji5Y9OrGP8q5vX0MpdKoEJxdnRyshdh3v81Cc6asP5TYAOm4DLH9QfMoaNWS38-Zg5-f3t_iL3vuMEA-45aLfubMfZBf_tgiH3guOEA-45aLfvFGPuwv304xD503NkA-45aLfvb99pAb2A2qAuZa7zYRG-f7FUbCkWKzTrTslQ7fFFyV2Oay-c6V98QqE3zlDUXq7x5VBVsh5k17J-F2WXYt5M70IE1HdrD4ZjeM2t4bifPx5BvrOGFnbwYQ761z8rr-EzsH9klOzl9-BcAAP__g7LmoQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyklVtro0AYhu_3V8h3lcCIjoccvGppshBI2m7MwsISymz8aqXGcWdGuiXkvy-a7VZtlWi8kHp636fPHHIA-TsGD-Y_7pfXi1ttMFv4G__bcqj58-X8ZqPJbD9gQ-3r-m6lBUwxIJDwAG_ZHiV4P4ECAQsI2EDAAQIubAmkgu9QSi7yVw7FB4vgD3gmgShJM5Xf3hLYcYHgHUBFKkbwYMN-xbhGFqAwTCAQoGJRXNTk1Vf56SF9xlcgcMPjbJ9IT8uJ_JTlf-oG1VgSaFTj6gkFbI8EeKbeC6ViIYJHS4SLGXjmkZwPeR2GAkOmuDDcKqP_fTW4osPGWqtW6zbWvrdlCRcBCgwqVdtjOxg1u5HZNTJaNULPHzbaY9gMqhtWr4GjXTBLfkaXDdyoUmudb8fqY8fSDbuXHasLZsnO-DI740qtfb4du48dWzecXnbsLpglO5PL7Ewqtc75dpw-dhzdcHvZcbpgluxML7Mz7bITr1GmPJFY2xo_bzJrTTrN91AMQjxtuJJnYof3gu-Kd0-Xd0VQcSNAqU5P6elikbw9kkog2___ISkn0dYkq5JEy0luPclqZ-oCZbdGOc1JtJ7k9P33RvUktzVp1Mxk1ZNGfZnG9aRxa9KkmcmuJ036Mk3qSdP2aWA2Qzkf5mb7NG-hmuZL5zHmLw9RAB6Y_w79k9PbAfkHLJT5-vWf-EsRu3lN89X3yGKJBFbsGWeoUOyjJJIq2oGnRIbH45e_AQAA__91MHHu query T EXPLAIN (DISTSQL) SELECT sum((a-1)*1000 + (b-1)*100 + (c::INT-1)*10 + (d-1)) FROM data @@ -116,7 +116,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUldGL2k4Qx99_f8UyT8ndhmSTeOflSfH8QUC9q1ooFClrdrBSzdrdBFrE_70k4TCRu40lfdEHcWb2u9_ZjwNzBP1zBxGMv7xOhvGMWM_xYrn4NLHJYjwZj5ZE53ur-HDiEGaTO8I8z7PJPbGsdS1lV6kkiuLZsn8uVHlRJmzy__xlSgTPOFBIpcAZ36OG6CswoOADhQAohEChBysKByUT1Fqq4sixFMTiF0QehW16yLMivaKQSIUQHSHbZjuECJZ8vcM5coHK9YCCwIxvd6VNYT0ovr4dfuBvoDCSu3yf6ohwStaUJJQIoLA48CLnuIzwVBBGZPYdFVCYYypQRaQAMmAOi6rn2ncFlLfg3rIGfrP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0Xyc0gsi9QoIvnlmk4RFZRChYeRWBEp_OzxmkWkRilS87Amv4jU_KymVhGpVYrUPqwpKCK1P6upXUTqlLeBd1hU-F9vlrd5iapOfHUeV-rlfimBg_d3OB989gPiDWJh4vs7eVIvCez0dRPfvkexMkhhJJ6xhxb1ehktjV3OgVu9xd3uy58AAAD__4lED9Y= query T EXPLAIN (DISTSQL) SELECT sum(a), count(a), max(a) FROM data @@ -131,7 +131,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lF-L4jwUxu_fTxHOVYVITVsdp1fKvC4I_pm1yg4sIllzcGW1cZMUZhG_-5IKO1XGtFS8kabx6e_hd0KOoH_vIIbB2-uoP5wQ7_9hMk--jhokGYwGL3Ois73HG5SsZZaa_GnP3z3eIF9m0zER3HCgkEqBE75HDfF3YEAhAAohUIiAQhuWFA5KrlFrqexfjnlgKN4hblHYpofM2NdLCmupEOIjmK3ZIcQw5z92OEMuUPktoCDQ8O0ux1h0z_6sDr_wD1B4kbtsn-qY2EbJgdvHps8ITwVhRJqfqGB5oiAz8wHUhm8QYnai1Uv1NxuFG26k8tuXnZLF2Ouxhi0zXUzmq9n0W-LZ5bj_lm_c4gc3-R_YLJVKoEJxwVye3A1Z61bFZDFeDSdzrxf8axjebhheNGTVx8ZqjM1nTT-oMbiSWgUtnYcMLqiuJaijJWj6YQ0tJbUKWp4eoiWsriWsoyVs-lENLSW1Clq6D9ESVdcS1dESNf12DS0ltQpanh9--33Cn6E-yFTj1S34-Zdb9nZEscHzVaplptb4quQ6x5yX0zyXvxCozXmXnRfD9LxlCxbDzBkOLsLsOhy4ySXo0JmO3OHont5tZ7jjJnfuIT85w103uXsP-dk9q1bJMXEfsmv28vTf3wAAAP__7NsP4w== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lV1ro0AUhu_3V8i5SmBER82XVy1tFwJN0o0pW1hCmI2nqdQ42ZmRtoT892XMtlW3ShTihTiOvufxmQ_3IP_E4MPNw93t5XhqdK7HwSL4cds1gpvbm6uFIdNth3WJseZporKrLXvtsK7xfT6bGCFTDAgkPMQp26IE_xdQIOAAARcIeECgB0sCO8HXKCUX-pF99sI4fAXfJhAlu1Tp20sCay4Q_D2oSMUIPizY7xjnyEIUlg0EQlQsirMyuvSFPq12z_gGBK54nG4T6RuaKNgxfWla1GBJaFCDqycUsDwQ4Kn6LCgV2yD4NEc4vgbfPpDTIS83G4EbpriwekXG4H7SuaBdDTe7ny5W89nPoKObk8uHrKOKxynx9Cp5PjHShIsQBYYFhuWhnpjaVcjB_WQ1ni46F84HsVtN7JaIaVEhPX2caYtxtqhpOa1GmjbBzHnrn2mk-wUe53RtThttjmm5rbQ5TTBz2gZn0jYo8Lina3PbaHNNy2ulzW2CmdM2PJO2YYHHO12b10abZ1q9Vtq8Jpg5baMzaRs1-T3MUe54IrG0LX9dyS5VMqnevzHc4HGzlzwVa7wTfJ09e2zOsqDsRohSHXvpsTFO3rukEsi2H3-3fBKtTXIKSTSf1CsnOfVMTaDc2iivOomWk7y2n9cvJ_Vqk_rVTE45qd-WaVBOGtQmDauZ3HLSsC3TsJw0qp8GdjWU99_crJ_mNVQjvXQeY_6yikLwwf53mF-c3g_QL7CN1Os3eOIvWezibadX3yOLJRKYsGe8RoViGyWRVNEafCVSPBy-_Q0AAP__oqCbIQ== query T EXPLAIN (DISTSQL) SELECT sum(a+b), count(a+b), max(a+b) FROM data @@ -148,7 +148,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lF2L4jAUhu_3V4RzpUykJq2O0ytl1gXBj1mr7MAiEs3BldXGTVKYRfzvS-syozKmxY8b8TS-vg_PKdmC-bOCENqvL91Wp09KXzvRKPreLZOo3W0_j4hJ1iVBHsisTMlcJbF9n9bi7f938m046BEprAAKsZLYF2s0EP4EBhQ4UPCBQgAUajChsNFqjsYonf5kmwU68g3CKoVlvEls-nhCYa40Qr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YYekT__NIVmkkg6VnAQYr3B0cSiRyibdSLLN3d-UkC8oeBKj0rpXtimH82aS0RL7-OinzSaw2yS4ksXxSu5xk1zMdAuXURrnVSayc5Db9e51yUrs2qVPNZJeTOk2ZuuWkbm1Sr5rJKSf1mjL1ykn9-mVgVUO5f63N-mVeQ9VPt85jJF4WYQAeWB-X8cPt84K0A1-pdP_6T-Ili529bdLd98gjhRRG_BmvUKNch3GodLgET8sEt9t__gQAAP__kTW2Bg== query T EXPLAIN (DISTSQL) SELECT sum((a-1)*1000) + sum((b-1)*100) + sum((c::INT-1)*10) + sum(d-1) FROM data @@ -167,7 +167,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlVGL2kAQx9_7KZZ5Ss4NySbxzstTxLMQUO-qFgpFypodrFSzdpNAi_jdS5KiiZyJNFh8kd0Z__nPzG9g9xD_3IAHwy9vo34wIdpLMJvPPo10MhuOhoM50bQ43WoaJwZhOnkgzLIsnXRIHl2WovoxGnpeMJn3TrljShSxj9PXMRE84UAhkgInfIsxeF-BAQUbKDhAwQUKXVhQ2CkZYhxLlf1lnwsC8Qs8i8I62qVJFl5QCKVC8PaQrJMNggdzvtzgFLlAZVpAQWDC15vcJrP2s59vux_4GygM5CbdRrFHOCVLSkJKBFCY7XgWM0xGeCQIIzL5jgooTDESqDyi-cxgXtGt_pBN5u-FEs23q6lSximOlfwx7bt5_GU4CMb9ESwOFGSanNqME75C8NiBXj-K_mqlcMUTqcxudRKzz2PNZ3rWbHayjyfneHL1i0XYF4s4eaeRVAIViorx4lBfJrP-pc4TGd_taL7T0XzW8W39cgdOpQN2_UaxNhtlMsO0732nGoZRgvV4u52yrydityJiG6Zz70QahlEi8nQ7Is71RJxWRBzDdO-dSMMwSkR6tyPiXk_EbUXENczuvRNpGEaJyPP_eQnfKWKK8U5GMZ69iO9_2cpeShQrLJ7VWKYqxDclw9ymuL7mujwgME6KLCsuQVSksgLLYlYrtitidi62650brJ1atVsvdtvU3a0VP9Y7P7ZxfqoV9-qde22cn-tZWQ1rUr9k596Lw4c_AQAA__-6wa2h +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMVl1r4kAUfd9fMdynpE5IJolfeUqpLgjadtWFhUXK1NxaqWbcmZFuKf73JbHVJFuDHwjmIczcm5w595w7zLyD-jODANq_7rvXnVtitDqD4eBH1ySDdrd9MySGoZZzw-DEIswkV4Q5jmOSCkmjj5mouYmOg6BzO2xsc5tUtI5979_1SMQ1BwqxiPCWz1FB8BsYUHCBggcUfKBQhRGFhRRjVErI5JP39IdO9BcCh8I0Xix1Eh5RGAuJELyDnuoZQgBD_jjDPvIIpe0AhQg1n87SZZKlw-T1sHjBN6BwI2bLeawCwil5pGRMSQQUBguexCybER5HhBGhn1EChT7GEcqAGCGzWLCu1rxKlPmYUGKEbj6VyXjrYS6_SYd-Gm-1bzq96y6MVhTEUm_LVJpPEAKW0aXTgsBZ0f2luZ5MJE64FtKu5pUZ_OwZITOT4pORuxl5m5Fv7iTlFkhVd5LaclnGQkYoMcoRGa3KaTPnGN5b50K_YoRexQhZJXTN3RV5hYpYXme2fwuyU1rQZpbtXn4TskPEybhZO2cT1nKk3P0dc09yzLVs7_Idcw8RJ-NY_ZyO1XOkvP0d805yzLNs__Id8w4RJ-NY45yONXKk_P0d809yzLfs6uU75h8iTsax5jkdax5yX-ijWohYYeGI_nolp7CSxZKzHKMJrg9-JZZyjPdSjNNv19O7FCgNRKj0OsvWk078mVJaIp9vrjtZJFaK5OaQWBapWkRyyzkdQsorhfJ3I7Eikn9sebUiUrUUqbabk1tEqh3LqV5EqpciNXZz8opIjWM5NYpIzfI2cHaT8v_rzfI2L2HVTLbO00y8PkwjCMD5eKwvXp8PJD_wiUr27-BZvKaww7dFsvue-EwhhR5_wRZqlPNpPFV6OoZAyyWuVt_-BQAA___FqDju query T EXPLAIN (DISTSQL) SELECT sum(a), min(b), max(c), count(d) FROM data @@ -182,7 +182,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lF-L2kwUxu_fTzGcqwRG4iRx182V4msh4J-tUbpQRMbMwUo1Y2cmsEX87iXxYlXWiY3YG00mPj4_fiecPehfG4ig__Y66MYj4vwfJ9Pk68AlSX_Q702JzrcOdynZrjNnWXzzdyd1KUllnhlHuOTLZDwkghsOFDIpcMS3qCH6Dgwo-EAhAAohUGjBnMJOyRS1lqr4yb4MxOIdoiaFdbbLTXE8p5BKhRDtwazNBiGCKV9ucIJcoPKaQEGg4etNWVNUd4qPxe4n_gYKPbnJt5mOCKdkSUkKFJIdLw4aHiM8E4QRaX6ggvmBgszNR602fIUQsQO9Ha27WilccSOV1zonS2ZDp8NcoDCMR07HL6-6b04nKK5649loupiMvyWOe5XEv0ryAZBnUglUKM7a5wc7K2v-DWwyGy7i0dTphNdZgzNWdvtAWe2Beqzh-TVGWgF3ounpwSP1b9fk19fkN7yghqYKuBNNzw_WFNyuKaivKWh4YQ1NFXAnmtoP1hTerimsrylseK0amirgTjS9_MM9-gnJBPVOZhov9unn_9ws9iyKFR6Xspa5SvFVybSsOd6Oy1x5IFCb41N2vImz46MC8DTMrGH_LMwuw769uaI6sKZDezi8h7tlDT_Zm5_uaX62htv25vY9zS_2WTUrXhP7S3bZPT_89ycAAP__3gslkg== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0ld9qo0AUh-_3KeRcGZigo-afVyltF4Qm6caULSwhTPU0lRonOzPSlpJ3XzTbrbpVohAvjI7O73z5OOO8g_wdgwvX97c3F95c0688f-X_uOlp_vXN9eVKk-lOZz2i7aJEf8h-2ase9IgW8DRRetjTvi8XMy1kigGBhIc4ZzuU4P4CCgQsIGADAQcIDGBNYC94gFJykb3ynk_wwldwTQJRsk9VNrwmEHCB4L6DilSM4MKKPcS4RBaiMEwgEKJiUZyXyUpPs9Nm_4xvQOCSx-kuka7GiPZAtAAI-HuWDfQNqrEk1KjG1RMKWB8I8FR9lpWKbRFcWuD0rsA1D-R01IvtVuCWKS6MQZnUv5vpU9oDAjNvrk-t_OriXp_a2dXl4m6-2iwXP329V0tmVcgGtWSfQGnCRYgCwxLN-tDMTs028P7dbOPNV_rUqWe3K-y0rJWe3gG0cwcYtG9YnXqAtoEteByevQeGJTLrdI1Wd41W37A7abTawBY0js6ucVQis0_XaHfXaPcNp5NGuw1sQeP47BrHJTLndI1Od41O3xh00ui0gS1onJxd46TNlrNEueeJxMoH_utKZqVSn2Y7AYZbPG4bkqciwFvBg_zd4-0iD8oHQpTq-JQeb7zk45FUAtnu345ZTKKNSVYpiRaTBtUkq5mpDZTdGOXUJ9FqktP17w2rSYPGpGE9k1VNGnZlGlWTRo1J43omu5o07so0riZNmtvArIdy_uvN5jZvoJpkS-cx5i-bKAQXzL9H_4vTxwHZBLaV2fr1n_hLHrt622er75HFEgnM2DNeoUKxi5JIqigAV4kUD4dvfwIAAP__dROw0A== # AVG is more tricky: we do two aggregations (for the sum and for the count) # and calculate the average at the end. @@ -201,7 +201,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lF2L2kAUhu_7K4ZzleBInEl03Vxl2VoI-LE1CoUiy5g5pFI3YyextIj_vSQWNso6EWJuJJn4-j4-J5wDZL-24MPo28v4KZwS63MYLaKvY5tEo_HoeUHE78SyLEE6ZG2TDol9P5wuhsWltMmX-WxCpMgFUEiVxKl4wwz878CAAgcKLlDwgEIfVhR2WsWYZUoXXzmUgVD-Ab9HYZPu9nlxvKIQK43gHyDf5FsEHxZivcU5Cona6QEFibnYbMuaojooPl53P_EvUHhW2_1bmvlEULKmJKZEAoVoJ4qzrsOISCVhROU_UAOFOaYStU8Cr2NZAesE3O4E7v-_CKsjBbXP38myXCQIPjvS2-mfkkRjInKlnf45fLScWAGzC-rZcroor69V8quV7037VGmJGuVZzepohmK9a1TRcvIaFlzcrqpiTsCvcrpnnOz2wbImg3VY1-EtjLaGv2J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KJ8z2fnLKj19DzzWSGHCn_ACDapllETaRAF4Rq1xs_nvTwAAAP__JFq8dg== # VARIANCE/STDDEV have three local (sqrdiff, sum, and count) and one final stage aggregations. # We calculate and render the variance/stddev at the end. @@ -220,7 +220,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lF-L4jwUxu_fTxHOVYVITVtnnF5V_AMFR2ds52VhkSGagyurjZukyy7id19aWUZlTKXi3khO4tPnye-EswP9Yw0hDL68jLrxmDj9OEmT11GDJIPRoJcSnW8c3qBEyTwTjjZC4E9n3qCENchwOnkmghsOFDIpcMw3qCH8CgwoeEDBBwoBUGjDjMJWyQVqLVXxl10piMUvCFsUVtk2N8X2jMJCKoRwB2Zl1gghpHy-xilygcptAQWBhq_WpU1hHRU_79vv-Bso9OQ632Q6JJySOVBItryomi4jPBOEEWm-oYLZnoLMzYenNnyJELI9vT5Xd7lUuORGKrd9Git5e3Yi1ij8X6f9eDh0Iq-siv1y1Zu8jdNyfSmKdzHKR4I8k0qgQnFiP9vbw7LWpbTDeNwdvSdpvz_434k8Gvk0CoqDKWYCVUgi9vcdRB5lYRjG47Rz-Q7-yR3Y9W1m9drssqbr1Wh0RbIjdg_3brR3PSSvJiSv6fo1IFUkO4L0eG9I_vWQ_JqQ_KYb1IBUkewIUufekILrIQU1IQVNt10DUkWyI0hP_3KufhJlinorM41n8_XzL7eKuYtiiYchrWWuFvii5KK0OZSTUlduCNTmcMoORZwdjoqAx2JmFXsnYnYu9uzOFda-VR3YxcEtudtW8YPd-eEW50eruGN37tzi_GTvVavimdgf2bn3bP_fnwAAAP__obooWA== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0le9rqzoYx9_fv0KeVy2k2Kj9lVeOtQWh67a2u1y4lJE1zzqZNb1JvDtj9H8_aM_O1DOlFeoLMYl-88mHJ-YD9H8RMJj8cze7CuZWaxwsV8v7WdtaTmaT65Wlk12Lt4mlZBKLljZC4P-tpzaxaNuaLm5vLMENBwKxFDjnO9TA_gUKBBwg4AIBDwj0YE1gr-QGtZYqfeUj-yAQP4B1CYTxPjFp95rARioE9gEmNBECgxV_inCBXKCyu0BAoOFhlE2TTu2nt8f9K74DgWsZJbtYM4sT6wkILPc8bXVsavFYWNSS5gUVrA8EZGK-5tSGbxEYzUEGY2DdAzmd82q7VbjlRiq7V8RcPty0fNpOee4X42A6bflO1kr7s6fr24f5KnuuQnNKaL1KtC-iJJZKoEJRwFkf6uFpt4p-GsyvZo_L1Xg8-bvlO8R3ie-lAwuMBSpm-fSzTnyHUMZYMF8Nq9fkltZEi77p6XVBm9WFTTu206gy6DmkObn9y1dGv4DmnC7RaSjR6dhuI4nOOaQ5iYPLSxwU0NzTJboNJbod22sk0T2HNCdxeHmJwwKad7pEr6FEr2P3Gkn0ziHNSRxdXuLonDNogXovY42lH_73M3VLM3VoejKg2OLxGNEyURu8U3KTvXts3mZBWYdAbY6j9NgI4s8hbRTy3e8jNJ9Ea5OcQhLNJ_XKSU490zlQbm2UV51Ey0le0-X1y0m92qR-NZNTTuo3ZRqUkwa1ScNqJrecNGzKNCwnjerLoFsN5f1Rm_VlXkM1SrfOcyTfHkMBDLq_rs43t88L0g_4Vqf7d_ki37LY1fs-3X3PPNJI4Ia_4hgNql0Yh9qEG2BGJXg4_PUzAAD__zyus5Y= query T EXPLAIN (DISTSQL) SELECT sum(a), round(variance(b), 1) FROM data @@ -237,7 +237,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lFGL4j4Uxd__nyLcpwqRmrY6Tp4qjkLBqTPV-bOwyBDNxZXVxk3aZRfxuy-tLKMyplJxXyQ38fSc_G64OzA_1sBh8OVl1Iti4jxFk-nkddQgk8Fo0J8Sk28c0aBEqzyVzk-hVyJdoDNvUMIaZJiMn4kUmQAKqZIYiw0a4F-BAQUPKPhAIQAKbZhR2Gq1QGOULv6yKwWR_AW8RWGVbvOs2J5RWCiNwHeQrbI1AoepmK8xQSFRuy2gIDETq3VpU1iHxc_79jv-Bgp9tc43qeFEUDIHCpOtKKqmy4hIJWFEZd9Qw2xPQeXZh6fJxBKBsz29PldvudS4FJnSbvs01uTt2QlZo_B_TZ6i4dAJvbIq9stVf_wWT8v1pSjexSgfCfJUaYka5Yn9bG8Py1qX0g6juDd6_7-XRL24P3BCj4Y-DYPiKMFUouYkZH_fQuhRxjmP4mn38i38k1uw6xvN6jXaZU3Xq9HqimRH9Dr3brV3PSSvJiSv6fo1IFUkO4L0cG9I_vWQ_JqQ_KYb1IBUkewIUvfekILrIQU1IQVNt10DUkWyI0iP_3KyfhIlQbNVqcGzCfv5l1vF5EW5xMOYNirXC3zRalHaHMpxqSs3JJrscMoORZQejoqAx2JmFXsnYnYu9uzOFda-VR3YxcEtudtWccfu3LnF-cEq7tqdu7c4P9p71ap4JvZHdu492__3JwAA__9CrCmW +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lV1vozgUhu_3V6BzlUiOwEC-fEWUDwkpTdskXa20iio3nKaoBGdts52qyn8fQaZTYApKkMIFwja8fvzoGH-A-i8CBtN_7uYjf2G0Jv5qvbqft43VdD4drw2V7Fu8TQwpkjho_c9lyOMttp7axKBtY7a8vTECrjkQiEWAC75HBexfoEDABgIOEHCBQBc2BA5SbFEpIdNXPrIP_OAHMItAGB8SnXZvCGyFRGAfoEMdITBY86cIl8gDlKYFBALUPIyyadKpvfT2eHjFdyAwFlGyjxUzODGegMDqwNNWx6QGjwODGkK_oITNkYBI9NecSvMdAqM5SH8CzDqS8zlHu53EHddCmt0i5urhpuXRdspzv5z4s1nLs7NW2p89jW8fFuvsuQrNLqF1K9G-iJJYyAAlBgWczbEenlpV9DN_MZo__j1a-qPFeNrybOI5xHPToSXGAUpmePSzVjybUMaYv1gPqlfllFZFi8bp-ZVBm1WGSTum3ag26CWkOb2969dGr4Bmny_RbijR7phOI4n2JaQ5if3rS-wX0JzzJToNJTod020k0bmENCdxcH2JgwKae75Et6FEt2N2G0l0LyHNSRxeX-LwklNoieogYoWlX_73M1mlmTo0PRsw2OHpIFEikVu8k2KbvXtq3mZBWUeASp9G6anhx59DSkvk-9-HaD6J1ibZhSSaT-qWk-x6pkugnNootzqJlpPcpsvrlZO6tUm9aia7nNRrytQvJ_VrkwbVTE45adCUaVBOGtaXgVUN5f5Rm_VlXkM1TLfOcyTeHsMAGFi_rs43t88L0g_4TqX7d_Ui3rLY9fsh3X3PPFJI4Ia_4gQ1yn0Yh0qHW2BaJng8_vUzAAD__wqMtNQ= query T EXPLAIN (DISTSQL) SELECT stddev(a+b+c::INT+d) FROM data @@ -254,7 +254,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lF-L4jwUxu_fTxHOVcVITVtnnF518A8UHJ2xnZeFRYbYHFxZp3GTuOwifveldWBUxlQovZE09fH5-Tshe9C_NhDC6Nvz5DGeEmcYJ2nyMmmRZDQZDVKijRD423EcTtpk2SJtkoVhPE37xVK0yHg-eyKCGw4Ucilwyt9RQ_gdGFDwgIIPFAKg0IMFha2SGWotVfGVfRmIxR8IuxTW-XZniu0FhUwqhHAPZm02CCGkfLnBOXKByu0CBYGGrzdlTVEdFR9v25_4FygM5Gb3nuuQcEqWlGSUCKCQbHmx13EZ4bkgjEjzAxVQmGMuUIUkCtqOE7F25LXakf_xF2FxoCB35pNMG75CCNmB3k7_uFopXHEjlds7h09e5sN4PHYi1ioYX58-VoPZ6zQt19cAvKsAn727XCqBCsVZ6eJgR2QXgsfx9HHylqTD4eh_J2I08mjkXwfzz8DY7XNldebqso7rNTDZCv4TbXfNTNa7XaBXS6DXcf0GBFbwnwi8b0agf7tAv5ZAv-MGDQis4D8R2G9GYHC7wKCWwKDj9hoQWMF_IvCh-cv5C4A56q3MNV5c0l__cre4vFGs8HjTa7lTGT4rmZU1x8dZmSs3BGpzfMuOD3F-fFUAnoaZNeydhdll2LM3V1T71nRgDwd1uHvW8J29-a5O87013Lc39-s0P9hn1a04JvZDdtm9OPz3LwAA__9q1z72 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lU9v4joUxffvU1h3FYRRcBL-ZZWqgBSJ0hbo05OeUOXiW4oKMWOb6VQV332U0E6TTBNBUbKIHCc-_p2Ta9030D_W4MPgv5vRRTgmVj-czqa3oxqZDkaDyxnRRgj8aVkWJ3XyUCN1svD9cDzrxkNRI8PJ9RUR3HCgEEmBY75BDf7_wICCAxRcoOABhRbMKWyVXKDWUsWfvCULQvEL_CaFVbTdmXh6TmEhFYL_BmZl1gg-zPjDGifIBSq7CRQEGr5aJ9vEWwfx7X77jK9A4VKud5tI-4RT8kDJghIBFKZbHs81bEZ4JAgj0jyhAgoTjAQqnwRe3bICVg-cWj1w3y3CfE9B7swnmTZ8ieCzlJWwD35zT493c7FcKlxyI5XdypqZ3k764XBoBawWM99dvY8ur-_Gs2RcBOTkgFqFQJ8cu0gqgQpFBmK-L0dmuR8wDMcXo_vprN8f_GsFjAYODdxiUDcHyrLRseMLgZ1TCDZr2E4lpcBO8ZPKtV1VKbQzQM7xATtnBew0bLeSgJ1T_KQC7lQVcCcD5B4fsHtWwG7D9ioJ2D3FTyrgblUBdzNA3vEBe2cF7DXsViUBe6f4SQXcqyrg3inta4J6KyONua7x9U7N3E4NFrcXFEs89CItd2qBN0oukm8Pj9eJUDIhUJvDW3Z4CKOPV9oo5Js_3TetxEqVnIwSSyu18kpOOdMpUG6plFesxPJK3nfttfNKrVKldjGTk1dqf5epk1fqlCp1i5ncvFL3u0zdvFKvvAyaxVDeX7VZXuYlVL346Dyu5cv9SoAPzfer8cXt44J4AV_q-PxOn-RLIjt73can75GvNVK44s_YR4Nqs4pW2qwW4Bu1w_3-n98BAAD__w0iyjQ= query T EXPLAIN (DISTSQL) SELECT variance(a+b+c::INT+d) FROM data @@ -271,7 +271,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan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8kngVS0rYNXAqVQD990izLcU5MZ8kmnDFwg-O7AS9sGvb-npbrqLhcIFN1LZjWMz09tJPxwOrYBVUua7q_dR7_puPNuN84CcDFAjF-iTY5NIJVChOIKYb4uRWeYHDMNxd3T_b3cSdse9gRUwGjg0cPNR3QwqOw6PnV4K7JJSsFnNdkopBnaOn4Nkm2UVQ_MIyDk9YOeigJ2a7ZYSsHOOn4OAW2UF3DoCck8P2L0oYLdme6UE7J7j5yDgdlkBt4-AvNMD9i4K2KvZjVIC9s7xcxBwp6yAO-c0sAnqtUw0ZvrG1zvVMzvVWNpgUCxw34203KgIb5SMdt_uH693QrsJgdrs37L9Q5h8vNJGIV_96b-HSqxQyTlSYodKjaySU8x0DpRbKOXlK7Gskvdde82sUqNQqZnP5GSVmt9lamWVWoVK7XwmN6vU_i5TO6vUKS6Dej6U91dtFpd5AVUnPTqPS_lyHwvwof5-1b64fVyQLuALnZ7f6ZN82cnOXtfp6XvkS40Urvgz9tGgWsVJrE0cgW_UBrfbf34HAAD__1biy3I= # Regression aggregate functions have two local, and one final stage aggregations. # Calculation and rendering are happening at the end. @@ -288,7 +288,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMVV9vok4Uff99CnKfMBmD_LF_eJJYNCQW7ED7a7MxZBamrFnL0AEbm8bvvgG6VVwKBl98IXPPzOGcOfcm8wHp6wp0MB_nM8OyBfHGcj33btYTXHNmjj0hYG-E-wlLRIKEoIcETiPup5vNQf1erd-rNXmLNodA9cQyzigPaJJVUK5Uf7tiCa0gAVvHX5TSa0pekh3C-d91-srD5fOzSHrCBDu3QkgyAghiFlKbvNAU9B8gAwIFEKiAQAMEQ1ggSDgLaJoynh_5KAhWuAF9gGAZJ-sshxcIAsYp6B-QLbMVBR088nNFMSUh5dIAEIQ0I8tVIZNLj_KPn_ym74BgzFbrlzjVhdwrIHATkld9SRZIHAqywLJflMNii4Cts51mmpGIgi5v0fG-jCjiNCIZ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FNzfNyW_NSS_NSTtu3nDevtu3jDXXYaOP3NW4d-ffL2h3sJbOR9mq-W9w76URQX2bVXVzPP9SuJ92ww0NdF0dHybjNo24eqBw6c3Bu7WGAPcH-idWgOfw7R0XsafrTXGFSH66ZbrHS3X-wOjk-X6OUxLll9-NssvK0KM0y03Olpu9AdmJ8uNc5iWLJ98NssnFSHm6ZabHS03-4NRJ8vNc5iWLL_6bJZfnfPz4FORs0zQ2t3bXGlYq9TH6pKmyZoebnTBdjymK87iYu4h9AqgIpFQIQ9f8SFws7dPQnJKtu__PmUk3IqkV5BwGWlUR9LbOZ1DymiFMo8j4TqS2VXeuI40akUaH-ek15HGXTld1pEuW5EmxzkZdaRJV06TOtJV-zEYHidl_nU22495C6sr1TqPG_Y7ShOwYPj69Btebw-oBWQtVP8G39nvAjZ8zlX3PZKNoAhuyQ96TSXl2zRLhUxjsCTf0f3-nz8BAAD___5AZww= # Test various combinations of aggregation functions and verify that the @@ -308,7 +308,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzcVs1uqzgU3s9TWF4RxRGxIWnKyiilEVIacoHb6dUoQi74ZqJJgWtI1Krqu48M-YGIkkiRuugCdP6-c3zOZ1t-h9mfNTSg9TSfmvYMKHe253s_ph3gWVNr7INs86KwDgJsu1SeO6jQw50eST2PIr4tQkoxyNhLWtXTpFS3TKxYHPIizZaJMnCvyKh9fkVhoAueO6ALQsOwZ_5IirJamOxjGQJyGYIvRZC9vp7ob3X9ra6z7fL11FCPWMU5FyFP85pVkHradZLymiVMNvEBUq61nMbeIsRezv6IaPX7t8I64N51HkDEcgYRjJOIz9gLz6DxD8QQQQIR1CCCOkRwABcIpiIJeZYlQoa8FwA7eoVGH8FVnG5yaV4gGCaCQ-Md5qt8zaEBffa85i5nERdqHyIY8Zyt1kUZWZrKX5D-x98gguNkvXmJMwMwBJ4RCBGIIIJeyqStp2LA4ghgkOT_cgERdHkccWEAqncVheIuJZ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EMFDCogEEDDB24w7ARkc_jOBIy5CVNsIMn0NsYluFmm0jzHQY_Ehz0F0iWyYqDDh67X3GHs4CLVhswBDxhy1W6jFzakK_55hd_BgzDaLVdh7GOGEb3GPkYBYDB3TBpa7YIYmGACIqSn1wABoeHARc6MrQLRTHIhUEbF4a6Iw4jg2BkUIwMFSNDg7tXDNE2eas0TtiCg05yrdkj0Nuv-PTuzMVC8AVLItHqFJtzv18rBm3I-qWkSmk4_T7xdnJq1Q5SJ-dPZfebM7IvL3cYOw8teN5wiJQ8x5y4tmdPJ3PHGjuW60rRHI8da2x6lmJQnC2Ygs2d6b-u0jg6FloaS-foWN6msQ0jEXDBg8Io7l7rB0faFZMjh972M5zbtbM7RHSldmlPzKu5641G1o1i9LBBsNEvO-az6azCeWM6tjkZWooxwHJmasGVJeU8Wbntt6Dh9BBGyJtZcjJ3b28rrT-qrD-qrObNuArCvBlXRdsTz3KG1syr8Dm0atGr6cza2w8zJbTcnmtel_obTh2naDls1NyID2c2PZyt7GxiZHRaRhcjo7d7-hgZg91D2vIl44k8zUSmEJlDOvIl04jMITKJyAwqM2i6gsygMoMevwHU0lYnxSuAnH7BkY9ccC3SbNFPueLIOf3lTmr3a19x3cJY6Om00w_RTpst9VNop-f0l6O997Vp7xXGop5Ou_oh2tVmS_sU2tVz-svR3v_atPcLY9FOp137EO1as9X5FNq1c_rL0T742rQPzvm8d3i8icKYl75nq1dql1ZqEvnhy4MFz76S42grfD4TkZ_GZuo0BUoNAY-TzEsyxQ73rjgRnK0P_07ySKQWiRaQSB6pU0ai9TWdU5RaC6UdRyJlJO297XXLSJ1apO7xmmgZqfvemnplpF4tUv94TWoZqf_emvplpEH9NmgfL0r7a2_Wb_Oaqgby6Dysoj_zZQA6tHe_ZsVr_wOZwBaxPL_uz-hPCus9b-Tpe2CrmGO4Zr_4iCdcrJfhMk6WPuiJ2PLX13_-DwAA__-ge2z_ query T @@ -326,7 +326,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diag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N_fY0aNv9Af-9Af-1D7rrdPwr7rKbZZgt3-yPE6zlBZtlGKedqeBf7NYOgU9Tetp03CVK2tcq2-fTssanUGnrdW2RwNhf1OEDNrrEEQaxLE1HHQVkdCXT0UkSomVVSquNRUD0Wnik9bKw2qVmn1gz7USz6kxeODnn5g0s8cmDVarWkXOzLpOTXvbK3G15F5wSOzUeiadrpTtU85VavW9Is5VTun5h2nNr-cekGnNgtd0093qv4pp-rVmnExp-rn1Lzj1NaXUy_o1Faha8bpTjU-5VSjWjMv5lTjnJp3nNr-cuoFndo-55rriTSJo1SULk7731QvvalK1Q1LhBOxvI6l8UIGYijjIOcup4NcKAdCkWbLKF1O3GgdSjMp-HxzS99VokeVtIIS3VUyy0ra8ZzOSUo_KmUcVqJlJeOj5TXKSuZRpcbhnLSyUuOjOTXLSs2jSq3DOellpdZHc2qVldrHbVA_nJTxlzeP2_xIVm21dZ5m8Z_xNAQL6qtfdc9j_QO1gE9StX_9n_GfXHb0mqjd98RnqSBwy3-JrsiEnE-jaZpNA7AyuRDv7__8HwAA__9ynSvm # Verify that local and final aggregation is correctly shared and de-duplicated. @@ -345,7 +345,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzslk1v6jgUhvfzK6yzCpJR4jjhIysjCJpIFNpA25FmEDLEYtCFhJuP6l5V_Pcrk5YkFEJEF2zYtPj4vOf1OXks-R2in2uwwP7ncdBxhkjpOePJ-GlQQ2N7YHcnKEo2Cq9hFMWeJ972P_nbUuE11HcGE9tFyuvftmsjjv5LNI0KZNYwWgSJHyvzj1z5_42HK-4vhDI_Fs5T4QK1pEuyuZSRnuNckkB6DfXd0QPyeMwBgx94Ysg3IgLrXyCAQQcMFDAYgMGEKYZtGCxEFAWhTHnfCxzvF1gahpW_TWIZnmJYBKEA6x3iVbwWYMGEz9fCFdwToaoBBk_EfLXe20hrJv_Mtj_Eb8DQDdbJxo8sxDGaA4bxlstVXSWI-x4iKIj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dUqwpVIwki1it1Ov9wr3GzJtj57A3c0el3dPXyZzI47mc_xzDjL77-1zr2Hb1PlFGjl4KxCIuscrJ-9C7ZTXNHzAoJxAcG4iGBUcqyXOLYqOT5TmwZh5GOEfoHXx339KTDtwjEwyc7InfTH8-lsMBh-VbhOOaPcyJ1C9jZ3z3QeV52TV7dgt8-wX_ue25_cDRXeo5xplDN2CmLa2_RM5jcoZ4e8Z31LpVLCDZWblHCLEt5ReZcSLnXck1rWKkk2SiSzopJZ88Fltw2uytqq_p6jy65pOCeazsfoNh7dToFjvbmo9BtFpbdV4z1FpV_TcE5U3Q9RNRZVt8Cx0VxUxo2iMtqq-Z6iMq5pOCcq-0NUjUVlFzg2m4vKvFFUZlu13lNU5jUN50TV-xBVY1H1rvk68DDehUGMpRvs5UxaKVObyasu-ivM7sVxmEZL_BSFy4Nvtnw4AB0MPsZJtsuyhRsct-IkQrE9fdzkkVgtkl5AYnkkq4yk19d0TVFGLZRZjcTKSOat7XXKSFYtUqe6Jr2M1Lm1pm4ZqVuLZFfXZJSR7FtrsstIvXoZaNVFmW-0WS_zmqp6cnS-b8Jf87UPDmivv_aFx_EHMkCsYjm_0x_hrwPs7Hknp--72MRI4V78xAEmGG3XwTpO1ktwkijF_f6P_wMAAP__NbBFdQ== query T EXPLAIN (DISTSQL) SELECT sum(a), avg(DISTINCT a), variance(a) FILTER (WHERE a > 0) FROM data @@ -362,7 +362,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k1GL004QwN__n2KZpxa2JJukf2SfGmpOA73cmcRT0CBrdojFNBt3N4dS-t0lCVJ71KO29aV0Z_aX-c0sswXzrQYO0fv7VRgnZPIyzvLszWpKsmgVLXNius1ETCkRj9WQi5NlTvrAo9Br0ZQ4EVNyE6_yKCWTd6-jNCKCfOxc10fiTslNendLpLACKDRKYiI2aIB_AAYUPKDgA4UAKMyhoNBqVaIxSvdXtgMQy-_AXQrrpu1sHy4olEoj8C3Yta0ROOTic40pConacYGCRCvW9VCmL73ofz61X_EHUFiquts0hpPeKGtF_3fmMCIaSRhR9gtqoJBiI1FzsmBjKy7nPE7yF5QsGBQ7Cqqzex9jRYXA2Y7-wXmv2jVKS9QoDzSL3ZGuwqrSWAmrtDM_bCp7eztZeFOgED682r_KGHoI0zhMllF_49fDPCPtHUiz0wfNzhi0w2aOd_1Re6dbe-dYezPHv761f7q1f461P3OC61sHp1sH51gHM2f-b5fxiHWKplWNwSdLefzLbr-sKCscN9uoTpd4r1U5lBmPdwM3BCQaO2bZeIibITUI_g6zZ-H_D2D3KexdUtm_BA4uged_BRe7_34GAAD__xpgHFI= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lFFr2zwUhu-_XyHOVQIytmznY-gqIXU3Q5p2jtcNtlC0-NQ1daxMktuVkv8-5KxrbdIQDPGFsI6k95yHVzrPoH-VwCH6djWbxHMyOIsX6eLzbEgW0SyapkTX64EYUiIe8mYtnk9TYgMPQhWiWuFADMl5PEujhAy-foqSiAjyo_a8AIk3JOfJ5QXJhBFAoZIZzsUaNfDvwICCDxQCoBAChREsKWyUXKHWUtktz82BOPsN3KNQVJva2PCSwkoqBP4MpjAlAodU_CwxQZGhcj2gkKERRdmksanHdrjZ3OMTUJjKsl5XmhNb0WIj7K_jMiKqjDAizR0qoJBglaHiZMx2KB7nPJ6nHygZM1huKcjavNajjcgROHsDEJ8B97b0HYbX0utKqgwVZq2yl9s9lJM8V5gLI5U7akMuvlwMxv4QKEyuP766tAtdT5J4Mp9GdseLUQcg_A7EqAXBjjeC9TDCZY7rn8IK1qLwj6fw-1D4jhucgsJvUQTHUwR9KALHDU9BEbQowuMpwj4UoeOOTkERvvu491AkqDey0th55PszeZ1MDrPdALMcd61Dy1qt8ErJVbN3N71shJpAhtrsVtluElfNErMZFIr1v970VokdVPq_peQdVPL71sS6SkFfJb-rFPZVCrpKo75KoXXxtpSPN0UGHLy_n7NnePnAHhC5tldpcScfG9n0aWMvwq0oNVK4EPd4hgbVuqgKbYoVcKNq3G7_-xMAAP__owJ4_A== query T EXPLAIN (DISTSQL) SELECT sum(a), avg(a), count(a), stddev(a), variance(a) FROM data @@ -377,7 +377,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lF9r4kwUxu_fTzGcK4WROEnsn1xFqkLAapvYvguLyKxzyMrajDszKbsUv_syyUWTUhNJwRudk5PH5zePh_MG-vceAph-e5iPowXpTaJklTzO-ySZzqd3K6Lzlx7vU8Jf0-J7K_PMFCdthMDX4vjK1Y5nW-zxPpnFy3siuOFAIZMCF_wFNQTfgQEFFyh4QMEHCiNYUzgouUWtpbKvvBWCSPyBYEhhlx1yYx-vKWylQgjewOzMHiGAFf-xxxi5QOUMgYJAw3f7wsZah_Zjc_iFf4HCndznL5kOiCVKDtweBw4jPBOEEWl-ooL1kYLMzbuhNjxFCNiRng81TlOFKTdSOaM6U_J03wtZ38Isnxar6nkTL_9PerZMHuNJNJsVzVM87kmed4w8k0qgQlFjWB-bidnwFHLydL-JLLRbqzxbzaLFeL5JVpPJ9LkX-jRktHytbDyP42i8uJvWWjFmAlVAQkZJyJzQpST0KAl9SsLRyZt7tZuz88eDdRgPhw0ct8OAtGBV4r66yIC458fkdonJHTheh5hasCoxXV8kJu_8mLwuMXkDx-8QUwtWJaabi8Tknx-T3yUmf-CMOsTUglWJ6fbiW_kTnhj1QWYaP2znz395aLc2ihTLFa9lrrb4oOS2sCnLZaErHgjUpuyysoiysmUBq2LWKHZrYvZR7DY7t1h7jWq_Wex_hXvUKL5qdr76ivN1o_im2fnmK863zf_VsGVMmofso_f6-N-_AAAA__8XykA1 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lV1vukgUxu_3U5BzpckYHMA3rjBVExJfWrHdTTbGzMqpJVXGnRnabRq_-2ZwuwX-hSgXcgEznOE5v3k4k_MJ8u89uDD-43469OdGY-QHq-Bh2jSC8XR8tzJkcmiwJjHY2y59bnkSq3QkVRjiWzp8YyJi8RYbrGlMlouZETLFgEDMQ5yzA0pw_wQKBCwgYAMBBwh0YE3gKPgWpeRCL_lMP_DDf8BtE4jiY6L06zWBLRcI7ieoSO0RXFixv_a4RBaiMNtAIETFon2aRqf29G1zfMUPIHDH98khlq6hiYIj08OWSQ0WhwY1uHpBAesTAZ6o74RSsR2CSzOE_gjc9olcDjnc7QTumOLC7OQZg8dZw6NNDbd4nK-y481y8XvQ0NPgYTnyJ5M0WMZnFfg6pXzfWEnMRYgCwxzT-lS9A9ou20LwONv4ehNWbmbr2cSfD6ebYDUajZ8ankM8Ss7LzoGn4dIfzu_GudAS4xCFa3iUGB41PYsYnk0MzyGG1yl1wi44QfO_il5eT7RGPZm0ZVq1Kopeg5n5H90bVVQ3x2ddbqNVx0arZdq1bLSuwczY2LuRjb0cn325jXYdG-2W6dSy0b4GM2Nj_0Y29nN8zuU2OnVsdFpmp5aNzjWYGRsHN7JxcE0bW6I88lhioV38nKldyNSiuq9guMNzE5I8EVu8F3ybrj1PF6lQ-iJEqc5Rep748VdIKoHs8H8XzirRSiUrp0SzSp2iklXNdA2UXSnllCvRopJTd3vdolKnUqlbzmQVlbp1mXpFpV6lUr-cyS4q9esy9YtKg-oyaJdDOb_UZnWZV1AN9NF53vP3TRSCC-3_rtYPt68L9AdsJ_X5DV74eyq7-jjq0_fM9hIJzNgrjlChOERxJFW0BVeJBE-n3_4NAAD__yWoy3M= query T EXPLAIN (DISTSQL) SELECT sum(a), avg(b), sum(a), sum(a), avg(b) FROM data @@ -392,7 +392,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lF-L2kAUxd_7KYb7pDASJ4m7bp5crAXBP1ujUCiyjM4llWrGzkxKi_jdyyS0q7JOQrQvcu_Ek9_JucM9gP6xhQgGX15Gz8MJaXwcxvP486hJ4sFo0J8Tne0avEkJ_5k0Vk36rz8_J59m0zER3HCgkEqBE75DDdFXYEDBBwoBUAiBQgeWFPZKrlFrqexfDrlgKH5B1KawSfeZscdLCmupEKIDmI3ZIkQw56stzpALVF4bKAg0fLPNMRbdsz-v--_4Gyj05TbbpToinJIVUIj33HYtjxGeCsKINN9QwfJIQWbmjakNTxAidqTVfT0nicKEG6m8zrmteDFu9FjT8m3l26o_XUzmeX0N7l-FvzGzVCqBCsUZcHl022Ptcn_xYvw6tA4D280wFagi0mOU9HyvF9Ci_Nte_Yjg7CNY9cmyepP1WMvza8y2xNlJeA_3n61fPRa_Zix-ywtqxFLi7CSWx_vHElSPJagZS9DywhqxlDg7iaV7_1jC6rGENWMJW16nRiwlzk5iefq_C_Id-Az1XqYaLxbl-29u2wWKIsFi22qZqTW-KLnOMUU7zXX5gUBtiqesaIZp8cgaPBUzp9g_E7NLse8ml6ADpzp0i8NbfHec4gc3-eEW8qNT3HWTu7eQn9yzapdcE_clu2Qvjx_-BAAA__8PERka +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0ld9uozoQxu_PU1hzlUhGYCD_uErV9kiRmrYnpNKRVlHlhilFJThrm-1WVd59ZbJtgS1sghQu0IzB3_z8aWy_gfqeQgCX_99enc2uSe9iFi7D_676JLy8ujxfEpVverxPCf8R9x769COvjpN_FzdzEnHNgUImIrzmG1QQfAMGFFyg4AEFHygMYEVhK8UalRLS_PJWTJhFPyFwKCTZNtdmeEVhLSRC8AY60SlCAEv-kOICeYTSdoBChJonaVHGlJ6a1_32GV-BwrlI802mAsIpeQAK4ZabzLIZ4VlEGBH6CSWsdhRErj9rKs1jhICVIGcXEDg7ejjnWRxLjLkW0h5UMcO7eW_K-obHRK6Jzm_urpdF3ATj1mAGjTCfDHkmZIQSowrAateOy5y_84Z38_uZIfZMtsAsQhmQKaNk6tpTj-7D97RxUV5tUaxqMTu8FVi3VrCZZbudmoEdQ1pyd3iKZhhWYNzDbXM72uZattfJNvcY0pJto1PYNqrAeIfb5nW0zbNsv5Nt3jGkJdvGp7BtXIHxD7fN72ibb9mDTrb5x5CWbJucwrbJMdfHAtVWZAprJ_fXlZxaJYuZIx6jGPf3gRK5XOOtFOvi3316UwgVAxEqvf_K9skse_-ktES--bj9ykqsVcmtKLGy0qCu5LYzHQPltUr5zUqsruR3Xd6wrjRoVRo2M7l1pWFXplFdadSqNG5m8upK465M47rSpL0NnGYo_4_ebG_zFqqJ2TqPqXi5TyIIwPn9WF-83h8wE3iszP4Nn8RLIbt83Zrd98hThRTm_BkvUKPcJFmidLKGQMscd7t_fgUAAP___OSkWA== query T EXPLAIN (DISTSQL) SELECT avg(c), sum(c), avg(d), sum(d) FROM data @@ -407,7 +407,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lF-L2kAUxd_7KYb7tIGROEncdfMUsS4I_tkahUKRZZq5pFLN2JmktIjfvUwUNso6kYh9Md6bnJxfzh3uDvSvNYQw-Po66g0n5OHzMJ7HX0YOiQejQX9O-O_0IXEo0cWmvJpaHGvhkJfZdEwEzzlQyKTACd-ghvAbMKDgAQUfKARAoQNLClslE9RaKvPIrhQMxR8I2xRW2bbITXtJIZEKIdxBvsrXCCHM-fc1zpALVG4bKAjM-Wpd2hjryPy8bX_iX6DQl-tik-mQJJQIoBBvualaLiM8E4QRmf9ABcs9BVnk75465ylCyPb0eq5emipMeS6V2znFihfjh4g5hme6mMyP_8uuV-l6zkUQ7yLIu3-RSSVQoTgxX-7tqKx9iTVejN-GR64jrX_SD0w1w0ygCknE3H4vNk_34pfRtDfvOpREjJLId6PAXC5-nH_ycez66bNm03dZy_UazL-GrBLq433n710fkdcwIq_l-g0iqiGrRPR034j86yPyG0bkt9ygQUQ1ZJWIuveNKLg-oqBhREHL7TSIqIasEtHz_1u0H4DMUG9lpvFs4X785rZZxChSPGxtLQuV4KuSSWlzKKelrmwI1PnhLjsUw-xwywBWxcwq9k7E7Fzs2Z1rrH2rOrCLg1u4O1bxo9358RbnJ6u4a3fu3uL8bJ9Vu-aY2A_Zufdy_-lfAAAA__8mTisB +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lV1v6jgQhu_3V1hzVSSj4CR85QrUDwkJSpdQaaUVqrx4SqOGmLWd01NV_PcjB3qa5DQRRCIXCTNx3nn8MtZ8gP4_hgBu_3mYjif35OpmEi7Dv6ctEt5Ob6-XhP_YXK1blOh0mz1tLI6xaJG7xXxGBDccKCRS4D3foobgX2BAwQUKHlDwgUIXVhR2Sq5Ra6nsko_sg4n4CUGHQpTsUmPTKwprqRCCDzCRiRECWPL_YlwgF6icDlAQaHgUZ2Vs6ZG9Pe1e8R0oXMs43SY6IGtKBFAId9xGbYcRngjCiDQvqGC1pyBT81VTG75BCFgOcnIDQWdPT-ccbzYKN9xI5XSLmOHj7GrEWpZv_ni_PP7Osm4u67YqwdwSWLcS7IsnTaQSqFAUYFb7enTWqWIPH2dPkyPnkd4r5H0bLTARqAIyYs71OLSrx-HddD5eDlqUjBglI88Z-fZRuVmvtFlW_BvY6e3CmrWLw9qO26hh2DmkOdd7l26YXgHMPd1Ct6GFbtvxGlnonkOas7B_aQv7BTDvdAu9hhZ6bcdvZKF3DmnOwsGlLRwUwPzTLfQbWui3nW4jC_1zSHMWDi9t4fCckbRAvZOJxtIE-L5Sp1SpzeyoQLHBw1zRMlVrfFByna09hPNMKEsI1Obwlh2CSfL5ShuFfPt7ouaVWK2SW1BieaVuWcmtZzoHyquV8quVWFnJb7q9XlmpW6vUq2Zyy0q9pkz9slK_VmlQzeSVlQZNmQZlpWF9G3Sqofw_erO-zWuohvboPMfy7SkSEEDneLW_uX1eYD_gG23Pb_gi3zLZ5fvOnr5nHmukMOOveIMG1TZKIm2iNQRGpbjf__UrAAD__4cztj8= query T EXPLAIN (DISTSQL) SELECT max(a), min(b) FROM data HAVING min(b) > 2 @@ -448,7 +448,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkE1L80AQx-_PpxjmlMBCkzwX2ZNVW12oaW1LETSHNTvUYLpb9wUKpd9dksWXChU9zm_2P7-d2aN7bZHj6H42GYoSkiuxWC7uJiksRpPR5RI2cpfIlMGm0clTCuP59BaU9BJuhitRXr_zx5Bl_wkKZKiNolJuyCF_wBwrhltranLO2A7t-wdC7ZBnDBu9Db7DFcPaWEK-R9_4lpDjSraB3CBDhoq8bNp-YgEXkORQPwf94lKsDgxN8J9TnJdrQp4d2O9N46b1ZMkO8mNX5BzOi48FOeeiXJ6d9OZ_8c7JbY12dGQ9vVHFkNSa4hWdCbammTV1r4nltM_1QJHzsZvHQujY6j74NZz_GC6-havDv7cAAAD__0das9A= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkFGL2kAQx9_7KZZ5SmDFbPpS9qm2ahvQaE2QQhvKNhl1Mcmmuxu0SL77keT0zuNOvHlYmP_M_uY_cwLzLwcOk5_L2SgIiTMOojj6MXNJNJlNvsakEEdHuJQUsnT-umS6WsxJJqwg30frIPx21n_XnvcRiQ8USpVhKAo0wH8Bg4RCpVWKxijdSqeuIciOwD0Ksqxq28oJhVRpBH4CK22OwGEt8hrN0AMKGVoh847oky_EYSTd1eXeuJA0FFRtnyjGii127MvYYAzca-j9k6cyt6hRD9n17F7n5LN_WZhzHoTxpzd9sBc-2Ht8rNBUqjR45eLejQesSShgtsX-7EbVOsWlVmnX26eLDtQJGRrbV1mfBOW5ZKxGUVzO-JzEbpL8W6SEwiZXhz8yAw7eYwxeec4B7QexNe2Jop06dNj4f9UuuBG5QQpzsccxWtSFLKWxMgVudY1N8-EhAAD__2S-63o= query T EXPLAIN (DISTSQL) SELECT DISTINCT (a) FROM data @@ -465,7 +465,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lV2L4jAUhu_3V4RzNcOm1PTD0V65OC4Irs6qFwuLLBkbRlmn6TYRdhD_-1ALOn5MTm2KN2LaPjlv8xxON6D-rSCC3q-nwbf-k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li69SG7UyGn2Vj68T7hlZrEfZGygqWJc0VKq28Dnj-cCRUT7enRcksYlAjjSsJtLl-vXc79ex1c-RqkgXqPLWNYYiTVY9wuu8gOYR4k7HOP5z6JS3cehonKMPsTI_XFIxbi-cTzAyv1CAZz01nzjOo1KwmPV4-cSr39MQb12w5s2g48P7RqO8BgbsbUOmPbrUrC49sOTtX2_hjD-m2HNm2Hnh9ZtR1iMDdjap-x7XYl4fFth6dqe3-MUf22I5u2I8-PrdqOMJibMXXO2HankvD4tqNTtR1hzmKPTOQ8E6zWEaFRWsoj6pVY-srWIxB8UYzZQ8HHq3vXl_eroNUXKRNy_StZX_Syr5-ELBidb46Su0mknER2k4K9JLKbFOOSmtVJBAnVMUQhqYjhBQMkFokNWRpXYGwwrI4KNazQLEMTYUNkjIqrk0g5Kbb1qolLMnmFhDJ5haQyeoXEMnqlcTWtvdKwWsaodrUMQTmpbStDC5dkkgEJZZIBSWWUAYlllEHj6ljLoGGRb7Ycw54TalnWm04bGWUSAotlMgLLZVQCC2Z0Qiez33l0sG-2nqhaikjL0vaeulJ0kFEmKbBYJimwXEYpsGBGKXQybQuqLUWkTqkvM_7-NE0hgcafP-_Ax9cfqAfoq1BH5cGEv69yhx-5Oui-0JlgLtzRN9ZlkhXzaaYO8WNIZLFgy-VfvwMAAP__kFUrLg== query T EXPLAIN (DISTSQL) SELECT SUM (DISTINCT A) FROM data @@ -484,7 +484,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lltr20AQhd_7K8Q8JVRGnpV805NDkoIht8YuFIopG2txTB2tq11DQ_B_L7LAli-ZsS74JcSyz87sOR8HfYD5O4cQbn8-3V0NHpyLm8FwNPx-d-kMb-9ur0eOWb6tnw0erkeOvHS-PT_eO5G0ElyIdaQe5JsyEP4CBBcEuOCDCwG40IKxC4tET5QxOkl_8rEWDKJ_EDZdmMWLpU0fj12Y6ERB-AF2ZucKQhjJl7l6VjJSidcEF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I7I1ZHbI_V-k8mqSWd0zYyyrxlIQykWFg9Fhh9EPA25cxE2qmnT3eHAh5gdArJTzkxruxi7m_74JLL4PZpOs4MDoFRkYq4810msipSOPEYoVKDv96uOqx69KB3eLAVaqzjk7V52RpcmjcpqF5BTR-XBNW3X9Ww3-LtSxeawUwCuZenfYFV0C7lLD5CmDnWgGkMuZXQLvhCjiuDq-uGa-jGW9ZTi3NOAVzPz-dC2rWKSVsrhk_l2akMuY16zTU7Lg6TnXNnDqaOS3LraWZQ8Hcz0_3gpp1Swmba-acSzNSGfOadRtqdlwdt7pmbh3N3Jbl1dLMpWDu58e_oGZ-KWFzzdxzaUYqY14zv6FmPuV59UWqVRwpWXh8PD2UXRiqxbJaynAqd7VX8TqZyOcknmz_u_v6tA3aHgilSne_st2XQfTzk0oTKZb7XUs-iRWTWD6JHyWxfJJHS-qUJzEiFGNIFhGLeeVZnMrlI1kaF0en0CmfQkfDctAot5zK0ahcNIpTzPLQqHZ5Eismtes62qYlYY4SoVBHiVioo1QuzFGNq4NOYRdxVMPq1nZUo_Lx5meXY3FtQWuNtKpaHWIU5hYVC5WLCobaRSbD9NLJtH56PJMcEUwnwxsqZpgOhndU5iJgWpbWUqsq1iVGYYpRsVDFqGCoYmQyTDGdDL8LMeQ25OhkWm-trJgOhvdWhjRXV8vSmmtVxXxiFKYYFQtVjAqGKkYmwxTTyfD7EUfuR45GxvEne0wxP9suvC_iz9d5CAHYv16tE28_L8hOEFOV7VmGs_hzmzv6WmU7jnexUNKEB_Eh-zKVyXIeZdu4CQRpspabzW__BwAA___mC3Hh query T EXPLAIN (DISTSQL) SELECT SUM (DISTINCT A), SUM (DISTINCT B) FROM data @@ -499,7 +499,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyslNGr2jAUxt_3V4TzNCFSk9Z7vX3y4nUgeL136mAwZERzcLLadEkKG-L_PtqCrqJpiXsp5KRfvu-XE84BzK8EYhh_fZ8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dwxmfAmdcsQyOhxN0hBO43qATnKBN0j2cySlwJm2m8x2qXGQKrZF52KlvObnUzFaMYtwNYiUKucZbKdblu7vlTSlUFiJUeveU7hbz7P2R0hL5Zv_n8lmJNiqxihL9rDSwlVhzpjah_EapoF6J2kpB1583tJUGjUrD-kzMVhp2zTSylUaNSuP6TL6tNO6aaWwrTZq3Qb8-VPDf3mze5g2pJuboPKbi5T6JIIT-v8s9cHu_wHzAY2XO7-JJvJSyy9fcnL5HniokcMWfcYYa5SbJzDBZQ6hlgdvtl78BAAD__xqOfMs= query T EXPLAIN (DISTSQL) SELECT DISTINCT a, b FROM data WHERE (a + b + c::INT) = 27 ORDER BY a,b @@ -519,7 +519,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lu9r2kAYx9_vr3h4Xlk8iXeJvwKDbK1lQqedCtsYMmJytDKbuOSEleL_PpKAqVrv0ZjmTSFnP3ff3PfDQ14w_rtEG_s_7u8-DYZQuxlMppNvd1cw6d_1r6eQPA-G11NwGczhdjz6Cr6rXPj-pT_uQ63mQh3mV1AHz7YHw2n3Cj6C6MBofNMfw-efKYYMg9CXQ_dJxmj_Qo4MBTI0kaGFDFs4Y7iKQk_GcRgl__KSAgP_H9pNhotgtVbJ8oyhF0YS7RdUC7WUaOPUnS_lWLq-jIwmMvSlchfL9Jgkp5P8-b36I5-R4XW4XD8FsZ2GYuAhw8nKTRYaBgc38IFDqB5lhLMNw3Ct8mNj5T5ItPmGnR7tdrFUMpKR0drNla3bUKs5HOrgiOT6HPP1_dnZAzIcrZUNDmeOOBpKnBPqZhGrReApg-_dVnYGw1Hky0j6bx-a7zN_hkc3fnxrj9kmz2YezZZvFWYn7m9VZ46oZ5sdf4lWgZfI01nvkm4YNsKVIXbv91iE1k4EfrrsvLDsBm8YooDuRLit7u0qdSdC5abw6nXnpeveLlF3cbprorhromGYBVwjwm1d61TpGhEqr0lU75oo3bVOia6Zp7tmFnfN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Yaq5oM7b2m7W1WFu3uq1ufVvdjuPVstW1gT3bOnhfWwc2kPm6ulex1VzRZmwdNGtrsbZedVu9-rZ6HcevZatnA3u2dfi-tg5tIPN19a5iq7mizdg6bNbWoc0-ZSGTfbRLZKW_yN3SrTosfTAZPsqsGEl0iNfyUxytT9_NDuenoNOJUCYq-5RlB9Pd948SFUvxfN4LXiYxNImbk_xyEi8nscskt5DELpOYBoVHDZAoSyrGzVncEov1kCxLLt41Z7kal4uuoYdEaVgeroONWT4a1TMnsXJSD03qm5N65aR-bUc1KDwKc9SSCnXUEgt11JILdVTjGtR2VMMa4sOva_aBa9PvPwYp4ntfy9JGaWW5dC48C7PLlgvVyxYM9cuWDBVMJ9MmamXDdDB8ojLPrIWrZeEjlfnmrIGWpc3UyorpXHgWppgtF6qYLRiqmC0ZqphOhv8QYYrpYNpwLWoxMGvhaVn4cGVDc9ZQy9Kma2XFdC48C1PMlgtVzBYMVcyWDFVMI-P4DxKm2DDdLnzZRt8-b0IIoPvvq_PG2_cXpBeIxyTdsyyfom-n3NXLPt1xfBHbRFL4KL7KsVQyft7s0j3VGgIVH-Tx-MM_AQAA__8BzMY2 query T EXPLAIN (DISTSQL) SELECT DISTINCT a, b FROM data WHERE (a + b + c::INT) = 27 ORDER BY b,a @@ -542,7 +542,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8ll9r4loUxd_vp9jsJ4tH4jlJ_BO4kHtbywgd7agwMwwyRHNoZWziJBGmFL_7EIOmpnq2-UNeColdZ6-s_PYibxj-XqOFg2-PD_8NR9C4G05n0y8PNzAdPAxuZxBfD0e3M3AYLOB-Mv4MrhM58PXTYDKARsOBJixuoAlLyxqOZr0b-BdEF8aTu8EE_v8OCwYOMvR8V46cFxmi9QM5MhTIUEeGBjI0cc5wE_hLGYZ-EP_L214wdP-g1Wa48jbbKL49Z7j0A4nWG0araC3RwpmzWMuJdFwZaG1k6MrIWa33Y2Kfdv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mmT4vkpsX00y-3318tu1b6v4-esyggCa_z8abzwdHpB_IHxI83vG6WP8vNedvWzyO75v4SpVHD6H31VfZSp5Wq7zG-kFBFmyVbvdT_8FAAD___au_IU= query T EXPLAIN (DISTSQL) SELECT c, d, sum(a+c::INT) + avg(b+d) FROM data GROUP BY c, d @@ -562,7 +562,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUl9tv4jgUxt_3r7DOEwijYDvhkqd0u90VEg1dLtJUI4QCsWg1NGaSMJqq4n8fJdBySesDSpDgpTKGX47P-T5_at4g-jkHG-6-PXRu2i4p_dPuD_r_d8qkf9e5ux2QKSU-JdHypeSRCpnadtsdNMukQrxfs9KEVIhfJv_2uvfE92KP_NfrDh_I348pBhQC5UvXe5ER2N-BAQUOFARQMIGCBSMKi1BNZRSpMPnJWwq0_d9g1yg8B4tlnGyPKExVKMF-g_g5nkuwYeBN5rInPV-GRg0o-DL2nudpmeQgTvJnvPghX4HCrZovX4LIJh4lE_p-tP7CS_aqBiNe4BNGVPwkQ6DQk4EvQ5s4rOKIdb-UOLzimJQ4ghLHhNGKglrG2-NFsTeTYLMVPb6Fm9kslDMvVqFh7XfgCOokA7pxH8dudzB2h51OyRHlzJaZbPWH9yWHfax4srrtDt1But4_6rb65JU8edHTQWFGHQ6j1bYj_mVH20ctAxX6MpT-3sPSp2h6ZrXPah92yLJN849WxcfqfRDjdtK2Vd6TMVHvXTrDsb5UT5yinquqamGwA-WyRSsau5jFDnd9JF47-OXnta292uz428by3DaDVQ1-rvuGNLHjvfqV3DdW5H1jl33fEPU2961e3H3jx3ue5_I8rxriXJ5HmtjRv3ElnudFep5ftucR9TaebxTneXG850Uuz4uqYZ7L80gTO_o3r8TzokjPi8v2PKLexvPN4jxvHu95M5fnzaphncvzSBM7-reuxPNmkZ43L9vziHobz7fO8y7xScGejBYqiORRbwq1ZPjSn8m1UpFahlP5EKppWmb9sZty6YYvo3j9LVt_aAf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nhyasSnT41Re_epaZ81Ndnlt8unxj4pNXbdcj4uNbZJUUeO6XyZ1HQKKzw5NfanT41Re_ep6Zw1NR2Tbd5QRetgFalSW6hG7lZ1lvRL-TO1a24UbMKpug2Dafrb3cdBKpSe8FUU775luw_d1eGrKA6VXL78E-JYieWV2LESzyixYyXHTKlVrMQMoRhDtAyxmFOsxU25OoiWxsXRForiFgoNS6BSdjGV0KhsVIqbOMtBpZrFSiyv1HyvR5tmSphHDaFQjxpioR415cI8qnG10Ba2EY9qWO13e1Sj6uDDr1GMxbVAa4O0rLVahlKYt0yxUHOZgqHuMibD7KWTafM020mOGEwnwwcq5jAdDJ-ozEbANC1tpJa1WNtQCrOYKRZqMVMw1GLGZJjFdDL8KcSQx5DQybTZWtpiOhg-WxkyXG1NSxuuZS3WMZTCLGaKhVrMFAy1mDEZZjGdDH8eceR5JDQyjv9lj1msk2wXvi-Cn5O5Dy409q_6G2-HFyQXyFmU7FlGj8HPVHf8tE52HN_lIlIUbuQPdaViFS7nq3kUz6fgxuFGbbe__QoAAP__j-1p9g== query T EXPLAIN (DISTSQL) SELECT c, d, sum(a+c::INT) + avg(b+d) FROM data GROUP BY c, d ORDER BY c, d @@ -586,7 +586,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUl99r6kgUx9_3rxjOk5KROJPE2jyl27qLYGPXH7BlEYlmsGWt403i5Zbi_35JotUkOEcJAX0pyaSfOT--53vALwh_LMGGzr8vvYeuS2pP3eFo-E-vToadXudxROaU-JSEm4-aRzQyt-2uO2rXiUa8n4vajGjEr5O_Bv1n4nuRR_4e9Mcv5M_XBCP9wVNnsH8DCivpC9f7ECHY_wEDChwoGEDBBAoWTCisAzkXYSiD-F--EqDr_wK7SeF9td5E8fGEwlwGAuwviN6jpQAbRt5sKQbC80WgN4GCLyLvfZmEidNy4j_T9f_iEyg8yuXmYxXaxKNkRvepDddefNbQGfFWPmFERm8iAAoDsfJFYBO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CPX9X-1_Xg5_UNwgplnxzDJ8Tr5vdUcvq-KJ46uYZ5LCnfgmb2Qu08VsOcvy2QTCPF3LzeaX_wIAAP__WeeWKw== # There should be no "by hash" routers if there is a single stream. query T @@ -607,7 +607,7 @@ vectorized: true table: data@data_pkey spans: [/10 - ] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkl-Pk1AQxd_9FJN5omE25U9N9D7duta1SZdWoOpGm-aWOyGNlItcMJqm390AMW41or6QzJk5h98wnNF-LlDg4v1mNV9G4LxcJmnyZjWBZLFa3KaQEWgC254cBS5kQiyj9NkEXFBfcucALugJvIrX96BVo-Dd60W8AAUfW88LGZ7DXbzebuDFQ5-DhKXRHKkTWxQf0EfCp7gjrGqTsbWm7uRzP7TUX1F4hMeyaptO3hFmpmYUZ2yOTcEoMDI3ppoGSKi5UceiH7sQmrb5abKNyhlFeKFHwf54cKoOBcesNNdT7yoeuzVl99hXn_gbEt6aoj2VVoAiONCPPZNKddrU926QMOZScy1A-q4Mh09IIANXzghkSCBn-Cdu_3-453lec64aU0_9a2wZkpwh4Tx62EfrdB9tVytHhpPfpFknJdt7R_p98-2dI4PJ1Q4desftjmAHV9h_uWPMtjKl5X86pHfZEbLOefhXrGnrjDe1yfrXDOW69_WCZtsM3XAoluXQ6gAfm_1RczBuDkbN3i_m3eXJ9wAAAP__csEQ0w== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkt9u00wQxe-_pxjNlSNvFP_JJ8FebWlDsZQ6xXaBCqpoa0-NVcdrdteUqsq7IzsUkkAD9cVKe2b2HP1m_IDmS40cZx_O50dRDM5JlGbp2_kI0tl8dpxBzqBgYLqVI8GFnPMozl6MwAX5tXSuwYViBK-TxRkU0kp4_2aWzEDCp87zQoKXcJosLs7h1eXggwwbVVAsV2SQf0QfGf6PVwxbrXIyRulefhiaouIbco9h1bSd7eUrhrnShPwBbWVrQo6xGqt2EiDDgqys6qFtzVB19tcjY2VJyMOtlOgEebBmW0H-4aBMXteUkCxIT7ydOOyxRX8s21u6R4bHqu5WjeEgGVyzR-60lb028b0xMkyoKUhzEL4rws1IGYjAFVMGImQgpvgUh7_H4T2H46gsNZXSKj3xdzFEyMQUGR7Fl8t4kS3ji_ncEeHoN2naS-nFmSP8ofju1BHBaIepR-k53AMYwR6Gv4Pxl70nZFrVGPqnxXt7SWN_fcWQipI2P5tRnc7pXKt86N1cF4PRIBRk7KYabi5R81gyVpNc_dzCtpN_0Cl4hlNw0Ml72mngvKnV3bIqkKP34xv_4Xj8sH8gS9MPO_2s7gbb7L7tR3Uja0MMz-QtnZAlvaqaytgqR251R-v1f98DAAD__4ZQUbo= query T EXPLAIN (DISTSQL) SELECT sum(a), sum(b), sum(c) FROM data GROUP BY d HAVING sum(a+b) > 10 @@ -628,7 +628,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlttv6kYQxt_7V6zmCXQW2bO2ufjJNIeTIhFIgVSNWhQZvCKoxKa-SI0i_vfKporBpDsgg8ULvvF5Zuf77Sd_QPT3Gmzo_f446PaHrPa9P5lOfh3U2aQ36N1NWZS81dw6z47z_46LOvsxHj0wz41ddj8ePT2yn5-Zx37p_tYf3u8k7Bub19mfia4bkqEOHPzAk0P3TUZg_wEIHARwMICDCRwsmHHYhMFCRlEQpn_5yAR97x-wdQ4rf5PE6e0Zh0UQSrA_IF7Fawk2TN35Wo6l68lQSwt5MnZX66xM2qGT_rxs_pLvwOEuWCdvfmQzl7M5ZwvOPOAw2bjpvYaGzPU9hiyIX2UIHMbS92RoMwe_OYIzBznLjgZnjgmzLYcgifPOothdSrBxy0_vvrtchnLpxkGoWYfNO-l1d_j8MhxNX4ZPg0HNseppt08PNUd8nhmfZ-bnGdYLzeX15u_s1Y1eC6UQZtt8AeJ_F5C_J_GD0JOh9A7elL1FsUTUjwoX14gnrtEqrjHv3zjHgB-rdSxDGWpYmP_ugc0cK-fYtu3vvbv-Q3cAHEZJbKc8O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VLJ8Eg5V0VKZrYGUq6Z1azZLddc1CNK9TCjDn1crhKppLJYqUH7Cx7x3cL4nuddXJ73r3oDoDBKEy8zkC8oYh-nTPc_D_cwakZbi9ulO38O45Zg-PFQsfrRZKdE02JNi79IOJlJPQdObb3XcLYqCzo5nOxNwmnUoSKcrdcJ5_Fw8_p54CflgTct8SJ54Cb1HJij_V7z0K4s6OQ88DfJg1GHijy0XycPx8Mt6udBnJQH0bScF8mDMKnnwByd95qHTmVBJ-dBvEkejDpU5KHzOnk4Hm6nfh6ck_LgNC33RfLgmNRzYI7ue81Dt7Kgk_PgvEkejDpU5KH7Onnomiy1xjLeRptY1lqq2KVXNVnWHxku5L6ZcZSqubxW0Ty_d384yoXyE6GMk_1Vtj_ob35cihMlg_XTWv5QiZWV2KESP1Jih0qumVK7WokZQjGGaBliMbdai5tydREtjYujLRTVLRQalkClnGoqoVE5qBQ3cZaLSrWqlVhZqfVcj7bMlDCPGkKhHjXEQj1qyoV5VONqoy3sIB7VsDrP9qhG1cUnP7sai2uB1ibSutZqG0ph3jLFQs1lCoa6y5gMs5dOps2nx53kiMF0MnxCxRymg-EzKnMQME1Lm1LrWqxjKIVZzBQLtZgpGGoxYzLMYjoZ_hViyGdI6GTa3FrbYjoYPrcyZHJ1NC1tcq1rsa6hFGYxUyzUYqZgqMWMyTCL6WT494gj3yOhkXH8P3vMYt1sufBlFX27W4bggf39r_mTnx9_kD0QLOJszTK5j77lutOHbbbi-BKsYknhKvgqL2Qi1Xq5WcbJcg5eolK52_3yXwAAAP__gnA_zw== query T EXPLAIN (DISTSQL) SELECT avg(a+b), c FROM data GROUP BY c, d HAVING c = d @@ -649,7 +649,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMl9tr4kAUxt_3rxjOk9KROJN4CxTidtuuYGPXy7JlERnNYGVtxk3isqX4vy-Jxet2jhqFvJRkkl_mO_N951DfIPw9BRtufzw26w2X5L40Ot3Ot2aedG6btzddIv6Mc4JckWGekhG5a7ceiCciQe7brd4j-fxERpR45Gv9e8O9JyNyTTyg4CtPuuJFhmD_BAYUOFAwgYIFFErQpzAL1EiGoQriV94SoOH9BbtIYeLP5lG83KcwUoEE-w2iSTSVYENXDKeyLYUnA6MIFDwZick02SZW5cR_BrNf8hUo3Kjp_MUPbSIoGdJEJ1DozES8VjAYEb5HGFHRswygv6Cg5tF65zASYwk2W9DD1d1NppEMZGCUtqUt123imOSaOPEZtKXvJSvsyuGUOCaN1z8SwY8RUR-PAzkWkQoMtnNETmxB3X0auK3uwO01mznHzMdn0nvIOSy-umn13O779faLPL8jb73j8JU8i_B5Zy8G_cW6BPPDEtbfmfsq8GQgva0vJV_RFVna23hXO1sVyd-vBo24THO_TCu_6Q43EGes85blqoKaGby48-b_9y5t7c0ObxyWpnEMVjD4Ca2D6Fu1TvmSrYOI2EwVy2jrsHO2TjkzrcMPjy9PFV9eMMwT4ovoW8W3csn4IiI2neUZjS8_Z3wrmYmveXh8zVTxNQuGdUJ8EX2r-FYvGV9ExKazZkbja54zvtXMxNc6PL5WqvhaBaN0QnwRfav41i4ZX0TEprNWRuNrnTO-tczEF_lF1JbhTPmhPOi_6mJctvTGcnlGoZoHI_kYqFGyzfK2lXDJgifDaPmULW8a_vJRLHATZlqY62G-C7NN2NyC2XFwNQ3MeCq6nIbmRT1tag_c0sOW3i3E65KWLuvhshau6OFKmqDoYSQoehgLCkIjQdHTWFCqaYJS08-EIjIUkJGCzZS9oXKM3QiN-I3QmOEYjjiO4JjlbG-0HOM5048WZiGu6YcLKyH43nQ5ynQ9jZmup1HTERwzXY-jpusnK2b63pDZdq2KuKafMqyG4Htz5ijT9TRmup5GTUdwzHQ9jpnO9RN21_T-4tO_AAAA___evPT2 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMl19v4jgUxd_3U1j3qWiMgp2EP5FGott2ZpEodIGudrSqkEs8FA1N2CTsbFXx3UcJHZrE49sYVCk8oGDCye9en3ORny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0fRwocr6-m1eoqWMl0rW0zlwrUwi5lyoRYzBUMtZkqGWkwh4_gfEmaxXnpc-LoOv89XPnjQenk1f_H28wXpD8QyTs8s04fwe6Y7e9qkJ46vYh1LCtfim7yUiYweV8EqTlYL8JJoK3e7334EAAD__9b4NA0= query T EXPLAIN (DISTSQL) SELECT sum(a+b), sum(a+b) FILTER (WHERE a < d), sum(a+b) FILTER (WHERE a = c) FROM data GROUP BY d @@ -667,7 +667,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlm9r4koUxt_fT3E4r5SOxJmJtg0U0ttr7wpWu9GyW3aljMlgy9qMmz-wpfjdl0S2RtudsYxS38g45pdznvM8HHzG9OcMPex8ve6dd_tQ-687HA0_9-ow7PQ6FyNI88eagCOY1EnlDJfd3qgTQO3Lp07QAQHf82aThxDpnzqDsA6XweAKIpEJ-D8Y3FzDv7cQIcFYRbIvHmWK3jekSJAhQY4EXSTYwjHBeaJCmaYqKR55LoFu9Au9JsGHeJ5nxfWYYKgSid4zZg_ZTKKHIzGZyUCKSCZOEwlGMhMPs7JM0YVffNzNf8gnJHihZvljnHogCEwIhKRsbTgXxV3DoSDiCCio7F4mSDCQcSQTD3x65DMCPl2OwXeL85nPCfgujhcEVZ6tGkwzMZXo0QXZXsT5dJrIqchU4rTWNfjFfM77t3f9weiuf9Pr1Xy3XjR9c1XzaeX0xw2fvXHHN9pcVZ48wb1I7zeKUhwvVlLYX6Ws3pPHKolkIqO1N5Vv0YilzVeFN9WuNLKXE385lbMY5JkHPiM-JxpD-G5V9FVDzR3a2njy7druWm26faKpTaId2nDY_jJtkFGxuX3omaa7zDT9qEyz7XPFrHLFGg7fX64MMiqjPj70XLFd5op9VK749rniVrniDcfdX64MMiqjPjn0XPFd5op_VK7c7XPlWuXKbTit_eXKIKMy6tNDz5W7y1y5h_Df7o0eA5nOVZzKrf65NQuVMprK5UhSlSehvE5UWJZZfh2UXHkRyTRb_kq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kvHUdSrF7ekPJKpKhE8kp0T4nklVw7pXa1ErE01TVIWboihoDU0hZxDVolX9RYQVYtxUq2mBmGtgUN3CjlViuRopJ7LFdtOyUTV5amTFxZujJyZWnLyFXJV_torkq2zo1SnWoYaFGpcywM53ZKJhgsTZlgsHRlhMHSlhGGkq_u0TCUbJGfHDmGM4eVtI4-dDqWUiYgbG2ZiLD1ZUTC1piRibKz40-esrGfHD28Ggpe0iqdPYdC0bWUMkFha8sEha0vIxS2xoxQlJ2VjqCDoeDpLfXrUn2_WwTgQevHp_nK1_MH0gfEXKdX5cmD-p7pTh_X6UX3q1hqieFKfJOXMpbRahEudLyYgRdHidxsfvk_AAD__-eW9sA= # Same query but restricted to a single range; no local aggregation stage. query T @@ -686,7 +686,7 @@ vectorized: true table: data@data_pkey spans: [/1 - /1] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUklGLm0AQx9_7KYZ5Srg54mqehIO9Xr024JnUGNqjDWHjDhJqXOuu0BLy3YtKuaS0tn2Rmf_Mf_yN4wnt1xJDjD6u4vtFApM3i3W2fh9PYR3F0UMGtj1OFNzAfkoXMTwu4ixKYfLhXZRGoOBz63lBDnq86w7yKTymyyfQyil4kQW8TZebFbx-Bo2EldGcqCNbDD-hQEIft4R1Y3K21jSdfOqbFvobhh7hoapb18lbwtw0jOEJ3cGVjCEm5tbUMx8JNTt1KPu2M6Fp3YvJOlUwhsGZLgaL8cGZ2pecstLczLyr8ditJ7vHrv7C35HwwZTtsbIhKII9QU79nutaddpM3PZ8KVeamxCkuJE-gRTDV5XzLr6TAYGc45_Qxf-g3xdFw4VyppmJa3I5R8L75HmXLLNdsonjiZxPO9TN00SKi-jncaX_Gy1AwmXrQpA-yYBGsP0r7L-cMmVbm8ryP93SO28JWRc8_C7WtE3Oq8bk_WuGdNn7ekGzdUM1GJJFNZQ6wEuzGDX742Z_1Oz9Yt6eX_0IAAD__8yYGwM= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUktFP2z4Qx99_f8XpnlrhqnHSJ0tI5gdhixRSlgZtaEOVSY4sIo0z2xFDqP_7lHSMtoJu5ME6f33-nj93eUL7o0aB4ZfL-CRKYHQWLbLFp3gMizAOTzOw3Wqk4Ahux2wrhvMozsIURp8_hmkICr51nhfkUBzOOoZ8DOfp_AIK5RS8yBw-pPOrS_j_Ggpk2OiCErUii-IrcmTo4w3D1uicrNWml5-GpKj4icJjWDVt53r5hmGuDaF4Qle5mlBgoie6nfrIsCCnqnpIWzPUnXu5ZJ0qCUWwVSU6Q-Gv2VYhfrhQpm5rSkkVZKbeTjnscWW_LNt7ekSGp7ruVo0VoBjcMsjZwL1oVa9N-WR4b0pNQUaA5EfSZyD5psty1sfHMmAgZ_gWCt9D8d6DclKWhkrltJnyXRI5Q4YnyfUymWfL5CqOR3I27p9-dTGSfCt6Hr70X9ECZDjvnADpMxmwAxj-HgbfwfjL6FOyrW4s_dPsvb1KE76-YUhFSZv_zerO5HRpdD7kbrbzwWgQCrJucxpsNlHzfGSdIbX6M4VtJ37QyX-Hk3_QyXvbaeC8q_XDsipQoPf7m7yyPH_YX1Cl7Zu9-K4fBtvsse1bdadqSwwv1D2dkSOzqprKuipH4UxH6_V_vwIAAP__V1lb6g== # Verify the XOR execution plan query T @@ -704,7 +704,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyslF1v2jAUhu_3K6xzVSSj4CRQ6quyjlVIrHTARacJIQ8fpWg0zmxHYkL89ynJpgbUOhnJDSIfb543z4nOAcyvHXAYPz1OR5MHcvVpslguvk47ZDGeju-WZK_0WkTRlVXrZ9xfiQ7nH78tx4sO-TyffSFSWAEUYiXxQbygAf4dGFDwgUIAFEKg0IcVhUSrDRqjdHbLIQ9M5B54j8I2TlKbnV5R2CiNwA9gt3aHwGEpfuxwjkKi9npAQaIV212OydC32c86-Ym_gcKd2qUvseEka7RIRPa36zEiYkkYUfYZNVCYYyxRc_L3hW7ZvzeC1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qenTqPqXyZJgIY-B-H-8Vpe4D9gcfazt_Rk3xZy47fFnb2PfJUI4Eb_oyXaFDNkyzRJpkBM2qJq9V_fwIAAP__PkeppQ== # Verify the XOR execution plan query T @@ -720,7 +720,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyslF1r2zAUhu_3K8S5SkDGlu2kqa8auqwEsqZLclEYJmjRwQtzLU-SoSPkvw_bF3VCK3v2bkL88fp5eY44J9C_U4hg8fy0mi8fyejzcrvbfluNyXaxWtzvyKtUe54kIz4mXzbrr0Rww4FCJgU-8hfUEH0HBhR8oBAAhRAoTCCmkCt5QK2lKl85VYGleIXIo3DM8sKUt2MKB6kQohOYo0kRItjxHylukAtUrgcUBBp-TCtMib4rf_b5L_wDFO5lWrxkOiJlo23Oy7-OywjPBGFEmp-oID5TkIV5A2rDE4SInWn3UvMkUZhwI5U7uez0vN7s5w8Pozs2_hDlf4h6IxSZVAIViovPx2d7Geb9e5vgog3rPg3WYxouc1y_xzxaajUUTIfOw-9uwO9jwHfcoIeBlloNAzdDDQTdDQR9DASOG_Yw0FKrYWA21EDY3UDYx0DouJMeBlpqNQzc_s-t9A5qgzqXmcar7fT-l71ya6FIsF5xWhbqgE9KHipMfbmuctUNgdrUT1l9sczqR2XBZphZw_5FmF2HfTu5BR1Y06E9HA7pPbGGp3bydAj5xhqe2cmzIeRb-6y8lmNiP2TX7Pj86W8AAAD__2uU718= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyklVtvokAYhu_3V5DvqiZDYDh44Kqmuo2JrV31osnGmFn5SkmRYWeGtI3xv2_A7RbYQgS5IOX0vk-fOXgA-TsCD6aPD_Px7F67msxW69WPeU9bTefTm7X2xsWWBcEV62nfl4s7zWeKAYGY-3jP9ijB-wkUCFhAwAYCDhBwYUMgEXyHUnKRvXLIP5j5b-CZBMI4SVV2e0NgxwWCdwAVqgjBgzX7FeESmY_CMIGAj4qFUV6TVV9np23ygu9A4IZH6T6WnpYRrRKW_akbVGOxr1GNq2cUsDkS4Kn6LJSKBQgeLRDOJuCZR3I-5DgIBAZMcWG4ZcbHxXI7vr29uqa92mqrUu3WVn82pjEXPgr0S3WbYzMcNdvT2RU6WjZDzx8-2mH4DKobVqcBpG0wC476lw9gv1RtnW_I6mLI0g27kyGrDWbB0OByQ4NStX2-IbuLIVs3nE6G7DaYBUPDyw0NS9XO-YacLoYc3XA7GXLaYBYMjS43NGqzQy9RJjyWWNkuv24yK006zfZV9AM8bcKSp2KHD4Lv8ndPl4s8KL_ho1Snp_R0MYs_HkklkO3__cAUk2hjklVKosUkt5pkNTO1gbIbo5z6JFpNcrr-e_1qktuY1K9nsqpJ_a5Mg2rSoDFpWM9kV5OGXZmG1aRR8zQw66Gc_-Zm8zRvoBplS-cp4q_b0AcPzL-H_sXp44DsAxbIbP2unvlrHrt-T7LV98QiiQTu2AtOUKHYh3EoVbgDT4kUj8dvfwIAAP__xJt6rA== query T EXPLAIN (DISTSQL) SELECT max(t.a), min(t.b), avg(t.c) FROM (VALUES (1, 2, 3), (4, 5, 6), (7, 8, 0)) AS t(a, b, c) WHERE b > 3 @@ -738,7 +738,7 @@ vectorized: true └── • values size: 3 columns, 3 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkV-r00wQh-_fTzHM1S4Mbf68atmrRs3RQNtzbGo9oLnYJkMMptm6u5EDpd9d0oBaocVzN_ObPPNkkiO67y0qTB8fFkm2AvE2yzf5h4WEPF2kbzaw10_CT7Qk2Ded8JOdJNA_auEnpYS79f0SxDZZfExzECFBRBBLAvE_wQuCl0P5imBGEEgJSQ4ehCbYEZQSPr1P1yns4EsfBDFDjISdqXil9-xQfcYQC8KDNSU7Z-wQHc8PZNUTqoCw6Q69H-KCsDSWUR3RN75lVLjVbc9uGiBhxV437bhxBq9BxFB-7btvTmJxIjS9_73GeV0zquBE_666a1rPlu00vJSNuYJ59OtCpVS22syuesPneJO6tlxrb-w0ujQvk0cxDyUSLrOVmEdDlWzfiXl8_eToOeo1u4PpHF9or3_MgpCrmsc_6ExvS36wpjxrxvb-zJ2Dip0fp-HYZN04Gl7wTzi8CUe34egmHP8FF6f_fgYAAP__w4r5VQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkl9v2jwUh-_fT3F0rhzJhfx5tyFfkY10iwS0I4xV2tBkktM0aoiZ7aydEN99SrKygQZqfRHZx85znvziLZrvJQqMbq7HYTwFNoqTefJx7EASjaN3c1jLR2Z70uGwLipmeyuHg_yRM9tLHbicXU2ALcLxpygB5nHwOQQOB_Y_h1ccXjfTNxwGHFzHgTABC0xyWHFIHfj8IZpFsIKvtesGBAFyrFRGU7kmg-ILerjkuNEqJWOUbkrb9kCcPaJwORbVprZNeckxVZpQbNEWtiQUuJBlTabvIseMrCzKjjiAt8ACSO_q6t44uNxxVLX9gzFW5tTC933jEQp3x5_f-rIoLWnSfe-weVcXMPT3XyyEiKfzwUkP78jDe4lHmOeacmmV7vuHJpPwhg09BzlO4ikb-s0sXLxnw-B0JP6Riv8SlRmZjaoMHWg8N_wLb7fkSFlO3RUwqtYpXWuVtme75VULagsZGdvtet0irp62jNUk1_s_-jfJO0vyT5O8Y5J_lhScc1pyvC3Vw7ciQ4Hu73Hxj8fTwOYFmZsm7OROPbTY-c9NE9WtLA1xnMh7GpElvS6qwtgiRWF1Tbvdf78CAAD__7kQOks= query T EXPLAIN (DISTSQL) SELECT * FROM (VALUES (1, '222'), (2, '444')) t1(a,b) JOIN (VALUES (1, 100.0), (3, 32.0)) t2(a,b) ON t1.a = t2.a @@ -756,7 +756,7 @@ vectorized: true └── • values size: 2 columns, 2 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykkFGL00AQgN_9FcO8NJGht7sNPgQOUrVij9icl_MQJA9rMrbBmK27GxBK_rskUe5arFJ8252Zb76ZOaD73mCMq4-36XK9geD1Or_P36ch5Kt09eoensObu-wdBA_L9MMqh0ASzJRSs5AgUASzKIpmYQjLHLyEQBN8DuEmGzo9IaQQczEQC4KFmotfgPoNZBvwcq7hGryaayRsTcUb_Y0dxp9QYkG4t6Zk54wdQoexYF39wFgQ1u2-80O4ICyNZYwP6GvfMMb4oJuO3ZVAwoq9rpupYwQvIVBQ7rr2qwux6AlN5x_bOK-3jLHo6WKVPFG9-F_Vo6Frja3YcnWkKAbyXyV_mPetdrsbU7dsr9TxzA1_8UEiw2tbb3fjCwmzzseQSEoUJQtKorObyEuOdsdub1rHpxuduVFByNWWp7M409mSb60pR830zUZuDFTs_JRV02fdjqlxwKewvABWp7D6K7w4gkVf9M9-BgAA___I6BDw +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckl9r2zwUxu_fT3E4N7Ff1NRSwi4MBWdLxlzSuKuzMhhmaPZJYupYmSTTjZDvPmT3TxLabZkujHV0nt-j86Atmu8Vhjj5fD0dxTPwxnE6Tz9OfUgn08m7OfwP72-SK_BuR9NPkxQ8zqAnhOj5DDzBoDccDnu-D6MULAdPMvjmw2XiSHsKHgT9wCkGDAaiHzwIxKMgmYHlfQkXYEVfIsNaFTSTazIYfkGOGcONVjkZo7QrbduGuPiBYcCwrDeNdeWMYa40YbhFW9qKMMRbWTVkzgNkWJCVZdURh_AWPAH5qqnvjI_ZjqFq7DPGWLmkFv7kG48xDHbsZGt-ZP3m36z5q9bPjk2tdEGaigPLzCn_1PLC_T9Is7pUZU36XBzOUNHCehH3L3S5XLV_yDBpbAgRZ5Fg0YBFw1cn40eTiVNCvSGzUbWh4wn_KsMz7uakYkldbkY1OqdrrfK2t9smLagtFGRsdyq6TVy3R9w5aJLrpzexT-InkMQ-iR-TxG9JgwNScHinjOGiUvdfywJDDB7W2Qufx4VOIJfGhZ2u1H2Lnf_cuKgWsjLE8Ere0Zgs6XVZl8aWOYZWN7Tb_fcrAAD__-UnUdc= statement ok CREATE TABLE nullables (a INT, b INT, c INT, PRIMARY KEY (a)) @@ -777,7 +777,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlVGL2k4Uxd__n2K4Twn_sXGSuOsOFJKucRtwdRuFdikiY2ZIpdmMnYzQRfzuJcZ1q9REzIsv4r3X4zn53SGzhvxXChSCb08DPxwioxeOJ-MvAxONg0FwP0FMKfY6Y0liMBP1o9EjMt4mZcmZZujr5yAKkGHM0UdETOQPe8iIi-8f2uau5LsSjaJeEKFPz4iZgCGTXAzZi8iBfgcCGGzA4AAGFzB0YIphqWQs8lyq4ifrrSDkv4G2MSyy5UoX7SmGWCoBdA16oVMBFCZsnopIMC6U1QYMXGi2SLc2RWSv-Jgtf4pXwHAv09VLllPEMJpjFGPEAcN4yYpeyyKIZRwRJPUPoWC6wSBX-t051ywRQMkGn5-uv0i1UEJZncNoZZ8iw_DsAhilNBxOujuGnlNCpJT2ByN_0n2D67n7QS-4Dx_9QcF2tNIUeeRkYvtk4vegUnGhBD9M6ZH_Ybr5x2P5SaJEwrRUFjmC7keR_zzzHx4Mj5gnIzkHkcj5KyZNVmyRlmVfsOSafPsl31zNku3zidqNiNoty7mAaE2-PdHbqyHqnE_UaUTUaVnuBURr8u2Jdq-GqHs-UbcRUbdldS4gWpNvT_TuaojWXEaRyJcyy8VB3lP_3C7e-4InorwncrlSsXhSMt7alOVoq9s2uMh1OSVlEWblqAj4t5hUiu0DMTkW29XONdZOpdqtFrtNcncqxTfVzjdNnG8rxd1q524T57vqXbVrjkn1ITv2nm7--xMAAP__go1aHQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMldtu4joUhu_3U1jrKmibHZyEk6UtkSm0g0ShE5BmqhFCLllNowbC2EadquLdR-HUJtNEHG7IRYTt5Pe3PlbkN1C_IuDQ-XHXc7t9YrS7w9HwW69Ehp1e52pEhJTidSKCwBAlcu0NbomxW9kMfaEF-f6143WIYTyQ_wkrEbffJsY0-f1fpbQd-tshGXjtjke-3BNRAgrz2Me-mKEC_hMYULCAgg0UHKBQhTGFhYynqFQsk0fe1i90_d_AKxTC-WKpk-kxhWksEfgb6FBHCBxG4iFCD4WP0qwABR-1CKP1NglyK7lNFs_4ChSu4mg5mytOBCUPlEwp8YHCcCGSubLJiJj7hJFYP6GE8YpCvNTvOystAgTOPqB228ArK3o47XUYaZQozWoadTPPiWG0rEQg57zbHzW2Tlv2Rirn_Lo3cEeNneyWs19od666t24vcT1Yak5aLLcCK1NBNbeCd_BY-ijRT1O32L8wXn1SphsEEgOhY2myzJ_iep57P3FvbowWK-Ui2hlElrbMDu8Jdk5PmKxsWid1BTuGd98VtQvqilqqAutw49ZZxq2yaZ9k3DqGd2-8fkHG66kK7MON22cZt8umc5Jx-xjevfHGBRlvpCpwDjfunGXcKZvVk4w7x_DujTcvyHjzmNPSQ7WI5wpT_Hk7VTI7lVlyMqEf4OYkU_FSTvFOxtP1s5vhYB20nvBR6c0q2wy6892S0hLFbH_Yf0xihUlWKol9TKpmk6xipmOg7MIoJz-JZZOcU8urZZOqhUm1fCYrm1Q7lameTaoXJjXymexsUuNUpkY2qVncBpV8KOev3ixu8wKqZvLpPEbxyyT0gUNle5U_ue0uSF4QgUq-3-FT_LKOHb0ukq_vUUQKKdyKZ2yjRjkL56HS4RS4lktcrf75EwAA__8-eeVb query T EXPLAIN (DISTSQL) SELECT json_agg(a) FROM (SELECT a FROM data WHERE b = 1 AND c = 1.0 AND d = 1.0 ORDER BY a) @@ -795,7 +795,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlVGPmkAUhd_7Kyb3CdKxOIC77iRNoCu7pXFliyZt05jNyEyoLcvYYUzaGP97g1i3mgpGXnwx3ns9nsN3J8wKip8ZUAg-Pw79cISMQTiejD8OTTQOhsHtBH0vZP7E0tRgJrqLowdkbAesKjnTDH16H8QBMowZeouIifzRABlJ-f1N19yWfFuiKB4EMXr3BTETMOSSixF7FgXQr0AAgw0YHMDgAoYeTDEslExEUUhV_mS1EYT8F9Auhnm-WOqyPcWQSC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U9QuqClqqQqcw407Zxl3yrZ7knHnGN698foFGa-nKnAPN-6eZdwt295Jxt1jePfGGxdkvJGqwDvcuHeWca9sV08y7h3DuzfevCDjzWMOyxHqpYw1pvjzdqpkdiqz5GBCP8DtQablSs3xTsn55tntcLgJ2kz4qM12lW0HvfhtSRuFYrE_6z8mscIkJ5XEPiZVs0lOMdMxUG5hlJefxLJJ3qnl1bJJ1cKkWj6Tk02qncpUzybVC5Ma-UxuNqlxKlMjm9QsboNKPpT3S28Wt3kBVTP5dB4i-TwLfeBQ2V3lT25vFyQviEAn3-_4UT5vYicvy-TrexCRRgq34gk7aFAtwjjUJpwDN2qF6_VvPwMAAP__0PjksQ== # Test that orderings on GROUP BY columns are propagated through aggregations. statement ok @@ -840,7 +840,7 @@ vectorized: true table: sorted_data@foo spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkcFrq0AQxu_vr1jmpLAhangXT_ry0iIYTdVAQpGwcacSMK7dXSEQ_N-LemhSiG2P38z8Zr799grqvQIXVrtN6AcRMf4HaZa-hCZJV-FqmRFGyZldjKNJnpJ4TZSQGvmBM83IcxJvN-TfnjCgUAuOETujAvcVbKDwF3IKjRQFKiVkX74OQwG_gGtRONVNq_tyTqEQEsG9gj7pCsGFSMxEM3eAAkfNTtUw1lEQrf6ElGYlgrvo6M1ie3pxxo4VJsg4yrl1tx5uXua9CQEUlqJqz7Vy-wyOQCFtWK9m8MiK_RsrfllKLJkWcm7fO_F67Uf7QxRnh2gbhoZnm0Bh7e8MzzEfnnfuzn8TcYKqEbXCH2VsdTkF5CWO36hEKwvcSFEMZ0YZD9xQ4Kj02F2MIqjHVm_wFrYnYWcadiZh6wucd38-AgAA___wvPC6 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUtGOmkAUfe9XkPOkyRiBTV_mSbvahgTRCpvspjFmZK6UFBg6M2S3Mfx7A3ZbNdV254Hk3LlzzrnncoD5XoBj_rgKp0HkDGZBnMSfw6ETz8P5feII5pTiZbAbOh_Xy4VjlLYkt1JY4XxaLx9WzocnR4ChUpIiUZIB_wIPDO-xYai1SskYpbvyoW8K5Au4y5BXdWO78oYhVZrAD7C5LQgckRqpeuyDQZIVedG3tQyqsX8eGSsyAr87UQlm4H7LToS820KJ2BW0JiFJj90zOZxMOtkrBYZ7VTRlZXiXyQ4McS06NMI1a96FNfct1qZZpikTVumxd-5s0uFp9LSNlsk2egjDwcQbgmExfRxM_OFVO_6FHe_Mzj9WsiZTq8rQf-3EvVAaee2GgWRGx__AqEantNIq7XuPcNkT9QVJxh5v744gqF6vjNUkyt9pnjJ5N5n8NzD5N5nc60z9nPtCPW9zCQ731xn95fN60D0QmenCjr-q5542-VF3Ue1FYYhhIb7RjCzpMq9yY_MU3OqG2vbdzwAAAP__rtMxsA== query T EXPLAIN (DISTSQL) SELECT a, max(b) FROM sorted_data GROUP BY a ORDER BY a @@ -857,7 +857,7 @@ vectorized: true table: sorted_data@sorted_data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlk9v2jAYxu_7FNZ7As0oOH9omxOsZRMSTbpApVYTQoZYtBqNMztIrSq--5TkQGhXO8Vh4kaAn_3Yv0ev8gryzxp8GN7djAejALWuRpPp5Oe4jSbD8fByiihGT_S5tWij71F4jSQXGYvnMc0o-hGFtzfo2z2iKIyuhlHxETAkPGYBfWIS_F9AAIMNGBzA4AIGD2YYUsGXTEou8r-8FsAofga_i-ExSTdZ_vUMw5ILBv4rZI_ZmoEPU7pYs4jRmAmrCxhiltHHdbFNJVe_8nme_mYvgOGSrzdPifTz4ywAwySl-VPHIogmMSKIZw9MwGyLgW-yXQKZ0RUDn2xx_ZSD1UqwFc24sLz9kP38MkIRM8FiHxVPg-B-HoTTeXA7Hrf6pA0Yrgd3rb7dfhNmt_7iBT1Q-fBu6dl2F9j-MPBuHV4GebvO13IhxalIt7lj7SI7jUcOeIenFtmX8NH27t72pH4RSRNFtEjHsg-ooiZnRVrvNKpI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MtppuNVJfYqHQeNqbegxxnibO_P6Z3P5uG9x-EgDAr_8CgXx6v4OOhuPy5x4VOy-XeOjybheBKOJplnSTia5KglVdOTsCJUQxKlSIUlBU1FLOxIshJcpnQFrfQoK4FlyWWoKthgS6Oc9CQcT3LyelVVS5J5pQgl80qRSuqVIpbUqwRXNbdXCayaNKqeLoMZT6rnlaGmliSTQRFKJoMilVQGRSypDAmuRm4ZElj4ky1HsudYiazcm05dMUomhCqWzAhVLqkSqmBSJ5Jk-XeeJNgnW4-dLoWdyErsPVmlaChGyaRQxZJJocollUIVTCpFkiyxBWWWwg5OqU9r9jJdeeBC5e9H_8_XxweCB8iCB0fl0ZK9hLnjt11w0H0ia04R3JJn2qaC-pvVdsXFag6u8Pf0cPjyJwAA__9xGqLA query T EXPLAIN (DISTSQL) SELECT c, min(b), a FROM sorted_data GROUP BY a, c @@ -874,7 +874,7 @@ vectorized: true table: sorted_data@sorted_data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlk9v2kAQxe_9FKs5gbrIrP-QxCfSNK2QiEmBSI0qhBa8IqjES-211Cjiu1e2D5g_3XFYH3zDXn47b-Y9jfwOyZ8N-HD_83F4OwhI6-tgMp38GLbJ5H54fzclS0pe11Fr0aaEk2_j0QNJZKxEOA-54uT7ePT0SL48E07JEihEMhQBfxUJ-L-AAQUbKDhAwQUKHswobGO5FEki4-wv7zkwCP-C36Wwjrapyl7PKCxlLMB_B7VWGwE-TPliI8aChyK2ukAhFIqvN3mZkp5-6fd8-1u8AYU7uUlfo8TPJC4KlZMtz150LEZ4FBJGpHoRMcx2FGSq9iISxVcCfLaj1YXerlaxWHElY8s71NnP5jGKQxGL0Cf5023wPA9G03nwNBy2-qwNFB4GQatvt08OnfaRvn3JxRt54cnLSbXZbt-D_d8e9vfIQtvxPZ-LizSNsm7NnVIYpconfYf2bZp3ct4Zp0JXaXSur7MtBbIjtxbzjv55vrZ7UJtVjy-rKb4W61j2BQFGpJZ87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Wss7RQU91_qDB1g0Ka6rDOqcp1jk63wczJo48FKzUFrKTacogcacwf8sunSj4Kdqwl4hvkmcvp9MkKLngMyEvd8nlZBR-3BIyYvTw8_MmnUSySSSdZN0kkXSSq5fULU4imlADRZQmFVEUaGliEVeRleOylCNoF0fZOSxbLUNXwwZHGeUWJ5FsklvVq65eksorTSiVV5pUSq80sZRe5bi6lb3KYfWUUf1iGaxsUr-qDD29JJUMmlAqGTSplDJoYillyHENKsuQwyKfLDmKNcfOZVVedPqaUSohdLFURuhyKZXQBVM6kServvLkwT5ZepxiKZxcVm7tKSvFQDNKJYUulkoKXS6lFLpgSinyZLklqLQUTrxL_b7nr6vABw86_x_GnZ-PA-IX6FbEW-X5jr8muYu3Y7zR_U73gmF4pj_YI5MsOgRhIGSwAU9GJ3Y-__JfAAAA___Ki-lK query T EXPLAIN (DISTSQL) SELECT c, min(b), a FROM sorted_data GROUP BY a, c ORDER BY a @@ -891,7 +891,7 @@ vectorized: true table: sorted_data@sorted_data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMllFv2j4Uxd__n8K6T6C_UXASaJsnupZNSDTpgEqrJoRMYlE0GjPbSKsQ331K8kCA1qY4E7xhm5997j1HV1mD_L2AALo_Hvu3vRDV7nvD0fB7v46G3X73boRijF7naW1ax4iir4PoAUkuFEsmCVUUfRtET4_oyzOiGMUoGtx3B_kKMKQ8YSF9ZRKCn0AAgwsYPMDgA4YWjDEsBY-ZlFxkf1nnQC_5A0ETwzxdrlS2PcYQc8EgWIOaqwWDAEZ0umADRhMmnCZgSJii80X-TElap_R7svzF3gDDHV-sXlMZZGqnGMWAYbik2UbDIYimCSKIqxcmYLzBwFdqK0IqOmMQkA0-XujtbCbYjCounNauzk7Wj0gkTLAkQPnqNnyehNFoEj71-7UOqQOGh15Y67j1g0Ovvqdv--T0Db1Q-XLw2nizrcH9sIbtPbzQtn_P_8VFmkJJ859Wuq3Cq7yKkDf40iF7VkUrFaCOhzsuzvv4vhp_Rw05PsCkogA7pOG4J0TYILXkbPtiI0wqjjA5S4Td40PjVhUat-F4J4TGILXUy6uLDY1bcWjcs4TGOz40XlWh8RqOf0JoDFJLvby-2NB4FYfGO0to_OND41cVGr_htE4IjUFqqZc3Fxsav-LQ-Gf_wnpH4IDJJU8l29H20c3NrESWzFjREslXImaPgsf5M8Uyyrl8I2FSFaekWPTS4igTWIbJPkzKsLsDk8_BbRv4xgYmVrpJS0-72n57etjTm9XWu-Vr6ZYebtlYrYcNVuthg9V62GS1gTZY3bax-koLX-vNurYxSw8bzNLDBrP0sMksA20w68bGLGKYoqYxajdH7Qap3SS1HKV2s5RYDVNimKa-wbSDcfop0_S0yTQ9bTJNTxtNM-Am0w6Gqta08ea_vwEAAP__cHDOgw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMl12P4jYUhu_7K6xzBaqj4HzwkSumC62QGJgCK3VVIWQSL0QLMY2NtqMR_71K6JaQTDw4SgVcjCYJef2c48eyeQPx1w48GP7xMn4aTVBjMJov5r-Pm2g-HA8_LZCP0T6MGusmRhT9Ops-I8FjyYJVQCVFv82mn1_QL18QxchH09lgOEuvAEPEAzaheybA-xMIYLAAgw0YHMDgwhLDIeY-E4LHyVfe0hdGwd_gtTCE0eEok9tLDD6PGXhvIEO5Y-DBgq53bMZowGKzBRgCJmm4S4fJoPUz_68O39grYPjEd8d9JLyEdo2RDxjmB5rcMEyCaBQggrjcshiWJwz8KC8QQtINA49kqEcD8FonfDv402YTsw2VPDbda-5-0p9pHLCYBR5Kr54mX1aT6WI1-TweN_qkCRieR5NG32oWHtrNHO9lyPUr2lKxLYy2PF1qsnI1uaU1XXL5mTWf-_M5WFE4af2vlV-qsnNVkfKpqlrWhBv8YJLcXE6P0kN9G_ctnDb6fTwnj3fddXL7EiA1LQGTGKZVaREQHfSMC-0HXgTt0prqWATkXovgeqqs2y2z6rLMMky7kmWWDnqm2Z0HtqxTWlMdlln3sux6quzbLbPrssw2TKeSZbYOeqbZ3Qe2rFtaUx2W2fey7HqqnNstc-qyzDFMt5Jljg56ptm9B7asV1pTHZY597LM0Tnhz5g48EiwK9iyoVq5oQySNIEFG3ZumuDH2GcvMffT754vp2lQeiNgQp6fkvPFKPrxSMiY0f1_P1CySSSfRLJJ1lUSySa5eknt8iSiCdVTRGlSEUWBliYWcRVZBS5LOYN2eZRdwLLVMrQ1bHCUUW55EsknuVW9auslqbzShFJ5pUml9EoTS-lVgatd2asCVkcZ1S2XwcondavK0NFLUsmgCaWSQZNKKYMmllKGAlevsgwFLPLBlqPYc-xCVuVNp6sZpRJCF0tlhC6XUgldMKUTRbLqO08R7IOtxymXwilkFfaeW6XoaUappNDFUkmhy6WUQhdMKUWRrLAF3SyFk5xSv-7491UYgAetfz_GO39-fCB5gW5EclSeb_n3NHfxekgOul_pTjAMz_QbGzDJ4n0YhUKGPngyPrLT6ad_AgAA__-qt90z query T EXPLAIN (DISTSQL) SELECT b, max(c) FROM sorted_data@foo GROUP BY b @@ -911,7 +911,7 @@ vectorized: true table: sorted_data@foo spans: FULL SCAN · -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 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUklFv2jAQx9_3Kax7Asmocehe_AQrbGKChEEqtZpQZOIji5rEme2orVC--5TQbiFa2PBDlDuf__-fz3cE8zMFDvOH9XK68MhgttgG22_LIdnOl_O7gOwpycTLIBqSzxt_RYzSFmUohRWTg1Lky8a_X5NPj2QPFHIl0RMZGuDfgQGFj7CjUGgVoTFK1-ljU7SQL8AdCklelLZO7yhESiPwI9jEpggcPDVSxc0YKEi0IkmbsoqCKu2fQ8aKGIHftlwWM-DjiraM2GWjQOxT3KCQqG-cMzvo3BYo3Km0zHLDiaDNlbeFqKMRUPBLy8mEQR8k60A610B-VUn-xsj6GVv_YfGEr23gPSVRL5vbYWPXsE3jWGMsrNI37jnbpGb1tUSNsukNhan3GHp-EHr3y-VgwoZAYTV9GEzcYS_cuAPnnsH9Y4w2aAqVG_yvOXI6TiNW7SigjPE0u0aVOsK1VlFTewr9RqhJSDT2tHt7Chb5-5axGkX2-93bSuyiknuFkntRadyvxLpK44tKTr-SW3fskKrnMJHAwXlbo7983hfUB0Rs6mfb_lDPjWzwWtRNP4jUIIWVeMIZWtRZkifGJhFwq0usqg-_AgAA__8_F4be 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 @@ -945,7 +945,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_D7of3kmv3wjXp187idrvTFTStbL4BzjvEh54KZ10neJRz6SKVAIpC9cby0isP8EBhQ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YhrG4q2cJ01xdgoVyCZJl61G2MEN1CFTHDMWJ8eA4hiyPGFuo8zRLEO1yvTzLJuVx9CgPdd4hUcIxENElUZ6exPMkr6rSqFM0iVLaMBSptGEsUmnTXJTSKFe7stK2GYpSumuGIpVGk1YBi1IadZ5mkUq386xOZaVR57v00trSi4hmB46W6bImogILUJSKprFIF02DkTIaJ6NsxMno1ZrSES1lBSzCRwdvIgp2EZSQaMopglFG4vYXbAYpJdFOgqMlu7STuP30ks2JdRb5zdGaXVZKXCKNoqQ0jUVKaRqMlNI4GSUlToa2OaWlxDt7mkVJiRajAhYpJZ55CmCUlLj9NIyUEu0FONrulJYStx8t4FkpO3opseBoAS8rJS6RRlFSmsYipTQNRkppnIySEidDe57SUuIFiWZRUuL1iGaRUuKZpwBGSYnbT8MoKT38bEu_zRHE6xwbw9AanoUJAoZmRWHykkJkWGhSLGB19CwHzYkFrNzAyMLQ6C-CeXqYi9_qGL2oyMA83P7qbyq89S2D-5n6cTcNwYfW80_jlV8vP5BeEExi8J_g-kH92HBvHpcyBv8-mMWSwUXwXZ7KREbz6WIaJ9Mx-Em0kuv1__4JAAD__wZLInU= # Verify that the stages preserve the ordering as expected. query T @@ -965,7 +965,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMllFv2jAUhd_3K6z7BKpRsBMozVNYSyckSrpApVUTqlxi0Wo0ZnaQWlX971OSbQRYbYrDxAsiTr6bc-85usorqJ9z8KH37XrQ7Q9R7aI_Go--Dupo1Bv0zsdILZ9qz3V0GYVXqPb7jGF07_uXg7A77qATNEXdEXouHolZyuroSxTeXKPPt4ihMLroRflfwJCImA_ZE1fgfwcCGChgcAGDBxhaMMGwkGLKlRIye-Q1B_rxM_hNDI_JYplmxxMMUyE5-K-QPqZzDj6M2f2cR5zFXDpNwBDzlD3O89dkioLs527xg78AhnMxXz4lys_bwGgKGEYLlh00HIJYEiOKRPrApQIMEU9iLn0UuCcB_dMz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B3yH9_QksllJjoqcyhAMwXqhQUOuSIBy-beJMGKlqSWY0nXJLma5KsmzdY8VLAyFUjxIpTtMBKG2Joks0ruLowXpwjMzoIdTy453XJS2nKTGCaNPSeJ52fRnOgUSQnQuBbNG4UFzqE5uYjmx4tAT7eJlreJGqZ1dpuoTpHUPDevxaZmYYFz2EQvYtPxIlin22SVt8kyTPvsNlk6RVLz3LoWm1qFBc5hk3URm44XwT7dJru8TbYRH6P-v0G2DnxqbtvXYlC7sMA5DLIvYpCtc5Iec7kVvuRHZEWvqmVeZZCoMfcWPJkhKXbBnN8FYh7fm1y6cVA84HEZJr-S5GLgf_4kw4Czzdc_Aukkkk0i6SR6lETSSXW9pEZxEtGEaiuiNKmIoiDVxCJ1RVaOiypX0CqOsnJYllqGhoYNtjKqXpxEskn1sl419JJUXmlCqbzSpFJ6pYml9CrH1SjtVQ6rqYxqFctAs0mtsjI09ZJUMmhCqWTQpFLKoImllCHH1S4tQw6LfLPlKPYcK5dVetNpaUaphNDFUhmhy6VUQhdM6USerPzOkwf7Zuuxi6Wwc1m5vedUKdqaUSopdLFUUuhyKaXQBVNKkSfLbUEnS2FHp9SntXiZrTxwoPbxMf7j6_MD0QNsIaOj8mQpXuLc6ds2Oug-sbXkGG7ZM-_xkAeblb-S4WoOThjs-H7_278BAAD__xvasTY= query T EXPLAIN (DISTSQL) SELECT sum(x) FROM (SELECT a, b::float + c AS x FROM data) WHERE a > x GROUP BY a ORDER BY a @@ -987,7 +987,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlttv4jgUxt_3r7DOE6hGwU645SlsS3eRKOkGqp1qBlUpsSgaihknSFRV__dRkimXZOrDJR3xUhUnP5_P_r5zlFcIf8zAhs6X21672yelq-5gOPivVyaDTq9zOSTh8rm0KpNrz70hpV9rPiWPtn3dc9vDJrkgY9IekFX6SuBHfpn8_2_H6xCffFtWq6YgK_KP597dkr_viU9c76rjJf8ChbkMR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yXHh2zr4cb_ywQP77dH4l6f3ByRfEMsoObPMHoMfae78eZecOL6JdSQpXIvv8lLGMtystqsoXi3Ai8O9fH396Z8AAAD__wYDBvo= # Ensure that an interesting input ordering that causes an ordered group by # forces an ordered synchronizer. We create an index on b even though it's @@ -1080,7 +1080,7 @@ vectorized: true table: data2@data2_pkey spans: [/1 - /1] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMVGFr2zAQ_b5fIe5Tsqk4UpoMDANnXbYFUjuzHboyQlDiww1zLU-SYaXkvw_LhThZ6jbdGPtiOJ3e3XtPD9-D_pGBC-Ovs-lo4pPOh0kUR1-mXRKNp-OLmKwoWcsyN53XXfIxDC5JIozg5OrzOBwTQd4RRj6FwXxG3l-TFVDIZYK-uEUN7jdgQIEDhQEsKBRKrlFrqarWvb04SX6C26OwyYvS1MdmYzIEF8pcqgQVJkAhQSM2WdVfbBcU1lIhuLurvjyThTM8uEhBluZh7IKCNiJFcM-3tLGaNVYfGRyLVYYhigSV09sbD9YFz36XxXe8AwoXMitvc-0SQa0TUSGqymFnDnMqJ4LSuMTj8Bg3dgq3UZoqTIWRyuH71Dy7qzbPJbYa-ddLP4iX_nw67XisW7EN5n68DIOrqNM9YLRbsrojN0Lf_DbfPsMDa_4o692cY08JHnsDR9-zIe38JdKi-eVy4scdjx8q27Hu77Hmz88Be3kOqiTwk3PwBLeGWf3_KAf87-Zg8G9y0Gv3OkRdyFzjs_40vUoSJinWFmhZqjXOlFzbNXUZWJw9SFCbuvu2LiZ53aoINsGsFczbwfwQzJrg_h6YnQYetoP7rbR77eDzVvCgXfPgTzS3g5_QPDxJ82L76lcAAAD__3_LaAs= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlF9v2jwYxe_fT2E9V_DOiDj8qWRpEl3LNiSadCSoqyaEDHlKo4Y4sx11VcV3nxLaETxABU3TchHJsfn5nOODn0F_T4BD_-v18HzgkdrlIAiDL8M6CfrD_kVIZpTMZZ6a2v918nHkX5FIGOGSm8_9UZ8I8p4w8mnkj6_Jh1syAwqpjNATS9TAvwEDCi5Q6MCEQqbkHLWWqph6LhcOoh_AHQpxmuVm_dnEJkHgkKdSRagwAgoRGhEnxfxkNaEwlwqBb5Z6siGzZtdaSEHm5gU7oaCNWCDwdkXH4BJ4d0UrUlhFyo6NQjFLcIQiQtV0traDMpVe-Z5mD_gEFC5kki9TzYmgZTJBJopRkzWarFkk4-eGk54L-7QyS6tzjNbzxULhQhipmu621F659zpcTsrRuXc79fxw6o2Hw1qP1Qv1_tgLpyP_JqjVLYWbTWZP5F7o-9_45TG9uHAtF-5eFxvurqOHHnsHO8-_YrV9itVgfDUdeGGt59pONy5alov2lgv37b1hp_emaI57Qm_YMVorYbb-qd609rr4A73p_K3edLZcOIfPYoQ6k6nGN91sjrVTgxWeMVrgOiMtczXHayXn5dr10C9B5YcItVnPnq0Hg_R1ShuFYvnrCqqS2EGSewTJtUmsSmptkViV5B5H6u4ntW1S66A7Zz-pa5PaB0md_Tkxm9Q5NafWcaQDOXVsUvfUnM6Kjt4l8nEaR8DBeXkaO16vDxQ_EAtd_FGCe_lYYsOnrKj5nUg0UrgSD3iJBtUyTmNt4jlwo3Jcrf77GQAA__9W49Xt statement ok CREATE TABLE uv (u INT PRIMARY KEY, v INT); @@ -1107,4 +1107,4 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlltv2koUhd_PrxjtJ9AZZGZsbpaORE5CK1JiUy5SowpFDh4RGuKhvqBGEf-9st0WY8psbkG8RBjnm1kza-0l3iD4PgMTWl-6nau2RQo37f6g_7lTJP1Wp3U9IEH0UlgUyYeefUdcJ3RI27JaPdKx7U_DLrm12xaJFsS2SMEh_5GoSD727GGX_H9PImL3blq95CNQ8KQrLOdFBGB-BQYUOFDQgYIBFCowojD35VgEgfTjf3lLgLb7A8wyhak3j8L46xGFsfQFmG8QTsOZABMGzuNM9ITjCl8rAwVXhM50lmwTC27Gfx7mz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fQ== diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_auto_mode b/pkg/sql/opt/exec/execbuilder/testdata/distsql_auto_mode index fb9ddc796862..13f7a5d15136 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_auto_mode +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_auto_mode @@ -19,7 +19,9 @@ ALTER TABLE kv EXPERIMENTAL_RELOCATE SELECT ARRAY[i], i FROM generate_series(1, query T EXPLAIN (DISTSQL, JSON) SELECT 1 ---- -{"sql":"EXPLAIN (DISTSQL, JSON) SELECT 1","nodeNames":["1"],"processors":[{"nodeIdx":0,"inputs":[],"core":{"title":"local values 0/0","details":[]},"outputs":[],"stage":1},{"nodeIdx":0,"inputs":[],"core":{"title":"Response","details":[]},"outputs":[],"stage":0}],"edges":[{"sourceProc":0,"sourceOutput":0,"destProc":1,"destInput":0}]} +{"sql":"EXPLAIN (DISTSQL, JSON) SELECT 1","nodeNames":["1"],"processors":[{"nodeIdx":0,"inputs":[],"core":{"title":"local values 0/0","details":[]},"outputs":[],"stage":1,"processorID":0},{"nodeIdx":0,"inputs":[],"core":{"title":"Response","details":[]},"outputs":[],"stage":0,"processorID":-1}],"edges":[{"sourceProc":0,"sourceOutput":0,"destProc":1,"destInput":0,"streamID":0}],"flow_id":"00000000-0000-0000-0000-000000000000","flags":{"ShowInputTypes":false,"MakeDeterministic":true}} + + # Full table scan - distribute. query T diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_distinct_on b/pkg/sql/opt/exec/execbuilder/testdata/distsql_distinct_on index dc4af37aa06e..0f18d7dd1ced 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_distinct_on +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_distinct_on @@ -96,7 +96,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lV9v2jwUh-_fTxGdq1ZyFOz8AXLFK8okJAYdcDF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0TjcP0StLgcAFD1bLUDifeEBgFrnZDVXT4X5LgK-Sw0AicZ8ZOPSIbDIGp7clzeHGvkj8cJFoVpFsRMlIJyOjNOrhw8dUeXHFS-1XBz69xGfV8h3SVyGPPRYzr5Cfp9bOgPYaTeEAZpTAaP3KtSKbcpVHGrVKb34NY5ZhistEmztGWzqm6apmNraMYvD2Hdkns8yu5etoGe1qWXHl9ObF6m2LNVXNblysjsHbL0v_ZMX2a_k6Fqt3Lba4ckbzYo22xdqq1m9crIHB2y_L4GTFDmr5OhZrdC22uHJm82LNtsX21ca1mhi4_aIMT1brsJavY61m11pNzEHpjomIh4I12sx7paFUmk2Fec9sN2_BV_GC3cZ8kb-7u7zJg_IbHhPJ7indXUzCz0ciiZm73J_zjpNoOYkeJ-mFJHqcZOGS7PokioQaSqKQVFQyQR2JRS1JVoVLlzZo1EcZFSxDLoONsMGURln1SbScZLX1ysYlybxCQsm8QlJJvUJiSb2qcNmtvapg9aVRg3oZ9HLSoK0MfVySTAYklEwGJJVUBiSWVIYK17C1DBUs-s2WI9lzjEpW601ngIySCYHFkhmB5ZIqgQWTOlEla7_zVMG-2XrMeinMSlZl72kqxRAZJZMCiyWTAssllQILJpWiSlbZghpLYWan1KeAvz34HjjQ-_ipX_z5_EH2gfsssqPy7IW_5bnzNMoOuk9uIBiBa_eVjVnC4qUfZof3BThJvGLb7Y__AQAA__9lbQyn # Ensure that ordering propagates past local DISTINCT processors. query T @@ -139,7 +139,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8ltFu2jAUhu_3FNa5ajWjYCdAmyu2lklIHXTAxaYJTSmxWjQaszhIQMW7T4QChcA5DkHcldDPPvzn06-8gfk3Ah8aPx8fvjRb7Oq-2e11fzxcs27joXHXY8vPzdZdj7Vb7GrK2Yyz-TV7_4N967S_s-lsztqd-0aHff3FpsAh0qFqBa_KgP8bBHCQwMEFDh5wqECfwzjWA2WMjpf_8pYCz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4l3IAUGo4WfnTAtAU9bBtEyPQ2UpP6bBI-fkfU64Nlbpg_XmSbpNJykVi1P1uasLVjbKYx6uvBlbbz7yXvpVSc-UeCrlfKd0pdhFAcylkEuf5da-g24rfUVTmBOAYyTmhtFcSpjiyvF_V46oFscUKeKS0V8j3KBqh-Z0cISdqG3yzy1Ao_IF8D1veZXem0J03K1zeYUvKMX9ZuZXS_lq2g2r2o2qbmD2UpxBLPzVQh9k8S1JrmmVdc2SVDwjvPQuJlJjVK-iiaJqiaRmjuYpBRHMClfhaNvknOtSXXTamib5FDwjvPQvJlJzVK-iiY5VU0iNXcwSSmOYFK-ClffJPdakxqmtkcuBe44C62bedQq5avokVvVI1JzB4-U4ggetSiPiUOZLKIwkVoPZHZhKJNn3cngTe6LTqJlPJGPcTTZfXZ_ONgF7U4EMkn37_L9QS88vJWksfTnx_3BeRIvJvHzJJFL4udJNVpSozyJE6E4R7KIWLxWniWoXC0kS-ES6BQ65VPoKFgOGuWWUzkKlYtGCYpZNTSqXp7Ei0n1ax2t05IwR4lQqKNELNRRKhfmqMLVQKewiTiqYDWvdlShauGLn12OJZQftLKQ6qrVIEZhblGxULmoYKhdZDJML5VMWU_zMykQwVQyfEHFDFPB8BWVuwiYkqUsqbqKNYlRmGJULFQxKhiqGJkMU0wlw-9CHLkNOSqZsrZqK6aC4WsrRxZXV8lSFlddxVrEKEwxKhaqGBUMVYxMhimmkuH3I4HcjxyFTOBP9phirWy78DqLPp-nAXhgf7_MC38OL8gu8N-SbM8yeo8-d7nj9SLbcbz6s0QyePA_ZEemMp5Pw2zbNgEvjZdyu_3tVwAAAP__igtDoQ== # Ensure that even with more ordering columns, ordering propagates past local # DISTINCT processors. @@ -186,7 +186,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lt1u2kwQhs-_q1jNUaIsMrs2P_ERXxMqIaWQAgetKlQ5eJWgEpZ6jYQTce-VbSQHHGb8gzh0yM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1ZbJ29af9DuDLRvv7SEaGsgsAh83vPmPAL3N1AgwICABQRsIFCDMYFlGEx4FAVh-pH37Qldfw2uSWC6WK7i9OUxgUkQcnDfIZ7GMw4ujLyHGR9wz-ehYQIBn8fedLYds07eWuvk7X75whMgcB3MVvNF5G5JgcBw6aVHusFgvCEQrOJsShR7TxxceoDVbYNrbkh5smEQxjw0anmoFrsiLXolHckKI2sqI9vTKJ4uJrFBzeJUINAPfR5y39VaxSvOEh4S7dmLnoWzx5sM0SogUnktWXCwGy4rA70YoUL0YjJQuwgqL_Nr0M8he4EeLA2Wr1vGUyvwsHxxtLzptIrpBtMNu7TrVIVt77pznOuOyshMD3pO1-W1nMZ1ocKqrufLZOXdYpXcsnXDKe0WU2Hbu1U_zq26ysjsdrBzuiWv5TRuCRVWdStfplXeLauSW45u1Eu7Zamw7d1qHOdWQ2Vkdjusc7olr-U0bgkVVnUrX6Zd3i27klt1vbRZtgrZ3qzmcWY1VUZmN8M-p1nyWk5jllBhVbOaKj-lBzxaBouIl_phZxZG6TS9JO4_8V0NUbAKJ_wuDCbbz-4O-9ug7Qs-j-Ldu3R30F18vBXFIffm_x4-DpMomsTkSbViEism0cMkK5dED5OoAIVHNZAoRSrK5FlMEYs6SJYiFzPlWZbAZaH30EaiBCwb10HFrBoa5ciTaDHJQZPq8iSnmFSv7KgAhUdhjipSoY4qYqGOKnKhjgpcjcqOClhNfPmZch-YsP2-WKSI73UhS1ilpeUSufAszC5VLlQvVTDUL1UyVDCRTNiopQ0TwfCNSm25FpaQha9UWpNnNYQsYaeWVkzkwrMwxVS5UMVUwVDFVMlQxUQy_IsIU0wEE5ZrXouGXAtbyMKXK23Ks5pClrBdSysmcuFZmGKqXKhiqmCoYqpkqGICGcO_kDDFmunjwuMseL2f-uCCuf_TP_n38QfpCd5TlD6zDJ-D123uKFmmTxyP3iziBG69F97mMQ_n00X6NDUBNw5XfLP5728AAAD__y4FW44= # Distinct processors elided becaue of strong key. query T @@ -212,7 +212,7 @@ vectorized: true table: abc@abc_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykk1-L00AUxd_9FMN52oUJaf7UhzwptUIgpmtbQbBBJpnLWsxm4swElNLvLpmo_WOVbPtyybkzJ_c3F84O5luNBPOPD9nrNGd3b9LVevU-u2ereTafrVmv03y2Zouc3QnOSs6qe_brg71dLt4xUVbgaJSkXDyRQfIJAThCcETgiMExRcHRalWRMUr3V3bOkMrvSCYc26btbN8uOCqlCckOdmtrQoK1KGtakpCk_f6_kqzY1m6MKKtXoqw-t1_pBzhmqu6eGpP8xgPHqhV9w88_ZNmheP4GwQZ_argBij2H6uyBw1jxSEiCPf8H6wGxa5SWpEme4BX7C6_Jladaf3p28fLo8GR0MH5N4bVr-mst3rF41qbC8bjRrbjhMe4gIlfj0bjReNz4etwzNu9Y-BtMR-PG43EnV-J6Z6FhopEsYMp-IX1FWi5QLsm0qjE0KgyTPk0kH2mInlGdruhBq8qNGeTC-VxDkrHDaTCItHFHDvDYHPzX_PLEPDk3h7dMjm4xx7eYp88yF_sXPwMAAP__BoruYQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyklF9v2jAQwN_3Kax7aiVH5B978NMmYFIkGjpg0qSBKhNfadQQZ7ajrkJ898mhLUlGp5D64cT5z88_Dh970L8zYDD5eTv9GsXkahwtlovv02uymEwnoyWxeRSPlmQWkytOyYaS5Jq8fCDf5rMbwjcJUMilwJjvUAP7BR5Q8IFCABRCoDCENYVCyQS1lspu2VcHIvEHmEshzYvS2Ok1hUQqBLYHk5oMgcGSbzKcIxeoBpYr0PA0q67hm-QL3yR3xSM-A4WRzMpdrtmrHlBYFNxODOIf0-kpOIMVeCt4i_4KYH2gIEtz8tCGbxGYVxOPxsC8A33H_aRc5lIJVCgauuvDmW8XS0cWg2Fr43kVv6UybKh43cvo9y3jP2Vz6smFlfQb-n53_eCj-n5d_5gEVQwv0A8a-kF3_bC_fsvVqSeDFQwv0A8b-mF3fbenvtNqQsJzQTwizQOqztbuu913xnqOupC5xk7N5bZucjzbrii2eOxtLUuV4K2SSbX3mM4qUDUhUJvjqndMorxa8uwNCvnu7c-jTvL-S_rcILl1ktsm-X2d_DYp6EsK2qSwLylsk4Z9Sa79Fe8z-XSXCmDgvgznTHgdYA_wrbZPafEgnyrs8rmwD-GeZxop3PBHHKNBtUvzVJs0AWZUiYfDp78BAAD__5nkSxo= query T EXPLAIN (VERBOSE) SELECT DISTINCT ON (a, b) a, b FROM abc ORDER BY a, b, c @@ -253,4 +253,4 @@ vectorized: true table: abc@abc_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lm9r4k4Qx5__XsUyj1q6ops_ts0jf9d6IHhJTz2445RjkyytnM3mshGuFN_7kQSMse1O6lafLOzqd-Y78xmGPIP6swIPht_vxv-PfHJ2O5rOpl_H52Q6HA9vZqS4j_ybGQl8csYpCc9JcZLPk-AL4WFEgsntcEI-_SifKYmAQiJj4fNHocD7CQwoWEDBBgoOUHBhQSHNZCSUklnxl-dSMIr_gtejsEzSdV48LyhEMhPgPUO-zFcCPJjxcCUmgsci6xZxY5Hz5apMw8NowMPoV_pbPAGFG7laPybK23E1TXnx0PW_jcf10enOgc1he1pzgMWGglzntQ-V83sBHtvQ9l5vlypfJlHe7TeNDhgdFP0IslhkIvZI9dDMWYcJn8gDVw-vxVhsamvWm9bqULLKuB_qgg6sCzqwL6qAb9bB2AGF1A5tQ4evu_NlR6Zd5jYlwTrH7DgNO6z93FmHzt2LOevsXt41eojdLbLL048eO8roWR84elZ71rYpa2uXdXWxy9NpzRqxu-3R1elZW0dhbX8ga7s9a-dw1ntgO7uX7hzc1qwRu9seXZ-etX0U1s4Hsnbas-4dyLqz9_FAeBITRmT-ILKWiBGX29a4p0fsHAVx70hfDa8knQiVykSJRsa3IvcK2yK-F1W5Sq6zSNxlMirTVNeg1JUPsVB59SurLqOk-qkwuCtm-2LWELsNNXuf2jIR903E1yZihvi2tP229WJbD6uvp-Vo1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svQUYuSyaBIJZNBkUomg2qtZDLksLqVZchhkU9ajqTnmLms6k2nq5glE0KVS2aEKpdMCeV6yZzIg1XvPHmwT1qPqdB6SK73lJbCUsySSaHKJZNClUsmhXK9ZFLkwXItqLQUWnhLfdzyl4eNCzZof36ND4b3H4Qv0CcRXpVna_4S5c5f9-FF95FuBcNwR59ZnwXM32288CrvgB34B3Y8_vM7AAD__7MwYOU= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_group_join b/pkg/sql/opt/exec/execbuilder/testdata/distsql_group_join index 94331a9c47dc..2212215812b8 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_group_join +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_group_join @@ -56,7 +56,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMl9Fu4kYUhu_7FKNzlUjDmhmbEJBWgm7TDSvWpJBIXVUo8uIp0BIPtY3UVZR3r4x3lYLD_IyNo9xEMfbnczzMd_zzSMk_K-rS1e83w_7AZ2e_DCa3k9-G52xyNbz6cMvCIA3Eu4CzZPNwlh-E5-zX8ejz9hTrT_JL2MD3r8bsuj-5Zp9GA3_nrGQj_8ed2Pv8o3cz9nE8urthP3_5cYo4RTpUfvCgEur-QYI4SeLkEiePOLVoymkd65lKEh1nlzxugUH4L3WbnJbRepNmH085zXSsqPtI6TJdKerSbfB1pcYqCFXsNIlTqNJgudqWyar3sj_367_VN-L0Qa82D1HSZQFnIXGarIPsqOEIFkQhE0ynCxXT9ImT3qTfaz6X-vqNLYJksVukJ2j6NOWUpMFcUVc88XK9t47tfVZP4_Jg48_32UQ6DlWswp07TTMSXfLC018HyeJjrDfrT3oZqdgRe1_fSv2ZnvXE-ft4OV9s_yNO2bXsJtZ_qVm61FGX9QTvZXup73-590e39_7dcPj92snd57OePK-0LG6FZXnhmfvzeazmQapjR7QKhS2e4rlD77Qd-rqh145s7n_FL9Zu7dQWx-92Uc5URz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oZhGjNh-MYa05g5SZyFaYxaF6oxamGoxqiVoRozKpPGzrqyxnrrMYfbuf5xEwbgQuvh1Xjh7fEF2Rf8aQLuPYxm-seGe3W3VAm4t_48URzO_e_qWKUqXoRRmKThBNw0Xqn1-rf_AwAA__8sqh_K statement ok RESET experimental_hash_group_join_enabled @@ -84,4 +84,4 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmF9v4kYUxd_7KUb3KZGGNTM2hCCtBN2mDSvWpJBIXVUo8uIpoBJMbSN1FeW7r4CNwp8wh-Hi5GW1xvx87lzPOXPJI2X_TahOV3_dtJutUJz91urd9v5sn4veVfvq062IozxSHyIpsvnD2eoiPhe_dztflrdEs7f6imiF4VVXXDd71-JzpxVu3NWiEz4_SXxcffRhIP7odu5uxK9fn2-RpGkSmzB6MBnV_yZFkjRJ8klSQJIq1Jc0S5OBybIkXXzlcQm04v-pXpY0ns7m-eLjvqRBkhqqP1I-zieG6nQbfZuYrolik3plkhSbPBpPljIL9cbin_vZv-Y7SfqUTOYP06wuIiliktSbRYurkqdENI2FEkk-Min1nyQl8_yn5ovUt-9iFGWjTZGGov5TX1KWR0NDdfUkj6u9cmjtg2IK13sLf3nOfJqksUlNvPGk_oJEX3ll9ddRNvqcjKcm9dTWm5uYf_Kzhjr_mI6Ho-X_SFJnntdFQ8mG3lroyyJ8l-43h8PUDKM8ST1V2emNpGb49T7s3N6Hd-32zxJ6d1_OGvqc1eiA0Wj7KnSZs4qXCiunrTBMSsnM05XtTfOqdnVDWx3uH3Wc9z1V8nRB7neovnqE-09but5b-lv4XxXhf9D_df9X38v_bo0G_ldF-F8fvov1kR7UJc8vyIMO1V8c48GTlq73lv4WHtRFeBD0f92DF-_lQbdGAw_qIjzoH76L_SM96Je8oCAPOlRfO8aDJy1d7y39LTzoF-FB0P91D9bey4NujQYe9IvwYHD4Lg6O9GBQ8ioFedCh-stjPHjS0vXe0t_Cg0ERHgT9X_fg5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DpfBD3WqUhXPJvNJkk6G4KXxUq1Wv_0fAAD__3lnOR8= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_indexjoin b/pkg/sql/opt/exec/execbuilder/testdata/distsql_indexjoin index 90e4752c53a1..82dc98e4e286 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_indexjoin +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_indexjoin @@ -37,7 +37,7 @@ vectorized: true table: t@t_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkNFK80AQhe__pxjmqv1Z6aYiyF61tCkGalqTgIIGiclQQtNs3N1UpeTdJVlrrVDRyzlnzszH2aF-LlCge7ecjz0felMvjMKbeR9Cd-5OIvgPs2BxDQZur9zAhd4WHmrOzwkc3oexP_1UUrjgfWRYyoz8ZEMaxT06GDOslExJa6laadcteNkrCs4wL6vatHLMMJWKUOzQ5KYgFBglTwUFlGSkBhwZZmSSvOjOmpF5rNb0hgwnsqg3pRawZrBl8IIMwypphTOMG4ayNocX2iQrQuE07PcYs7wwpEgNnGMGqwvojYaHSoQQnh9dfjSzd9pq9s5JqOFfoALSlSw1HSGdusybmCFlK7L9a1mrlJZKpt0bOy66XCdkpI11HTt4pbVawK9h58fw8Fs4bv69BwAA__-QBMHx +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUV1r2zAUfd-vEOcpGQqVMwZDTy2Nywxp2sWGDTZTNPs2E1EsT5KbleD_PmzX_WIt630Q3HOuzj06OsD_NpCIv10uT5IVmyySNEu_LKcsjZfxacbes7P1xTkL7OvneB2zyQ370QjxgVgkpuxktbhHCvZRTMFR2ZJWakce8jsi5By1swV5b10HHfqBpPwDKTh0VTehg3OOwjqCPCDoYAgSmfppaE2qJHckwFFSUNr0suE4XNVbugXHqTXNrvKSbTm74WwPjrRWHTBD3nLYJjys8EFtCDJ65ClZQIqW_7-tM20COXJH0VNPAy7Z5Hj-EJGUMllln-6SGpkuqpF50eT8mcnoLSbX5GtbeXpi8aVN4tmmWdTmHFRuaPgwbxtX0KWzRT87tBe9UA-U5MPARkOTVCPlgyO1u8_4sVL0qtL8NaWc49rY_ZUuISHuavaPYyx0F9TGdxGlv-y-l81u6-6B18p44jhXW1pQILfTlfZBF5DBNdS27_4GAAD__-k_-Zs= query T EXPLAIN (DISTSQL) SELECT * FROM t WHERE v > 10 AND v < 50 ORDER BY v @@ -56,7 +56,7 @@ vectorized: true table: t@t_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkdFK80AQhe__pxjmqv1daZIiyF61tikGalqTgIoGiclQQtNs3N1UpeTdJYm1Vmixl3POnjMfsxtUrxlytO_n06HjQmfs-IF_O-2Cb0_tUQD_YeLNbkDD3bXt2dBZw1NpGH0C0-jC0B1_KzFcGF2YeWPbg6sHWCPDXCTkRitSyB_RxJBhIUVMSglZS5vmgZO8IzcYpnlR6loOGcZCEvIN6lRnhByD6CUjj6KEZM9AhgnpKM2aWj3Qz8WSPpDhSGTlKlcclgzWDN6QoV9EtXCOYcVQlHq3QuloQcjNiv0dY5JmmiTJnrnP0OocOgNrdx3OueMGl19H2jr1lbbOQSjrFChfSE2yZ-0jDayzg_X9U-o9UoXIFe3VH2o2qpAhJQtqv1eJUsY0lyJu1rTjrMk1QkJKt67ZDk7eWjXgz7B5NGwdD1tHw_1f4bD69xkAAP__3c733w== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUklGLm0AUhd_7Ky73KWknxDEUyjxlu7pUyCZbFdrSyjLVu6nEOHZmTLoE_3tRN7ub0IRmHoQ593rOx9Edmt8FCvS_3s2ugjkMvCCKo8-zIUT-zL-O4S3chItbsPDlkx_6MNjAj9pxJgTcGcLV3HtWUnjvDGERen4IH7_BBhmWKqO5XJNB8R05JgwrrVIyRulW2nULQfYHhcMwL6vatnLCMFWaUOzQ5rYgFBjLnwWFJDPSYwcZZmRlXnS2dmrvqxU9IsNrVdTr0ghYMdgw2CLDqJKtMMKkYahq-xJhrFwSCv6KKfBQOA37f6ybvLCkSY_5IVOvCxhM3Ze2hBDBPP7wVNp-0ra2n5yEdI8g-SWQkdKW9Ng9RJy6707GTY7i3EviQjKVKg0dxJ1Kco6SRrxJGFK2pP7_MKrWKd1plXa7_XXRGXVCRsb2U95fgnI_MlaTXD9_0tdO_KyTe9qJHzu5Z50m55gShg-F2t7nGQp0ns7oH4_9wfYFuTRt2dEvte1s48eqrepBFoYY3soVeWRJr_MyNzZPUVhdU9O8-RsAAP__fho41Q== # Here we care about ordering by v, but v is not otherwise used. query T @@ -76,7 +76,7 @@ vectorized: true table: t@t_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkVGLm0AUhd_7Ky73KaFT4hgKZZ5ME0OFVFMV2tJKsXoJssZxZ8Zkl-B_X9TNZrOQsHm858y55-POAfV9iQLdX-vVzPNhtPCiOPqxGkPkrtx5DHtYhsF3MPDzmxu6MNrB38aypgTcGsPMX7woGXy2xhCECzeEr79hhwwrmZOfbkmj-IMcE4a1khlpLVUnHfoHXv6AwmJYVHVjOjlhmElFKA5oClMSCozT_yWFlOakJhYyzMmkRdmvNY75V9_RIzKcy7LZVlrAjsEeGUZ12k2fMGkZysac9muTbggFb9n7GZZFaUiRmvBzgEEXMHL46TRCCM-Pvzxf6Oh0Jzo6F6HsW6AiqQypiX2O5PCPyDBojADHvlg0vaUoJF3LStNZ0aXNVpswpHxDwy9r2aiM1kpmfc0wBn2uF3LSZnD5MHjVYHWAr8P8ati-Hravhqdvwkn74SkAAP__AJr55g== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUklFr2zAUhd_3Ky73KWEKkRwGQ0_pGpcZ0qSzDdvYTNHs28zUsTxJTlaC__uw3bRNWEKrB8M9V_7O4dg7tH8KlOh_u5lfBAsYzIIojr7MhxD5c_8yhi1chctrcPD1sx_6MNjAz5rzCYHgQ7hYzJ6UFD7wISzDmR_Cp--wQYalzmih1mRR_kCBCcPK6JSs1aaVdt2FIPuLkjPMy6p2rZwwTLUhlDt0uSsIJcbqV0EhqYzMmCPDjJzKiw7rpu62uqcHZHipi3pdWgkbBltkGFWqnUaYNAx17Z751qkVoRQvAgUzlLxhr890lReODJmxOAzU6xIGU_FclZQyWMQfHxvbb9rK9puTIb2jkOItISNtHJmxdxhxKt4jw2XtJEy9k8aTI2PvLcYh2UqXlg6MTznxI6eRaBKGlK2o_02srk1KN0an3d1-XHagTsjIun4r-iEo9yvrDKn108d9SRJnSd5pkjgmeWdJk3OZEoZ3hd7e5hlK5I9n9J_H_mD7glrZtuzot9522Pihaqu6U4UlhtfqnmbkyKzzMrcuT1E6U1PTvPsXAAD__2gQOtw= # The single join reader should be on node 5, and doesn't need to output v. query T @@ -93,7 +93,7 @@ vectorized: true table: t@v spans: [/41 - /49] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkVGPmkAQx9_7KSbzpMkaFtSXfdIqTWksWDBpm5Y0FCaGiCzHLnoXw3e_ABdPTeTuHue_8xt-M5xQPWQo0P61Xs0dFwZLJ9gEP1ZDCOyVvdjAEb743nfQ8POr7dswOMDfivMxwYQPYe4uz0kMUz4Ez1_aPnz-DQdkmMuE3GhPCsUfNJHhFEOGRSljUkqWTXxqm5zkEQVnmOZFpZs4ZBjLklCcUKc6IxToypEsDAsZJqSjNGvbaoay0q-Q0tGWUIxrdjHY7B-8if5n5FOUUGnwq_GoZ80aC5lV-1wJ2LF2raCImsqYmCNj2hBepQXMTLynY35E55tM8xcb89ZG_yt29HSpdGBwPBtYdw2sK4M3Lu2TKmSu6F2n5nXIkJItdX9TyaqMaV3KuP1MV3ot1wYJKd29jrvCybunRvASNnthqx-2emF-A4f1p-cAAAD___fw9W0= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUklFv2jAQx9_3KU73VCQj7FBe_NSuybRMFLoEaZs2VHnJlUWEOLMdWIXy3aeYllE02OqHSHe--_9_d84W7c8SJUaf78bX8QQuwjidpR_HPUijcXQzgw28S6a34ODT-yiJ4GIN3xrOhwSXvAfXk3CfyWDEezBNwiiBt19gjQwrndNErcii_IoCGY5wzrA2OiNrtenSW18U579QcoZFVTeuS88ZZtoQyi26wpWEEie6r-tBgAxzcqoofVnLUDfuT5N1akEohwcucYgyaNmBkThvNFPfS0pI5WQG_IUduqturBtdNqvKSlgyP2Zaqy4aXIr-YNR1TBsn4UrgKTxxhMdfg_dBF9UTnTimc_f1kh4PEdcMNnui4CRRcEQkXhD942USsrWuLP3X0_Ajp75o5wwpX9Dud7C6MRndGZ352l049UI-kZN1u9vhLoir5yvrDKnVfqGHSuKsUvAKpeCsEj-t5Od8KPXmvshRIn86_b98ng92DWphu2WnP_TGy84e625VD6q0xPBWLSkkR2ZVVIV1RYbSmYba9s3vAAAA__-AEDZj statement ok CREATE TABLE abc ( diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_inverted_index b/pkg/sql/opt/exec/execbuilder/testdata/distsql_inverted_index index 045b9f92403c..6701f3a9bfcb 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_inverted_index +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_inverted_index @@ -98,7 +98,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8k9Fv0zAQxt_5K073MhCuEjtbkfwUtmWiqDQjqQRoRJPbnKZCFgfbkUBV_3eURNsIrFlQBW-5O3_-frrP2aL9VqDE6OPl_PVsAc_PZ-kyfT9_AWk0j86WoOAiid_BF6vLa6dW8OFNlESwgvBz7fsBwdEVZyCyI4iT8yiB00-gkGGpc1qoW7Ior5AjQ4EMA8wYVkavyVptmtG2PTjLv6P0GW7KqnZNO2O41oZQbtFtXEEocalWBSWkcjKejwxzcmpTtNffoYV3H9fVV_qBDM90Ud-WVoJisEKGaaWaauJxH7MdQ127B0Pr1A2h5Ds2HupiUzgyZLygT9T1JYTijzVJKd-m8eJ0L4DYC_Dgq01OhvK-achfYrZ7hHKhJ7rypv3Tce0khHwvRtDD4OPD4YeF43F_4omx-TzBdZ_P8b_KR4xfjDhwMcKfjNzKE1D3Wzn5H6_2EYCEbKVLSz37fTf7zZOm_Ia6X8Dq2qzp0uh1a9OVcatrGzlZ1015V8zKbtQA_irmg2LRE_PfxWJQ_GrYORgUHw-Ljw_BPhkUT4edp3_lnO2e_QwAAP__EgULFQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lN9u2jAUh-_3FNa56aY5SuwAk3zFWlKNqYUuQdqmDlWGnHZZQ5zZjrqq4t2nhEFJ1iBoVV8g_Cefv_yOnQcwv1MQEHy7OPs4HJG3g2E0ib6cvSNRcBacTIgkp-H4nPwyKruycka-fgrCgMxI_0fheT6So0tGCZ8ekXE4CEJy_J1IoJCpGEdygQbEJTCgwIGCD1MKuVZzNEbpcuqhWjiM_4DwKCRZXthyeEphrjSCeACb2BRBwETOUgxRxqhdDyjEaGWSVvi1Wn_95yq_xXugcKLSYpEZQSQlM6AQ5bLsOS7zYLqkoAr7uKGx8gZBsC3D4QCEt6T7S54mqUWN2vXrhqtxQfr8v9iEEJ-j8ei4VYg3hPxWoUcPpWPUGNcl-uw9TJdPWI-Uo3K3V189Lqwgfdaq5Te0ejUttn8x2cuK6TLPcfn-9WSHeG7q2Xm9enZqQnz_4PgLg-Oes3dq_BDJTWrd10ute8i1DNHkKjNY02nbyWvs5LDyzmB8g6s7ZlSh53ih1bxau-qOK1A1EKOxq1m26gyz9ZSxGuVi81XZJrGdJF4jsW2S3yTxnaQPBzj5O0mddhJrkjrPfbtOk9TdSeq1O_Emqfdcp255Hq5TdXeVxCDA-9ecJ37WDcoH5I0pD2X0U91V2Ml9Xh6pa5kapHAub3GAFvUiyRJjkzkIqwtcLt_8DQAA__91J3EE # Combine predicates with AND. Should have the same output as b @> '[1, 2]'. # This should not use a zigzag join due to distribution costs. @@ -118,7 +118,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEk19vmzAUxd_3Kaz70lRzBDZpJvmJtqFapgw6iLRNHaqccFVlo5jZRtoU5btPwPqHqaFMechb7r0-vr-cg7dgfuYgIPhyvTifh2Q0myfL5NPilCTBIrhcEkmu4ugj-W5UcWvlinx-H8QBGa2I_61yXQ_JyQ1LT07JeTjrdnndjeJZEJOLr0QChUJlGMp7NCBugAEFDhQ8SCmUWq3RGKXr0bY5OM9-gXApbIqysnU7pbBWGkFswW5sjiBgKVc5xigz1I4LFDK0cpM31z_w-g8_bssf-BsoXKq8ui-MIJKSFVBISllXY4e5kO4oqMo-LTRW3iEItqPDoa42uUWN2vG6RG1fkJHPu94JIT4kUXjx18POmD8b78Xje_GeqJTOUGPWRfLZW0h3L_yHUI1V6Uy7p6PKCuKzvRheB4MNj44dFp3D3LHDh6b3CtdjepPjpMeH28YPtI2744GevQL16NnZ8b_4F_BiNKUqDHbg9t3s1s8Bsztsn49RlV7jtVbrZk1bRo2uaWRobDtlbTEv2lEN-FzMesW8I2b_inmv-F3_Zq9XPOkXTw7BPusVT_s3T_9rc7p78ycAAP__7U0mKw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElFFP2z4QwN__n8K6F0B_R4mdtpP8VKBB6wQtSyptE6uQ2xwsI40z2xFDqN99SkqhiUjVwgN-qOo79-ef7-w-gvmTgoDg--X58XBEDgfDaBJ9PT8iUXAenE6IJGfh-IL8Niq7tnJGvn0OwoAczkj_Z-F5PpKDKzY9OCLHo0E9ysvoOBwEITn5QSRQyFSMI7lAA-IKGFDgQMGHKYVcqzkao3SZeqwWDuO_IDwKSZYXtgxPKcyVRhCPYBObIgiYyFmKIcoYtesBhRitTNIKv_btr79c53f4ABROVVosMiOIpGQGFKJcljPHZR5MlxRUYV82NFbeIgi2YTgcgPCWdHfJsyS1qFG7ft1wFRfksM_rtRRCfInGo5OnmtbSfCPdqssbun6r7oul0jFqjOuKffY_TJevnGmkHJW7vfrqcWEF6bNWLb-h1atpsd1bzd7Xapd5jst37zbbx_O5252P6nanpst3Lyt_Z1m55-xcU76P5HNNux9V0-4-Dz5Ek6vMYE22bSevsZPDyveG8S2u3qdRhZ7jpVbzau1qOq5AVSBGY1dZtpoMs3XKWI1y8fx_tUliW0m8RmKbJL9J4ltJn_Zw8reSOu0k1iR13nq6TpPU3UrqtTvxJqn3VqdueR9uUnV_ncQgwHsazisf6wHlD-StKS9l9EvdV9jJQ15eqRuZGqRwIe9wgBb1IskSY5M5CKsLXC7_-xcAAP__soaMGg== # Filter with a nested array. This index expression is not tight. # This should not use a zigzag join due to distribution costs. @@ -138,7 +138,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8k9Fv0zAQxt_5K6x7GQhXiZ2uSH4K2zJRVJqRVAJUosmtT1Mhi4PtSKCq_ztKom0EtWlQxd5yd_78_XSfswX7IwcB0eeb2dvpnLy8mqaL9OPsFUmjWXS5IJJcJ_EH8s3q4tbJFfn0LkoisiLh18r3AyRnyyWjhGfZGYmTqyghF1-IBAqFVjiX92hBLIEBBQ4UAsgolEav0Vpt6tG2OThVP0H4FDZFWbm6nVFYa4MgtuA2LkcQsJCrHBOUCo3nAwWFTm7y5voHuPDh47b8jr-AwqXOq_vCCiIpWQGFtJR1NfKYD9mOgq7ck6F18g5BsB0dDnW9yR0aNF7QJWr7goR8z6KEEO_TeH5xEIEfRHhy1kahQdW1DdlryHZ7OOd6pEtv0j0dV06QkB3ECDoYbHg87LR4POaPPD40oSNcjwmN_19CfPhq-Imr4f5o4F6OQD3u5fx5Xu4ehARtqQuLHYBDN_v1s0Z1h-1vYHVl1nhj9Lqxacu40TUNhda1U9YW06Id1YB_ilmvmHfE7G8x7xW_6XcOesXjfvH4FOzzXvGk33nyT87Z7sXvAAAA__-LJA31 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lF9vmzwUh-_fT2Gdm77TjMAmySRfZW2olqlNOoi0TR2qnHDasRLMbKOuqvLdJ8jSFhSipFV9EcV_ePzwOzYPYH5nICD4dnH2cTwh_4_G0Sz6cvaORMFZcDIjkpyG03Pyy6j8yso5-fopCAMyJ8Mfpef5SI4uLxklPI6PyDQcBSE5_k4kUMhVghO5RAPiEhhQ4EDBh5hCodUCjVG6mnqoF46TPyA8CmlelLYajikslEYQD2BTmyEImMl5hiHKBLXrAYUErUyzGr-RG27-XBW3eA8UTlRWLnMjiKRkDhSiQlY9x2UexCsKqrRPGxorbxAEe2Y4HoHwVnR_ydM0s6hRu37TcD0uyJBvCU4I8TmaTo47lXhLye9UejJROkGNSVNjyN5DvNriPVGOKtxBc_W0tIIMWaeW39IaNLTY_uVkryunyzzH5ftXlB3i-VjR3ltWtNdQ4vtHx18ZHfecvXPjh0g-5tZ_y9z6h1zOEE2hcoMNoa6dvNZODqvuDSY3uL5nRpV6gRdaLeq16-60BtUDCRq7nmXrzjjfTBmrUS4fvy3PSWwniTdI7DnJb5P4TtKHA5z8naReN4m1Sb2Xvl2vTervJA26nXibNHipU786D9eZurtKExDg_WvOlp9Ng-oBeWOqQxn9VHc1dnZfVEfqWmYGKZzLWxyhRb1M89TYdAHC6hJXq__-BgAA__-QcHPk subtest array @@ -213,4 +213,4 @@ vectorized: true right columns: (a, b_inverted_key) right fixed values: 1 column · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkl1v0zAUhu_5FUfnZiAsNU7vfBXYgigq60gm8RlVbnKIzDKfYDuIEeW_oyQSXZlabXc-H8_rx5J79D8bVJh-ulq_Wl3C84tVfp1_WL-APF2n59eg4U22eQ_aOX23DXqXfGfeGvsLPr5NsxR2kHzromhJcNZLAfFwBpvsIs3g9WfQKNByRZf6ljyqryixENg6Lsl7dmOrnxZW1W9UkUBj2y6M7UJgyY5Q9RhMaAgVfjH1H12_Y2PJLSIUWFHQpplyc1MRROqhJAo856a7tV6BFrBDMe_Kx-1uuqAgWWIxCOQu7OV80DWhkoN4_ANG9Yx0RW4hD_X3Kv9O2_aG7lDgmvmma-EHGwtsFSTyvubeUR51jJ_imLML5BbxoV8iXx6NXz4lPiPfsvV0EH8sORoKgVTVNP8Tz50r6cpxOV0zl5uJmxoV-TBP5Vys7DwaBe_D8iQcn4bjk_DyP7gYnv0NAAD___D1GIU= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkl9v0zAUxd_5FFf3ZSA8NU7f_FRYgyjq1pFU4m9VucltME3tYDuMUuW7oyRs_QOtNj9E8fXNOb9z4y26HwUKjD7ejl-NbuD5cJRMk_fjF5BE4-hqChLexJNrkNbKzdzLxWBpzFzpn_DhbRRHsIDB1yoI-gQXW84grC9gEg-jGF5_AokMtcnoRq7JofiCHGcMS2tScs7YprRtG0bZLxQBQ6XLyjflGcPUWEKxRa98QSjws8p_y_ydUZpsL0CGGXmpilY3URlBIP6FRIZXpqjW2gmQDBbIul7-uN5J5QUM-jirGZrK7-Cclzmh4HtpRkMUQc0eH6iJEpPMyPb4YZwd2sPbvFzRBhmOjVlVJXw3SoPRAgZ8H3vHzE8yh0fM_CnMibGebC885B3wlyft-kd24VPsYnKl0Y4O7E45BUdOl7yeMaQsp-6iOVPZlG6tSdvebjtphdpCRs53p7zbjPT9kfOW5PrhD-8r8bNK4WklfqwUnlXqn2OaMVwW5m6uMhQY_F2X_3ncL2w-kLlrhp18M3et7HRTNqNaysIRw2u5oiF5smullfMqReFtRXX97E8AAAD__yUEWWw= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_join b/pkg/sql/opt/exec/execbuilder/testdata/distsql_join index 8bd316c93a5b..1600cfd44788 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_join +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_join @@ -171,7 +171,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lt9v2j4QwN-_f4V1T_CtUbATfkWqRNcyjaqDDvqwaUJTIF5BozF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Vb7NcvKodq5xhsztFCUXR4Hx9iVjaKkKN-WsSunrtKCRsKUJqJQpaksTGkqC1PaYHXqKt2hkTCliShUaSoLU5rKwpQ2WF1Unh6itDHDXm2ljV3163ooaSTMQyIK9ZDKwjyksjAPDZagPNTkotUlojATqSxURTIMc5EMw2Q0YcbNOqeQkIiO5ijxuzXmo7kx43ZdVUiLiMKMpLJQJckwzEkyDJPShBlPOFWl7BFRmJRUFiolGYZJSYZhUpow4zknL2UHkdIcpXHvriyluTHj3l1VSpuIwqSkslApyTBMSjIMk9KEGY87VaXsE1GYlFQWKiUZhklJhmFSmjDjoSf_0tdGpDRGKY17eGUp-7s5h7t1-P2r74EL7ee_5pGPwx-kF6j7GNwnmK3C7xn39nGjY3Dv1DrWHD6rb3qoEx09-IEfJ_4S3CTa6t3ul_8DAAD__6vIYNk= # TODO(radu): rework these tests (the inner ORDER BY aren't useful anymore). # diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_merge_join b/pkg/sql/opt/exec/execbuilder/testdata/distsql_merge_join index 40ef6ca010af..b99f716d1efb 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_merge_join +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_merge_join @@ -206,7 +206,7 @@ vectorized: true table: parent1@parent1_pkey spans: [/3 - /5] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycktFv0zAQxt_5K0731IBR44TxEKlSpi1Api4dTRFIEKEQH11EZhvbkUBV_3eUeNKWaQW6lzj3nT_79528Q_uzwwSzT1fL07yA2Xlebsr3ywDKbJmdbeA5vFmvLkHXhqTjcLHKC2iu205w-FDmxVuY6VbwAD6-y9aZL-BLH4YxLSAO4LQ4vy82CzgJkKFUgor6hiwmn5FjxVAb1ZC1ygzSbtyQi1-YhAxbqXs3yBXDRhnCZIeudR1hgpv6W0drqgWZeYgMBbm67cZjPWXql6_6B_1Ghmeq62-kTWBgYtD4b82RYanroTGPX85fY7VnqHp3d7F19ZYw4Xv2NDg-hbudZ3q7HsDT_w8WHQS74-mlMoIMiQlLNTj_teWRdJdktnShWklmHk3TdfTdzVL-IliYdnvtf5HhqncJpK9YesLSiKXxwTDxMVNek9VKWnoY6tGTwyEJiS35yVjVm4aujGrGa3y5Gn2jIMg63418kcuxNT6D-2Z-hDl6aI7-ao4n5nBf7Z_9CQAA__8YPC_P +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckt9v0zAQx9_5K6x7WsFV44TxYKlSprVApv4YTRFIUE0mvrbW0jjYjsZU9X9HTgproxYYfrDru_P3Pt9rtmC_58Bh-Pl2dJVMyMUgSefph1GHpMPR8HpOXpK3s-mYlMJg4Ri5mSYTkq1VLhn5mCaTd-SiVJJ1yKf3w9mwuZCvVRBE2CdRh1xNBofBrE8uO0Ch0BInYoMW-BdgsKBQGp2htdr40LYuSOQP4AEFVZSV8-EFhUwbBL4Fp1yOwGEuvuU4QyHR9AKgINEJldeyDWXcHHflPT4ChWudV5vCcuKZKMmaXTCgkJbCJ3pRt_cGFjsKunJPja0TKwTODkiTAfBgR_8Plh3D7ucb788zuOW_g4YtUHYW9ImvKrSRaFAesS38y7-VnHA7RrPCG60KNL3w2G2OS3cRs1edvlGrdfMTKEwrx0n8msaXNA5pHJ01F7XMhc_5F2ZoS11YbJs82SlodeoybxXlCpvRWV2ZDG-Nzura5jqtheqAROuabNhckqJOMd_BoNj8_ogOldgzlMJDJdZWCv-oFB0pBcdMCwrLXD_cKQkcgv3qnth-LfAPxMr6Yadr_VDLzh9LP6qlyC1SGIt7HKBDs1GFsk5lwJ2pcLd78TMAAP__pl5wtg== # Swap parent1 and child1 tables. query T @@ -260,7 +260,7 @@ vectorized: true table: parent1@parent1_pkey spans: [/3 - /5] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycktFv0zAQxt_5K0731IBR40TjIVKlTFuATF06miKQIEImPrqIzDa2I4Gq_u8o8aSt0wqMlzj3nT_79528Q_ejxwyLj1fL07KC2XlZb-p3ywjqYlmcbe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z8CAAD__53KcLM= # Select over two ranges for parent/child with split at grandchild key. # Also, rows with pid1 <= 30 should have 4 rows whereas pid1 > 30 should @@ -314,7 +314,7 @@ vectorized: true table: parent1@parent1_pkey spans: [/29 - /31] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckt-Pk0AQx9_9Kybz1Opq2UUfjqQJ5xUjlx6ctIkaJQbZsUfkWNxdEk3T_93A1pw0rab3wjI_vjuf72S3aH7UGGD04XZ5GScwWcSr9erdcgqraBldreEpvMnSG2gLTY3lcJ3GCZR3VS05pMmf9Iu2khzm-4KL3r-Nsggmo47Pnef5NAdxMYXLZHGsWs7B51NIs0WUweuPownIsFGSkuKeDAafkGPOsNWqJGOU7lPboSGWPzHwGFZN29k-nTMslSYMtmgrWxMGuC6-1pRRIUnPPGQoyRZVPVzrXITu-NJ-p1_I8ErV3X1jAuhBGJTuW_RMq7boCzNx8XzmC8x3DFVnH0YbW2wIA75jj8PjY7z9RsL9eQKwPQdNnER7IOoapSVpkiOavFf-r-WIvxvSG7pWVUN6Jsb-avpmJyF_Np3ranPnfpFh2tkAwpcsfMVCzkLBQv-kH_-cVWdkWtUYOvR19GavN0NyQ245RnW6pFutymGMC9NBNyQkGeuqwgVxM5SGt_C3mJ8hFodi8U-xPxJ7u3z35HcAAAD__wQuRD4= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycktFv2j4Qx99_f4V1T-U3d8TJ9tBISOlKpqUC0gWkbdpQ5cUHWA1xZjvqKsT_PjmhK0GwifnBxnfn732-RzZgfhQQQvz5bnSdTMjFMJnOph9HPTKNR_HNjPxP3mfpmFRcY2kZuU2TCclXshCMpJPn8OtKCkYGu0R7-_QhzmJy0an4VntegAPiX_XI9WR4LJsPSMB6JM2GcUbefel0AAqlEjjhazQQfgUGcwqVVjkao7QLbZqCRPyE0KMgy6q2LjynkCuNEG7ASlsghDDj3wvMkAvUfQ8oCLRcFo1s6yJqj_vqAZ-Awo0q6nVpQuJAKMnbnTumacVdou9fXfYDH-ZbCqq2L62N5UuEkO2xJkMIvS39N1zWxd1NKNqdJ4Crc1D9A1R2EvWFsC6VFqhRdOjm7uXfSo74HaNe4q2SJeq-3_Vb4MJeROxVb6DlctX-BAppbUMSvaHRWxoxGvk0Ck76Cw78-ef8FRmaSpUGD30e7eQddLpkzi2KJbbTM6rWOd5plTe17TVthJqAQGPbrN9ekrJJMddBI1___pL2ldgZSv6-EjtU8v-oFHSUvC7TnMKiUI_3UkAI3m5dHtmeF7gHfGncsKcr9djIzp4qN6oFLwxSGPMHHKJFvZalNFbmEFpd43b7368AAAD__3r3hSU= # Parent-child where pid1 <= 15 have one joined row and pid1 > 15 have no # joined rows (since child2 only has 15 rows up to pid1 = 15). @@ -375,7 +375,7 @@ vectorized: true table: child2@child2_pkey spans: [/12 - ] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycktFv0zAQxt_5K0731IJRYxd4iDQpsAXI1DUjKQIEETLx0UVksbEdCVT1f0dxJo1MK1BeYvs7f77fd8oO3fcWY0zfX66eZ2uYnWXlpnyzmkOZrtLTDTyEl0V-AUZa6jyH8zxbQ33VtErA2zJbv4KZaRSfw7vXaZHCsIdPfRQt6QS4gLw4Swt48SEUkGGnFa3lNTmMPyLHiqGxuibntB2kXbiQqR8YRwybzvR-kCuGtbaE8Q5941vCGDfyS0sFSUV2ESFDRV42bXj2BjW5WT-bb_QTGZ7qtr_uXBxQGBg58JRGDtKCi8dY7Rnq3t_2dF5uCWO-Z__Hxadc49SScTlAVTdKhO-SQS3FPxKKg4S3YH2nrSJLagJVDc6_Xbkn5gXZLZ3rpiO7ENOYLX31s4Q_mp_YZns1bpFh3vsYEs4SwZInLHnKkmcH8yyPmXhBzujO0d1c974cDWFIbWkcjtO9renS6jq0GY958AVBkfNjVYyHrAul8Ev8buZHmMVds_ijeTkxR_tq_-BXAAAA__9zHzAy +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckl1v0zAUhu_5Fda5asFVYxe4iDQpsAbI1I-RFAGCajLxaWstjYPtaExV_ztyUlhbtcDwhT-Oj9_zvCfZgP1eQAjxp-vRq2RCOsMkm2XvR12SxaP4ckaekjfpdEwqYbB0jFxNkwnJV6qQnHzIkslb0qmUZF3y8V2cxsTvydc6CAZ4QRgn03QYp-T15-YCKJRa4kSs0UL4BRjMKVRG52itNj60aRIS-QPCgIIqq9r58JxCrg1CuAGnXIEQwkx8KzBFIdH0A6Ag0QlVNLI71Gi33lS3eA8ULnVRr0sbNiiUVMLzZJXwoT7jPZhvKejaPdS0TiwRQrYHmQwhDLb0_zjZIWfbxahdzlDmSvJmHlCSC_6PxPyImJ0lfgCtS20kGpQHkHP_8m8pJ2yP0SzxSqsSTZ8f2i5w4ToRe9a9MGq5ardAYVq7kESMRpxGz2n0gkYvz_obHPnjj_kiKdpKlxaPfZ6sFBxV6jHvFuUS2-5ZXZscr43Om9z2OG2EmoBE69pb3h6SsrlivoJBsf79Q-0rsUco8X0ldqzE_6g0OFAKDpnmFBaFvrtREkIIdqN3Yvo1wD8QS-ubna30XSM7u698qxaisEhhLG5xiA7NWpXKOpVD6EyN2-2TnwEAAP__bPVxGQ== # These rows are all on the same node 1 (gateway). query T @@ -431,7 +431,7 @@ vectorized: true table: parent1@parent1_pkey spans: [/1 - /1] [/11 - /11] [/21 - /21] [/31 - /31] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckt9v0zAQx9_5K0731MKh1g7wEAkpsAXI1LUjKQKEImTio43I4mA7Eqjq_47iTNo6rcD2Evt-fC-f78k7dD8bjDH9dLF4lS1hcpoV6-L9YgpFukhP1vAY3uSrc-iU5dYLOFtlS6i2daMlfCiy5VuYdLUWU_j4Ls1TGO4wjBEEQhBIQRCJKazy0zSH159DAxK2RvNSXbLD-AsKLAk7ayp2ztghtQsNmf6F8ZywbrveD-mSsDKWMd6hr33DGONafWs4Z6XZzuZIqNmrugljR8pkPL52P_g3Ep6Ypr9sXRxACKpay_CNCColkbDo1FCeiaczCarVEIHxW7YOyz2h6f01i_NqwxiLPT2MVxzyXq04uTqPEHdK3KSczf8PUh6FvGbrW2M1W9YHXOWg_FfLHU7P2W74zNQt25k8dNrwdz9JxJPpS1tvtuMVCVe9jyF5TskLSiQlESXPjvqJ7rP0nF1nWse3fd05eT6YYb3hcTnO9LbiC2uq8JsxXAVdSGh2fqzKMcjaUAqv4qZY3EMsb4vlX8XRgXi-L_eP_gQAAP__0cE51g== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckt9v0zAQx9_5K073tIKnxg7wEAkpsAbItLUjKQKEqsnEt9ZaGgfb0Ziq_u8oSWFt1QLDD_515-99vpes0H0vMcLk89XF63QMJ6M0n-YfLgaQJxfJ2RSewttscgm1tFR5DueTdAzFQpdKwMc8Hb-Dk1orPoBP75MsgXYPrQxnwDkDwRmEfACTbJRk8OZLl4AMK6NoLJfkMPqKHGcMa2sKcs7Y9mrVJaTqB0YBQ13VjW-vZwwLYwmjFXrtS8IIp_JbSRlJRXYYIENFXuqyk-0p4365rm_pHhmembJZVi7qQBgUWoluDhkUUiDDvJZteMhPhwJkpSAE4xdkHc7WDE3jH1icl3PCiG_BpyOMgjX7P36-y79pebxZjzioJd-mHgb_Bi32oPlR6AfWpjJWkSW1wzlrX_4t5YDzS7JzOje6IjsUu85LuvEnMX82eGX1fNFvkeGk8RHEL1j8ksWCxSGLnx_1F-75E4_5KBm52lSO9n0erBTsVTrlrVtSc-q750xjC7qypuhy--OkE-ouFDnfR0V_SKsuxNsKluTy9z-1rcQfoSS2lfi-kvijUrijFOwyzRjelObuWiuMMNiM0wPTr4HtAzl3bbPzhbnrZKf3dduqG1k6Yngpb2lEnuxSV9p5XWDkbUPr9ZOfAQAA__-skHq9 # Parent-grandchild. # We add the pa1 > 0 condition so a lookup join is not considered to be a better plan. @@ -504,7 +504,7 @@ vectorized: true table: parent1@parent1_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElVGPm0YQx9_7KVbzZJq1lt0F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yqomAZy2yHZdRDUa0lLbUeiwl1Z1IFtXozMKFzNCkUYS3coF_azkKt5EiSdiYtSUn7WTCpHEvSz1Qw6Rlasn4WTGpc7Aah8P1LJRQSlCNJJBTSkyNJFWyZn0xBwVhnaMkUFIxlXqygUPfBpQoKx4QcSdaEwiYjh5JKKBzQciyZhML5fIaWTELhgCbCCd1YQ_GAFk7opiIKKZ6BkqgoZiiHkqrYNkWZjIK7zhGT6SjYiwjndGMdWXbTffLD7188FyxQ93-9E8PhD7IJzirJrtuzdfg9x52_RNll-cnxE47h0fnG73nK42cv8JLUW4KVxhu-3f70XwAAAP__ekvyhA== query T EXPLAIN (VERBOSE) @@ -575,7 +575,7 @@ vectorized: true table: parent1@parent1_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElVGPm0YQx9_7KVbzZJq1lt0FjkM6iShxWkcXO7WvaqXWqghsbVQCdMFSo9N99wqwY8zZu3YplxdsYH47s___DPsIxd8JeDD59eP96-kMjd5Olw_Ln-4NtJzcT948oO_Ru8X8A1rLII3CTZxEDL2fT2coD6RIS4p-Xk5nP6BRHkfUQL_8OFlM0Gg0qu_R71vT5OIOUWqg17O3qPU0vEOUGwaaL1A3-PZUMKPGyWh-cmnO99F5sI9FpgEY0iwSs-CzKMD7DShgYICBAwYLMNiwwpDLLBRFkckq5LEGptE_4JkY4jTfltXjFYYwkwK8RyjjMhHgwUPwKRELEURCEhMwRKIM4qRO09LOb_3_I_9LfAEMb7Jk-zktPFRtAaMwjlh95Ritm5t1GFRlLvOgChsTRixGGGEoSCNEUVZuhITVE4ZsW-4qPBT26QvaBMXmuCSfwupphaEog7UAjz7h_7ZT-3jZXVP4u98zO8wD2tpNp_BDUeyaot7FSSmkkMQ5rqh57tU96bc70vO86ezB3XWP327L_atdv7Wx27MY-7riCY6fT8d5h_PZ14bdv-nlLT8r42GdTEZCiqi7zqsq8SFqm56Kq3N17fgg5Fq8z-JUSHJzvGwi_ixHPn1l3Ml4vW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rlGKvMs-mboQ9f_pf2rFJWo7asR9wwdnnM3Sruu4zIMWoTnIrL167K88jjFf8UegGPlX4Z1udPaccm77p3sbda734ChskmtZBNsE2xzbCtYVvHdr_WPFoly36DLFvwH4e9MFIIrUSe5qJXuBBaIkOatxu76kajEFXR1Wwkak8hmqJr2Ui0q-07rLYQN_IeUW9hPlLeX2lzwcl1BT8cLD3FUDRDMRTjalKT2hLcSGrzFkqbpSxZc6G1K3f2sZl7CjEV3cxGYl5Nbq22ELfqbHKTzi7bWmsuOL2u4Id-7hU39VxtulM7-aFy09oy3EjuwS3UHrS5gU55EoVBwhtdEdTKSj2SJczdFd_VMAk38ZJ_jsNlHrt7nORAuRguT9LdV7Z7GAWHT0kac-f5bQtujmTWI_XbIREqIcXaYRkSqEFLWmo9FtWrWKSKpRaxyhmqRSi1ikRbCEiLSEY7JLMeaXcFbQ5VUbCMZbbDMuqhqNaSllqPxYS6M6mCWr0ZmNA5mhSKsBZu0C9tZ6FWciRJO5OWpKT9LJhUjiXpZyqY9AwtWT8LJjUudoNQ-P6lEgoJypEkEgrpyZGkCrbMT6agYKwztGQKCsYyL1ZQqPvgUgWFY0KOJGtCYZORQ0klFA5oOZZMQuF8PkNLJqFwQBPhhG6soXhACyd0UxGFFM9ASVQUM5RDSVVsm6JMRsFd54jJdBTsRYRzurGOLLvpPvnh9y-eCxao-7_eieHwB9kEZ5Vk1-3ZOvye485fouyy_OT4Ccfw6Hzj9zzl8bMXeEnqLcFK4w3fbn_6LwAA___tf_Jr query T EXPLAIN SELECT * FROM grandchild2 JOIN parent1 USING(pid1) WHERE @@ -638,7 +638,7 @@ vectorized: true table: grandchild2@grandchild2_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsl19vo0YUxd_7KUb3yXTHhRn-2EaKNKtdb-tVgrdOpFZqrYo1U4zqBRew1FWU714BxuaPl2uHJulDXohh5sedM-fMjX0Pyd8bsGH666frtzOHDN7Pbu9uf75WyO30evrujnxP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p8WiXybtbCgInjQS-tlmUtzWL0ucwvmLxLgxi1umAJNeWGpOUC-a4LKc5DvfRhn2Jwk02N79dZkDZh7HD4iQfVfKbeVAMxUnE7Ptj3-iORORmqPw02QNLF2AZ_bCMZiiq9ExLwBad1rFIHUsuY9EKlFyGkutItMcrpGUkvR9S7RVWoPJvpR5YugBr0g_LaIaias-0BGwpHPGK8BWqzWpQOPOoQihi9JCDJoTSm5E4uetDhcWJXYwkFBZHVQuWQFiU22fEWCJhcdtMS1oiYXHEG4OFxVlnIoSaNquB42o6VA0cVWIkoRo4qlqwRNsMp1IxlkgNnEhb0hKpgSOecG2nsxy4HZ6I2w4R9B1uKyWDGw_hNq0WLKEm-CKH9x7K9bEWMJEqODO2JSaSBU__8PbDf4y09B-tWRY8YVwD6ioLni8xlFAVPF8tYCJV8HoVg4lUwcu1JTGRKnj2uT7UWRVGekq488MfXz0HTJAPf-NnLsUfpAG2G6dHlZtt-CPDvX3YpQeNO9uPGYZr-zu7ZAmL7r3AixNvA2YS7dnT00__BQAA__8X09XB query T EXPLAIN @@ -696,7 +696,7 @@ vectorized: true table: parent1@parent1_pkey spans: [/10 - /39] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklFvmzAQx9_3Kax7CppXMORlSJGIWrZRJaQLqTZpQxPDN4pGMLONtCnKd5-wI7VESbf0yb7_3c_3v4MdqF8NhBB_vlvMk5RMbpJsk31cOCSLF_H1hqh-O-kKia1mV13NmUONVD7UDWdX5aCQd-vVkhyKyO0qSYlNk_ssSd-TieHIpw_xOrYB-dp7XoAzwjyHzNObp2o5I8FbByi0gmNabFFB-AUY5BQ6KUpUSshB2pmChP-G0KNQt12vBzmnUAqJEO5A17pBCGFTfG9wjQVH6XpAgaMu6sY8a31G9vjW_cQ_QOFaNP22VSEZTFEyzAgUsq4YNJd5b9ypB_meguj1Y1eliwohZHv6Mmds7OywzuhwnvT2_678s64ezfStkBwl8pGRfCD_VXJitCXKCm9F3aJ0_fFoDf7Qk4i9dmayrh7sFSiseh2SKKCRf3aM4JLlzqtKYlVoId1gbCC7X04iNvQ0N98523B6ScM1qk60Co_3d_Jlb1ga8grtR1CilyXeSVGaNjZcGc4IHJW2Wd8GSWtS5nd7CrMLYP8Y9p-FgxHsHcPBs_D0CM73r_4GAAD__8bQcHA= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckt9v2jAQx9_3V1j3RDS32Akvi4QUVNiWih8dodqkDVVecoSoIc5sR12F-N8nJ2yFCLoxP8T21-fvfe6cLegfOfgw-nI3HoRT0hmG0SL6NHZINBqPbhZEV5tOKRQWhl-XWcIdWkvxOssTfh1bhbyfzyZkH0RuZ-GUNMfkPgqnH0invkc-fxzNR82GfKsY87BPOHPIYDo8VOM-8d45QKGQCU7FBjX4X4HDkkKpZIxaS2WlbR0QJj_BZxSyoqyMlZcUYqkQ_C2YzOQIPizE9xznKBJUXQYUEjQiy2vbhjNopofyEZ-Bwo3Mq02hfWKhKLE1AoWoFFbrcnbV7TFY7ijIyrxk1UakCD4_wAyH4LMd_T9Sfky6b2-wn0-y_jul26LkZylf4KpCqgQVJkdgS3vzbyEnSp2gSvFWZgWqrntcao4r0wn4W6evsnTdLIHCrDI-CTwauGfL8lpluZc0f5CmClNhpOp6x0DR_aQTcMtQr1znLECvBeBdAjBHXcpCY7u_JzOxVqYrbruMSYrNq2lZqRjvlIzr2GY7q41qIUFtmlO32YRFfcRtBoVi8-fnPXTiFzi5h0687eS-6uQdObFDJ7ft5L3q1DvvxGzHVrl8esgS8IHtx9WJz-8B9oJItX22aC2fatvFc2mbvhK5RgoT8YhDNKg2WZFpk8XgG1XhbvfmVwAAAP__SLm6lg== ############### # Outer joins # @@ -824,7 +824,7 @@ vectorized: true table: outer_c1@outer_c1_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEVu9r4koU_f7-iuF-0teRZPLD2sCDFJ99WKz2qYWFRUqa3FVZm8lOImwp_u9LTMTV1YxhjH4Rk8yZc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i0rWwgqUoi0nXwgpWt5zFpYthVUZFSC6Lr96ymWrPls0_f9O2snuEx1X08yHwwQZ9_2gdeTo8IPuBu0iyG5XpMvq55WY3dgnYj-4qQQp37g-8xRTFUxAGSRp4YKdijZvNL_8GAAD__7VJqo8= query T EXPLAIN (VERBOSE) SELECT * FROM outer_gc1 FULL OUTER JOIN outer_c1 USING (pid1, cid1, cid2) @@ -884,7 +884,7 @@ vectorized: true table: outer_c1@outer_c1_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyck1Fvm0AMx9_3KU5-ShZXyQFpO6RJV2V0oqKhC4k0aYoqBh5Doxw7DmlVlO8-AVsaooamfUH4f_6bn7FvA-XvDGxwvt55V-6cDT65wTL44g1Z4HjObMnes-uFf8tkpUndJxFn1yvPYze-O_-nRZytAnf-mQ2KNObIov9PYwgIuYxpHj5QCfY34IAwhTVCoWREZSlVLW-aJDf-A_YEIc2LStfyGiGSisDegE51RmDDXJ7JYmwBQkw6TLMmbYsgK_1kKnWYENjTLe4V5v2Fl-H3jBYUxqTGk0552DUudm_3xS96BISZzKqHvLTZYePIkjZIorDuOSjCOu0MjsHyt8Ly52B3rCehnohoHEV8IqtyqWJSFB9O6OWUZ_q8JZXQjUxzUmOj2-fysSC73UR_tXQWzT4CQkY_9EDwEQpjhMIcDT-qNPnZlQDBr7TNBEdhoDBRWCimKM5RXKC4RPHh6D8wXzOmdlnNLviC8piUzWb-lecEM2dQU5wPcU8wUFx0BBPF5RCZsJCJKbIePqvD98JlWlBZyLykk27TpB4QxQm1Ay9lpSK6UzJqPtOGfuNrhJhK3Z5O28DN26MacN_Me81mx8wPzcYrzMah2ew1W_3YVq95cmBeb9_9DQAA__8XQ7Wb +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyck1FP4zgQx9_vU1jz1B5TUScpcJZOMirlFFRarinSSiuEsskQItI4aztiEep3XyWB0kS0wObBisfj__xmPPMM5mcGAibfrqan_oz1zvxgGfw_7bNgMp2Ml-xvdr6YXzJVWtK3ScTZ-fV0yi7m_uzFFnF2Hfiz_1ivSGOOLHpdnT4g5CqmWbgiA-I7cEAYwQ1CoVVExihdmZ9rJz_-BWKIkOZFaSvzDUKkNIF4BpvajEDATA1UcegBQkw2TLPabY2gSvt2ydgwIRCjrSj-GQhvjVuB-P5Ay_BHRgsKY9KHw1Y42BRCbv5uiwd6AoSxyspVbgTrFgJZ0mySKKxqEBRh5TaAXfC8Az_8U3j-HvyG_VPon0R2Osh8J_IbaZkrHZOmuPuiH7u8k_cl6YQuVJqTPnTaeS-fChJN586vl5NF3b-AkNGd7Ul-gNI5QOke9P_VaXLfNgHCvLSCSY7SQemi9FCOUB6hPEZ5gvKfnTVxOzVxvvKMTbO77UQWlMekBRvPT6eTYDzpVVRHfdwyOCiPWwYX5UkfmfSQyRGyPbxeh9dt8X4wnAsyhcoNfWo6h51IA169KMUJNR1iVKkjutIqqn2b7bwWqg0xGducjpqNn78eGaspXG2mZluJ71VyW0p8r5LzBSVnW4l3ldy9St7u7JyukrdXabhbya1qf5epx9s0BgHDl2_wzvL6QXUhTEzVAMG9eqxlqykzIO7CzBDCZfhAZ2RJr9I8NTaNQFhd0nr91-8AAAD__1CPCRE= query T EXPLAIN (VERBOSE) SELECT * FROM outer_c1 LEFT OUTER JOIN outer_p1 USING (pid1) WHERE pid1 >= 0 AND pid1 < 40 @@ -937,7 +937,7 @@ vectorized: true table: outer_p1@outer_p1_pkey spans: [/0 - /39] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlWFPm0AYx9_vU1yeV3Zewx3QWklMMIpbTW1dW7MlGzEIz9pmlWMHJDOm330BbBRWoea07k1TDn733PP_3eXuIf69BAucb5eD4_6Q7J32J9PJl0GLTJyBczIlH8nZeHRBRJqgvPY5GThnU3I-6g8fhiJOrib94SeyFy0C3iJfPztjp3ggP1LGDDwirEWOh6dPB31ishZQCEWAQ-8WY7C-AwcKOlAwgIIJFDrgUoik8DGOhcw-uc-BfvA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1tKe-JmkZA-SvQr5GU-cvvIrgfA4e_KuetLdI1yhZ9FEKHUBtUxi_sY7VL19OtiNCuEA4UQb9Mzh7_rvZfBal1-BArTLLWJw6mjU8egjkmdQW15nko3aqUPXlD6jqImoi9ijbP6Iu3MYtY1sEoYvn-L6a_RYlZf4-zNekxvre1IPXZ-sh47r5Su76_VeA2tnPU1_nb_HUZrcUfyOjyZ12GldGN_r-areLX6mv52v1eztbgjeb04mdeLSunm_l7ZLq_e1qvX5tXbvuuUePVd32Qv0sprtbHW2o6k1TqZVqt1q98ReYZJLKIE99rIWW2mPs9XAf0VlgubiEx6-EUKr3i2vJwWoMKQj0lafstZeTWOiu_0fAqJ7t1_pzQFVDtpoEYyOzIphhp0oBRTDdtReiMVr6PYc5ReQfEKqpFK70Tx6rKz5yxWRxkH94KuiGonnauRunpBMVRXLyim6uqFRirz4F5opLIOFmgootpJQzVSl0DFUF0CFVN1CWykGhwssJHq_GCBpiKqnXShRuoSqBiqS6Biqi6BjVTDgwU2Ul2oCOSd_8b_g2onWWoks53EFUMNOlCKqYYdq95IxRtb894GrfxodBuKHzeBDzawx1d_x9v2BfkAd5Xk57P5WvwouPnBMQH71g0TpHDtfsdLTFHeBVGQpIEHdioz3Gx--jcAAP__EPuSXg== query T EXPLAIN (VERBOSE) SELECT * FROM outer_p1 RIGHT OUTER JOIN outer_gc1 USING (pid1) WHERE pid1 >= 1 AND pid1 <= 20 @@ -990,7 +990,7 @@ vectorized: true table: outer_p1@outer_p1_pkey spans: [/1 - /20] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlW1L40AQx9_fp1jmlT23JJuHWgNCRKNGauu1kTu4CxKTubRczebyACfS734ksWhzNalsae9N6W72tzPz_88yz5D-noMB1rfbwak9JAfn9sSZfBl0yMQaWGcO-UwuxqMbwvMMk_uYkbF9eeWQ65E9fNkLfUbuJvbwkhzEs4B1yNcra2xVC_Ijl2UVTwjrkNPh-dtN_4QocgcoRDzAofeIKRjfgQEFBSioQ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SzhJeVvz-StZOsq2taDFabFYUkdXwEU33ly74Gk21oi7UXbhZx4aFAr0Je5TO3Q3YNAIu9K9eub9EtCh-_8CBCMRhW5ywfYzTJzeTjksy-LSfzInKgEOJ9emGxd70rEfjr8idQmGWpSSxGrRG1VGpp1NKpZdR26MW9VnM_fIP7Hb6mvM_jAVPq-7RTi15PQqmIYftXmXqMKjP6ufBjlpba6udEpTU6Z2mNKu7V_dPUjvLOUPoDVhf7tji1VkMninN8zjjHFffa_nHqR4nT6A_U4_479VZDJ4rz8pxxXlbc6_vHqeyK03e3efpuW6Du9lulxC8bvls_51X2poxZzaXS6vJEGRvnzNhoPdx3qJ5jEvMowb2ObqW2Up_lG4Gej-XeJjwTLn4V3C3Gls1ZASpC8jBJy6dMKVt2VDxT8yUEOg__Xc0kUO2koRxJ79AkKWrYgZJUNW5HqQ1VrI5SXqPUCopVUA1VaieKVbddec1S6ijt4FpQJVHtpJEcqasWJEV11YKkqq5aaKjSD66Fhirj4AA1SVQ7aSxH6gpQUlRXgJKqugJsqBoeHGBD1ejgAHVJVDvpUo7UFaCkqK4AJVV1BdhQNT44wIaqS5kAWefb-H9Q7SRDjqS3k5ikqGEHSlLVuGPXG6pY42jeO0Ejvxrdh_znXeCBCcrzp7_ja_uBfILjJ_n9bLHmPwtufndMwLx3wgQp3Do_8BpTFA9BFCRp4IKZigw3m1_-DQAA___GC44W query T EXPLAIN (DISTSQL) SELECT * FROM child1 JOIN child2 USING(pid1) @@ -1011,7 +1011,7 @@ vectorized: true table: child2@child2_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklGL1DAQx9_9FGGednXkNikqBITIuUqPvfbcriBIkdqMvWKvqUkKytLvLk0ezj121b2XNJmZ_8zvP3QP7kcHEtafbjZv0owt3qbFrviwWbJivVlf7thT9m6bX7P6tu00Z1d5msW7YB-LNHvPFkOr-RIQeqMpq-7IgfwMHEqEwZqanDN2Du1DQap_glwhtP0w-jlcItTGEsg9-NZ3BBJ21deOtlRpshcrQNDkq7YLbSOFip8vw3f6BQiXphvveifZTIKsjmfFAaEYqjnxHMoJwYz-fqjzVUMg-YSPA-NHwEQEE6fBRDiTGU_8D544iXdPNfbGarKkD4jKWfmvkiMer8k2dGXanuyFOPTY0Te_UPzZ8rVtm9t4BYR89JIpjkqgSlC9QPUS1auTlpJzNr4lN5je0UNrRzuvZj-kG4r7cWa0Nd1YU4cx8ZkHXQhocj5mRXykfUiFX-JPMT9DLB6KxV_FyYF4NZXTk98BAAD__7hiJgc= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckm-LEz8Qx5__XkWYR-3PlNukqBAQVq5V9uifs1tBkHLEzbQNt92sSZbzKH3vko167dKqZx6kyczkO5_vdPfgvpYgYPzpdvI2m5HeKMuX-YdJn-Tjyfh6Sf4n7xbzKSm2ulSM3MyzWTxz8jHPZu9Jr9aK9YFCZRTO5A4diM_AYEWhtqZA54wNoX1bkKlvIBIKuqobH8IrCoWxCGIPXvsSQcBSfilxgVKhvUqAgkIvddnKRoo0_tzV9_gIFK5N2ewqJ0ggoaSIu2RAIa9lSAxgdaBgGv_U1Hm5QRDsiDIbgUgO9N9A2RlQHkH5ZVDe7sOAy_8Gl3dw2UXcJ8qmMlahRXVCuAov_1RyxvMU7QZvjK7QXvFTzyWufS9lL_pvrN5s4xEozBsvSMpoymk6pOlLmr6i6euLFocdi_w5_8gCXW0qh12rZzslnU4DFgyj2mAcoDONLfDWmqKtjdd5K9QGFDofszxesqpNsdDBotz9-qCOldgzlPixEusq8d8qDU-UklOmFYV1aR7utAIByY81OLP9XBAeyI0Lw8635qGVXT7WYVRrWTqkMJX3OEKPdqcr7bwuQHjb4OHw3_cAAAD__1UHZu4= query T EXPLAIN (DISTSQL) SELECT * FROM parent1 JOIN parent2 ON pid1=pid2 @@ -1034,7 +1034,7 @@ vectorized: true table: parent2@parent2_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycktGL1DAQxt_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8fAQAA__90mWSP # Join on "non-interleaved" column uses hash joiner. query T @@ -1056,7 +1056,7 @@ vectorized: true table: child1@child1_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycktGr0zAUxt_9K8J52iRym1ZfAhci14kds53rHgQpEpvjVuySmKSgjP7v0nYwOzZ1vjTky_nO-X2HHsF_b4DD4uN69TrNyOxNWmyLD6s5KRarxdOWPCdvN_l7YqVDHRhZ5mlGqn3dKEbyjFjJyCOpJAMK2ijM5AE98E_AoKRgnanQe-N66TgUpOoH8IhCrW0bermkUBmHwI8Q6tAgcNjKLw1uUCp0DxFQUBhk3QxtTxjidH623_AnUHgyTXvQnhNbK0Z7KqBQWNlLL6DsKJg2nAf6IHcInHX0_6DYFGpchxiPG0jV-P03sPgm2Jmn1cYpdKgmLGXv_FvJlXTvpN8vTa3RPcTTcA1-DTMRzx9dvduHmUjmQCFvAyeCURFTkVDxkopXN8Mk92x5g94a7fEy1NXOUZ8E1Q7HzXjTugrXzlTDmPGaD75BUOjD-BqPl1QPT8Nv8LuZ3WGOL83xH83JxBx1ZffsVwAAAP__3qYirQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklFr2zAQx9_3KcQ9JUOhlrO9CAoeTcZc0qSL8zAYpmjWJRF1LE2S6UrIdx-yszU2ybZODxI63f3v9z97D-57CRymX-5nH9I5GUzSbJV9ng1JNp1Nb1bkLfm4XNwRIyxWnpHbRTonxVaVkpHFnBjByDUpBAMKlZY4Fzt0wL8Cg5yCsbpA57QNoX2TkMofwCMKqjK1D-GcQqEtAt-DV75E4LAS30pcopBoryKgINELVTayR4zkeD6YR3wGCje6rHeV48QoyWigAgqZESE0gvxAQdf-paHzYoPA2QlhOgEeHej_QbIuZDuepD0uIBbt_m-gcQ-UXQR94asrbSValB22PFT-LeWM20_CbW-1qtBexV2zJa79IImH11Zttn6QjIdAYVF7ThJGk5gmY5q8o8n7i-bGPXPxa77CEp3RlcO-ybOdol6nEQtWUW6wHZ3TtS3w3uqiyW2vi0aoCUh0vn2N20taNU8sdLAodr9_olMl9gql-FSJ9ZXiPyqNO0pRlymnsC7104OSwCE6rtGZ7deCUCA2Lgw72-qnRnb1bMKo1qJ0SOFOPOIEPdqdqpTzqgDubY2Hw5ufAQAA__-gnGOU query T EXPLAIN (DISTSQL) SELECT * FROM child2 JOIN grandchild2 USING(pid1, cid2) @@ -1077,7 +1077,7 @@ vectorized: true table: grandchild2@grandchild2_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElW9vmzAQxt_vU1j3ql0dGRvIH6RJTF03pWqTrumkSROaKHgEjWIGRFpV5btPQKuENLNhjOSNEwM_393z2L4nyH5FYMHF15ur99MZOvkwXdwtPl-dosXF1cX5HXqLPt7Or5G3DCOfocv5dIaC1I395wdfFtPZJ3SShD7FyAt9dgoYYuHzmfvAM7C-AQUMDDDogMEADCY4GJJUeDzLRFp88lQCU_83WBqGME5WefHYweCJlIP1BHmYRxwsuHPvI37LXZ-nRAMMPs_dMCrDVPnY1c_35Cd_BAznIlo9xJmFNvmVo46R5xZJLRK3eD0AZ41BrPLn0JuI949o6WbLeiybYpuBs3YwZLkbcLDoGv9bFbS-8pa09tb_BvUE1SSo10UYMRhhhCE39hFFIl_ytGux7K_FbpZaxSL1ecr92mJOQb58su8DsOkZttlZFW9XuGueBvxShDFPybDORfxHfvIMn75Lw2C5mQKG-Sq3UFkJtnVsG9geYXuM7cmOFpsi9Q5F7kl9JgYiIZTuyrE3tlGLTZvvJqPX3USoRkytGKk2INQgplGM1Ohvc9HjbK7JQTcXa24w69fgl9tiQIbEGJIhGfZnLTuOtaODWqs3t9bs-exujuuA0DExx8VIx_0ZrB_HYKod1GGjucN6vw6_HNnB9j1d2ssqe7P_669xHH_HR2v8exK75Vki4ow3autaURr3A14plolV6vGbVHhlmGo6L7my8fk8y6u3rJpM4-pVkWBzeNQFprQLbXaBJ3KYtlCMtYNHXeAdxVrSZhd4IofZLqxtw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4CuYXbXiqK6go5133inesFwlZ1k8QLtGJTVDMZ2trMsZmDGbrajbGYwdrN_shkMtw9PVdDIz06yKGikZydZBTR8ZWfZBDR8ZUfZBDRsNTpZQOMQHZ8qoHHE2Em2LdgxKKuCxtluZ9kUNMxuR9kUNI72yckKmhdqlz5GC8u8u7o0MhrKvLs6dTK6hoa1_gNmE9HsGrr0MjrL7BuMG7q1jKzoSx9T8f1LEkMAzutn8Maw_0AxIVqpojmer8X3kvvwvCla28coVRzDbfSNX_Gcy6ckS1SeLCHI5Zbvdj_8EwAA__8JGHTO # Subset join on "interleaved" columns uses hash joiner. query T @@ -1099,7 +1099,7 @@ vectorized: true table: grandchild2@grandchild2_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElW9vmzAQxt_vU1j3qp0cGZs_SZAmMXXdlqpLuqaTJk1oouAlaBQzINKqKt99AtolpJkNY7A3JMb8fHfPY_seIPsRgQ3nn68uX8_m6OTNbHmz_Hh5ipbnl-dnN-glenu9-ID8dRgFDF0sZnO0Sr04eHzxaTmbv0MnSRhQjPww0E8BQywCPvfueAb2F6CAgQEGHTAYgMEEF0OSCp9nmUiLTx5KYBb8BFvDEMbJJi9euxh8kXKwHyAP84iDDTfebcSvuRfwlGiAIeC5F0ZlmCofp_r5mnzn94DhTESbuziz0e_8WJUlRr5XJLVMvGJ6BO4Wg9jkj6F3EW_v0drL1vVYDsWODu7WxZDl3oqDTbf476qg9ZX3pHX2_jeoZ1UNVvW6CCMGI4ww5MUBokjka552LZb9sdjdUptYpAFPeVBbzC1I1SdHFHvvZesLEcY8JVY9u4h_y0_KFE9fpeFq_TQADItNbqNyhB2GHQM7FnYm2Jke1L8rTO9Q2JGs52IkEkLpoQRHYxu12LT5DjJ63UGEasTUiifVRoQaxDSKJzX621B02A01HWxDseamsn5NfboVRsQihkUsYvVnJxvWzvFgdurN7TR7PqO7YzkidELMSfGkk_5M1Yc1lWqDuWo0d1Xv19Wnoznav4NLS1llafZvPTWG9XTyXxr5kZyueZaIOOON2rRWVMWDFa9UysQm9flVKvwyTDVclFzZyAKe5dUsqwazuJoqEmwOj7vAlHahzS7wVA7TFoqxdvC4C3ygWEva7AJP5TA7hLV9WJfLrUthWtdbO6SNLmbJYYVZclhllpxWmCWHFWaZXcyyusgthxVyy2GV3HJaIbccVsg97iL3pIvcclghtxxWyS2nFXLLYYXc0y5y0zbN8vkV2qZbtqWVl3-bftmWVmhOnzUPqeju9sWvAAAA__9TrXLC +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8ll1v2zYUhu_3K4hzlQw0KFIftgUM0NBkm4vU6eIMGDAYhWoxtlBF1EQZXRD4vw-S4sYULVZyavlCCfXx8JzzviTPM8h_E_Dh-u-PN7_O5ujiara4X_x5c4kW1zfX7-7Rz-i3u9sPaLWJk4ih97ezOVrnYRq93PhrMZv_ji6yOKIYreLIvgQMqYj4PHzkEvx_gAIGBhhswOAABheWGLJcrLiUIi9fea4-mEX_gW9hiNNsW5S3lxhWIufgP0MRFwkHH-7Dzwm_42HEc2IBhogXYZxU09TxBPWfT9kX_gQY3olk-5hKH32Lj9VRYrQKy6AWWVg-HsFyh0Fsi5epX2f8_IQ2odyocwUUBzYsd0sMsgjXHHx6kNLsCnxrh0_LiqozHZQ6OPi_Q37rerBW8ySMOIwwwlCYRogiUWx4_tbkWSN52pr8K3qbijziOY8U-LL88nuvHKngH6HcvBdxynPiqdEm_KG4qEK-_CWP15v9ADDcbgsfVSMcMBw4OPBwMMHBtFGP10TtRqLeGxI9ksVcjERGKG2W5GgsTrPoatVpd8s5Z7UcoRZxrfJKrRGhDnGd8kqdczrQaa3FAA6cDujAqZIo6y46O6_o-21mRDzieMQj3jnlZq1VGEDu8YByj5VE7e5yu2de46_LekTohLiT8kon5xTdba3FAKJTa0DVqdpNON1lt88r-35tjw43-UpzVmsuf7TodmslBhB9MqDmkz4N5B2XmUgl79Q4WI2ZRrRMm0drXpdRim2-4h9zsarerYe3Fag6SiMui_opqwezdP9IFjkPH7_1v91J43aS149EaTuKsn4s14Ca9ENN21HMaaJoj6ozJap-pHE7adyP1Ki6GpTdj-UaUNN-qGk7irlNFGuirEOU3S6grZndNqKoqqBlXDfOqV7QXGUmGbxAewZlNIO2nM0sgxmYtprNKJMZtNXsnmwGze3eqQpq-ZlJBgW19Mwko4Car8wsk4Car8wok4CarcYnC6htopNTBdS2GDPJtAR7BmVUUNvbzSyTgprZzSiTgtrWPj1ZQf1A7dPHKGHpZ1efRkZB6WdXr05G1VCz1ndgJhH1rqFPL6Oy9L5BO6E7y8jKvvQhEV8_xRH4YL38Rkcu-x-UH4RrWTbHi434WnHvn7KytX0IE8kxfAi_8Cte8PwxTmNZxCvwi3zLd7uf_g8AAP__xadrhA== # Multi-table staggered join uses merge joiner on the bottom join # and a lookup join on the higher join. @@ -1132,7 +1132,7 @@ vectorized: true table: child1@child1_pkey spans: FULL SCAN · -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 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyck1FP2z4Uxd__n8K6T_SPEXHKhhZpkjfaTUGlZW0nbZoq5MWX4JHame2IIdTvPjktaxIog-WhyfW9Of6dHPcO3M8CEhh-OR-9S8dkb5DO5rNPox6ZDUfDkzn5n3yYTs5IboWW2ZUqJCOnk3RMNs-fZ-n4I9krlWSUZEqy3rpdCovat_o9MpkOhlPy_isJJVDQRuJYLNFB8g0YLCiU1mTonLFh6a4eSOUvSCIKSpeVD8sLCpmxCMkdeOULhATm4nuBUxQS7WEEFCR6oYpatgHOG88X5TXeAoUTU1RL7RKydUBJfn8TgXJWijBwAIsVBVP5LYbzIkdIWIM7HUASrei_obM2-ob6GcDPBI07oGwn6Jav0sZKtChbbIvw5t9GHnF7hjbHU6M02sO47bbAS7_H2T7l8X7vrVX51bYECpPKJ4QzymPK-5QfUf6K8teUH-902--4jV8SS2DcpNJvc25ONt_c73MZGXNdleSHUZoYHVAfhlXWMT10ckz5m502jjo2-i-xMUVXGu2wG96jO0WdnQ5YiBBljusj4UxlMzy3Jqtn1-WkFqoXJDq_7sbrItV1i4UdLIrlnz9HU4m9QCluKrGuUvykUr-lFDWV4q5S_0mlo91KUfhil4W5uVASEog218EjP_cXhBdE7kJssytzU8vOb8vw0S9F4ZDCmbjGAXq0S6WV8yqDxNsKV6v_fgcAAP__pXzUpw== # Multi-table join with parent1 and child1 at the bottom uses merge # joiner but induces a hash joiner on the higher join. @@ -1164,7 +1164,7 @@ vectorized: true table: grandchild1@grandchild1_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckm1v0zAQx9_zKax71bJDq5PyFAnJaBSUqWtHUyQkFKEQH1lYZgfbkUBVvzuK06lNtxbKK-ce_rnf-e8V2J8VRDD5fD19G8_Y4F2cLJOP0yFLJtPJxZI9Ze8X8ytWZ4aU4-xy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soYU9ZHiIVKyEenweaQoTOyqMreXSkIK0XLtP_HzsCBcEKULtuXX5raFnd7VYehXonJI4Uzc4DF6tHOllfOqgNTbBheLF78DAAD__9JB0Ms= statement ok DROP TABLE grandchild2, grandchild1, child1, child2, parent1, parent2 diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_misc b/pkg/sql/opt/exec/execbuilder/testdata/distsql_misc index 28a9cc6d2358..99337888a4c4 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_misc +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_misc @@ -92,7 +92,7 @@ vectorized: false · • create statistics · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lNGK2kAUhu_7FMO52oWRzCRx183VirUQ2OrW5KJQpMw6BysbM-nMBNqK716SIFtlnYRob8RM_P1-vjOcHZifGUQw_fr8NI5n5OZjnKTJl6dbMllMx-mUJOk4jZM0niTEcDKfEUE-LeafiRRWAIVcSZyJLRqIvgEHCj5QCIBCCBSGsKRQaLVCY5SufrKrA7H8BRGjsMmL0lbHSworpRGiHdiNzRAiSMVLhgsUErXHgIJEKzZZjanQj9XH9-IVfwOFicrKbW4iUjVKClF9HXiciFwSTpT9gRqWewqqtG9AY8UaIeJ72r1UIrZFhtobHhdqjpPNH4wIZ4xVfRMrbEQe-Vmwfxb8xitzpSVqlEe85f5stfF6rXEtrNIeZ91LkhufMfJSrl7RmtuzlYOjyrz7AHmPAXp84Pk9RthS6zDCu6uP0O_uw-_jwx94QQ8fLbUOPu6v7iPo7iPo4yMYeGEPHy21Dj5GV_cRdvcR9vERDrxhDx8ttQ4-Hv7rynsHvEBTqNzgyep7_59ZtRJRrrHZn0aVeoXPWq1qTPM4r3P1gURjm7e8eYjz5lVV8N8wd4b9ozA_Dftucgs6cKZDdzi8pPfQGb5zk-8uId87wyM3eXQJ-cE9K9ZyTdyX7JS93H_4GwAA__-fBhCl +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lVtvmzAUx9_3Kazz1EpGYCA3PzVqOwmptwUeJk1R5YbTFJVgZht1XZXvPjlZ1sIKSpDCAwIDv_Pz3xfeQP_MgcPl97uraXRDTi6iOIm_XZ2S89nlNLkkcTJNojiJzmOiGbm9IYJ8nd1ek1QYARQKmeKNWKEG_gMYUPCBQgAUQqAwgDmFUskFai2VfeVt80GU_gLuUciKsjK2eU5hIRUCfwOTmRyBQyIecpyhSFG5HlBI0Ygs35Sxpc_s6b58xlegcC7zalVoTqxRXAp76biMiCIljEjzhArmawqyMu8FtRFLBM4-GEYXwL013V8yFqsyR-UO6oLb5jj7jZwwz_Osf2yE4eSMtYr4DZFBq8h7_aqQKkWFaa3-fN2qOl0uFS6Fkcpl3v7S5MT3PPJQLZ7R6NPWLgSNLrB6mGz_EWc9Rtxljuv3GnN2iOZuzIdHGPNhTcTfPy-_T16-4wa98vIP0dzlNTpCXqOaSLB_XkGfvALHDXvlFRyiuctrfIS8xjWRcP-8wj55hY476JVXeIjmLq_JEfKaHPIzmKEuZaGxsRd_XslrVHKY3bQxXeJ2h9eyUgu8U3KxeXd7e7sBbRpS1Gb7lG1vomL3SBuFYvXvX_aRxDpJfo3EPpIGTZLf7XSIVNCJCttJrEkK-3Zv2CQNOknDdie_SRr2dRo1SaNO0rjdKWiSxn2dxk3SpHsaeO1S4X9zs3uad1hN7NJ5zOXLfZYCB-_v4Xxy2h1gPxBLbddv_CRfNtjktbSr71HkGilci2e8QINqlRWZNtkCuFEVrtdf_gQAAP__uYub4w== statement ok INSERT INTO data SELECT a, b, c::FLOAT, 1 @@ -111,7 +111,7 @@ network usage: · • create statistics · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsVs1q4zoU3t-nEGfVglNbspOmXrU39EIo_SEJ3VzCRbUOuSaO5JFk2k7JY80LzJMNtiak6TiOG1LoopsQnR9_3znfZ6MXMN8yiGEwuryYXJLx5GIyHE-GgzExlNzeEE7-Gd1eE8EtBw-kEnjDF2gg_hcoeMDAgxA8iMCDLkw9yL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MlKbaKBOiLAAOXUMsqp-8eNCoikQcumVgW-b2cDhdfZ8TncawOYlMeySqWFZM332YzojSmxBdZosk7vNdmlOj3LrHMfQDiuiugkCUynWa6rLTaGVCOnzZSaR4iuPRg5-cfwbV2xumb7_FNGqM0h_WNL6e96G8saheWPM21Sz7QTiGsIWTYKWRfP0uEDFBiUKu_2nVKvQ5DiSHXQprUOl00eccsi9xl_hq1et9pwW5YoPXNpKeTTM8g2aQDk70gy6yNZXo1Ip-jFppZG83OJWhmPWimfRpQ0Ty6AM2jmhB2OgnsHBLYwLTfSKg1gPVpQEXC-AIkjGtC7NNJsM8hwR6YzhsJtQbYfRpQkTC5AAmTmhDndBKcc0hwBubwBUmw20hgV3Y7CXYbCaNLkGD3IMHp04CKhOkFSJj2eXQtUKUiUdh487RXshqVBjR_HGEQYvmSUiKTPn6Vwi9iy-FtkaiYCFDpcpWWg3lSLSktkW_-fzMeZqJHM7FaJnqYadjMxI5r6iPKPprK6c5Em5mcvvZ40RVIUG-FXJcnSWFSXFz5U69aKM9SubK_VavVDSrFw31ATvqhzlFT5_CozlG3Y9bMNHqdjsdNneOjOifdju1mpsnrdDxp6pwePyBWt2Xn2ak9fgH08mx3emZXzi88Dxuep_mV9SMW2-9RAC5YT59By1f1gfwPPFT5ven9FNtC9PIhzW-9HzxWaMANX-NH1Cg3URIpHfngapnhbvfbfwEAAP__s9NdEw== query T retry EXPLAIN (DISTSQL, TYPES) SELECT * FROM data @@ -125,7 +125,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykk0GL00AUx-9-iuF_UnkhnST1kJOyVijUbm16UCTIbOa5BtNMnJmAUvrdJamwVraS7VwG5r388v_lkXeA-9Egx-LjZvVmuRbP3y6LXfFhRWL3abMoXohisVrc7MRL8W57-15o5RUIrdG8Vnt2yD9DgpCAkIKQgTBHSeisqdg5Y4dHDiOw1D-Rzwh12_V-KJeEylhGfoCvfcPIsVN3DW9ZabbxDATNXtXNGDNEvx6OL913_gXCjWn6fetyoUjckahIaBCKTg21KJZCtVpIYfw3tiiPBNP7h2Tn1T0jl0e6YPcg1bfGarasz4Xq1oP-nF8bo_zYruq9alAeH_m4tYlMF8_P3nLJKznzktOnJkOmFssoTq6YWzLdLwnyS6I4vcIvne6XBvmlUZxd4ZdN98uC_LIongfuxSN-W3adaR1P-rNnw2qwvufTkjnT24o31lRjzOl6O3JjQbPzp648XZbt2BoF_4blf-FXZ_DsXzgJSU5D4CwEnj8JLo_PfgcAAP__LXzooA== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyklEFvmz4UwO__T2G903-TERjIDpw2NZmElKZZ4LBpiioXv6aogJlt1FUR330ydGtBSYWID5bs5_zeLw8_H0H_KiCC1fft-ku8If8v4yRNvq0pSX9sV8kHkqzWq6uUfCRfdzfXRHDDgUIlBW54iRqin8CAgg8UAqAQAoUF7CnUSmaotVT2yLH7QSx-Q-RRyKu6MXZ7TyGTCiE6gslNgRBByu8K3CEXqFwPKAg0PC-6NDb1Zzvd1o_4DBSuZNGUlY4Ip-SOkowSARSSmts9x2WEV4IwIs0DKti3FGRjXjNrww8IEXujGi8h8lp6xvZVsqmkEqhQDAXzygB9me8LyU0XzvKSF7BvT_zZjXRk7S4GlHOe_shzMfBk06vKLqmqyxzXn1VXNvD1p_v6F_n6jhvM8vUHvsF03-Ai38Bxw1m-wcA3nO4bXuQbOu5ilm94ts9O-O5Q17LSOKlTvFEmh9neQ3HAvou1bFSGWyWz7my_vOlA3YZAbfoo6xdx1YWYzaCQl_-eibck9i7p04DkvUvy5zqxMSmYS_LHpHAuKRiTFnNJof2K94V8us0FROC9DOfE9Hd07zA_aHuVkgf51GHT59peBKMapHDNH3GJBlWZV7k2edYH2va_PwEAAP__DBRFDg== subtest regression_98373 @@ -182,7 +182,7 @@ vectorized: false table: t98373@t98373_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMkFFL-zAUxd__nyKcpw3yx9ahzjxtzCqFuc22D8IoozaXUeySmqSglH53aTMUHwSfwjk3Ofd30sG-1RCInnfrZbxhk7s4zdKn9ZSl0TpaZczQsTG6nBwq5S6FiDfZfCpEEj3sku2KLVNW6np-fcXuk-0jc7fz2c1ssQ9ycCgtaVOcyELsESLnGILIWm0GqxsvxPIdIuCoVNO6wc45Sm0IooOrXE0QyIqXmhIqJJmLABySXFHVY-x5oT8OzSt9gGOl6_akrGAjMzjSphjkf3AkpCQZ8VVrEZ47Ie85dOu-MawrjgQR9vzvqAnZRitLPyh_Sw76nIPkkfx3WN2aknZGl-MaL7fju9GQZJ2fhl7Eyo_6vP_3GQAA__92U5BK +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMkF9r2zAUxd_3KcR5akFh9sq2TE8tSTYMaZLZfhgUEzTr1hOVJU-S6Urwdx-20_1jg90HiftH5_6OTghfDQQ2nw7bm2zHLtZZURYft5es2Gw3q5J5ajrv6oujtvGVENmuXF4KkW8-HPL9it0UrHZm-eY1e5_vb1l8t7x6e3V9l1TgsE7RTrYUIO6QouIYhSgE58fSaRrI1DeIhEPbro9jueKonSeIE6KOhiBQys-GcpKK_MsEHIqi1GaSPS-cr2P3QE_gWDnTtzYINjGDo-jkmC7AkZNV5MUPW9fp2ROqgcP18SdGiLIhiPQX7mwNkQz8_9FzCp2zgX6j_tem5I9Ni3SoOEg1NP9XcL2v6eBdPc3O6X4SmgqKQpy76Zxk9rkVoifZzvgVx71xj0etIJCcY_GX4zkwPpBNGI0VX9zjJFs-dSPWvTSBOG7lA60pkm-11SHqGiL6nobhxfcAAAD__wgUvrk= statement OK RESET vectorize diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_numtables b/pkg/sql/opt/exec/execbuilder/testdata/distsql_numtables index b83bc2376692..487b0577c085 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_numtables +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_numtables @@ -63,7 +63,7 @@ vectorized: true table: numtostr@numtostr_pkey spans: [ - /10] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkVFL60AQhd_vrxjm6d7bkWYjBVkQom3EQG1rElDRIDEZSjHNxt0NWEr-uySh2AoVfdtzZs-cD2aL5q1Aif79YnoRzODvJIji6Hb6DyJ_6o9jGBG4MIANwX-4Cuc3UNZrq4zVcHfthz5s4Kl2nNPsHIQD83Dih3D5AMZqJCxVzrN0zQblIwpMCCutMjZG6dbadh-C_B2lQ7gqq9q2dkKYKc0ot2hXtmCUGKcvBYec5qyHDhLmbNNV0a3d4Xi7x3P1yhskHKuiXpdGtug9TlSlrT4ZCoFJQ6hq-1lpbLpklKKhn2NFSlvWQ3FI5LkDJAy5zFlLGEkpg1l8RuCJgbsnCDz3KIb7G4yQTaVKwwcYxzY7TULI-ZL7CxhV64wXWmVdTS_nXa4zcja2n4peBGU_agH3w-LbsPslnDR_PgIAAP__zo7I9g== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkVGL00AQx9_9FMM8qd3SbORAFoTqNWKg155JQEXDsSZzNVyyG3c2nKXku0sSq73DO3QeQv4zs__57ewB-XuNCqOPl-vX8QaeruI0S9-vn0EaraPzDM4EhDCDvYDn8DbZXoDpGm_ZO_jwLkoi2MOXLgheFK9ABrBNVlECbz4Be4cCjS1poxtiVJ9RYi6wdbYgZuuG1GFsiMsfqAKBlWk7P6RzgYV1hOqAvvI1ocJMf60pIV2SWwQosCSvq3q0PeIsjz9X7Q3tUeC5rbvGsBrQJ5y01YOeL6TEvBdoO_9nJHu9I1TyhDFeoQp68e-YqXWe3ELeJVyGMxSYkCnJKThTSsWb7KWApZyFJ0LAMnwQK7yHJf8HKyFurWG6g_XQpODepLnsc4FU7mh6MradK-jS2WLsneR2NBoTJbGfqnISsTmW2DvSze-tnjrJR53Cx5xygde1vb2qSlQY_Ir5Xz7HwOGA3vGwovSbvR1ts307XPBa10wCL_QNrciTaypTsa8KVN511PdPfgYAAP__IY8Arw== # Query which requires a full table scan. query T @@ -85,7 +85,7 @@ vectorized: true table: numtostr@numtostr_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lfGL2j4Yxn___hXhhS_czUibtPW0MHC76zHB6a0K2xgyOhsOWW26JMJE_N9HW-udokln529N0ud9P3mfB7IB-SsBH4IvT8N3gxG6eRhMppNPw1s0CYbB_RR5GFHUQmuM3qDHcPwRpaul4lIJ9PlDEAboZo3-R8S27Vv0FtloHD4EIXr_FUklAEPKYzaKlkyC_w0IYKCAwQEMLmDwYIYhE3zOpOQi_2VTCAbxb_BtDIs0W6l8e4ZhzgUDfwNqoRIGPkyjHwkLWRQzYdmAIWYqWiRFmwqwX318z36yNWC458lqmUo_v0yJN8mifN22qG3bMNti4Cv10lSq6JmBT7a4PtjjIlFMMGF5h1Tlvo9u-mQ3MN_3B6Npt5jb7vssAv0bhAkXigmLHM2lT1tn6ztn67-U5SJmgsWnip6AGPE2zyxyNIWQpXE-BW93YYz6pEVfLTDq07OU7gElqZ8Q0jQhRUDalls_Jga6fUw614uJAaGKCbk0JrS-AbSxAW5hQKe-AQa6vQF31zPAgFAZQC81wKlvgNPYgE5hQLe-AQa6vQHd6xlgQKgMcC41wK1vgNvYgHz07ZqzN4DtZ9-73uwNCNXs3X_xSJ2oHzKZ8VSyg_LnKtv5C8biZ1a-eJKvxJw9CT4v2pTLcaErNmImVXlKysUgLY9ywNdiohVTvZhqxc6BmByLHT12R9_a1ao9vdjTig2dO00ufacVd_Wdu1pxTy_uNcEmhoyZQqZPGTHEjDTKGTEEzTU01yeNGKJG9Fk7Zp9t__sTAAD__5dKJPU= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lm1r2z4Uxd__P4W48Id2VYjlhzwYBtmalAXatEsC2xilePFtZ-pYmaTQhZLvPuzEaWzXalwTvwiWbJ_70z0HKc8g_4TgwuD7zeWn4Yic9IeT6eTr5SmZDC4H51PiUGKSM7Ki5AO5GF9fkWg5V1wqQb59GYwH5GRF_ifMMIxT8pEY5HrcH4zJ5x9EKgEUIu7jyJujBPcnMKBgAgULKNhAwYFbCgvBZyglF_Erz8kHQ_8vuAaFIFosVTx9S2HGBYL7DCpQIYILU-9XiGP0fBRNAyj4qLwgTMqkgL305m7xiCugcM7D5TySbryYDd5k4cXjRtM0DANu1xT4Ur0Ulcp7QHDZHuWwD66xpoeDXgShQoGi6WQpN_MuOemxbQNd1x2Opp2kj9v7UiQzh-RUQZpwoVA0Wa5vPfOstJ6Vq8fKe_BShwsfBfqvVXmFasQbfNFkuTaNMfLjNjnbjlDSY2fm3oCSnlmKbeexs31ih2eM1c1YErFG064SNFaFdhe01jGD1qqClAaN1Qhatgfm4Y6ZtR2zE8daVRwzq9DuHGsf07F2FaTUMbOGY9keWIc7ZtV2rJU41qnimFWFdudY55iOdaogpY5ZNRzL9sA-3DG7tmOxV42DzbKrgO7M6h7TrG4VpNQsu4ZZdpWjfoxywSOJmXplpYxcqQaLz2n0H3Bzrku-FDO8EXyWvLsZXidCyYSPUm2ess1gGKWPpBLozXd_nvaVmFbJLFdy8kqmVsnKKLF9JVaAsvTLa1VYn62VcsqVWF7J0SppmFp5pda7O1WAamulOuVQZl6po1Xqliu180rddy-vAMXeCLom6VZBSx91psl6p6D1_rAXud5Iu13OZRe09HFnmrx3C1r6wOvWaMc7133In-4CH1wwtlfjlZ_0gvgD70HG2-fkN39KdKerRbz53XuhRApX3iP2UaGYB1EgVTADV4klrtf__QsAAP__vofgWA== # Query with a restricted span + filter. query T @@ -102,7 +102,7 @@ vectorized: true table: numtostr@numtostr_pkey spans: [ - /9] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkVFruzAUxd__n-JyobSF_Kl2b3lq19pN5rRTYRubDKeXIrPGJRFWit99RClrBx3bm-ccz72_JHtU7yVydB7W3tz1YbR0ozi688YQOZ6ziEFpCaswuIWq2Wph1P21Ezow2sFzY1kXGdjWGOb-EkYm9NwbB4YDGgzHEIRLJ4TLR9ghw0rk5KdbUsif0MaEYS1FRkoJaax994ObfyC3GBZV3WhjJwwzIQn5HnWhS0KOcfpaUkhpTnJiIcOcdFqU3dgD4uzw8VK_kVm-EGWzrRSHHTMHQoZRnRr9f2JbmLQMRaO_Viqdbgi53bLfY62KUpMkObFPmXqfw2x6dDec8ygOXf8KGQaNNulZiulfKEJStagUnTCcm2y1CUPKN9Q_gBKNzGgtRdat6WXQ9TojJ6X71O6FW_WRATwu2z-Wp9_KSfvvMwAA___Npc2s +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkdFvmzAQxt_3V5xOqppIjmJnb35qV-iGliYdIG3ThioPrhkqYGYbdVHE_z4ZxpZWa7X6AXH3me_73XFA-6NCieGn6_V5tIFZECVp8mE9hyRchxcpWGfgMt5eQdPVTvvq47swDmG2h68d569zEHwO55sAZl5cR-9DOD2hk9M5bOMgjOHNZ9gjw0YXtFE1WZRfUGDGsDU6J2u18a3DcCEqfqLkDMum7ZxvZwxzbQjlAV3pKkKJqfpWUUyqILPkyLAgp8pqsJ0Qz6aXm_aOfPiFrrq6sRL2zA-EDJNW-XqxFByznqHu3N9I69SOUIojxihAyXv2_5iXZeXIkFmKh4xjX8LZ6mhXUsokjaPNW2S47ZxXn6RaPaISL6GKyba6sfSA6akk_ihpIfqMIRU7Gv-Y1Z3J6drofLg7ltvBaGgUZN2oirGImkmyzpCq_yz12Ek867R6ziljeFvp-5uyQIn891n84zEd9B-onfUrSr7r-8E23bd-wFtVWWJ4pe4oIEemLpvSujJH6UxHff_qVwAAAP__Y3AFZQ== # Query which requires a full table scan. query T @@ -119,7 +119,7 @@ vectorized: true table: numtostr@numtostr_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlFFr2zwUhu-_XyEOlDp8CpEcN00Fg3SNu5llTucEtjHC8OJDCXMsT5JhIeS_D9tr2oTGNvgiu7OkvHkfP8doC_pXDALcLw-TW88n1tibzWefJh0ycyfu3Zxoo8h9MP1IkmxtZL76_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uToGL5FWSw2tOjq15VvJW26hTeFKHdld484SFN3PE-uF-9aP9Gplfs45fvQ7tzm_vhH57OeLO4X47R_s1M79WHb-dOrQ7v9YJ_Vo5YuNwv8bRflOzrYPVGnVAd2r7J1Tbr3OLuUzGPJIsx1s2k1aYqUXSG4T592xz40ieiAW7EXyRvbtpTrKgrMNnUm1GyabhRNshqQTzlrtLeD-JVCbpuSSyn9QtJunVTHWgOpVRRnkSKSYZb12eWUzqViaZ5Ux6Mcl8K1OvmNSrTLLKmTrFJOutTFYxqV-9DbRyKOO_vVm9zSuo-unRuQv5423gAwXt-dd65W_7g_QD716m53f6mz9msbNVnJ6-Oy-UDMO198CGTDGxDKJAqmABVImErdfv_gUAAP__6cnOkQ== # # -- Join tests -- @@ -145,7 +145,7 @@ vectorized: true table: numtostr@numtostr_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lV2L2kAUhu_7K4ZztQuzmEmiroGFlO2WuljdqheFEkrWTFUaM9mZCSjify9JtvjZmaSj3uXryTnnfULOGsRbDB48fX_pfez20c2n7mg8-ta7RaOn3tPjGC0xEpKjz8PBV5RkC8nEWxZyip4H3f77BcnRoI9W6AEty5sRYEhYRPvhggrwfgABDDZgcACDCxiaEGBIOZtQIRjPH1kXQDdagmdhmCdpJvPLAYYJ4xS8Nci5jCl4MA5fYzqkYUR5wwIMEZXhPC7K7PTn7xz_TH_TFWB4ZHG2SISXz7TT6SgN84t3EGwwsEy-l95WfF2hWShm-7V8G4JNgEHIcErBIxv8fyOQUyNI7v89OGp-VQjZ6bthW5ZVs3my17z9z-a378kSxiNaJrZ9U5CTukdOJPAlFLNnNk8ob7T2W4vpL3nj27cPfD6dyRuf3AKGQSY95BPsuwdzbmdwDGY40WCf3bG0QcjhtCdru3u1SXX5tqn8wv1dwz3vF0Cu-wW0L_EF2NUtOMYW3MJC67wW7OtauL-EBae6BdfYQquwcH9eC851LXQuYcGtbqFpbCHPv-4uVQlwryuAWJfeRyfq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SKWqSoZW9rOeUAHSXsjlYK5wna2nXjVs2CEna9kiYLStb1SrosKFHXS2myQAwrpc2C8o1pVM6CsgSbVQEq60avpAGoLBu9kg6gsmr0UjqAhpXSAlQ-V63KAJV1064KUAm7XkkDECth10vpCCpZ10vpCBqWSktQ-ch0KhNUNxyTNiY3LSXu30jpGKqbs0knk9dSt2eTViZfedNyaTGqO7SyRe_N0U370ueIvT2GAXhgf_5qO_6-fpC-4E9F2hwPZ-wt0x0tF2lr--xHgiK481_oFZWUz8M4FDKcgCd5Qlerv34HAAD__5IaEtA= query T EXPLAIN (VERBOSE) SELECT x, str FROM NumToSquare JOIN NumToStr ON x = y WHERE x % 2 = 0 @@ -217,7 +217,7 @@ vectorized: true table: numtostr@numtostr_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElmFr4koYhb_fXzG8cMHSKWaSGNNAIZdey1pa7aqwC4ssqZm1smnGTiagFP_7kqStGnUm2cH6bUxyMifnPH07r5C8ROBB5_vD3X_dHmr83x2Ohl_vztCwc9e5HqEFRong6GbQv0dx-ixY8pIGnKLbfrf3dkFw1O-hBbpCS_TtS2fQQY0F-heZZ-gKGYAhZiHtBc80Ae8HEMBgAgYLMNiAoQVjDHPOJjRJGM8eec0F3XABnoFhFs9TkV0eY5gwTsF7BTETEQUPRsFjRAc0CClvZhuFVASzKN9mw6q_sf45_02XgOGaRelznHhoARiG8yBbXsB4hYGlYr1hIoIpBY-scHVTN7NIUE55k2w7Kq57qOGTLBzP87q9kZtn9LYu7b9-5eMSPQXJ0_b7fALj1dqjWcfjZnDmvuAE998XO5EtcyI2cmuahmEcDM_6q_DanxqefdDj-j1pzHhIOQ233jTOlO-P7HsAfHJe7FX-1nvKp_SWzeKMlVILEf0lGj45P7vis-lTsQQM_VR4yCfYtw7G3dL4lD0me-yCzZukXf7ovXs7W3uT6gxaugzmCF407eogKtx9gOieEERyAhCt44BoVofB1obBzmFwqsOgcPcBw-UJYTBPAIN9HBis6j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jvRk-xHnpzenon02Om9Fht6Om1cbvfo6gfig9VK12fi5_eu_FTrIjRnB_zZH4Scqq3t2V0zDZG9-icd3-L0KGVrs-Fjvlu6Jht9sT3LFqHQcQa7bDU0qM6NFkmc5csSy4KY75g33i4SK_Nfk5SofSEyyKR_UuzH6Pg9a9IcOas3t6X8kq0rETzSkZBieaVzHZKVrVStq9tLkWpRMtqqSVZoWa01OpXa-koeE1aQr26hLSspLcooZZX6rdTsqqVsv1cc6lSCYtaVy21JCvUei21-tVaOgrekJawJ6EBNU9P3tBWi442pVL9aiXUhv1jwUJNKFeSgYV6UC4lA0tDUdVoycBCFazRkoGFgreOBgu19JUcLLUaB9TSFE2dpjygjq6RkgGBOrpGS0oEauk6MRkSKPs6MRkTOH00fBpDgWeifPhQyfTBM_Ho8UPxZuT4AYS3I8dPIA1vSE4YQTj9E2YQjv_4IYS7smYKmdVY4K5EY6gxFrgp5VoyLHBPyrWkWOCerBGTYYHTrxGTYYHjR-OoKRaGmrx2PPjh03fPBRvUl0_nwNfrB5IbnGWUvPtMH8OnVHe2XSdvLg-OHzEF7pyf7IYJxlde4EXCW4AteMx2uz9-BwAA__-Gubne # # -- Aggregation tests -- @@ -237,7 +237,7 @@ vectorized: true table: numtostr@numtostr_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyslF9r2zAUxd_3Kcx9SkAhlu24qZ9augwC6Z_FGQyGGV50MWGO5UkyrIR892GZUju0sob6pj8-95yfr7gnkH9KSGD1_Wlzu37wJp_X6S79upl66Wqzutt5sjlOnqfel-3jvVc1R8WlEkCg4gwf8iNKSH4ABQIBEAiBQAQEFpARqAXfo5RctJ-ctGDN_kLiEzhUdaPa44zAnguE5ATqoEqEBHb5rxK3mDMUcx8IMFT5odQ2L_Y3L4uf9W98BgJ3vGyOlUy8dpPWebuczQPf9yE7E-CNevWTKi8QEnom9plui0JgkSsu5othpPTb_eSGTt-1Cd61ea3eVFwwFMgGpbOzOQj1_y9JOEhC7ZtAHZqgezCbR_adGAnW-wGxSycCe_7AhT_S_LE9_0iwHv-VC39ozx-68Meaf2nPPxKsx7904Y_s-SMX_pZ8Zok-kqmHfv1RQ-gNmy3KmlcSL4bR25X9dkghK7CbaJI3Yo9Pgu-1Tbd91Dp9wFCq7pZ2m3XVXbUB-2JqFAcDMb0UB2bnEevQqI7M4sgl98Iojs3OsYvzlVG8NDsvXZyvzb3yR56J-ZFdemfnT_8CAAD__4Td7Uk= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyklVFvmzAUhd_3K9B9aiVHwUAI4alVm0mRkrYLmTRpiioWbhkqYGYbdVGU_z5BlhW8giDwEGGwzzn5rn05gPgVgwvzb0_L28WDdnW_8Dbel-W15s2X87uNJvLkan-tfV4_rrQ0TyQTkgOBlAX44CcowP0OFAgYQMAEAhYQmMCWQMbZDoVgvJhyKBcsgt_g6gSiNMtl8XhLYMc4gnsAGckYwYWN_yPGNfoB8rEOBAKUfhSXNmf7m_PNc_aKeyBwx-I8SYWrFQMv84vb0djQdR22RwIsl-9-QvohgksrARf34OpH0j3jbRhyDH3J-HhSj-h9XV3d0OtGW0OxnTTavrvlKeMBcgxqVttjezCq90tmKslonQjtXjU6oGpl0UZjq0_paJ-gFUL2sNLZNVujOx9jCB-r5GP34WP0CVrhMx3GZ1qzNbvzMYfwsUs-Th8-Zp-gFT7OMD5OzdbqzscawqcgM-qMxuqTsYJmNgzNrE8zXqPIWCpQ6Y4fO-mK04gWbRSDEE89V7Cc7_CJs1059zR8LIXKBwEKeXpLT4NFen4lJEc_-fctqSrRViWjpkSrShNVyWjP1CeU2SplNStRVcm69O_ZqtKkVcluzmSoSvalmaaq0rRVyWnOZKpKzqWZHFVp1r4N9OZQ1n97s32bt6SaFUfnJWZvz1EALuh_r9EHP-cLigV-KIrz6_1kb6XsZp8Vp-_FjwUSWPmveI8SeRKlkZDRDlzJczweP_0JAAD__79-eJY= # Count the rows in the NumToStr table. query T @@ -253,7 +253,7 @@ vectorized: true table: numtostr@numtostr_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyslF2Lm0AUhu_7K-RcJWVC_Iqb9WqXNAUhm2yjSwtFgtWDhJoZOzNCS8h_LyrLmrAZh7h3UfP6vPMcOUcQfwrwYfnjefUYrI3RlyCMwm-rsREuV8tFZKSsonL0eWx83W6eDFodJBOSAwHKMlwnBxTg_wQLCNhAwAECLhCYQUyg5CxFIRiv_3JsAkH2F3yTwJ6WlaxvxwRSxhH8I8i9LBB8iJJfBW4xyZBPTSCQoUz2RYN5xT-8_tiVv_EfEFiwojpQ4QOBsEyo8I3J1DZNE-ITAVbJN5qQSY7gWyei3-gxzznmiWR8OjsvtNi8rKPddvM9HI2vsuyrrDdERRnPkGN29v74pG5jXfgJX552wToaPVjX2zhnbSz9WVg3z6IZxWTq6g-kp1ZHgTd4ILa-Avt2BW6jwNNX0FOro-BusAJHX4FzuwKvUTDXV9BTq6NgPliBq6_AvV1BffiJ5ul7GnVOf_-hS-kd1hZFyajAi-X0_pvNemlhlmO74QSreIrPnKUNpr3cNLnmRoZCtk-t9iKg7aO6YDdsKcP2Wdi6DNtqcg_aUaZdddgd0numDHtqsjeEfKcMz9Xk-RDyvXpWZs9nov7ILtnx6dP_AAAA__9ixPUc +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyslV1vokwYhs_fX2GeI_tmjAwgKkdt2m5C0mpXaHaTjTEsPGVJkWFnhnSbxv--AdctzBYCRA6MfN335TUfvoH4mYANt18f7q6c1Wh847ie-_nuYuTe3t1ee6OA5akc_38x-rRZ34_SfC-ZkBwIpCzElb9HAfY3oEBABwIGEDCBwAy2BDLOAhSC8eKRt_IFJ_wFtkYgTrNcFpe3BALGEew3kLFMEGzw_O8JbtAPkU81IBCi9OOkrDnVX56-7LJnfAUC1yzJ96mwgYCb-amwR5OprmkabA8EWC7f24T0IwSbVvCcG7C1A-lOeBVFHCNfMj6d1QGv148rb7dZf3HHF43dutI9a-x-r8xTxkPkGNb6tod2Oqr4cx_vd87KG1_SZjpDoaN1NbT74NHBg1eO3WRq9hlB2gez4sg6wwhatW69uyJ9uCKzVGT1UaT3wawomp9B0bzWbXRXZAxXZJWKFn0UGX0wK4oWZ1C0qHWb3RWZwxUVciad7Zh9CCt2lmews-yzQ29QZCwVqOyWHzdpStOEFtsqhhEe92DBch7gA2dB-ezxdF0GlRdCFPJ4lx5PnPR0S0iO_v7vH0w1ibYm6bUkWk2aqUl6O1MfKKM1ymxOomqSOfTnWWrSrDXJambS1SRrKNNcTZq3Ji2amQw1aTGUaaEmLdungdYMZf4zN9uneQvVslg6Twl72cUh2KD9OSYffJwOKF7wI1GsX_cHeyljvdesWH1PfiKQwL3_jDcoke_jNBYyDsCWPMfD4b_fAQAA___Rf4Bp # Count how many numbers contain the digit 5. query T @@ -272,7 +272,7 @@ vectorized: true table: numtostr@numtostr_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lVFv2jwUhu-_XxEdqSr95Io4CZT6ioqlWzQauiRVJ00IZeQMoYWYOc60CfHfpyQqBVTsTBl3scOb8-DnlbyB_EcKDNzPj-M7zzc677wwCj-Nr4zQHbujyJjzIpOd_6-M-2DyYGTFSvJcCuP5gxu4Rvk09j66xuXFt-VPvLgEAhlP0I9XmAP7AhQIWEDABgIOEOjBlMBa8DnmORflTzZVwEt-ATMJLLN1IcvtKYE5FwhsA3IpUwQGUfw1xQDjBEXXBAIJyniZVmNesIYvD7P1d_wNBEY8LVZZzkpSIBCu43Jx3bVM04TplgAv5OvEXMYLBEa3pDnV_TKVKFB0e4dI9T4zhvTwhBhjYRR4_nsgMCkkM3ye4UkU629Q7hYLgYtYctGlRwc0mjz50SyYPIedq5PD7JPDXmcUGRcJCkwOvj_danCODid8eph5ftQZ0tM0zgENbd4N2qobVTWuu07zgmjQdgXpn78gGpR9I7R1QazmSqx2SpxKSb-5Eg3aTsnN-ZVoUPaVWK2V2M2V2O2U9Cslg-ZKNGg7J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Z1X6n55eQUo8knQFUm3ClrqqBNF1jsFra-Hvcj1Sdrtci67oKWOO1HkvVvQUgdetUY72bmeQvYyDXygYPz61T_42_wgecGbi2T7dP9nL6nu-HWZbH5PXihQhzvvGW9QIl8EUSBkMAMqeYyr1W8_AwAA___zSQG- # # -- Limit tests -- @@ -290,7 +290,7 @@ vectorized: true spans: LIMITED SCAN limit: 5 · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMT01LxDAUvPsrwpwUIu4e9pKTslYIdD9sexCkSGweS7FNal4KLqX_XdqyiAfB23wkM_MG8GcDheTlmD7ovbh-1HmRP6c3Ik_SZFuIs3jKDjvh-jZ6jkGkeqcLsYGE85b2piWGesUapUQXfEXMPkzSMD_Q9gtqJVG7ro-TXEpUPhDUgFjHhqBQmPeGMjKWwt0KEpaiqZs59lJ7fwFv3QedIbH1Td86VmIieWcmeAuJtG7rKDYoRwnfx59SjuZEUOtR_n9YRtx5x_Rr01_Jq7GUIHui5Xj2fajoGHw11yz0MP-bBUscF3e9EO0WayzHq-8AAAD__8A3hKg= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMUE2L2zAQvfdXiHdqQaH2IRedWpIUDM5HYx8KxQStPcmK2JZXI5MNwf99sb1mP9iFnYOY92b03pNu4IcSCqt_u_h3tBHfl1GSJn_jHyJZxatFKq7iz367FnVbecveiThaR6mYQ6K2BW10RQz1HyEyicbZnJit66nbsBAVj1CBhKmb1vd0JpFbR1A3eONLgkKq70raky7I_QwgUZDXphxkJ9tfU3NoznSFxMKWbVWzEj1IGt23M0jEpjJezJF1Erb1L6bs9YmgwlcpoyVU0MmvB90TN7ZmepPxM6fgndMs7DIJKk40_g7b1uW0czYfdke4HYQGoiD24zQcQVRPI_aOdDXGzySOpb0cTAGF4LlmHxxTob-gT9w_LLm3l0E2vTZ9rKMumSTW-kxL8uQqUxv2JofyrqWu-_YUAAD__129sxc= query T EXPLAIN (DISTSQL) SELECT y FROM NumToStr ORDER BY y LIMIT 5 @@ -304,7 +304,7 @@ vectorized: true spans: LIMITED SCAN limit: 5 · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMT01L9DAYvL-_4mFOrxBx97CXnNTdCoHuh20PihSJzcNSbJOapOCy9L9LWxbxIHibj2RmnjPCRwOJ5OmQ3qkd_d-ovMgf0yvKkzRZF3Sih2y_Jdu30YXoaZ9tkozun-lEqdqqglYQsM7wTrccIF-wRCnQeVdxCM6P0nl6oMwn5EKgtl0fR7kUqJxnyDNiHRuGRKHfGs5YG_Y3CwgYjrpuptjLgtsLeO3e-QSBtWv61gZJI8k7PcJrCKR1W0daoRwEXB-_S0PUR4ZcDuLvwzIOnbOBf2z6LXkxlAJsjjwfH1zvKz54V001M91P_ybBcIizu5yJsrM1lMO_rwAAAP__jM6HmA== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMkM2LnDAYxu_9K8JzaiFD9TCXnNqOFgTno-qhpciQ6jvTMGrcJDIrg__7oq7sB7uw7yG8X3meX3KDvasgEP4-xN-jHfscRGmW_oq_sDSMw03GevYz2W9Z09VOW2fYPgnChP34w3oWR9soY2twNLqknazJQvyFj5yjNboga7UZW7dpISrvITwO1bSdG9s5R6ENQdzglKsIApn8V1FCsiTz1QNHSU6qapJdCL4tybG9UA-Oja66urGCjUXayjFdgSNWtXJsjXzg0J17MrVOngnCf0YZBRDewD8OmpBtdWPpBeN7Tt4rp5U_5BxUnmn-Has7U9DB6GLancv9JDQ1SrJunvpzETXLyDpDsp7xc45Tpa9HVULAe4zVG8cSGC_Isx0flv7X10k269sR6yQrSxxbeaGAHJlaNco6VUA409EwfHoIAAD__-vTtgc= # Test that the correct node is chosen in a reverse scan with multiple spans. query T @@ -319,7 +319,7 @@ vectorized: true spans: [ - /999] [/9001 - ] limit: 5 · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMUF1Lw0AQfPdXLPvUwpVeKn0wT2obMZB-mARUNEhMlhpMcvHuAoaS_y6XWG0Fq287szuzw2xRveVoo3O39i7cJQzmbhAGN94QAsdzZiE0cOWvFlDWhRZKS7i9dnwHBg081pyfJmBxzoew8r8ogrNPau74cHkPDcydYAaeu3BDmCLDUqS0jAtSaD-ghQynGDGspEhIKSENve2O3PQdbc4wK6taGzpimAhJaG9RZzontHEpRqIaG5eUdJzl3VnLUNT6W6R0vCG0Jy3bM7aOG4fxc04-xSnJMT-wx10Z57vhqXqlBhnORF4XpbLBgKCKzTgam4ogLlOwQOgXksjQy4pMwxR_S2odJP2jAp9UJUpF_-qAtxFDSjfU16xELRNaS5F0b3q46nQdkZLS_XbSA7fsVybgvtg6KuY_xFF78hEAAP__i17Jgg== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMUVFv0zAQfudXnO5pk1zVGeoDfgKaICKl7UgiAYJqMsmts5bEwXY0oir_HTldRldBmR8i33d33_fl8x7tzwoFRl-uk3fxGi7COMuzT8klZFESLXPo4UO6WUHT1U5bZ-DzxyiN4KKH7x3nrwsIOOeXsEmfIII3j1AYpfD-K_QQRtkSkngV57BAho0uaS1rsii-YYAMF7hl2BpdkLXaeHg_DsXlLxScoWraznl4y7DQhlDs0SlXEQpc65lu556lJCdVNY4NDHXn_ixZJ3eE4upIJQ5RBAM7EgrOC-XyR0UpyZLMnD-Twymct9Plpr2nHhkuddXVjRXgi6yV_jqb-8hANiUEoN0dGWSYqFo5WOC_nAcnzvkz5_-JKCXb6sbSizLiJ0qzYNgypHJHh3exujMFXRtdjLOHcjMSjUBJ1h26V4cibqaWdYZk_WT_mCk4y8TPMW0Z3lb64UaVKJA_ntlfPtNBvyB31keU3emHkTbvW_-Dt7KyxHAl7ykkR6ZWjbJOFSic6WgYXv0OAAD__wCBATs= query T EXPLAIN (VERBOSE) SELECT x FROM (SELECT x, 2*x, x+1 FROM NumToSquare) @@ -346,7 +346,7 @@ vectorized: true table: numtosquare@numtosquare_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMT09LwzAcvfspwjttGnH1mJMyJxTmNtseBCkSmx-j2CZd_kCl9LtLG8R5EDzl_UneexngTg0ENi-H7X26Y4uHNC_y5-2S5ZvtZl2wnj1m-ye2-Kac3bLL6ejZFUuiqUPrjTsFaWkJDm0U7WRLDuIVCUqOzpqKnDN2kob5Qqp6iBVHrbvgJ7nkqIwliAG-9g1BoJDvDWUkFdmbFTgUeVk3c-xZ5d0Zfus-6BMca9OEVjvBenDknZzgNcqRwwT_U-i8PBJEMvL_j8rIdUY7-rXnr-TVWHKQOlL8uDPBVnSwppprIt3P72ZBkfPRTSJJdbTGcrz4CgAA__9_6Ypz +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMUE2Lo0AQve-vaN4p2e2wusc-7ZJkQcjXRg8Lg4QerWQkapuulhiC_31QJ0xmmIGpg1a9V_3e676CTzkU5v83iz_BSoxmQRiF_xZjEc4X82kkGvF3u16K0W2U4pf43v0a8UP4A1nWhTN8qrWlMSRKk9JKF8RQD_ARS1TWJMRsbAdd-4UgbaA8iaysatfBsURiLEFd4TKXExQi_ZjTlnRK9qcHiZSczvJe9s7y912_q450gcTU5HVRshINJMJKd-0EcSthavdqyE4fCMq_SxjMoLxWfj3klrgyJdObfJ85ee-cJn4bS1B6oOFl2NQ2oY01Sb87jOteqAdSYjew_jAE5Y1iZ0kXQ_xYYp-b8y5LoeC91OSDz63QHdAH7i4WPplzLxtdqi7WXudMEkt9pBk5skVWZuyyBMrZmtr223MAAAD__5PvuOI= query T EXPLAIN (VERBOSE) SELECT y, str, repeat('test', y) AS res FROM NumToStr ORDER BY res @@ -415,4 +415,4 @@ vectorized: true table: numtosquare@numtosquare_pkey spans: [/11 - ] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkV2L01AQhu_9FcNctXqkOendudrajRjsNmsSWUXDEpMhFNMz2fMBlZL_LklEW6Fl9y7nnXnneSBHtE8tKoy-3G9W8RZmt3GWZ582c8iiTbTOoWKv3ez1HN6nyR3M_qQSVhmwpinVfu_YPvnSEDx8iNIIDvDdB8GSQAaQpLdRCu--wmFaqWET38U5yGCOAjXXtC33ZFF9Q4mFwM5wRdayGaLjuBDXB1SBwJ3uvBviQmDFhlAd0e1cS6gwL3-0lFJZk1kEKLAmV-7a8eyJ383J92P3k36hwDW3fq-tgoP464gCs64cwoWUb7HoBbJ3_-jWlQ2hkr14vmHGxpFZyHO5m_ANCsy5-6hADuKJdwq2rOkiNXwJddU0hprSsVmE5-R18nmbP6bJQzabX2QtX8JKyXasLZ1xLl0O-kIg1Q1N_9myNxXdG65GzPRMxt4Y1GTdNJXTI9bTaBA8Lcur5fB6ObxaXv5XLvpXvwMAAP__TjINTA== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkk9vm0AQxe_9FKs52e1aZvFtT3FtqqLaJgWqtGotawsTioJ3yf5RHFl89wpIUtuqrWQPiHkzvPdjYA_mvgIOwffrxTRckcE8TNLk62JIkmARzFKSKSft4P2QfIqjJRk8qYxME6Ik9qp0W6vMvRMayc3nIA7IjvxynjdBwjwSxfMgJh9_kF0_kpNFuAxTwrwhUJAqx5XYogH-ExisKdRaZWiM0q207wbCfAfco1DK2tlWXlPIlEbge7ClrRA4pOJ3hTGKHPXYAwo5WlFWne0B39XB_aa-w0egMFOV20rDyY6-MAKFpBatOGZsBOuGgnL2X7qxokDg7AA3nAP3Gvp64kRpi3rMjmGv_A9AIVX1F05Y-yKRs5yslMSzFP4JBXsLxbQoNBbCKj32j0lm0bdVuomjm2QwPJs9Ocn235Ido6mVNHiUey7JO0kasWZNAfMC-x_FKKczvNYq62b7MuqMOiFHY_su64tQPreM1Si2Lx_w0IlddPLPO7FTJ_-i0-QS05rCbaUeNmUOHLynM_rP5flA-4AoTLvs5I966GzTx7pd1a2oDFJYijuco0W9LWVpbJkBt9ph07z7GwAA__9fsU4z diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_ordinality b/pkg/sql/opt/exec/execbuilder/testdata/distsql_ordinality index de7b56eb8ccf..dae194849a06 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_ordinality +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_ordinality @@ -60,4 +60,4 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkF9ro0AUxd_3UwznaRdmScyjTxuSLB2wMVWhLY2UqXMJUuPYmRHU4HcvKv0LLenjPXfOOb-5J9inAj42N7tgKbbs91rESXwV_GHxJtisEtZw1nLWcbaHNiovZZG7dg_2PwovWdN27FokFyyM1mK7DERyC45SK9rKI1n4d_CQclRGZ2StNoN0Gh8I1cCfc-RlVbtBTjkybQj-CS53BcFHIh8KikgqMrM5OBQ5mRdjbNN2_5q2u68eqQXHShf1sbT-Cy444koOwl-kPYeu3VuNdfJA8L2en48Svv595n0g-Sp98ZP0iGylS0tnJc_7lIPUgaZjWl2bjHZGZ2PNNIajbxQUWTdtvWkQ5bQaAN-bvW_Ni0_mtP_1HAAA__-nXrpf +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUNFq2zAUfd9XiPO0gULtPupppcmYIE262LCN1RTNus1EFcuTZGon-N-H7aXrylbS-yC4516dc-45IPy0EFh8uV5eyBV7O5dZnn1avmPZYrm4zFnLWcfZnrMbOK9NpayJ3Q3Yh836irXdnn2W-Ue23szl6mIp86_gqJymldpRgPiGFAVH7V1JITg_QIdxQeoWIuEwVd3EAS44SucJ4oBooiUI5Oq7pQ0pTf4sAYemqIwdadtu_77t9rf1PXXguHS22VVBHO2CI6vVAMxQ9ByuiX9kQlRbgkif-JJziKTnp1tbP2Zxlv7l7H9q58_U0teobSjUrgp0klLyTGmW9gUH6S1N6QfX-JKuvSvH3aldj0QjoCnEaZpOjayOoxA9qd1jWE-Z0heZzl9iKjjurHu4NRoCye-a_eM5FoYPahuGiLIf7mGkzbt6OPBO2UAcV-qe5hTJ70xlQjQlRPQN9f2bXwEAAP__T3HyCQ== diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_single_flow b/pkg/sql/opt/exec/execbuilder/testdata/distsql_single_flow index 4a39dd6700a4..943cc94adc6b 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_single_flow +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_single_flow @@ -41,7 +41,7 @@ vectorized: true table: t@t_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysktFr2zAQxt_3V4h7Ssa1ieRsD4aCSufRjCzp4sAGIwzFuqVmruVJZ9gI-d-H7UEbsyTb6Jv06X6n7ztuB-F7ATEkn-5m19O5GLyZpqv0w2wo0mSW3KzES_F2uXgvWFyngiX-Pijx8TZZJoLlpRFXgtXlBhBKZ2luHihA_BkkIChYI1TeZRSC8428a4um9gfEY4S8rGpu5DVC5jxBvAPOuSCIYe4uXDWKAMESm7xoy_YIruZHKLDZEsSTPT5pLE83XplNQUsylvxofNAeWPOX6hv9BIQbV9QPZYiFQbFBkQFCWplGuIBjNuT_2pDPakMdtfH4e106b8mT7c_3fMkfstyacP_O5SX5kTqMUtBXHmg5vPL59p4HWg0BYVFzLLRErVBHqCeoX6F-fTRPdJDnzNosKVSuDPRXezNuwpDdUjec4Gqf0Z13WftNd120XCtYCty9TrrLtOyeGoNPYXkSjg5g2YfVP8CqD0cn4XHP9nr_4lcAAAD__-8iSMs= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysklFr2zAQx9_3KcQ9JUNpLDnbg6Dg0njUI026OLDBKEWxL4mpY3nSma6EfPdhp10T06TbmB6MdTr97v8_3QbcjxwUhN9uRhfRmHWGUTyLv4y6LA5H4eWMvWefppNrRuwiZiT4049kX6_CachInGl2zkiezYFDYVIc6zU6UN9BAAcJtxxKaxJ0ztg6vGmSovQnKI9DVpQV1eFbDomxCGoDlFGOoGBseqbs-8AhRdJZ3qRtOZiKXi450ksENdirEg1B-Vu-V0icLjTT8xynqFO0fe-gHFBAd-U9PgKHS5NX68Ippjmbc5YAh7jUdaAHx2SJlizvX2WJ_ypLtmSJo7Je1FSFsSlaTNvv8XbKK96utFt9NlmBti8PreW4oE4guuc2W66oE8gucJhUpFggeCB54PNgwIMPPPh41J_f8icP_L0xdlN0pSkc_tHcea1KPVG7xXSJu-45U9kEb6xJmtzddtKAmkCKjnang90mKp6PHFnU699Ts08SJ0n-AUmcJMm_IMl9kmiT_JMk77g7WXdskZuHuywFBd7T6r3yeV5QX9BLVz9bvDIPDXb2WNZNX-jcIYdrfY9DJLTrrMgcZQkoshVut-9-BQAA__9iPZLx # Inject stats so that column 'b' has few unique values whereas column 'c' has # many unique values. @@ -98,7 +98,7 @@ vectorized: true table: t@t_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyskdFr1EAQxt_9K5Z5upOxvd1THxYKW2qkkbNXkwMFCbKXHa_BNBt3J6Ac-d8liVCvtMpJ37LfzG---SZ7iN9r0JB8ul6dp1di9ibNN_mH1VzkySq52Ijn4m22fi9YnOeCJf7-UOLjZZIlguWJFWeC1ckWEBrv6MreUgT9GSQUCG3wJcXowyDtx4bU_QC9QKiatuNBLhBKHwj0HrjimkDDxm5rysg6CqcLQHDEtqrHsWz4S_uNfgLCha-72yZqYVFsUZSAkLd2EF5A0SP4ju8sItsdgZY9_t8a8knXUI-ucefeNT44CuQOnIuB_FfLA1kubbx556uGwqk6jFLTV54ZOT8L1e6GZ0bNAWHdsRZGolFolmheonmF5vWjeZbHnDWj2Pom0v1cD05eDGHI7Wg6TvRdKOk6-HK0mZ7rkRsFR5GnqpoeaTOWxv_-JyyPgNV9WP0VXh7Ai77on_0KAAD__xTTFrk= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysktFr2zAQxt_3V4h7asaltZRtD4KCS5NRj7Tp4sAGwxTFviSmjuVJZ7oS8r8PO92amHSjY3ow1un0u-_70Ab89wI0jL7eji-iG3EyjOJZ_HncE_FoPLqcibfi43RyLVhcxIIlPv0o8eVqNB0JlqdGnAtWp3NAKG1GN2ZNHvQ3kJAgVM6m5L11TWnTNkTZD9ABQl5WNTflBCG1jkBvgHMuCDTMzLygKZmM3FkACBmxyYsWyyHfVff0CAiXtqjXpdfCoJijSAEhrkxT6EOyRbA1P4_wbJYEWu5pioaggy3-myz5X2Wpjiz5oqxnNXVpXUaOsgMlSXPzby1HvF0Zv_pk85LcmTq0VtCCT0LZO3f5csUnoeoBwqRmLUKJocJwgOE7DN9j-OFFf4OOP_Wa2KfkK1t66vo8OinoTOrLxi1lS9ql523tUrp1Nm17d9tJC2oLGXnenardJirbI9lMcGTWv1_NPkm-gqT2SbJLUn8kDQ5IwaGmBGFR2Ie7PAMNwdPqH_n8WtBcMEvfhB2v7EOLnT1WTVQLU3hCuDb3NCQmt87L3HOegmZX03b75mcAAAD__wrGV6A= # If we add a not very selective filter, the flow is still moved to the gateway. @@ -138,7 +138,7 @@ vectorized: true table: t@t_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyskm-L00AQxt_7KYZ51erctflTkYVCyl0OI730bAoKEmSbjDWYy8bdDSil312SCGdLW63cu51n9zfPM5Ns0XwvUWD48WE-i2IY3EbJKnk_H0ISzsObFbyEu-XiHizMErAO_T648OFtuAxhYJ3rNUzBGcIsvu1KCVOw7rUcImGlco7lIxsUn9DBlLDWKmNjlG6lbfcgyn-gGBMWVd3YVk4JM6UZxRZtYUtGgSu5LnnJMmc9GiNhzlYWZdfWBvZz_Y1_IuGNKpvHygiQBGuCDAmTWrbCFaY7QtXYJwtj5YZRODv6vxjOs8ZwL4lxV5SWNeuRu5-h1wUEbvtJhBBRvHpz0tI7afnk1FRK56w53zNKW_JvT47kvme94XeqqFiPvP3oJX-xg8B5NZzqYvO1PyLhorECAp-CCQWvKXAocCnwTo7kX7LFWF2peuQfTna08eSSxks2taoM_1PncbsozjfcL96oRmf8oFXW2fTlouM6IWdj-1uvL6Kqu-p-4z9h5yzs7sHjQ9i9wNk9hL2zsH_e2T8LTw7gdPfiVwAAAP__pa6FWw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyskl9r2zAUxd_3KcR9ajalsWRnDEHAoUmZR_50cWCDEYpi36SmjuVJMl0J-e7DdrcmJsmWMT8Y6Ur6nXN0tQXzPQUBw693o34wIVeDIJyHn0ctEg5Hw5s5eUtuZ9MxsaQfEsvoy4CTLx-HsyG5sux6SXqEtUh_MqimkvSI5deyBRQyFeNEbtCA-AYMFhRyrSI0RumytK02BPEPEA6FJMsLW5YXFCKlEcQWbGJTBAFzuUxxhjJG3XGAQoxWJmmFtb69zx_xGSjcqLTYZEYQScmSkggohLksC21Y7Ciowr5KGCvXCILteQoGIJwd_Tdb7L_a4g1b7BJbt0lqUaPu8ENPdV0Qn5ctE0IEk_mHkxbchgV-0sKrcpEpHaPG-EB4UZ7805YjOcao1_hJJRnqjnsYJcWVvfLZu1ZPJ-uHeggUpoUVxPeo36X-e-oz6nPquycjeo2I7iW3PFFtlXe8ZtKjQt2GkHeJ0AxNrjKDf6XkNJTarLxZjNdYd8qoQkd4p1VU7a2n0wpUFWI0tl5160mQVUusVNAoN79f4z6JnSXxA5KzT3KaJH6BJ75P4k2Se5bknfbkNkneWVL3XLoFhVWqnu6TGAQ4L1_7yO_XB-UBuTblAwgf1FOFnT_nZftWMjVIYSwfcYAW9SbJEmOTCITVBe52b34GAAD__75k2MI= # However, if we add a selective filter, the flow is kept on the remote node. query T @@ -180,4 +180,4 @@ vectorized: true table: t@t_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysktFr2zAQxt_3Vxz31G5qEznOGIKASuduLond2YENRhiqfcvMXMuTZNgI-d-H7UHrsLjr6Jv13f3uvk_WDu2PEgUGn26WF2EEJ2_DdJ1-WJ5CGiyDyzW8hKskXoGDixQchzCKggRWQfIugOs4jP4UPIgjcPxcwQKcd67g4_sgCVolgwVwZFjpnCJ1RxbFZ2wFDzcMa6MzslabVt51TWH-E8WUYVHVjWvlDcNMG0KxQ1e4klBgpM90PfG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A== diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_tenant_locality b/pkg/sql/opt/exec/execbuilder/testdata/distsql_tenant_locality index fc9562b7a23d..6e67f53e14c4 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_tenant_locality +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_tenant_locality @@ -64,7 +64,7 @@ vectorized: true table: t@t_pkey spans: [/1 - /1] [/3 - /3] [/5 - /5] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykkU9Lw0AQxe9-imVOVkaSTayHnJQaMVDbmhQUJEjMDqU0zcbdjSgl312yOdSWKrEe58-b9-PNBvRbAQGET7PxdTRhpzdRMk8exgOWhONwNGdn7Dae3jPDHu_COGQr1i5xZD6y4QAQSilokq1JQ_AMHBA8QPAhRaiUzElrqdrRxi5G4gMCF2FZVrVp2ylCLhVBsAGzNAVBAPPstaCYMkHKaW8JMtmysOfNlXmpVvQJCCNZ1OtSB2yF7B0QkiprK4e7lw53ho4LaYMga7M10iZbEAS8wR9gtgx1KZUgRWLHP20O4E7kuawcf2_xsLW3Y8375-AemQPvnYPXH4YfCeMf9ZQDMDHpSpaaemXutk8jsaDuw1rWKqeZkrm16cqp1dmGIG26Ke-KqLQjC_hdzH8VX-yI3X2x9x9n_0_itDn5CgAA__-lhT3K +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklFv0zAQgN_5FdY9MeQqdsJ48BNoDSJS142mEkiomkx8K1HTONgOY6ry35FdYG3IUBs_RDrf5btPd96B_V6BgPTz7exdNicvp1m-zD_OLkieztKrJXlF3i9urokjnz6ki5RsiC_ilCSUXF4AhVornMstWhBfgAOFGCgksKLQGF2gtdr41C4UZuonCEahrJvW-esVhUIbBLEDV7oKQcBSfq1wgVKhiTxLoZNlFfDurbtrNvgIFK501W5rK8iGkh9AIW-kjyLO3kQ8uowYrDoKunVPjayTawTBD8yyKYi4o8_IPTm1tTYKDaojn1U3oD_XE91ESa9wWCXuqSRHKvz0ObGRc-JnzIkdycWny_GRcskZcvzZJQ7ILdA2urZ40o5Yr9OE-62jWuP-iVjdmgJvjS5C7T68CaBwodC6fZbvg6wOKe47GJTbv2_wkMT_S3p9RGKHJNYnxWOd_iElY0lhYveVfrgrFQhgv89k4PPngP9Brq1fW_5NPwTs8rHxQ7-XlUUK13KDU3RotmVdWlcWIJxpsete_AoAAP__yB-H8A== # Ensure that a single scan that touches multiple ranges is represented by a # single span after physical planning. We expect to only have a single @@ -80,7 +80,7 @@ vectorized: true table: t@t_pkey spans: [/3 - /4] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMkNFK80AUhO__p1jmqv3Zkk1DvVgQLG3EQE1rUlDQIDE5lNI0G7MbUULeXZKItoLVu8yc803mbA39nEHCvVstpp7PBnMvXIc3iyEL3YU7W7P_7DJYXjPDbq_cwGWDHXuohHDonDlDNvXnn07CJkNw5ColP96ThryHDQ4HEUdRqoS0VmVr192Sl75CCo5tXlSmtSOORJUEWcNsTUaQ8NVIFVabkpKJt1m31nCoynxB2sQbghw3_CDYPh28jp8yCihOqbTEUTzMhXksdvQGjpnKqn2uJdtx9gKOsIhbZdnizLItZ_TxMcFPneyjTr8cG5AuVK7pT9eKJuKgdEP9g2pVlQmtSpV0v-nlsuM6IyVt-um4F17ej9qCh7B9Ehbf4Kj59x4AAP__gJu1Iw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMUe9r2zAQ_b6_QrxPzVCw1NB9EAxWGo8Z0rSLDRtspmj2NTP-IU-S15Xg_33Ybrs0bFnvg9C9u3vv6bSD-1FBIfx8vTqP1uxkGcVJ_HE1Y3G4Ci8S9pq931xdMs8-fQg3ITsp2ddOiAW9ZYsZO18vn5CMnc3A0Zic1romB_UFEhwLpBytNRk5Z-wA78amKP8FJTiKpu38AKccmbEEtYMvfEVQWJu5aYOBJSevi2ps6zlM5_8MOa-3BHW6pxItoWTP94TkcaFEf6toQzonG4hncvDv_E1b0j04LkzV1Y1TrOTsJzjiVg9ZIMWbQAaL-cPlDP_yKA88imce_7OMDbnWNI5etA1xoDSXfcpB-ZamH3CmsxldW5ONvVN6NRKNQE7OT9XTKYmax5LzlnT9ZH-fSR5lEseYUo7bytzdFDkUxEPM_3I8BoYBvXXDiuLv5m6kTe7b4YG3unLEcalLWpInWxdN4XyRQXnbUd-_-h0AAP__pWPszQ== # Ensure that a query with a LIMIT is planned on the instance that is the # "leaseholder" of the first range touched by the scan. We expect to only have a @@ -97,7 +97,7 @@ vectorized: true spans: [/1 - ] limit: 10 · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMUF9LvEAUff99iuE8_YpZnDHoYSAoNiPB_ZMKBSVhellkXcecMQrxu4f60G7Q1tucc-85c87tYF5LKHgP6-DKX7L_134UR3fBCYu8wJvH7JTdhKsFs-z-1gs9tmVPrRBndMEkC_yFHzMpwFHpnJbpjgzUIyQ4XCQcdaMzMkY3A92NS37-DiU4iqpu7UAnHJluCKqDLWxJUFjqma6dwSUnmxbluNZz6NZ-iYxNNwTl9nzPWB43jtOXkkJKc2occWAPe2mf6y19gGOuy3ZXGcW2nL2BI6rTATlSnDvSkbPx4YIjKHaFHfr_FE4ehPuldUim1pWhP9UWfcJB-YamyxrdNhmtG52N30xwNepGIidjp6k7Ab-aRkPAfbE8KhbfxEn_7zMAAP__RR61bw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMUV2L1DAUffdXhPOkkqHJCD4EBGWnYqEzu04LCjossb07hmmbmqSuy9D_Lum4OjvouPch5H6dc3Kyh__WQCH9eJW_yVbs6SIryuJ9_owVaZ5elOw5e7u-XLLAPrxL1ynbsc-DEC_oFZMsz5ZZyaQAR2drWumWPNQnSHDMseHona3Ie-tieT8NZfUPKMFhun4IsbzhqKwjqD2CCQ1BYWVntk8iSk1Bm2YaGznsEP4s-aC3BDU_YskWUHLkR0TyPFGpvzS0Jl2TS8QDOoTX4brf0R04LmwztJ1XbMfZd3AUvY5ZIsXLRCZyNl3m4MhNa0L0419i5YlY8UDsf1xZk-9t5-lRtogTppkcNxxUb-nwFd4OrqIrZ6tp9pBeTkBToSYfDt35Icm6-5YPjnT7W_4xkjyLJM4hbThuGnt7bWooiF8x-8txH4gLeuujRcVXezvBlnd9fOCNbjxxLPWOFhTItaYzPpgKKriBxvHJzwAAAP__psbtGQ== # Regression test for #93887 - don't panic when generating index recommendations diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_union b/pkg/sql/opt/exec/execbuilder/testdata/distsql_union index 4ffb28c0967c..ce61ead43844 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_union +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_union @@ -56,7 +56,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lt-L2k4Uxd-_f0W4T9_SCfHOTPZHnna7a0GwulULLUVKaoZF6jppEiEq_u_FKOxazJ3MxL6ZjOeee858HrKF_PcCIuh-ferf9wbe_4-98WT8uf_OG3f73YeJV3ofR8NPXrneeF8GveHAu-_3z5wNR4_dkffhm1cCg6VO1CB-UTlE3wGBAQcGAhhIYBDClEGa6ZnKc53t_7KtBL2khKjDYL5MV8X-9ZTBTGcKoi0U82KhIIJJ_HOhRipOVBZ0gEGiini-qGzK9eauXG9-pL_UGhg86MXqZZlH1T7jNN7_9AMO0x0DvSpeLfIiflYQ4Y41X2Oss0JlQXi6wR2-rx3Pbca_TYmXjSkcYqJFTlk7_3WszhKVqeTc0DNLDLSv04Cf1lBn3_lX9mEj-_DEHi1u2fqSA-4HoiHNhkWO13zlSrNNzksHFQ5B0SKprJ3fEih04Jk3L5rb9yz8QDYEyrDIsedrV6AscuKlgwqHoGiRVNbObwkUdwBKNC9a2Pcs_SBsCJRhkWPPN65AWeTESwcVDkHRIqmsnd8SKOEAlGxetLTvOfQb4mRY49jyrStOFinxsjGFQ0y0yClr57eESbb8fDszeaTyVC9z1XDylIFKntUhS65X2Uw9ZXp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HvRviNRDCXjkVYefXWxhpRFO08W86Uw2nqKvkyM1h4J7yVXkRafUYrJxGjzkVC_KWXR7pPFpHPEzN2XiDHafUa4L1nBaPcZpVhLCqPdZ4T7chbtPllMWiUzd9_PP7sfZ-LlYRpDCLXDzTnx5_0G-RuipzT_AjH6JV52uePNMv_4f4xmKbfhNnrmbZ7xZD5dTNNsOoEwS1Z8u_3nTwAAAP__5i9lBA== query T EXPLAIN (DISTSQL) SELECT x FROM xyz UNION SELECT x FROM xyz ORDER BY x @@ -79,7 +79,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysll-L2kAUxd_7KcJ9aulInEninzxtu2tBsLpVCy1FSmoui9TN2EyEqPjdi_Eh1eqdmSRvm2TPPb859yBzAPVnDSEMvj2PPgzHztun4Ww--zJ658wGo8Hj3MmdT9PJZyff7Z2v4-FkfOP9ZPo0mDofvzs5MEhkjOPoFRWEP4ADAwEMPGDgA4MAFgw2qVyiUjI9_cuhEAzjHMI2g1Wy2Wan1wsGS5kihAfIVtkaIYR59GuNU4xiTN02MIgxi1brwibf7R_y3f7n5jfugMGjXG9fExUWPLNNdPqz5QpYHBnIbVZaqCx6QQj5kVXDCBrFEDYYTyuVrZJl5vKrLB74XQOvmkFgbODfNSjnbhOZxphifDF1caQQhPkZA5szzmSaYeoKfj3-_d35nYv53Lwr3Lorrmi5nmFpLUA6DYMIG5CyVf9lblhbY4NOxdoK8yiFfZRey_UNd2oB0m0YRNiAlJGLijs1NuhW3KlnHqVnH6XfcgPDnVqA9BoGETYgZeRexZ0aG_Qq7tQ3j9K3jzJoGW7UAqPfKIawwSjj9ivu09ig38B14YbBFNVGJgqvrg23J7dP1wmMX_B891Bymy7xOZXLwub8OCl0xYsYVXb-6p0fhsn50wnwXzEnxYIWC1LsX4j5tdirI_ZJcUBjB_SZNYfukOo-Le6S4h4t7tVJrF9HzOmOcV3J6JZxTeK8Vs94raJxumm8q0Gnu8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g== # UNION with no overlap. query T @@ -109,7 +109,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysl91u2kAQhe_7FKu5alUjM7s2P5YqpU2IipRCClRt1aKK2qsIldjUNpJJxLtXgIQDDTO7ju_in7Nn9sw3G_wI2d8FBND7dnvzvj8Qr6_648n4880bMe7d9C4nohDXo-EnUawfxNePvVFPFOLnqtlUoVDiy6A_HHAv6ndCieHoqjcSH76LAhyIk0gPZvc6g-AHIDggwQEFDnjggA9TB5ZpEuosS9LtK487QT8qIGg6MI-Xq3x7e-pAmKQagkfI5_lCQwCT2e-FHulZpFO3CQ5EOp_NFzubYv1wUawffi3_6DU4cJksVvdxFuzqGS9n2z8broTpxoFklZcWWT670xDgxjEv43q-yHWqU9c_rmF_PxAXWCYTBEF_MOmcNZY2xk_3j_UGoCoFgEwCIR-AZ2N8Nc_yeRzmrjzZ_QWeNfCrGfjGBq2zBuW6qzhJI53q6GjV6YYqQZnvsW2zx3GS5jp1FZ4u__bs-p2j9dGCUmtIXdlwleGcMoUcMG3VPac2CdQdgaoUATIZWE8qY1wO0n-YGU6qsUGr4qRK8yZK-x6qhusZYswUcuhhu26MLRLAuiNQlSJAJgNrjBnjkjJZEWNjg3ZFjJV5E5V9D72G6xtizBRy6GGnbowtEsC6I1CVIkAmA2uMGeOSMlURY2ODTkWMPfMmevY99BuGEDNlHDrYrRtii_1jvQGoSgEgk4A1woxxSZhXEWFjg24NP_2fMRjpbJnEmT75BHh-5eb200BHd3r_HZElqzTUt2kS7mz2l8Odbncj0lm-f4r7i368f7Qt8KkYSbFPiyUpVrRYkWKPFnukuHUkxlOx_xJxixS36bLbdGCSVndIdZcWd2lKmGYhAxlHGY0ZMhtHGjSmY0iTxqlp1JAZEaRhQ6ZrSOOGDG9IA4cdRk4TxyVHI8eoJU2cZIiTNHGSO9lo4iQzLpJGTjKnm3zR8SZfdL5JmjjJECeZI45rG02cZMZF0sipJvMviW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wQJNRW0cOgJBsVIEMOxJwj3ohbOPXGQxsQpcfIx90UtnH1MSxiS4uhTBH0maOHoU2zVO4IYjj5FAi5q4ehTbN2LU6rve1FLfeGLQ-LoUwR9S9BqWfkIFeUjWk0MR58iARe1cPSZiTQmTMlw9jH3RS2cfUxrXDyEPUbJy0MYgAvm_6_BB3_eX1B8wXvKiifB1T_Jy1l3fdwVz3GPXpRxHb54z3zCc55uw7h4KvXBzdM9P52--S8AAP__VEX7oA== # UNION with partial overlap. query T @@ -139,7 +139,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysl2-P0kAQxt_7KTbzSmNJmd2WP01MTu-4SHLCCRg1SgzSzYXItdiWpNyF726ABA48Znb3-k4Kzz4zz_xmvT5C_ncOEXS-3d687_bE66vucDT8fPNGDDs3ncuRKMX1oP9JlKsH8fVjZ9ARpfi5rNfV9J0IxJdet9_jfqkFiv7gqjMQH76LEjxI0lj3Jvc6h-gHIHggwQMFHgTgQQhjDxZZOtV5nmabnzxuBd24hKjuwSxZLIvN47EH0zTTED1CMSvmGiIYTX7P9UBPYp35dfAg1sVkNt_alKuHi3L18GvxR6_Ag8t0vrxP8mhbz3Ax2fyz5ksYrz1Il8XBIi8mdxoiXHvmZVzP5oXOdOaHxzXsnkfiAvfBRFHU7Y1aZ32lje_T9rHa_pVT_8gEsGGISyCwcb6a5cUsmRa-PGn_As8ahG4GobFB46zB4dxlkmaxznR8dOp4TZWgzHts2vQ4TLNCZ77C0-Pfnj2_dXQ-WmBqTakva74y3FOmkD2njYr31CaAqhNQTgkgE4H9pjLOh0X6DzPDTTU2aDhuqjSforQfoqr5gSHGTCH7ITYrxtgiAKw6AeWUADIR2GPMOB8ok44YGxs0HTFW5lNU9kMMan5oiDFTyH6IrYoxtggAq05AOSWATAT2GDPOB8qUI8bGBi1HjAPzKQb2QwxrhhAzZexH2K4YYov2sdr-lVP_yARgjzDjfCAscETY2KBdwZ_-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2zhQMOw_KUNUe0q0_QkzUDCINDinFRMqjElpLPSZSw5cVh-oxGcocjOY83cZRymuHtq9LmbVSPZKf7rj_woujYBrvkjV_TOL16d7i7ewkdLrg8zQrPiXFm0n0-VGaJdzbnH_7uFQiqJJ9Xak4ml9KUVSKXZcSlBiqZCFNCfNZqFS_IkUupaggZStLCQP2UanB9QGZ0NUAd51KsOCgUkPE9rrSEOcTYaE4wVUIbYAdoV3UwnEniFtEGJLgwGNAiFo48piWOCTOPEFCTQUtHHqCQTEQxHDsCcK9qIVzTxykMXFKnHzMfVELZx_TEoakOPoUQZ8JWjj6FFv1jiCGo0-RgItaOPoUW_filOr7XtRSX_jikDj6FEHfErQaVj5CRfGIVhHD0adIwEUtHH1mIo0JUzKcfcx9UQtnH9Ma5g9hz2H89hT44IL5_6v3xZ_PF-Rf8F7S_Elw8U_8dtJdHrb5c9yzF6ZchwfvlY94xpNNEOVPpWtws2THj8dv_gsAAP__SS_7mg== # UNION ALL with swapped column orders. query T @@ -160,7 +160,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysldGK2kAUhu_7FMO5amFCnJnEXXPlsrUgWN2qhUIJJTWHRZrNpJkEEsV3L0bareJOJhMvk8mX8-X8P7oH9TuBACbfnmYP0zl5_3G6Wq--zD6Q1WQ2eVyTipKafFouPpOq3pGv8-liTh5ms7_HNSXVv2OgkMoY59ELKgi-AwMKHCgIoOABBR9CClkuN6iUzI-P7BtgGlcQDChs06wsjrdDChuZIwR7KLZFghDAOvqZ4BKjGHN3ABRiLKJt0oyp6t24qnc_sl9YA4VHmZQvqQoadaCwyqLjleMeVRZlEZAxp2MG4YGCLIvXkaqInhECdqB2Wr6t1lsm_E2TVwGF-TZKSJnKPMYc4zOH8HBFeS4dmblscPHkdYWBgUL32b7RbHE2m5kHwWyCcLnjCpuGdBAb2ouZdYTdtiPMoiPcfB3cah3CcT2bnDqI3dmLmeXEb5sTt8hJmK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axQgaXwT2eY4ZyGyWRyqIN-JnMcb__9DcAAP__EUsjFw== # UNION ALL and UNION with different ORDER BY types. query T @@ -187,7 +187,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0ll1r2zAUhu_3K8S5apmCcyS5H75q12YQyJIu6WBjhJHFopSlkWc7YKfkv498QJutPpIldhd_vH7Pc_Rc5BmK3wtIoPf1bnDdH7KT2_7kfvJ5cMpOJr1B7-aeVezjePSJVfWajca3vTH78I3Vp-zLsD8asuvBgHxxffryuwIOS5Pq4exJF5B8BwQOAjhI4KCAQwxTDllu5rooTL595XkX6KcVJF0Oj8tsVW5vTznMTa4heYbysVxoSOB-9nOhx3qW6jzqAodUl7PHxa6mqtdXVb3-kf3SNXC4MYvV07JIWMXZGjhMstn2qhMJmG44mFX50lKUswcNCW64-yQTk5c6j-LjIa7wPXAYrcqEXWFjkWhT9BoZ3ZlrN2bpwYxe0Kqx6aXA5KnOdfrv56ebN8YZmo7JInG8k6b67v-qj53q46N6bHHkPpZHohNJR88tsxzO_Czc8zbQ7tS1K7X0oEYvbNXYFKgaepgu3LcuvFSTnUg5qmaZ5bD083DVWkCjO3XtSi09qNELWzU2BaomPFST7luXXqqpThQ7qmaZ5bD0i3DVWkCjO3XtSi09qNELWzU2BaomPVRT7ltXXqrFHUfRLJMcVn4ZLloLZHRnrt2YpQczekGrxqZAzVTg38Q3vjzWRWaWhXb88pSDTh_0nqUwq3yu73Iz39XsL0e73O5Gqoty_xT3F_3l_tF2wNdhJMPqKIx_hwUZlnSzDGlWZDimwzEZFmf03Gdk-pwOn9Nn1aUHvyDTl3T1ZVA10pZZNo60ZigsktKioa2dVg2VpZ2WzdpO62ZL07qhxTekhRO2U6eNQ4tySDtnaxdBzgnaOWFxTtDOCVs77ZywOCdo56zt7Zybbt79CQAA__-TZW_N +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysl19vskgUxu_3U5Bz1WaH4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UvS2RSCNF6L3e6XHwEAAP__awSLvA== query T EXPLAIN (DISTSQL) (SELECT x FROM xyz ORDER BY y) UNION (SELECT x FROM xyz ORDER BY z) ORDER BY x @@ -210,7 +210,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysll9v2jwYxe_fT2E9V61eo2An4U-uuhUmITHogEmbJjRlxKrQaMxiR0pAfPcp4SKDtU9ss7s6yfH5-TlHxUdQv3YQwfjL0_TdZEbuRpPlavlpek_uluPp-HFFCvJhMf9IivJA5ovReEHefyXlPfk8m8xn6EeH--bvAiikMhGz-EUoiL4BAwocKPhAIQAKIawp7DO5EUrJrPrkWAsmSQFRl8I23ee6erymsJGZgOgIeqt3AiJYxT92YiHiRGReFygkQsfbXW1TlIeHojx83_8UJVB4lLv8JVURKSg5AIXlPq5WHa9Cmec6Ig8M1icKMteNn9Lxs4CInagbU2jMVNoycRum0VbpbbrRHruaEmLguxmExgbBmwbNvnkqs0RkIrnYdX3CELj5GUObMy5lpkXmcXa9_f9v7t-72J-ZF4e5lNnjHc-3rrMFVc-lzqZU3Iaq6dtfaRgW2tig51hobj5X7pS23_EC67QtqPpOaRtScRuqJgzumLaxQd8xbd98rr5T2kGn_jWxS9uCauCUtiEVt6FqwvAd0zY2GDimHZjPNXBKO-xYZ23BNHTK2oiJ2zA1QQSOSRsbDP_BteQVg4VQe5kqcXU9eX3nbnVtEcmzON9xlMyzjXjK5Ka2OS_nta5-kAilz2_982KSnl9VgH-KGSrmuJij4uBCzK7F_i3iABWHOHaIn7nl0D1UPcTFfVQ8wMWDWyY2vEXM8I6xtpLhLWMtE2c39YzdVDSGN431W9DxrrFeixwvWxs73rY2NV43zlrQ8cLxbsu_FrxxLewcL9y1en3673cAAAD__5bTdBs= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycllFv2jAUhd_3K6L71GpGYCcBkqduhUlILXTApE0TqjLidqiQsNiohIr_PiWsS7EbK748VA1Jzjn33s_YLyD-rCGE4fe7m0-jsXMxGM3ms683l87FbHgzvJ47e-fLdHLr7PODM5kOhlPn8w8nv3S-jUeTsfGhw2X1_x4IJGnMx9GGCwh_AgUCDAi4QMADAj4sCGyzdMmFSLPikZfyhVG8h7BDYJVsd7L4ekFgmWYcwheQK7nmEMI8-rXmUx7FPGt3gEDMZbRalzb7_HC1zw_32yeeA4HrdL3bJCJ09sQ5AIHZNiquWu0iymQnQ-eKwuJIIN3Jyk_I6JFDSN8EHA0g7BwJLqPfOGNum5EpGX2bjIOVkKtkKdtU6aLB0FUMqVVXKke_saOnOtbXWBntkjSLecbjM5vF0ZSJNe-Cr2RiVl2YpZnkWZtR1e9jrWFXNaRnhrQ5jBSzYNqs1XYRSwadsotZMk1Tqouma5OyQlgbX_NFY9WXyrGLXzTnNbLmk2AoXtxW20PwwrApeyheGqZUeenZpKymx_C8WPWlcuzheTmv0W0-CRfFi9cqd0lbXlxsyj6Kl4YpVV76Nimr6bl4Xqz6Ujn28byc1-g1n4SH4sVvIWjxsBkDFC2NMqqsBDYZq8l5eFasulI5BnhWApvD0pSLbZoIrhzk3rfqKFYtWpz4ePzIT8dDke6yJb_L0mX57OlyUgqVX8RcyNNd93QxSl5vCZnxaPP_jP1WiRqVWL1SR1ViRiXvTIm-VaKalIuW0urzjFJ-fX1MS-WbW2XTq65RKqhX6qpKPaNSv16Jqkp9dNM1qQAtpdVHzahTA-s9TcsMOzVMkGlaeNx1LTzveo1m4Gmvvsa-pmUmnnbrtVxNy4y8qUZdywy9SUuv0Yw9o_U1BpqWmXvWqdfytF9TM_emGnUtM_cmraDYgx7W6fP9KoYQOv8-rXf-vH6geCF6FMVGOPudPpe683xbbGMP0VpwArfREx9wybPNKik25SWEMtvx4_HD3wAAAP__gtBpeg== # UNION ALL with conflicting numbers of ORDER BY columns. query T @@ -237,7 +237,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0ll1rGkEUhu_7K4ZzldCR9czM5mOvkiYWBKupptBSpFh3CKHGsbsrrAb_e_EDEtvsmS96ueu-857nzHPhM5S_Z5BB5-td77rbZye33dH96HPvlJ2MOr3OzT2r2cfh4BOrV2s2GN52huzDN7Y6ZV_63UGfXfd69IecrU9fHmvgMDe57k-edAnZd0DgIICDBA4KOKQw5rAozFSXpSm2nzzvAt28hqzN4XG-WFbb12MOU1NoyJ6heqxmGjK4n_yc6aGe5LpI2sAh19XkcbarqVfrq3q1_rH4pVfA4cbMlk_zMmM1300IHEaLyfZFKxEw3nAwy-qlqKwmDxoy3HD3YUamqHSRpMdzXOF74DBYVhm7wsYi4VP0mho9sN2YZQAzBkGrxqaXAlPkutD5v8ePN2-M0zcts0jE8U6a6tv_qz51qk-P6tHjygNFT0QrkY6qW8Y5XPtZvOo-3B7grtQygBqDsFVjU6RtGCC7cN-6CLVNthLlaJtlnMPez-Nt8-BGD3BXahlAjUHYqrEp0jYRYJt037oMtU21ktTRNss4h71fxNvmwY0e4K7UMoAag7BVY1OkbTLANuW-dRVqW9pydM0yzGHrl_GueVCjB7YbswxgxiBo1dgUaZqK_Mv4xslDXS7MvNSOJ4856PxB71lKsyym-q4w013N_nGwy-1e5Lqs9r_i_qE73_-0HfB1GMmwOgrj32FBhiXdLGOaFRlO6XBKhsUZPfcZmT6nw-f0XbXpwS_I9CVdfRlVjbRllo0jrRkKi6S0aGhrp1VDZWmnZbO207rZ0rRuaPENaeGE7dZp49CiHNLO2dpFlHOCdk5YnBO0c8LWTjsnLM4J2jlru59z4827PwEAAP__IIl0aw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysl99vokoUx9_vX0HOU5s7BM8A_uCpvdWbmFjtqpvsZmMaVqZdU3VcwFRt_N83qN0qU06GUR9MQPyeL5_5TJQ3SH5PIYDWt4fObbtrXTXbg-HgS-fauhq0Oq27obWy_u_37q3VemP1-s1W3_rvu7W-tr52272uddvp0Bcya3P9cbgCBnMZiW44EwkEPwCBAQcGLjDwgIEPIwaLWI5Fksg4u-Rt94V2tIKgwmAyXyzT7PSIwVjGAoI3SCfpVEAAw_DnVPRFGInYqQCDSKThZLobs1pvblbrzePiRayBwZ2cLmfzJLBWbNcQGAwWYXbCdjiMtgzkMv0YlKThs4AAj5q1mxBUtky_3EDGqYgd_7TXDf4LDHrLNLBusHAwzw32yww-poIlsOgxcXPV0AQKGlHx8qOLsXxMlHEkYhGp80bbT_p1pS0XDj-lVtSnkuvDi1Gc2cfX6uPn-5zywRLaGG4mh9uOq72dsEy9gznVS2ynqjGXEmB0qSgbygQLGnFRNlQxmDMFRrMNdYqC6y8UNxXYtR1PW2Bept5hpWqXELhmygVLgNGloghsggWNuCgCF4M5U2BuJvApCld_oVxTgT3b8bUFdsvUO6xU_RIC1025YAkwulQUgU2woBEXReBiMGcK7JoJfIrC018oz1Rg39bW1ytT7rBOjUvo2zClgiWw6DFR5DWBgkZUFHmLsZwpr2cmr1fm0aQvkoWcJ8JolI1ZexE9i_3dJnIZj8VDLMe7a_eHvV3Q7kQkknT_Ke4P2vP3j5I0FuHs7-PmcRKSSd5JEh4n7f9THkdxMsotLuXnk1zjUsr9eWSUXxzFlSifjOLVEtSrZFStOEmBXqNNqBCs3HxWncxqFLeq5pMa5q24YigtO7WECi2kdUdefI9qL9p3JIqhYjzSyqNXXKymZNHOk8U8JYy2nqKvEqO1R8J7xVWkxeeUYiox2nwk1K8rWbT7ZDFlH3Fz9xVinHafE-4rVnDafU4p1lDCaPc54b6aRbtPFlOWkpu772W_3U9T-fo4iSCAyuFlf_L2_oLsC-Fzkv2BGPySr7vc4XqR_fw_hdNEMLgPX0RTpCKeTeaTJJ2MIUjjpdhu__kTAAD__xe_kFo= # Only one distinct processor should be used in the single node UNION case. query T @@ -255,7 +255,7 @@ vectorized: true └── • values size: 1 column, 2 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysj0FLAzEQhe_-ijCnXQh0N_WUk5X2sFC21doiSA5LMtTFNamZBISy_12aBWvFCkWP82bevO_tgd46kDB7XM4nVc2yabV6WN3Nc7aZzNezFcvKnLNM5GxdV4v6UxUHdZwDB-sM1s0rEsgnKEFx2Hmnkcj5g7RPB5V5B1lwaO0uhoOsOGjnEeQeQhs6BAmbpotIowI4GAxN26WP1-yWZYLp52hfKAfVc3AxHL9QaLYIsuj5xUnlPycdA6J13qBHc5Kg-h9Ypi2F1uowEqc0N-VZgvKSrvdIO2cJv5Gc66Y4oNniUIdc9BqX3ukUM4yL5EuCQQrDVgxDZdMqAX41l38xi1_N4xNz0av-6iMAAP__nsboJg== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyskUGL2zAUhO_9FeKdbNCylrcnnbrFezCk3m2dhEIxRVgviYkjuZJMWoL_e5HcJnVISlNWB4NG8jfzRgew31rg8PT5ZfaYFyTK8nJefpzFZPk4WzyVJGIxJVEak0WRPxdHNfXqQwwUlJZYiB1a4F-AQUWhM7pGa7Xx0iFcyOV34AmFRnW983JFodYGgR_ANa5F4LAUbY_2PgEKEp1o2kB8S96TKCX1pldbG0M1UNC9O1GsE2sM7KNtngFPBnqzM3sVZ3bV-WTYK20kGpQTx2q4kC1rrGtU7e7Tabp37GoidpYovaWLT2g7rSyeJfu32e-YHwHlGsd5re5NjS9G1-HuuH0OoCBItG48TcdNrsIR8w4Gxe5Y6J8k9r-k5JyU_pX0MCElU1JFYdXq_ddGAofk17q78Pm9wP8g1taXXW70PmDnPzpf1Uq0Fil8EFvM0KHZNco_ew3cmR6H4c3PAAAA___ybykc subtest Intersect @@ -281,7 +281,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElu9vmkAYx9_vryDPqzY7g3eAP0iWtGtdZuK0E19sWchC5VbNrMcAE2nj_76ANS2i93Bi6DsVPndf7vk8PjxD9G8BNvR-3A2u-0Pt4rbvTJzvg0vtwukNejcTLdG-jEfftHXydKn1h5Pe2El_vR4MDt4xGt_2xtrnn1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jIMk1KHaYee8kOfhUipwYS2hzeW0jssGVxvo7tvmxB8sJ7_eif-Hf8g_0Fwo8B_hPk6uiu4iyyWCvzrYKskgy_BD3kpU5ncbnYblW5W4KfJXh4OP_0bAAD__wNkH9Q= query T EXPLAIN (DISTSQL) (SELECT y FROM xyz) INTERSECT (SELECT y FROM xyz) ORDER BY y @@ -304,7 +304,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mF9v4kYUxd_7Kaz7lKhGZmZs_liqlO2Gqkg0bIGHVlVUsTBNUFlMbSOFRPnuFbCRExvfMxPbeUuAn-f4MuenMU-U_LemkAZ_fBl9Gt44F9fD6Wz6--jSuZgORoPPM2fv_DIZ_-Y87B8vneHNbDCZHl499-54cj2YOD__6ezJpU201Dfzbzqh8C8S5JIklxS55JNLAd26tI2jhU6SKD585OkIDJcPFLZdWm22u_Tw8q1LiyjWFD5RukrXmkKazb-u9UTPlzr22uTSUqfz1fq4zMP-8eph__j39l99iPA5Wu--bZLwmGe6nR_-bHmSbp9dinZptkSSzu80heLZfV-MoNYY0ibG9SpJV5tF6oncLK5EboGM-bp37ufJ_ZnPZyHU-0IEtYbwS0Nk19ltonipY718c6XjVUpjSjSrLELQVAQ0qSxCp0IE910pf50n91Odjreeyk1qtt_q8JUGPo1G5NJa_5NeXInLn-LV3f3xL3JpvEtDh7mtrs0Om0ZxqmNPFab2Y-n1ewZjOzeR7xc9E-ImakVbz2_nZ3x2-f6b5YW5TIS1TDzZ8pSh1SyCdGoOIm2CZEoRDXrNOESnQa-J-qSCZlXmtRojoEmVec0uQmWviQ_yGthhL14rTM3Ua9K8z9K-z6rl-YZisQjSrTmItAmSdVo2KBbjEN0GxSLrazWaVZlYaoyAJlUmFrsIlcUiP0gsYIe9iKUwNVOxKPM-K_s--y0vMBSLRZBezUGkTZCs06pBsRiH6DUoFlVfq9GsysRSYwQ0qTKx2EWoLBb1QWIBO-xFLIWpmYrFN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viGIrq4ybBVVGJ4nDoMq4ZFBlXDKoMkpGLkuVVUbBcBZUGRcMqoxLBlXGJYMqo2R4t6TBMvPJ9xVd8tuTBCojxtBYshrs4zqkM40li1RGKtPYsRp8XeyRLKxY7RVnkQuJJoqtrDJuFlQZnSQOgyrjkkGVccmgyigZuSxVVhkFw1lQZVwwqDIuGVQZlwyqjJLh3ZIGK8OnJzneLllheZVRMixZF-3jSGculixSWe_lxhG3s-j7l-lEBKL949bc8Wd7E-sPhHeJCJ7F8D76vskdrRYmEcFtOEuMIz6F38y5SU38MJ1Pk3Q6FkEaL83Lyy__BwAA__9jV3BW # INTERSECT ALL and INTERSECT with MergeJoiner. query T @@ -325,7 +325,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEll9v2jwUxu_fT2Gdq1YyCnYSWiK9UruWaUgMOuBi0xRNKfEKGsVZHCTSiu8-JUxq-ecTzyjckSY_-7HPT-rzCur3HALofH3o3Xb75OK-OxqPvvQuycWo0-vcjUlOPg4Hn8kqfyGD4X1nSD58I_kl6fbHneGo-OC210M-BgoLGYt-9CwUBN-BAQUOFFyg4AEFH0IKSSonQimZFp-8lkA3XkHQpDBbJMus-HNIYSJTAcErZLNsLiCAcfQ4F0MRxSJ1mkAhFlk0m5fbrPKXm1X-8iP5JXKgcCfny-eFCkjxMEqi4mfD4RCuKchl9neLt5UfczKN1HR7zRsG4TqkoLLoSUDA1vTfovq1R-VHo76ts1zINBapiLdWCgsS--TAeT9FajoS2SBx2M5kxnkigm2FgMJc_Mwubtjl_-nsaVr-AgqDZRaQ8ijvj_52LNfiWAcy92VDJg7zdy_g4N7e1t6s-vSZ8fQd3nDcE6pqELZ1hrD8aNgaZGU1ycqrz4Cbz8BtON4JhTEIe3WGsPxo2BqE4TUJ41afgWs-A6_h-CcUxiDs9RnC8qNhaxDGrUkYr_oMPPMZ-I0T6mIQtV17VH40ag2yeGfoTgcSDYVK5EKJSs2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mxQImZ1-tU4X4235k1W8IRX-5ue5vT1p0EziRNSwGWURURxZoE1luc0sR2Fxwr7zc5RJIw2aSZyIGjajLCKKIwu0qSy3meUoLKvOMs9ZdjPKVVA2iuLVnTfRGTpdLRzQSJiFRBRmIRGFWkhlYRYqLLerhZxGwiwkojALiSjUQioLs1BhDTpbqKBuuqpzQyNh6hBRmDpEFKoOlYWpo7Buu6pj0UiYOkQUpg4RhapDZWHqKKxhZ3UUFO98-LslojB5qCzMHioL1YcMw_xRYZ1PgDYRhRlEZWEKUVmoQ2QYJpEK634MVFnKObCtRUMiCrOIysIsorJQi8gwzCIVRjk5V0tBRGEWUVmYRVQWahEZhlmkwpQjYWuLnOOSwWMUf_8SBuCB-eOjv_Ln_w8UD_hPErwDzNfx95K7yBMhwXv0IykYfPK_iXuRiXQTbkOZhSvwsnQnjsdf_gsAAP__wUHttA== query T EXPLAIN (DISTSQL) (SELECT y FROM xyz ORDER BY y) INTERSECT (SELECT y FROM xyz ORDER BY y) @@ -345,7 +345,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmMFu6kYUhvd9CuusEsnIzIwNxFKl3N5QFYmGW2DRqooqLp4mqAS7tpHiRHn3Clg42PH5PbGd7kLij_nnZL7DGV4o-XdLPo1__zb9Mrm1Lm4mi-Xit-mldbEYT8dfl1Zm_Tyf_Wo9Zc_WbH4znls__WFll9bkdjmeLw4P8A-STbsw0LerR52Q_ycJskmSTYpscskmj-5siuJwrZMkjA-PvByBSfBEft-mzS7ap4df39m0DmNN_gulm3Sryafl6vtWz_Uq0LHTJ5sCna422-MyT9nz9VP2_Ff0j87Ipq_hdv-4S3zr8GIRrQ4_9hxJd682hfs0XyJJV_eafPFqfyyG12oMaRLjZpOkm906dUShFteisEDOfM-sh1Xy8M7zeQj1sRBeqyHcyhD5--x3YRzoWAdn73R8l8qYEtUqj-B1FQFVKo8waBDB_lDKX1bJw0Kns8hRhUots0j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rBeVa88ixfG_FrbPtIsaB8-yIowZB8pGbSPlAzah5Oxi1Jt-3AwnAXtIwWD9pGSQftIyaB9OBm-kmsF7OOze2q8LrLCivbhN-h4aYTswyrT2LE6KDdGn2VhxWq_PIsZVjPD1raPNAvahw-yIgzZR0oG7SMlg_bhZOyqVNs-HAxnQftIwaB9pGTQPlIyaB9Ohq_kug_sw26kNF4qWWFF-zAvarxYQvbhlWHHemCXZ8DWzhVbT2ARx3Tt4dtYZB9pFrQPH2RFGLKPlAzaR0oG7cPJ8B4Usg8Hq9hnQ_aRgkH7SMmgfaRk0D6cDF_JPfAP6DKVeXixZIUV7cPJ8GoJ2cd_vnbpZhH_-DqfUUidfx-tN_78fND2C9FtSuETje_iH7vcyWZlUgpvokVqXPocfTdnJjPJ_Xw5T7P5lMIsWZvn5__9EwAA__-h80Bm # INTERSECT ALL and INTERSECT with no overlap. query T @@ -375,7 +375,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmF1v4kYUhu_7K6xzlahGZmbMl6WVst1ltUgUtoDUVi2qWJgmqART20iQKP-9MjQhtsm8PoaYO74ez-TlPO-YPFL474I8av_2rfux07OuPneGo-Ev3Wvratjutj-NrI31ZdD_2dpsH6xfv7YHbWtj_bmuVtXUktdWpzdqD4bxxz52uxDRH2KmP_jcHlg__W5tyKalP9O9yb0OyfuDBNkkySZFNrlkU43GNq0Cf6rD0A_ijzzugM5sQ17VpvlytY7il8c2Tf1Ak_dI0TxaaPJoNPm-0AM9menAqZJNMx1N5ovdMpvtw81m-_DX6h-9JZs--Yv1_TL0dvsZribxw4ojafxkk7-ODkuE0eRWkyee7Pzb-DJfRDrQgVNL7mH_umfdiEM0nud1eqNmauHDtb5vrbtJeJe80I2g8dNhc5KzudcZifOGpAqFJEBK0_OE5L65ucN11ks_mOlAzxJXGsck-siRv_DrJLwb6qi_cmQq59F2pb2kR2TTQv8dXd2I6w_B_PZu94hs6q-jOIo3M69xMh_6QaQDR9bSSf345vXrOWI7lsj_Fz2yiZ5f8VeOqqYzPrp8I7G8YIw2e7IdWXFUzgIAG3mZ7folCoCT0rljUoViEiCnd6kAUW4FiJIqAGT-XAH1ohUg80-X5A-XqjhuTgfBRl6Gq3EJBxkpiXPHpArFJEBO7-KgLNdBWZKDIPNnBxtFHVT5p0vxh8utOLWcDoKNvAxX8xIOMlIS545JFYpJgJzexUFVroOqJAdB5s8ONos66OafLpc_XLVKTgPBNl5Gq3UJAxkZifOGpAqFJEBK7-KfW65_bkn-gcyf_Wud46fokesPdLjyl6HO9SuzGmemZ7d6_x2E_jqY6m-BP90ts3_a33G7F2Y6jPbviv2TznL_VrzB17BIw-I17CZgyYOFOIlunEJLdRLdMtPSmLgyJ64YiQsenEqcSzdOoVOJc-mWmXaNidfMideMcN28ct38XQO9Gka6aYabp7hphpGbgAZummnkJqCBmy1zG1ZBHWbKlGMnoJGeCAd-AhwJinBgqMhUajJ4CYI3dyqQVGTaJbm4CxbP1AvrFDTT8BgEODoHzTg8CAEObBPmbhV1EHymXVm6mWmoG8CRbmYc6gZwpJv5ZBHgaBGZkmXpZi5ZCUpWcko2e_PFKlk2DnQDONIN4ejG01yyEpSszJQsRzdAI90QDnQDONIN4UA3aT5gJDhgpPn-FegmzSUrQclKTslmR45Vsmwc6cYqWTaOdDOXrAQlKzk38NlvnXUHz8aRbqx7eDaOdDMfMAocMMr8L5G0buOnH_4LAAD__5zH6MA= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmNtv2lgQxt_3r7DmKdEamXN8ASxVSrehKlIKXUDaXe2iyoWTgEowaxsVEvG_V0C52MMZPA4heai42D8P38z3Te1niP8fgw_1v7_cvW80javbRqfb-fPu2rjq1O_qH7rG3PjYbn025osn469P9XbdmBv_zcplu2_Ia6PR7NbbndVh7-_uTp6i3q3OabVv623jj3-MOZgwCQeqGTyqGPx_QYAJEkywwQQHTHChZ8I0CvsqjsNodcjz-oTGYA5-2YTRZDp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SZLDIw2DAqMLgwMjDYMCowMIzeSpLYSpiFllLuwMBzQbPIwGDDqMDgwsjAYMOowMAwepFLYpF7GEbfIFGBgQeD3kqS2EoOYnG2UjowakwWGRhsGBUYXBgZGGwYFRgYRm8lSWwlzOLcWaYDA88F69YyHRhsGBUYXBgZGGwYFRgYRi9ym7q9RDCbfrZJBUZt2TPhfhz--DoagA_lX3-lI_9s_2B1QvAQg_8MnWH4Y83tLqYqBv8-GMfKhM_Bd3WrEhU9jiajOBn1wU-imVouf_sZAAD__3IF2_Y= query T EXPLAIN (DISTSQL) (SELECT x FROM xyz WHERE x < 2) INTERSECT (SELECT x FROM xyz WHERE x >= 2) ORDER BY x @@ -404,7 +404,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy82Ftv4kYcBfD3fgprnhLVyMzFXCytlO2G1SJR2AJSW7VRxcI0QWUxtY0EifLdK6CJw8X_42GGvCWEwxzOmp9YP7H03xmLWOu3r52P7a53ddseDAe_dK69q0Gr0_o09Fbe537vZ2-1fvR-_dLqt7yV9-eyWpVjT1x77e6w1R9snoaerj9snt_r37b63k-_eyvms3k80d3Rd52y6A_Gmc8E85lkPlPMZyG789kiicc6TeNk85SnbaA9WbGo6rPpfLHMNg_f-WwcJ5pFTyybZjPNIjYcfZvpvh5NdBJUmc8mOhtNZ9tjVuvHm9X68a_FP3rNfPYpni2_z9No22ewGG1-rASC3T37LF5m-RFpNrrXLOLPfvkan6ezTCc6CcL9DrvHI--G59NEUdTuDhuFBwuTg9--f-52AHnWABwsMMYDKJODb6dpNp2Ps0AcvPsbfnBAnvm29h5G6cOJ5-clwvNKhE5L1ApL5K-znMfJRCd6svdK21cprCnRVnmF-qUqoKXyCg2LCv5ZLb-M0oeBznqLQB0sNVwvdPTGwo-dDvPZTP-dXd3w6w_J9P5h-xPzWW-ZbS77wrfVNLnCBnGS6SRQR6v9WAxYtcRupyb5_1VPtOjGlXgRhNXDkU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EsAvstOzuCb1wOf9Sh9Ap_sygG_w3lJo2-TRTRP7EGvHeTvqiY3O9vJjX38uSXRMh7bL3E03t728cOrbdD2ExObpI9flY8f9OZPX0rS2I7unl953k2SMCkoTnp8YXQ3SsEoXRxFkjRMMqAUuT6Tj5K7Uc29KLkbpZhRsgWyyBXiLAWyNLOXRlnMXgZkGdIrgFkoitTCUbJdnBUwaymUxeylQVaT2cugLNKrCZ9AIKpFarUYUWovSuaj2jCqU_y0bpNWHQxgo_gK22QsiTUNWJxiT6UCdpEsDKpsgqwmCcOmSoAqzSJK7GehU4NeJX7cI6G5WZBoepUlUCBXuc0g0txmUGnajFhxMNO0GM6CTnOLQai5zaDU3GaQatoMAys7AGtFwjCxubB9rjUJw8iqBgCbbKZKfmVFYpPNFFZWAWXJZAorq5CyLRKGlVVAWZqFlVVIWXqV1ZXlZkFl6VU6KMttBpXlNoPK0mbVlaXFHJTlFoPKcptBZbnNoLK0GVZWIWUNCcPKKqQs_V8zVlYjZclm2kFZspnGymqgLDlLdMkfB5CybRKGldVAWZqFldVIWXqV1ZXlZkFl6VU6KMttBpXlNoPK0mbVlaXFHJTlFoPKcptBZbnNoLK0GVZWI2XJL3kaK6uRstQyrKxBypLNjIOyZDODlTVAWXIwGaysQcp2SFjJX2GBsjQLK2uQsvQqqyvLzYLK0qt0UJbbDCrLbQaVpc2qK0uLOSjLLQaV5TaDynKbQWVpM6ysQcpSfrCyBilLm2FlA6Qs2SxwULbzcO2L77Po59fpRISi8fut9sI_T29i8w2jm0SE92JwG_3c5g7XC5uI8PtollhffB79sOc2tfHddD5N0ulYhGm8tA8P__onAAD__321LDo= # INTERSECT ALL and INTERSECT with some overlap. query T @@ -434,7 +434,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmF1v4kYYhe_7K0bvVaIamZkxX5ZWYrvLapEobAGprVpUsTBNUAl2bSNBovz3ytBAbJM5HhPMXfh4PC-Hec6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U9luVGtvff5rRQMVr54oOv3FIhUnMj3_6c_O9AKn377c6Wf1Z3v6ay84_TXOTZC2jqbBJNK5bjeUU5cqiVXMevCgN22LglnY11_CoL9-7eZhaw1aPzHQUbz5rdg8aEy2v4riUPuPu9uWhySRJolDkp0gyUPS5rZXfpQQ2SzJZVWyWYrJkiqbZXNZtWyWg1iSbKLKbiIiKUYTRaKJaB5oVKqJCZbksirZLMVkpZqYYNlcVi2b5SCWTTbRyW6ii1AOiXKzq3LRQLj0aHEEUSFR1WySSJOqhVXj8lCkargsSjVMFqkaLotSDWLV6H1RJsYUGRDtntyyQRNxgkXahg2jdMOFkb5hwyjhYBhaQcleSqKXGEbvIMo5eDCQVpOF2dmFScRCWs3tigqTRcqCDaNswYWRumDDKF9gGL2LhJvdS8xCyyi3MPBc0CxSGGwYJQwujBQGG0YJA8PoDS6IFe5iGNpKuYWBB4PeSpLYSgr9Lc3ZSklhVJksUhhsGCUMLowUBhtGCQPD6K0kia2EWWgp5RYGnguaRQqDDaOEwYWRwmDDKGFgGL3IJbHIXQyjvyBRwsCDQW8lSWwlG7E4WykpjBqTRQqDDaOEwYWRwmDDKGFgGL2VJLGVMIvzzTIpDDwXrK-WSWGwYZQwuDBSGGwYJQwMoxe5or5eIpii721Swqgteybcj4MfX0cD8KD866d05J_tD6ze4D9E4D1DZxj8WHO7i6mOwLv3x5E24bP_Xd_qWIePo8koikd98OJwppfL334GAAD___pP_DM= query T EXPLAIN (DISTSQL) (SELECT y FROM xyz WHERE x < 3) INTERSECT (SELECT y FROM xyz WHERE x >= 1) ORDER BY y @@ -463,7 +463,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy82G1v2lYcBfD3-xRX91WiGZn7YAKWKqVrqIrEoAOkbdqiicJdgkYxs40EifLdJ2DB4cH_Y_vaeVceDj49vfxE_cyjf-fc5-3fvnY_dnrs6q4zHA1_6V6zq2G72_40Yhv2edD_ma03T-zX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ZmHLamRZesrqluVmQcvSUzpYltsMWpbbDFqWNqtuWVrMwbLcYtCy3GbQstxm0LK0GbasRpYlv-RpbFmNLEtdhi1rkGUJM-NgWcLMYMsaYFkyTAZb1iDL9khYyV9hgWVpFrasQZalp6xuWW4WtCw9pYNluc2gZbnNoGVps-qWpcUcLMstBi3LbQYty20GLUubYcsaZFmqH2xZgyxLm2HLBsiyhFngYNnew5Uvvi2iH1_mMxGK1q-Pxgv_efoQ2ydMrhMR3ovRTfRjlzverGwiwm-TRWJ98Wny3Z7Z1Ma38-U8SedTEabx2j48_OufAAAA__9gm0x3 # INTERSECT ALL and INTERSECT with swapped column orders. query T @@ -484,7 +484,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEll1v2jAUhu_3K6Jz1UpGwUmgJdIkqo5pSAw64GLSFE0p8QoaxVmcSEkr_vuU0JbyMZ84huzS4Ae_9nkk3mcQf5bgQu_73eCmPzQuPvUn08m3waUx6Q16t1MjJUZmfB6Pvhpp9mT0h9PeeJJ_fjMYvG7JiJG-bQECKx6wof_IBLg_gAIBCwjYQMABAi3wCIQRnzEheJRveS6AfpCC2ySwWIVJnH_sEZjxiIH7DPEiXjJwYerfL9mY-QGLzCYQCFjsL5bFMWn21E2zp5_hb5YBgVu-TB5Xwi3iA4FJ6OerhplHGSWxa3Qt0qXgrQnwJH45cnvSfWbMfTHfPaNLSdcCb-0RELH_wMCla1Itfatqes3A1j8Db38qWfEoYBELdn7My0lsy5Fbf_HFfMLiUWjSvZFNs5C5u0YBgSX7FV8UwS8_RouH-evibW4vd3r_DNv72Rr3OxJ-yBs8NGlr_yWOnu3snE3Ly0CryGBaDdM-o8wK-dvV859UZ1qvzrRuna3yI7EqjcRumM4ZlVLIf1U9_0mVsupVyqpbKbv8SOxKI3EaxX_duZRSyH9dPf9JlbLrVcquWymn_EicSiNpNc4olEL6TtX0J9XJqVcn5392uCPRxkyEfCVYqYbWzC_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bJtJq7G95XoKqxQiHz3a_2bjBYVj_Z5QqZCBavLxLtSd1mEieies0om4jiSECHyvKaWa7C4oRz5_soi0bqNpM4EdVrRtlEFEcCOlSW18xyFZZ9yLL2WU4zylNQDori9ZO30Bq6uhZ2aSTMQiIKs5CIQi2ksjALFZanayGnkTALiSjMQiIKtZDKwixUWF1tCxXUla46VzQSpg4RhalDRKHqUFmYOgrrWlcdm0bC1CGiMHWIKFQdKgtTR2H1tNVRUFz78ndNRGHyUFmYPVQWqg8ZhvmjwrRvgA4RhRlEZWEKUVmoQ2QYJpEK078GqizlHtjWoh4RhVlEZWEWUVmoRWQYZpEKo9yc601BRGEWUVmYRVQWahEZhlmkwpQrYWuL3O2EwWOc_PwWheCD9fwx3_nz8oHygWAmwd_AaJ78rLjjIhUS_McgloLBl-CHuBG5yBbRMpJ5NAU_z1Ziu_3tvwAAAP__128PNA== query T EXPLAIN (DISTSQL) SELECT x, y FROM xyz INTERSECT SELECT y, x from xyz @@ -504,7 +504,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmF1v4kYUhu_7K6xztSsNgpkxH7FUidVuqiLRZBu4qFRFFQvTBJXF1DYSJMp_rzBtnNjxeWf8kV6C8-B3Tvw-zPBI8d8bCujyt6_TT5Mr78OXyWw--3X60ZtdTi8_z72D8I7eTzfXv3iH44M3uZpf3sxO7_97-Si8w_NlErQNV-Zq8d3EFPxOkgQpEqRJkE-C-nQraBeFSxPHYXT6k8cUmKwOFPQErbe7fXJ6-1bQMowMBY-UrJONoYDmi28bc2MWKxN1eyRoZZLFepPe5nB8GB-OD3_s_jJHEvQ53Oy_b-MgjU6CZrvF6VWne4pyvU8Cb6zEWNLtk6Bwn2S3jJPFnaFAPolqsfpVY5UlUS5JvqzjZL1dJl2ZG89YinH-Hhn27ejdL-L7t5Esiq4Wpd9CFL80SvZR-20YrUxkVq8-LP2U0rDKYm5Zin5bKSxGlqUY1EghKgX9eRHfz0xyvevq3Lzmx50JXhji03RKgjbmz-RDuoiPP0bru_v_Xjx3kV3fsNkpX4WdcNfV_fwk3rz36NW9pb0HZBUPdFWnq6sIyiHYoHowO0WBLJkXZOuKso4yaF1Rsjk5WMytTFENprAYWZmi3FLUVpR8b0Up-zaqSm3Una5fRRMOwYbVg9lpAmTJuqla14R1lGHrmlDNFdRibmWaaDCFxcjKNOGWorYm1HtrQtu3UVdqo99JjyPOmnAINqoezE4TIEvWTd26JqyjjFrXhG6uoBZzK9NEgyksRlamCbcUtTWh31sTvn0b_Upt7HeqSMIh1kXVWHaKAEmyXvqtK8I6ykXrivCbK6fF3MoU0WAKi5GVKcItRW1F-P_nbyJvRLsx8S7cxsbqF4_eaXFmdWfOw4rDfbQ0X6Nwmd7m_PI65dI3ViZOzlf1-cVke750CvgSliyseFjlYfkS9l_B0g2WqhZ9UYdWgzq01jytWbpfB5a1bq16tehhHVqDh8VnH1Pw_-o7wCoPD1gYLHrIV3PA12vE0lLy9AVP94AXClZx6TagUbkRDtoNcFRvgKN-y4JSXQoOaNRwgKOKIxw87gBHJZcFsb5-ZBFeUAyHF4ouecegpfOSkSNQN14zcgjwgmic2srTsK0AR23lcdhWHodtLUjWqa08DdvK47CtAEePLI_DtvJfMEqCTRS_bc3hhbYqfuMKlq5406g-2PfyplE-wAumcdo38zTcOAMc7Zx5HG6deRy1VRUs69JWQKO2Ahy1FeHokeVx1FbFf8GoEcD5nWwOL7aV38qipfOm0eCUqsEBGeyjNb-pAXMHNGorwkFbAY7aCnB40uUPyuioC4749W4OD7sAR6dd8BsBemr4LxiNRsdvZXN4oa2a38vml3779MM_AQAA__9OIkqs +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmFFv2kgbhe-_X4Heq1YygpmxDVj6pFRNVouUJt3AxUqrqHJhkqASzNpGhUT57ytIE2O_mcOMvUtyEckYHz9zzDz2-JGyv-cU0dmfX88_DS9aH06Ho_Hoj_OPrdHZ-dnncWvttTat364uv7TWm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hZGHMrSisbDHFwrBckcZ4Zdiuom82Ro9lYb2KnjmLF8b8am0f1yxoHz7IA2HIPq5k0D6uZNA-nIzdlKztw8FwFrSPKxi0jysZtI8rGbQPJ8N3cimAfXz2TI3XRZWwsn34AzpeGiH7sMokdqwMzMbosyysWOmbs5hhJTOstX1cs6B9-CAPhCH7uJJB-7iSQftwMnZXsrYPB8NZ0D6uYNA-rmTQPq5k0D6cDN_JZR_Yhz1ISbxUqoSV7cO8KPFiCdmHV4Ydq8BbngFbOx949QQWcUzXCj_GIvu4ZkH78EEeCEP2cSWD9nElg_bhZPgdFLIPBzvwng3ZxxUM2seVDNrHlQzah5PhO7kCFyBkKlN4sVQJK9uHk-HVErKP_3Tt0c08-fltNqWIur_-2m_8e_mj7QHxbUbRI43ukp-73PFmqTOKbuJ5pj36Ev_QpzrX6f1sMcvy2YSiPF3pp6f__RMAAP__YxBuLw== # INTERSECT ALL and INTERSECT with different ORDER BY types. query T @@ -528,7 +528,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8ll-PmkwUh-_fT0HO1Zp3DM4A_iFpsttdm5pY3aoXbRrTsDJdTV2hgAm42e_egGssInMYUO50nWfmMOf57eEV_D9rMKH_7XF4NxgpNw-D6Wz6ddhQbqb9Yf9-poTKp8n4ixJGO2U8eehPlI_flaihDEaz_mQaL7gbDoWLd43j5xAIbBybj6wX7oP5AygQYEBAAwI6EDBgTsD1nAX3fceLl7wmwMAOwWwRWG3cbRD_eU5g4XgczFcIVsGagwkz62nNJ9yyuae2gIDNA2u1To4Jo91tGO1-ur95BATunfX2ZeObSkiUHRCYulb8ranGpYy3gancUpi_EXC2wft5x2OeImVp-cv0Acn6OQE_sJ45mPSNlKvbKFx3dI26WW7dx322G8ezucft1E7zmMSWnHn4z5a_nPJg7Kr0pGezyOVm2jMgsOa_gptb2vjgrZ6XyafcRz8-libTjqnjBdxTqXF6U__n7q8XuLZzN_K-6Z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J5lv_y_4YcacbvfrKYyHQUtXllT6dZJL1yDoHBSt6nVzf8-pd4-bAo3tW24q1Mq1ImJ-3XJIxTGbe5U23lz7UT2tUJmzT2WM9eZzmyqruwFUZtYVZ34eh6nMp6RLkBvHlguY54bdFqW2dSj-tW0tFR75SVVOXr1FZyAfn45eQj7dhBvs4H5Cs3VjSPiNAKu9Vq22cKu9CtpKsV9hNWUg17t7aSC4RdXC7spB07hL37gbCXG2s1j4ilFXa7VdxhzhF2S7eSnlbYT1hJNey92kouEHbrcmEn7dgh7L0PhL3cWLt5RGytsDutM0Xd1q3D1Yr6yeqoBt2treMCQbcvF3TSfh2C7n4g6C7lgWUskyhcJ7LRo4FZmarF8zbL4EG-bFsSbuK5_BqH82Lsy8dRASpyHMgkfflWvHwYrIuvRD5DLP3H_54rm5O69SRORHFezxJUllPPsqgst55lKyxOaDx_jzJppG49iRNRlcaXWILKcupZFpXl1rNshSWqLPM9yyqhzFLiFZSFouz6VTlKHGwUJXj9spRVObpKd2gkTGkiClWaysKUprIwpRVWR1dpTiNhShNRqNJUFqY0lYUprbC6qDw9RGkF1dNWWomDq-thl0bCPCSiUA-pLMxDKgvzUGFxyqWmHHkiCjORykJVJMMwF8kwTEYVphzWJYW4QHRUYfhpjfmoxkI5rpsK2SOiMCOpLFRJMgxzkgzDpFRhyg2nqZQWEYVJSWWhUpJhmJRkGCalClPuOWUpO4iUKkw5uxtLqcZCObubSukSUZiUVBYqJRmGSUmGYVKqMOW601RKm4jCpKSyUCnJMExKMgyTUoUpl57yQ5-JSKnAhHKGN5bS3c8Y3K_Cp2_LADwwX1-tI38OL8h_4D8k4D3DZBE-FdxpFskEvHt_lUgGX_wf8lamMn5crpdJupyDl8Ybud__9G8AAAD__6RkRd0= query T EXPLAIN (DISTSQL) (SELECT x FROM xyz ORDER BY y) INTERSECT (SELECT x FROM xyz ORDER BY z) ORDER BY x @@ -551,7 +551,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cock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AxnQZVJwaDKpGRQZVIyqDJOhldLBswMn5_keLmUCztUGSfDkvXQOo515mHJIpUNnq5duplH37_MphRQ58ej9cqf_YO2XwhvEwoeaXQXfd_ljjdLm1BwE84T69Kn8Js9tamN72eLWZLOJhSk8co-Pf30bwAAAP__Hs-WXw== # INTERSECT ALL and INTERSECT with different numbers of ORDER BY columns. query T @@ -575,7 +575,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8ll-PmkwUh-_fT0HO1Zp3DM4A_iFpsttdm5pY3aoXbRrTsDJdTV2hgAm42e_egGssInMYUO5W5Zn5Mec5e-YV_D9rMKH_7XF4NxgpNw-D6Wz6ddhQbqb9Yf9-poTKp8n4ixJGO2U8eehPlI_flaihDEaz_mQaP3A3HIofJsqucfwYAoGNY_OR9cJ9MH8ABQIMCGhAQAcCBswJuJ6z4L7vePEjrwkwsEMwWwRWG3cbxF_PCSwcj4P5CsEqWHMwYWY9rfmEWzb31BYQsHlgrdbJNmG0uw2j3U_3N4-AwL2z3r5sfFMJSZIQCExdK_6iqcZpxtvAVG4pzN8IONvgfcvjTk-RsrT8ZXqP5Pk5AT-wnjmY9I2Ui24Uj36N3Cw393Gd7cbxbO5xO7XSPCaxR868_GfLX055MHZVelK2WeRyM20bEFjzX8HNLW188FbPy-Sv3Fc_vpYmU46p4wXcU6lxelL_566vFzi2cyfyvuiZECOn6bgqa52e8dntjdT2tLhttGSjqKypaldpFYnw7TKtcsnkLDd5Dc1Ca2oWpCCHZmmXbRZWvOCsrK1aU9WvYqtE-E4pWy-YnOUmr8FWVpOtSEEOtnbK2qoVL7hW1la9mdwCLm-rRPhuKVsvmJzlJq_BVq0mW5GCHGztlrVVL15wvaytRvMqrkpE75Vy9WK5WW7uGkzVazIVKcfB1N4lrsxn1p9w33U2Pi90G27FZ8btZ76vge9svQV_9JxFss3-4zjhktuNzf1g_yvbfxhskp-SuhaHO1VgSivRRiW6J6apxJlROb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27JD33jvyXm2s2zwirmnevdaJ0u6aluIbpf3D6qhn3dfWcYasu-fLOmm_Dln335F1n_LwMpZZEq8z2egxwa5N1eJFm2V0J5-3LYs36Vx-TeN5Ofb57agElTmOZJY_fyue3wzW5VeimCGV4f1_z5jNSV09iRNRnOtZgsry9CyHyvL1LFdhcULj-VuUTSN19SRORNUaX2EJKsvTsxwqy9ezXIUl6iz7LcupoOxK4hWUg6Jc_ao8JQ4uihJcvyxlVZ6p0h0aCVOaiEKVprIwpaksTGmF1TFVmtNImNJEFKo0lYUpTWVhSiusLipPD1FaQfWMlVbi4Jt62KWRMA-JKNRDKgvzkMrCPFRYnHKpqUaeiMJMpLJQFckwzEUyDJNRhSmHdUUhLhAdVRh-WmM-qrFQjuumQvaIKMxIKgtVkgzDnCTDMClVmHLDaSqlQ0RhUlJZqJRkGCYlGYZJqcKUe05Vyg4ipQpTzu7GUqqxUM7uplL6RBQmJZWFSkmGYVKSYZiUKky57jSV0iWiMCmpLFRKMgyTkgzDpFRhyqWn-tBnI1IqMKGc4Y2l9PczBrer-OHbMoIA7JdX68ifwwuKH4R3GQRPMFnEDyV3uktkBsFtuMokgy_hD3ktc5neL9fLLF_OIcjTjdzvf_o3AAD___S7Sns= query T EXPLAIN (DISTSQL) (SELECT x FROM xyz ORDER BY y) INTERSECT (SELECT x FROM xyz ORDER BY y, z) ORDER BY x @@ -598,7 +598,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mF1v4kYUhu_7K6xzlahGMDPmU6qU7YaqSDRsgYtWVVSxME1QWUxtI0Gi_PcK2MgJg88744_cBcLjeX2Y99GYZ4r_W1GP-n98GX4a3HlXt4PJdPL78Nq7mvSH_c9Tb-f9Mh795u32T95ofNsfez__6e2vvcHdtD-eHD7AftD3nq7TlzvyaR0u9N3sm46p9xcJ8kmST4p8CsinJt37tInCuY7jMDp85PkIDBY76jV8Wq432-Tw9r1P8zDS1HumZJm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eBe47LNarrhSvrvu6rRrm8-piDmqZrxJj3nsDCWNmGO-43hM1l1ENjuu94q4aOqasTeC94qYaMpV1CbzXpKfG3vPeznuiVbr3HutV4L2B5MfOoU2W0SKxlX5W7OSGaqltzXZ6a59PWxKt4on9HEeT3bHPT692QbsXpjZJn981z0_OF_u3kjS24f1_f-d4maRgki5O6uSTdD5JvUzyDpLUyyQljFIGZLEJ4iytirO0kEsPQJaQy_SKswzjMjCrC6IYFo5S4DR6QiytQZaQy3SKs7pCLtMHWYzLg9ePXxzlM6yuIEofRKl8lA-jesVXdY9R9WAU6KrHuurDKE8JZDOAUQp4y2cGxDJVAIv1rphOK0tQmgUtyCeJw6AGpWTQg1IyKEJOhq2KTMjBSu5CSIVSMOhCKRmUoZQM2pCTMbUeXkvgBPiahWG35sIOjWhYGLar8oETeWfYr0iKvDIsWN0BYCwLG1YNirN4-0yxlVUmzYIq45PEYVBlUjKoMikZVBkj0-y2VFllDKwkC6pMCgZVJiWDKpOSQZVxspKdEVizvsfCmGRR2KHK-M4BS1Z7wBi8MyxZpDJeGXas7heD9VkWVqwG32GZ-zVTbGWVSbOgyvgkcRhUmZQMqkxKBlXGydhtqbLKOBjOgiqTgkGVScmgyqRkUGWcDO-WDFhmPvu-Ykp-e1JAZcwYBkvWgH1cj3VmsGSRylhlBjvWgK-LA5aFFWu6xVnsRmKYYiurTJoFVcYnicOgyqRkUGVSMqgyTsZuS5VVxsFwFlSZFAyqTEoGVSYlgyrjZHi3ZMDK8PlFjrdLubBDlXEyLFkP7eNYZx6WLFLZ4OnapZt59P3LbEoBdX48Wq_8s3_Q9gPhbULBI43uou-73PFmaRMKbsJ5Yl36FH6zpza18f1sMUvS2YSCNF7Zp6ef_g0AAP__9qua_Q== # INTERSECT ALL and INTERSECT with compatible ORDER BY columns that are not in the final result. query T @@ -619,7 +619,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEll1v2jAUhu_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(DISTSQL) (SELECT y FROM xyz ORDER BY z) INTERSECT ALL (SELECT y FROM xyz ORDER BY z) @@ -639,7 +639,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEll1v2jAUhu_3K6xz1UpGwU6gJdKkdi3TkBh0wMWmCU0p8QoaxVkcJELV_z4lTOr48onxSO6axk_82ueReF9A_Z6DD-2vD93bTo9c3HeGo-GX7iW5GLa77bsRScnHQf8zWaVr0h_ctwfkwzeyviSd3qg9GGYLbrtdZDFQWMhQ9IJnocD_DgwocKDgAgUPKDRgTCGK5UQoJeNsyUsOdMIV-HUKs0W0TLJ_jylMZCzAf4FklswF-DAKHudiIIJQxE4dKIQiCWbzfJtVur5Zpesf0S-RAoU7OV8-L5RPUkrWQGEYBdlTzcmi9JeJT24YjF8pyGXyd7-3bR5TMg3UdHuDfP2YgkqCJwE-e6Wn5W5Um5sfzf32neVCxqGIRbj1pXFGYksOHP5ToKZDkfQjh-3MbJRGwt-WCyjMxc_k4oZdvo9nT9P8r6NHfzuWa3GsA5l7siYjhzV2L-Dg3t7W3qy4CuwUFRxec9yzSGyQvFl1cn40eQkas5I05sUHwk8aiFtzvLOoZJD8qurk_GjyElTiJankFh-Ie9JAvFr-y_b_VTJIfl11cn40eQkquSWp5BUfiHfSQBq1s4hkkLtVbW5-NHcJGnkVdLQDiQZCRXKhRKEGVs_OJMInsbkjJZfxRDzEcpJvs3ns51zeFUKhks1bvnnoLPJX-b0Xh5s2cMsGZla5WUNPM4MrY2Zw0wZu2cDMKvfOle3RfJeu_0u7etjVwmz7zuq7tGcjuB5GBNfDiOB6GBMcoRHBGzaC62FEcD2MCK6HMcERGhG8aSP4lY2iehhRVA8jiuphTFGERhS9tlFUDyOK6mFEUT2MKYrQiKItG0WZVU9AaERShEYsRWhMUwzHuoJdWbBrC3Z1wbIv2BUGZtUY2F5lMLJVT2O26mnMVj2N2orgmK0mZWn_1k3akimN2WrUl4xxzNa98qC1dfz67k8AAAD__7vNq9o= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEl99uo0YUh-_7FOhcJdIgM_xxYqRK2W5c1ZI33tq-aFVZK9ZMYrTEUAZrgyO_ewXebgITTjgjGXNhGTN8w2_O-eThGeS_Mfgw_uvz9MPkzri4nSyWiz-nl8bFYjwdf1wahfH7fPbJeCr2xmx-O54bv_1t7C-Nyd1yPF-UAz5Mp-8MBgbbJBR3waOQ4P8DHBjYwMABBi4w8GDFIM2StZAyycohz9UNk_AJfItBtE13efnzisE6yQT4z5BHeSzAh2XwNRZzEYQiG1jAIBR5EMXVNE_F_uap2H9Jv4kCGHxM4t3jVvpGwYw9MFikQXlmDspHme1y37jhsDowSHb5j_lepvlaGJtAbuoTVONXDGQePAjw-asQk1vwrQPTy-GdN4fdyOG15njh7rZJFopMhDXyqrzzvSFvLMYfgdwsRD5LB7xR02WRCr_efMAgFvf5xQ2__DWLHjbVt9aleInpNGLy9npphbhLzCQdcK-5Im8-jNt8mPqi8-7Nw3WaZ2CbA-dEGnDdJMNzJ2mKMGxN0oMIvD8R6hWzu1fM1qqYYw7cE_WerZvk6txJmr131Zqkh96z--u9esWc7hVztCrmmtW_7Sl6z9FNcn3uJM3eu25N0kPvOf31Xr1ibveKuVoV88wTdZ6rm2N03hzNvhu15uih79z--s6lvCjMhUyTrRSdtpVWYyqTl6lF-CCOqyiTXbYWn7NkXY09ns4qUNVWoZD58ap9PJlsq0t2OUMmgsef7wfdScN2EieiRu0om4jiSECHyvLaWa7C4oR1569RFo00bCdxImrUjrKJKI4EdKgsr53lKiy7ybJes5x2lKegHBTF6ytvoTV0dS0c0kiYhUQUZiERhVpIZWEWKixP10JOI2EWElGYhUQUaiGVhVmosIbaFiqoK111rmgkTB0iClOHiELVobIwdRTWta46No2EqUNEYeoQUag6VBamjsIaaaujoLj25u-aiMLkobIwe6gsVB8yDPNHhWnvAB0iCjOIysIUorJQh8gwTCIVpr8NVFnKPrCrRSMiCrOIysIsorJQi8gwzCIVRtk515uCiMIsorIwi6gs1CIyDLNIhSlbws4WuYcVg_s4-f4lCsEH68dhvvHx_wHlDcGDBP8ZFpvke8VdFqmQ4N8HsRQMPgXfxK3IRfYYbSOZR2vw82wnDodf_gsAAP__jesN_w== # INTERSECT ALL and INTERSECT with a projection on the result. query T @@ -660,7 +660,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEll1v2jAUhu_3K6JzBZJRsJPQEmkSVcc0JAYdcDFpQlNKvIJGcRYHibTqf58SVjG-fGKMkksneeLXx8_F-wryzxJ86H5_6N_1BlbtU288GX_r161xt9-9n1gb6_No-NWq1d7XxEq3jzbpS93qDSbd0Th7cdfvW6c_qgOBlQj5IHjmEvwfQIEAAwIOEHCBgAdTAlEsZlxKEWefvOZAL9yA3ySwWEXrJHs8JTATMQf_FZJFsuTgwyR4XPIRD0Ie200gEPIkWCzzbTbpS2eTvvyMfvMUCNyL5fp5Jf08HRAYR0G2atgMpm8ExDr5t8vu54-pNQ_kfP-3HUo6GTIlIJPgiYNP38hlgb2KArOzgXe_Wq9EHPKYh3s_m2Yk9smJU38J5HzMk2Fk04NbmqQR9_c9AgJL_iup5cHrH-PF0_x9AQSG68S3OvRgBrvDOQaHO5F8IBoisql3OIaTe7t7e9PiJtBLTLBZw3auK69G5FZlkdnZyCXoS0vVlxW_D3bRfTgN272uQhqRbyqLzM5GLkEhVqpCTvH7cC66D7dhe9dVSCPybWWR2dnIJSjklKqQW_w-3Ivuw2tcVyCNwO2KArOzgUvQx62sg53INeIyEivJCzWsZnYyHj7x7aSkWMcz_hCLWb7NdjnMubwZhFwm27dsu-it8lf59IvDLRO4bQJTo9zUU9NUY2RUD26ZwG0TmBrlPhjZEc0O6eb_tKOGHSVM92fWPKRdE8HVMCK4GkYEV8OY4AiNCO6ZCK6GEcHVMCK4GsYER2hE8JaJ4DcmiqphRFE1jCiqhjFFERpR9NZEUTWMKKqG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qaOwrrUVcehkTB1iChMHSIKVYfKwtRRWGNtdRQU1978XRJRmDxUFmYPlYXqQ4Zh_qgw7R2gS0RhBlFZmEJUFuoQGYZJpML0t4EqS9kH9rVoTERhFlFZmEVUFmoRGYZZpMIoO-dmKYgozCIqC7OIykItIsMwi1SYsiXsbZG3WzB4SNKf3-IIArBfP-aBr7cPVDeEjxKCF5it0p81d15mQkLwECZSMPgS_hDXohD5U7yOZREvISjyjdjtfvsvAAD__zNOAYg= query T EXPLAIN (DISTSQL) SELECT x FROM ((SELECT x, y FROM xyz) INTERSECT (SELECT x, y FROM xyz)) @@ -680,7 +680,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmFFv4kYUhd_7K6z7lEiDzMzYQCxVymo3VZFosg08VKqiioVpgspiahsJEuW_V4BWTmx8zwy208ex-TxnLnOO7_iF0n-XFNHNH19Hn4a33sWX4Xgy_n106Y1vRjefJ97W--X-7jfv4uLHWHi746Xt7vnSG95Obu7H-xunf3BJglbx3NxOv5uUoj9JkiBFgjQJCkhQSA-C1kk8M2kaJ_ufvByA4XxLUVfQYrXeZPvLD4JmcWIoeqFskS0NRTSZfluaezOdm8TvkqC5yaaL5WGa7e75ert7_mv9j9mRoM_xcvN9lUYHdSRovJ7uRx1f0cOroHiT5bOk2fTRUCRfxXlKwqaVKBclXxZptljNMl8WKnItxXVxjhz7tvOepunTaSSXos-TErYgJaiUkj9qs4qTuUnM_N3DDk-pFKss6parCNtSYVGyXEWvhgpxltBfp-nT2GR3a18X6jXZrU30Jhc-jUYkaGn-zi4Oi7j8OVk8Pv0YkKC7TRZ517Jycf1mS3wbd-K1r8NiGU7OPXg3t7QPAXlOCPiq42vLQHLQ0mtei3LRkueAbD2SrKX0Wo8k2VwYWNStKpIaVGFRsqpIclNRO5Lkh0aSsreiOsuKuuMHlrHgoKXfvBbloiX3omo9Fqyl9FuPBdWcIS3qVhULDaqwKFlVLLipqB0L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3jSwbtw8nwnVwOgH3Yg5TESyUjrGof5kWJF0vIPrwy7FgFdnmGbO28Z-sJLOKYrhV-jEX28c2C9uGD3BOG7ONLBu3jSwbtw8nwHhSyDwfbs8-G7OMLBu3jSwbt40sG7cPJ8J1cgQvQYypTeLFkhFXtw8nwagnZJ3y-DejbIv3xZT6jmLr__rXf-ff6R9svJHc5xU80vk9_7HInm5XOKf6WLHId0Kfkuz7Xhc4e5st5XsynFBfZWj8___JPAAAA__9SemCD subtest Except @@ -706,7 +706,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lt9vokoUx9_vX0HOU5s7BmYAf5DcpL2tmzVxa1d86GZDNlRmq1krLGAibfzfN2DdFtE5jGN4k8Jn5sucz-nhFZLfC3Cg_3A_vB7caRe3A3fifh1eahduf9i_mWiZ9mk8-qKts5dLrf9w07-faNfD4d_ba-3aLT0zGt_2x9r_37QMCCzDgN_5zzwB5ztQIMCAgAkELCBgg0cgisMpT5Iwzh95LYBBsAbHIDBfRqs0_7NHYBrGHJxXSOfpgoMDE_9xwcfcD3isG0Ag4Kk_XxTbrLOXq3X28iP6xfMIN-Fi9bxMnCKPG_n5z5bOwNsQCFfp2xbvKz9m2sxPZuU1ryh4G49AkvpPHBy6IadFtetFXZ8vKjsa9X2d1TKMAx7zoLSSl5PYIwfe97OfzFyejiKd7lVmkkXc-SAREFjwn-nFFb38L54_zYpfQGC0Sh2teI-P7_3-TqbM8bthnPJYp_b-Mf17dH2rxpkdOo63RQ-EuAtbYaQzY_-AD25vl7an9e2i0o2gs5ZunrEVJMK2pVtBPSw7GraBZqBNNANSgF0ztE9tBla_wEzeRrOlW2e0USJsR95G5bDsaNgGbGRN2IgUYGdj51QbzfoFNuVttFq6fUYbJcJ25W1UDsuOhm3ARrMJG5EC7GzsnmqjVb_AlryNduuMLkpE7cm7qBiVHY3agIlWEyYix78zsXeOT9YD6495EoXLhNf6GjXyA-PBE98WI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9WuXgmb3menYbpn7bNdN3yb3ueTwxf73C4Nf4E-2xfqM2lC-z63T-hzflWd6pVw6H12G2dts1M3ukdv84nRi132SqNfoMvOhbpMms--y94JXfYoDw8DqeJooWSlbbpVOFWDb9dYhs9yNzMVLZOJfEyiSXbs7mM_A2W9DaVKd9-K3YfuYv-VShMZvHw8m1YntcpJnIjivJwlqCy3nGVTWV45y9FYnLDw4hDl0kitchInogoLn2MJKsstZ9lUllfOcjSWKLKsQ5adQ1m5hddmaKMop7wOrpbKQVGCl8fSUrl1leY0EqY0EYUqTWVhSlNZmNIaq1lX6SaNhClNRKFKU1mY0lQWprTGaqHytBGltRm2ayutpfLqeihoJMxDIgr1kMrCPKSyMA81FqdsanLVahFRmIlUFqoiGYa5SIZhMuow7WadU4gLREd9lPjdGvNRD6bdrqsKaRNRmJFUFqokGYY5SYZhUuowbYdTVco2EYVJSWWhUpJhmJRkGCalDtP2OXkpm4iU-ii1e3dlKfVg2r27qpQOEYVJSWWhUpJhmJRkGCalDtO2O1Wl9IgoTEoqC5WSDMOkJMMwKXWYtunJP_RZiJTaKIV2D68spbcZM3iaRz-_zULwwXp_NY782b9g-4PgWYH_BsNp9DPjjtaxVOA_BXMlGXwJfsh7mcrkZbaYqXQ2AT9NlnKz-eW_AAAA___cnRur query T EXPLAIN (DISTSQL) (SELECT y FROM xyz) EXCEPT (SELECT x AS y FROM xyz) ORDER BY y @@ -729,7 +729,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mF9v6jYYxu_3KSJftVpQsJ3wJ9Kkdi3TKrHSARdnmqqJA16LxiEsCRK06nefgHFSYvI-dpP0rm36i5-8-PnJ4ZUl_y5YyHpfHvrXd_fOxe3daDz6vX_pXIx6_d7N2Nk6vwwHvzmb7cul0_ty03sYf7-0ca5HJ9cHw9ve0Pn5D2fLXLaMZup-8k0lLPyTceYywVwmmct85rKAPbpsFUdTlSRRvPuX1z1wN9uw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aoju3kVIZbiu26tVXiMd3m9-qbTZvX6w-32wAy_Zan4OVG8Q7rNdYZeVU_cN6rbyrhg6pahN4rbyphkxVXQKvNempsde8d_Iaa4ruvEZKZXitz7nZeG3SRTxPTa3beh1rqJbcdGwmd-Zln6XxMhmbqyQebz_78vJyG7R9Y2LS7GWrenlxNt9tSrPERA8___fxOknCJF2e5NtJyk6Sr5O8QpJ8nSQJFI6SGmQxsZQsz1JMLtUHWUwu3S3P0oRLwywfRBEsHCXBbvSYWEqBLCaX7pRn-Uwu3QNZhMuDx09QHhUQLJ8RpQpR0o4KYFS3_KjuEqoujAJddUlXPRjlSYa2-jBKgijSlcQylcCmAckiOq0tQcqFs6AFuWBQg1wy6EEuGRQhJcNWRSakYBVnIaRCLhh0IZcMypBLBm1IyYhai8cS2AGBImHYrVZY0YiahGG7ygA4kXaG_YqkSCvDgpX9cjDaGDas6oAfSbKIYmurjHLhLKgyLhhUGZcMqoxLBlVGyBQ5LdVWGQGryIIq44JBlXHJoMq4ZFBllAyvjBSYs4FHwohkUVhRZXTlgCWrPHCU086wZJHKaGXYsQpcdxJfK6xY1SvP6pEsotjaKqNcOAuqjAsGVcYlgyrjkkGVUTJyWqqtMgqGs6DKuGBQZVwyqDIuGVQZJcOrJQ2mWUCuVzReLllhRZURY-iK209g7dUlnWksWaQyUpnGjtV-ORiRv8aK1eDSs0-yiGJrq4xy4SyoMi4YVBmXDKqMSwZVRsnIaam2yigYzoIq44JBlXHJoMq4ZFBllAyvljSYGQE9yPFyyQorqoySYcl6aO1FOvOwZJHK-s83rridxd-_TCciFJ0fj9Ybf3YPsflCdJeK8EkM7-Pv29zRemFSEd5Gs9S44lP0zZyazCQP0_k0zaZjEWbJ0jw___JfAAAA__8ry2wt # EXCEPT ALL and EXCEPT with MergeJoiner. query T @@ -750,7 +750,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEll1r2zAUhu_3K8S5akHBkWyn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(DISTSQL) (SELECT y FROM xyz ORDER BY y) EXCEPT (SELECT y FROM xyz ORDER BY y) @@ -770,7 +770,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mF1v4kYUhu_7K6xzlUhGZmZsIJYqZZtQNRINKXCxVRVVLJ4mqCx2bSPFifLfK0ArJ3Z8Xk9scxc-Huadk3kOZ3ih5L8N-TT-ejf5cnNrnV3fzBfzPybn1tl8PBlfLazM-nU2_d16yp6t6ex6PLN--dPKzq3x16vx3QK8i2zahoG-XX7XCfl_kSCbJNmkyCaXbPLo3qYoDlc6ScJ4_5aXA3ATPJHft2m9jXbp_ul7m1ZhrMl_oXSdbjT5tFh-2-iZXgY6dvpkU6DT5XpzWOYpe758yp7_jv7VGdl0FW5237eJb-0fzKPl_s-eI-n-1aZwl-ZLJOnyQZMvXu3PxfBajSFNYlyvk3S9XaWOKNTiUhQWyJlvmfW4TB4_eH8eQn0uhNdqCLcyRP45u20YBzrWwbtPOnxKZUyJapVH8LqKgCqVRxg0iGB_KuVvy-RxrtNp5KhCpRZZpP0fPeDLZEI2bfQ_6dmlOP85Xj88Hv4im6a71LeYPQ3bLett2AsjR3nF3X-49ujd2qK-5sJYc0f2HFWz3xgEGbQcRJoEyWUXHXac2iEGHXYc0Z7uqFZVHafFCKhSVR3HLELjjiNO0XFkfdmkuWyq57g1rTcIMmw5iDQJkgsnO7S-dohhh9bL9pRDtaqyvsUIqFJV1ptFaGy9PIX1qr5sylw2t-d4Na03CDJqOYg0CZILpzq0vnaIUYfWq_aUQ7Wqsr7FCKhSVdabRWhsvTqF9W592Vxz2bxeTecNYly0GkOaxMhlczs0vnaIiw6Nd9vTDdWqyvgWI6BKVRlvFqGx8e6pf0_4IM5MJ1G4TXStXwv6-w3p4EEfC5SEu3il7-JwdVjm-HB64A5PBDpJj6_K44Ob7fGlfcC3sGBhxcOyCIu3sPsOFmawkI3oiya0HDShleJpxdJeE1g0Wlr2G9HDJrQCh8Vljyn4f3kGsCzCAxYGmx7ydg14vUYsLfo8fcHTAvSFUlcxcRvQSG6EA7sBjvQGOPJblFqqieCARoYDHCmOcHDcAY4kF6XG-v7IIrzUYji8JLrgewzaOt9kxBDoxrcZMQJ4qdEY2crT0FaAI1t5HNrK49DWUpM1spWnoa08Dm0FODqyPA5t5b9gpABDFBhbBW-r5AdXsHXJdxrpgrmX7zTSA3ip0xjNzTwNB2eAo8mZx-HozOPIVlnqsia2AhrZCnBkK8LRkeVxZKvkv2DkCOD8JFvAy7byoyzaOt9pFBhlFd9pFLghK36oAXUHNLIV4cBWgCNbAQ5vuvxFGV11wRW_2eLwsgtwdNsFvxGgU8N_wShUOn6ULeAlWxU_yxa3fv_60_8BAAD__--aF3M= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mF1P40YUhu_7K6xztSs5SmbGzoelSruFVEVigZJcbFWhlTcZINoQp7ajJSD-e5VQauyDX_vECblA-XBeP37JeezxIyX_zCmg4deL088nZ86H45PRePTn6Ufnw2h4OjwaO2vn98vzL879-sE5vzweXjq__eWsPzrDr0fDi3HFVuTSIpras_DOJhT8TYpc0uSSIZc8csmnK5eWcTSxSRLFm00et184md5T0HFptliu0s3bVy5NothS8EjpLJ1bCmgcfp_bSxtObdzukEtTm4az-XY39-uHT_frh2_LH3ZNLh1F89XdIgmczYvRMtw8bbU1XT25FK3SbBdJGt5YCtQrppNjCjpP7m5Y_l6xdAHLl2Adz5J0tpikbVXo6pMq7DD7zve1cxsmt29sn0GZApQSlZVR-Xul8opU5V1lwatFFE9tbKe56G1sKbeuajNj8gtMuryphkxVXWZM3SJTk57cnbD_CJPbkU3Pl21T6HK8XtrgxTOfT0_Jpbm9Tj98Uh9_jWc3t9tn5NL5Kg0ccJC9wkGaPRd_FrWiZdv4xTrehOkXYfKNq_pyUWK5tHWrbWpbT-0K1t0zWNF7XQlYZhh1WO-J6sqouof1XnlXDR1T1SbwXnlTDZmqugTea9JTY--pd_Jev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7 +800,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmF1v4kYUhu_7K6xzlahGZmbMl6WVss2yWiQaUkDqVi2qWJgmqCx2bSNBovz3yrAhwSbz-hhi7vh6Zk5eznNmyCNF_83Jo_bX2-7Hzo118akzGA5-615aF4N2t309tFbW537vV2u1frB-_9Lut62V9deyWlUTS15a7a_X7duh9bHbhZ_XHxKg1__U7lu__GGtyKaFP9U34-86Iu9PEmSTJJsU2eSSTTUa2RSE_kRHkR8mH3ncAJ3piryqTbNFsIyTl0c2TfxQk_dI8Syea_JoOP421309nurQqZJNUx2PZ_PNNqv1w9Vq_fB38K9ek03X_nz5fRF5m3oGwTh5WHEkjZ5s8pfxyxZRPL7T5IknO38Zn2fzWIc6dGr7NWxf96wrsYvS87zOzbCZ2vdlqW9r634c3e-vcyVo9PRSm-TU9joicdqMVKGMBAgp6Z9TpOS-Wd3LOsuFH051qKd7K40SEn3kwJ_4ZRzdD3TcCxyZCnq4DrT3SiKyaa7_iS-uxOWHcHZ3v3lENvWWcRLEm4nXOIkP_DDWoSNr6Zh-fnP9eo7MDsXxY9EDRdz4FT9wVDUd8MHtG3vbC0Zjs_vakRVH5bQfFLLr7PoZ7OeEdOqUVKGUBIjpffwX5fovyvAfJP7sf72o_zJ_b0l-a6mK4-YUEBSya63GGQRkhCROnZIqlJIAMb2PgLJcAWUZAoLEnwVsFBVQ5e8txW8tt-LUcgoICtm1VvMMAjJCEqdOSRVKSYCY3kdAVa6AqgwBQeLPAjaLCujm7y2X31q1Sk79QBm7xmqdQT9GROK0GalCGQkQ0vvI55Yrn1uGfCDxZ_lap_j5eWD9vo4CfxHpXL8sq0lgenqnt19A5C_Dib4N_clmm-3T3obbvDDVUbx9V2yfdBbbt5ICX8MiDYvXsLsHCx4sxFF04xhaqqPolpmWxsSVOXHFSFzy4FTiXLpxDJ1KnEu3zLRrTLxmTrxmhOvm77pu_q6BXg0j3TT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5F5NXioooTq0iMnkxGcURHd_M5Holz2ByeSaTs3qyNXnlFSZPq2rnn0-bP55OyXJzm9zmFLabzuq7mLxaVERxahWRyYvJKI7o-GYm1yt5BpPbZzI5qydbk1dfYfK0qk7--XT44-mWclvc4ZS1m83au1i8VlRCcVoNkcGLiSiOqPhmBtfreAaDO2cyOKsnW4PXXmHwGucHibaKp-EkVrlu_cuZS5XESmM1eFCbnsXhLOqruyjsr4_dvGytQes3BipONp-KzYvGZPtRnEQqeNz9ULhPElmS2Cc5KZLYJwkmSgg9S3JZFT3LZrKkrWc5XFZNz3IRS5JNtPVNdLMkm9FEmWoiE5VpYooluayKnmUzWZkmplgOl1XTs1zEcsgmuvomemgeXBLl6UfLQ1V59GhxAqJCoqp6ksiSqoWjhokio4bLoqKGySKjhsuiogaxavS-KBNjihIQ7Z7cYcNlkWnDhlFxw4WRecOGUYGDYWgFpXspiV6iuRD0DqIyBxeGYjVdmKMvTCIWitXcWcFlkWHBhlFpwYWRccGGUXmBYfQuEp6-lxXEQssod2BwWWRgsGFUYHBhZGCwYVRgYBi9wQWxwj08GGgr5Q4MXBi9lSSxlWz0vzRnK6UDg8siA4MNowKDCyMDgw2jAgPD6K0kia1URSy0lHIHBpdFBgYbRgUGF0YGBhtGBQaG0YtcEovcw4NB3yBRgYELo7eSJLaSg1icrZQODC6LDAw2jAoMLowMDDaMCgwMo7eSJLZSDbE4d5bpwOCyyMBgw6jA4MLIwGDDqMDAMHqR29TtJRoMm_5tkwqM2rJnwv04_PltNAAfyr8epQN_tg9YnRA8xOA_Q2cY_lxzu4upisG_D8axMuFL8EPdqERFj6PJKE5GffCTaKaWy9_-DwAA__9899aG query T EXPLAIN (DISTSQL) (SELECT x FROM xyz WHERE x < 2) EXCEPT (SELECT x FROM xyz WHERE x >= 2) ORDER BY x @@ -829,7 +829,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy82Ftv4kYfBvD791NYc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mUFkuGKwslwxWlksGK0vJcGUVqqwhY7iyClWW_PapcGU1qixxph0qS5xpXFkNKkvOEl3yxwFUWTqGK6tBZdtkC1dWo8rSseqVpRfpUFkuGKwslwxWlksGK0vJqleWgjlUlgsGK8slg5XlksHKUjJcWY0qS37J07iyGlWWtgxX1qDKEmfGobLEmSn5CyyoLDmYDK6sQZWlY7iyBlS2Q7ZwZQ2qLB2rXll6kQ6V5YLBynLJYGW5ZLCylKx6ZSmYQ2W5YLCyXDJYWS4ZrCwlw5U1qLI0P7iyBlWWkuHKBqiyxFngUNnOw7Uvvk2iH1_GIxGKxq9_tWf-2_wTqy8Y3CQivBe92-jHere_nNlEhN8Gk8T64uPguz21qY3vxtNxko6HIkzjuX14-O3_AAAA___MdCbK # EXCEPT ALL and EXCEPT with some overlap. query T @@ -859,7 +859,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmF1v4kYYhe_7K0bvVaIamZkxX5ZWYptltUg0pIDUrVpUefE0QWWxaxsJEuW_V8AGgk3meEwwd-Hj8bwc5jlj8kTxfzNyqfP1rvexe8uuPnWHo-FvvWt2Nez0OjcjtmKfB_1f2XL1yH7_0hl02JL9tahWpfrA-DXrfL3p3I3Yx14PAhMmr1l_8KkzYL_8wVZk0Tzw1a33XcXk_kmcLBJkkSSLHLKoRmOLwiiYqDgOovVbnjZA11-SW7VoOg8XyfrpsUWTIFLkPlEyTWaKXBp532ZqoDxfRXaVLPJV4k1nm2WWq8f2cvX4d_ivWo9wE8wW3-exy5bWZqRh6K0fVWxB42eLgkWyXyVOvHtFLn-28k_yeTpLVKQiu3Y4xvZ5l7X5Pk3Xdbu3oyZZ1F8kLmunR9hf9duKPXjxw-El25zGz_sxhcmYrwPj756YLJQYB5FNmHzfxJw3x9xfZzEPIl9Fyj-40nhNorcc-axfvPhhqJJ-aItU6KNVqNxXdpFFM_VPctXm1x-i6f3D5q_d5-ZvRl8ziX4YRImK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hLIVpLa39KUrZQODCoLDQwyDAsMKgwNDDIMCwwdhm8lgWylqsbSllLuwKCy0MAgw7DAoMLQwCDDsMDQYfgiF8gi9_TBwH8gYYGhF4ZvJYFsJUdjUbZSOjCoLDQwyDAsMKgwNDDIMCwwdBi-lQSylWoai_LLMh0YVBYaGGQYFhhUGBoYZBgWGDoMX-QS-3mpDYbE721igVFbdC14GIU_vw374EP516N04J_NA5YXBI8x-C_QHoQ_V9zOfKJi8B-CUaws-BL8UDcqUdHTcDyMk2EP_CSaqsXit_8DAAD__wcS9sM= query T EXPLAIN (DISTSQL) (SELECT y FROM xyz WHERE x >= 1) EXCEPT (SELECT y FROM xyz WHERE x < 3) ORDER BY y @@ -888,7 +888,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy82Ftv4kYcBfD3fgprnhLVyMzFXCytxDZhtUg0pIDUrdqoYmGaoBJMbSNBonz3ClhwuPh_bI-dt-Vy8Nmzw0-sX1n434x5rP3tvvu5c2dd3XYGw8Fv3WvratDutm-G1tr60u_9aq3WL9bvX9v9trWy_lpWq1J_svi11f52074fwjePLXlt9fq37b71yx_Wmtls7k_03ehZh8z7k3FmM8FsJpnNFLOZyx5stgj8sQ5DP9i85XUb6ExWzKvabDpfLKPN0w82G_uBZt4ri6bRTDOPDUffZ7qvRxMdOFVms4mORtPZ9jKr9UtrtX75e_Gv3lS48WfL53noWSt7W2mwGG0eVRzBHt5s5i-j-CphNHrUzONvdvomX6azSAc6cNzjGrvnPavF4yU9z-vcDRvMZr1l5Fmt5AoiS4X3Y_DC15C51uBgjrEl06-hslS4nYbRdD6OHHEyRYufXCDOfF9bT6Pw6cL74xJuvhJuoSVqiSXiz1nO_WCiAz05-qTtpyTWlGiruEK9rApoqbhCw6CCnavl11H4NNBRb-Gok6WG64X29kJ-7naZzWb6n-iqxa8_BdPHp-2fDmc8-e_UzHK8Bn4Q6cBRZ5P9nIxaNcVol_b48akXW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S0_OO2BeaAdYl-huB0ipnB0YcL4uObfJKlomttL3EvlDteR9yXZ2aR_-aEm0jqf2YxxNt499uHm2DdreMbNJ-vBb-XDjeLn7VZLGdnL9-E330yQJk0xxkiRRCkbp4qggn6RhUgCgSJTJR8mnUd29KPk0SpHzw1GyB7KYWApkaSaXRllMLgOyDOEKYBaKIlg4SvaLswImlkJZTC4NsrpMLoOyCFcXvoBAVI9g9RhRai9K5qP6MGpQ_LLuE6oBFmCn-Az7pCyJbRqwdIp9KhVwF8nCQpXIgzQMO1UC03dJFrHEflYXgNEwfN0jQ9OTLPEEUjQXDDqaSwYlzSWDlqZkxBWVNU3BcBb0NBcMippLBk3NJYOqpmRYsHIAZK1IGFZsLmxf15qEYcmqDhA26UyVvGVFxiadKWxZBSxLKlPYsgpZloZhyypg2R7JwpZVyLI0rL5l6Uk6WJYLBi3LJYOW5ZJBy1Ky-palYA6W5YJBy3LJoGW5ZNCylAxbViHLGhKGLauQZcm7T4Utq5FlSWfawbKkM40tq4FlyZbokg8HkGVpGLasBpbtkyxsWY0sS8PqW5aepINluWDQslwyaFkuGbQsJatvWQrmYFkuGLQslwxalksGLUvJsGU1six5k6exZTWyLHUZtqxBliWdGQfLks5MySewwLJkmAy2rEGWpWHYsgZYdkCysGUNsiwNq29ZepIOluWCQctyyaBluWTQspSsvmUpmINluWDQslwyaFkuGbQsJcOWNciyVD_YsgZZlpJhywbIsqSzwMGyg7sLX3xdRN8_z2ciFJ2fP61n_tn9iPsnTC4TEd6K0VX0fZs73qxsIsKvk0ViffFh8s0e2dTG1_PlPEnnUxGm8dre3f32fwAAAP__vi1HBw== # EXCEPT ALL and EXCEPT with swapped column orders. query T @@ -909,7 +909,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEll1v2jwUx--fTxGdq1YyCnYSWiI9ElXHNCRWusJFpQlNKfEKGsVZnEhJq373KaFvvMwnjiG7DOEX_33O7-L_BPL3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@ -929,7 +929,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmF9v4kYUxd_7Kaz7tCsNMjNjA7FUiVWWqpFokgYeVqqiioVpgspiahsJEuW7V4CyXuz4nvG_7KPj_eEzd-f8GPNM8X8rCmj05Xb86era-fD5ajKd_Dn-6ExG49Hl1NkJZ-_8dnfzh7PbPzmjL5ej2-nrvb1wdt_vkaB1uDDXs28mpuAvkiRIkSBNgjwS5NO9oE0Uzk0ch9HhnzwfgavFjoKuoOV6s00Of74XNA8jQ8EzJctkZSig6ezrytyZ2cJEbpcELUwyW66Oj9ntn4a7_dPfm3_NngRdhqvtt3UcHHOToMlmdrjquIruXwSF2yR9SpzMHgwF8kVUS-JXTSLoZpsEzlCJoSyMpcrE-ryMk-V6nrgyM56hFMPs0lPs6955nMWPbyNpFF0tit9CFK8wSvpR23UYLUxkFmcfdvyUwrDKYm5pCr-tFBYjS1P0aqQQlYL-PosfJya52bg6M6_pfmOCVz18Go9J0Mr8k3w4ruDjr9Hy4fH14vv2ZxfXb3bE12En3Ljaz47hzWcPzp4t7Y0gqxjBVR1XW9qpRJZe9SwV_ASCpVKQrfvJOkqvdT_J5sxgMbciPzWYwmJkRX4ql6K2n-S7-knZ91JV6qXuuJ6lI0pk6VfPUsERIFhaTNW6I6yj9Ft3hGqunRZzK3JEgyksRlbkiHIpajtCvasjtH0vdaVeeh3Xt3REiSyD6lkqOAIES4upW3eEdZRB647QzbXTYm5FjmgwhcXIihxRLkVtR-h3dYRn30uvUi_9jqUhSiS5qJqkgh9ArLSUXut-sI5y0bofvOaaaTG3Ij80mMJiZEV-KJeith-8n_Y7yBu57ky8CdexsfqVo3tYmVk8mNOk4nAbzc1tFM6Pjzld3hy54x8WJk5Od9Xp4mp9unUI-CMsWVjzsMrC8kfYO4NlOViqWvRFHVr16tBa87Rmab8OLGs9WnVr0f06tAabxWO3Kfj_8kvAKgv3WBgsus-3q8fXa8D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@@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lt9vokoUx9_vXzE5TzV3DM4A_iC5SXtbN2vi1q760M3GbKjMVrNWWMBEbPq_b8C6VpE5DChvUucz83XO5_TwCsHvBVjQfXzo3_TuydVdbzQefe3XyNWo2-_ejsmafBoOvpB1tCGD4V13SP7_RqIa6T7edh_G5Kbf_7syIjejk8s3tf3nNVBYuo64t19EANZ3YECBAwUdKBhAwYQJBc93pyIIXD9e8poAPWcNVoPCfOmtwvjPEwpT1xdgvUI4DxcCLBjbTwsxFLYjfK0BFBwR2vNFcsw62lyvo80P75eIgMKtu1i9LAOLrCmJn0eeHT_VtTjKYBVa5JrB5I2Cuwrfz9sf8xSRmR3MDg9I1k8oBKH9LMBib7RYbjNf7oiSzSVy88zc-31WS9d3hC-cg50mMYktOfHjP9vBbCTCgaexo5qNI09YH0wDCgvxM7y6ZrX__PnzLPmU-bv3v0lXqcXI9UPha8w8vqZ_M_c3ctzZqet43_REiHu37noabxxf8MnjzYPjWX7VWJEW0Xhd0y_SJArJm0Wa5JzJeWbyCtqEVdEmSDV2bdIs2iY8f7V5IU_1umZcxFOF5K1Cnp4xOc9MXoGnvApPkWrsPG0V9VTPX229kKdGPZn55_dUIXm7kKdnTM4zk1fgqV6Fp0g1dp62i3pq5K-2UchTs34RSxVydwpZerbcPDN3BY4aVTiK1GLnaOccr8Yn9h-KwHOXgcj11tuIL0w4z2JbgMBd-VPx4LvT5Jjt4yDhkncZRwTh9lu-fegtt1_FAfPDrTIwY6VosxTdkdNM4c64GtwqAx_dmSptlqI7cpof042PtH4AN45hXQob8moZUpgz-dFmmf6Qw0h_yGGsPxAa6Q-ERvqjWaY_5DDSH3IY6w-ERvoDoZH-aEktbcslbZfpj04Zw-UwYrgcxgxHaMRwhMYmgMrYTP8nVZmbqjQ6BJQmpzKOaM5SU-RAVcblojP5GEFMZ6k5oqI6QiOuIzQmO4YjtmM4pntqhirp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H1lWAWUWGq_M0EJRdnUcHGVXNooSvHpbyq4cXaU5jYQpTUShSlNZmNJUFqa0wmrpKt2ikTCliShUaSoLU5rKwpRWWG1Ung6itDLDjrbSyq5cXQ8FjYR5SEShHlJZmIdUFuahwuKUh5pCtNpEFGYilYWqSIZhLpJhmIwqTLlZFxTiAtFRHSV-t8Z8VDem3K7rCmkRUZiRVBaqJBmGOUmGYVKqMOUJp66UHSIKk5LKQqUkwzApyTBMShWmPOcUpWwhUqqjVO7dtaVUN6bcu-tKaRNRmJRUFiolGYZJSYZhUqow5XGnrpQuEYVJSWWhUpJhmJRkGCalClMeeoovfSYipTJKodzDa0vpbicMHhbhz2_zADwwXz-NA3_2H9hd4D8m4D3DaBb-zLnjLJIJeA_-IpEMvvg_5K1MZfw0X86TdD4FL41Xcrv95b8AAAD__30kQb8= query T EXPLAIN (DISTSQL) (SELECT x FROM xyz ORDER BY y) EXCEPT (SELECT y AS x FROM xyz ORDER BY z) ORDER BY x @@ -976,7 +976,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mN1u6kYbhc-_q7DmKNFnBDNj_ixVSppQNRINKXCwqyqq2DBNUNmY2kbCRLn3Cij1jge_a8Y_OQuJH8_yy6xH47yx6O8V89ngy9Pw9uHRubp_mEwnvw6vnavJYDi4mzo756fx6Bdnl-yd0fh-MHZ-_M1Jrp3Bl7vB0_S_qxLndnLx0v11-vOOuWwdLNTj7JuKmP8748xlgrlMMpd5zGVt9uyyTRjMVRQF4eGStyPwsNgxv-Wy5XqzjQ-_fnbZPAgV899YvIxXivlsOvu6UmM1W6iw2WIuW6h4tlwdl9kl-5tdsv9j85dKmMvugtX22zrynZ3rHD5PNrPDp0bzEGW0jX3nhrPnd5cF2zhdL4pnL4r5_N0tlqltlilxnb1tJmGT6X4Zxcv1PG7yzJS0BVLma-K8zqLXC9enIWSxEO1KQ3i5IdL7bNdBuFChWny40_EuuTEFmlUaoV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nkQmefv7D5X2ShEm6OMnNJ6l8knyf5GSS5PskSaBwlNQgi4mlZHGWYnKpPshiculucZYmXBpmuSCKYOEoCQ6jw8RSCmQxuXSnOMtlcukeyCJcDjx_vOIoj2C5jCiViZL5KA9GdYvP6i6h6sIo0FWXdNWDUY5kaKsPoySIIl1JLFMJbOqRLKLTyhKkXDgLWpALBjXIJYMe5JJBEVIybFVkQgpWchVCKuSCQRdyyaAMuWTQhpSMqDV7LoED4CkSht2aC8saUZMwbFfpASfSzrBfkRRpZViwsl8MRhvDhlUd8CVJFlFsZZVRLpwFVcYFgyrjkkGVccmgygiZIpelyiojYCVZUGVcMKgyLhlUGZcMqoyS4ZWRAnPWc0gYkSwKy6qMrhywZJUDznLaGZYsUhmtDDtWgd-dxNcKK1b1irN6JIsotrLKKBfOgirjgkGVccmgyrhkUGWUjFyWKquMguEsqDIuGFQZlwyqjEsGVUbJ8GpJg2nmkd8rGi-XcmFZlRFj6JLbT2Dt1SWdaSxZpDJSmcaO1W4xGJG_xorV4Kdnn2QRxVZWGeXCWVBlXDCoMi4ZVBmXDKqMkpHLUmWVUTCcBVXGBYMq45JBlXHJoMooGV4taTAzPHqS4-VSLiyrMkqGJeugtRfpzMGSRSrrv97Z4n4Wfv8ynQhfdH48Wnv-7B5i84HgIRb-ixg-ht-3uaP1wsTCvw9msbHFp-CbOTeJiZ6m82mcTMfCT6KleX395b8AAAD__3N4kkE= # EXCEPT ALL and EXCEPT with different numbers of ORDER BY columns. query T @@ -1000,7 +1000,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8ll9v2jwUh-_fT2Gdq6LXKNhJ-BNpUruWaUisdMBFpwlNKfEKGiVZEiSg6nefEopoCPGJE8jdPPLYv_g8pyevEPxdgAXdx4f-Te-eXN31RuPR936NXI26_e7tmKzJl-HgG1lvtmQwvOsOyecfZFMj3cfb7sOY3PT78icp2dYOyzVQWLqOuLdfRADWT2BAgQ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Lqo9Se3bWl1DemPbvrSukSUZiUVBYqJRmGSUmGYVLqMO24U1dKn4jCpKSyUCnJMExKMgyTUodph57iS5-NSKmNUmjP8NpS-rsJg_tF_OPrPIIA7JdP48g_hw_sfxA-KAieYDSLf-Tc8SaRCoL7cKEkg8_hd3kjM5k-zpdzlc2nEGTpSu52v_wXAAD__4L3RQs= query T EXPLAIN (DISTSQL) (SELECT x FROM xyz ORDER BY y) EXCEPT (SELECT x FROM xyz ORDER BY y, z) ORDER BY x @@ -1023,7 +1023,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mF1v6jYcxu_3KSJftVpQsB3eIk3qWcu0Sqx0wMWZpmrigNeicQhLggRU_e4TMJQ2Jv_HzkvvmpZf_OSPn5-cvrL43yULWP_r4-DL_YNzdXc_nox_H1w7V-P-oH87cbbOL6Phb852t3eGo7v-yPn5D2d37fS_3vYfJ_SnXGd_nV5umctW4Vw9TL-rmAV_Ms5cJpjLJHOZz1zWYk8uW0fhTMVxGB0-8noE7udbFjRdtlitN8nh108um4WRYsErSxbJUrGATabflmqkpnMVeU3msrlKpovlcZntbn-z3e3_Wv-jdsxlt-Fy830VB87WdQ7X4_X0cNXwDlGGmyRwbjh7enNZuEnS9eJk-qxYwN_cYpla5plcZ28bS9jEulvEyWI1SzyeGZS2QMp82zkv0_jlwufTELJYiFalIfzcEOl9NqswmqtIzT_c6XiX3JgCzSqN0KorAppUGqFdIoJbKOWv0_hlrJLh2pOZSU12axWcdfFlMGAuW6q_k6sbfv1TtHh-Of5ksMc7NttrHEaJijypjezH3Pt3DWZ2aRz_3_RCiIewEa49v5kd8MXlex-W5-Zm4UVs54mGJ619Z5GqXdB3psGETbBUNrxG4xmHaNdoPF6dbtCs8oxXYQQ0qTzj2UUobTz-GcYD2-tsPG1kpsYT5uUWhZQjG55vrRyLVJ2iyjEMJmyCpW0XNSrHOESnRuWI6vqOZpWnnAojoEnlKccuQmnliM9QDtheZ-VoIzNVjjQvtyykHL9xfPGyU45Fqm5R5RgGEzbB0rbLGpVjHKJbo3JkdX1Hs8pTToUR0KTylGMXobRy5GcoB2yvs3K0kZkqxzcvt19IOa2GtXAsMvWKCscolrCJlTbdr1E3xiF6NerGr67raFZ5uqkwAppUnm7sIpTWjf8ZugHb66wbbWRF_o104f4jFa_DVayM_kPUPAxMzZ_V6QuIw000U49RODsuc7ocHrnjL-YqTk5_FaeL-9XpT4eA72FOwpKGRRbm72H_A8ztYC7L0IKXontlaNmhaUnSrTIwByOnaSHK0LJZiu7StE9u0zYNtyxgkYXbJNyhC9IhYfDMXRL2Ob10j6Q5oDktFY6somnFxgyARmoAOHIDwoEcAI7swGm5AD0AGvkB4EgQAEeGQDioC9cM83HLotHRisngmiY4LRneBoWhNYMenfYM74HFadOIJsA11ViVnaZh2Wkclh3gqOw0jsouNMvalB3QqOwAR2UHOCo7wsGOF_S5VaDTo6YaCtfKLmjVCB8cm2nVoEenTSPAkUTQphFdgGuqsTrz0zQ89NM4PPUDHB37aRyWXbOsVdlpGpadxmHZaRyWHeBox9NnWQm-dkmfZTO4VnYJXpHBUVjSqgGPLmnTyBZYnDaNBKcSqanGpuyARmUHOCo7wkHZAQ5f8jXLWr3l0zR8zadx-J5P4_BFH-Box9NnWYm-N_osm8H1stOq8cFR2KdVk330p7cf_gsAAP__46ZBlA== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mVFv4kYbhe-_X2HNVaLPCGbGGLBUKduEqpGySRq42KqKVl6YJGgJprbRQqL89wqy1PG88bFfu4SL1RrMmYfjmccMeRbJ33MRiOGX64tP55fO0dn5aDz64-LYORoNL4anY2ft_HZz9dlZb56cq5uz4Y3z65_O5tgZfjkdXo_xWa7zdJwdroUrFtHUXIaPJhHBX0IKVyjhCi1c4QlXdMWtK5ZxNDFJEsXbU553bzifrkXQccVssVyl26dvXTGJYiOCZ5HO0rkRgRiH3-bmxoRTE7c7whVTk4az-W6Y9ebpZL15-r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jHLhLKgyLhhUGZcMqoxLBlVGyBS5LVVWGQEryYIq44JBlXHJoMq4ZFBllAzvjBSYs75HwohkUVheZXTngCWrPLDKaWdYskhltDLsWAW-dxJfK6xY1S_O6pMsotjKKqNcOAuqjAsGVcYlgyrjkkGVUTJyW6qsMgqGs6DKuGBQZVwyqDIuGVQZJcO7JQ2mmU--r2i8XbLC8iojxtAlPz-BvVePdKaxZJHKSGUaO1Z3i8GI_DVWrAZfPQckiyi2ssooF86CKuOCQZVxyaDKuGRQZZSM3JYqq4yC4SyoMi4YVBmXDKqMSwZVRsnwbkmDmeHTRY63S1ZYXmWUDEvWQ3sv0pmHJYtUNni5dcXdPPrxdTYVgej8fLTe-Wf_ENs3hPeJCJ7F6CH6scsdb5YmEcFdOE-MKz6H382ZSU38OFvMknQ2EUEar8zLy__-CQAA__9pHJWN # EXCEPT ALL and EXCEPT with compatible ORDER BY columns that are not in the final result. query T @@ -1044,7 +1044,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEll1v2jAUhu_3K6xz1UpGwU6gJdKkdi3TkFjpgItOE5pS4hU0irM4SISq_31KmNTyEZ8Yj3DXNH7i1z6PxPsC6s8MfGg_3HevO3fk7LYzGA6-dc_J2aDdbd8MSUo-93tfyTJdkV7_tt0nn76T1TlpP9y074fkuttFVgKFuQzFXfAsFPg_gAEFDhRcoOABhQaMKESxHAulZJwtecmBTrgEv05hOo8WSfbvEYWxjAX4L5BMk5kAH4bB40z0RRCK2KkDhVAkwXSWb7NMV1fLdPUz-i1SoHAjZ4vnufJJSskKKAyiIHuqOVmU3iLxyRWD0SsFuUj-7fe2zWNKJoGabG6Qrx9RUEnwJMBnr_Sw3I3T5uaFud--s5jLOBSxCDe-NMpIbMmew38J1GQgkl7ksK2ZDdNI-O_MAgoz8Ss5u2LnH-Pp0yT_q_Dcb2dyLc60J_CdrMnIYY3t0-_d29vYm5X3gB3igcNrjnsUgw2SN0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xrupTdJC41ktNV65XHbzctla5XLM4k_2HI1n6ya5vXSSauPd1iZpofHslhqvXC6nebkcrXK55pnaztHN0b9sjmrT9WtztNB0TktN51DeDCZCJvFKikZbyW5lKpMfIovgRRyXUMbrdCGe0nhRjD2ejgtQ0VOBkNnxqnU8Ga5-XJJZKvzXny82zUm9ehInovr1KIuI4khAm8py61mOwuKEdbdOUS6N1KsncSKqX4-yiCiOBLSpLLee5Sgsq8rqnrLs-hK6SgltFMXLK99F3XF0LeQ0EmYhEYVZSEShFlJZmIUKy9W1sEcjYRYSUZiFRBRqIZWFWaiwetoWKiW80VXHopEwdYgoTB0iClWHysLUUVi3uurc0EiYOkQUpg4RhapDZWHqKKy-tjpKCbn25s8mojB5qCzMHioL1YcMw_xRYdo7wFsiCjOIysIUorJQh8gwTCIVpr8NVAup7AObWuQQUZhFVBZmEZWFWkSGYRapMMrOudQUfSIKs4jKwiyislCLyDDMIhWmbAkbW-Ts5wyeo_jb5zAAD7rfD_Odjx8HHG7wXyR4O5gu428Fd5YnQoL37EdSMPjofxUPIhPpa7gKZRYuwMvStdjvf_s_AAD__55vCI8= query T EXPLAIN (DISTSQL) (SELECT y FROM xyz ORDER BY z) EXCEPT (SELECT y FROM xyz ORDER BY z) @@ -1064,7 +1064,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mF9v4kYUxd_7Kaz7lEiDYGZsIJYqZZtQNRINKfCwVRVVLEwTVBZT20iBKN-9wmjlxI7v8WCbN_zn5zlzmXN8x68U_bcinwZfH4Zf7u6di9u7yXTyx_DSuZgMhoObqbNzfh2PfndedntnNL4djJ1f_nT2l87g683gYQruIkHrYGHuZ99NRP5fJEmQIkGaBLkkyKNHQZswmJsoCsLDLa8JcLd4Ib8jaLnebOPD6UdB8yA05L9SvIxXhnyazr6tzNjMFiZsd0jQwsSz5SoZ5mW3v37Z7f_e_Gt2JOgmWG2_ryPf2QlnT4Imm9nhqNU-SBltY9-5lvT4JijYxul4UTx7MuTLN3GaJq85TcpG0-0yipfredyWmSrlBkiZbzvneRY9f3J_KkKfJsKrVYRbKCJ9znYdhAsTmsWHJyVPKZSpUK1SCV5TElClUgndChLESSp_m0XPExOPNm2dqdR0tzH-j3T4MhySoJX5J764lpc_h8un5-RXiTXeq7es90Er2LS1l539p2P3P4wty3tenuL5tmq1tXUSWajqNqlK2ahKY0A2mEWlRXQbzCJZXxCgWhVlUY0SUKWKsshOQuUskufIIlXeeeok5-lW27XOAwtVvSZVKRtVqRVVg3lQWkSvwTxQ9ZkR1aooD2qUgCpVlAd2EirngTpHHujyztMnOc9tJZsJuzywUNVvUpWyUZVaUTeYB6VF9BvMA12fGVGtivKgRgmoUkV5YCehch7oc-SBW9557knO81rWaWCh6ao5TcpGU2pDt8EsKC3iqsEscOszIqpVURbUKAFVqigL7CRUzgL33N8tPpEzNtEmWEem1FeJzmFCZvFkjgWKgm04Nw9hME-GOR6OEi45sTBRfLyqjgd36-Olg8D3sGRhzcMqC8v3sPsBlnawVJXoqyq06lahteZpzdJeFVhWGlp1KtG9KrQGi8Vllyn4vzwLWGXhLguDSfd4d3V5e_VZWnZ4-oqnJciFXKrYeBvQyNwIB-4GOLI3wJG_ZS5SbQwOaORwgCOLIxwsd4Ajk8tcsH5csgjPRQyH54wu-YxBU-dDRvaA3fiYkX2A54LGyq08Dd0KcORWHodu5XHo1lzIWrmVp6FbeRy6FeBoyfI4dCv_glESNFGgbZW8WxXfuIKpKz5plAv6Xj5plAfwXNJY9c08DRtngKPOmcdh68zjyK0ql7I2bgU0civAkVsRjpYsjyO3Kv4Fo_oA5zvZDJ53K9_KoqnzSaNBK6v5pNFgh6z5pgbUHdDIrQgHbgU4civA4U6X3yijrS7Y4lcbHG52AY52u-AbAVo1_AtGo9LxrWwGz7lV871sduqPbz_9HwAA__8Esjev +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mF9P20gUxd_3U1j3qZUcJTNj54-lldotWS0SB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S5whKNUcVSfGZDJtLK4GFZJFjSXFAyqS0oG3SUlg_LiZGwJqmwvDoazoL6kYNBfUjIoMCkZNBgnYyvR4SyBsL5mYcytKOzQYoaFYbkijfHKsF3VoNgY_CKxXtWwOGvAsphfK9uHc-EsaB8pGLSPlAzaR0oG7cPJ2KJU2T4cDGdB-0jBoH2kZNA-UjJoH06GV3KtgH08dk9dsi9SwD78Bh1vjZB9WGUaO1Z7xcZgVtRYsdovzhqyLGbYyvbhXDgL2kcKBu0jJYP2kZJB-3AytipVtg8Hw1nQPlIwaB8pGbSPlAzah5PhlVwPgX3YjZTGW6Vc2KF9mBc13iwh-_DKsGMN2C0xxRqsWAOePY1YFr6NRfbhXCV3_sg-UjBoHykZtI-UDNqHk-FnUMg-HKzkORuyjxQM2kdKBu0jJYP24WR4JTfgD9BnKjN4s5QLO7QPJ8O7JWQf7_HSpatl9OPrYk4B9f776bzyz_MP7T4QXicUPNDkJvqxz51u1zah4CpcJtalz-F3e2RTG98uVoskXcwoSOONfXz85d8AAAD__xOmWzI= # EXCEPT ALL and EXCEPT with a projection on the result. query T @@ -1085,7 +1085,7 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElkFv2jAYhu_7FdF3Asko2EloiTSJqmMaEitd4VBpQlNKvIJGcRYHibTqf58SVrUE8BdjlBwNeezX_p7D-wLy7xJ86N_fDq8GN1bjy2A8Gf8YNq1xf9i_nlgb6-vd6LvVaLytiZVuf9qkz02rf3_dv51YV8OhdfiLJhBYiZDfBE9cgv8TKBBgQMABAi4Q8GBKIIrFjEsp4uyTlxwYhBvw2wQWq2idZD9PCcxEzMF_gWSRLDn4MAkelvyOByGP7TYQCHkSLJb5MZv0ubdJn39Ff3gKBK7Fcv20kn6eDgiMoyBbtWwG01cCYp38P-V984fUmgdyvrttj5JehkwJyCR45ODTV3JaYK-mwOxo4Pet1isRhzzm4c5m04zEPjlw62-BnI95MopsWpjSJI24_0E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flKMv49ZfprrvvH1xuE5xLNu0nFN3n-tG6J8tQr39_cYIHbSfd9r-6rTs9tOytablmJZ76sLZuhGuzhahXrirxggdFM7utHDVaTntp-VoTcs1Le_UhXN0I1yfLUK9cNeNEToonNNp4arTcttPy9Walmeeum6uboDBmQLUyzZoDNBB2dxOy-ZSDv5PQqbJUopWR8Ve7VEm3wYX4YvYbaRMVtlcPGbJvLx2t3woQWWlQiHz3a_2bjFa7n-SeSaC1__-b2lP6jeTOBE1aEbZRBRHAjpUltfMchUWJ-y7fYjyaKR-M4kTUYNmlE1EcSSgQ2V5zSxXYdl1Vu-Q5TSP0FNG6KAoXt35HuqOq2shp5EwC4kozEIiCrWQysIsVFieroV9GgmzkIjCLCSiUAupLMxChdXXtlAZ4ZWuOjaNhKlDRGHqEFGoOlQWpo7CutZV54pGwtQhojB1iChUHSoLU0dhDbTVUUbItQ9_DhGFyUNlYfZQWag-ZBjmjwrTPgFeE1GYQVQWphCVhTpEhmESqTD9Y6A6SOUc2NYil4jCLKKyMIuoLNQiMgyzSIVRTs6VUgyIKMwiKguziMpCLSLDMItUmHIkbG2Ru5kxeI6TX9-jEHzofXzMI3_2H9jeELxI8N9hskh-ldxpkQoJ_nMQS8Hga_BT3IlcZK_RMpJ5NAc_z1Zis_nt3wAAAP__GpX8CQ== query T EXPLAIN (DISTSQL) SELECT x FROM ((SELECT x, y FROM xyz) EXCEPT (SELECT x, y FROM xyz)) @@ -1105,4 +1105,4 @@ vectorized: true table: xyz@xyz_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEmFFv4rgXxd__nyK6T61kFGwnQCP9pY46rLYS23YLDyOtqhUD3hYtQ9gkSNCq330FqMo0ae6xSdJ9dMIvPr74nFznhdJ_lhTR8Nvd6Mv1jXf29Xo8Gf8-OvfGw9HwauJtvV_ub3_zzs7exsLbHS9td8_n3vDb1fBu4n1895wEreK5uZn-MClFf5AkQYoEaRIUkKCQHgStk3hm0jRO9j95OQDX8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0C74RoF3Dv2A0Kh3fyhbwkls138sWl_7w-r9_AwAA__8jvDeQ +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8mE1P40gXhffvr4juCiRHSVXZ-bD0SrQaRoNENwzJoqURarmTAqIOccZ21ATEfx8RhjHxpQ5144xZIDnBx4-PuY9dfqT8rznFdPLt4uzT6dfWwfHpaDz64-ywNTo5O_k8bt23frs8_9I6OHjdDlrrl4_u1w-HrZNvn08uxq33vz2kgBbp1H5N7mxO8Z-kKCBNARkKKKSAIroKaJmlE5vnafb8J4-bHU6n9xR3A5otlqvi-eOrgCZpZil-pGJWzC3FNE5-zO2lTaY263QpoKktktl8c5j79cPR_frh-_KnXVNAn9P56m6Rxxs6Cmi0TJ632h1NV08BpauiPEpeJDeWYvUG6_SY4u5TsBtZtG8yXSGLJGTHs7yYLSZFR1UaO1LBUfWY5W4_1q3bJL99f5cSzVTQlKi1ki36D9jCKpu7tzJ7tUizqc3sdCt9E-uk1x7NllhRBUu7K6uJ5VFqidWrYtVpK9iJ_Pckvx3Z4nzZMZVGx-uljV_F8-nsjAKa2-viYHNKh__PZje3rxsU0PmqiFtHynmq_cqpmj1fga9pO112TFQt5V2YQRVmu3fl7x21i3c6ut0x3k5Uu7L19s9WtWJPwlaaRzVhRVFvJVuvCSu6e6upH49mgRXdldXE8igVWLFOW7WtqBq14vYV0P7DrncadtPuhN4i0ruy9ffPVhVRX8JWDrtuQkSi3kq2fhMicvdWc-I9mgUicldWE8ujVCCiOm3VFpFuVETbV8D4D7vZadjDdifyFpHZlW2wf7aqiAYStnLYTRMiEvVWsg2aEJG7t5oT79EsEJG7sppYHqUCEdVpq7aITKMi2r4Cof-whzsNe9T21lC4K9lw32RVCQ0lZOWgh01ISNRayTZsQkLu3mpOu0ezQELuympieZQKJFSnrdoSChuVUCh5w3pp82W6yK3Xq6hu5VBt9XzidnpjX4rM01U2sRdZOtn87cvm-SZo88HU5sXLt_pl43Tx-lVeZDa5-_e1-tskBZOMOymqJulqknqbFG4lqbdJikHhKKVBlhBLDd1ZWsileyBLyGWMO8swLgOzIhDFsHCUAlihEEt3QZaQS_fdWZGQy4B_1YhxhXB-wH9Ej2FFgii9FaWqUT0YBcrqM6o-FkRP4JoBjFJddxQ7wSGOUu6oHjMgk6m3uBjWB1nQXFIwqC4pGXSXlAzKi5OxW5C3vTgYzoL6koJBf0nJoMCkZNBgnIzdibZnCYT1NAtjbkVh2xYzLAzLFWmMV4btqvpuY_CTxHpVA3dWn2Uxv3rbh3PhLGgfKRi0j5QM2kdKBu3DydhNyds-HAxnQftIwaB9pGTQPlIyaB9Ohu_kWgH7hOyZ-oN1kQL24Q_oeGmE7MMq09ixOnQbg1lRY8XqyJ01YFnMsN724Vw4C9pHCgbtIyWD9pGSQftwMnZX8rYPB8NZ0D5SMGgfKRm0j5QM2oeT4Tu5HgD7sAcpjZdKlbBt-zAvarxYQvbhlWHHGrBaYoo1WLEGvHsasiz8GIvsw7k-ePJH9pGCQftIyaB9pGTQPpwMv4NC9uFgH7xnQ_aRgkH7SMmgfaRk0D6cDN_JDbgAPaYygxdLlbBt-3AyvFpC9gmfrgK6nqe_vs-mFFP3n5_2O79ef-h5h-Qmp_iRRrfpr03ueL20OcXXyTy3AX1JftpjW9jsbraY5cVsQnGRrezT0__-DgAA___jGlsT diff --git a/pkg/sql/opt/exec/execbuilder/testdata/distsql_window b/pkg/sql/opt/exec/execbuilder/testdata/distsql_window index 7156e991474b..870b735724fa 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/distsql_window +++ b/pkg/sql/opt/exec/execbuilder/testdata/distsql_window @@ -54,7 +54,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lVFv2jwUhu-_X2Gdq0TfQcFOgDZXZi2bIrXQBdR1mtBkiNWi0YQlYWtV8d8nh1aUCGxGyG6qJs7j857nWPgFsp9z8KF3d3PVDfrEugyGo-HnK5sMe1e9ixERv-4tYZPBbS8klo3kcRZbk7fnm244CkbBoE8-fCXCxuLr6dvqILzshWplojjxtFkpceRjOLgmkcgFIMRJJPviUWbgfwMKCAwQXEDwAKEFY4RFmkxlliWp-uSlAILoCfwmwixeLHP1eowwTVIJ_gvks3wuwYeRmMxlKEUkU6cJCJHMxWxelFGlufrzffFDPgPCRTJfPsaZTwSSCZIpIAwXQr1oOJSIOCKUJPmDTGG8QkiW-WvZTbXJM3kQ2cN2HU5hvBojZLm4l-DTFe6Jv9lnGSdpJFMZbe1U7FJu8MssjpLfMnVa21Xf2_YJV06vg77Fma3-695Z3LVLfWwyspoy0tIIurefLE5VosEyVymRM-Qu8jZyD3lrb0B3b0BtebqjvGu_O7Sc_b9JoxIg7yBv783hbeWgh59FevRZdGjDYTWdRnqySbdrO43scMnseMms4bg1SWYnk9ypTbJ7uGT3eMluw_FqkuyeTPJZbZK9wyV7x0v2Gk6rJsneySSf_5PLa0eCUGaLJM5kKevunZuqBxndy3XDWbJMp_ImTaZFmfXjoOCKn9JIZvl69fUhiNdLKuDhcKsK3KkCn1eBqaFpWqab72mmh5kWdrfgZhl2tTBletqrMmk9bJi0HjZMWg8bJm3o2dB0q8qk21V062GDbj1s0K2HDboNPRua7lTRfVZFtx426NbDBt162KDb0LOh6fMqummle8NAG4QbaINxA21Qburb1PjfXR7j1X9_AgAA__-og3q5 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0ll1v2jwUx--fT2GdK9BjFJwXXnIVVtgUqYUOUNdpQpUhLkSFhMVhbVXx3SenZZCksXBQuIhIHP_9O_4dKX4D_nsNNgzub6977hDV-u5kOvl-XUeTwfXgaoron2WN1tHobjBGtTpGGz-ozQ_3t73x1J26oyH68hPROk7eXhxGR-P-YCxG5mIefTmOZOahr-PRDfJoTAFDEHpsSDeMg_0LCGDQAYMBGEzAYMEMwzYKF4zzMBKvvCUTXO8F7CYGP9juYvF4hmERRgzsN4j9eM3Ahimdr9mYUY9FWhMweCym_jpZRiztiMvD9om9AoarcL3bBNxGFKM5RgvAMNlS8aChEUQDDxEUxisWwWyPIdzFH8seV5u_ohXlq_Q6DoHZfoaBx3TJwCYntbh9sJt7XFDOMXcXhJHHIualkpPUbME__MALn1mkWWmK0923kSP2-MYd1hy9Lv717muOUc_UdWTWM8xWRcwko6h3963mEEE42sWCGjs6dgzstLBjYscqBDYywKR4l6U85BMeo37S5Y7-_xFPIGGnjZ1WIZiZBSMpMHJ-N5PS3ayRhqZX1s_FBV3WG60K-7mVYtbPl6CXl6A3NKMyCXphQZdJaFcooZ1iNs6XYJSXYDQ0szIJRmFBl0noVCihk2I2z5dglpdgNjSrMglmYUGXSehWKKGr8rEaM74NA84y7J-v1Mys1CCiSOYt2fuO8HAXLdhtFC6Sd99vR0lQsrUe4_H76MeNGxyGeBwxuvl3ojk_ySpOstSS2sVJRBGqK4lSpCKSrdJzWCSb1TzN0iVROSxdGmWkopqnUUaOypBGEb04Kxdllm0ropYkaauWWpKsrRShZG2lSCVtqxyWVbqtclitsgJ1tSSJwLZakkygIpRMoCKVVGAOq11aYA6rU1agoZYkEdhRS5IJVISSCVSkkgrMYXVLC8xhkdKfZlMxSqKwqxglc6iKJZOoyiW1mAcr_33uiqPW4zp8fvA9sKH58Wt8cjn8QEygSy7Oe5NV-JzkTl-34rT2SNecYbihT6zPYhZt_MDnsb8AO452bL__728AAAD__7tJYtk= # Verify that all window functions with the PARTITION BY clause are distributed. query T @@ -85,4 +85,4 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMmN9v4kYQx9_7V6zmCdRFsGvz82nTO1oh5UJK0PWqClULXiWoxKa2ae8U5X-v7CSXmB8zoLEbXhDG_uzMd2e_o8EPkPy9ggEMv1xfXoyuRO3j6GZ68-tlXdwML4cfpsL-c1uzdTH-PJyIWl2K-2VYm79cX19MpqPpaHwlfvpd2Oyu_Vpb7L8rxpOPw0n2dV6X-bLfHyzcyZYI9i4xf11i8ZzJ_gdtXfw8GX8SgU0tSAij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HIc-DQ6QSCFaXiCWQUewSuSQyiz2Dy8pndfazbCTKwLLRqOxUd_aj-gaVg0ZJWZxlRHWrylTQkrAOEpkwKCIVKlMqFyZTg6tXWaYGFh6FyZRIhcqUiIXKlLpbmEwNrn5lmRpYeBQmUyIVKlMiFipTIhcqU4NrUFmmBpaofAiUxChkt3pUKsxcVC5UXWQyzF0mWfWToAlW_ShI5UL1RQVD_UXeMUxgJln146AJVv08SOVCHUYFQyVGJUMtZpJVPxOaYMahsKzGLGIUsl99KhWmMSoXqjEyGaYxk8w4RpfWmAmGZ2Eao3KhGqOCoRoj7ximMZMMP05jGjPB8CxMY1QuVGNUMFRjVDJUYyaZcaYurTET7JUTJ_JYEKOQ_RpQqTCNUblQjZHJMI2ZZMaxurTGTDA8C9MYlQvVGBUM1Rh5xzCNGWQSP1ljGjPAXsnCNEblQjVGBUM1RiVDNWaSGSfr0hobbKYcvi_Du28LH1zoPP21Drzs_iD9gbqOwX2Aq5vwbps7uV_pGNzvahlrDufqhz7ViY5uF8EiThZzcJNorTebX_4PAAD__5a5Yrw= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/experimental_distsql_planning_5node b/pkg/sql/opt/exec/execbuilder/testdata/experimental_distsql_planning_5node index 816cf46042b7..2a29182cc760 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/experimental_distsql_planning_5node +++ b/pkg/sql/opt/exec/execbuilder/testdata/experimental_distsql_planning_5node @@ -56,7 +56,7 @@ vectorized: true table: kv@kv_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykkk9ro0AYxu_7KeQ57S4j_t-Dp12yKQhpksYcCkWKdV5C0Dh2RkNL8LsX9ZAmpGViju_M--P58fIcoF4LhJg-Lmf_ornx838Ur-OH2S8jns6mk7Xx27hbLe6NfA-GUnCapztSCJ_ggMEFgwcGHwwBEoZKioyUErJbOfRAxN8Q2gzbsmrq7jlhyIQkhAfU27oghFinLwWtKOUkLRsMnOp0W_Qx-f5vvn-ucnoHw0QUza5UoZEzoxOKq7SbTMtF0jKIpj5mqDrdEEKnZV94HOObUkhOkvhJdNJeMJ0LU1RWcLZ4Odo9iXb0T-BcfwLLNS1P8wiuvok7wsQzLV_TxNM38UaY-KYVaJr4-ib-CJPAHFHQCx4rUpUoFWn1z-4KTHxDQ9uVaGRGSymyPmYYFz3XP3BS9fDrDENU9l-94GfY-Rb-cwLb57B7S7J3C-zfAgdXwUn74yMAAP__zL67ng== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyck19r2zAQwN_3Kcw9bUPGlv_sQU8bTQaGNO3iPAxGKJp1zYwdy5PkdCX4uw8521qbtGjWg0HS6Xc_zncn0D9rYLD8erv6lK29t4ss3-ZfVu-8fLlaXm29997nzc21Vx2BQCMFrvkBNbBvQIFABARiIJAAgRR2BFolC9RaKhtyGh5k4hewkEDZtJ2xxzsChVQI7ASmNDUCgy3_XuMGuUAVhEBAoOFlPaSpjh-r411b4SMQuJJ1d2g08yriWaG85XbnBxHsegKyM085tOF7BEafSWULYGFPXvB60ukaqQQqFCOVXX_BfC192QbpJPCySjRRSUcq1L1E9P9LFER-EDsXiY7MInezaIZZ7AeJs1k0MovdzeIZZokfpM5m8cgscTdLZpilvrNX8mLDX_DaoG5lo9Gpn8NJJp_aCUGxx_M4admpAm-VLIbY8_ZmAA0HArU539LzJmuGK2ozKOSHf_P6nERfJX0YkcJXSdFcJzolxXNJ0ZSUzCXFU1I6l5TYv3hfy4e7UgCD8M_yL3z-LrAP-F7bVsp_yIcBu31sbSPc81ojgWte4QINqkPZlNqUBTCjOuz7N78DAAD__9F-GFc= # Note that we want to test DistSQL physical planning and the obvious choice # would be to use EXPLAIN (DISTSQL). However, this explain variant doesn't have diff --git a/pkg/sql/opt/exec/execbuilder/testdata/explain_analyze_plans b/pkg/sql/opt/exec/execbuilder/testdata/explain_analyze_plans index b60db49ff196..50ad414cbe32 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/explain_analyze_plans +++ b/pkg/sql/opt/exec/execbuilder/testdata/explain_analyze_plans @@ -117,7 +117,7 @@ regions: table: kw@kw_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsm-Fu2kgQx7_fU6z2U6qamrVNSixVokW9U3oNVCSpVJ1Q5NhzxLKxqb1AclUe617gnuxk-2gBwy5L6K2D9xv2rsP4N7PzZ2cn33D6NcQ2vnz_8X33CgWzV4GGnNnoJJi_Cl6gXwf9CxTM0If-eQ8Fc9Tv5VPQG5SNo98G_etP6N2X_CbWcBR70HPGkGL7D0ywhg2sYRNr2MIabuGhhidJ7EKaxkk25Vv-wLl3j-2mhv1oMqXZ7aGG3TgBbH_D1KchYBtfObchDMDxINGbWMMeUMcP868JZp1gdjMJ4AFruBuH03GU2iiz5nLiZB8bembF758R9cdgo-Y_f6fFtRtHFCLqx1FpKInnKfLAjT3wbESKm7cPFFKUgOPZqI3eFTdHg09d5DphmH6fN3H8ZDEv--qLz90uSilMkBtPI4pO4J7qfkRf2KiZv00xASDYNmHs3KMxjOPkATlhGLsOzcxq5jbcOtS9gxTFUzqZUhtl83PzFzcIHj5quLgqqC-o3j6gOye9W-XZyeYPNZxSZwTYJo_afm46XXPTvBPMWW7SiXLUUxxlbHXUj78TJx4k4K3_nZfZF-80a4PPLyAZwYfYjyDRydraDOFPetIhL1-8SfzRXfERa7ifvW2HaJ0MOtyDOy37lkUyG0u_hojCeII8Pw3QNHVGsDfoHxBNkWh_OxolMHJonOikVfKNhvsFx-xVsYbf9r7c9PpXN73rjx9POiTjcHl9cdIxsk_d_nXv6r_PW4D85PCxnhY-bDxG82l4Lq8vbs4zQGZ2NYDIgySPINQx9I55QGg_gLR2ADKNNiHZSKMXN-KJbqzFyb5mt7aafbpiNtk9XxNBWdWNhm6qfH0gYRVw1GtRYVWOOqCwEjnCSo5KWDnRviysp8clrMLhwxFW8tyF1dg98RmiCmU2dEslvgMplICj2qIKpRx1QIUy5CiUcVQKxYn2ZYV6fVwKJRw-HIUynr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7Ft1UsIQldFzQi6apIwyLKsXL2oK2K0eTPuqh5sy5ij65nXdI9WjC51hCS0HXBFpGErgu2iiQcoMFWUY6VswfGlJjwetYl7broj5cK_ekFsyvHpiZt_f5rvPDP4o_GH7BGETUf6NlNMEtond9PIKLmT8uLQKEnlgufgEM4dnwn4s6QmjycwuPjv_4JAAD__4EMrOA= # This query verifies stats collection for the hashJoiner, distinct and sorter. query T @@ -187,7 +187,7 @@ regions: table: kw@kw_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsW-1uo0YU_d-nGM2vXRUvDGDHQVopWm-qZtuNV060UlVZFYFpjMDgZcZx0iiP1Rfok1VgEa-NmWtiN0w9_Atf8Z1z7txzOcM8YvYtwg6-Ov_1fHCNPl5cXV9cDq7Rm3DxbvEW_TQafkbhHfo0vLhE4QINL1F49y5E71F2HQ1HH89H6MNv-RHWcJz49NKdUoad3zHBGjaxhi2sYRtruIvHGp6liUcZS9Lslsf8gQv_HjuGhoN4NufZ6bGGvSSl2HnEPOARxQ6-dm8iOqKuT1PdwBr2KXeDKP-Z8O4svPtjFtIHrOFBEs2nMXNQiDV8NXOzPzt6FsUvXxEPptRBxj9_s-Wxl8ScxjxI4tKlNFkw5FMv8anvILI8efPAKUMpdX0H9dGH5cnb0ZcB8twoYs_3zdwgLe7Lfvrz18EAMU5nyEvmMUdv6D3Xg5i_dZCRj2Z5A6Vh1Q1T9x5N6TRJH5AbRYnn8iwsI4_hxuXehDKUzPlszh2U3Z-HX5wgePyk4eXREvUC1ZsHNHHZZB3Ps-z-sYYZd28pdsiT9jKaehs0Lc7CRYmmxYomnbRE7UOUWUnU6v_M4yT1aUr9tf80zp6EbtnC9s8um3xKgpimOtmYlBH9k785I2_fp8HtJP8La3iYDfIsA5reU29e5lOEXnaNfYsQp9MZ8gMWojlzb-mLwV0BZ9XJ8I8B40HscZ10S2xIMa56SWPvkTQidExDTnRWI-_WYf0qSTlNdbPE-Y-yDau3A6Hb6MzH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QxLSOEH1X8rZmKjqd27qbxnWGhE2s2FbIgIrDjo7d70kYD027iDJaQwhRrQVrHR1G7gVN9W0YjqdnCqb6sQkXr1lXUVFg7s0WD9VXMLBxhmKwhpuH8HW0QKX6gBLhc24RpaONiEa2jhwCoCi7vLXbqvsHAgb7CuobmFA3GDdQ29LRwLCajuEVt5CTEsIQ239GARKXyh-m_HLHQ0-lk4AJGJee5Ug7uxARJQ3RZO9W0VS0jDfT1YRApfqAFtFR2NfhYORKRe3zUV67sO7NFgfVdzCwc4ZisIaWjhYItIw6092CpS-EL1u1w9bMI1tHBgwsES73KXthUWDuStfvxKPwsH4gbrGo2ycKrfu4sEpN2IZVhCGlo4WES1b-2p3ilFI2rUclbxXgNGs2KtRjeHAjyBvAJQ3RZO9W0VS0hDCweLqPatPdW3VTSicl-oAW0VRqNe3zUV67sO7NHq59b0s3CgY7bi6VDtpi1dbBFpaOFgq0jDrT3YKlL4Qg1wuWDC1Y-7WorHXfsAjQUWNjS3cAaPlwb9HiXTb2FAXdr571_rhf_m_2j2Ae9aUPeBnt8k05zWxf2YC-p-9yLBDfrZG_IjLnk6CuNQyNCnrkwn_PHxp38DAAD__-2HsDQ= # This query verifies stats collection for WITH ORDINALITY and the hashJoiner. query T @@ -249,7 +249,7 @@ regions: table: kv@kv_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsUs1u2zwQvH9PsdjT14KFJVnugSelboq4TeLAMVIUhVHQ4sIRJJEKSbk2DD9WX6BPVlBqmtiJ3bg_tx53doacnd0V2psCOV4enx73x_Ac3oyGZ5DP4f1gfALD0evB-dHpYPwBji5BsB2NKTJUWtK5KMki_4ghThhWRqdkrTYeWjWEgVwgDxhmqqqdhycMU20I-Qpd5gpCjmMxLWhEQpLpBMhQkhNZ0Tybz5N8_qnKaYkM-7qoS2U55AzmyPCyEr56gQzfXYHLSuIQfP1i2zrVypFymVYPWkZ_tiAp1ZIkh14LTpeOLBgSkkMcwKsWnY0u-p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KaeIWtyv6KaNWQ5Hw1Dauip9cj5y2J7PGfbpMp3MvU2mIKN5miOlO0l6m5W1NYZ2q-QVO0ydSsM7X2MrX3-TRmeJ2auyslkWPw8B288LP-sDwgpq5cgOGNuVvRjhZ5Gd-1SB0xPBMJHZEnmymtnFcxcm8LWi7_-hYAAP__r4q8_g== # Verify that EXPLAIN ANALYZE on an unsupported query doesn't return an error. statement ok @@ -270,7 +270,7 @@ vectorized: true │ └── • norows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkE1LxDAQhu_-ijCnLgS28ZiTq1YsdD9s1w-QHkI71tJuUzOJCKX_XZoeVoUVPc47eebJzAD01oKE6GmXrOINC67jbJ_dJQuWRUl0tWfkDkGzYDfpds2ad_Z4G6URe1EtIXDodIkbdUAC-QwCcg690QUSaTNFg38Qlx8gQw511zs7xTmHQhsEOYCtbYsg4UG1DmkZAocSrapbPzFklywIWfHquoYWkI8ctLPHKWRVhSDDkf_dtKoqg5Wy2izFd1t2vw4uxGmN-I8mRep15490VJxeIOeAZYXz0Ug7U-DO6MJr5nLrOR-USHbuirmIu7k1ffArLH6Fz3_A-Xj2GQAA__8VEanA +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkltLwzAUx9_9FOE8dZCxxsc8OV3Fwm6u8wJSJLRnXeklNUmdMvrdpanbVHTMPBRyzunvx_mTLeiXHDh4j_Px0J8SZ-QHy-B23COBN_aulkTXhZP1yPViNiHZK3m48RYeWYlcI1AoZYxTUaAG_gQMQgqVkhFqLVVb2toBP34D7lJIy6o2bTmkEEmFwLdgUpMjcLgXeY164AKFGI1Ic0t0ySVxXBKt6zLTPQgbCrI2B4o2IkHL3mv9EXC3oaebh0miMBFGqgH7bg_uJs4F-1vLfmjZf7QL1JUsbYgH5akL9lkTUsA4wS5lLWsV4VzJyM5215kF2UKM2nRd1l38ctfSRqEo9ql9JbGjpPNjpJDCKpeb5zQGDu7n6f_y2R1ofxCJbiMK1nJjscv3ql3QPjYKE5HhCA2qIi1TbdIIuFE1Ns3ZRwAAAP___Pbhag== # This query verifies stat collection for the tableReader and windower. query T @@ -307,7 +307,7 @@ regions: table: kv@kv_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzslstu2zoQhvfnKQazsgEaknw5KLRKa6RF0KYOnMBdFEbBiAOXkEQqJOVLAz9WX6BPVoiq0ti5VN5rZ87FHP7fD4_v0d5lGOP1-afz6Q3w9aqX9mG2OJ9Drw_v57NLSNfIUGlBn3lOFuOvGCHDITIcIcMxMpzgkmFhdELWalOV3PuGC7HFOGQoVVG6KrxkmGhDGN-jky4jjPGG32Y0Jy7IBCEyFOS4zPw16fosXX8rUtohw6nOylzZGFJkeF3w6uMgqKb4uAAnc4oh_PXT1udEK0fKSa2epIzeWBCUaEEihqgO3u4cWTDERQxv4F0dXM2vppDwLLMPdQWXpqmrrr5cTKdgHRWQ6FI56NHWBVK5fgyhf01dQJS-VJDzLeSUa7MDnmU64a4aK_Qz3HKXfCcLunRF6WKo6v34TSDC5Z5hffojr3V8RRhHe_YCgr_Kl0obQYbEgerL_TOQvkgl9IZMMDkk9HbxoXcW9ZHhrJrnrNKEtpSUT6V_7aFVzt5l4CgvQEibQmn5ilrrMHlRh-GBDlF7K0YnWjEYDoJRZ8YWZhy2hzA8FcJoEIw7CC0gjNpDGJ0KYTzwPxMdhH9BGLeHMD4VwmTQIThxMz6DYE620MrS0YZ8_pvDanOSWFG9Zq0uTUJXRif-mvo4830-IMi6OhvVhwvlU37Ax83Rq83_HzSHx83DU272T_GvQkVuo00KGXekkt2DT5r4hkt36CBBlozkmfzBn9qrafOQDCUk143JmlTjtCZXu63J5mSrvwSPC8LWRjiUZNRJcizJuJPkWJJJJ8l-uf_vdwAAAP__liCfcg== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsls1u4zYQx-99CmJONiDD-nJR8JTWSYugTR04gXsojIARJw4hiVRIyh8b-LH2BfbJFpSirOXYWfluHQxzZkiO_r8_SL2CecmAwt3VP1fje8KWi17aJ5PZ1ZT0-uTP6eSGpEvwQCqO_7IcDdD_IQAPQvAgAg9i8GAEcw8KrRI0RmlX8lpNuOZroL4HQhaldeG5B4nSCPQVrLAZAoV79pjhFBlHPfTBA46WiazaJl1epMuHIsUNeDBWWZlLQ0kKHtwVzP0dDF0Xf8-IFTlS4n_7aupxoqRFaYWSH1JarQzhmCiOnJKgDj5uLBqikXFKfiN_1MHF9HZMEpZl5r2uYEI3dW7rm9l4TIzFgiSqlJb0cG2HQto-JX71NnUBYnqsIGdrkmOu9IawLFMJs64tv-rhkdnkGQ1RpS1KS4mrr9pvAgHMtx7Uozd5jWULBBrs8Li-BOpvvSNIfpAopdIcNfIWhfn2ALT_hORqhXo4ahP7ffZX7yLogwcT19-F0wjXmJQfUXz24i5nXjJiMS8IFyYlpWEL7KzL6Kgu4Z4uo5YuQXerBidadRgOhtHZrJ3MGrSghN2hhKdCiQbD-AylE5SwBSXqDiU6FUo8qI6VM5SfQ4laUOLuUOJToYwGZySdkMRHb9oDSKZoCiUN7t24h3fy93YaBO5qRr7A-h43qtQJ3mqVVLX1cFItVAU4Gltng3pwLatU4HbQyPL3D4XdlYJPV_q1tZL_6UrhqT2xSgCQaFdKpyRjFmWyebdYE18xYdvm42hQC5aJL-yjM5tpFV-NCYpl488m1Zi0ydVGbbI5Gvc1slvgd_TQrj7Bvj7RWZ9dfcJ9feKzPrv6RPv6jM767OoTu9PxKVOrB8GBgv_2DA78NA-4CWxh3BF996xWlVj3m8IdsE8sM-jBDUvxEi3qXEhhrEiAWl3idvvL9wAAAP__MX78HA== # Very simple query to make it easier to spot regressions when rewriting results # in test files. @@ -336,7 +336,7 @@ regions: table: kv@kv_pkey spans: [/0 - /0] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMkcGKFDEQhu8-RVEnhcD0XAOC2LS46LpL77IepJFMUoxNp5OYqh5nGPqxfAGfTLqzjIgMeMv_1V-Vn6oz8nePGh-aj039CAO8a-9uYTjA5_dN28AAr6FChSE6-mRGYtRfcIudwpSjJeaYF3ReDTfuiLpS2Ic0yYI7hTZmQn1G6cUTanw0O08tGUd5swx2JKb369jh8GY4fE0DnVBhHf00BtYwoMKHZJbnplpbPjyB9CNpqH795KJtDEJB-hj-KeX4g8GRjY6chuf-3UmIIZNZELwtcN_e12CN93zxJdPniw8V3j7VNbBQAhunIPCSjrLpg7zSULIVA9FwzTCaI4w0xnwC4320RuiSYWfEfiOGOEmapPy4xv8DullhUc_7ZTF7Qr2d1f_foCVOMTD9tf5rk6u5U0huT-XOHKds6T5Hu35T5N3atwJHLKW6LeImlNLczS9-BwAA__95TcXF +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMUtuK2zAQfe9XDPPUgpY4r4JCaTaloU13ScL2oYRFkWezwrLkasa5EPxZ_YF-WbGVTa8L1YPxOXPmzLFHJ-SvHjUupx-nkxVU8G5xM4dqB5_fTxdTqOA1FKgwxJI-mZoY9Rcc41phk6Il5ph66jQIZuUBdaHQhaaVnl4rtDER6hOKE0-ocWU2nhZkSkqj3rgkMc4PttXuTbW7byo6osJJ9G0dWEOFCpeN6V9HxdDy4Q7E1aSh-P6NM7YxCAVxMfxVSnHPUJKNJZUazv2boxBDItNT8DaT28XtBKzxni-6xrh00aHC-d1kAizUgI1tEHhJBxm5IK805GxZQFQ9J6jNAWqqYzqC8T5aI3TJsDFiH4khttK0kicO8X8S605hRuf_y2K2hHr8y0Jm16iLTv3_ThbETQxMv63juUnFH5Ouxt1aIZVbyheBY5ss3aZoB22GN4PRQJTEkqvjDGbhqcSSyNQ5_lrhg4_7e1eixuJ8rv7xeDrYN5gt9x-2fIz7wXZ1bPpYD8YzKZybiq5JKNUuOBZnUUtqqete_AgAAP__A3H0NA== # Test a query that has a subquery and a postquery. statement ok @@ -432,6 +432,6 @@ regions: estimated row count: 1 label: buffer 1 · -Diagram 1 (subquery): https://cockroachdb.github.io/distsqlplan/decode.html#eJysU-Fq2zAQ_r-nOO5XAiq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-mZvr3GQAA__9Sm4hi -Diagram 3 (postquery): https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lMFu2zwMx-_fUxA8JYCA2EkPH3RqF6SA29QuEjeXIRhUmW21ypInyViCIo-1F9iTDbbabVmRbB2wk0GKf_pH_Wk_of-kkWOWL2eLErK8LEA-KF3B6mx-M1vCIGUwWM7ms2kJtTKDZgjni-IKGuHIhOEQGRpbUS5q8sjfY4prho2zkry3rks99QVZtUGeMFSmaUOXXjOU1hHyJwwqaEKO2kqhwUth4La9uyMHyShBhhUFoXTfvmgDh9MxMqQNyTYoayComjgkX794ZHgrgnwgD7YNTVfb6Z39_COR4nrHMEbPHD6Ie0Ke7tifs54rHciRG6X7gDHP4TSFbAl5UUJ-M5__E97xW3gvrDILEhW50XifuNw2xGE-Oy_hLC8zuCiyHBlGg0_j40PzSFtkOLf2sW3go1UGrOmmRIZTq9vaeA4NPjNAN0GH_hL7ILTeH_xy9SqW1gQyr-_octU3hIqkraiKjS9XcLsN5MGRqDj8D-9i8n5xPQUptPbf6xqh3EtdN_zVajoFH6gBaVsTYECbMFImDPnzwsUCosdDBQfMrMUGaqqt24LQ3TaHjjbp0X5rdHLQ6MlbjI4fETlnHai7eHHpaLLv-d8u42HGk7cwLsg31njagzrUOdmtGVJ1T_Fn4m3rJF07K_vXxLDodX2iIh_iaRqDzMSjDvBncXpUPD4uHh8VT46LJ0fFJ7-I17v_vgUAAP__kpTZFA== +Diagram 1 (subquery): https://cockroachdb.github.io/distsqlplan/decode.html#eJysU9FuGjsQfb9fYc0TSEbsEl2p8lNSQiUUAhEQpKpCyPFONhZee2vPFmjEZ_UH-mXV7mZTSJq0UesHWM-Mj4_PmbmH8NmAgOF4NpjO2XA8nzB1p03CFmej68GMtWLOWrPBaNCfs0zbVt5mH6aTS5ZLj5babeBgXYJjmWEA8Qli4PA_LDnk3ikMwfkyfF8VDZMtiIiDtnlBZXjJQTmPIO6BNBkEAWPXcXm3BxwSJKlNBYpbVAVpZxnpDAWLvn8LwOFGkrrDwFxBeUGCRcDBu83PQAzLPYd693BfIJkiiJMDgsNzEL09P-AYv85xLm8MTlEm6LvRMdNaltP6b5WvcQcc-s4UmQ2C5cBhlsvyswMcRjrTxErFLhbHL7tYMOUsoX3-6IsFq96YoHIJJqI5f7MjDMyjTAR7x97XwXR61WdKGhMe63KpfVNXyny56PdZIMyZcoUl1sItdbWltmBR9bq6AHH9UkEmtyzDzPkdk8Y4JamkFVUc_sKi-IlF0VssOktTj6kk57vxsUNn44-r8WS-Gl-PRq3TuGzgf99evSfc4yPuvxmBKYbc2YBHvF-6KXpyUyfeLzlgkmI9d8EVXuGVd6qqrbeTCqgKJBiozp7Um6FtUoE8yuxR-kOk-FWk3huQeq8iRc-RZCUAWKSN82tmJKFVu0fTmvhGajq2M8GAXkujv8rnXjfHKn89KtRfmtlqUs2ANbl6yJpshiHI9Kgg-sMeOtSncu_WuM1KJyAgelidX_w0C8oDMg1lC83u3KYSa77Lywa4lSYgh0u5xnMk9Jm2OpBWIMgXuN__9yMAAP__S7X0ow== +Diagram 2 (main-query): https://cockroachdb.github.io/distsqlplan/decode.html#eJyMUM3K2zAQvPcpxJwS0Eftq26lnwuG_JTY7aWYosqbRFSWXGlNUoIfqy_QJyu2E_pDC92DYGZ3Z0Z7Q_rioFDuquJQi3JX74U5W9eK968274pKrHIpVlWxKV7XorN-1a_Fm8N-K3odyfN6DQkfWtrpjhLUB-RoJPoYDKUU4kTd5oGyvUJlEtb3A090I2FCJKgb2LIjKLhgtBMmDJ5F9jKDREusrZuF6UpmYBu8YNuREtn3bwkSnzSbMyURBu4HVmLaiuHyk8jRjBILuvsm1ieCyn8JWj5DZaP8_6wHSn3wiX4L-S-n7A-np3xsJKg90XKgFIZo6G0MZp5d4H4WmomWEi_dfAGlf7QSR9LdEr-ROLpw-WhbKGT3evrL8yhMC_qUpo9V53CZZeuv_RTrqF0iia3-TM_EFDvrbWJroDgONI4vfgQAAP__Kmm20Q== +Diagram 3 (postquery): https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lNFu4joQhu_PU4zmCiRXJNCLI1-1h1IpLYUKKDdHqHKdgfrg2Dm2o4IqHmtfYJ9slQS6hS7sdqXNBWgmv39_45n4Ff3_Gjkmg3FvNIFkMBmCfFY6hell_6E3hkbMoDHu9XvdCWTKNPImXI-Gd5ALRyY0m8jQ2JQGIiOP_F-MccYwd1aS99aVqddKkKQr5BFDZfIilOkZQ2kdIX_FoIIm5KitFBq8FAaeivmcHEStCBmmFITSlf2wCBwu2siQViSLoKyBoDLiEH394pHhkwjymTzYIuSltlzv7Mv3RIyzDcM62nL4IBaEPH4Hnlwhjzbs19mvlQ7kyLXifeA6z-EihmQMg-EEBg_9_h_hbx_wx5_hv7HKjEik5Frt_Qom65w49HvXE7gcTBK4GSYDZFgPwEX995gvaY0M-9Yuixz-s8qANWXVyLBrdZEZzyHHLQOUFZWl7GIfhNb7B3E7_RBLawKZj2d2O60MISVpU0pr49spPK0DeXAkUg5_wz91cjG674IUWvs3XS6U2-nK4u-m3S74QDlIW5gADVqFljKhybcDWQuIlscER5qbiRVklFm3BqHLaQ8lbVSh_bTx0dHGdw4a3_5M4-uPjpyzDtS8Psi41dmfgd8d1uPM5wfMnc8wj8jn1njagzy2U3Sw01m8mTGkdEH17eRt4STdOysrbR0OK6MqkZIP9du4DhKze-WDI5G93RXvneKTTu3jTvGhU_ukU-e4U_vQqXPS6fxUdTOGc21fHlWKHKPtc_aDn92D5QKx8GXbxs_2pbItrxKPfC60J4Z3YklXFMhlyigflEQeXEGbzV_fAgAA___v5iNJ diff --git a/pkg/sql/opt/exec/execbuilder/testdata/group_join b/pkg/sql/opt/exec/execbuilder/testdata/group_join index a668aa3799bf..9ac91473788a 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/group_join +++ b/pkg/sql/opt/exec/execbuilder/testdata/group_join @@ -30,7 +30,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycUmFr2zA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GpINLae-nUR5NWIOQWNYvv3uzpmYu9g8o-ZWJPJ_yfT1QmTd-ppQWGVqcdlKoGD93w6Z67DAbcg1saFHW_UY0U7eypcVCuRGaQwFg_YR4t6m-apsWkC3OoS9_tPfwIAAP__ptt65w== statement ok RESET experimental_hash_group_join_enabled @@ -58,7 +58,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckt-Lm0AQx9_7VyzzlMD2Es09CQfaa9p4eGuqCfQoErbu1JMa1-6u0BLyvxfXHlflck36Is6Pz3y_M3oA_aMCD5af11EQMjJ5H6ab9FM0JekyWt5uiOCGO1ecEt3uJ30gpuRDEt_bEgnSvoWEjC0TsgrSFbmLQzaouiRmT5PITZ-6ysnHJN6uybuHpxJQqKVAxveowfsCDmQUGiVz1FqqLnWwDaH4Cd6cQlk3renSGYVcKgTvAKY0FYIHG_61wgS5QDWbAwWBhpeVHdup-d1j13zHX0DhVlbtvtYe4ZQIoJA2vIveQnakIFvzrKINLxA850j_z4lzrpP8HBvuSRvP6m0tlUCFYqCcdeS_Wl7YZcX1450sa1Qzd7hKhd_MxHemN6osHu0bUIhb4xHfob57cofFJacMikJhwY1Us8VQ3u8uG7CHHYs3O7aNoj8O0u39xHenJ-WvL5FPUDey1jg-5YuT5939UBTYfw8tW5XjWsncyvRhbDmbEKhNX3X7IKxtyf5qf8POBbA7ht1X4cUAno_hxavw9QjOjm9-BwAA__8NAGe7 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckt9u2jAUxu_3FNa5AsmUJPQqUqWwwkYqSBgBadWEkBcfQtQQZ7ajrkK8--SkrBBBV5YLi_PHv_Odz-xA_crAheH36bjvB6Q18KN59G3cJtFwPLyfE840s28YJarctuqAt8mXWTipSqQf1S3ED4LhjIz60Yg8hH5wUnVIGBxI5K5O3cTk6yxcTMnnx0MJKOSCY8C2qMD9ATYsKRRSxKiUkCa1qxp8_htci0KaF6U26SWFWEgEdwc61RmCC3P2M8MZMo6yawEFjpqlWYU10zxzrIonfAEK9yIrt7lyCaOEA4WoYCbqwHJPQZT6bYrSLEFw7SNZ_gBca0__T5n9UWXxR2Q5DVn2RVlvaspcSI4S-YmSpbn5r5Yzu42Y2jyINEfZdU5Xy3CtW57dvpNpsql-AYWw1C7xbOo5F3fqNXZyrrG6nyQSE6aF7PZO5XjG-X7wuArC-SpYjMeviqLFpOU57YtybhtyetfImaEqRK6wafXZSVZjUsc2hiNPsH5AJUoZ41SKuOqtw7ACVQmOStdVpw78vCrZZoJEtv37xz0m2VeQnGOS3SQ575J6JyTrmOQ0Sb13SbeXSZZxbJ2J51XKwQXr9eucOQ4fmAssUebZoo14rrDzl8KYvmaZQgoT9oQD1Ci3aZ4qncbgalnifv_pTwAAAP__f4yx4Q== statement ok SET experimental_hash_group_join_enabled = true diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_geospatial b/pkg/sql/opt/exec/execbuilder/testdata/inverted_filter_geospatial index f9c8c63db197..54d5259dd7d9 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#eJyUk1Fv0zAQx9_5FNa9rJXM6iRFID8VRgZBXVvaSoBwFYX6KFFTO9gOCqr63VGSQddOzUgerPguP_t__9ztwf7MgEP4eTZ-HU1I7220WC4-jvtkEY7DmyXZktv59I5sUMcu-ZahTz69D-chsS5OlUNjce1s72o2jSbLXnDNSHDN-lecvwund-Fy_oVW6K4PFJSWOEl2aIF_BQ9WFHKj12itNlVoX38QyRI4o5CqvHBVeEVhrQ0C34NLXYbAYVnpmGMi0QwYUJDokjSrjz3KHFXXxqmSWAKFG50VO2U52VKyjfOssLFW2GgDCos8qZIDAW-EKL9LIUqPCVGypxZ43pXxBJBESRIwot0PNBZWBwq6cMd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_gYAAP__Y8P2qw== 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_5FNa9rJXM6iRFID8VRgZBXVvaSoBwFYX6KFFTO9gOCqr63VGSwdpOzUgerPguP_v_v9ztwf7MgEP4eTZ-HU1I7220WC4-jvtkEY7DmyXZUrKN86ywsVZIbufTO7JBHbvkW4Y--fQ-nIfEujhVDo3FtbO9q9k0mix7wTUjwTXrX3H-Lpzehcv5F1qhuz5QUFriJNmhBf4VPFhRyI1eo7XaVKF9_UEkS-CMQqrywlXhFYW1Ngh8Dy51GQKHZaVjjolEM2BAQaJL0qw-9kHmqLo2TpXEEijc6KzYKctPrTXagMIiT6rkQMAbIcrvUojSY0KU7KkFnndlPAEkUZIEjGj3A42F1YGCLtyDX-uSDQL3DvT_axKpX2gcyts0c2jQDLzTwvzNh2VuiFZk5HNiK9fEusQ4XrsIXr4QgvlMCMaeWoCgkl2xyvyZewrTwnEy8ujIv1gKv0spPuhU3XeH39Yd969xvsXfZy1StcVxo1wUFnQR9u_fBKeymjg_HynmMY89fl4NH-2v-PG8jfz-cVWDi-KHXcTP0eZaWTyRfulkdlhRQLnBZrCtLswaZ0av62ua7bTm6oBE65qs12wi1aQqgcew1wr77bDfCgftcNAKD8_g1eHZnwAAAP__TcK2Gg== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUVFFP2zAQft-vsO4FKhmwE6ZNfuoGYcsElLWVtmmpoqw-StTUzmxnFFX975NTCm1YyuoHK77zff6-z-cswP4uQED0_ebyQ3xNDs_jwXDw9bJDBtFldDYkU0qmaVlUNtUKyUW_d0UmqFOX_SowIN8-R_2IWJfmyqGxOHb28OCmF18PD8NjRsJj1jkQ4lPUu4qG_R_Ul846QEFpidfZDC2In8BhRKE0eozWauNDi3pDLOcgGIVclZXz4RGFsTYIYgEudwWCgKHn0cdMojlhQEGiy_Kihn2m2fXHprmSOAcKZ7qoZsqKbWkrbkBhUGY-eZLAxySZ38okmXOWJHP22gRH-9bwBEimJAkZ0e4OjYXRkoKu3LNe67IJguAbBsXnINiS_r9HsfqDxqG8yAuHBs0J3zZqnY_mpSFakW4giPUuEOsy40StKnz3NklYwJKEsdcmIKjkvmXejIYbFHqVE6TLaTdotSZoWMP3seaLztVj9wS7uufxMy2n-NBoId82m43USjRsEA32Ifp0d-E2zVVcNJ8g44yzl-P96Yv1gdh8n92gs-l62CrmtCEm3EdMH22plcUtKW0nscZJR3w5ooBygqs_hdWVGeON0eN672rZq4HqgETrVlm-WsRqnbLOYDZ7ek-bSHwnUtCOxJtIwU6ksB0paCKFO5FOd6kbUbgt9H2aSxCwvv2jf0zrAb4gm1h_bYM7fV_DDh9Kb_ptVlikcJVN8RwdmlmucuvyMQhnKlwu3_wNAAD__2Z4AE8= 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 538da0aac3c5..62bdb48bdefe 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#eJyUVF1v0zAUfedXWPdlrTCtnWSC-an7yCCoW0daBBOuqtBcRtTMDraLgqb-d5RkbOtGs8UPru-1z-k519e5AfsrBwHh14vxYXROeifRdDb9NO6TaTgOj2dkRU7jyRm5Qr1wyfccyZcPYRwS6xaZcmgsLp3t7Z19Hs-ii0l0Puv1vIFHvIHXp6TnDxjxB6zf3xPifTg5C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q2PqSrMrpVmHlLa9Knu3sDIuqi-Qceaw0qynX854-XF6dro1xp1X_vPKHfvfeeUfiZcPuWM1P3BBTkUF-xAVRlIZVG1nV4MO_7c23UklnXNIuiHqTKYad9LVZWKVTMd8PaaA0QzL_ywtl2qK10pOi7WlOyhARSBCbcpZXjpeupnSRmG42D7zlyS-l2TVk3iVZO0l2fUkq0qy95KcepJdJTl7SSf7dBpTuE3k_SSOQMCmZ4_fGDYG-YZwpvMGGN3J-wLrP2T59d2GiUYK_XCOXTSoFnEaaxNPQRi1xPX6n78BAAD__8kUP_s= # 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#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= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlGFv2jwQx98_n8K6NwU9LthJquepX9GWdMsEpYNMW7UglJErjQhxZpuVquK7T0kKLWlDy70wubP9u_PfZx5B_05AgPvjunfmXZFG1xv5o6-9Jhm5PffCJ3NyORz0yQzlxIS_EiTfP7tDl2gziVODSuPU6MZR_1vP964H3pXfaFgti1gtq0lJw24xYrdYs3kkxCd30Hf94Q3NWYsmGQy77pCc35A5UEhlhFfhAjWIn8BhTCFTcopaS5WHHosFXrQCwSjEabY0eXhMYSoVgngEE5sEQYCf1zjEMELVZkAhQhPGSYHdHqGTFzCJ0whXQOFCJstFqgWZl5UBhVEW5oF2AOdBsLqNgmDFWRCs2HsDHB-6hwdAwjQiNiPS3KHSMF5TkEvzfERtwhmC4C808bog2Jp-XBYv_YPKYHQZJwYVqjbf1WYz764yRWRKOlwQnatAtAmVEcWp7P9OgoBZLAgYe28Agml06LZcjIoaFAZLI0iH1-piVXThh-jyRcbpU7dYe7ql_Jpkc3x4q2PqSrMrpVmHlLa9Knu3sDIuqi-Qceaw0qynX854-XF6dro1xp1X_vPKHfvfeeUfiZcPuWM1P3BBTkUF-xAVRlIZVG1nV4MO_7c23UklnXNIuiHqTKYad9LVZWKVTMd8PaaA0QzL_ywtl2qK10pOi7WlOyhARSBCbcpZXjpeupnSRmG42D7zlyS-l2TVk3iVZO0l2fUkq0qy95KcepJdJTl7SSf7dBpTuE3k_SSOQMCmZ4_fGDYG-YZwpvMGGN3J-wLrP2T59d2GiUYK_XCOXTSoFnEaaxNPQRi1xPX6n78BAAD__8kUP_s= statement ok ALTER INDEX geo_table@geom_index EXPERIMENTAL_RELOCATE VALUES (ARRAY[2], 1152921574000000000) @@ -133,7 +133,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/dist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J0whXQOFCJstFqgWZl5UBhVEW5oF2AOdBsLqNgmDFWRCs2HsDHB-6hwdAwjQiNiPS3KHSMF5TkEvzfERtwhmC4C808bog2Jp-XBYv_YPKYHQZJwYVqjbf1WYz764yRWRKOlwQnatAtAmVEcWp7P9OgoBZLAgYe28Agml06LZcjIoaFAZLI0iH1-piVXThh-jyRcbpU7dYe7ql_Jpkc3x4q2PqSrMrpVmHlLa9Knu3sDIuqi-Qceaw0qynX854-XF6dro1xp1X_vPKHfvfeeUfiZcPuWM1P3BBTkUF-xAVRlIZVG1nV4MO_7c23UklnXNIuiHqTKYad9LVZWKVTMd8PaaA0QzL_ywtl2qK10pOi7WlOyhARSBCbcpZXjpeupnSRmG42D7zlyS-l2TVk3iVZO0l2fUkq0qy95KcepJdJTl7SSf7dBpTuE3k_SSOQMCmZ4_fGDYG-YZwpvMGGN3J-wLrP2T59d2GiUYK_XCOXTSoFnEaaxNPQRi1xPX6n78BAAD__8kUP_s= # Data is distributed, but the filterer can't be distributed since it is not a union. query T @@ -161,7 +161,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUVF9P2z4Uff99Cuu-0OrntXYStOGn8idsmQplaacNzVUV6jtWNcSZ7aIg1O8-JWFAyxqIHxzfa5-Tc26ucw_2dwoCwu8Xw8PonHROovFk_GXYJeNwGB5PyJKcxqMzco165pKrFMm3T2EcEutmc32LBtXVXWfv7OtwEl2MovNJp-P1POL1vC4lHb_HiN9j3e6eEB_D0Vk4iS9pSXXTJaP4JIzJ0SVZAoVMKzxPbtCC-AEcphRyo-dorTZl6r46EKkCBKOwyPKVK9NTCnNtEMQ9uIVLEQRMSokxJgpNnwEFhS5ZpBXto4NBKWC2yBQWQOFYp6ubzAqyrJUBhXGelIm-hCMpi59KyoIzKQv22gTv2mK4BJJkiviMaPcLjYXpmoJeuSeL1iXXCIKv6dvLEGW3aByq00Xq0KDp881a_N0Pi9wQnZEBF8SWrol1i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FDml3fTRBrpNANZthGg2oeJZE20QSEUQtcrT79DwAA__9E0T75 # 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. @@ -204,7 +204,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlF1v2jwUx--fT2Gdm4IeF2wndKuv6Eu6ZaLQBaatmhHKyFkXQe3MNhNTxXefQrq2tCMUXzg-x_6dnP_xyx24n3OQEH256p3EfdI4j4ej4cdekwyjXnQ2IjNykQwuyQ2aiU-_zZF8fh8lEXF-kmuP1uHUu8bB5afeKL4axP1RoyFagoiWaFLSCFqMBC3WbB5I-S4aXEaj5JqWsW6bZJCcRwk5vSYzoKBNhv30Fh3Ir8CBgoAxhcKaKTpnbOm-Wy-KsyVIRiHXxcKX7jGFqbEI8g587ucIEvrm0BTtDlDI0Kf5fL1sRcEs_CPkfHqDII9W9ElgXh94VBYgwTRD22Yb4eGhPt1S3STXGS6BwpmZL261k2RWyQYKwyItHW0Fp0otv2dKLTlTasl2dXC4L8MVkFRnJGDE-B9oHWwrA9-nDLH-hdZjdpHPPVq0bb5Zi7_z0bKwxGjS5ZK4UjVxPrVerlUEbzpKMcGUYmxXBwR1ti9Win-mnsJg4SXp8q11EPvU4YPJ9f1pEDWnoRpNihn-_teJ2JZKsE8qD1sRbCZS-eXz68o4C1nVxP2XM14Njk-OHxrj4Qv7ceVGexu-sA_k01vfFc1XbEC4j-qhsR5tO9zU3OX_bw3f2Qi_4x1J0BVGO3zVQ8JWYwqY3WD1VjmzsFO8sma6_k1lDtbc2pGh89XsUWXEupoqE3wK81pY1MOiFg7q4aAWDuvhsBbu1MOdWpg9g8er__4EAAD__8RFHrA= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlN9v2joUx9_vX2Gdl4KuATsJvbd-oi3plokfHTBt1VKhjJzSiBBntlmpKv73KaRQSBta_ODEx_bn63x9cp5A_45BgPvjunPu9Uil7Q1Hw6-dKhm6HfdyRGbkatDvkinKsQl-xUi-f3YHLtFmHCUGlcaJ0ZWT7rfOyLvue71RpWLVLWLVrSolFbvOiF1n1eqJEJ_cftcdDW5oxppXSX_Qdgfk4obMgEIiQ-wFc9QgfgIHChbcUkiVnKDWUmXhp_UiL1yCYBSiJF2YLHxLYSIVgngCE5kYQUBP1mTaaAKFEE0QxetlKwpyYV42aRNMEcTpjorXBtFc0R0hflholBkywCBE1WB7crD1q5V97ThKQlwChUsZL-aJFmSW2wAUhmmQBRo-XPj-8i70_SVnvr9k73VQO3YP94EESUhsRqS5R6WhzBZesIUdY4uX_EFlMLyKYoMKVYPve7OZd5epIjIhLS6Izlwg2gTKiPVX2f81fZ9ZzPcZe68Dgkl47LbMjIIbFPoLI0iLl_piFXzhx_jyRUbJc7ZYB7IlfxunM3x8K2PKjmYXjmYdc7TtVdn7B8vjovi7M84cljfr-ckZz1_Ozs-2jXHn1fhl5V7733k1PhG7VaNlVT9wQU7BBfsYF4ZSGVQNZ9-DFv-3VK5ZkHP25N6pUwPUqUw0fqhQsYJSja9uKWA4xbw4arlQE7xWcrJemw_7a9A6EKI2-expPvCSzZQ2CoP59jffJfGDJOsIknWQZJeTeJFkHyQ55SSrSHIOkprlJLtIah4ksXKSk93iXSwfxlEIAjbZX3uj2zTINgRTnaXS8F4-rLGjxzRLhLsg1kihG8ywjQbVPEoibaIJCKMWuFr98zcAAP__BJd7Wg== # Filtering is at gateway node since the filter is not distributable. # @@ -235,7 +235,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlN9v2jAQx9_3V1j3UtBcsJ3QrX6iP9ItE4UuMG3VjFCKbx2CxpltKqqK_30K6drSjlD8EHJnf477fmP7HtyfGUiIflx0juIuqZ3G_UH_a6dO-lEnOhmQKTlLeufkGs3Ip1czJN8_R0lEnB-NzS1a1Fd3tb3zb51BfNGLu4NaTTQEEQ1Rp6QWNBgJGqxe35PyU9Q7j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yfsc86IJiEx27LzCi4QaG_MIK0eKkvVsEXfowv_8koec0W60C25G_jdIbPH2VM2dHswtGsY462vSp7_2B5XBT-dsaZw_JmvT454_nL2fnZtjHuvBu_rdxrfzvvxidit2i0rOoX7scpmGAfY8JQKoOq4exb0OJ_lso1C3LOntwnZWqAOpWJxi_VKVZQqvHVLQUMp5jXRi0XaoLXSk7Wa_Nhfw1aB0LUJp89zQdespnSRmEw3_7luyR-kGQdQbIOkuxyEi-S7IMkp5xkFUnOQVKznGQXSc2DJFZOcrJbvI_l0zgKQcAm-2sfdJsG2YZgqrNUGj7IpzV29JxmiXAfxBopdIMZttGgmkdJpE00AWHUAlerP34HAAD__9wDelg= # Bounding box operations. statement ok @@ -280,7 +280,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlNFv2j4Qx99_f4V1L20lt9gJ_Db5ia1Lt0wUGCBt04xQhm8sItiZ7UyZEP_7lGTrCh1h8GBxZ3-c-35zly24bxkIiD6MBy_iIbl8FU9n03eDKzKNBtHtjKzJ3WR0T1ZoFj75nCF5_yaaRFW8IbJgLPi_WcnFeBQPZ5fhDSPhDbu6EOJ1NLqPZpOPQEEbhcNkgw7EJ-BAIYA5hdyaJTpnbJXe1odiVYJgFFKdF75KzyksjUUQW_CpzxAEDM21yTtdoKDQJ2lWH9tRMIX_AzmfrBBEb0cfXczbL55VAieYKLQdtnc9POjvV8oXqVZYAoVbkxUb7QRZ09oSoDDNkyrRkfBSyvKLkrLkTMqSnVrg-lyGSyCJViRkxPivaB0cs4GfY0Osv6P1qO7SzKNF2-H7Xvzej8rcEqNJnwviKtXE-cR6UasIn_WkZAGTkrFTCxDU6lysEn-gnsKo8IL0-VEfgnN8eGtS_asbgpZuaP4t8jX--FtHHCslPKeUh1cR7hfS5AXpBwfDyDjj7OnvefdJfCH2JvWUg929sk9M6gRdbrTDfxpVtptTQLXC5mvgTGGXOLZmWT-mCUc1VycUOt_s9pog1s1WVeBjmLfCQTsctMJhOxy2wt12uNsKswN4vvvvZwAAAP__SRfTUA== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUlNFv2j4Qx99_f4V1L20lU-yE_jb5ia1Nt0wtdIC0TXOFMnKlEcHObGelqvjfJyejg7TAyIOFz77v3X18xxPYnzkIiL7eXL2Le-T4Ih6Ohp-vTsgwuorOR2RGLgf9azJFPXbJjxzJl4_RIPL7OZElY8H_9UqObvpxb3QcnjISnrKTIyE-RP3raDT4BhSUTrGXzNGC-A4cKARwS6EweoLWauPNT9WlOF2AYBQyVZTOm28pTLRBEE_gMpcjCOjpli7aHaCQokuyvLq2pKBL99fJumSKIM7WosQXIDpLuhaI7w408gUPMEnRtNlGOHjm0fUkxplKcQEUznVezpUVZEYrREBhWCTe0JbwXsrFXSrlgjMpF2zfAq1DfbgEkqiUhIxod4_GwjYsvIGFHYIlVr_QOEwvs9yhQdPmm2xW59GiMEQr0uWCWE-BWJcYJ6qqwjdnUrKAScnYvgUIqvRQNw-jQYNCv3SCdPlWLkGDCz-EyyedqT_dEuzolvrXuJjh42sdsy21sJFacEhqz08VbiZW2wXpBo1hZpxx9vJ723mxPxIbk76PcKdRRrhRxp7JH6AttLL4T6PPGpFafHlLAdMp1n83VpdmgjdGT6q79bZfCVWGFK2rT8_qTaxWR9YZTObPg7OuxHcqBQcoBTuVwu1KvKkU7lTqbFcKmkqdnUpsu1Lo2d_l-mGcpSBg1T-tV5bVB94hmVrfAMN7_VDJjh4L_3x3SW6RwnUywwt0aOaZyqzLJiCcKXG5_O93AAAA__-ryibG query T retry EXPLAIN (DISTSQL) @@ -304,7 +304,7 @@ vectorized: true table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk1Fv2jAQx9_3Kax7oZVcYSewTX5itKnGxKADpCHNCGX4xiKCndnOlAnx3acka1faEkoerPjs3-X-_9ztwP1KQUA0vxt-GIzIxc1gOpt-GV6SaTSMrmdkQ24n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WWnRIac-vKt4srPIL0jgd3BzFJKYxiY8b4s1R7kTvANiuVRlvVLlnsIfocqMdvmuyWS1Tk69uKaCaYfVv4kxhp3htzbQ8Wy0HpVDpUOh8tXtSLfp6veW8xWTxPBcvlfhOpegApWinUrxdideV4p1K7e1KUV2pvVOJbVeKA_u7zDxMUgUC1p-F5htm_UAISGYuNMDo3jyUsuPHPLy-uyRzSOEymWMXPdpFqlPn0ykIbwtcrT78DQAA__8x_SQB query T retry EXPLAIN (DISTSQL) @@ -328,7 +328,7 @@ vectorized: true table: geo_table@geom_index spans: 33 spans · -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= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUVFFv2jAQft-vsO6FVjLFToIm-YmtDV0mCh0gbdNSoYxcaUSIM9usVBX77ZOT0UFUQmMpTu58993d58s9g_6VggD_2-3gQzAkZ1fBZDr5MjgnE3_gX07JkvTHoxuyQDkz0c8UyddP_tgnrUEw9CfTcTC8PuMXjPALRkn3gtnnvCXEtT-68afj7-SPdV0BhUzGOIxWqEH8AA4UHLijkCs5R62lsurnwiiINyAYhSTL18aq7yjMpUIQz2ASkyIIGMq2zDseUIjRRElamG0pyLX576RNtEAQ3b0owRUIb0v3AvH6QFNb8xijGFWHHYSDF0p6tsJZksW4AQqXMl2vMi3Iku5Kn-SRVXRC-BiGm_s4DDecheGGndqg3dSHh0CiLCauQ6R5QKXhGC28QgtrQkuQ_UZlMO4nqUGFqsMPudmd-5tcEZmRHhdEWxaINpEyoqjKfd8NQ-awMGTs1AYEs7ipmyWjwgaF0doI0uNHeXEqvPAmvHyWSfavW5yabim_ZvkSn17rmGOpuZXUnCapvVyVe5hYqRekxThzWLl2773VZ26_Tuaex6pySxwMgp7zBvq9So3uQY0nxsIYdS4zjW-aC6wSqc23dxQwXmA5i7RcqzneKjkvbEtxVAAVihi1KU-7pRBkuyNtFEarl79qH4nXIjkNkJxaJPc4Eq8iubVI3nEkp4rk1SKx40iu5f4-lY-zJAYBuy5qv7LtFliHaKFtA0we5GMBO33K7fXdR6lGCjfREq_QoFolWaJNMgdh1Bq323d_AwAA__97SixA query T retry EXPLAIN (DISTSQL) @@ -352,4 +352,4 @@ vectorized: true table: geo_table@geom_index spans: 30 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk9Fv2j4Qx99_f4V1L20lV9hJ0E_zE6MNGhODDpCGNCOU4RuLCHZmmykTYn_7lGRtAY0w_ODkzv5c7r6524H7noGAePY0eNsfktvH_mQ6-Ti4I5N4ED9MyZr0xqMPZIVm4ZMvGZJP7-JxXNob8ovcMM4CVq_n58HqsbDXZPMoYqf2jRDd0Sx4BAraKBwmG3QgPgMHCgHMKeTWLNE5Y0v3rrrUVwUI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pdFXmyXrDCaLbTPsKvFapeAEpaBWKTysxKtKYa1SdFgpqCpFtUrssFLo2T9m-nmSShCwefob70ybAf5AMrO-AEZP-rmQHb_k_voek8wihZtkjh10aBapSq1LpyCcWeJ6_eFvAAAA__-RAiaE 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 ed773cc404e3..62c2ab47666a 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 @@ -92,7 +92,7 @@ vectorized: true table: json_tab@json_inv spans: 2 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykktFv0zAQxt_5K6x7GQhPsZ3ykqfCFkSk0pakEiCIkBsfIyizg-2gSVP-dxRniAaVsHUvlu2777tPP90tuB8NJJB-2K5eZmvy9DIrdsW71TNSpKv0YkckeZ1v3pLvzugvXu7J-zdpnpI9WX7uGIuRnPEzsskv05y8-kgkUNBG4Vpeo4PkE3CgIIBCDCWF1poKnTN2KN2GxkzdQMIo1Lrt_Pjta98gJGCsQosKKCj0sm6C35I_h7IvKVTGIiR_utfm3LTRYtJd9hRM5--cSwrOyyuEJO7pwXR-MP2I8U7uG8xRKrQRm4b5zWQZLrX-CRQuTNNda5cEFEUrh2vEWcTPwxltLX6tb1KtiNSKcGL8N7Twr6T8IUkLYz3aSBwjdtxeTOzF_UHwE0GIAEI8FsR_kt6BiE8Fwebtc3St0Q7vtWtsWFZUVzgutzOdrXBrTRXGjM9N0IUPhc6P1RfjI9NjaQh4KOazYjEvFrNiNhHzv8XxrHgxP3nxoMll_-RXAAAA__-0m36I +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykk1-PEjEUxd_9FM19WY0lM-3gS5_QZYwkLOAMiRolm0Iv7OjQjm3HXbPhu5spoEBYsmAfmv658zsnZ24fwf0sQUD6edR_2xuQl91ePs4_9l-RPO2n12MiyftseEO-O6NvvZySTx_SLCVT0vlWx3GC5IpdkWHWTTPy7guRQEEbhQO5RAfiKzCgwIFCAhMKlTUzdM7Y5uoxFPbUA4iYQqGr2q-PfeFLBAHGKrSogIJCL4sy8DrsNUxWEwozYxHEv-qBaZkqau9VT1YUTO035AkF5-UCQSQ7VnpdEO0V3XHDdtwcERrLaYkZSoU2ivfNbTPqhEWhfwGFa1PWS-1EiCavZLOMWByxVpijkcV58ZBqRaRWhBHj79DCU87ZgfP4HOe5sR5txI8lelyOH8jxPTn-_KDYhUHxEBT__6DYOc43QSWXB5XsycWn5TJ0ldEOn9W78YFSizWvAdUC16_HmdrOcGTNLNSut8MACgcKnV_fvllvenp75bxFufzbVrskdpLEzyDxk6R4j8R2SfyQlJwktZ_2xA5J7Us9JU3289Lc3xYKBMSb0ToybQc0H8iFaxogvzP3ATv-XTW_by5LhxRu5A_soke7LHThfDED4W2Nq9WLPwEAAP__YmPR7w== # Filter with fully-specified arrays. query T @@ -114,7 +114,7 @@ vectorized: true table: json_tab@json_inv spans: 4 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUlFr2zwUff9-xeW-tP2mYckeFPTkrnWZIWsyO7CN2gwluus8XMmT5BII-e_DNumWQbL1Rdxz7j3H54C36H-0KDH7tJhd5XdwfpOXy_LD7ALKbJZdL0HBbTF_D9-9NV-CWsHHd1mRwfkK0qrnPCE4uxcM4vrsAubFIZ8weDPxN1kBbz-DQobGarpTj-RR3qPAmmHn7Jq8t26gtuNBrjcoOcPGdH0Y6Jrh2jpCucXQhJZQ4lKtWipIaXIRR4aagmra0XYfNh2Hxjwhw2vb9o_GS1AMVsiw7NSAIsGjK-ci8fp5ihaOvjabzGhQRsMl2PCNnMd6x9D24VciH9QDoRQ79u-pc_NELpC-bdpAjlwkDqPv99mmc2ANpEKCH6KCD8oFWeFlVXHOhyd5nsT_wxtPGIGM_vuhqBDGgsm-IMN5HySk4mjV-CVVS-sCuSg-LJiKV0ftk5fYF-Q7azwd2B9z5ruaIekHmv4xb3u3poWz6_EzE5yPupHQ5MO0FRPIzbQaAv4uFifF8WlxfFKc_CGud__9DAAA__-7OSi2 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUlFv0zAQfudXnO5lG3hKnCBN8lPHmolI21qSSoDWaHKbaxdI7WA7W1HV_46S0LJWtDA_nO6-O3_ffZZXaH-UKDD6Mry5jO_gtB-no_TTzRmk0U10NQIJ18ngFr5ZrR6cnMDnj1ESwekEeuPa90OCk3vOIMhOzmCQ7OIhg_cd3o8S-PAVJDJUOqc7uSCL4h45Zgwro6dkrTYNtGoH4nyJwmdYqKp2DZwxnGpDKFboClcSChzJSUkJyZyM5yPDnJwsypZ2s2yvTQr1hAyvdFkvlBUgGUyQYVrJpvK4710a4_HzbeYNDc2KZaRykCqHC9DukYzFbM1Q1-7PRtbJOaHgLyzEfRT-mv2_i1g9kXGUXxelI0PG47tWNv1oWRnQCnpcgG1WB-ukcWKMF-Ox7_tNCLcZf9vEoKsRSOX_HuRjhNZwuDHMcFA7AT1-0HqwZ52_xnqqjSPjBbuGe_zdQblwTy54jVxCttLK0o7cISV_T-mcrzOGlM-p-6RW12ZKQ6On7WxXDlqiFsjJuq7LuyJWm5Z1huRi-1FeMvGjTMFhJr7PFBxlCo_tlDGclfr5ochRoP_7nP8lbA42F-TcNo-dPurnlnb0s2qeaiZLSwxv5XfqkyOzKFRhXTFF4UxN6_WbXwEAAP__n_9pnQ== # Filter with a path ending in an empty object. query T @@ -136,7 +136,7 @@ vectorized: true table: json_tab@json_inv spans: 2 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMVMFu00AQvfMVo7kUxCJ77RbEngKNKyKFJjiRAGELbbJDMXJ3w-66ihT535FtKuLQuBRx4BJl5s2b9_RW4x267yUKTD7Mp68ml_B4PFksF--mT2CRTJPzJUi4SGdv4Zsz-rOXK3j_JkkTWMEoq8IwJjjZZSgzFLCr6xOYpeMkhdcfQSJDbRRd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XbUGB_bmcIG0zGv5gypG1oOJWcKO6VLa6Z17TLs10D1gSLnl1m-DHp6lXLekpz9mizrSHwv0qvdSGETKdqLFB-AFO9FCjeQ-DpS1ERq7UVq7-6JN5HaT-0prly8zs39VaZQYPi4jrdsq4XVC_LGVVdpeGvua9jRj3l1Ea5l7ojhufxGXfJkZ5mu_jxTFN4WVJbPfgYAAP__L_ZcSQ== # Filter with a path ending in an empty array. query T @@ -158,7 +158,7 @@ vectorized: true table: json_tab@json_inv spans: 2 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMVE1v00AQvfMrRnMpiEX22i0fewo0rogUmuJEAhRbaJMdFSN3N-yuq0qR_zuyTdU4NC6FC5coM2_evKe3Gm_R_ShRYPL5Yvp2cg5Px5P5Yv5x-gzmyTQ5XYCEs3T2Ab47o796uYJP75M0gRWMsioMY4KjbYYyQwHLvD6CWTpOUnj3BSQy1EbRubwih2KJHBlGyDDGnOHGmjU5Z2wDbdvBibpBETIs9KbyXdsXviQUWGljFVlSyFCRl0XZ4HmdM1wbSyjuRseF84Ve--C4N4ujRn5WeQEjjnnN0FT-l07O0Hl5SSjimh3wco_S3FhPNjjZ13l-cP1xbz0fXr-Qq5JSkopsEPY1bp9i1P4p9DUyPDVldaWdAMlghQznG9lUAQ-D9nmCZf7irtjWILUCDsZ_I3vQMH-M4Ym-JutJnRWlJ0s2iPqub_HkZmPBaBhxAa5xCc5L60WGr2SWhWHY_PDXGQJptdd9kyHsOncHrUc969GfZ83_PutoN-von7J-wPBvWcf_T9YPnE1KbmO0o71Tvn9z2Jw4qUvqvgfOVHZNF9asW5munLW8tqHI-Q7lXTHRHdQY3CXzQfLLYXI0SI6HyfEgOeyR-T75eJB8Mqx88ijlvH7yMwAA___nIvdk +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMVV9v2j4Uff99iqv70t80V9gJ7I-f2EqqIbWlA6RtaqLKkNs2W7CZ7bSdUL77lFBWyAoa3cv8YOX63pxzj45zs0D3PUeJ0efzk3f9M_i_1x-NRx9PXsAoOomOxqDgeDg4ha_O6EuvJvDpQzSMYALduOA8JDhYxKhilHCRlAcwGPaiIbz_AgoZapPSmZqRQ3mBAhkGyDDEhOHcmik5Z2yVWtSF_fQeJWeY6Xnhl8c-8zmhxEIbm5KlFBmm5FWWV_mkTBhOjSWUj6W9zPlMT32rvVGL3Yp-UHgJXYFJydAU_oEnYei8uiaU4Vpj_R7Kdsm29PYE88hYT7bVafK-3ErXbtB1NujEbrqxmuQ0JJWSbfFNzpVV3foh07fI8MjkxUw7CYrBBBmO5qqKWoK3avtaF8nhY7AoQekUBBh_Q3arANEQwPcR0Ne3ZD2lx1nuyZJtBZsqVvnofm7BaOgKCa7qGpxX1ssYX6s45pxXm3gTI5BOG6dvY4R1JW6rlKAhJdiQEvy5F-L5XgTrXgR_6YXYR8BvXoT_khfhPp_hkNzcaEeNUfE0E28wHYpqplB6TcsB5Exhp3RuzbSuXYaDGqg-SMn5ZVYsg75epZy3pGa_psg6ktiJ9Go7Em8iBTuRwj2Qwp1IfANJrCMFTaT2TqTO9p5EE6nz3J7CysWr3NxdZilK5A_r8IlttbB6QV276iqNbsxdDTv-Ma8uwpXKHTE8Vd-oR57sLNPVX2aK0tuCyvK_nwEAAP__NY9UHQ== # Filter with a nested array. This index expression is not tight. query T @@ -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-nJC1bGI3oQyzfnT-X71f2LdH-KlFg_OX68nh8Bftn4_Qm_XR5AGl8GZ_egITzZPIRflit7pycwecPcRLD_gyiae37IcHe7S1nEGTZ3gFMkmeVkMFoXTmLEzj5ChIZKp3TlXwgi-IWOWYMK6PnZK02TWrZHhjnCxQ-w0JVtWvSGcO5NoRiia5wJaHAGzkrKSGZk_F8ZJiTk0XZtt0IjtpNoR6R4a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iS_iRRsROq2IwVNpO5GpINNPMUMbzP9dJMmKNBbrv0PttXC8oK8s2UDRPf6qYIdv-Tl893KzBLDC_lAfXJk5qlKrUtnKJwpaLH4708AAAD__8ZXD3A= # Combine predicates with OR. query T @@ -208,7 +208,7 @@ vectorized: true table: json_tab@json_inv spans: 2 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUVE1v00AQvfMrRnNpC4vstRuQ9pTSuCJSaIITCVBjoU12KEbubthdV5Gq_Hdkm4Y6NA5FXLhYOx9v3hs9ee7QfS9QYPJxMjobXsLxYDidTd-PTmCajJLzGUi4SMfv4Jsz-rOXC_jwNkkTOF5Af16GYUxwdMWzoxMYp-1k1CQHSQpvPoFEhtooupQ35FBcIUeGETKMMWO4smZJzhlble7qxqFaowgZ5npV-ibtc18QCiy1sYosKWSoyMu8qOrZJmO4NJZQ_God5M7neumD01Yv9iv6cekF9DlmG4am9D95MobOy2tCEW_YHi2PME2N9WSD3i7Pi73jT1vjeff4mVwUlJJUZIOwzXHvTL9-5PoWGZ6borzRToBksECG05WsooCHwZm1AX-5fQUTS1_ydaIVSK2Ag_Ffye4VzZ8ieqhvyXpSF3nhyZINorby-3qyXlkwGvpcgKuUgvPSejHH1_N5GIbVJ96--PPqGzUxAml1uJHPER7u5_YuGLUWjP7cFf73rkRbV6J_4coB0b-5Ev9vrhz4FVNyK6Md7ZyHxyeH1dkgdU3NjXGmtEuaWLOsaZpwXOPqhCLnmypvgqFuSpXAh2DeCX7VDY46wXE3OO4Ehy0w3wWfdoJ73cy9JzFnm2c_AgAA__9M1BEf +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUVV1v2jAUfd-vsO5L281V7AQ2yU90JdWQ2tIB0jYVVBl822YLNrOdtlPFf59MCiNZYaPay_Jg-X5wzj064eYR3PccBKSfL06POudkv93pD_ofTw9IPz1NjwdEkpNe94x8dUZfeTkmnz6kvZTsj0lrWDCWINm75KO9A9LtVZNxmWynPfL-C5FAQRuF53KKDsQlcKAQA4UERhRm1kzQOWND6XHR2FEPIBiFTM8KX6Z95nMEAYU2VqFFBRQUepnloT6ajyhMjEUQv1rbmfOZnvioUemFVqDvFl6QFofRnIIp_BPPiILz8gZBJGuDddogGnO6YbZnmPvGerRRs877ZiNdo0bXrNDx7XQDOc6xh1KhjViVc-lca3HJ9B1QODZ5MdVOEEnJGCj0ZzJEEWfRkbURP1zdoguL19lDqhWRWhFOjL9Fu1EEr4lgu4jo6Du0HtVJlnu0aKO4qmRZTx9mlhhNWlwQFyYnzkvrxRDeDYeMsXAkqxt_Hc64jIGgVn9u5EMg63rdRsFxTXBcERz_vWv85a7FK9fif-Ma30XEb64l_59ryS5_7R66mdEOa-vneSZWYzrkYU-husFyqTlT2AleWDNZ9JZhdwG0SCh0vqzyMujoZcl5i3K62kzrSHwr0tvNSKyOFG9FSnZASrYisQoSX0eK60iNrUjNzTPxOlLzpTMlwcXr3NxfZQoEsKfn8Jlj-UD4gbxx4VXq35r7Bezgxyy8CNcyd0jhTH7DNnq000yHL9cEhLcFzuevfgYAAP__02FtyQ== # 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#eJyUk9tu00wQx--_pxjNTQ_fInvtFKS9cg-uSFWaYkcClFjVJh6Kwd01u-sqKMq7I9sk4Eox5GY1p__4NxrPGu33EgXGH-9vz8d3cHw1Tqfp-9sTSOPb-HIKp3CdTN7BV6vVg5ML-PA2TmI4XkA0r30_JDiahdnRCUySfnDGGQRZl7mKE7j4BBIZKp3TnXwii2KGHDOGldFLslabJrRuC8b5CoXPsFBV7ZpwxnCpDaFYoytcSShwKhclJSRzMp6PDHNysijbtlvWqDUK9YwML3VZPykrQDJYIMO0ko3ncd87N8YLX-0s797Q52IVqxykyuEMtPtCxmK2Yahr95vIOvlIKPiG_Tv1WD2TcZRfF6UjQ8bjffRtPl5VBrSCiAuwDSpYJ40Tc3wzn_u-3zzhzuKnzfu68xFI5X8v5HOEdsBgOyDDSe0ERHzvqMEho6baODJe0B8w4v_vbR8e0v5GF-rX-sOh9Tu5eKi-0Y-X_wCD5V6Q0SEgu1WO-hhdXMBxFPRvRQhxk07uLrqb6WW3R7Mr2Yt4dghiQrbSylIPcF9nf5MxpPyRunu0ujZLujd62X6mcyetrg3kZF2X5Z0zVl2qAfxTzAfFwbA4GBSHw-JwUDwaFo8GxWcvxNnmv58BAAD__6mPr8o= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUU21P2zAQ_r5fcbovvMyocVI2yZ8KNGhFQFlbaZtohNzmgIzUzmyHF6H-9ykJ7Ui0dKs_WPeW554nvntF-ytFgeH3q_OjwSXs9gfjyfjr-R6Mw_PwZAL7cDoaXsBPq9WNkzP49iUchbA7g94097yAYOc6iHb2YDiqB685Az-qMv1wBMc_QCJDpWO6lAuyKK6RY8QwM3pO1mpThF7LgkH8jMJjmKgsd0U4YjjXhlC8oktcSihwImcpjUjGZDoeMozJySQtYVdce6WRqEdkeKLTfKGsAMlghgzHmSy8Dvc6R8Z0goO11bkydJs8hyoGqWI4BO3uyViMlgx17v4wsk7eEQr-TsKgj8Jbsv9XMVCPZBzFp0nqyJDp8LqUVT58zgxoBT0uwBbUwTppnJji5-nU87ziCtYW3y_uT5WPQCr-dyGfIpSC_ZVghsPcCejxVul-QzrfRvpYG0em49cF9_jH1nZBo52_Tbsznai3cQk2jYuTs5vsgV6aM8Ng3kqs2yAWbENs_fTdOq0qLmC359d3TQhxNh5eHlc7V8uulm5d0kr5sEG5uw3lEdlMK0s1wm2dvEanA76MGFJ8R9XCW52bOV0ZPS9rK3dYApWBmKyrsrxyBmqVss6QXKyX7j0S34jktyPxJpK_ESloR_KbSMFGpG47UtBE6m5EOtz0nyKGt6l-ukliFOi9nYO_XKuDxQfyzhYDML7XTyXs5CUrnu9WppYYXsgH6pMjs0hUYl0yR-FMTsvlh98BAAD__z7dA0A= # More complex combination. query T @@ -260,7 +260,7 @@ vectorized: true table: json_tab@json_inv spans: 6 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUklFr2zAUhd_3Ky73pQ3TsOQwBnpK27gsI4szO7CN2gwluus8XCmT5BII-e_DzkLiQbL1xejeo-_4HNAW_a8aJSZf5tObyQyux5N8kX-aDiBPpsndAhTcZ-lH-Omt-RbUEj6_T7IErq-XMCoazocEVw-ivJLyQ57ObgeQZtDT4qM2gJvZuI8Oz4IFLpUr8AROs3GSwe1XUMjQWE0z9UQe5QMKLBmunV2R99a1q213YaI3KDnDyqyb0K5LhivrCOUWQxVqQokLtawpI6XJRRwZagqqqjvbQ-dRd6jMMzK8s3XzZLwExWCJDPO1aqdI8OhP4jcn52ju6Hu1SYwGZTQIATb8IOex3DG0TTjG8kE9EkqxY_8ffWKeyQXS91UdyJGLRD__QU82awfWwEhI8G1e8EG5IAt8VxSc8_YjioLHcRv6uEEgo_9xKy4Qum5vD9UYpk2QMBJnS8YvKZlbF8hFcb_aSLw-az98iX1Gfm2Np579OWe-KxmSfqT9E_O2cSuaO7vqfrMf047rFpp82KtiP0zMXmoDnsLiIhxfhuOL8PAvuNy9-h0AAP__F-w8EA== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkl9P2zwUxu_fT3F0bgC9RrFTTZN8VaBBywQNSyptE4mQ2xwgW2pntgNMqN99SkpHW63d8IVlnz_Pc36Wn9H9qFFi9OXq4iQew-EozibZp4sjyKKL6GwCCs7T5BK-OaNvvJrC5w9RGsHh4RSGecv5gODgWhQHUn7MkvHpESQpbOTC19wRnIxHm62DnY05TpXNca05SUdRCqdfQSFDbUoaqzk5lNcosGDYWDMj54ztQs99QVw-oeQMK920vgsXDGfGEspn9JWvCSVO1LSmlFRJNuDIsCSvqrqXXTEP-0OlH5DhmanbuXYSFIMpMswa1d0CwYOXiY_XzsGVpdvqKdIlKF2CEGD8PVmHxYKhaf3rWM6rO0Ip1jjiEUq-YP-OEusHsp7K86r2ZMkGYpNnlY-eGgtGw1BIcN384LyyXub4Ps85590m8pyHYQfxGkEgXf6lKswRetZ3K1SGSeslDMVO6HALWrwFOjPWkw3CTdSh-H-n3WDLLnyLXUquMdrRht0uJ77ldCwWBUMq72j5R51p7YyurJn1tctr0gv1gZKcX2bF8hLrVcp5S2r--4usK4m9SuFuJbGtFO5VGuybqWB4W5vHm6pEifxlHf9hWy3sGtSd6x47uzePvezkZ9M91a2qHTG8VN9pRJ7svNKV89UMpbctLRb__QoAAP__2Jd89w== # Combined with non-JSON predicates. query T @@ -281,7 +281,7 @@ vectorized: true table: json_tab@json_inv spans: 1 span · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k-9q2zAUxb_vKcSF0YSp2LKTbAgGyRqXBTInswPb6MxQ4rvi4VqeJI9CybsP21kWj1RtAvt29ed3zkEHPYD-mQOH4PNyPpmFpDedxav447xP4mAeXK2IINfR4gP5oWXxzYg1-fQ-iALSW5Px18p1fSQXNyy56JNJOCW9niAvidcnb4nbJ4toGkTk3RcigEIhUwzFHWrgN8CAggcUfEgolEpuUGup6qOH5uIsvQfuUsiKsjLttslMjsBBqhQVpkAhRSOyvNEbs1eQbBMKG6kQ-N_bobyUpTPq3E62FGRldsoJBW3ELQIfbOmBOztwPyK8EuscIxQpKsfthvnzUuNmyIpfQOFK5tVdoXnzFHEp6tFhrjNRymGX-8lZKvye3QdFCo-lZKekvM5ygwqV43Ujtvuc9Mas7otzPgtXb5radvOj_t4p_rFUBpUzONbWcXm_I-89vwR2ZgnevgTv3BKeSLkvwf9PJTzhvytheG4Jrl0-Ql3KQuOz_phbf1JMb7H91FpWaoNLJTeNTbtcNFyzkaI27enrdjEr2qM64CHMrLBnhz0r7Nth3wq7HZj9Cw-s8NDuPLTCIzs8Oil2sn3xOwAA__8Gpfeb +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lOFq2zAUhf_vKcSF0YQp2LKTbAgG6RqXBdq0swPb6ExR49vOm2N5krx2lLz7sJ1ksUlME5h_hGvp5jvHOpKeQf9KgIP35fridDIlnfEkmAWfLrok8C68sxkR5Ny_uiQ_tExvjbgjnz96vkc6d2T0LbdtF8nJDQtPuuR0OiadjiCvidMl74ndJVf-2PPJh69EAIVURjgVC9TAb4ABBQcouBBSyJSco9ZSFVPPZeMkegJuU4jTLDfVsIlNgsBBqggVRkAhQiPipOSN2BsIlyGFuVQI_F_3VPZkZg1r3eGSgszNihxS0EY8IPD-lpXJGPhwSbfcsC03O4Rm4i5BH0WEyrLr5tYrNyqLOP0NFM5kki9SzculCTJRlBazrVOlLNbbVNa1wvv4yUsj2OeaNVzbh7g-jxODCpXl1C1X45x0RqzIk3M-mc7elbGu6r1-nIYf5xA_gVQGldXfle5uObch16_JOS8PjR0ZmrMJzTk-NHaI601o7n8LzT3Ezyq0wfGhDWpydrucjzqTqcYXnWm7odRjxS2B0QNWt4qWuZrjtZLzsrd6vSpB5UCE2lSzb6uXSbqe0kahWGyO3DaJtZKcA0hOK8ndT3KaJLeVZNdIbJvUb5L6raTBfk-sSRq0kob7SW6TNDz26wbFfrhP5ONtHAEHe_X0dvysHyj-IB50sSmD7_KxxM7-ZMWWuheJRgqX4ieO0aBaxGmsTTwHblSOy-WrvwEAAP__mSldmQ== # The split disjunction rule allows us to use the index for this query. 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#eJy8lF9P2zAUxd_3Kaz7AmhGiZO0hUiTyiDTOjHKUqRtYhFyGw-ylTiznQmE-t2nNNA2_WM3bcebXed377HvOX0C-WcIPgTfLs9POhdo_6zTu-p9OT9AveA8OL1CFH0Iu5_RL8nTG0X76OvHIAzQfh-1f-S27TK0d02ivQPUDdE-Re-Q5xXrsyBE778jChhSHrMLes8k-NdAAIMDGFyIMGSCD5iUXBRHT-MPO_ED-DaGJM1yVfwcYRhwwcB_ApWoIQMfrmh_yEJGYyYsGzDETNFkOC7_orL9srjJfrNHwHDKh_l9Kn1EMe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lCTPvEofu5Rea-k5qnyNVXlIqrWnq5-YDSruQrfHk3nvaKZPuHc3RPg7pkAd50Ad_8EuEVUPyfA3z8BfpFyWwmo_NEEVIqoWlun9oEJqOUqfHsC6HslgBa547sopzyWmCqeV8rRSpVosiUMb3DZAslnYoQXgo8Wa5fDzgK0eBGiVMtZuhy049WUVALZZO2CbRLVSXSbVEuR6DapXoxEvXzU8sbfneUaUGUd5RpbZVJV01Geuet-ftsdHeUbUeUCpLKRVMknZZpeMZKq-SRfJ1X3NVW1GMloqkynzCyTqTwdVdvbVJkA1s2mcvLbTjOpeeVYMJwLmR3STATTLDeflYkgzWRwVz9kIvgKymiIbL_MMJMjMpan5sPBpKuanPPXY35_FYUQgPP8K73wt_pB8gG7kcll07vl9wtu_3GaXBXXbCzRgjN2h01UKCZRnFyDIwiUmOF8_tfvAAAA__9LYx8- # We cannot use the index for this query. query T @@ -331,7 +331,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkVGLm0AUhd_7Ky73ZQ1MWce-DRTcTVxqcWOqgbakEka9BFvjmJkRWoL_vaiExEJK--Y513Pvx5kzmlONAoMvm-gpXIOzCtNt-ilaQBpEwXILEl6S-BW-G9Xsrczh84cgCcDJwf_Wue47gocdzx4WECfgmJO2jhRiFSzD16doAe_BGyarIIHnryCRYaNKWssjGRQ75JgxbLUqyBilB-s8_hCWP1G4DKum7exgZwwLpQnFGW1la0KBW5nXlJAsST-6yLAkK6t6XHth9S8f-_YH_UKGS1V3x8YIkAxyZJi2clBvMesZqs5erxkrD4SC9-zfiV6q2pIm_cjnOJMvwPG9eWlCiI9pvH6-Kc_n8_bEVSLDuLMCfH4X1_sf3IRMqxpDM9h7m90-Y0jlgaZHMqrTBW20KsYzk4zH3GiUZOw05ZMIm2k0AN6G-V_D3h_hrH_zOwAA__8MfNdr +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkdFvmzAQxt_3V5zupURyVJy9WZpEG6jGlIQOIm1ThyIHrhkrwdQ26qqI_30CljVUa7X6AXHfHd_9-HxAc1-iwODr9eIiXIHjh8k6-byYQBIsgvkaJFzF0RJ-GlVtrNzCl49BHICzBe9747rvCc5ueHo2gSgGx9xr60gh_GAeLi8WE_gAs67jBzFcfgOJDCuV00ruyaC4QY4pw1qrjIxRupMO_UCY_0LhMiyqurGdnDLMlCYUB7SFLQkFruW2pJhkTvrcRYY5WVmUve2R1Tu-bOo7ekSGc1U2-8oIkAy2yDCpZVdNMW0ZqsY-bTNW7ggFP8ELfRRuy_6f8KooLWnS53yMN-gCHG82DlEI8SmJVpcnYXp8nKZ4KpFh1FgBHn8Rf_YMn78FPyZTq8rQCP6lTe6zTVPepgwp39Fwq0Y1OqNrrbJ-diij3qgXcjJ26PKhCKtjy1hNcv83_VMn_qrT7DWnlOFtqR42RY4C3T9n-o_H8WD3gdyZLqLkh3robdePdfeDt7I0xHAp78gnS3pfVIWxRYbC6oba9t3vAAAA___Ayg8k statement ok INSERT INTO array_tab VALUES @@ -378,7 +378,7 @@ vectorized: true table: array_tab@arr_inv spans: 1 span · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k19r2zwUxu_fT3E4N33HVGzZyQq6yta4LJAlnZOxjcUUJToUgyt5klw6gr_7sL1_zhp3GexGIJ3zO8_DY589us8FCkw-XM9fzhbw_3S2Wq_ezp_BKpknl2uQcJUu34C0Vn658XIL718naQJbmGyqMIwJzvb1GSzTaZLCq48gkaE2ihbyjhyKT8iRYYQMY8wYltbsyDljm9K-bZypBxQhw1yXle-efe4LQoGVNlaRJYUMFXmZF009qzOGO2MJxc_Wae58rnc-GPV6cdLILysvYMIxqxmayn_TyRg6L28JRVyzI14eUVoZ68kG40Od50fHj3rj-fD4tdwWlJJUZIOwr_HjE0yktTe5vkeGl6ao7rQTIBlskeGqlM0t4OF5wMNg8W4-b4-j5vgp5mb6nqwndZUXnizZIOo7_F5PHkoLRsOEC3CNIyCtxAY3m_jiojsQjlqKepaiP8-L_31eUXgeRKfn9YS53_KK_31eT_y-KbnSaEcHK_X45LBZNVK31O2lM5Xd0bU1u1amuy5brn1Q5HxX5d1lprtSY_BXmA_CL4bhaBCOh-F4EA57MD-ER4PweFh5fJJyVv_3NQAA__8gYNDu +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lN9v0zAQx9_5K6x7GQhXsZOWSX4qrJmo1K2jKQJEq8lNbiMitYPt7Iem_O8oyTaWsFR0D-TB0vkun-9XZ5_vwP7KQED49Wz2fnpKXk-m0TL6NHtDonAWHi2JJMeL-QmRxsjbcyc35MvHcBGSDRmvCsYCJAd35QGZLybhgnz4RiRQUDrBU7lFC-I7cKDgA4UA1hRyo2O0VpsqdVcXTpMbEIxCqvLCNdsudRmCgEJpk6DBBCgk6GSaVfl1uaYQa4Mg_pROUutSFTtv2KqFcSU_L5wgYw7rkoIu3L3OmoJ18hJBBE-MTScghiXt8faMcqSNQ-ONurpve-WGHblRS47vllvKTYYLlAkaj7U1H49oLI05T9UVUDjSWbFVVhBJyQYoRLmsIo-zgceZd_p5NquXXrO8Y5btY3aqrtA4TI7TzKFB4_ltxw_58CY3RCsy5oLYyiFBlYgVrFbB4WGzAOm16Hcs-i2L_r_3k7-8nz4beP5L-sn3MftXP4P_0c9gn3FYoM21stgZ2eeVWEdpwKvZxuQSm4fA6sLEeGZ0XNc24bwG1RsJWtdkeRNM1UPKOoNy-zjNT0l8J-ldP4l1Sf5OUrAHKdhJYi0Sf0ryu6ThTtKo3xPvkkYv9RRUp3iR6evzNAEB7P4bPLM8fFD9IC9tdZWiH_q6xi5v8-oiXMjMIoUT-RMn6NBsU1W99jEIZwosy1e_AwAA___h0C2n # Combined with non-Array predicates. query T @@ -399,7 +399,7 @@ vectorized: true table: array_tab@arr_inv spans: 1 span · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k29r2zwUxd8_n0JceGjCVGzJSTYEg3SNywJZ0tmBbWymKPGlGFzLk-SxEfzdh-3QxSNVk8LeGOvP75zDEXcH5nsOAsLPt4ur-ZIMZvN4HX9cDEkcLsLrNZHkJlp9IFJr-evOyg359D6MQjLYkOm3yvcDJBc7Vl8MydVyRgYDSf4nfEjeEn9IVtEsjMi7L0QChUKluJQPaEB8BQYUOFAIIKFQarVFY5RujnbtxXn6E4RPISvKynbbNrM5ggClU9SYAoUUrczyVm_KXkFSJxS2SiOIP7eX6lKV3qR3O6kpqMrulRMKxsp7BDGq6YE7O3A_IryWmxwjlClqz--HeaxqKrW-y4ofQOFa5dVDYURbRVzK5tdjvscumy-HpzKxczLdZLlFjdrj_UDdviCDKWteRwgxX67ftI-0_3_Sn5_jHyttUXujY29zXD7oyfPTK2cvrJy3lfPTK38m02PlwT-q_Bn_feXjl1buu-UjNKUqDJ40P34zgJjeYzewRlV6i7dabVubbrlquXYjRWO709fdYl50R03AQ5g5Ye6GuRMO3HDghP0ezP6GR0547HYeO-GJG56cFTup__sdAAD__70F62o= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lO9q2zAUxb_vKcSF0YQpxJKTbAgG6ZqUGdq0swPb2EJR49vOzLE8SV5Xit992E672CSmLswfhP7c_M6JjqQHML9iEDD_cnl27C1Ib-YFy-DTWZ8E87P5yZJIcupfnBOptby_svKafP449-ekd02m3zPHcZEcPbD8qE-OFzPS60nymvA-eU-cPrnwZ3OffPhKJFBIVIgLuUED4hswoMCBggsrCqlWazRG6WLpoSz0wj8gHApRkma2mraRjREEKB2ixhAohGhlFJe8KXsDq3xFYa00gvhXvVADlQ4ntepVTkFldkteUTBW3iKI0Y4VbwZiktMdN2zHzR6hpbyO0UcZoh46dXNPWzeVWl9FyW-gcKLibJMYUW5NkMqiO2TOkA2KlsMhj6zh0eni8TSKLWrUQ143WM0L0puyIj0hhLdYvitD3PYP-uENP7yLn0Bpi3o42pflfjm3ITeqyfHnR8ReGBEvI-JdImJdPD5F5P63iNwufrYRjV8e0bgm57TL-WhSlRh81n11GkoDVrwAGN5i9WIYlek1Xmq1Lmur4UUJKidCNLZafVsNvORxyViNcvN0wXZJrJXEO5B4K8k9TOJNkttKcmoktksaNUmjVtL4sCfWJI1bSZPDJLdJmrz0342L83ATq7urKAQBzvYb7GkePyh-IG9NcSiDH-quxC7v0-JI3cjYIIVz-RNnaFFvoiQyNlqDsDrDPH_1NwAA___hR1Fo # The split disjunction rule allows us to 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#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== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lV9v2jAUxd_3Kaz70lYzInb4G2kSW2EaU1s6QNqmDSFD3DYqxMw261DFd58SKASHeE3WjYcof5zfPT459_II6scMPOh8ub54271Cp-3uYDj4dHGGBp2LzvkQMfS-37tETEq2Gms2QZ8_dPoddDpBre9Lx3E5Onkk65Mz1OujU4beIBKdtjt99O4rYoAhFD6_YnOuwPsGBDBQwODCCMNCiilXSsjo0WO8sOv_As_BEISLpd7c1oGecfBASJ9L7gMGn2sWzGJei7yG0XqEYSokB2-_-kqUxKJM6OHy3lJ7qEVgtMYglnpbY4RBaXbLwasnRHXb4BG6xglhJCHsSM0hm8x4nzOfyzI5LLyzr8WkHAfhT8BwLmbLeai82KXBgkWnZeKUSSk60kyR1BSZR-NASM1l2T1m4_FyrlHOzVPuowjCrSNViyObs_Hinq8OjMFokqmrYuiq5tHVDpQOwqkuN0wjAENvk7QjSdkDJit0x9Rd6u04jFuFVUNhI1Nh0ZTvtkGcXPvYa6yZYXIORNLnJ94p-H0T2S87mTqJobOwTFqwMWncmDRPY9I8GreNWSnemJU85RKNWfvHjVnL1PV3w71-sDpLjWOoqedxaddfzf84Jpov7td-TJCXGhOHfzqO3cY-VwsRKl7og5VItCXu3_KNBUos5ZRfSzGN124uezEovuFzpTdPibu56oZPz5SWnM138yOJIlYUzUGiVpJFEzVJrpVUySbVTFLFJJEkqXpAIklSIx-J0GwUSTlVte7PsaBSVtXsSbCwqiaqbkU1sl0nJqlhJTWzSa5JahbeXiUV9D80DcmWVU-xUl3z3Fw1c6KswUoZT-w9aEuWG02bm5l4GAc-eOBsf6Ujh6cfRC-wWxWNvMGdeIi5w9UiGlg3bKY4hkt2z9tcczkPwmgYT8HTcsnX61e_AwAA__-kFF26 # We cannot use the index for this query. query T @@ -449,4 +449,4 @@ vectorized: true table: array_tab@array_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUklGLm0AUhd_7Ky73ZQ3MknF8KQMLphuXCqn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5fP28GqQG5MtezpD_Va0852ebWqZ5kaYvggX2hIlvQ2yRJjkzUKqwsqyw-_AwAA__-eYkyd diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_index_geospatial b/pkg/sql/opt/exec/execbuilder/testdata/inverted_index_geospatial index 12fc4b1d8448..d4830cef609e 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/inverted_index_geospatial +++ b/pkg/sql/opt/exec/execbuilder/testdata/inverted_index_geospatial @@ -83,7 +83,7 @@ regions: table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMVe1u2zYU_b-nuLh_kmAaTEqK53IY4MVVN29LHShBh2IyAka8cwXLpEpSm4Igj7UX2JMNkpIgrhu1XhFg_iH7fhz68B4e8Qbd-xIFnie_JrMLWMOrdHEKKzKXXl6VBL_9lKQJOH9ZaE_WUe7d4cF5On_5fTh-wSffnS3mry8OY8YYi6D7YtHRgRA_JovT5CJ9G7RrbY5gkb5MUjh5C2sMUBtFr-WGHIrfkeMywMqanJwztk3ddA1z1aBgARa6qn2bXgaYG0sobtAXviQUeNFyTEkqsiOGASrysii7ZR-2MG0JXBZaUYMBzkxZb7QTsO6ZYYDnlWwTowxPsqz5Q2VZw1mWNexTD_xmXwzPEKRWEDEw_h1ZhwH-8gZ8sSEB7J-_7-LcaE_aF0bvlKz5y4Gi3ChSAuI-eXXtyYElqQREIZz02VV6NoNclqV7aKxkYe8bJxjg6ZvZDJynCnJTaw-H1PhRof2RANYNtG8gWj_VsJENbGhj7DXIsjS59C0v1nG4kj5_Rw5M7avaC2j7O_73iRiXtwH20Z3CzssVoeC3weefgrn-k6wn9aooPVmyI759FO7rSVNZMBqmXIBrRQfnpfWiEzH69jjLWMiyjLFPPRBIq31hrfY74i_aMUxbvt0GO3l7tfrYeVmW24eAGsrr3bMxJERbc-9L8LSpQBVuDbWTK_psncIndQr30elnU-g7s4YDZu1_XVZruv64Yb_EMeGuY_j4Y44Jdx0TP7tjnk-o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fiZc3Ssc_2SkV_39I5QvaFjbaFhzStpE2jsxZuNm0Dv_-W1P1eaPK8JAqh2QLrSxtVLnrTazxplO-mnhIyYzqDwOrFyama6PjKrY2BxVQ5UjIunqX10ZfrbesMyTz58vkJRLfi-TvRuJNJH8vUrAbyW8iBXuRwt1IQRMp3It0vq9PEw9vM30_TRMUuNbo6SvL-sHygJzZcgBGd_q-gh0_FCV9tzKz5OGVnNMlOTJ5qlLr0hiFMwtarb77LwAA__83h1tE statement ok DROP TABLE geo_table @@ -172,7 +172,7 @@ regions: table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzcVe9u40QQ_85TjOZLW2GUXdsNuUVIoTkfBOilcqtDJxJVW--Qs-Ls-nbX4KrqY_ECPBlau62aK2eIKBK6fNh4_vzWv53fjPcG3fsKBZ5nP2azC9jAq3xxCmsyl15eVQQ_fZflGTh_WWpP1lHh3eHBeT5_-XU8fsEnX50t5q8vDlPGGEug-2PJ0YEQ32aL0-wifxuFvbZHsMhfZjmcvIUNRqiNotdySw7Fz8hxFWFtTUHOGRtcN13CXLUoWISlrhsf3KsIC2MJxQ360leEAi8Cx5ykIjtiGKEiL8uq2_bhCNNA4LLUilqMcGaqZqudgE3PDCM8r2VwjJZ4sly2v6jlsmVJWNjfLPjFvhi-RJBaQcLA-HdkHUb4wxvw5ZYEsD9-v7MLoz1pXxr9JGTNbw4UFUaREhD3zqtrTw4sSSWAj-Gk967zsxkUsqrcQ2ItS3ufmGKEp29mM3CeaihMoz0cUutHpfZHAlhX0D6BaPOxhK1sYUtbY69BVpUppA-8WMfhSvriHTkwja8bLyDkd_zvHTGubiPsrTuFnZdrQsFvo3_eBXP9K1lP6lVZebJkR3y3Fe7jWVtbMBqmXIALooPz0nrRiZh8ebxcsiAiC1oNLgik1b6woP0T8RehDNPAtztgJ2-vVm87L6tqtwmopaJ52htDQoSYe1-Bp20NqnQbaJxc0zPoFO-j0_em1HfDGg8Ma_90WW_o-q8H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TCk886Kv-ibXGjbdEhbRtp48icxdtN6_Cv_29Tfd6oMj6kyiHZUitLW1XuehNrvOmUr6cBUjqn-sPA6qVJ6NropIqtzUEFVDlSsq7e5bXRV5st6wzJ4vkyeYnE9yKFu5F4EyncixTtRgqbSNFepHg3UtREivcine_r0zTA21zfz7IUBW5m9PQTy-ZBf0DOrRfA6E7fV7Djh9LTdytzSwFeyQVdkiNTZCqzLktQOLOk9fqrvwIAAP__GeZbQA== # Also works when creating an index. statement ok @@ -245,4 +245,4 @@ regions: table: geo_table@geom_index spans: 31 spans · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzcVe9u40QQ_85TjOZLW2GUXdsNuUVIoTkfBOilcqtDJxJVW--Qs-Ls-nbX4KrqY_ECPBlau62aK2eIKBK6fNh4_vzWv53fjPcG3fsKBZ5nP2azC9jAq3xxCmsyl15eVQQ_fZflGTh_WWpP1lHh3eHBeT5_-XU8fsEnX50t5q8vDlPGGEug-2PJ0YEQ32aL0-wifxuFvbZHsMhfZjmcvIUNRqiNotdySw7Fz8hxFWFtTUHOGRtcN13CXLUoWISlrhsf3KsIC2MJxQ360leEAi8Cx5ykIjtiGKEiL8uq2_bhCNNA4LLUilqMcGaqZqudgE3PDCM8r2VwjJZ4sly2v6jlsmVJWNjfLPjFvhi-RJBaQcLA-HdkHUb4wxvw5ZYEsD9-v7MLoz1pXxr9JGTNbw4UFUaREhD3zqtrTw4sSSWAj-Gk967zsxkUsqrcQ2ItS3ufmGKEp29mM3CeaihMoz0cUutHpfZHAlhX0D6BaPOxhK1sYUtbY69BVpUppA-8WMfhSvriHTkwja8bLyDkd_zvHTGubiPsrTuFnZdrQsFvo3_eBXP9K1lP6lVZebJkR3y3Fe7jWVtbMBqmXIALooPz0nrRiZh8ebxcsiAiC1oNLgik1b6woP0T8RehDNPAtztgJ2-vVm87L6tqtwmopaJ52htDQoSYe1-Bp20NqnQbaJxc0zPoFO-j0_em1HfDGg8Ma_90WW_o-q8H9tOdmP9OqGQf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jbdEhbRtp48icxdtN6_Cv_29Tfd6oMj6kyiHZUitLW1XuehNrvOmUr6cBUjqn-sPA6qVJ6NropIqtzUEFVDlSsq7e5bXRV5st6wzJ4vkyeYnE9yKFu5F4EyncixTtRgqbSNFepHg3UtREivcine_r0zTA21zfz7IUBW5m9PQTy-ZBf0DOrRfA6E7fV7Djh9LTdytzSwFeyQVdkiNTZCqzLktQOLOk9fqrvwIAAP__GeZbQA== diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_geospatial b/pkg/sql/opt/exec/execbuilder/testdata/inverted_join_geospatial index ce48c7e7d386..a0d4bc86a243 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_8CmtOW2lg65Tl4JPRUqSsSrO0PSChqArxqApJ7WA7qKjqf0e2V7BtacWekhnPG7_vyXtwPzoQMP3yOHufz9nNh3y5Wn6ejdhyOpver1jXIrMtZx8XxSfW-epbR-yhyOfMxn-5IbNdN1rRjhVz5vy60Z6so9q7mzT-JoxwfBLEagQI2iiaV1tyIL4ChxKht6Ym54wNrX0cyNUOxBih0f3gQ7tEqI0lEHvwje8IBKzC2gVViuztGBAU-arp4tpkQKbPum_pFyDcm27YaiciWvQGCMu-Cq3XUB4QzOD_Xud8tSEQ_ID_bynXP8l6Ug-m0WRv-bGrs-QA_yimu96epCgzZPJu9Ny5bUOebZb8A0IxeMEkR5mhnKB8exEjewlGsP8UbPZPBHsU7MyYdujZd9NoZrRgyQnC2buIRO_OiU5h7i5iTF6CsSDXG-3oCOHS5vGhRCC1ofQInRlsTY_W1PGaVBZRFxuKnE-nPBW5TkfB4HMxvyrOrouzq-LJibg8vPodAAD__-NLQnc= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUklFv2j4Uxd__n8K6T0W6_IvDugc_ZSpMSkWhAx4mTQhlyS3zEuzMdlYqxHef7NAOQkGrHyC-vj4-v6O7BfurBAHDrw-jT8mYXQ2S2Xz2ZdRhs-FoeDtnZYHMFJx9nk7uWenS7yWxu0kyZiZ8xyvS66VUOW3YZMysW0rlyFjKnL1q2v_3LRz3F8KuAwhK5zRO12RBfAMOC4TK6Iys1caXtqEhyTcgeghSVbXz5QVCpg2B2IKTriQQMPeyU0pzMtc9QMjJpbIMso2BuPlbVgU9A8KtLuu1siKgBW-AMKtSX-rCYoega_f3OevSFYHgB_6SAYjeDv_dYqJ-k3GU32mpyFzzY5cnSQK-3hhuKtNKNY6QxTedQxJT-HyLqOEBhEntBIs5xhHGfYw_nMWKWlj8PVgeZx989CaSOQp-pHVRV-ynloppJVjjDOFkbgLhx1PCNtzNWax-Cyt6D9aUbKWVpSOkcy_1Wi91-W6BQPmKmim2ujYZPRidhd5mOwlCoZCTdc0pbzaJejmyzlC6fh22QyV-USk6r8TbStFFpf4lTwuEx1I_LWUOAnr71X3j52WBv5CurA979kM_Bdn5c-WjekxLSwj3aUEDcmTWUknrZAbCmZp2u__-BAAA___c-4Ne 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 aa6eca37f8bf..425a95fe4b44 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#eJzMlF1v2j4Uxu__n8I6V0U1_2AH-pKrbC2TqBjpoBebJlRlyVGXEezMdqZOFd99SsJWQolDxSZxBX55cn7P0XP8BPp7Ch4MP96O34wm5OR6NLubfRh3yGw4Hl7dkXRBi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walv6fki-9F_KDX6tyKIUNasQ51HVQb6PqP3HEuj4i6nxLUr-17kzgtQGG20Q1xGXU5dK9cNN9xYZdwkLnYVb550Ig8qPhBitYnJPyKIiIgc4ib2j3KUump86srOtWQZlpplLE2E1ChrnUM7LrumLr8GCmtPLx5JiJFDWK4C21DQyVXwsbCQPkr0T687256QOhRVEdcYP5iSJ6lhSGL8QBM7v7fYF3urxqu1_Dya3cXKyDS6y7647rLLuNnrrtbldlerjKVdd7H6t7YXO9yC-flZ5l_NslU9O8m8jEgjyY2LS3KjjJu9JLcvN8ntMpbeksy-N8mszFk1RhWLSOFZB0DdWKrKkjMF_SVm55ASG7nAeykW6djsdpSC0gc-Kp29ZdlNP3p7pbREb_3-X2ifxApJPJ9kmSReSLLySU2TZBWS7AMS2yd1TJJdXKcCUUeFahSimvkkZpKahaRWPsk2Sa1CUjuf1DJJ7R8tOTsqVKe45vV8VfwonJ_kvCDojSNWcdJZQdTbR6zirBeVK23qh1A8zQMfHKjvruqJj7cLkgneUiU7y-RRPKXc6Uuc7AsPXqiQwp23wi5qlOsgCpQOFuBoucHt9qf_AwAA__95kqVH 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#eJzUlcFv2jAUxu_7K6x3AtU02IGW5pSupRIVIx1w2DShKiNPbUawM9tsnSr-9ykJWwkFB9TtwAli-8f7vpfv4WfQ3xPwoPvprn_ZG5DadW80Hn3s18mo2-9ejUkyo0TNyM0w-EASE35NkNwGvQFR-Xf_AeX8PhYRPpFgQLS5j4VBpXFqdK04cpodoSs2f2B1Egyzs9HP2DzGora-R0kJ49nZ6-6QvP9MaoWWOlAQMsJBOEcN3hdgQIEDBRcmFFIlp6i1VNnWc36wFz2B16QQi3RhsuUJhalUCN4zmNgkCB6Ms5pDDCNUThMoRGjCOMl_vlDnFx_36Qx_AYUr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8flZ5Z2Gyr1K2a4lu9tE9kwqg6p9V5bsszfU52-AwjYwqwcSYyIIq2TgWQzuKhl8P1iqEBWG589d7M9QHcuWTNuMl7ZUUepYlBgvcWKXe5T9pEfbvNWurlnbpawJTcul3lW61Gui-Milvet2aa-J7INLmfOqNmXllsAv9wT_WU-4rYsdwZuQtBzRuUpHdJooPnJE_7od0W8i-8UR7HUdwZr0zinqVCYaL2pIjnVUi2U9DsM1Fn1Ry51a4WclV3lsMZzkQPlEiNoUq6wYDJOXJW0UBttv__GOkVgtEq9Gcm0kXovkViN1bSS3FskrIbFjpDsbyavPUw2pk0R1aqG61UjMRurWIvWqkTwbqVeL1K9G6tlI_R9NOTtJ1F19zp1qVvykOP-nzmsKvXOCVV_prKbU-ydY9bVel67c1F9i-biMQhDgHJ7WmY-XB7INwVpnb5bZg3zMcedf0-y98CWINVL4FGzwHg2qbZRE2kQrEEbtcL__5b8AAAD__9wl72Q= 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#eJzUlU9v2koUxffvU4zuCpQhZsaQEK-clxCJiIfzgEWrCkUuvkpczIw7M7SpIr57ZZs2mD9jUNoFq2T-_LjnXJ-reQX9NQEPuh8e-te9Aand9kbj0f_9Ohl1-92bMUlmlKgZuRsG_5HEhJ8TJPdBb0BU_r__hHL-GIsIX0gwINo8xsKg0jg1ulZcP8-uMLoC8lWdXA9us8vR99g8x6K2dkZJGeN1Egxvu0Py70dSK8TUgYKQEQ7COWrwPgEDChwouDChkCo5Ra2lyo5e84u96AW8JoVYpAuTbU8oTKVC8F7BxCZB8GCcFR1iGKFymkAhQhPGSf7zhSC_-POYzvAHULiRyWIutJc3KNcKFEZpmG01HA6TJQW5MG8FtQmfEDy2pIeL6olvqAxG9zIWqBy3rGvrEwD9TXRfUrXxOXxOid_a6n2xTQk_b3qed9c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-KvQv77s6XpA6lW0ZdxjPLamS1C1IYjyniV2fUvaDKe3wdqe6aYs5ZU1kFnLq3GZOnSaWz3Lav_Gc9pv4PuWUWT81qCx_LfDrU8F_NBV2--pM8CYiC5no3mYmuk0sn2VicOOZGDTx_ZoJ9nMzwZrcn3PUsYw0XnUpWYWt2iy559DfYnY3anlQG_yk5Cadmz3OUlD6wkdtslGWPYyj1yFtFHr7r__pnZNYLYlXk-wiideS7GpSr0iya0lOjsTOSfdFklNfpxpRpUJ1a1G9ahIrknq1pH41ySmS-rWkQTWpXyQNvrfkrFSo-_qaW9WqeKk5_6fPaxq9W2LVdzqrafVBiVXf63XlSkP9OZRP68AHAdbp077w4_UDyQJvq5NvlsWjfEq5yy9x8r3w2Qs1Uvjo7XCIBtU-iAJtgg0Iow54PP7yXwAAAP__aTbwwg== 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#eJzslcFv4jgUxu_7V1jvUpAMxAlQ6lOqFlapaNIFDrtaIcSQN50MaZyxnU6riv99lARNSQohnenc6KXYfp_fl9_TJ7-A-hYCh-G_d-NLxyWNa2c6m_4zbpLpcDy8mpFwTYlck9HEuyWhXn4Kkdx4jktk9tu-R_GwCCIfn4jnkobSiyDSKBWutGrk9e20htGtIls1yaV7TZRerMQjykKhWSzMK9N7_c9JGD5_D_SXIGrslFBSbMMMo0m8CSlaObvzHHfWYG2DsLbRPCt1AQqR8NFdPqAC_j8woGACBQvmFGIpVqiUkOnRS1bo-E_ADQpBFCc63Z5TWAmJwF9ABzpE4DBL75_g0kfZMYCCj3oZhNn1uWM7_7eI1_gMFK5EmDxEimfItx-TEQEK03iZnrQ6Jsw3FESiX_sqvbxH4GxD63tzokeUGv0bEUQoO1bR3pvZAv2pGD7Fsjxn26TE7pWHalvZ7oEJ5ppsXG2Dcz4ae5ezwb7JGcxgxpu_kWGNyuszzvnfQ-92OJv8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qmw9i2A_ZwWMLD7A6d1E2BdsjWawPCjCbRrAsMuIu81gfOPJtClCZzXZLbbO8_-Sc5z-q19Z3fJ1fDd6MN37Xw36iLynu_GH77r4rtxl2-cOapMpApbvVstY6c-K97WGD1g9WpXIpdrvJViXcZWw6AElTciVLqaZdXAT9-mlJYYbr99B--T2FGS3UxyTJJ9lOTUSGyf5Jok5_jprA7HGx5FjZpJzCSNjpLcZtLQJLk_KtS5STo_Sho352SbpPFR0kUzaWSSLn70dOPicb9PxOMqjoDDm6H7B_68XVAsCB9U4bnFF_FYYpfPWeGY-zBRSOEm3OAVapTbOI2VjtfAtcxxt_vl3wAAAP__PAr5dA== # 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#eJzclV9v2jwUxu_fT2Gdq_aVWUgC_ZOrTF2qpaLQAdIqTajK4rMqI7Uz25laVXz3yQlbCQInFVftFbJ9Hp_nd3jkPIP6lUMA0e3N6GM8Jkef4tl89mV0TGbRKLqYk3xJLqeTa5Lr5HuO5OvnaBqR6NZUkaN1zf91idwsUfou4xqlwlSro1r94R7Fg0fXhdXq-BgocMFwnDygguAbuEDBAwo-LCgUUqSolJDm6LkqjNkjBH0KGS9KbbYXFFIhEYJn0JnOEQKYm_unmDCUTh8oMNRJllfX107C-ueuWOITULgQefnAVUDyJSWVSaAwKxKz1XM8WKwoiFK_NFQ6uUcI3BXtbirmv1FqZFci4ygdv-mrnklomt9lnOEj0H-K6LGQWwMNPUrCgRnej0wqTX6KjJOMkyLJJLKeWW5yyTUXUJiUOiChS0OPhj4Nh3vhvNfAGaj1wE-aYPOnAgMyii7nZBZdx-RqEo-B_uWVjf9hJMSyLGoYwQMSmiFNxrvYh4ZdYSo4a4Nvgu_l9ffyvmCWXEiGElmDcbHaMZGx6InCOd8q3N160Gjtdg-3e2C4Ha_n-B3j3WJrK96DtxXvFriNeJ--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J7_LsXprkeDeholEClfhEs9RoVjFLJYqnoOrRIbr9X9_AwAA__9PaiVA # 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#eJzclVFr2zAUhd_3K8R9akGZYztJWz95dC64ZHGXeDAYoXjWXfHiSp4kj5aS_z5klTXJWsVd3_IUJN2je77rg_IA6lcNESRfr6Yf0hk5-pgu8sXn6TFZJNPkPCf1ihK5Ihfz7BOpdfG9RjJNLnJymaUzIu1GNiNKX1dco1RYanVkC9_foLj16WNVtzoGClwwnBW3qCD6Bj5QCIBCCEsKjRQlKiWkOXroClN2B9GQQsWbVpvtJYVSSIToAXSla4QIcnP9HAuG0hsCBYa6qOruemsktj_XzQrvgcK5qNtbrqKOrfMIFBZNYbYGXgDLNQXR6qeGShc3CJG_pv1Npfw3So3sUlQcpRdu-8rvG4zsILMveTLvxgkU7KhiY-q64gzvgP69Kblr5M6c44CSeGSG-qOSSpOfouKk4qQpKolsYJabvPKRFyhkrY5I7NM4oHFI4_GL0MFroA3s44eYvApYbn2gqRCrtrE0gkckNtP7J2Qd_MTAKywFZ_9D_zJ3-CL3E27LhWQokW2xLtfPTGYmBqLxznYKn2892mrt9w-__8bwe8HAC3vGf4-tnfiPDiP-e6A34n9yUPEP-mcweGsGw0HPBO4xtZPA8WEkcA_0RgJPDyqBe_545qgawRX2el-H5oFGdoP2NVeilSVeSVF2bewy63TdBkOl7alvFym3R8bgpth3igO3OHCKwy2xvysO3baH7tYjp3rsFo-d4olbPHkL9IlTfOrufOoUn7nFZ6-yvVy_-xMAAP__hni5JQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzcll9v2jAUxd_3Kaz71EpmkIS_ecrUUomKQgdMmjQhlJFb5hHszHbWVhXffXJCW_CaiLRv5KGV_-iXc07utXkC9ScGH_rfb4dfBiNydjmYzqZfh-dk2h_2L2YkXlMi1-RqMr4hsQ5_xkiG_asZuR4PRkTmE-MRUXrBuEapcKnVWb7x8wrFxqG7XdnoHChwEeEo3KAC_wc4QMEFCh7MKSRSLFEpIc3SU7ZxED2A36DAeJJqMz2nsBQSwX8CzXSM4MPM4CcYRijrDaAQoQ5ZnOFzIUH-b5Gs8REoXIg43XDlZ94yjUBhmoRmqlZ3Yb6lIFL9-kKlwxWC7-wpHFyC39jS40UO-F-UGqNrwTjKuneoc_aYoJ8HO_4260-yeIFCHl1gRC4Yj_AB6Aup_5BIK_fApSRompDvmFSa_BaME8ZJEjKJUc0M9_3LnX-gME61TwKHBi4NPBq0CkNwrRC8KiEY87sP1a4UgDz4gEMh1mmSuxPcJ4FJ878izMJomzAULgWP3pNGcQ6elUO7MIdX-ykXMkKJ0YH3-faNpEaiJpJ6z9r4tpSmJaV3IMU5vnmcDzZP3a3VvaPbx6ki02qf5qm0T7NKCHvt0zmx9ukc5OAeX7PuR2vWqx1dsW4VkVbFtk6lYltVQtir2O6JVWy3ysU3QZUIrvCo87xhvanmmBsCoxXm14kSqVzirRTLbG8-HGegbCJCpfNVJx8M-POS0hLDzcuPl32SU0pyi0meTXJLSd4BydkntW2SV-6uUcFesxTVKiY5NqlVSmoXk5o2qf3eoDo2qVNK6hZrcm1St5TUKya1bFLvve66ptzvYnG_YBH40Ng9tTf-PD_mAIzDlTI9N_0l7jOsOWIU-HdhrJDCTbjGS9QoN4wzpdkSfC1T3G4__QsAAP__9UE6_g== 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#eJzklVFv2joUx9_vp7DOE1VNwQ5Q6qf0tlSi4pJeYNKmCVUZOWszgp3ZZmtV8d2nJGwFCg5dtyeeItvnn3P8O-cvP4H5moCAzvub3nm3TyqX3eFo-H_viAw7vc7FiCRTSvSUXA2C_0hiw08Jkl7nakSug26f6HzDv0M1u41lhA8k6BNjb2NpURucWFMpQk6yELr8Qb5gRyQYZLHR99jex7KyekbJmoxnsZedAfn3A6kUBR0BBaki7IczNCA-AgMKHCh4MKaQajVBY5TOjp7ywG70AKJOIZbp3GbbYwoTpRHEE9jYJggCRlnOAYYR6lodKERowzjJf19U5xef23SKj0DhQiXzmTQih5QXDhSGaZhtVWscxgsKam6fExob3iEItqD7F9WV31BbjK5VLFHXvPW6Ro8piqIjwbtRZ5D3BSi86AzQX3_qPKR6o0s-p8RvbLak2KWEn9SFEFe94HzUzsB_jrWx5IuKJYklScNYY1TNlqtM9JIJUAjmVhCfUZ9T36N-cycY_howGZBls1qvgqLXmthTajpPi9soKYifEX4xxn6LEp9vBdR6CcjgRMnodwjtZuO9hs1QaYu6drbOxWfH1OfHQGEW2sk9SVAKwnZmbOzM-JxI6Qg1RtvzjBdbSuurqkprjK9JdpXQXCuB7W9f9kb71ni15u1p4JKyNgzcOBwDl4BZMfDpwRm4hM3SwKz-Bx3M97cPf6t9vOqe5ikpasM8zcMxTwmYFfO0D848JWx-mof9pedvS8oBmlRJg3u9avXsXcToDou31Ki5nuCNVpM8TbEMcl2-EaGxxSkrFl1ZHGUFroqZU8zdYu4Ue26x5xQ31sRsU9xw37kkddOpbrnFLaf41C0-dYrbbnH7LcTO3MTqJWNSMmRlU-YeM1YyZ8w9aJs3Hy_--REAAP__saW3hw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzklltv2zYUx9_3KYjzlKB0bVK-hU_qGgdw4dqd7QEbhiDQpJOEs0xqJL2kCPzdB0lOa0mRarV9ix4S8KIf__6fC_UE9t8YBEz--DR7N52Ts8vpar36bXZOVpPZ5P2axBtKzIZcLRcfSeyCv2Mks8nVmnxYTOfEZBP-HertjVQRPpLFnFh3I5VDYzF09izf8jbdQg-AbMDOyWKZ7o0epLuX6ux4jZLCazzdezlZkl__JGe5oHOgoHSE82CLFsRfwIACBwoeXFNIjA7RWm3Spads4zR6BNGjIFWyc-n0NYVQGwTxBE66GEHAOj1ziUGEptsDChG6QMYZPlfn5_9ukg1-BgrvdbzbKisykzLhQGGVBOlUp8vhek9B79zXA60L7hAEO1I4vQTR29PTRU7Vf2gcRh-0VGi6XlHn-nOCIo_Q4vf1ZJnFCShUIgX0C2nymJhS1HxOid8vhyifpYS_7QkhrmaLd-txGohbaawj_2ipiFQkCaTBqJMOjz0yB4-AwmLnBPEZ9Tn1PeoPao3iJaO8NkalBh2COWxlkikEeab1Zpfkv04rQfzU8Uqa-0NKfP6iYcOqYRZDraLvcazeK6_k1bCNVyttHJruRdEnn72hPn8DFLaBC-9JjEoQVqugX1JwUavg68HaRGgwevnc6_0LUue6o5Mu44VX6iQNSpIYL2hip_cD9oP9oMs7Xe_kjsDayCx1hP5r6gj9NkYddYTRK-wIozZeHToC6_3UlsCKVx0_vf74j9af1zm5-ngbkaXqG7ym6hu0Meqo-savsPrGbbx6rj72c6uPtfkmWKJNtLJ40kXbKx3VYendjdEd5ve91TsT4iejw2xvPlxkoGwiQuvyVZYPpup5yTqDwfbLd_IxiTWSeD3JK5N4I8mrJw3LJK-R1C-Q2DHpokzqN_vUIKpi1KARNawnsTJp2Ega1ZP6ZdKokTSuJ43KpPH3Ws4qRl00e96rV8UryfmNPG9I9EGF1ZzprCHVxxVWc6432ZUV9W2sH25kBAJ6h6fzwp_nJ72O4uDOpp1lda8fMm7a8C2I2yC2SOFjsMFLdGi2UknrZAjCmR3u97_8HwAA___6GlYQ 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#eJzklV9v4jgUxd_3U1j3iaqmYId_zVO6LZWoWNIFVtrVClVZcrfNEuysbWZaVXz3kRNmCmlx6EzniScU24d7_Lv3yM-g_0_Bh_6ft8OLwYjUrgaT6eT34QmZ9If9yylJF5SoBbkeh7-R1ET_pEiG_espuQkHI6LyheAe5fIuETE-knBEtLlLhEGlcW50rdCc2SOMbgT51wkJx_Zs_DkxD4mobW1RsqXil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3nGMWo2x2gEKONkjSXLwyFxd9NtsavQOGjSrcbaUQOaf-GuWWgsMgiN9Jqc7jeUVBb-31fY6M7BMFKRseXIDo7errXsfwPtcX4k0ok6nZwaHf5NUNRBGr2-3I0z8MFFI4CBvSb0ugx017wQk5J2PMjFQaulxL-viOEuJrMPiyHLh63iTaW_KMSSRJJsijRGLdcs4xK71EBhdnWChIyGnIaBjTs0rBfyYp7rIImrByjfVj7jTjpg3BPlFpvs-IFlRQk7LqX8A98zmxwxGxAiePmMzO4UjL-GWjVrAKPVb8Jq4XSFnX74pBTyN7RkL8DCpvIru5JilIQVumg6zm4qHTwfWOlY9QYv7zv9e4Fq1PVUlmb8YMlVZZ6niXGDzyx0ysDe53K0OatdnBybWBN3Hq1ofvGakO3CatSbRi8wdowaMJqXxtY51WLAzu89_jpmchfKROD1sl5yJt49fKw98bysNeEVSkPh28wD4dNWD3nIXvdPGRNvhPmaDIlDZ50-Xa8rVrM3ecY32HxDWDUVq_wi1arfG7RnOVCeUeMxhajrGiM5fOQsRqjzbfP57ISq1Xi1UqBr8RrlYJqpb6vFNQqdQ-UWFnpwlfq1nOqMXUEqlcr1a9WYr5Sv1ZpUK3U9ZUGtUrDaqWBrzT8WeTsCNRFPfNOtSt-dDh_cM5rDnrvSKv-pLOaoz480qo_63W48qS-TdXDTRKDgM7-ab3w8_y4GymN7oyrLIt79ZDruoJvQNxGqUEKn6M1XqJFvUlkYmyyAmH1Fne7X_4PAAD__6KJXn4= query T EXPLAIN (DISTSQL) @@ -310,7 +310,7 @@ vectorized: true └── • scan buffer label: buffer 1 (q) · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk89um0AQxu99itGc7GhbG0ikihNuShoiCinGSqPWsghMLArZxbtLlSjyu1cLThpbslufVvPnm_l-Y_OMalWji_7363ASRDD4HEzT6bdwCDdBegkrmExhMPVD_zyFE7hI4q9Q6-yuJri59BMf6gp-tuOxQ2APYdOXi5brwcmQvSpfMv2A1eZ9qdYVA1ltahD6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ZG_GZ4HPgvdHIXgjCO45EOzwKeUlqUvvLADDtWxrekaGMynrrh2mk4JD4NsJxk-sh_HewtBUSFH-H41DEkcB-CMA3jkArtdrRevcSHXpHwII7Iu4jr8s4yRbxvez2SRwbe83yX2cLdPkYT6xZkqiJMXBDmezOI_i7KejzV6NmvXPaTYl3Uqh6aDRY5WcUaULd7tgSOWahlXVslMF3SlZ9LmDmfRCvaMkbYaoOxiR2Ie0UZRvXjfurZJ7Usk7ruSOlbyTSv5xJW-s5J9Uujo13YLhqpHfllWJHJ3dufiPn_2xm97ka20_2_xP-a2Xtbukka_yRhPDz3lNt2RIbSpRaVMVyI3qaLv94Z8AAAD__9Ub-Rc= # 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#eJzclV9vmzwUxu_fT2Gdq_aVswRI-ocrqo5qVBl0CdMqTVHF4rOKhdrMNlOrKt99MkRrghpD1btcRbbP4_P8Do-cZ1C_C_AhvL2ZXkQxOfoYzdP5l-kxmYfT8DIlxYpczZLPpNDZjwLJt0_hLCRxkpLw1lSSo03d_02Z3C5T-i7nGqXCpVZHzQ0f7lE8uHRTWK-Oj4ECFwzj7AEV-N_BAQouUPBgQaGUYolKCWmOnuvCiD2CP6KQ87LSZntBYSkkgv8MOtcFgg-puX-GGUM5HAEFhjrLi_r6xknQ_NyVK3wCCpeiqB648kmxoqQ2CRTmZWa2BkMXFmsKotIvDZXO7hF8Z037m4r4H5Qa2bXIOcqht-srfSrRJ9PwKiXJ1zSckeskioFCM6vAmLrLOcNHoP9uCh9L2Rp04FISjM1Qf-ZSafJL5JzknJRZLpENzHKbV254gUJSaZ8EDg1cGng0mOyFdt8CbWA3H-JkL_BFnEYtXrnzfaZCrKqygRHcJ4EZXhK_xj4x7AqXgrMu-F3wvbzeXt4XzIoLyVAi22FcrF-ZSCwGohyetwpfbz3eae30D73zztAP3cHQ6x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dRdV7f7Q8ofp0kMLjTWV23Hn9dLb3xpNJd65sbf-WOB1VuLBPchSiVSuI0WeIUKxTJhiVTJDFwlclyt_vodAAD__0nhOg0= 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#eJzkVU1P20AQvfdXjOaUtJsmthMIPpmCUY1SmzquStVGyI2nyI3xurs2AqH898ofJXHUbII4IU7Rzs7bee_NTPyA8k-CJtqXF5Njx4XOqTMNpp8nXZjaE_skgGQBZ773CZI8_JkQfP1o-za4XgD2ZZkJnSbvbZ0m1tM6Mr-a81sSslPD318Tv9FYk1WdunDsnkInWcCPYjAwCEbdJiQeQ5re7YLnn9o-fPgGyQIZpjwiN7whieZ31JChjgwNnDHMBJ-TlFyUVw9VohPdoTlgGKdZkZfhGcM5F4TmA-ZxnhCaGJSMfAojEv0BMowoD-Oker7mbtU_V9mC7pHhCU-Km1SakCwYVLKQ4TQLy1Cvr-NsyZAX-aqgzMNrQlNbsv1JOektiZyicx6nJPpGm1dwn5EJE_ssAO9LYPtw7jkuMqzdtUpSV3Ea0R2yx5fsu0zAqi2WzsAadpGh50LH0h6bYJqm4wbjphWWsWrFvxtk-CsWMoffPE4hTiELY0FRrzyu-yMaf8oaRW6CpTFLZ5bBrNFWk_SnmFSa0zTuYKtBx27gbPgjWv2ccL4osloMT02wjNqUDa9GpW5Jc55Gu4RXorcpNLYqXAnjIiJBUVuTpb3D2fI_Nri8x7P-UTu7cXwrjWGLhrb_imjPXJG-3usbey7JDlobSzJ8nUuyw6S1JTl8oUui7z-d-nOn0-jtOZs7SG3M5uh1zuYOk9Zmc_xCZ3PHJ8onmfFUUkvdtpcH5b87RddUfw0kL8ScLgSfV2Xqo1fhqkBEMq9vtfrgpPVVSXAdrCnBuhqsK8FGC6xtgg017YG69FCJHqnBIyX4QA0-eI7oQyV4rK48VoKP1OCjJ9GeLd_8DQAA__9ETdg4 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzklltv4kYUx9_7KUbnCdqh-IK5zJPTxat6xZotuOpWLUIuPqEuxuPOjHezivjulS8BbK0pbJ6i-CHRzJz85vz_5xw7jyD_jYGB8_HD7M71SGfqLv3lL7MuWToz541P4h15u5i_J7EK_oqR_Pazs3CIN_eJ8zGPJJ0q7vsyTJyHdaRab_gnFLJT_vmPW-R7nVZRxapL7rwp6cQ78memaSYSq1ttieOWbnS7ZL6YOgvy0-8k3gGFhIfoBXuUwP4AHSgYQMGEFYVU8A1KyUV-9FgEuuEDMI1ClKSZyrdXFDZcILBHUJGKERj4eUYLDEIUfQ0ohKiCKC7wZe52-Wud7vALUHjD42yfSEbiHSWFLKCwTIN8q9c3YHWgwDN1ulCqYIvA9LMM3Skw7UCvT9JNPqFQGL7jUYKib9bz9L-kyMjMeeuT-a--syDv5q4HFEq37TzJdZSE-AD0SHIeUkFOZbINSuxBFyjMPdKx9WNRGGOu54-r0tjmqTRPJ0DhPhJSkX94lJAoIWkQCQx7-fLcL1H5ld-RKUZsndoGtU1qW62mGQ3TzFtMy82qCjtsNezO892GX6JW7xnnuywtxfGEEdssTWp4Z-U-SNzwJPw_IwoT2hSbDcXDVsUnoVyEKDCsa7T1H2B1-IotHu_xtD-pR1cVaU1r0EhrUktLv37E9GeOWN_o9c2rh0y_Jc3GkA1e65ANbjHtbMhGL3bIRjXFxvXdbDy3m83e1b1s3JJko5et19rL1i2mnfXy-MX28viWT-QCZcoTiTW1bTdpjZt6ev55wXCL5edI8kxs8IPgmyK2XM4LULERolTlqV4u3OTpSCqBwf74b9E5Sb9IMtpJZpNkXCSZNZJ-Tho2SeZlddoN8gYXUVY7SW-SrIukYTtp0CQNv9WoUZM0ukgat-dkNEnji6RJO8lqkibfqm6ct_t9zD-voxAYaNXT-8qPpyd_1cXBVuYzt_ybfy6w-ctEArsPYokU3gc7nKJCsY-SSKpoA0yJDA-H7_4LAAD__xWtWhE= # 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#eJzMlM9v2jAUx-_7K6x3aiWzEAdayClTx6RULOmAw6QJoQw_oYxgZ7ZTMSH6t09J0AoMDIgLJ_CPj9_HzldvBfp3Bj70vr_0P4URufscDkfDb_17Muz1e08jks0pUXPyZRB_JZlJfmZInuMwIqr6H8xQLiap4LgkcbTZ8LGcdMnbZk81BApCcoySBWrwf4ALFBhQ8GBMIVdyilpLVS6tqo0hX4LfpJCKvDDl9JjCVCoEfwUmNRmCD6Py9AEmHJXTBAocTZJm1fG1SFD_TPI5_gEKTzIrFkL71Z0qR6AwzJNyquEwGK8pyMK8F9QmmSH47pqeLxWKV1QG-bNMBSrH2_X679WA_iN6y1wRbSZT-YpK3wWMkqB1v-2tNt5AIS6MTwKXBowG3lFzdol5abx5zYeD1mrnNftSzouc_JKpIFL4JCivGkckYOSNBO1T3q2j0t5R6XfXQkjFUSHfER2vD1wrkg2ZO929jYdLt3ZKu-fHz70yfg5rOMc_o3uJ1l4AWzcUwBPmWwF8vJ0AsvNTwK5Ngdc4MwMnpPYy0L6hDJww38pA53YycKJzDlDnUmg8q8c0yyaFfIZ1R9OyUFN8UXJalamHccVVExy1qVfdehCKeqkU3IZdK8zsMLPC3g7s7sOeXbtpL92y0m073LbCD3b44ZpLP1rhjr1yxwp37XD3Iu3x-sPfAAAA__9Alzww +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlU1v2jAYx-_7FNZzaiUziBPecsrUMikVha5wmDQhlJGnLCPEme30RYh-9smBtuCRjLQXcmiJ4_zy_5l_zArknxhc6H2_6X_xB-Ts0h-NR9_652TU6_cuxiReUCIW5Ovt8JrEKvgZI7ka-gMi8s_eHPlyGiUhPpLhYDvhsx60yPN2Tn4KFBIe4iBYogT3B1hAgQEFGyYUUsFnKCUX-tIqn-iHj-A2KERJmik9PKEw4wLBXYGKVIzgwljTbzEIUdQbQCFEFURxjt8E8Tb_pukCn4DCBY-zZSLd3CnPCBRGaaCHanUGkzUFnqm3B0oVzBFcayehfwluY02PD-kn9ygUhlc8SlDU7f2c_6wi0Nc7eo-pIFJNZ_wehTzzGCWec77rIbYeQGGYKZd4FvUY9exCE2aY2FVMtMF2tVsHLcTeavc5X2Qp-c2jhPDEJZ5WHw6Ix8gz8Zr_83AKJWxDolUo8ZY9S7gIUWC4F3yyPqA54DWe1rvGxMNRHCNKdy-KdXx9rQ_Wt85q9eKv3SywVSWmUWDnpArsVDHZKXD7lArc3pNgx7eGfbQ1du3ozrAqIY3ONE-qM80qJjud6ZxSZzpVdu5blClPJB61pzWMJ9UsvUtiOMfNlip5JmZ4I_gsn7s5HeagfCBEqTZXrc2Jn7xckkpgsHz9Cd0lWaUkVkyyTRIrJdl7JGuX1DJJdrldo4KeU4pqFpMsk9QsJbWKSY5Jar13odomqV1K6hRnYiapU0rqFpOaJqn7XruOrvtdzB-mUQguNLZH7cCflwP0DcFc6ndu9Is_5NjxU6rfmLsglkjhOljgJSoUyyiJpIpm4CqR4Xr96W8AAAD__9wsvfo= 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#eJzMlEFv2jAUx-_7FNY7tZJZiAMt5JSpY1IqRjrgMGlCKCVPKCPYme1UVIh-9skJXYGBAXHhBH72z-9n5y8vQf3JwIfOz6ful7BHbr6Gg-HgR_eWDDrdzsOQZDNK5Ix860ffSabj5wzJYxT2iCz_B1MU83HKE1yQ6L342RTJ23p5OXKBAhcJ9uI5KvB_gSkwoODBiEIuxQSVEtJMLcuFYbIAv04h5XmhTXlEYSIkgr8EneoMwYeh2b6PcYLSqQOFBHWcZuX2Veug-hnnM3wFCg8iK-Zc-eWZ3q0GeWxKNYfBaEVBFPqjodLxFMF3V_R0qZC_oNSYPIqUo3S8ba__bg3oP6KzyCVRejwRLygxeX69CRglQeN2U12u1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tYpJjklofbVTbJLVLSZ1iTcwkdUpJ3WJS0yR1P-quo-N-H_PHaRSCC43NVTvwsb1A3xDMpX7mRj_5Y44dP6f6ibkPYokUroMFXqJCsYySSKpoBq4SGa5W__0JAAD__2AFwY0= 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#eJzMlMGO2jAQhu99CmtOu5JpEgfYJadUWyplRckWOFRqEUrJCKUEO7Wdigrx7lUStksomCAuXICM83m-Mb-8AfUrBQ_6X18GH4IhufsYjCfjL4N7Mu4P-k8Tki4pkUvyaRR-JqmOfqRInsNgSGT521-gWM0SHuOahK_F90WRfM9tm3Wrzx1ZLjhAgYsYh9EKFXjfoCgwoODClEImxRyVErJY2pQvBvEaPJtCwrNcF-UphbmQCN4GdKJTBA8mxfYjjGKUlg0UYtRRkpbbV6396muWLfEPUHgSab7iyivHe7UaZ1FRalkMplsKItdvDZWOFgies6XNpQL-G6XG-FkkHKXl1r3-O0Cg_4j-OpNE6VnCNUqFc63ufEaJ377fd5c7d6AQ5tojvkN9Rn33pD27xL6w3p1o96i5rJ3oQIhlnpGfIuFEcI_4xbjhkPidehJ8dm6E9kl_96T_m3bOhYxRYlxznm6PTDgULZFZvYMXj7du11o7zdPoXJlGi7Ws0_-oc4nWQR7bN5bHM_Z7eXy4yTyy5qFg14bCbTWMxBmpg0h0biwSZ-z3IvF4k5E4c8WOUGWCK2x0A9nFFYbxAqv7TolczvFFinnZpnoMS64sxKh0tepUDwGvlgrBfdgxwswMMyPs1mDnEHbN2ra5ddtId8xwxwh3zXD3mqEfjPCjufOjEe6Z4d5F2tPtu78BAAD___myTBY= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMld9vmzoUx9_vX2Gdp1ZybsCQXzxx1eZKVGnSNXmYtEURC6cZC8HMNmurKv_7BCRt8AIL7Ut4oOUYf3w-1hfnBeTPCBwYfr4b_eeNycW1N51NP40uyXQ4Gl7NSLSmRKzJ__eTWxIp_1uE5GbijYnI_3dXyDeLMA7wiUz2xX-zIvmaGgbrFvfdzHzABAoxD3Dsb1CC8wWyAgMKFswpJIIvUUousqGX_EUveALHoBDGSaqy8pzCkgsE5wVUqCIEB2YZ_h79AEXbAAoBKj-McnyxtFv8WSRrfAYKVzxKN7F0cr19V9PEz0qtNoP5lgJP1duCUvkrBMc86NC7BsfY0tOb9OJfKBQGNzyMUbStcp9_bCjQ1xnDp0QQqRZhrFBIXCp54TJKXPvy0EXsXIDCJFUOcU3qMupalTZMs7Ga2GQWux3vHjURpR0fcb5OE_KDhzHhsUPcTH8yJm6nnBSX_U3JrvSxNJ9upc-bRhpzEaDAoOQw3x4xHvMWT9oD7cXjrdhaK4NSK-bpaTY_mOY2a7WrE6Dn2WzSppZn--zybDexOchz70zz3Cv5sNNDxD4aIqt1coRYkya1CHXOLkKdJjYHEeqfaYT6TY74e5QJjyWedOIZ2kotMztDMVhhceBKnool3gm-zN8tHic5KC8EKFUxahYPXrwfkkqgv3n9vT0kmbUkVk2ydBKrJVklknlI6uokq97OaKBn16I61SRTJ3VqSd1qkq2Tuu_dqJ5O6tWS-tU9MZ3UryUNqkkdnTR4r10_i_tDxB8XYQAOGLurdeS2vyCb4K9k9s1Nv_PHHDt7TrIv5sGPJFK49dd4jQrFJoxDqcIlOEqkuN3-8zsAAP__97bN4A== # 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#eJzUVV1P2zAUfd-vsO4TFe5SO_2APHmDTirqWtbysGmqUNZcsaypndnuxIT636ckMNJCnCA2CV7q-uP4nHN1rnMD5mcCAQw_n4_fjSbk4HQ0v5h_GrfIfDgenlyQZEWJXrHsh5MPs-lHktjwW4LkbDqaEJ3_5-IK1foylhFek-mEGHsZS4va4NKag-L82-xIdk2ByKctMp2dDmfk_RdyU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irTWIxanFqGdRq5PriKV9GGV-hn33tWy972l8P1R8Ksd4G5IdwfSJ8k8TaKGTSFXlsZT2G9iKnSY9NarVzDRopg60yBqdCapS17rE5i51Ti59TyzgHChtbL2-Jh75JWK6KRkpFN1fF8-JCOijRyV97vntB8khURVBj_GhanqxmShbjR7rY6b3HXtl7NV6tGSd3HysjM9V9jXfcfY0yvhLd1_4o3dcuY3Dffaz-5u3Hjj_f_PSc89fm3KienHJeRmQq5c13nPJmGV-JlHc-Sso7ZQweUs7ePuWszF43QRUIX-FJG0c9tVSVhXsROiuM9zAltnKJ11Iso7Hx7TgCRQ8cVDp-y-KbgX94pbREe_P0HytJYoUknk8y0iReSDLySa00ySgkNY5ILEnqpkmN4joViMoUqlmIauWTWJrUKiS180mNNKldSOrkk9ppUudvS84yheoW17yer4pnwvmHnBcEvZlhFSedFUS9k2EVZ72oXFFT33jibuE6YEJ9f1RfOB0OCCfYKxV-Waa34i7izh6C8LtwY3sKKVzZa-yhRrlxfVdpdwmmllvc7f75HQAA__8D3ryn 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#eJzcVV9v2j4Uff99Cus-tar5gR3-NU_ZWipRMdIBkzZNqMqSuy4j2JltplYV331y0q7AipOq2wsvifzn-J5zfI98D_pHBj4MPl6N3gzH5Oh8OJ1N34-OyXQwGpzNSLagRC2Y_XByMQnfkcxEXzIko8HFjFyGwzFRxQQPblAur1OR4C0Jx0Sb61QYVBpjo49K0P92iz2rRBTDYxJOzgcT8vYTOdosdgwUhExwHC1Rg_8ZGFDgQMGDOYVcyRi1lsou3Rcbh8kt-C0KqchXxk7PKcRSIfj3YFKTIfgws3UnGCWomi2gkKCJ0qw4vmQYlL_rfIF3QOFMZqul0H5hQ0EeKEzzyE41mhzmawpyZZ4KahPdIPhsTeuTGoqfqAwmlzIVqJreNq_ZXY5-6Xb4YTaYFJ4DhT9d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VOnW0jFylFpV6EyE1KjrPeOiTjshjr8hjrWDVDYuNp7JCFGNmGFLpo5F71CF--LC-mjRL947cXuA8tjURNxnfGjx4pstXK2GD_yxc7POftkzuu8VrfOTjqrYjOX9OblJb1ZBUcm6Z2LTnqnCpV90lnjy6POjtsSPz9T_LOZsmpnJ4pXMZlLVOvyEtWqgiOTqO5FJ6pbhcohUezrE8Wq9PApqlhECs9qiI3cUjVmeiz6K0x7sxJb6eG9FF5ybzqcJELJhI9Kp1dZOhhGh0tKS3Q3b_9Ts0qsVIkXK1l5JV6qZBUrtfNKVqlS80iJZZV6eaVmOacSUyegWqVS7WIllldqlyp1ipWaeaVOqVK3WKmTV-r-X-TsBFSvnHmj2BU_Kc7_qPOSQm-daJVXOisp9e6JVnmtl-FKQv0Qiqdl4IMNjf2v9sHh8DNdKHRXynxZZo_iKdE1n3cF9oMbKqRw566xjxrlJogCpQMPbC23uNv98G8AAAD__0MZI1Y= 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#eJzUVVFv2jAYfN-vsL6nsplBHKBtnrK1qZaKQgdI6zShKsPfqiypndlmalXx3ycntCWsGKo-8RTZvvN3dzklD6D_5BBAdHXZ_xQPyMFpPJ6Mv_YbZBz1o5MJyTNyNhpekNwkP3Mk375Eo4hEVxZFDpaY9xVElRAW3qC8vU4Fx7slXJvrVBhUGmdGH1Q3fbQojz6SymWjQYaj02hEPn8neQYUhOQ4SG5RQ_ADPKDAgIIPUwqFkjPUWip79FACY34HQZtCKoq5sdtTCjOpEIIHMKnJEQKY2GEjTDiqVhsocDRJmpfXV7LC6nFdZHgPFE5kPr8VOiB5RkmpGCiMi8RuNVsMpgsKcm6eB2qT3CAE3oLuLioWf1EZ5OcyFahafl3X_6kCfaJEd4VaizdklITdBlD4lSptyG-ZCpIKUiSpQt60y1VjKrMvIWOVPaAwnJuAhB4NGQ19GnZo2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H5Zdo75go1QpCwRWLBdtlJdW6lqqEMfgwXmHwnBVnyO15zNs9h8OMxA2YMAhcxnjXzgJdspITn6y6f_HbskYy_JLCdZOsncS7IKJGOX1NJJ1n539SPsNfaimuUkQyc195Ja5aSGTmq9NlFtndTeS-qUazJ1UmcvqVtOauqk7mvddVS538bsbhYGYEN9c1Vf-Nle6vCL_YVQPTf-we4yrDpVBNi3fiyQwpUfYQ8l8mWYhEKGc7AlX-F6_d-fAAAA__-IuTJn 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#eJzcVVFP2zAQft-vsO6Jbu7aJG2BPIVB0IK6hKWZxjRVKGtuKEuwM9udQKj_fXJSRttRp4gneIps33f3fZ_vnDuQv0twwb84Hx8FIdk7CSbJ5PO4Qyb-2D9OSFmQ0zj6REqV_iiRfP3oxz4Jo4T4FzqS7C3j3jZhog6zvSvk15c5y_BmCZHqMmcKhcSZkntNtvc6yqL3oHrZ6ZAoPvFj8uEbKQugwHiGYXqNEtzvYAEFGyg4MKVQCT5DKbnQR3d1YJDdgNunkLNqrvT2lMKMCwT3DlSuSgQXEl0sxjRD0esDhQxVmpd1-oaW13wuqwJvgcIxL-fXTLqkLCipGQOFSZXqrW7PhumCAp-rh4JSpVcIrrWgu5MK2B8UCrMznjMUPWedV3JboUvG_mlCoi-JH5OzKAiBwv9uA_2Xyr-pxIbtnk2JN-wAhZ-5kIr84jkjOSNVmgvMunq5KlgU-nIKu5ENFKK5colnUc-mnkO9AfVGW-XbT5GvZS-vZLRV-lGYBJvKl9_7uxpzXsyrRhdnLqlZauLhY06MtBMSZ5xlbVbUBmyT6myV-qCQiwwFZuviPOsdTBeP-BHyLq96h-vRS_e30his0bB2nwLrmVPQs7s9Z8c5aKG1MQeD1zYHLfJX5mD_pc-BvXsD2s9tQKe7Y_u1kNpov-Fra78W-Svtd_DS26_ljxOjrDiTuCZzW-a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-qo-87O51McvCeZC9dz4G7vNseqrIsC-CRKBFC6DGHsokS-iNBIymoEt-RJXq79-BQAA___EJEc0 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 58111b6f552d..74898106f444 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-_3FNa52lbTxE7on1y5azONiUGXIG3ThlAgZ1UojTMnqToh3n1KoBQQcVIxqb2L7Xw-v3P0yXNI_8zAAff7dfei0yNvrzr-wP_afUd8t-teDsh78tHrfyHTVMajLBiL31KOovieXPhkyuh6v1xz8u2T67lkyo7HRPzKTdNCMuXHY9L3rlyPfPhRHAW02AuAQixD7AV3mILzExhQ4EDBgiGFRMkJpqlUxdG8_LETPoBjUojiJM-K7SGFiVQIzhyyKJshODAIxjP0MAhRGSZQCDELoll5_bqBx49Rcot_gcKlnOV3ceqQgJIxUPCToFi1DGbCcEFB5tlTwTQLbhActqDNQ3Xie1QZhp9lFKMyrIpcq8ECXQPuQ6KIsNeTFHxP3H6eOUQwKjgVVmVg_pzARdDVEE8aDrEr5W2ekKmMYiJjh4iiy36PiHaT9DYVbVr2UNmA9ZwGfKkyVMb5dnjBjqiwjipL2JUlnm6WKkSFYdXFe7L0ZEsmBuNbSFWE9lYE1lx2dpjsBjNbBm_qe02uHd_tl_e9JvCG76ev0_eaBla-M_MQ4Xlz2_iBtnGz1VC1mlA7qrVfXrWawBuqnb1O1WoaeFSN_a-3dU8ND9NExik2ejLN4tHF8AaXD3UqczXBayUnZZnlsl9y5UaIabY8ZctFJ14eFQE3YaaFuR7mWtjSw5YWtrdgtgvb-p5rSre19IkePtHCp3r4VAuf6eGzQyZ2rp-YWaNJjWR1luk1YzWeMb1ou50PF2_-BQAA___8Fdbk +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlttv4jgUxt_3r7DO0-7WlNgJtzylW1gtKwpdQNoZzVQokNNOKMQZ2-lFFf_7KOFSCE0mGV7goapt8jvfd_QdhzdQ3xdgQ-fTbe-q2ye_t7uj8ei_3h9k1Ol1rsfkT_L3cHBD5koEE-1OnXshJn7wRK5GZM7obj9Zc_L_P51hh8zZ5ZQ4XyPDMJHM-eWUDIbtzpD89Tk-cmm85wKFQHjYd5eowP4CDChwoGDCHYVQihkqJWR89JZ8seu9gG1Q8IMw0vH2HYWZkAj2G2hfLxBsGLvTBQ7R9VBWDaDgoXb9RYLfGdj-Mwkf8RUoXItFtAyUTVxKpkBhFLrxqlJlBtytKIhIvxdU2n1AsNmewm4bbGNFi4vsBk8oNXr_Cj9AWTUzdG4aDXT3QOcllMSxdp11-AfyB5G2icOow6ljZhrgKQNmGQOx8E2T6wWb3BPiMQrJXPgBEYFNnNj1oE-cWhE3FnVqNPGUachMGaqXMTQSUqOstg7NOOyCOuZFZkkrVbKVWfK9kpAeSvSyCn2grS8qIqwyfvBIlqRaShLjB5pY8elhp01PlRmVKi8-QKyMztQAWecwQFYZA3sD1DjXAWqUMbQZIGacNkHs8B7lxePKT4wrNyqFs8rLiExltXYOWa2VMbCX1ea5ZrVZxtA2q-zErLIyb5ghqlAECgvd4kaqVIXFLwb0HnD9MlEikjO8lWKWfHe9HCSgZMNDpdenbL3oBtsjpSW6y91Pln0SyyXxbJKZJvFckplNqqdJZi7JOiCxfVIrTbLy-5Qj6qhRtVxUPZvE0qR6LqmRTbLSpEYuqZlNaqRJzV9tOTtqVCu_50a2Kn4Uzp_kPCfotSNWftJZTtSbR6z8rOe1Kxnq-4V4nvge2GBsPpUP_mw_ED_gPqj4Zhl9E88Jd_waxvfCvbtQSOHGfcQ2apRLP_CV9mdgaxnhavXbjwAAAP__OTB1bQ== # This query performs a cross join followed by a filter. # Note that the distribution shows as either full or partial depending on the @@ -122,7 +122,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k1Fv0zAQx9_5FNZJaMDcJXa6DeUpYwtaoTQjqQRoRJPTHCOls4vtSKCq3x0lHRup2tIu6lvOd__8f2ffzcD8nIAPSdgPz4ekkN8UeRtHH8h1-Pmqf9YbkBcXvWSYfOy_JPc1rxYFY6PkjRVZ8PfjZvoDf5OzhIwZfcjWMSefLsM4JGN2lJHga-m6HpIxP8pIFF-EMXnzpUoJWp2J9L64RhlEQ9LvvQ_JQV4Yq4ustIWS_vMDoCBVjgNxhwb8a2BAgQMFD1IKU61GaIzSVWpWF_byX-C7FAo5LW11nFIYKY3gz8AWdoLgw1BkE4xR5KgdFyjkaEUxqX-_ulmgcK4m5Z00PhGUZEAhmYoq6jjMhXROQZX20dBYcYvgszl9GpS3Ryi-FuqRpZRK56gxb3CklfJ_JSs6uxTm-ztVSNTOSbOxaEAC_jAoQRcoRKX1ScBowGng0aC7tg9vl8tNlLaondOmfcAOaeAdrrXoNizY9u_H2r2fw9yOw7edqx24uvvlao4W356Lt-TibmfLy9oB6niPUOuXcAVUjGaqpMHlZVz5Z7faQMxvcbHRRpV6hFdajWqbRRjVuvogR2MXWb4IerJO1bf2r5jtIObLYr5R7DXE7rLY2yh-vVncbdPzcZueT9o4n-7knM6f_QkAAP__Dt-OaA== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lN9v2jAQx9_3V1gnTd1WU2In0ClP6UqmslHoCNI2dagy5NqGhpjZjrqq4n-fEvoDPOhoquYBcb7z9z53PvsW9O8UfIjCTng4IEl2Lsnnfu-YnIY_TjoH7S5512pHg-hb5z25i_mwCJhomZ0ZMQru_5zNrvCGHERkwuiDt7Q5-X4U9kMyYXsjEvzKHcdFMuF7I9Lrt8I--fSzcAlarInhXXCJ0u0NSKf9NSQ7caKNSka5SWTmv90BCpmMsSumqME_BQYUOFBwYUhhpuQYtZaqcN2Wge34D_gOhSSb5aZYHlIYS4Xg34JJTIrgw0CMUuyjiFHVHaAQoxFJWsqvLxYoHMo0n2baJ4KSEVCIZqKwanXmwHBOQebmMaE24gLBZ0uE7Rb4zpxWg3RfEZJbkO5GyEe2PJMqRoXxCtew2Pm_kDWVHgl9-UUmGap6c7XQXpcE_GGQAg8o9HLjk4DRgNPApYG3sS7Xqqv5nOZHUhlU9f1VnIDt0sDd3ZjSs1Lur6Rk2583e9l515lTq_Pt55JV5fRel9MeTW-Fk2_PyV_IyZ3a1s3kVSEbrwhpd7LxnMvQRz2TmUb7sq_N5FiZaqy48hhf4OIJ0TJXYzxRclzGLsxeKVQuxKjNwssXRjsrXazIoFBMHx7SZSX2DCW-rOTaSvxJJXdFyVlWatpK7pNKHzcr_VOdV7VPzFZqVO2TZys1qzJxW2m_KlOjmKzzVF6fJTH44Nx9tTU_9x8UG8SFLsY7upTXpezgZlYM57lINVI4FlfYQoNqmmSJNskYfKNynM_f_A0AAP__1KP9ng== # This query performs an inverted join with an additional filter. query T @@ -151,7 +151,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: [ - /19] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUk09P20AQxe_9FKO5kMASe-0E6J4MxJWMUpvaUdWqRGgTb1FC8LprG1FF-e6Vbf4ZxUsQvXDzjuc3895Ib4XZnyUydH-cj449HzpDLxpH30ZdiNyRezqGBe3tElhYvV34EgZfYZHJ5DLnUziOYGGB5_tuCJ7_3Q3H7hDOAs9vtlAIfOh0FrQ3BeeiME1blNOmXTj2h9Cs76wukF8gg9V6vdN96LB6HKqGGVhmF4Jw6IZw8rNUxitlHAkmMhY-vxEZsl9IkaCFE4KpkjORZVKV5VXV5MV3yEyC8yQt8rI8ITiTSiBbYT7PlwIZjvl0KULBY6EMEwnGIufzZTX6wZvz8HGZXou_SPBULoubJGPACUyRYJTy8rVvUBMna4KyyJ8WZjm_EsjommwvyktuhcpFfCbniVCG1aLrt5SX8-QWySPg3qUKOk7_8cyOdX_aZ7XG6RljZ1Hgn3Q3-AqKnIFDiWMRx251Zr3FWeno_tr9La89kvK6SGEh5wnIhIFjl9J86DiDDTYH77PZJ86g1an9FqeRVLlQxkHTpWPvEYfuta7ot654mixVLJSI2wZv0OLLfZkaR02itm1XnkvzrZoGDU10-zzR9-XJoOa-YW0bqVd0vYiU_YEi9YqzZ5EafPBIveL0PlKH_ytSG1aEIktlkonGirbJZpk1EV-JOp-ZLNRMnCs5q9bUz6DiqkIssrz-S-uHl9S_SoHPYaqFLT1saWFbD9tauN-A6Uu4r4U_6zcPtPCBHj7Qwod6-FALH-nhozcdbLL-9C8AAP__aRb9ZQ== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUlU9v6jgUxffzKay7KbQG4vwBxqu0JSOloqFD0GhG0woZ4vaFQpznOP0jxHd_SoCWRATB66pZIOzYv3vOdU6yhOTnHCg4_971L10P1XquP_L_7teR7_Sd6xGakeY5RjO9eY7-Gg5u0SwR0VixCbr00UxHruc5Q-R6_zjDkdNDNwPXKy4haOChWm1GmhNk36eaZvCMNqmjS6-HivNny3tg90DRcrU6q29X6E2G8gVTpGt1NBj2nCG6-i9TxnJlDDBEIuAeW_AE6P9AAIMODxhiKaY8SYTMppf5Ijd4A6phCKM4Vdn0A4apkBzoElSo5hwojNhkzoecBVy2NMAQcMXCeY7eerO3f8bxM38HDNdini6ihCKG0QQw-DHLRo0W0eBhhUGk6rNgotgTB0p2FLo9oNoKHy_SjV64VDy4EWHEZUuv0PkoxDiMXgB_bHDeYolqtvnRdlvftHpnrnAUlNIbf-Bd1ff4HKSKIptgW8e2UelULznVT3GaOdychnnkafSFeE5jNBNhhEREkW1kUj1Us609tq2v2TaxbVU6N0rOzVOc-0IqLlvtomvbuMA2uagsaZZKtitLflYSMuCSB1WF9mjzREPErW5xx7otRt6TrDmVGq2Sxm5BIzk-n-Rr-WwRrdHSj48oOUVnKaLGt4qocYrTnYha3z6i1inONxHtfC2inVPeCkOexCJKeKFkVSWtVKlBsjDz4ImvXwCJSOWU30kxzdeuh4MclE8EPFHru2Q9cKPtrURJzhYfH65dEjlI0qtJepmkHyQZ1SSzTDIOkswCieyS2mWSeZD05wl9sg6S2tUkUia1D5I61SSjTOocJHWrSVaZ1P3djneyZ_RxLl7HYQAUtM3V2POzvSDbwJ6SLCj-D_GaY0fvcfaYP7J5wjHcsmfe44rLRRiFiQqnQJVM-Wr1x68AAAD___1CdfM= # This query performs a cross join followed by a filter. query T @@ -182,7 +182,7 @@ vectorized: true table: json_tab@json_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lF1v2j4Uxu__n-LoSH9RVpfEDn3zVfqSqnSMdARpm1pUGeJ1YTRmtiNtQnz3KaGlSwUpDHV3sX2e_J7z6OhM0fwYI8coaAdnPUjSrwouuuEHuAk-X7dPWh3YOW9Fvehjuw6PNe_mBSOj0jsrBv7Tx93ku_wFJxGMKFm8FmcGny6DbgA7OyPaGIB_m7muJ2HEGoM6nHTOoXxfm96iuEUO09msVn-qYA0BRcEQmFuHsHsedOH0C4xoQ5D8X6L_iCma6IQ9aLfeB1CLE2N1MshsolL-fw0JpiqWHfEgDfIbpEiQIUEP-wQnWg2lMUrnT9OisBX_RO4STNJJZvPrPsGh0hL5FG1ixxI59sRgLLtSxFI7LhKMpRXJuPj98piQ4JkaZw-p4SAIDJBgNBH5ac-hLvZnBFVmn4HGinuJnM7I35lib2iKbWLqIhlbqaV29suO5vccfLZ8DDjnV1HYOV3pwlvp4hmepUrHUsu4xO7nytdKlrRyKcy3K5WkUjtH5WbCDvjNRR9-Hn6YWQ4-JT4jvkf85so-mpukGSltpXaOy3jf2yU-3V1Qcx4p2Cup-yUqXX-w6HaD5VB3z2HrDvwGvry39cU28bWY-YM3nXm2fjrNLdNh7t6a0bxiahHN4T9bB0tcdKWZqNTIl2th6Z_dfBfI-F7Od4tRmR7Ka62GBWZ-DAtdcRFLY-ev3vzQSounYrL_FNNKMSuJ3ZditgGZvRR7leJmNblZKaZutXp_m8QOKsWH1eTDbRI7qhQfV5OPNyL3Z__9DgAA__-zyhha +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lF9v6jYUwN_3KawjTZRdA7ET_vkpvReuSkehI0jb1KLKELcNDTGzHXUV4rtPCS0lETCgIg9VbZ_8zu8cfLIA_U8IDLx2t_1jiILoUaKfg_4Numv_ddu97PTQRavjDb0_ukX0HvPbKmCqZfRg-Nj9-Odh_iLe0KWHpgSvT9M1RX9etQdtdHExJeUxcu9jy7IFmtLyuIguey2U3S8s7oHfA0OL5bJQ_IigZY7SgAmiVhH1B632AH3_G01JmeOExUfvadIiev0h6nZ-b6OCH2ijgnFsAhmxXwuAIZK-6PGZ0MDugAAGChhsGGGYKzkRWkuVHC3SwI7_LzALQxDNY5NsjzBMpBLAFmACEwpgMOTjUAwE94WqWIDBF4YHYYrf3ibA8EOG8SzSDHGMxoDBm_NkVaoQC0ZLDDI2nwm14U8CGNkw7LSAWUt8miQ9oyTNSdJjJH8GoRFKqEo1a7jaZ8il268JY-za6_e-77Syc1bVnVafMnEklS-U8DMuo-TN_wvZUtoV18_XMoiEqjSyxfV7yHXWdbnJj9OPDUMuwS7Fro1dZ2ddTq6uxjHd9qQyQlWaWR3X_oZd8m1tkeTHqctOi2rOopmxIIdfTPK1i1khVqlCDx8gcqqnfV7P_AzZx3iuZ6h25hmqZazo4d1zvtg9apUObp1zjOS6dfUzt65-zJgOhJ7LSIv8Z2hrJiuXqUSSj5Hwn8Tq46ZlrCbiVslJGrta9lNQuuELbVan9mrRidIjkmRQgs_W93GTRPaSaIZkbZKsPIke4UQ3SdU8yd5LcnY7NfIkZy-JWEeUVz215U6eVNtLqu92InlS_dSW1_Kkxl5Sc7cTzZOapzrVk-v-GMrXh8AHBtb7U9ry5-OB5AX-pJOZ857la4odvs2TiXnkoRYYbviLaAkj1CyIAm2CCTCjYrFc_vJfAAAA__9zAJok # This query performs a left inverted join with an additional 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#eJzklUFv6jgQx-_7KUZzKWwNxAlQ6lPakkqp2KQL2dWutqgKxK1CaZx1QtUK8d2fQkohCBz6eDduseO_Z-Y385fnmPw_RYbWP_e9K9uBStceeIM_e1UYWD3rxoPf4bbv_gGTRESPqT-CqwFMdOhZtx7Yzt9W37O6cOfaTvEEBdeBSmVC6yMwH2aaZnCY6PVRFa6cLhT3z-YP6D8gg_licVZdndDrPiwPjEHXquD2u1Yfrv-FCa37JLvLR4KRCLjjv_IE2X9IkaCOBA0cEoylGPMkETL7NV8etIN3ZBrBMIpnabY9JDgWkiObYxqmU44MPX805X3uB1w2NCQY8NQPp8vrV_WZq4_H-IV_IMEbMZ29RgkDn8AICQ5iP1vVGlTD4YKgmKXrgEnqP3NkdEEOT8qO3rhMeXAnwojLhlHMy_uIOcsb4v7lWf1lN5Cs830S4jGM3pB8XWS9xxIqZvOrBab-iX1jr9AWxtjdwHWuq0jQdcCk694wxmzH6yDBp1AmKUxEGEEYQeyHkge1bLkDkjtLGZiUmDoxDWK29pLSv0MqI_TZvfY3KW13tSfEyyzOqxERA9PIS6-Y7R3Y2uXYEj4WUfATeFrEbO_FY3wHz0DIlMvGZRGNaZwTk57vDdHcG2J9s5ABlzzYd_GOXBxRE3GD6gXJvhRahRTo4R6mx3m4QbVaQz_UxiV5bdm4ecI2LiG1YeOLU7RxCZ5PG1PtGB_rh5tIP9JEulY70EElSW05qHXCDiohteGgzik6qATPykH0V72EO2L0eRKLKOEHPXBa9kTy4Jnnz2oiZnLM76UYL8PkS3epW24EPEnzvzRf2FH-K0twU0yVYl0t1pViQy02lOJmQUy3xU11zSWhW0p1Wy1uK8UXavGFUtxRizvHELtUE9NKxqRkyMqmTD1mtGTOqHrQtisfLn77EQAA__-xMJyC +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzklltzok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StcLN5refAQAA___1zzsL # 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#eJzUk09P20wQh-_vpxjNKXm7IV47oZJPpmBUo5BQO1Kp2gj5z4Bswq67ayMQynevbFPAKDZBvbS37Hie3XlGvzyg_rlGG93zs9mBN4fBkRcsgy-zIQTuzD1cwv9w7C9OIdNSXBRhBAcBZCZ8_ez6LrjnVTMMtrc6l1JepOK2RvgjMsj4XgTOj9IwLILM3IuGcDA_gkFm7oVQl2MwjeEQFv6R68Onb1VTiAyFTGge3pBG-ztyZGjiimGuZExaS1WVH-omL7lD22CYirwsqvKKYSwVof2ARVqsCW1chtGafAoTUmMDGSZUhOm6vvpp_N8_LvJrukeGh3Jd3ghtQ8ggQoZBHlan0ZgbuNowlGXx_KAuwitCm2_Y7kN54pZUQcmJTAWpsdkx1-NakT0B7l2uwJk8rdWp0MtU6QIymQpIBeRhqigZVcctKouysMHhzDGZYzFn2uljvsen8njc8aTtsrzPyYaZe7yEwD314GThzZF1r34m5XWZNzJS2OBY1dBzcKZtZ02xFMlb0lGnntWp92wlVUKKkraQwz_garNlB3M5kvl4v939vO7OSSatSfjuaeZ_luYxN0Zjc9dAvzHXq0Bbf32g3_B5Eejpvx7oLXo-6VwKTS21rpuNKu2UXFHz79CyVDGdKRnXzzTHRc3VhYR00XzlzcETzadqwJcw74XNftjsha0WzF_DVi_8sf_lSS887YenvfB-P7z_LufV5r9fAQAA__94qI5l +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUlF9v8jYUxu_3KY7OFWymxAkwKVfpSqqlotAB0jptCBly6EJDnNlO_6jiu08JlEJEeMv7XjUXCDvHPz_PcR6_of4vRhf9-7veZdCHWjcYjUd_9Oow8nv-1Rh-huvh4BaWWiZTI2ZwOYKlDX_-7g998O_zYqgdL_UWUk6j5KlYwrdLakt-MQPvn8yyHIKlfTGrw2W_C7WlfSGgmJ6DbdXrMBh2_SH89ldeJJBhIkPqixVpdP9GjgxtnDBMlZyT1lLl029FURC-oGsxjJI0M_n0hOFcKkL3DU1kYkIXx2IW05BESKppIcOQjIjiAr2T__5nmj7SKzK8knG2SrQLgsEMGY5SkY8aTW7hZM1QZuZjQ23EA6HL9xQGXXStNfu8yCB5ImUovJFRQqppV-jcthnZboH_kirwWrs2e_nSRaS0gaWMEogSSEWkKGzkwyPWBplxwePMs5nnMK9d6c8u-bPP8Zf72p5B69Db-DUlF3r-9RhG_m0AN4Ogj6z6aHpSPmbpxpxMXPCc3EQfvPZhDzTNZRJ-qwmzSrtOyW6r0u6HS6lCUhQeGvT4LzhZH-lJXzZk2uwcVn8cR6WyVklZ50AZ_3wa-I-locmtRtP-fCD4OTpLgXC-QCCcc_ztBaL9NQPRPif_Q9KpTDQdWK3aySrt1OB5fCh8oE3ctMzUnO6UnBe1m-GgABUTIWmzecs3gyB5f6WNIrHaXc_7JH6SZFeT7DLJPklyDkh8n9Qqk5yTpF_PcNc6SWpXk3iZ1D5J6lSTnDKp8719auffwyKWz9MoRBet7dM48vP-5JdALB50_lGO_pXPBTaPmkZ3IWJNDG_FI3XJkFpFSaRNNEfXqIzW65_-DwAA__-cX_RU # 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#eJzclV9T2kAUxd_7Ke7cJ2gXySagmKdQjdM4NLEhndppGSeQqxPEbJpNHB2H795JsGKoLDg86Rv757d7z8m5ywPKPzM00T4_G_QdFxrHzjAYfhs0YWgP7KMAPsKJ732FqRTJRR6OoT-EqQ4_vti-Da4XgH1eAtB4ebt1KcRFnNxWGH_EGlO-Nwbrd6FpBsFU3xs3oe8eQ2Oq74VQTU9A15pN8Pxj24fPP8tNITJMRERueEMSzV_IkaGODA0cMUwzMSEpRVYuPVQbnegOTY1hnKRFXk6PGE5ERmg-YB7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vDCzVJOTEZNnZoGNbu1hugVQ4x7DMmNOBxar9aMkePZ__GiepYTIZ6yZC9OxJyYxsGJbtkchSsRB_9nwrJWrlGR26uVe1IpZIASg7JAk_0E890FTxzREkl7WJ59Oo7ayDqVyIalyNjt5cO-rnzaTGu19dsriN0TZ6WCOt9jBXXuMeSsgvrfZgX1S3L12_NU_8o81bXWzUmq3xNkJUm732OSdu8x5CxJB99mkg7uudWmqBIRKyxJrdtJq-zUYvmlgMEj7i8RJTK5wndSrIq5-6ZbgIqOAFW6H2X7hh2_DKlUor89fqWck9hVkl5PMqok_SrJKJHYOalXJRnX1Wl3yOtcRXXrSaxK6l4l9epJnSqp96VG9auk_lXSoD4mvUoaXCUN60ndKmn4peoGebqvI_FxEQbAQTs8rQs_L0_-jov8R5XX3Oxv8bHA5m8SBXztRwopvPWfcIwpym0YhyoNV8BTmeFu98O_AQAA__85cTCR 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#eJzMk99v2jAQx9_3V1j3tK2mwUn4sTy5azONiUGXIG3ThpAhtyorjTPHqVoh_vcpCYJSERO0PfQNn_n4Pnf6ZgXZnyV44H-7Hl4MRuT11SCchF-Gb0joD_3LCXlLPgTjz0QoJR5nWsz5LylncXJPLkIiGN1dlAWbfP3oBz4R7HxO-M-83XaQCPt8TsbBlR-Q99-LK0GLmgAKiYxwJO4wA-8HMKDgwJRCquQCs0yqorwq_zSIHsBrU4iTNNdFeUphIRWCtwId6yWCBxMxX2KAIkJltYFChFrEy_Lpnf721yy9xUegcCmX-V2SeURQMgcKYSqKU8tyYLqmIHO965hpcYPgsTVtbjVI7lFpjD7JOEFl2XVim70C3RL-Q6oId7d75PYB3XGuPcIZ5Tbl9cb2KcaF6WaNbuM1DqW8zVPyW8YJkYlHuFPIjQjvNPF3Ke_QcoraEZxTRgil0qis7r4-Z2eUO2e1LdzaFruXpYpQYVT38AGXkWzJ1OrvEXUGnT0D1jzv7F_zbjmthnk_YvUs784LyPsR4yd577zUvB8ZYZP33v_K-4EWAWapTDJslON28SFgdIPVx5PJXC3wWslF2aY6jkuuLESY6eqWVYdBUl0Vgk9hZoRtM2wbYccMO0bY3YPZc9g1wu_MnTtGuGuGu0a4Z4Z7RrhvhvsnLWy6fvU3AAD__98CwPI= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlVtv2koUhd_Prxjtp3NOhuDxBaifnAZXpSKQYqS2aiM04J3UjfG4M-NcFPHfKxvCxYot3LzED4jZ4_n2Wluz5CdQv2Nwwf96OTwbjMi__UEwDT4P_yOBP_TPp-R_8mEyviBcSv4403zuXQsxi5I7chYQzuhuoyiY5MtHf-ITzk7nxPuRGYaFhJunczKe9P0Jef8t3-I0r3GgkIgQR3yJCtzvwICCBVcUUikWqJSQefmpeGkQPoBrUIiSNNN5-YrCQkgE9wl0pGMEF6Z8HuMEeYiybQCFEDWP4gK9k7_9N0tv8REonIs4WybKJZySOVAIUp6vWm0LrlYURKZ3HZXmNwgu25M46INrrOjxKgfJHUqN4ScRJSjbZpXQzZyBbk_4D6kknr2dq2e-IH-caZd4jHom9aodmCUHZhMHufLNmO2jxzwU4jZLyS8RJUQkLvGsXOyIeM4xfmzqObRwVWnJKlmym1gKhNQo251DOx47oZ51UtnSLrXsVLbcdRIyRIlhVaMXtI1ES6Tt3sGJKkVOSVHvQBE7Pj_stflpW62j88OaqCzlx3oT-bGaONjLj_N28-M0sbTJT_d1-ek2iewEVSoShUflwih1arE8aRje4DqdSmRygZdSLIp318txASoKISq93mXrxSB53lJaIl9uPwP7JFZLMqtJZplk1pKsapJdJlm1JPuAxPZJnTLJriW9azAnp5bUqSaxMqlTS-pWk6wyqVtL6lWTnDKp97cT7-Z39DoW97MoBBeMzdN64ef5gfwAv1F5UIKf4r7ATh_T_Jpf81ghhQt-i33UKJdREikdLcDVMsPV6p8_AQAA___DDDmA # This query performs a cross join followed by a filter. query T @@ -344,7 +344,7 @@ vectorized: true table: array_tab@array_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0Ul9v0z4Uff99iqsr_TRg3prEHQ958tiCVijNSCoBGtHkNJcRkcXBdiSmqt8dJZlWUjVlZdqb75_jc459lmh-FuhjHEyDsznk5TcFb6PwA1wFny-np5MZvDifxPP44_Ql3O-86hak1vLu2spUPJyuqx90B6cxSJet523Dg08XQRSAdI9TEF9rx-EE0jtOIYzOgwjefGlGkjU9mdwvt2pm4Rymk_cBHGS5sTpPa5ur0v__ABmWKqOZvCWD_hW6yJBjwrDSakHGKN20l-3SJPuFvsMwL6vaNu2E4UJpQn-JNrcFoY9zmRYUkcxIjxxkmJGVedFePeQVGZ6por4tjQ-SQYoM40o21dGIY7JiqGq7ZjRW3hD67or9myrvOVV5g6rWYupS6Yw0ZT0hSYP828oWaxfSfH-n8pL0aNx3Fs5AeA8xEc00rK0PwmXCY4IzMR70wfd53VhpS3p00qcX7iET_HCQYtyjcB__ge5TP3DEjx4Zqz1U8edUNRyrLaoiMpUqDW3Ga-vNTpMpym6oy6hRtV7QpVaLlqYrwxbXNjIytpt6XTEp21H7bH-C3T3A3ibY2wnmPbCzCeY7wa93g8dP8Xyyl-dk9d_vAAAA__-sGwU5 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k1FP2zAQx9_3KayTJrbh0jgue_BTGM1Et9KyptI2sQo5zQEWaZzZjhhC_e6TUwZtRhntRB6q-u7yu__5_rkF-zMHAUncjw_HRBXnmnwcDY_JafztpH_QG5A33V4yTr7035K7mneLAmmMvDlzMo3u_52VV3hDDhIiGX3I14GQfD2KRzGRbC8l0Y8qCDgSGe6lZDjqxiPy4btPSepjcnJXXKsZDMek3_sck51MWWdUWjmlC_F6BygUOsOBnKEFcQoMKHCYUCiNnqK12vjwbV3Uy36BCCiooqycD08oTLVBELfglMsRBIxlmuMIZYamHQCFDJ1UeY1eNytQONR5NSusIJKSFCgkpfSnVpvDZE5BV-6ho3XyAkGwJYm9LohgTrdTGb6kyrChMlyr8kFcVWiTocFsRdjEv_mvkkdGPZL28pNWBZp2Z3XS4YBE4b2NIp8dVk6QiNEopBGnUWftXLwxV2eT20-0cWja-6tyIrZLI767tmWn0XJ_pSV7_sLZ_y68zVvPtiXbViV_SZVNW_JN1jdCW-rCYtOej3YKGp1azJsUswtcmN7qykzxxOhpXbs4DmtQHcjQukU2XBx6RZ1ivoNBObv_9pdJbANSuEwKm6TwSRJfIQXLpE6TxJ8kvV9P-mu6zrb3xJqk_W3vifstnuf6-kxlICC4e1qP_Px5wL8gL6y3UnKpr2vs-Kb0RjiXuUUKx_IKu-jQzFShrFNTEM5UOJ-_-h0AAP__8cFh4w== # This query performs an inverted join with an additional 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#eJzUk0Fv2kAQhe_9FaO5BJoNZm2cUJ9Mgys5oiY1qGqUomjB04iGeN21HSVC_PfKhhKI8AbaXnLzzvrbee9Jb47prxk66H277HX8AGpdfzAcfOnVYeD1vPMhvIdPYf8zCKXE000mxu766ya5oyfoDECY4AeBF4IffPXCodeFi74fbCA_pLyZxg_lvxz6AdRqgjfG4H7Pm02LQJiNcR06QRe250dzvjiq_7kxGwLKiwnYdeiHXS-Ej1cgeEOw4gmBDGMZUSDuKUXnGjkytHDEMFFyQmkqVTGelz_50SM6TYbTOMmzYjxiOJGK0JljNs1mhA4OxXhGIYmIlNFEhhFlYjorn66KAxmey1l-H6cOCAZjZDhIRHE6MSwcLRjKPHvemGbiltDhC7a_Kj9-IJVRdCGnMSnDrBK2Ch3ZmvAeEwU1t7XO1zVX2W7MOmHYubrmjuP4wbA9qu9w1M8zB1zOXJO51abMQ0wVZlZJt_ZOuiflXZ7ATzmNQcYOuFYhLoCaa--waP-txRZz7UqX1iEuB1JlpIzTbYeudcxcfly5olW54vllqSJSFFU9vENLIE9kY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3Dy1Az_vD2QH-GOSBWX4v3jJsaO3OHvNH_g8QQo3_Al7qFAuwihMVDgDS8kUV6vffgUAAP__wK5yrA== # This query performs a cross join followed by a filter. query T @@ -405,7 +405,7 @@ vectorized: true table: array_tab@array_tab_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8k2Fv2j4Qxt__P8XppL8oq0twAm3lV2FtqrIx6ALSVnVRZciti0ZjZjvSKsR3n5J0dKlKCuu2d_jOj3_PXR6WaL7NUeA4GAQnE0jSzwrOwtE7uAo-Xgx6_SHsnfbHk_H7QRPu77wqL0it5d21lVN__et68ZXuoDcGydlDvyi48OE8CAPY25O8NQX_U9ZuewTSbU2b0BueQrXeWPJVo_mz47YkFI0ZdJswCk-DEF5fguQtyfInZHT_emF_OJrAoP82gEacGKuTaWYTlYr_G8gwVTEN5S0ZFFfIkaGHEcOFVjMyRum8vCwu9ePvKNoMk3SR2bwcMZwpTSiWaBM7JxQ4kdM5hSRj0k4bGcZkZTIvnt60HGR4oubZbWoESAZTZDheyPx04HgYrRiqzD4QjZU3hIKv2O-5cv-mK3cXV2fJ3JIm7XSqlsq6AN9df_teGPYur7gQoj-cHEcb-d5G_gM2S5WOSVNcoUa58rkrTwxxLs2XNypJSTuH1TFGQ_A76wn8fO-jzArwOfNd5nvM72yco7PLHsdKW9LOURXve_vM5_tras5jBXsjtVuh8u0zxV-aKcc7cLpbZn0HX94f8LVl1p9xtc569x9k_Ql-SGahUkOPM__ky-086BTfUPnHMSrTM7rQalZgyuOo0BWFmIwtu1556KdFq_hsv4p5rditiNuPxe4OZPex2KsVd-rJnVrxcb24-5KFHdaKj-rJRzstLFr99yMAAP__tfyPYg== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lOFv2joQwL-_v8I66YnyaiBOAlT-FF6hKhuFLiBtVYcqQ65t1BAz21FXIf73KaGlEDWssDUfED47v_uduWMB-kcEHIadXud0RML4VpIzf3BBrjvfLnutbp8ctbvD0fBLr0yez_y3OiCUEk83Rky89beb-QM-kdaQCEZf97OATb6ed_wOOToSrDoh3vfEshwkwq5OyqTVb5PteGnBlqXyy45dFSTbmJJ6mQz8dscn_18RwaqCpggxfqZn-v3BiPS6nzukFITaqHCSmFDG_N8SUIhlgH0xQw38GhhQcGBMYa7kFLWWKg0vskPd4Cdwi0IYzxOThscUplIh8AWY0EQIHEZiEqGPIkBVs4BCgEaEUYYuuhygcCqjZBZrTgQlE6AwnIt0Vak5MF5SkIl5zaiNuEPgbEOx2wZuLelhlvZHWto5S3sfy7MwMqhQ1dxtxVWcE89e90bL91tX14xz3u2PTsaFPk7Oxy30edVIYqkCVBhsWYzTN3935I2izoW-_yTDGFWtsV3WoE88d12Rl_4ug8Rw4jHq2dRzqOcW1uXm6mrsc89DqQyqWnNbx3OOqceO1xZpfpq5FFrUcxbNLQv2_p5kf9qTNadSq797dtihns5f8Hz37Dj7WK5np_5hs1Pfp8d81HMZa8zP0JuZrFymCksnCYM7XE2mloma4qWS0-zsajnIQFkgQG1Wu85q0Y2zLZZmUChm67-iTRLbSbK3SNYmycqT7D2c7E2Smyc5O0lusVMjT3J3kk72qK5-6I07eVJjJ6lZ7MTypOahN15PO-s2ko83YQAcrOen8sbHywPpC-JOp-09vJePGXb0NE-b81ZEGilciAdso0E1C-NQm3AK3KgEl8t_fgUAAP__B27-mA== # This query performs a left inverted join with an additional 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#eJzklE9v2kAQxe_9FKO5BJLlz9pAqE9LgyM5onZq3KpRiqIFbyI3xOuuTZQI8d0r25TgBDuh7S03dse_mbdv9Fhi_GuOBprfz0cDy4ba0Bp74y-jOozNkXniAafNQwJcax7Cqet8Bq4Uf7xK-JRtfl1Ft-IRBmPgGozMUw8s-5vpeuYQzhzL3iKupbwKwvvsUwqODbUap80psB-LdlsX6ZRpHQb2EIr3B0u6Oqj_qWhNDll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TKoPRWxmnqIbWeaPhfYa8ms76j9ANytEAhW-GA_RIcr9kivSc8XEOjnWYwcneIggWHz4yzrnnh_PLPlBY-8RhxxEdToDCday0If_KOCVxSjIRK4wGxfIJW-vccOIw6ljUsakzaXRm1ZxZXZwVrg6DHXf19c3AV1Le5ln1-WTKiWNXLnrO9AmD0zaDGncyjb5D1YQ600ZVdk3VuIuqjVQG1XB6rsmxX1GHvWosOa6VnDaW_FpJqggVRk2FnujNlwOZDefnT1RabOqMaSmnscdJrcf5WY_s-dnAfjQbhvbg2dnAunRZywb7J80Gu4uzk2yY_HzZMOmi6pANsx_LhlmXOApQZzLVeFayqdKoVmnAihTB6Aar5NEyVzt8r-SuvLdarktQuRGhNtUpqxZe-nikjUJxd_yzPiWxVpLVTLLqJKuVZDeTxnWS3Uoan5HYKWlaJ41bSb928DRpJU2bSaxOmraSZs0ku06atZLmzaRJnTT_XuOz4jt6ncjPV3EEHEaHa_DEy-NV5GgibnTxQ9n8Iz-X2CKtNPBrkWik8E7c4hINqrs4jbWJd8CNynG__-X_AAAA__9sacb2 # 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#eJzUk1FP2zAQx9_3KU73BJtLm6RlUp7CIGhBpWVJpTFtFXKaA2UUO7MTBKr63ScnVUtYkxbtZXvrOf757nf6d4H61xxd9K-vhifBCA7OgmgSfRkeQuQP_dMJcPvoPZyH40vgSvHnm5zH3vrXTXZPz3ASAbfh62c_9MG_NjwcrOg_0Fspb1LxWDLWiuHWUQzej6LXc8j0iw9hHJ75IXz6ZkqODIVMaMQfSKP7HS1k6OCUYabkjLSWyhwvyktB8oRuj2EqsiI3x1OGM6kI3QXmaT4ndHHC4zmFxBNS3R4yTCjn6bx8uskRGZ7KefEgtAucQYwMo4ybqtN1cLpkKIt801Hn_I7QtZZs_6kC8Ugqp-RCpoJU124abLVBZGvCf8oUeP31Cj3D3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isV1Su0py95L-PUBdey-pU09iVVJnL6lbT3KrpO7vzqljv4dFIu-ncQQcWpun8crP82OvgUTcaPtRhl_lfYG1ZtPAFyLRSOFS3GIPDaplnMbaxHPgRuW4Wv31IwAA__8Fe_l8 # 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#eJzUk8FO20wQgO__U4zmBH83JLYTKvlkCkY1Sm3quCpVG6F1PCCXsOvu2giE8u7V2ggwwU5QT9wy6_1m5pvM3qP-s0QX_bPT6UEQws5RMEtmX6e7MPOn_mEC3N77H47j6AtwpfjdeclT7_HXeXFFd3AwA27D989-7EMYJeCfmRyw85BhDb-Q8jwXNzVnPXDc2kvB-1WNRg6ZmukuRPGRH8OnHybkyFDIjEJ-TRrdn2ghQwfnDAslF6S1VOb4vr4UZLfojhjmoqhKczxnuJCK0L3HMi-XhC4mPF1STDwjNRwhw4xKni_r1F2eyPBQLqtroV3gDFJkOCu4iQZDB-crhrIqnyrqkl8SutaKbd9VIG5IlZSdyFyQGtrtxpK7glyY-scJRN8SP4aTKAiR4dpkkT1m8m8LBd74cbSeyXmRK13Cb5kLyAUUPFeUDUz4imJUlS54FvNs5jnMm3SK2m8RNYIP0x93Sh6ESbDuuPanTKW8qopGRwoXPMe0HYI3aVtrWkiRbdJOOwWdTsEnL6kyUpS1lTzrA85Xr0whlANZDPfbt58G3tnJuNWJtf2mW_-66UNnsOWmb-jqxaY773fTN4g-2_TJ-9_0VwRj0oUUmlpyXZlH5hlQdknNs9GyUgs6VXJRl2nCqObqg4x02Xy1miAQzSfT4HPY6oXtftjuhZ0WbL2EnV74Y3_lcS886YcnvfB-P7z_Juf56r-_AQAA__-xmaHG +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUlF9v2joUwN_vp7DOU3uvKTgBruSn9JZUNxWFDjKt04aQIYcua4gz2-kfVXz3yUApCQ0r21PzgDiO_fP5Hef4CfSPBDj411fd06BHjjrBMBx-6B6Tod_1z0IinJO_yfmgf0mEUuJxbMTE2_wbZ7f4SE6HRDjk0__-wCe9fkj8a8sgR2vCzvKZlOM4vVuuY-t1gp1MiPc1bzRctHtOjkl_0PEH5L_PNhRAIZUR9sQcNfAvwICCCyMKmZJT1FoqO_y0nBRED8AbFOI0y40dHlGYSoXAn8DEJkHgEIpJggMUEap6AyhEaEScLNFVnkDhTCb5PNWcCEomQGGYCRvV6i6MFhRkbl521EbcIHC2lWLQAd5Y0LdnGaR3qAxGFzJOUdWdYqLhY4acdP3zkPQ_hv6AXPSDHlDYqTTQDcl_yBTxmptSe5Y5i5U25LuMUxKnJBOxwqhmw1eU-7nhxGPUc6jnUq9VKe6UxJ1DxK3w-nSaldKnvTDYdd45tK6Ut3m20pMpJ55rNXrEaxWroHEq0-hXZZhUCrsl4Wal8IunVBEqjIqKHvsHRotXqtKTNZnV28XZLwdSmVmzlFm7kBl7e6ewP-2Uult7c6ewQ7IsdYr7njvFPUR8q1Na77VTWodcDQPUmUw1FmSrdmqUdqox21cY3eCqD7XM1RSvlJwu567C_hK0HIhQm9VbtgqC9PmVNgrFfHOlb5PYXpJTTXLKJGcvyS2Q2DapWSa5e0n_HmDX3EtqVZNYmdTaS2pXk9wyqf27dWrZ72GWyPtxHAGHxvqpvfLz_NhrIBE32n6Uw2_yfom1zaaBz0SikcKluMUOGlTzOI21iafAjcpxsfjrZwAAAP__1fEHxA== 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 73741f9d1fee..9b511738632c 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#eJyUk11vmzwUx--fT3F0rpKnX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1R-EywzpSPSFG0pzuzJP215x_5FaO7-VXFGuiO2I4zKwgfJmRRMuo0JRC2B2Oe_62c_SRcUPRtwa5f6UkRkrzuDh1yDPH4tnhS1C4_Xd75p3mOy2-jfrfl39_FvfT8X0vvNeyJeCjlQalHmkKg4A5X5IG3Q0RDkyQdzdJk8ZvKEVYEao3i1KN4-USZKF6Q73e0Y0jtgkh80SnZrkt19JMdkcpUZqvf4Qy_lkNs2U3RL69dhVKnndKXVvNq7Ho4qUDURkSnWq2I96GfVErcKmsLl68PfJPE9SGKTxOsksZPkbpGcTZKok9ydJK-Z5NZJ3k5St5nk1UndnaTjZpJjb_EmVffXcYQ-Os_f4Ts_Lx_aA-GtsVWa3Kn7Cjt9zG0RbsLUEMPLcEE9Kkgv4yw2RTxHv9AlrVZ__QoAAP__E-c4nQ== 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#eJyUk11v2jAUhu_3K47OFaweJE5CpVy5LZnKxKALaB_aosojR21GGmd2MjEh_vuU0C-yJSuXx_bD-xi_2aL5maKPweer6dlkBr3xZLFcfJj2YRFMg4slvIa34fw9SC4SeZ3EGwbShk-XQRhAL4GK4Aycfh_OZmPoST6QIL6VluUQSHsg-zAPx0EI51-qcc1A8sEaGWYqppm8I4P-V7QxYphrtSJjlK6WtvWBSbxB32KYZHlZVMsRw5XShP4Wi6RICX1cyu8phSRj0kMLGcZUyCStf1baQtrX-Zp-I8MLlZZ3mfGhckCGi1xW0xuMdgxVWTwlmELeEPr2jr3c4qNMSzJD-1DAhXPocVjdltna9FuTrNakp4AyUzomTfFBQlSR_zvyD91LaW7fqSQjPeSHyvOy8EHYTHAmnFZjfsx_M8l-kS4ovg90Go_0UCxkjyeDTa5BjB6LJHjjAZP9Gz6XdZnwWn2dY3wrz_tCuX-5Sv5QqKlS6zKHHyrJQGU-iOpi8xmI0xd6e0yMmDhl9QVa1d1j1BdKF6SH3qG2cE-YsE9aI7xjIkIyucoMNXvY0uyIIcU3tC-zUaVe0ZVWqzpmP85rrl6IyRT7Xb4fJlm9VX-Kz2H7CJg3Yd4JOwew1YSdTtjtht1O2OuGvU541ICj3as_AQAA__8QrttC +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUk9tv2jAYxd_3V3z6nmB1S-yEVsqT28JUJgodoF20ocojX9uMEGd2sraq-N8nh14ga1jJA5Jvv3MOPn5A-zvBELtfL_rHvQE0Or3xZPyp34Rxt989ncB7-DAanoMSMlaXcXTHQHH4ctYddaERgzshGPjNJhwPOtBQ4kCB_FF4nk-g-IFqwnDU6Y7g5JsbzhkocTBHhqmOaKAWZDH8jhynDDOjZ2StNm7qodzQi-4w9BjGaVbkbnrKcKYNYfiAeZwnhCFO1M-ERqQiMi0PGUaUqzgpsYpLxS-zOd0jw1OdFIvUhuA8IMNxptxoH6dLhrrIXxRsrq4JQ75mqdfB0Fuyt7v6rJKCbItvGgrgBBoCZjdFOrfNWmWvosxrlV8Ei1SbiAxFG4pTd_J_W16xf6bszUcdp2RaYjPCsMhDkJxJwaRfm0BUEohd_rte-odMTtGjAb9yqU9FRPa8s3uXGZCHz8WTonLh8erO180HTLZr_fsV__4u_p3vx0IG_3hX4qmQfa3nRQa_dJyCTkOQLuhwAPLojTnaTB4yecTKQLVRgkqUYJcoY21yMq32ZgwZ7DHJ92ol2xXJ9i6SI7KZTi1Ve_yml7LPXZspuqbV67C6MDO6MHpW7l0NhyWonIjI5qtVsRr00nKJOwVDavH88NdJfAeSWCfxKklsJfkbJG-dJKokfyspqCf5VVKwldSuJwVVUnsr6bCe5LlbvEr07WUcYYje47f_ys_Th-6AurauSuMbfVtiJ_eZK8KVSiwxPFdz6lBOZhGnsc3jGYa5KWi5fPc3AAD__30tN_s= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/lookup_join b/pkg/sql/opt/exec/execbuilder/testdata/lookup_join index 6c3e24c2da38..291e6c0a4b97 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/lookup_join +++ b/pkg/sql/opt/exec/execbuilder/testdata/lookup_join @@ -496,7 +496,7 @@ vectorized: true table: data@data_pkey spans: FULL SCAN · -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== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlt1u2jAYhs93FdZ31E6OEueHH0uTQC3VqCh0wLRJG6pS4rZZQ5w5jrqq4t6nQEtJ0hgCHMABUkz85vleHkV-gfhvABQ6P6977W4fnZx3R-PRt94pGnV6nbMx-owuhoMrdJK99Fzpoh9fO8MOmqIviJyi9ggFqN8efx-2e-hykEYptvxODMNiyFjsE4Ah5B7ruzMWA_0FBDCYgMECDDZgcGCCIRJ8yuKYi_SWl8WGrvcPqIHBD6NEpssTDFMuGNAXkL4MGFAYu7cBGzLXY0I3AIPHpOsHi8ekRK306yZ6ZM-A4YwHySyMKXIxusVoipEHGEaRm65pOkFu6CGCuHxgAiZzDDyR70-OpXvPgJI11O45UGOOt6e98APJBBO6k0VdrlPUstK2KaXd_rhRimDmEJwqCJfcD1_7IpsK63H-mEToD_dDxEOKWgS3TNyycCv92wZ91Kqv_uo36LKaB4nMBpRNZ-WmI-UNv0-VhFx4TDAvM9Fk_kEBfa7xSCdO7s6PYew8TLZrsr2cZB85daLp5k56kiq8Kz1rh9SzVgVhXc9NlR2HntmGze2NMPcywtR0aycjzCq8KyPqhzSiXgVh3YhNlR2HEdmGre2NsPYywtJ0eycjrCq8KyMahzSiUQVh3YhNlR2HEdmG7e2NsPcywtZ0Zycj7Cq8KyOahzSiWQVh3YhNlR2HEXaVM9uQxREPY7bVkcXIPUoj6SmIefdseWSKeSKm7Frw6eLe5eVgEbRY8Fgsl7-S5UU3fPsploK5s9Wpdz2JKJPM8iQnn2Qqk6xMEllPIgUoSz1ercJ8tjLKKU8i-SRHmaRgquWTajs3VYCqK6Ma5VBmPqmhTGqWJ9XzSc2dxytAkQ2iK0y3Cllq1YnC9UYha3fZi1wbbLfLuexCllp3ovC9WchSC6-a0U7fXHcBf7rxPaBgvH60D77ePpBucO_j9PU5euBPi9zxc5S-_O7cIGYYrtxHds4kEzM_9GPpT4FKkbD5_NP_AAAA___qRmiI statement ok CREATE TABLE books (title STRING, edition INT, shelf INT, PRIMARY KEY (title, edition)) @@ -643,7 +643,7 @@ vectorized: true table: authors@authors_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy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ht6Mc8skOP2-OLtr9_-bS3VV7Oe1zyiktW6_LNXJFJFaPC-MDY2Fb-a8uRVu-FXnyWSYbqih92muLMNCLWvFHJfGEaEbcxeCxMSCJGI04jn0ZBbWd-pTN-zvlbQ9vj949EhJcZ4bvD70m5LHLyQyYZkVlIosA67ZOI2xRH1ydyVPbj17YRVNrwz2mjnWiTZFNzFRw2EbFavVZFL_iQXuvdetcVvdY5egPUucw0VoN4VMmrKF0wG0eM51jGW8tCTfFJyanbWw4fHchNxKhNucrLQTdzS8wqKBSrP__yfRI7g8T3SaxK4idJ_gHJ2yfxKsk_SQrqSX6VFJwktepJQZXUOkm6rid59hZnqXx5TmIIwds-F0deuwdsgZhrG6XhQr447Og1t0GYiVQjhQexxDYaVKsks6GeQmhUgZvNf78DAAD__zBpWE8= query T EXPLAIN (VERBOSE) SELECT a.name FROM authors AS a JOIN books2 AS b2 ON a.book = b2.title ORDER BY a.name @@ -716,7 +716,7 @@ vectorized: true table: authors@authors_pkey spans: FULL SCAN · -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 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkm9r2zAQxt_vUxz3ahtKG7nbGIKCR-sxl9TpnMAGIxQ1viZeHJ0nyXQl5LsP_9vSsIRWL6LoJP2e5zl5g-5XgQqj7zejT3ECry_jyXTydfQGJtEoupjCW_icjq9BV37J1kGcJFEKV-M4gTvmlQtg3P87oSz3ORs4BwnfvkRp1G_43BcE5z3kpC6jQMMZJXpNDtUPlDgTWFqek3Ns69KmORBnv1ENBeamrHxdngmcsyVUG2y4qHCq7wpKSWdkT4coMCOv86LBdpJhN9-WK3pEgRdcVGvjFBi9JgGdoUmp69oABaZkMrIKpFIqTqYfBYRSQBjgbCuQK__PjPN6Qajkjvv4EtVwK54f4Ipz0_mXT_23HQzbqXc_Yl5VJfzk3AAbBeGZCOVuqoYroHsQAW5JxT0KHFdeQRiI-sI7Eb4X4YeDgYK9QPIlgRIecHkaPMlySOhsTyh4iVBKrmTj6FlKwz2lgdzOBFK2oPZ7c1zZOd1Ynjdn2-W4ATWFjJxvd2W7iE2_5bwlvf778LskeZQUHCbJfVJwlHR2zNNM4H3BD7d5hgqH3Rj856cfWF_QC1c3e7LkhwY7fSzrVt3rwpHAa72iS_Jk17nJnc_nqLytaLt99ScAAP__SEVkcw== #################################### # LOOKUP JOIN ON SECONDARY INDEX # @@ -879,7 +879,7 @@ vectorized: true table: small@small_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlV9r2zAUxd_3KS4XBglT6sh20lRQcNe64JLZnePBxgjDjUWX1bU8W4aVku8-JHc0LosdnJe8GP3x0Tn3dwV6xvJ3igzdr7fzC8-HwZW3iBaf50NYuHP3MgJJT2IC0jy5g-sw-ATlY5ymcLEASWHuXkdwE3g-pHFxz_WqCYEPA6WCcyWLh3DhX8FgoI94D9MhnMN4CEF45Ybw8Zs2QIKZSLgfP_IS2XekSNBEghYStJHgBJcE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wRGLTXEaTjdI-SM8tRHNzaDRbeHp4f9BK_WFTy3YqdQg9BnSvQ1qn0CGtjDnn8BScaik4lu1WSsE5BnQvhfYppNDOmHMPT8GtloJr2V6lFNxjQPdS6JxCCp2MOe_wFLxqKXiW3ayUgncM6F4K3VNIoXvMhjzlMhGx5BljRSs1citZVO9wPFjx3Y4oxSZd8ttULM27u9uJETIDAZdq95Tubobx-yOpUu6vf_-f2FeipUpORonuKzXzSk450zFQbqmUV6xE80peVXutvFKzVKlVzOTklVpVmdp5pXapUqeYyc0rdaoydfJK3fI2aBRDeX_0Znmbl1B19afzEInnuzBAho23w_rk9H6gnuCvpP5-Z4_i2cjq3yCJ7MGPJCd44z_xPlc8XYdxKFW4RKbSDd9u__oVAAD__zKPHM4= # Left join against covering secondary index query T @@ -1434,7 +1434,7 @@ vectorized: true table: small@small_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlNFr2zAQxt_3Vxz31DK5jmwnTQ2DbK3LXNKkcwLrGGGo8dFldSzPcmAl5H8ftlsal0Y2zkP6IpB0H99P34lbo_oboYve7c3wsz-Cowt_Mp18Gx7DxBt651MQDO7gMhhfg1qKKILvX73AA-82L4Oj56KyIhSZeCooik8EfCoOT8QxjIMLL4AvP0Agw1iGNBJLUuj-RI4MLWRoI0MHGXZxxjBJ5ZyUkmlesi4EfvgP3Q7DRZyssvx4xnAuU0J3jdkiiwhdnIq7iAISIaVmBxmGlIlFVNgUSINi_ZU80CMyPJfRahkrt3glMpwkIt8ZJgcRh8BBZr8pxdmGoVxlL64qE_eELt-w5mRXchE_gXWrYNPHhFwYepdTmHjXPlyN_VFeITIxyJdn2qGUD6sE_shFDDJ2YcArT9iJae3EfKGTaUgphVWwAf-Is80bbxlJQyYmrwa8y96u2PPm_eNt-2dyw7RadLCGbauDvUN20GoeodU6Qssw7RYR1rBtRXh6yAjt5hHarSO0DdNpEWEN21aE_UNG6DSP0GkdoWOY3RYR1rBtRXj2XkbxG5gBqUTGihpN2U4-pym8p3KuK7lK53STynlhU27Hha44CEll5S0vN35cXuWA22KuFVsVMX8ttvTONda2Vu3oxc4-3F2tuKd37u3jfKoV9_XO_X2cz_S96tR8E_0ne-0923z4HwAA__-XZmPv +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElV9vmzoYxu_Pp7Deq1bHlBjIP0tHyllDNao06ZJI6zRFlRvetqwEM-yoq6p89wnSrMAKSrgJF5ZsHh7__LzGfgX1MwQO7s316H9vTE6G3mw--zI6JTN35J7PiaDkjlxMJ1dErUQYkq-f3alL3JtURk52oq3CF1q8CTLxmSD_ZYNn4pRMpkN3Sj59IwIoRNLHsVihAv4dGFCwgIINFByg0IYFhTiRS1RKJqnkNfvA838Bb1EIonit0-EFhaVMEPgr6ECHCBzm4i7EKQofE7MFFHzUIgizaTKkQdbexk_4AhTOZbheRYpnqwQKs1ikPcNkREQ-YUTqR0xgsaEg1_p9VqXFAwJnOUxvCLy1ofuTXsogegNtF0HnLzFyMnIv5mTmXnnkcuKNU4XQYpA2O_qRlE_rmPyQQURkxMmAFZZUiW2VsNuV2O-0MvExQb8IOmD_wmLzwdrG0pCxyYoFqMKxSzisGCPbv-CsacFNZphWo5KzQ1hzJe8ct-SdAra1f8RW44gtw7QbRWwdwpqLuHvciLsFbHv_iO3GEduG6TSK2D6ENRdx77gR9wrYzv4RO40jdgyz3Shi5xDWXMT940bcP-RKm6KKZaRwr2O_VZrJYOlNgv4Dbm8eJdfJEq8Tucy02-4kM8oGfFR6-5ZtO160e6V0gmL150bOO7FaJ6vgxPJO7bKTVc90CJRda-VUO7Gyk9N0eZ2yU7vWqVPNZJWdOk2ZumWnbq1Tr5rJLjv1mjL1yk79-m3QqoZy_tqb9du8hqqf_jr3oXy-DXzg0Hp7jA-a3QPpB-JBpf_v7FE-Z7bp6aKA34tQIYUr8YRD1JisgihQOlgC18kaN5t_fgcAAP__88fvLQ== query T EXPLAIN (DISTSQL) @@ -1458,7 +1458,7 @@ vectorized: true table: small@small_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMlmFrm14Uxt__P8XhvDLkpuaqaVPhD3atZZbUdElgHVsYN3rpslqvUwMrJd99qE1qynJvZgjkTcCjj89zz--B-ILZrwhtdO_vBheeD9qVN56MPw1aMHYH7uUEGIEZXI-Gt5A9sSiCzx_dkQuaxqANsxZ8W3S7ZgBGtwUX_hW494UctJW4UoYsZyth-ZYTBv-X0xNW6bTX-Qza1Tx4fTUH2mu1YDi6ckfw4QswJBiLkPvsiWdof0WKBA0kaCJBCwn2cEowSUXAs0ykxSMvpcALf6PdJTiPk0VejKcEA5FytF8wn-cRRxsnbBbxEWchT_UuEgx5zuZRaVPGc8rf78kjf0aClyJaPMWZXa4ICY4TVlx1dAosDoGCyH_wFKdLgmKRv7lmOXvgaNMl2T3Z9TzKecpTvbcZq5rboDkU2uAYNSC2bXv-pL_V3_gX_xsxj18XQ99tZvKccBsG7vUExu6tBzdDzy-eYDlzip_VugZCPC4S-CnmMYjYBqcgN_RBc4wiulUDvoq-ueNg61HMrUd5O4FIQ57ycDO7Q9s4Xf7lvL7oiESnm9veZm9t2NPdO0abdkynHd1o0DJFtnXLTg_UMoV_vWX0yFtm7I7ZaIzZ6OhmA8yKbGvMZwfCrPCvYzaOHLO5O2azMWazo1sNMCuyrTH3D4RZ4V_HbB45Zmt3zFZjzFZH7zXArMi2xnx-IMwK_zpm68gxK75yRjxLRJzxnf71u8V3Aw8fePWdkYlFGvC7VASlTXU5LHXlIORZXt2l1YUXV7eKgHUxlYoNudiQis0NMX0vNuWxT-XWllTdk4t7UrHC-XSfQ59JxX25c18qPpeLz_eJTRUdU5VM3jKqqBndq2dUUTRLYS5vGlVUjcq79j77dPnfnwAAAP__dDHHAA== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzMll2Pm0YUhu_7K47Ola3FgeHDa49UyWnMqkReO7UtNVW7imZhsqGLGcpgpdHK_z0C1g4fgTVIK9kXSIw5D-8588ieJ5T_BUjR_vhh8dZZwmDubLabPxZD2NgL-90WmAL3cLNe3YLcsSCAP3-31zYMBgyu4H4I_-w1zXBB14bwdjkH-2NaDoNjcV7psYQdCzPKGwa_ZqtvWF43eF6_h6t83X1GcyDWcAir9dxew29_AUMFQ-HxJdtxifRvJKigjgoaqKCJClp4p2AUC5dLKeL0kaeswPH-R6op6IfRPkmX7xR0RcyRPmHiJwFHilt2H_A1Zx6PVQ0V9HjC_CB7TRZvll0_RY_8Gyr4TgT7XShpNiJUcBOx9G6kEmChBwRE8oXHeHdQUOyTH2-VCXvgSEkhpjNHqh2U85Pe-EHCYx6rVjlmvk5hMCNwBTO9sEGUUme5nTTm0St5rC553gs_fB4cqUxu-y3iFBb2zRY29q0D71fOMn2CJWyWXo7jXAjxuI_gX-GHIEIKs3RnV0sYzPS0FbMgxLGV8h64ja0ZldZI86x_tCRij8fcKzczI1d4d_jJAJZiJCKVlLejKY9ZzVOeNTnfUtLXUpWMVL2Xp6RL1pOn41fzdNwlT9FTcvmelmetn--F3tsLfaQavbzQu2Q9eXH9al5cd8lT9EK_fC_KszbO98Lo7YUxUs1eXhhdsp68mLyaF5MueYpeGJfvRXnW5vlemL29MEeq1csLs0vWkxfTV_Ni2iVP0Qvz8r0wu5zl1lxGIpT8rKOMVnnViKSnI-498Pw0JcU-dvmHWLjZs_ntKgNlCx6XSf4tyW-c8PiVTGLOdqejcZFEWkl6M8mqkvRWklEikSKJ1EIZ7e2NO_RntqKsZhKpkqxWUkumcZU07j2pWqjrVtSkOZReJU1aSdNm0nWVNO3dXi0UeUH0FtONGqtdddLi-qTG6i97PdcLtpvNucwaq1130uL7tMZqF76tRzP95fociK-ffA8pas-f0U8uxw-mBexBpj-fmy_ia8ZN_wAk0s8skFzBW_bI5zzh8c4PfZn4LtIk3vPD4ZfvAQAA__9jwoJy # Regression test for #40562. @@ -2148,7 +2148,7 @@ vectorized: true └── • values size: 1 column, 2 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.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TwPN_Qggy120pW2lQFCtNa6vs3PwMAAP__Rz0InA== query T EXPLAIN (DISTSQL) SELECT * FROM (VALUES (1), (2)) AS u(y) WHERE NOT EXISTS ( @@ -2165,7 +2165,7 @@ vectorized: true └── • values size: 1 column, 2 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkW9r1EAQxt_7KYZ5tZGlvb1a0YXCne0WU2KuJrEWJEhIhhov3Y3ZXWg47rvLJgU94URfJfPnN7PPMzu0PzqUqO5vk3WcAruK8yL_mESQq0RdFvASrrPNB2B36-STyoGJiANbRhGsc_DAxgg-v1eZgnRTgLoPMLBD1J2_fS3OQ7977vUnI1yAOxkj5KhNQ2n1SBblFxRYcuwHU5O1Zgip3dQQN08oFxxb3XsX0iXH2gyEcoeudR2hxLuq82RPF8ixIVe13TTxFbwDtoT6m9dbG2G552i8-zXFuuqBUC72_N833ZhWZ1Q1NJyKw23F2JOERF0XsE6LGG42cYocZwtW8-drv6UROSbGbH0P302rwWgJbLWEcAEhpYzT4g2Hs-e_4HZ6BWwl4AJWZ8G1S9P5R20lPHEYj6oS_6MqI9sbbelA0XG_So7UPNB8I2v8UNPtYOppzRxuJm5KNGTdXBVzEOu5FB74Oyz-Ci__gMv9i58BAAD__yZh1ng= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkV9P2zwUxu_fT3F0rpJXBuoyps0SUjsatKCQsiZjSFOFouRQsqZ2FtuCqMp3n5wUtk4bYr5I7PPnd3SeZ4v6e4UCg5uraBrG4M3CJE0-RT4kQRScpfA_nC_ml-BdT6PPQQIe9xl4Y9-HaQIWvNaHLx-DRQDxPIXgxjWDt99qTt6_5Seu3uxq7WELp2AOWx8ZSlVQnG1Io_iKHJcM60blpLVqXGjbF4TFI4oRw1LW1rjwkmGuGkKxRVOailDgdVZZ0kcjZFiQycqqJ76BD-CNIb-3cq19XHYMlTU_KdpkK-rZz2PDGYpRx14_-UKVckFZQc0R35-etjUJiILzFKZxGsLFPIyR4SDJZPjd1mtqkWGk1NrW8E2VEpQU4E3G4BzhQogwTt8xON7dnPrxDLwJh1OYHDsVz1RlN1ILeGTQ_nVL_tuW_F-2XJCuldS0t-Fr9Tzg3ZIhFSsaTNXKNjldNSrva4fnvAf1gYK0GbJ8eITyKaVNQ9nm2aRfSfxF0vgl0pLhXaUebssCBY525-APn6eDriFbaSdRcq8eeqzzW6O4yypNDC-zNc3IULMpZalNmaMwjaWu--9HAAAA__9KHg4x statement ok CREATE TABLE lookup_expr ( @@ -2195,7 +2195,7 @@ vectorized: true └── • values size: 2 columns, 3 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUkm9rnEAQxt_3UwzzJlqG5PTydyGw18QUg9VUvVAoh8g5pDbGta72vBz33YvaXi-FlPbdPDPz7Ay_nQ3qbwUKdD7deTPXB-PajeLoo2dC5HjOVQxv4SYMPoBxP_PmTgSGRWBNTALDJrCHYErgzz3PNGEWQQvGiqAzwXNuYrgNXB8KpR7bKuGuqvuOBgIfjPZwBZfQHK5MmPnXve4G3ZlIWKqM_fSJNYrPaOGCsKrVkrVWdZ_aDA1u1qGYEOZl1TZ9ekG4VDWj2GCTNwWjwPu0aFkfTZAw4ybNi_FFC96BMYXll7Z81P3AkMuMawEnQgjXj88JpEUgbVxsCVXb_J6gm_SBUUy29O9b3Kq8DDnNuD6yXm4SrysWI6pgHjvhAAwJ95DJvTipky5ZJ8_JKsmzDgm9oQZfVV6CKgUYhmHIY-j_8YBT3RwIIaI4dP33BAcr3k-YP8HLKVyCPNvJ88FtTXYk7F-hueuxesvFTtq9PO05XqmifSq1gJrgO0F_CQRrgmckDNpGgLRJTkkekzwheUryjOQ5yYtXOVv_wzlkXalS8wvGr__ggpCzBx4vSqu2XvJdrZbDmFEGg29IZKybsWqNwi3HUr_gvtn6q9n-w7zYvvkRAAD__74CCoU= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUm1P20AM_r5fYfkLyWSgaXk9Cek6WqagkLImoElTFUWNgYw01-UuawD1v0-XQlemDbH7cPLjl8fWYz-h_lGgwOHXy6Dvh-AM_CiOvgQuRMNgeBrDRzgbjy7Aue4HV8MIHI_A67gETpeg2xo9gvAqCFwX-hHU4CwIGheC4VkM5yM_hEKp-3qecDOvbIaBUQhOvbOAEzA7Cxf64cDipsWNi4SlyjhMZ6xRfEMPJ4TzSk1Za1VZ11Ob4GcNig5hXs5rY90TwqmqGMUTmtwUjAKv06JmvdtBwoxNmhcrRg8-gdOD6V1d3mvbcMxlxpWAfSGEH8ZHBNIjkF2cLAlVbX530Ca95bbveiR_gKKzpPdPda7ycsxpxtWu93qy-GHOYiXd6CoejlsBkXBDQrlhJ1XSJA_JY7JI8qxBwqCNwXeVl6BKAY7jOHIP7F63ONVmSwgRxWM__EywteBNh_u8CNmDE5CHa3jUVnudtTLdF9Nd53i25HgNuxYeWF1PVVHPSi2gIvhJYC-D4IHgEQlHtREguyR7JPdI7pM8IHlI8ojk8T919_7Q3fsf3ces56rU_Erz925421tOCDm75dUJalVXU76s1LTNXcFRS9Q6MtZmFfVWwC9fQtpUnM7WZ7PJ5L3J1H2LaUJ4Uyh7CSiw8_y2__K9PLQF6a22EkV3atHS2gvUKG7SQjPhRXrPAzZczfIy1yafojBVzcvlh18BAAD__1_7Qi8= query T EXPLAIN (DISTSQL) SELECT * FROM (VALUES (1, 10), (2, 20), (3, NULL)) AS u(w, x) WHERE NOT EXISTS ( @@ -2214,7 +2214,7 @@ vectorized: true └── • values size: 2 columns, 3 rows · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUklFrnEAQx9_7KYZ5yVqG5PSaNiwEvCamNVgvVZMGyiFyDqmNca2rnMlx372spte7Qkr7Nv-Z_c0M_5016h8lSvRur4KZH4I49-Mk_hxYEHuBd5bAa7iI5p9A3MyCay8GYRPYE4tAOATOEEwJwusgsCyYxdCBWBH0Fnz56EUehPMEvFvTEsR-w1Kp-65Oua8bw7XPgOgOV3AK7eHKgll4bnQ_6N6ykLBSOYfZA2uU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Sbt0FDh4ert_-J4f2oL8RluJklu56mjtrWkU13mlieFZfkdjMqQWZV1qU85RGNXQev3fzwAAAP__T4ND9Q== # The following tests check that if the joiners can separate a row request # into separate families that it does, and generates spans for each family diff --git a/pkg/sql/opt/exec/execbuilder/testdata/merge_join_dist_vec b/pkg/sql/opt/exec/execbuilder/testdata/merge_join_dist_vec index 6fb1dfd086c5..b94225d30de1 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/merge_join_dist_vec +++ b/pkg/sql/opt/exec/execbuilder/testdata/merge_join_dist_vec @@ -63,7 +63,7 @@ vectorized: true table: r@r_pkey spans: [/2 - /2] · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEk1GPk0AQx9_9FJN5anVNWYovJJdgTk659OAELpoYYrZlbIkci7tLYtP0uxvApIK92ovRe2N29_ef-c8MO9TfSnTR_3i7eB2EMHkTJGnyfjGFxF_4lyk8h6s4uoESFv5VCtdREIKCuyQI38JETOHDOz_2QcAF2MiwkjmF4p40up-QI0MbM4a1kivSWqr2eNc9CvLv6FoMi6puTHucMVxJReju0BSmJHQxFcuSYhI5qVmrlZMRRdlJK099rr_SFhleyrK5r7QLgsESGSa1aKOZPbMw2zOUjfmZ4qC83MJG6M1Q0-OY7TOG2og1oWvv2QOlHnSaSqqcFOUDpawl__TkiN8bUmu6lkVFajYf1pZua3L7CUR3qR93c0CGJX0xE4-_mF6oYr3pP5Fh1BgXPM48m3nOqAsHh_O_cHik_FC-lPXMGbfiaGpnkJqfvwfWsC-lV_7rPeAPlvo_9sB-0j04UlxMupaVprPGbLX2KF9T3y4tG7WiWyVXXZo-jDqu62xO2vS3Th8EVXfV_Yrnw_w0zMew9StsD2A-hu2T8KsBbI3h-SM8_5b5NMxPw86jPGf7Zz8CAAD__xdu9rU= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEk19v0zAUxd_5FNZ9WsFV4zR7sTQpaM0gU_-MJhNIKJrc5raNlsbBdjSqqt8dJRm0iVooTIAfovjfz-ceH29Bf0mBg_fpbvjWH5OLgR-EwYdhhwTe0LsOyWtyM52MSEqG3k1Ibif-mChyH_jjd-RCdMjH997UI4JcERsoZDLGsVijBv4ZGFCwIaKQKzlHraUqh7fVIj_-CtyikGR5YcrhiMJcKgS-BZOYFIFDKGYpTlHEqHolK0YjkrRCK1c95I-4AQrXMi3WmeZEUDIDCkEuyl7P7lkQ7SjIwjwfsSfPNmQl9KrJdBlEu4iCNmKJwO0D3f4AONvRE9L33CKTKkaFcYMclTt_teRI_SNUS7yVSYaq129qDTc58vpGJvehN63uBSikuDAXLnvTuVLJclX_AoVJYThxGXVt6jotV_YV91sV919Q8ZFyxrIr857TtuaoFKclxWlIYefnxmr6lrrp384Na0m3Tkr_F7mx_0Nu7JO5OSJ2ijqXmcazYmG1Tuqysn6Ml1j7qWWh5nin5LxaW3cnFaiyPkZt6lmn7vhZNWWXJygU6x8P_XwSO03qt0msTbIOSXaDxA5Jl22S_VPSZYNkHZKsNqn_Gz6xF5DYaZLdJjl_6pNT5mGRyqeHJAYO1nPrHvl8b1BuEEtdhjJYyacKW74TDXwhUo0URuIRB2hQrZMs0SaZAzeqwN3u1bcAAAD__wr9Uho= # Test that we can handle merge joins with equality columns of integers with # different widths. diff --git a/pkg/sql/opt/exec/execbuilder/testdata/union b/pkg/sql/opt/exec/execbuilder/testdata/union index fcee76a92bfd..64aa6098e181 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/union +++ b/pkg/sql/opt/exec/execbuilder/testdata/union @@ -226,7 +226,7 @@ vectorized: true table: xy@xy_x_y_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykkV9rgzAUxd_3KcJ92lhG1b751H8OhE477cbGEInmUgRrXBJBKX73oVI6yzr25817ruecX5IDqPccbHBeNuu565HrlRtuw8c1Jc9OsPBD54aEztpZbgkj94H_QFhCnjzX945yTebhcVc3xA9WTkAWr4QBhUJw9NgeFdhvYEJEoZQiRaWE7KRD_4PLa7ANCllRVrqTIwqpkAj2AXSmcwQbtizJMUDGUU4MoMBRsyzvY-tmVjdxHTdxxmugsBR5tS-UTbohLFn3eQdRS0FU-tSgNNsh2GZL_0ZhjilYMmNJzOLknIL9hMK6SHEqF5KjRD6unZm3ELVfoK4ypbMi1RPr3HARYvqbqwhQlaJQOEq_lGx0hMh3OJxIiUqmuJEi7WuG0e99vcBR6WFrDYNb9Kv-rT6bzf-YrW_N05HZaKP26iMAAP__HJAFqg== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckVFvmzAQgN_3K6x72jRHBfrmp7SFSUhp6CCbNk0IGXzN0AhmtlFBEf99MixrQc20xQ-Iu7O_-3w-gv5ZAYPgy8PmJtySt36Y7JKPG0o-B_FtlATvSBJsgrsd4eRDHN0TnpNP2zDantIduUlOta4nUewHMbn9SjhQqKXALT-gBvYNXEgpNEoWqLVUNnUcN4SiA-ZQKOumNTadUiikQmBHMKWpEBjseF5hjFygunKAgkDDy2rEdv2667Mu67NSdEDhTlbtodaM2CBpuP1dQTpQkK157qAN3yMw94VS6ANzBnqZlTu34vma5xnP8qUV_xcrb2HlnrV6lpFKoEIx11i77yEdXlH3S23KujBX3vLAWanrhZT3P6OKUTey1jjrdq6Ts-i0cu0VUOxxurKWrSrwQcli3DuF0QgaEwK1mareFIT1WHJtB4X88GemL0nupSRnSfL-SrqekZw5KaXwWMmnrBTAwPm9Vq98TgvsAb7XdtjJd_k0Ynd9Y0f1yCuNFO75D_TRoDqUtX32AphRLQ7Dm18BAAD__87xRpE= query T EXPLAIN (DISTSQL,VERBOSE) SELECT a, b FROM ab UNION SELECT x AS a, y AS b FROM xy ORDER BY a @@ -253,7 +253,7 @@ vectorized: true table: xy@xy_x_y_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykkV-rm0AQxd_7KZZ5asmWqHnzyfyxIKSaalpaisjqDkEwrt1dYSX43Yt6L7mGm8v98yQzZ86cn7MXUP8qcMH_fdivg5B83gXJMfmxp-SXH2-ixP9CEn_vb4-EUZKTb3H0nbCc_AyDKHxUDFkng9wN34cZ05Eo3vkx2fwhDCjUgmPIzqjA_Qs2pBQaKQpUSsihdRkHAm7AtSiUddPqoZ1SKIREcC-gS10huHBkeYUxMo5yaQEFjpqV1bjWdJ7pMpN1WckNUNiKqj3XyiWGkg4oJA0bqq-Q9hREq68hSrMTgmv39H0g9hyE5R7LM5bltyDDDV8D4twFueYLyVEinyd79oJ6zgLS_hniXal0WRd66dyaqOfcZVm95SgxqkbUCmcB9zZbAyTyE04_pkQrCzxIUYwxUxmNvrHBUelJdaYiqEdpfLWnZvsjZudF82pmtvq0__Q_AAD__9-WCy0= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckd9umzAUxu_3FNa52lRHBXrnK9rCJKQ0dJBNmyaEDD7N0AhmtlFBEe8-mbRrQc20xReg88ff-Z3PB9C_amAQfr1fX0cb8j6I0m36aU3JlzC5idPwA0nDdXi7JZySgnxM4jvCC_J5E8Wb50pPrlNbHuz_qacfSJwEYUJuvhEOFBopcMP3qIF9BxcyCq2SJWotlU0dpoZI9MAcClXTdsamMwqlVAjsAKYyNQKDLS9qTJALVJcOUBBoeFVPsv3g90Pe50NeiR4o3Mq62zeakZ6SASikLbfRCrKRguzMyxBt-A6Bua-oogCYM9LzwNw5GC98XuQ8L5Zg1tN_AfMWYO5JsBceqQQqFHMS372gvncB2fjGBkGlTdWU5tJbXqK-d5LtasHm_Y9pCepWNhpnA09NchaTVq7dAsUOj5tr2akS75Usp95jGE9CU0KgNseqdwyiZiq5doJCvv9j7Wsl91wlZ6nk_VXpaqbkzJUyCg-1fMwrAQycp7N64_N8wF7gO23NTn_Ix0l2O7TWqgdea6Rwx39igAbVvmrsy5fAjOpwHN_9DgAA__8_SEwU query T EXPLAIN (DISTSQL,VERBOSE) SELECT a, b FROM ab UNION ALL SELECT x AS a, y AS b FROM xy ORDER BY a @@ -280,7 +280,7 @@ vectorized: true table: xy@xy_x_y_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykkV9rq0AQxd_vp1jm6V7uhqh98yn_LAhWU01LSxFZ3SEIxrW7CivB717UltTSlLR9kpk5Z87P2SOo5wJscB623tL1yd-NG-2iW4-SeydcBZHzj0SO56x3hFGSkuswuCEsJXe-G_hk6XlvU02WUS9p---rTrckCDdOSFaPhAGFUnD02QEV2E9gQkyhkiJDpYTsW8dB4HINtkEhL6um7tsxhUxIBPsIdV4XCDbsWFpgiIyjnBtAgWPN8mJYq9uFbhOdtEnONVBYi6I5lMommpIWKEQV66sZxB0F0dSnEFWzPYJtdvRnIOYUhKULliYsST-C9He8BMQ6C3LKF5KjRD5NXpj_Ie4-ofXFTFRza6I-l2585wwhqkqUCi_cHFNAvsfxV5RoZIZbKbIhZiyDwTc0OKp6nFpj4ZbDaHin92bzN2brS_PVxGx0cffnJQAA___k4AiO +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckEFvm0AQhe_9Fas5tepaAXrbk52YSkgEUnCrVhVCCztxUTFLdxcFZPHfq8VJE1BctZ4DaGYebz7eEfSvGhj4X-_CTRCRt9sg3aWfQkq--Ml1nPrvSOqH_s2OcEoK8jGJbwkvyOcoiCOyCcOnbU82qZUM9v2o6wcSJ1s_IdffCAcKjRQY8QNqYN_BhYxCq2SJWktlR8dJEIgemEOhatrO2HFGoZQKgR3BVKZGYLDjRY0JcoHqygEKAg2v6sm2H9b9kPf5kFeiBwo3su4OjWakp2QACmnLbbeCbKQgO_N8RBu-R2DuC6pgC8wZ6WVg7hyMF2te5DwvlmA2138B8xZg7lmwZx6pBCoUc5K1-x6y8RX6SK5ke-XN1OdonAWN9z8xJahb2Wi86NLKtewo9nj6Vy07VeKdkuWkPbXxZDQNBGpz2nqnJmimlWsvKOSHP2G-dHIvdXKWTt5fnT7MnJy5U0bhvpYPeSWAgfNYq1ceTwX2A77XNuz0h3yYbHdDa6O657VGCrf8J27RoDpUTaVNVQIzqsNxfPM7AAD___qGSXU= # TODO(yuzefovich): The synchronizers in the below DistSQL plans are all # unordered. This is not a problem, but we shouldn't need an input synchronizer @@ -311,7 +311,7 @@ vectorized: true table: xy@xy_y_x_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykktFrnEAQxt_7VyzzlJAtOb3Ly0LBS86CYM5UpbQUkVWnV8G4dncF5bj_vawGLkru2kufZGbnN9_3De5B_a6AgfvtyV97W3K18aI4-uJT8tUN74PIvSaR67sPMeGUZORzGDwSnhFvG7thZNovrx1ZR2akN9-Xua4nQbhxQ3L_nWSUcKBQiwK3_BkVsB9gQUKhkSJHpYQ0rf0w4BUdsAWFsm5abdoJhVxIBLYHXeoKgUHMswpD5AXK2wVQKFDzshrWdr3T9WmfdmlZdEDhQVTtc60Y6SjpgULUcFN9hORAQbT6KKI03yEw60DfZ8SaGuGZw7M0S_nciDnlvxixLzGyKZUu61zf2lMXjkUd0wpkgRILRhybOtZJzeW7NJf_pbk6qXmUamsxLpsoJYb828gbxh9R7jBCHTS3q6n1uG-Qvfq_174PFCr8qa8c-4Y61s31J1nufh1Lk7PVjIyhT2W8u-SuIapG1ArnWd_cvDABsdjheDAlWpnjkxT5IDOWwcANjQKVHl-XY-HV45Mx-Bq2zsL2edg-C68msDWHlxfA9hxenYXvZraTw4c_AQAA__-l7pov +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykk19r2zwUxu_fTyHOVUtV6j_pjeAFt40HhrTu7DA2RjCyfZqaOZYnydSm5LsP2e2SmCRbOl3YnKOj33meg_QK6mcJDPyvj7Ob4IGcTYN4Hn-eUfLFj27D2D8nsT_z7-aEU5KST1F4T3hKgoe5H8Um_bbbkpvYlHTm_1bXdiSMpn5Ebr-RlBIOFCqR4wNfoQL2HWxYUKilyFApIU3qtS8I8haYRaGo6kab9IJCJiQCewVd6BKBwZynJUbIc5RXFlDIUfOi7LFt57Vd0iVtUuQtULgTZbOqFCMtJR1QiGtuoktYrCmIRm-aKM2XCMzeUhVMgVlr-jFh9q4wnno8TdKEj4WZ0f6NMGckzD5F2LRQuqgyfeXsqvJs6plUKHOUmDPiOdSzD2pwRxqcD2lw_0nDZKTBPahh07qpxADf6bwwJ_9UssfIPcolxqjD-mqya2Xe1ci23sfNbAYUSnzSZ55zQT374vx_WSyfN6Hx3WhGhiEc8nw98jw5Ze4RqlpUCsfe93ayRp0ubTMBzJc4TFSJRmb4KEXW1w5h2IP6RI5KD7vuEATV-5bSEvnq99XdJtlHSc5hkjUmOUdJkx2SvU1yxiT3BJKzTXLHpMlR0vUxdwsKT6V4SYocGFhv63LP532BOcCXylyA-Fm89FhzLRWwJ14qpHDPf-AUNcpVUZknmQHTssH1-r9fAQAA__9Mre2W query T EXPLAIN (DISTSQL,VERBOSE) SELECT b FROM ab INTERSECT ALL SELECT x AS b FROM xy ORDER BY b @@ -338,7 +338,7 @@ vectorized: true table: xy@xy_x_y_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycUWFrnTAU_b5fEe6nlmX0ab8FBr62DgT77IyMjSGSmDsnWOOSCMrD_z5USuej3fb6Lffce-455-YI9lcDDMKvD_E-OpCLu4hn_HNMyZcwvUl4eEl4GIe3GZHkU5rcEyFJdMjClM_YPo6f2gPZ86eZYSRJehem5OYbkUCh1QoP4hEtsO_gQU6hM7pEa7WZoeMyEKkB2I5C3Xa9m-GcQqkNAjuCq12DwCATssEUhUJztQMKCp2om2XtMAbDWAzFWNRqAAq3uukfW8vIXPBOzM8PkE8UdO-eFawTFQLzJvo2F97WhZCBkIUsxKkL-T8u_FddPIv3rTYKDaqNcD4z_zXyQpR7NBVydEl35W-TZGOHbPvVQKHBH-4i8N5ffjR19XN9AoWkd4wE3qvBrs85b4q2063F04Avbt7NqVBVuF7J6t6U-GB0ucisZbLwFkChdWvXX4uoXVrL5f8ke2eQvVOy_1fy9Ya8m_Lp3e8AAAD___LYInw= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklFvmzAQx9_3Kax7ajVXBfpmaVLShklISeggmjZNETL4QtEIZrZRQVG--2RY1oDSbZ0fkH13_t3_f-YA-kcJDPwvj8t5sCZXiyDexJ-WlHz2o_sw9q9J7C_9hw1JyccoXBGekmC98aPYxubL5Sndknl8qmk7EkYLPyL3X0kKFCopcM33qIF9Axe2FGolM9RaKhs69AWBaIE5FIqqbowNbylkUiGwA5jClAgMNjwtMUIuUN06QEGg4UXZY9tu1nZJm3RJIVqg8CDLZl9pRuwhrrnd3sD2SEE25qWDNjxHYO6ZpGABzDnS_1PljlXxdMbTJE34VFX6L6q8iSr3VVUvYppKKoEKxUjI1t78W8kFaytUOcZowvrWGzvbdDWy8a8AFErcmauZ-_76gyryp2ELFMLGMDJzXzV6NzHqvWX8EepaVhqnhi92ciadblxrG0WOwxi1bFSGj0pmfe1wDHtQHxCozZD1hkNQ9SnPdlDI97_f6ZzkvoHknpOcKcn7I-luRHLGpC2FXSmfk0IAA-fXurnwOS2wF3iu7bDjJ_ncY-27a2A7XmqksOLfcYEG1b6oCm2KDJhRDR6P734GAAD__4jhY2M= query T EXPLAIN (DISTSQL,VERBOSE) SELECT b, a FROM ab INTERSECT ALL SELECT y AS b, x AS a FROM xy ORDER BY b @@ -365,7 +365,7 @@ vectorized: true table: xy@xy_y_x_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycUmFrnEAU_N5fsbxPCXklp_m2UPCSWBDMmaqUliKy3r5eBePa3RWU4_57cW179ci1XD_JzM7sm3nuHsz3BjiEn57jdbRhV49RlmcfYmQfw_Q-ycJrloVx-JCzCplg79PkiYmKRZs8TLOJXsfxL8XI1tkkG6bvT-0wsiR9DFN2_5lVgNAqSRvxQgb4F_CgQOi02pIxSk_U3gkiOQBfIdRt19uJLhC2ShPwPdjaNgQcclE1lJKQpG9XgCDJirpx1w5jMIzlWA5lLQdAeFBN_9IazgZkIyBknZjQW0BIestZ4GPgQXFAUL09TjRW7Ai4d8D_S-UtU4kqEFVZleI0lUC3mctS-WdTHcP0rdKSNMlFkGJy_kvySrUn0jvKyCbdrb9slo8d8eWTAISGvtqrwLvBwL-5fqfr3bcj_N3Rw8A_2_Huks2nZDrVGjrt-urNq6kgyR3NCzOq11t61mrrxswwcT5HSDJ2PvVnELXuyP2EP83eBWbv1Oz_1Xy3MK8OxeHNjwAAAP__2Vku5w== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklFr2zAQx9_3KcQ9tVSltvsmGDhtPDAkcWeHsTGCkaOLa-ZYniRTm5DvPuS0TWzSjUwPNnc6_e7_P2kH-ncJDILvT7NJuCBX0zBZJl9nlHwL4ocoCa5JEsyCxyXJKOHkSxzNCc9IuFgGcWLTk9nsraIjk8SWtfb_Wtt2JIqnQUwefpAMKFRS4IJvUQP7CS6sKNRKrlFrqWxq1xeEogXmUCiqujE2vaKwlgqB7cAUpkRgsORZiTFygerOAQoCDS_KHtt2ftulXdqmhWiBwqMsm22lGWkp6YBCUnMb3QKFqDGM-B71XVjtKcjGHDtqw3ME5p5IDKfAnD39P5XuUCXPfJ6lWcrHKjntJ3WZSm-k0v1Q5VFcU0klUKEYCFvZk_8qOWN1jirHBE1U33lDp8uuRjZ8MkChxI258t0b6ns3159VkT8fw3fPLvW9Dz3fjzx7l9xMjLqWlcax97OdnFGnW9dOAEWOh4lq2ag1Pim57msPYdSD-oRAbQ673iEIq37Lsx0U8u37lZ2S3AtI7inJGZO8v5LuByRnSFpR2JTyJS0EMHBe1-2Zz9sCe4Dn2g47eZYvPdY-AQ1sw0uNFOb8F07RoNoWVaFNsQZmVIP7_ac_AQAA___y3m_O query T EXPLAIN (DISTSQL,VERBOSE) SELECT b, a FROM ab EXCEPT SELECT y AS b, x AS a FROM xy ORDER BY b @@ -392,7 +392,7 @@ vectorized: true table: xy@xy_y_x_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykklGLm0AQx9_7KZZ5uuO2JJrcy0LBXGIhkDtTlXKliKw6TQXPtbsrKCHfvaz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9htpxKVTPBZiqSt7ZZ-C2oDKSrdZe1uMS42KaUl8uXH7dolWSdJznGS1SfZJ0nDPZK1S7L7JOcMkr1Lcvqk4UnS7al9mlGY5-ItylJgMHh_rg_8bB4wL_CFMgcgfBVvLdacSQVsznOFFB75bxyhRrnMCnMfE2BaVrhef_kbAAD__zxH8Ts= query T EXPLAIN (DISTSQL,VERBOSE) SELECT a, b FROM ab EXCEPT ALL SELECT x AS a, y AS b FROM xy ORDER BY b, a @@ -419,7 +419,7 @@ vectorized: true table: xy@xy_y_x_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycUmFrnEAQ_d5fMcynhEzJab4tFLxcLByYeFUpKUVkvZ1eBePa3RWU4_570Wu5eCRt00_yZt7b9966e7Q_ahQYPm6i5foBLu7WaZZ-igg-h8ltnIaXkIZRuMpAEpTwMYnvQZYQPq7CTQbLKPq97mGZjpxh_P4i9gPEyV2YwO0XKAkkEjZa8YN8YoviK3qYE7ZGb9labcbRfiKsVY9iQVg1befGcU641YZR7NFVrmYUmMmy5oSlYnO9QELFTlb1dKwsA1kWZSGLSvVIuNJ199RYMVVAwrSVI3qP-YFQd-5kYp3cMQrvQP8XxJsH6YegH4qh6M-D9ATDvwTxXw1y8u8abRQbVjPvfFT-jfJCm3s2O07Zxe21Py-TDS2LZz8eCWv-5i4C_4oC7-ryg6l2308QCePOCQg8CvxXC9685aYTtq1uLJ8XffHkxdiO1Y6Pt2V1Z7a8MXo72RxhPOmmgWLrjlv_CNbNtJqewnOx9waxfy72_yi-mYkXh_zw7mcAAAD__266J6I= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckt9q2zAUxu_3FOJctVShlnsnGDhNPAgkdWaH0TGCkaOT1MyxPEmmNiHvPuS0S2LSba0ubM4ffef3SdqB-VUAh_BxPh1OHsjVeJIskq9TSr6F8X2UhNckCafhaEEEJRn5EkczIjISPo7C-YIMp9PXckOGietp3f-lsWlJFI_DmNx_JxklAiiUSuKD2KIB_gMYLClUWq3QGKVdatc1TGQD3KOQl1VtXXpJYaU0At-BzW2BwGEhsgJjFBL1rQcUJFqRF52syAKRpVkq0lw2QGGkinpbGt5ZAApJJVw0gOWegqrtcYixYoPA2QnVZAzc29OPgbFzsKYNmjZt06YP1lDS_g-Y3wNjb4IdeepSaYka5RnL0u38V8sFdzPUG0zQRtWtf25u0VbITx4GUChwba8C_4YG7Ob6s843T8cQKES15SRgNPDfNHzXM-y_5yZiNJUqDfaNX5zk9SYNmLOPcoOH4zSq1iuca7Xqeg9h1Al1CYnGHqr-IZiUXYm5CRrF9s9DOlVi71DyT5VYX8n_q9LdmZJ3zrSksC7Uc5pL4OC9rMGFz-sCt0FsjDvs5Ek9d7Lu_g3wtSgMUpiJnzhGi3qbl7mx-Qq41TXu959-BwAA__9n92iJ statement ok CREATE TABLE abcde (a INT PRIMARY KEY, b INT, c INT, d INT, e INT, INDEX (b, c, d, e)) @@ -465,7 +465,7 @@ vectorized: true table: abcde@abcde_b_c_d_e_idx spans: /1-/2 · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykkt1q20AQhe_7FMNc2fUERX-hLAQ2iRUqSKVUcv8oxsjaIYgqkrtaQ0rwuxdJgcRupCbtjWBn58x3NGfvsflZosDg6_XVWRjBZB6mi_TjFcHnIDmP02AKaXAVXCzgLVwm8QeYPBwzgjVBTqAIuL_K1rli-BSFcQSPXXnXeNA1hS_vgySASQ6nYE_hLJrDRMEp8BTiZB4kcP4NMiSsasVRdssNiu9o45Jwo-ucm6bWbem-awjVHYpjwqLabE1bXhLmtWYU92gKUzIKXGTrkhPOFGvrGAkVm6wou7GdI9l9V-tVvlIrXhXqDgkv6nJ7WzVi_2-RMN1kbdmyjywHlzvCemse2Y3JbhiFvaOX-7ssSsOatWXvm-vrAqQHpyD9QZjzGlhaa8PacvZR0p4hYbw1AqRN0iXpkPRoBOq-Bvo0AXc4gc0P_vWC1R8NmvL-ae3e82ufSLd9oUKIMFq8e3ioD1lMBy34gxYeybVWrFn9EQFJZ0bSnZH0ZiT9GS53z_ieF40pqtxY_uGALjX3L8GdvGZHCTebump4jzQ0-bh1y-qG-79t6q3O-VrXeYfpj3Gn6wqKG9Pf2v0hrPqr1uBTsT0qdsbFzqjY3xPbh2J3VOyNk73_Ifuj4pMD8nL35ncAAAD__z5f0Us= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyck11v4jwQhe_fXzGaK3gxgnxQrSxVSltSbaQWugn7pRVCJp52o4aYtY3aquK_rxLoFrIN2zYXljweznnsMzyi-ZUjx_Db1cVJNILWMEomyacLBl_C-HSchG1IwovwbAL_w3k8voTWdisYzBmkDCQD2hyJeSoJPo-i8Qieu9KqsdbVhq8fwziEVgrH4LThZDSEloRjoDaM42EYw-l3EMiwUJJGYkEG-Q90cMpwqVVKxihdlh6rhkjeI-8zzIrlypblKcNUaUL-iDazOSHHiZjnFJOQpHt9ZCjJiiyvZCuioFpn81k6kzOaZfIeGZ6pfLUoDN-_LTJMlqIs95xuz8XpmqFa2WdvY8UNIXd2YKMh8v6avZ73PMstadI9Zx92U-cQ-HAMwaDR3K2ZO28xT5S2pHvuvnXgdJDheGU5BA4LPBa4LPDZAQivBuG-BWI3Ma85seUtPbwiqm4jpF-D9N4Vk_9yTK3AKyeccx6NJh-2g77Nrt2INKgh-Y1IzyRKS9Ik_4qMBW6HBV6HBX6HBYMOTtcv3GOYGZsVqe0N6gJVyt4_gj6qAQ_e8oYxmaUqDO05Nzn1a05dp7wOyRvaPIdRK53SlVZp1bvZjiuhqiDJ2M2ps9lExdORsZrE4s8_dVfJOajkNis5dSX3oNJgT8nZVfLrSt5BJb-Zya0r-e9l8upKg4NKR4defMrwOld3s0wix_72676wPH1Y_kDcmHKUkp_qrpKdPCzLQbgWuSGGl-KWhmRJL7KiHPAUudUrWq__-x0AAP__nOkuBA== query T EXPLAIN (DISTSQL,VERBOSE) SELECT * FROM (SELECT a, b, c, d, e FROM abcde UNION SELECT a, c, b, d, e FROM abcde) WHERE c = 1 AND d = e ORDER BY b, c, d, e, a @@ -504,7 +504,7 @@ vectorized: true table: abcde@abcde_b_c_d_e_idx spans: /1-/2 · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyskl1r20wQhe_fXzHMlf16gr2SDGXBsEmsUIErpbL7RTFG1g5BoEiudg0B4_9eJBn8QeQ2bW8EOzNnzqOzu0PzI0eJ_tfH2W0QQm8azBfzjzOCz358F839Psz9mX-_gP_hIY4-QO9wTAjWBCmBJuC2laxTzfApDKIQjlNpM3gx1Ycv7_3Yh14KExB9uA2n0NMwAe5DFE_9GO6-newnSJCwKDWHyTMblN9R4JJwU5UpG1NWdWnXDAT6BeWIMCs2W1uXl4RpWTHKHdrM5owSF8k655gTzdVwhISabZLlzdqGTjXf1XqVrvSKV5l-QcL7Mt8-F0ae_zkSzjdJXR6Km6GDyz1hubVHb2OTJ0Yp9vT7fA9ZbrniaijO4dq6BOXBBNQYCaOtlaAEKZeUQ8ojNe5EcN6CcBqR868iuulkc_8oHvf1eHrKrV-VlDIIF-8Oj-uQWb8TwetEODqXleaK9bmtcgak3AEpb0BKDEiNB7jcv8I9zYzNitQOvYsFork89xf3N35LRjGbTVkYPnPq2jyqaVk_cfu3ptxWKT9WZdrYtMeo0TUFzca2XdEegqJt1YCnYnFV7J2JxaXYuSp2rzu7f-PsXRWPL5yX-_9-BgAA__8eXKOT +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJysk29v2jAQxt_vU5zuFYxD4CRIk6VKbkuqIbXQBfZPE0IhvnbRQsJso3aq-O5TAl0hKmyt5heWfL489_Nzlwe0PzOUGH65vjwdDKHRH4wn4w-XBJ_C6Gw0DpswDi_D8wm8hYtodAWN7TEmmBMkBJqAN1fxPNEMH4eD0RCespIqsZbVhM_vwyiERgInIJpwOuxDQ8MJcBNGUT-M4Ozrjj5BjIR5oXkYL9ii_IYCp4RLUyRsbWHK0EOVMND3KLuEab5cuTI8JUwKwygf0KUuY5Q4iecZRxxrNp0uEmp2cZpVshWdqvbZfJbM9Ixnqb5HwvMiWy1yK_dfjoTjZVyGO6Ld8XC6JixW7qm2dfEtoxQ7sIM-yu6a_p33Is0cGzYdsQ-7iUtQAZyA6iHhaOUkKEHKJ-WRCkj1DiJ5NSTxEqRdC73_ZWH7IKtfY_VeZZ__vH0N5ZdTKKUcDCfvtsO49bR5ECmoIfkHkZ5ICqPZsN7HUF6LlN8iFbRIiRapXgun62fe0U-tS_PEdYKagKia7f-l370acPASDyO2yyK3vFf5UKVurVJblM9hfcsbO2yxMglfmyKpcjfHUSVUBTRbt7kVm8Mgf7yyznC8-PMH7SqJo0rBnpLYVfLrSt5RJf8wk6gr-a9l8upKwVGl3jGfpoQ3WXE3SzVK7G5X-5ntcWH5QXxrywEYfy_uKtnJr2XZvps4s0x4Ff_gPjs2izQvxzJB6cyK1-s3vwMAAP__Vm_2-g== query T EXPLAIN (DISTSQL,VERBOSE) SELECT * FROM (SELECT * FROM abcde UNION ALL SELECT * FROM abcde) WHERE c = 1 AND d = e ORDER BY a @@ -543,7 +543,7 @@ vectorized: true table: abcde@abcde_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0kF9rnEAUxd_7KS73SdsJu64GysCCm6yhgtVUt_8oUmadS1hqHDszCy3LfveiFhJDVpL-eRHuuXPu-XkOaL7XyDH6dJ2s4hScdVxsincJgw9RfpEVkQtFlESXG3gJV3n2FpzxKLaVJHifxlkKqySBR7YufHwT5RE4FSzBc2GVrsGRsARyIcvXUQ4Xn0Egw0ZJSsUtGeRf0MOSYatVRcYo3UmH_kEsfyCfM9w17d52csmwUpqQH9DubE3IcSO2NeUkJOnZHBlKsmJX92d7orD_fm2_0U9keKnq_W1jOAgGWwYVA8mAkGHRik4-w_LIUO3tXaCx4oaQe0f2dKirXW1Jk555Y6JB5-CEftcP5zxON69_1xQGsITw3D2JsHgOwv1eFv-xF_-PevH_ZS_BSYS7ZKUlaZLj2NB7heXxEc5Unal2Foxen0qfP6eAnEyrGkNPvFwyJHlDw68YtdcVXWtV9THDmPW-XpBk7LD1hiFuhlUHeN_sTZqDkdl7aF5Mmv3pZP9vkoNJ8_mD5PL44lcAAAD__4rljdI= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k29v2jAQh9_vU5zuFWxGxSSVJkuVaEuqRaKhS9g_Tagy8ZVFDXFmG3UV4rtPCe0KEaAVbX5hyXfH44dfkiXanzkKDL7eDM_DCFqDMBknH4cMPgfxxSgJ2pAEw-ByDG_hKh5dQ2v7KKepIvgUhaMIzodD2NFtw5cPQRxAK4Uz4G04jwbQUnAG1IZRPAhiuPgGEhkWWlEk52RRfEeOE4al0SlZq01VWtYDofqFosswK8qFq8oThqk2hGKJLnM5ocCxnOYUk1RkTrrIUJGTWV5ja6N-vd-W9_SIDC91vpgXVoBkMGWQMlAMCBkmpazKHZysGOqFe7nQOjkjFHzDMByg6K7Y30teZbkjQ-aEbxuu6wJafa_KSwgRRuP3T7H1fTiD_ml7r1KvocRfo7SZW-8_5uY1JHtH5eb9y9z8hpK3V-nFRBtFhtS2Rp-_w8lqh3ekO7o88bem99l0Gzb-awKKyZa6sHTUTR1euZOa0fq_Wr0wKd0Yndaz6-OoBtUFRdatu3x9CIvnlnWG5PzPd7FJ4gdJ_haJb5K8Jql3kOTtd-JNknesU69J8g-STg_lNGF4l-uH20yhwO7T6uzYnhdWP5AzW70AyQ_9UGPHj2X1-O5kbonhtbynATky86zIrMtSFM4saLV68zsAAP__BmPhOQ== query T EXPLAIN (DISTSQL,VERBOSE) SELECT * FROM (SELECT * FROM abcde UNION ALL SELECT * FROM abcde) WHERE c = 1 AND d = e ORDER BY b, c, d, e, a @@ -582,7 +582,7 @@ vectorized: true table: abcde@abcde_b_c_d_e_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0kG9rm1AUxt_vUxzOq2Q5JTFaGBcCpo1lQqadZv8YIsZ7KIL1unsNFEK--1AHjaUJ7ba-Ec5zfM7zu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fyjbJOUjyd0jONsnrktyDJG-_k9Mlea91crsk_yDp-FBOc4bXpbrNCokcRw9j-Mz0OLA5IG5M8wdIv6vbFjv7VTc_37UoDTG8FD9oTJb0sqgKY4scudUrWq_f_A4AAP__UwXrgQ== query T EXPLAIN (DISTSQL,VERBOSE) SELECT b, c, d, e FROM (SELECT b, c, d, e FROM abcde INTERSECT SELECT b, c, d, e FROM abcde) WHERE c = 1 AND d = e ORDER BY b @@ -621,7 +621,7 @@ vectorized: true table: abcde@abcde_b_c_d_e_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lF1r20wQhe_fXzHMlYT3xdGHnbJg2CRWqMCxUkn0g2KMrJ26AkVSVytICfnvRVJLbDdW65DeCPbMPnvOnAs9YP0tR47ex9vFhb8EY-5HcfRuweC9F14GkWdC5C28qxg2DFIGkgHBdRjcgHFETzapJPCXsRdG7Xzomgkf3nqhB0YKM7BMuFjOwZAwAzIhCOdeCJefYIMMi1LSMrmjGvlntHDFsFJlSnVdqlZ66C748h75GcOsqBrdyiuGaakI-QPqTOeEHONkk1NIiSQ1PkOGknSS5d2zXSLRfdebdbqWa1pn8h4ZXpV5c1fUfGcJZBhVSav9j6tHhmWjn0xrnWwJufXI_j7YdZZrUqTG1n6qXudgCLvtiHPuL-M3P6sSDsxAuObRCPYpEXa7sf9xN86LunFesxv3lAjzrNZZkeqxux9BWEzYTDhMtINASVIkObSyc9R58iLnySs4T486Pxk2Rdk_tue3ask_XXkm_g2pLUWkg2o83V8g_l4R3_lRXCwWyDCnL9oQ1ogJZ8SEPWLCHZkzlW2__i63eze63_lXFcc2Pz-l85DqqixqOmzg2ZfP2rVJbqmvsS4bldKtKtPOpj8GHdcJkmrdT63-4Bf9qA24C1uD8GQYtgdhZxh2BmF3GHYH4ekebB3CkxNg-xCeDsLnB7FXj__9CAAA__-QiTB0 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lN1u2jAYhs93FdZ3BMIV5Ac6WUJKW1ItEoUuQfvRhFCIv9JoIWG2o3aquPfJSbuGrMlG1eUgUl47jx-_AT-A_JEAA_fL9fTMm5HOxAsWwccpJZ9c_3weuF0SuFP3YkHWlESUcEqQXPrzK9JpyMN1xJF4s4XrB3q8bVqXfP7g-i7pRGRMjC45m01Ih5MxwS6Z-xPXJ-dfyRoopBnHWbhFCewbGLCksBNZhFJmQkcPxQSP3wMbUIjTXa50vKQQZQKBPYCKVYLAYBGuE_Qx5Cj6A6DAUYVxUmALI6e4r9araMVXuIr5PVC4yJJ8m0pW2QRQCHahzk5guaeQ5ep5UanCDQIzKpbeBNhgT_9d9DJOFAoUfePQsswZ6Tim7owx5s0W7x-rcywyJo7dbVQya0rGMUrV7sz_3J1VEzVf1Z31lt3ZNSXrGKVJLFWcRqpvHyo5BnVM6ljU0QNzwVEgZ0THVqPJsGZiv8pk-AYmo5rJsNHkWSBPsxJ-sP5Sv_m3KS9s5wrFBgNU811_dLihxc8dsspBdDadAoUEb1THMXrUsXrUMXvUsXvdsYg3t3_GuodclR08VdPUxGmtidEx38RHuctSifVGXlxpUFvpxNC9IN9g2bPMchHhtciiYm75OC9ARcBRqnLUKB-89GlIKoHh9vdZVSUZraRhM8mqk8xWktVMMuokq5VkN5PMOsluJY0OSEaVZNdJwyNIZpU0rJNGraTTtm-3pHCTZHermAODweN18sLt6QL9QriR-kcZ3GZ3BVb_gSSwmzCRSOEq_I4TVCi2caqPkAiYEjnu9-9-BQAA__9f4pZj query T EXPLAIN (DISTSQL,VERBOSE) SELECT b, c, d, e FROM (SELECT b, c, d, e FROM abcde EXCEPT SELECT b, c, d, e FROM abcde) WHERE c = 1 AND d = e ORDER BY b, c, d, e @@ -660,7 +660,7 @@ vectorized: true table: abcde@abcde_b_c_d_e_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0lN9q20wQxe-_pxjmysL74eiPnbJg2CRWqMGxUkm0KcUYWTt1BYqkrlaQEvLuRVJDIjdS65DeCPbs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d3rqHknKI0SKRKsli13X0lz6KeTT2HenpgIjgK5Izo2Kk16Rom7ptMuu9g0jNMurUmrwJFllfwvf1neuWfphx4nRsUSwxRTdbt3v4LTX-skW2Po4vRCCikeK8antWintOint2inttq9kWyfPg91iUUqipg20tdDedGDb1TPkiAcp1nEs06Du7UMXY6s3QpyJdYlSzzQsR4K_K4nFs9TkpQGXCUqhq1qodhth2SSmC0-nVQ7ZKsoyS3nmSbJPsoyaknWSbJOUrq1pMck-QeJfX2SNYuyTVJ3RNI9i6pa5J6R0nnx77djMJ9mj_OEw4MOi_X2YHb9gK9IFpK_aMMH_LHEqv_PRLYfZRKpHATfcMBKhSrJNPnRwxMiQI3m_9-BgAA__-PI5aj query T EXPLAIN (DISTSQL,VERBOSE) SELECT * FROM (SELECT * FROM abcde EXCEPT ALL SELECT * FROM abcde) WHERE c = 1 AND d = e ORDER BY a @@ -699,7 +699,7 @@ vectorized: true table: abcde@abcde_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k--L2k4Qxt9__4phXiVfp2h-CGVBWE9zVPCMTUJ7pUiJydRKc0m62UAP8X8vSQqnoraW9k1gZvbZ55lP2B1W3zIU6D0u5-PZAozpLIzCt3OCd15w54eeCaE39yYR_A_3gf8AxnEZr5OUwXuceMsIxvM5nBmb8P6NF3hgJDACy4TxYgpGCiNgE_xg6gVw9wFiJMyLlBfxE1coPqKFK8JSFQlXVaGa1q49MEu_oxgQbvOy1k17RZgUilHsUG91xigwitcZBxynrPoDJExZx9usvbZNJNvvp_IrPyPhpMjqp7wSEBOsCRKClICRMCzjpv0KV3vCotYvhpWON4zC2tPvh7rfZpoVq751nKjrCzCk0_ARQswW0eufmKQLI5BD82IE-5YIh1zsf8jF-SMuzt_k4l6M8OJc54VKWXF6ZLxqlL86cmaPB1YbDln7Zd893iR6LlkcPBIkzPizNqTVI2n3SDo9km6P5LBnjtR28-X8CAn9WguQFkmbpEPSJTm8SGB4y08IuCqLvOJTEmdvHjTrc7rhDmdV1CrhpSqS1qYr_VbXNlKudDe1umKWd6Mm4KHYuip2j8TWqdi-KnauOzs3ONunYveqeHjivNr_9yMAAP__Ptiy3A== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k29r2zAQh9_vUxz3KlmuNP4TGIKA2sZlgTTp4rB1jFBU-5qaOrYnyXSl5LsPO-2amCRbx-YXBt3Jjx79LD2h-Z6iwODqcnQyHENrMAxn4acRwedgejoJgzaEwSg4m8F7OJ9OLqC1PVQ3UcwQXJ0FlzM4GY1gR7sNXz4G0wBaEfTBacPJeACtGPrAbZhMB8EUTr-CQsIsj3mslmxQfEMH54SFziM2JtdV6ameMIx_oOgSJllR2qo8J4xyzSie0CY2ZRQ4UzcpT1nFrI-7SBizVUlaY2sjWb-vi3t-RMKzPC2XmRGgCG4IIoKYgJEwLFRVPsL5ijAv7euCxqoFo3A2DIcDFN0V_bnkeZJa1qyPnW3DdV1AS3pVXkKI4Xj24Tk26UMfZK-9V8ltKDlvUdrMzf2PuXkNSfevcvP-ZW5-Q8nbq_RqUma5jllzvCUyr7783ZQd-7pgveCQ7aQ49rd3NnssWGxcMiRM-da2pNMh6XZIeh2Sfodkr9Pu62Rxt7uFhJPSCpAOSZekR9In2dubSK-RiP-WnzRlU-SZ4WYyO1fqNlY6cqp8OF7wOm-TlzriS51H9dz1cFKD6kLMxq67znowzF5axmpWy193c5PkHCT5WyRnk-Q2Se5BkrffyWmSvDc4uZskr0nyD5J6h3KaE96m-cN1EqPA7vNztOP18mD1gVqY6gCEd_lDja0OrUFxq1LDhBfqngdsWS-TLDE2iVBYXfJq9e5nAAAA__9aXAZS query T EXPLAIN (DISTSQL,VERBOSE) SELECT * FROM (SELECT * FROM abcde INTERSECT ALL SELECT * FROM abcde) WHERE c = 1 AND d = e ORDER BY b, c, d, e, a @@ -738,7 +738,7 @@ vectorized: true table: abcde@abcde_b_c_d_e_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#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fVTJbSg5b1Hajc_9-_F5DVf3t-Lz_mR8fkPJO6r0alLmhVasWe2JzKovf9ZyYF83rJccsZ2sz_39nU2_rVns30AkzPjOtqTbIel3SDodkl6HZK_T7ut0eX94CgknpRUgHZIuSY-kT7J3NJReIxT_Lf8pZLMucsPNcA6u1G2sdOZUEbFa8jZyU5Q64VtdJHXvdjipQXVBsbHbWWc7GOYvU8Zqjlc_bukuyTlJ8vdI7i7Ja5LckyTvuJPTJHlvcHJ2SW6T5J8k9U7lNCO8y4qHeapQYPf5OTvwenmw-iBemuoARPfFQ42tzq1BcRdnhglv4i88YMt6leapsWmCwuqSN5t_vgcAAP__6WYQDA== # Regression test for #64181. Ensure that a projection on top of an ordered # UNION ALL correctly projects away ordering columns. @@ -791,7 +791,7 @@ vectorized: true row 0, expr 0: 'd' row 0, expr 1: 'd' · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykkUFv1DAQhe_8itFcHIPRJllOPnVLA0QKSYm3BYT2kMajaqUQZ20HbbXa_46SCJWtmqqF23j8vvfGngO6XYMSk2-X2SrNIbhI1Vp9yQRcJ-V5oRIOX9P1J9hBsBdwx2GlIFBJlrxfw2v4UBafIbheZVeJgoBVTACrGBcQsJuhvpnqeqhrxjlc5WmRwyrLYM5DD1rNOOd_JIyYgLtJt4OivEhKOP8OexTYGk159ZMcyh8Y4UZgZ01Nzhk7tA6jINV7lKHAbdv1fmhvBNbGEsoD-q1vCCU2pq4a-FU1PTkIFyEK1OSrbTPqjwJN7-9p56tbQhkdxT8mRIvoWQnxSxKUsZ7sIj5xxrPoDc7ZL2ft712N1WRJP2b6yAy5eWu6xfJUXVKrycphkVJKtS7T_KOAs3h2rvAlzy7JdaZ19KwPDYehSd_S9EhnelvTpTX1GDMdi5EbG5qcn26X0yFtx6tx83_D0ZNwfAKHD-H4f5KXT8LvHiRvjq9-BwAA__9bjjq0 +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckdFvmzAQxt_3V5zuBdgcBcie_NR0YRsSJR2k3aYpmihcMzSCE9tZE0X53yfDuiYoidr6Adnnz9_v426Lalkhx-DbdTQMY7BHYTpJv0QMboPkcpwGDnwNJ59hCfaawcaBYQp2GkTBhwm8hY_J-Ars22F0E6RgW5nFwMosh4Ft3Zn9XbvPzT63HAdu4nAcwzCK4JRHYbSF5TjOo8Qii8Gm1S1hnIyCBC6_wxoZ1qKgOJuTQv4DPZwyXEiRk1JCmtK2EYTFGrnLsKwXK23KU4a5kIR8i7rUFSHHSuRZBX-yakUK3L6LDAvSWVk1-h1DsdJPr5XOZoTc28OFI-Tujr2S6PW9ZxH9DtF7CTEVUpPs-wckvPDe4SncoIPzT-KeKEIWJKk4BjmSKRY9segPDtUJ1QVJbgbPOU8nSRh_YnDhn8zpdnIOXtKWhNRC1IqeNYAuqeeZv6JiRm0XlFjJnK6lyBttexw3Rk2hIKXb20F7COvmyjMESdn8f5v3nbyzTv6Bk7vv5Had_Ndm8rpOg7NO789lmjK8r8TDz7JAju6_1TvyeVxoHmQzZcaW_hIPje1kszBNv88qRQyvst80Ik1yXtal0mWOXMsV7XZv_gYAAP__fyyE2g== # Regression tests for #64062. Use a streaming set operation even though the # ordering is not required. @@ -819,7 +819,7 @@ vectorized: true table: abcde@abcde_b_c_d_e_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykkV-rm0AQxd_7KZZ5asmU6583n2zvtSCkmmpaCkVk3R2C1Lh2d4WU4Hcvrg1JSi1t74sw53jm_BzPYL51EEHyebd9k2bs5VNa7ssPW2SfkuJtXiavWJlsk8c948gaZIK9K_L3jDdCEvuYpXl28WcTmbzxAaFXkjJ-JAPRF_ChQhi0EmSM0rN0di-k8gSRh9D2w2hnuUIQShNEZ7Ct7Qgi2POmo4K4JP3gAYIky9vOrXVdsXvWTS1qWVPdyhMgPKpuPPYmurABQjnwWXgN1YSgRnttNJYfCCJ_wv-j8tephq_0_Rbn5yn_BidYxblSKC1Jk7zvj_0NxsEG43AD1fQb9qfW2LYX9iH4NYhxgHG4ihT-y4UKMoPqDd11rG32Zk6SB1q-z6hRC9ppJVzNMuYu5wRJxi5usAxp7yz3C2_D_nPCwR_D4V3Ym6rpxY8AAAD__8epEIU= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckVFr2zAUhd_3K8R92sgNtZ03PXlrMjCkSRdnYzCMUaTbzNSxPEmmLcH_fUhp1sQ0Y6sfBLpHOufT8R7srxo4zL7fzj9mC_Z-muXr_Msc2bfZ6tMyn31g-Ww-u14zgWyDTLLPq-UNExupiH1dZMvFUfciMnWiA0KjFS3EjizwHxBDgdAaLclabfxoHw5k6hF4hFA1bef8uECQ2hDwPbjK1QQc1mJT04qEInMVAYIiJ6o62IasNKzlppSlKqms1CMgXOu62zWWH9kAIW-FH4yh6BF0514SrRNbAh6fIGZT4FGPb6OML1O29_R0ivdc7b_gJQO8-CLeC5U2igypc540HmGajDCdjKDoX3nLtLKuaqS7SoYXMU0wnVxEnAwQk_9pcEW21Y2ls8xLSdEgaRz7h5Da0qEAqzsj6dZoGc4etstgFAaKrDuoyWGTNUGKfYIhsfvT8KlT_FanaOiU_NVpcuYUnTsVCHe1figrBRyi52_8ynL8wF8QW-vLzn_qh2C7fmp9VXeitoRwI-5pSo7Mrmr8z5fAnemo79_9DgAA__-r8lFs # Use a streaming set operation even though the ordering is not required. query T @@ -846,7 +846,7 @@ vectorized: true table: abcde@abcde_b_c_d_e_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycUWFrnEAQ_d5fscynhJuS0_u2UDBNLQjmTFVKoYjsuVMrNa7dXSHh8L8X15RoyLW9flnYN-_NvDdzBPOzBQ7hl7v4Otqziw9RlmefYmSfw_R9koWXLAvj8CZnAtkBWcU-psktE4dKEov2eZhmU_GJMxGQyQUHEDolaS_uyQD_Ch4UCL1WFRmj9AQdHSGSD8C3CE3XD3aCC4RKaQJ-BNvYloBDLg4tpSQk6astIEiyomldWzcrcG95KKtSllQ28gEQblQ73HeG__YGCFkvJuAtFCOCGuzzRGNFTcC9Ef_PlXfaVf-DHpd2ntb5L3b8k3aeXQyd0pI0yZWDYlL-jfJKplvSNWVkk_7KX0fKH3vii8NfxzEgtPTNXgTeBgN_g8Fuc_lON_X3NQQIyWA5CzwMfAx2J-Puztl-SqZXnaGXsV_tvJ2ykqxp3p1Rg67oTqvKjZm_idM5QJKxc9WfP1HnSu4eS7F3hth7Kfb_KN6txNuxGN_8CgAA__-Swi3t +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckt9r2zAQx9_3V4h7asmF2s6bYOCu8cCQH10cxmAEo1iX1NSxPEmmLSH_-5CTrrZJtrV6EOjuq-997qQ9mF8FcIh-3E9u4xm7GsfJMvk2QfY9WnyZJ9E1S6JJdLdkAtkaWca-LuZTJtaZJBbPltEiccmTxgmQyZYGEEolaSZ2ZID_BB9WCJVWGRmjtAvtG0Esn4F7CHlZ1daFVwiZ0gR8Dza3BQGHpVgXtCAhSd94gCDJirxobJtaYbOn6zRLZUppLp8B4U4V9a40_JUNEJJKuMAQVgcEVdu3isaKLQH3W4jxGLh3wI9R-pcpq0d6aeOdxvs_eEEPz7-I90ZVl0pL0iQ7RCt381-SMz1OSW8pITuvboJui8uXinjrY9xOJoBQ0MZehf4Aw2CA4Whw_Vnn24duCBDmteUs9DEMMBxdbH_Uaz94z-ssyFSqNNQfw9lKXq_S0HfDILml43CNqnVG91pljfZ4nDdGTUCSscdscDzEZZMKXAVNYvfn9dpO_juc_LaT13cK_uo06jh5XacVwqZQT2kugYN3WsMz2-sCd0FsjRt28qCeGlv3GwzwjSgMIUzFI43Jkt7lZW5sngG3uqbD4dPvAAAA___4bm7U # Use a streaming set operation even though the ordering is not required. query T @@ -873,7 +873,7 @@ vectorized: true table: abcde@abcde_b_c_d_e_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0km-LnDAQxt_3U4R5dcdOOf-8CxS8Xi0I3npVKYUiomZqBc_YJM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ming set operation even though the ordering is not required. query T @@ -900,7 +900,7 @@ vectorized: true table: abcde@abcde_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklFr2zAQx9_3KcQ9teRGYjt9EQzcpR4E3DqLzSgMYxzplpm5lifJ0BLy3YftZY1DkyV9Meh0P_1_d3gD5ncJHILHRXg7f2BXd_M4ib-GyL4Fy89RHFyzOAiDWcJWyAQyyb4so3uWr4QkFjzOgkWya8iRSWS01wAIlZL0kD-RAf4dHEgRaq0EGaN0W9p0DXP5DHyCUFR1Y9tyiiCUJuAbsIUtCTgk-aqkJeWS9HgCCJJsXpTds12W332zVSYymVFWyGdAmKmyeaoM38kDQlznbeEjpFsE1djXRGPzNQF3tvg-K-e4Vf2LXvZ1_q7qHB33Ep27wtiiEnbsDl18B30XfQ8QIi1Jk-TsX-1YsveuZO-c5KOZ06OZr1FNpfqXBklpS_6v5Q3xe9JrislG9Xg6VE9eauK7f_w2DAGhpB_2yndG6Lsj9L3R9SddrH8OS-2kjT1jvzeX7HdJplaVocOZ33x50g5Kck394oxqtKCFVqKL6Y9Rx3UFScb2t25_mFf9VSu4DzsnYe807J6EpwPYOYS9C2D3EJ6ehG8OtNPthz8BAAD__1Kcnxo= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyck1Fr4kAQgN_vVyzz1NIpmsS-LBykpzkQtHpGjsIhYc2ONjRmc7sb2iL-9yOxtjGop81DYGdnv_lm2F2D-ZsCh-BxPLjvP7CrXj-chr8GyH4Hkx-jMLhmYTAIulM2RxYjk-znZDRkYh5LYsFjNxhPdwkCmURGtQRAyJSkB7EiA_wPODBDyLWKyRily9C6SujLV-BthCTLC1uGZwix0gR8DTaxKQGHqZinNCEhSbfagCDJiiStsFUtv_pH8yiOZERRIl8BoavSYpUZvpMHhDAXZeAWZhsEVdjPisaKJQF3aor9HvD2Br9m6Ry3zJ_pra73Prpz9NyGnnOJXi8xNsli23L33XwHfRd9DxBGWpImydlH7JiJ1zBxv2TinWNy1KHTcPCOOnyWLjK1Je9VnpUn_5dyoJEh6SWFZEd5q7PfyvQtJ757I_eDASCktLBXvnODvnuDvndz_V0ny6f9UNl5Yc-Y_12j984l85-QyVVmqDmDg5XajUq3TjkJkkvaTtaoQsc01iqucrfLUQWqApKM3e6620U_220Zq0msPt5ZneScJHnHSU6T5J4kdfZITp3kNkneBSS3TvKapM5J0t2pOc0QFql6iRIJHNrv3-2B3-6D8oBYmvIChE_qpcKW19MAX4jUEMJQPFOPLOlVkpVPMwZudUGbzbd_AQAA__-RwvKB # Use a streaming set operation even though the ordering is not required. query T @@ -927,7 +927,7 @@ vectorized: true table: abcde@abcde_b_c_d_e_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklFrnEAUhd_7K4b7lLC3ZHXfBgqmWwsLJm5XKYEiMjq3VmocOzNCwuJ_L44N0ZBtu3kR5sw5c78z4xHMrwY4hHf76Hp3yy4-7ZI0-RIh-xoePsZJeMmSMAq3KRPICmQl-3yIb5goSkksvNuG-5RdR9GTaXQgkzMTILRK0q24JwP8G3iQIXRalWSM0qN0dIadfAC-RqjbrrejnCGUShPwI9jaNgQcUlE0dCAhSV-tAUGSFXXjjnWzAvfNu5_0CAhb1fT3reFP5ICQdGIU3kM2IKjePo8yVlQE3BvwbTjeaZwiL3OZU17LhznVn6v6Hyr_JNUzTN8qLUmTXIBkY_Jflleq3ZCuKCEbd1f-sln62BGfvTwgNPTdXgTeCgN_hcFmdflB19WPpQQIcW85CzwMfAw2J7tuznmBA5lOtYZedn715PVYlGRF08UZ1euS9lqVbsy0jF3OCZKMnXb9abFr3Zb7ReZh74yw_zLs_zW8WYTXQza8-x0AAP__OSMtFg== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklFr2zAQx9_3KcQ9tfRCLedNMHCXeBBImiwOozCCUaxLaupYniTTlpDvPuQ0q2OSbZ0eBDr99b_fnW4H9mcBAuKH2fhudM-uhqNkkXwbI_sez79Mk_iaJfE4HiyYRLZClrGv8-mEyVWmiMUPg3i2YHfj8VHkFchUSwQIpVZ0L7dkQfwADkuEyuiMrNXGh3aNYKReQAQIeVnVzoeXCJk2BGIHLncFgYCFXBU0J6nI3AaAoMjJvGhsm1xRs6fVE70CwkAX9ba04kgOCEklfaAHyz2Crt17KuvkhkDwFttoCCLY4__h8ct4qzRLVUpprl7alG-t-xfKsEPJL1K-w9WlNooMqROwpX_5N8mZUidkNpSQm1a34Wmli9eKRGsyAKGgtbuK-A1G4Q1G_ZvrzybfPJ6GAGFaO8EijlGIUf9i7f1O7eFHfmhOttKlpW4PzmYKOpl63HeC1IYOnbW6NhnNjM4a7eE4bYyagCLrDrfh4TAqmyvuMxiS298D1nbiH3AK20686xT-0al_4hScMi0R1oV-TnMFAoK31TuzHRf4B3JjfbOTR_3c2PpRsCDWsrCEMJFPNCRHZpuXuXV5BsKZmvb7T78CAAD__-Xobf0= # Do not use a streaming set operation for UNION ALL. query T @@ -952,7 +952,7 @@ vectorized: true table: abcde@abcde_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJykkdFro0AQxt_vr1jm6Q4mRL23fbpcakGwmmpaCkXKxh2C1Lh2d4WW4P9eXBuSlLSk7Ysw33zfzM_ZLZinGjiEd4t4FiXs90WUL_PrGNltmP1P8_APy8M4nC-ZQLZCVrLLLL1iYlVKYjdJlCZsFsc7z2BAJg88gNAoSYnYkAF-Dz4UCK1WJRmj9CBtnSGSz8A9hKppOzvIBUKpNAHfgq1sTcBhKVY1ZSQk6akHCJKsqGo31u36574P7SO9AMJc1d2mMXwHBQh5KwZhAkWPoDq7X2WsWBNwv8fv4fjn47zd8Ryc4EOcPYUhXYmadY3SkjTJI5CiP8GdqIlqp8E742kC7ysHyci0qjF05uQCgeSaxt8xqtMlLbQq3ZqxTF3OCZKMHbvBWESNa7kXOwz7PwkHn4b_HoW9vuh_vQYAAP__cG4Mig== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckNFq2zAUhu_3FOK_2kChtnenq3WNBwbX6eJsDIYpinWamTqWJ8l0Jfjdh5RmTUI2suhCoKNf3_l0NrA_Wwik3-7y66xgb6dZuSg_55x9TecfZ2X6jpVpnt4smORsyVnNPs1nt0wua0XsS5HNCnad57uMD3Cm9jLg6LSiQq7JQnxHjIqjN7oma7XxpU0IZOoXRMTRdP3gfLniqLUhiA1c41qCwEIuW5qTVGSuInAocrJpAzb0-hD2-_6RnsFxo9th3VmxkwJH2UtfmKAaOfTgXltZJ1cEEe-5ZVOIaOSX6cXn673M9Ry95Egv_qveq5Ul08iWDZ02igypA7FqPPGPQk90f5UcBU8bRUdGyf8MbE62152lizpNYu9OakXb_1o9mJrujK5DdnucBVAoKLJue5tsD1kXrmLfwZBc_xnoPim-lBQdk5J_kt4fkKJDUsXx0Oqn-0ZBIHpZkxPbbsE_kCvrh13-0E8Bu3ju_ageZGuJ41Y-0pQcmXXTNdY1NYQzA43jm98BAAD__6TbTXE= # Regression test for #69497. Ensure the merge ordering for streaming set ops # matches the input ordering. @@ -988,7 +988,7 @@ vectorized: true table: abc@abc_a_b_c_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklFrnEAUhd_7K4b7lJAbsrpvAwWTjYUFE7cqJaWIjDPXrdQ4dmaEhMX_XtQuiSFpmz7OOXPmfufqAezPBjiEd7vocnvLTq63aZZ-jpB9CZOrOA1PWRpG4SZjChkhq9inJL5hiioW3m3CXXa0BbISmZxtUUoWJ9dhwq6-TkFAaLWiW3FPFvg38CBH6IyWZK02o3SYLmzVA_AVQt12vRvlHEFqQ8AP4GrXEHDIRNlQQkKRuVgBgiIn6mZ6VlEVKKqK7gc9AsJGN_19a_mRHRDSTozCOeQDgu7d0xjrxJ6AewP-H4q3RBGlDEQpC1GUhSxq9fCc5_ey_oXHf5PnCaNvtVFkSC0Q8jH5tyuvlLohs6eUXNxd-MtO2WNH_PjdL6MIEBqq3EngnWHgn2GwPj_9aOr996UECHHvOAs8DHwM1m92Xb9n9wnZTreWXnZ-9eXVWJTUnubFWd0bSTuj5TRmPsZTbhIUWTe7_nzYtpM1_RzPw947wv7LsP_H8HoRXg358OFXAAAA__8seypX +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycklFr2zAQx9_3KcQ9tfRCbedNMHCbeBBI6swOo2MEI1vn1NSxPEmmLSHffdhp1tik2zo9GHSn-9_v_r4dmJ8lcAjul_Ob2R27mM7iVfx1juxbEN2GcXDJ4mAeTFZMIiNkOfsShQsmKWfB_SRYro5pgSxFlh3SIs1YGE2DiN1-7woBoVKS7sSWDPAf4MIaodYqI2OUbkO77sFMPgN3EIqqbmwbXiNkShPwHdjClgQcViItKSIhSV87gCDJiqLsZCXlvqQ8qR_pBRAmqmy2leFHdkCIa9EGRrDeI6jGvrUxVmwIuHvCNZsCd_b4f2huH02kmS_SLBFJmmRJIZ9P-V7N-xc-b8Dnvsv3htVUSkvSJHtI67byb0_ODLkgvaGYbFhfe_0ZVy818eNe3MzngFBSbi989wp97wr98ejysy42D_0QIISN5cx30ffQH787-3gwu_eRfxORqVVlaOjB2U7OoNPIbZ0guaGDs0Y1OqOlVln39nANO6EuIMnYQ9Y7XGZVl3LbDprE9vdqnSq5H1DyTpXcoZL3R6VxT8npM60R8lI9JYUEDs7rGZ35HA-0BWJjWrPjB_XUybarYIDnojSEsBCPNCVLeltUhbFFBtzqhvb7T78CAAD__5tLaz4= # Example where the interesting orderings do not include all columns. statement ok @@ -1027,7 +1027,7 @@ vectorized: true table: abcd@abcd_a_b_c_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJycUl1r2zAUfd-vEPeppbcktvMkGKhNPQikdWaH0TFCUKwbJ8yxPEmGlpD_PmxTEntNt-xFoKN77vlAe7C_cuAQPs-md5MndvUwSebJ1ymyb2F8HyXhNUvCaTieM0K2RpYh27AvcfTIaJ1tWPg8DmfztxGJbIUsRabaEblKFYvihzBm99-bBYBQaEVPckcW-A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vLAvdAFMZ9W7pRD52smy8DfC0qQwjX4p4mZElvy7o0tsyBW93SbvffjwAAAP__n2i1vg== # Regression test for #68702. Ensure correct behavior when a column is projected # twice on the left side. @@ -1063,7 +1063,7 @@ vectorized: true row 0, expr 1: -1643624263 row 0, expr 2: CAST(NULL AS OID) · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUuFq20wQ_P89xbG_7M8bLJ0cJxwU5DoqCBTLtZQQKKao0tY1vujUu1NpMH73IqmtIxO3DQikm93ZmVndHsxXCQKCh2U0CxdscBMmafI-QnYfrN7GSTBkSRAF85TZ7JMktS3YLGG5ki6eIhzZ7uenx96t4ltmp9dXDmfBwzxYpmwWRb9m_d_VB_ez6C5I2GBxF0XI-KVz6fHp5MoRQsThDbLBhTudeFM-4VNvKIQIF-n1cAgIpSpokT2SAfEBXFgjVFrlZIzSDbRvG8LiOwgHYVtWtW3gNUKuNIHYg91aSSAgbTKsKCtIjx1AKMhmW9mO7dz73etjtaMnQJgrWT-WRrDdMT8gJFXWgBeAENdWMJ9j87iwPiCo2h4NGJttCIR7wH83KVWeSfYtkzUZ5ozdvs9O0EPfRZ-fFeRnBY86dal0QZqKnsC6Yf6t5QXXt6Q3lJCNqzHvO06fKhLPrgUgSPpsB743Qt8doc9Hwzd6u_nSh34v122X653N6r1muSsylSoNnWZ-cbLTBKViQ93ijKp1Tkut8lamO8YtrwUKMrar8u4Qlm2p_fvPye4ryPyUzP9I9npk57A-_PcjAAD__x2UOdo= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyUUm1r2zwU_f78CnE_JU8VasltWgQDZ40HBjfp4rQURiiafZuaKJYnyetKyX8ftvsSm3ZbhbGto6tzzzncR7A_FAgIry_iSTQjg2mULJOvMSVX4eLzPAmHJAnj8GxJnPyuUOcZmSQk1YrRPsIp2Tz9-uTLYn5O3Pj0xOMkvD4LL5ZkEsfPXP-354OrSXwZJmQwu4xjSvixd-zz8dGJJ4SYR1NKBiM2PvLH_IiP_aEQIpotT4dDoFDoDGdyixbEN2CwolAanaK12tTQY1MQZb9AeBTyoqxcDa8opNogiEdwuVMIApa1hwXKDM2hBxQydDJXDW2rPmg_N-UGH4DCmVbVtrCCbF79A4WklDU4AgrzygkScFo_DFY7CrpyrwKsk2sEwfYUR1MQ3o7-u2ilU6nIT6kqtMQ7ZF3drQCfBowG_F0BvCeAvSvgtW9VaJOhwazTcFXf_FvJGy7O0awxQTcvD3nXwfKhRLE3NkBB4a0bBP4BDdgBDfjB8JPJ13dd6CV81oTvv-vd73nnHwl_gbbUhcV-Bm928nqdRqxOArM1tslaXZkUL4xOm9p2O2-IGiBD69pT3m6iojlidQeDcvsyO_tM7ANMfJ-J9Zn4H5n8DpPX1bSicKv0_U2egQDvaY3eeD0vqC_Ita3DTu70fUNbj4IFcSuVRQrncoNTdGi2eZFbl6cgnKlwt_vvdwAAAP__X4d6wQ== query T EXPLAIN (DISTSQL,VERBOSE) SELECT a, b AS b1, b AS b2 FROM abc EXCEPT SELECT a, b, c FROM abc ORDER by a, b1 @@ -1094,7 +1094,7 @@ vectorized: true table: abc@abc_a_b_c_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyckt9r2zAQx9_3V4h7aumVxHL6Yhg4TTwIpHVmh9ExQpDlW2ZwLU-SoSPkfx-2VxKbxmv6pvvxue_3Du3B_M7Bg-BptZwuHtnVfBGv469LZN-C6D6Mg2sWB8tgtmYCWcKmMUuc1wdnX6LwgYlEsuBpFqzWp63I5LEcRvMgYvffm4oDCIVK6VE8kwHvBziwQSi1kmSM0nVq3zQs0hfwxghZUVa2Tm8QpNIE3h5sZnMCD9YiySkikZIejQEhJSuyvBkrEumLRG7FNtnKbZa-AMJM5dVzYbzGCCDEpaijW0AIK-sx30Gfo89hc0BQlT0KGyt2BJ5zwI-Zcy40h0ye-jvnh1_iZ54ZmxXSjnjXzL-t3foKOiVNaXsJ96ys-yFZ932yfEh5clb5KFgVqp3X0dvU5P9a3rD_QHpHMdmwHE26C6z_lOS9_v3pcgkIOf20V75zgz6_Qd-9vf6ss92vbqr32c7venfJlSMypSoM9Xd-c_K4XpTSHbWHM6rSklZayUamDcOGaxIpGdtWeRssirZUGzyFnUHYHYb5IDzpwE4fdi-AeR-eDMJ3Pdubw6e_AQAA__8n-aWG +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyck1Fr2zAQgN_3K8Q9tVShkZy-CAZuGw8Cad3ZYXSMEGT5mpo5lifJtKPkvw_bzeKYJFvqhxDpzt99d5bewP7KQUDw-DC9ntyTs_EknsVfp5R8C6KbMA7OSRxMg9sZkZQk5DomCdv84eRLFN4RmSgSPN4GD7NuKiVqGw6jcRCRm-9NhAGFQqd4L1doQfwABnMKpdEKrdWm3nprEibpK4ghhawoK1dvzykobRDEG7jM5QgCZjLJMUKZorkcAoUUnczyBisT5ctELeQiWahFlr4ChVudV6vCikYEKMSlrFcDoBBWThCfUZ9Tn8N8TUFXblvYOrlEEKxjOhmDGK7px2TZibKUqK7vIT_e82On-I0z67JCuUu-K_c-Fa-ekknRYNpOyjuo4fU0-Ic0vP_T4MdMRj0T76DJVqAqdMvfqT-v3_xXyp527tAsMUYXlpej3YZmv0sUm7tzPZ0ChRyf3JnPLqjPL6jvDc4_m2z5vLvVO6yHe7_q9T465StEaEtdWOzPYG-lYa_SgNWTwHSJ7WStrozCB6NVk9suwwbUbKRoXRvl7WJSbELWGZSrv3etS2JHSd5hEuuT-FHSaIfEuiTeJ3knkHiX5PVJo6Okq2NzmlN4yvXLIktBwPD9Gez52TxQvyCXtj4A8bN-abD18bQgnmRukcKd_IljdGhWWVFfUAXCmQrX609_AgAA__8_bvjt query T EXPLAIN (DISTSQL,VERBOSE) SELECT a, b AS b1, b AS b2 FROM abc INTERSECT SELECT a, c, b FROM abc ORDER by a, b2 @@ -1125,4 +1125,4 @@ vectorized: true table: abc@abc_a_b_c_idx spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyck9Fr2zA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vTIN86TpfTKVCo8N6ehP4ZDYMzGrLR6WddLh92Q719OPwhLnrtj4_5ECmaRtUG-2PYW8nrVRr5bhhYLHEzXKNaLfFOK9nlbm6TDtQFCjR28zTY3MT16yNjNYrV2zpvk_xBEjtM8vokNkga75D8bRLrk4IjSGybFPRJ40HSxVB3cwr3lXpclAVw8F6u0Z6f1wvcC2Jp3AJkD-qxw7oNNcDvRWWQwo34hRO0qFdl7c6oBG51i-v1p78BAAD__-PR_m4= diff --git a/pkg/sql/opt/exec/execbuilder/testdata/vectorize_local b/pkg/sql/opt/exec/execbuilder/testdata/vectorize_local index 0e980cde28cf..a009ac23af86 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/vectorize_local +++ b/pkg/sql/opt/exec/execbuilder/testdata/vectorize_local @@ -62,7 +62,7 @@ regions: table: a@a_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMkc9q3DAQxu99imFOLahEDqUHnUpNCiFNE5yQSzFlVhq2JrLkasZ0l8WP1RfokxVbzSGUQG-e7_t5_ug7ofyI6PDu4vNFew8En7qbayA0mHLgLzSyoPuKDfYGp5I9i-SySqcNuAwHdNbgkKZZV7k36HNhdCfUQSOjw3vaRe6YApcziwYDKw1xa0sf6Nv0yEc02OY4j0ncNvtuovXzLRq8egAdRnZgf_-SWvuclJMOOf1jlfxTILDPgYODc2NtU43dUVmgMAUHzXu4Gj5Wfd_dtuApRnmGTzSUJ_ydsfYcDV4_tC2I8gQ-z0nhNR_0bEj6xoHdDqsA8-NLwEgHGHnM5QgUY_ak65YW1l12pP47C-RZp1kdrPx2zZNQt-sXg1X5-9qitGd0zWL-P5GOZcpJ-FkYL3W2S2-Qw55r6pLn4vm2ZL-NqeXN9t8mBBatblOLy1StpV9e_QkAAP__SmDEtw== +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJyMUsFqGzEQvfcrxJxakIk2lB50Kt2kYFI3wTa5lCWMpYkjrJW20iy2MftZ_YF-WdlVDE3bQOew7Lz3NPNGoxPk7x40rK6_XNdrgeLz8nYhECSEaOkrtpRBf4MKGgldioZyjmmETpNgbg-glQQXup5HuJFgYiLQJ2DHnkDDGjeeloSW0oUCCZYYnZ_K4kd86HZ0BAl19H0bsp56rzocf2cg4eZesGtJC_XzRy65iYEpsIvhLyrFfRaWTLRktbiUSlWF2ByZskiEVovqg7hxnwq-Xd7VwqD3-YW8Q5fO8vdSqUuQsLiva5GZOmFiH1i8pQNfuMDvtFDTYEVAtHtN0OJBtNTGdBTofTTIo0slRi8bZPNEWcSeu561GPXTNGeguGsGCQV5vu3MuCXQ1W_rmV-BVoP8_w0tKXcxZHqxnNc6qT86zaqhkUB2S-VZ5NgnQ3cpmklb0tup0ARYylzYqiTzcKYyJ8K22G8kPPq4f3AWNKjnmP3jcw4YD-A2j4OtnuJ-Krs-dqOtR_SZJCxwR1fElFoXXGZnQHPqaRje_AoAAP__MxfzJg== query T EXPLAIN ANALYZE (DISTSQL) SELECT c.a FROM c JOIN d ON d.b = c.b @@ -105,7 +105,7 @@ regions: table: c@sec spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0U-FqE00U_f89xeX--oQx3V1EZEAIhgqpbVLS0j8SZDJziWtm564zs5gQ8li-gE8mM9NKa6yo6M9z5tx7z57D7jF8tCjx6vT8dHINeqTg9WJ-ARrO5tMZGJjPwIxW8BL0aIUCHRuaqY4CyrdY41Jg71lTCOwTtc-CqdmirAS2rh9iopcCNXtCucfYRkso8VqtLC1IGfInFQo0FFVr81o9DqRR4ITt0LkgQQlIt696ldBTFPjmBmLbkYTqy-dQsGYXycWW3dGT508BDGk2ZCQ0hVztIgXwpIyE-jm8Kux6cTkBrawN34S9av2d8BkKvLiZTCBE6kHz4CL8T9t40rr4REKVP6UIiDaPCTq1hY469jtQ1rJWMfmqsoeVivo9BeAh9kOUkPTZ_x3R4PIgsKDbbENUa0JZH8Sv53_GrbuNv34Yvxmbd_2GdijwnHkz9PCBWwfsJIyb-7WkTubJ0jhtyMdy1CW5gkNU1h4V8sfd1cfdvfhRdfVxdc1fqY62pIdjo_-o0eZ3Gl1Q6NkFetDmY5urw1IgmTWVvzbw4DVdetb5TIHzPJcJQyGW17qAqStPyeD94fqnw813w8vDf18DAAD__xqpcEE= +Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy0k9FqGzsQhu_PUwxzdQpKsruUUgQFUycFp7EdbJObYoIsTRzVWmkrabGN8WP1BfpkRbt2cOIktKXVxcLM_PvPaL7dDYZvBjmOL64uuhOQpwI-jYZ9kHA57A1AwXAA6nQGH0CezpChdYoGoqSA_AvmOGVYeScpBOdTatMIemqFPGOobVXHlJ4ylM4T8g1GHQ0hx4mYGRqRUOTPMmSoKAptGlvZCSSRYdeZurSBg2CQeo8rkaITZPj5BqIuiUP243toY-lsJBu1s0cl75YBFEmnSHEo2uRsHSmAJ6E45O_gY5udj667IIUx4UFYCe33wrfIsH_T7UKIVIF0tY3wP63imbbxDYesuUorIFq8JCjFCkoqnV-DMMZJEdNcWTPDTER5TwFcHas6ckj6Zv59osDplmEb7XYbopgT8vwARu8cebZlv87j0mm7w5E_xqE66rZa0BoZXjm3qCv46rQFZzl0ikNMidEwjdhJDk2zZvXtJts4RGHMEaA_Zpkfs3z_HMr8GGXxV1DSimR9POg_Ilw8IZz_DuERhcrZQI_ovtQpe9LpJN9OGZKaU_ubB1d7SdfeyUbbhsPGqEkoCrGt5m3Qs_tSiJ5E-fCBHjrlrzoVrzlNGd4Zt7zVCjlmu3PyzGN_ML0g5iGtaHzvlo3tZF2lC94JE4hhXyzonCL5UlsdopbIo69pu_3vZwAAAP__VJmn6w== query T EXPLAIN (OPT, VERBOSE) SELECT c.a FROM c INNER MERGE JOIN d ON c.a = d.b @@ -195,7 +195,7 @@ regions: table: d@d_pkey spans: FULL SCAN · -Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsk89uEzEQxu88xWhOrTDt7hZxsFQpIgoohSTVtuoFRcixh-0qXntre0W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PH9ixvAYebZmv-ZHvumH6qlnfsz_-PGuH8WWH_mrfvy0obHOK_KkNiyYpZPvQV4wdUS-pBOnLfmDYtNUQ1dxp5f_vXvkdXndbZHhJF2plx4ALUk2z-17S6tUCzcGIlU1KB0W0ARR0m-Q8nBLyuIjT3tKoXY20LakL3bKtjrt5UlYUiV1RgXXeEmn3skW24WTlqhNKAqxqxZdMLRtKU8dPInq8c98ypR_gKl4ypRvMxVvMh1uMGWbM80YXhl3e6kVcszu194Ln4eF6YAoQxL77NrdtrTnqzpJdSVMIIYjsaBjiuQrbXWIWiKPvqH1-q8fAQAA__9OjRUr statement ok RESET vectorize; RESET distsql diff --git a/pkg/sql/rowexec/processors_test.go b/pkg/sql/rowexec/processors_test.go index 3db5a23dff7c..df0836e887cc 100644 --- a/pkg/sql/rowexec/processors_test.go +++ b/pkg/sql/rowexec/processors_test.go @@ -715,17 +715,17 @@ func TestUncertaintyErrorIsReturned(t *testing.T) { }{ { query: "SELECT * FROM t AS t1 JOIN t AS t2 ON t1.x = t2.x", - expectedPlanURL: "Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElGFr2zwQx98_n0IcPLQdSm3JadoYCi6tR91lSZcUNihmuLGamDmWJ8mQEvLdh-1AlpDI8dxl73LR_e7-p_9ZC5A_Y7Bh5Pbc2ycUJa8cfRwOPqNn99tj78bro9M7b_Q0-tI7Q6ucD2WCQjcjpAh6GHj9VUDRoI8UOZ-ja6To-dxHX-_doVtW7XmfXHRyFwUTEczs_08AQ8JD1g9mTIL9DAQwUMBggY8hFXzMpOQiP1oUiV44B9vEECVppvK_fQxjLhjYC1CRihnY8BS8xGzIgpAJwwQMIVNBFBfllaO-pz_YG2C45XE2S6SN5hjl8SgN8qhlEBP8JQaeqVWLdeWXNzQN5HSzpkPAX_oYpAomDGyyxH8m1Tq6VLpX6rpOlnARMsHCjUp-Tlal7Jj3PpDTBx4lTBidTWkxe1WnDjm7FtFkWvwCDINM2cgh2KHYsbDT3pp2PYnVYJIdMvu8xVOjuz3yztbtjdbkcL9JXb8NYrYM-p7bWUNt-1-opXvVHmFBL__egtLD753Wvndqtt5xRWpIvTi6VLpX6hH24-o4D9gOEUMmU55IdtD7ZOZjsHDCymuRPBNj9ij4uGhThoOCK76wkElVntIy8JLyKBd4ONxpAnf1MKkhm9aDO03grh6m27D5O2zpZ7a0MDE3aHObbjcxWg9XGK2HK4y-aGK0Hq4wWg9XGN1pYvRlE6v0cIVVerjCqqsmVunhCqv0cIVV3VpW-cv_fgUAAP__x69Mdw==", + expectedPlanURL: "Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzEld9u2jAUh-_3FNaRpraTKbHD30iVqApT6Sh0gLRJFapcYiBqiJltVKqKd58CdC0J8UjWslwgTJwvv2N_5jyD-uWDA71Gq3HRR14wEuhrt3ONbhs_b1rnzTY6rjd7_d73Fka9y_ObxgnaTP2ynqfReQ9pgq46zfZmQFGnjTQ5XaAzpOnpYoB-XDa6jTW81fzWQEd1j40lmzqfjwBDIFzeZlOuwLkFAhgoYLBhgGEmxZArJWR463k1sekuwLEweMFsrsOfBxiGQnJwnkF72ufgQJ_d-7zLmctl3gIMLtfM81d4XdN3swf-BBguhD-fBspBC4zCcW_GwlEuTywYLDGIud684pV8_4QmTE22mTUCg-UAg9JszMEhb3I36-BYS5wtun3w6DQS3U6M_sqdB0K6XHJ3izwIn_zblB31XzI1uRJewGW-tB3V5yN9XCMnZ9IbT1bfAENnrh1UI7hGcc3GtUKk-tfK7EhlpX-obEfstsiJWb4aXYKdUQqRKNWtKGR_P0haP_LEyuXp-9pNsqYv_I_0UcELiekPIHj5IwUvb1VG998XmnpfqJV7V6Vo1ujFg0eP-lRMjH4Anyof6VMlTRfrcjUTgeJ7_R9akTflSFgnd8d8vW5KzOWQ30gxXM1dDzsr0Modlyu9vkvXg2bwcktpydn0TxPen1RKJpXSkarJJEKjKJKiPPoWZacjlZJJ1XSkajKJFKMoGkVZb1G2YaUqUZRtRBFri2UZTShkdYqkIxmcKqcjmZyKmVDM6lQhHcngFImtuRllkip2_EqZpYqpXs5qQuwgm0kGE2Kim0kmE2L7V8lqQuwgm0kmE2JnxowymRA7NNWsJlAr7DgjXzzeeS44YG2u3I6PlwvCB9hYhW2vNxGPK27_aRY2rRHzFcdwzR54nWsup17gKe0NwdFyzpfLT78DAAD__5SzAcM=", }, { 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#eJzElHFr2kAUwP_fp3g8GN3GWXMXtRoYWNqMpc0Sp44NSiiZuUlWzWW5C1PE7z6SCNVWr3ED9-fLez_fz3vvboXy1wwtHNmufTWGOPkh4MPQ_wR39reBe-l48ObaGY1Hn923sKl5VxUouByBouB4nj0E1_dvvwzgxne8TYaB74Gi5wt4D4qdLwP4-tEe2lUL17m14ew6DqdZOLdenyHBRETcC-dconWHFAkyJGhiQDDNxIRLKbIitSoLnWiBlkEwTtJcFZ8DghORcbRWqGI142jhOPw-40MeRjxrGkgw4iqMZ-XPq766Tx_4EgleiVk-T6QFCwJFPErDImo0qYHBmqDI1WMLqcIpR4uuSX2NGxEnGwvzucXyPo4WSNAV4iFP4aeIExCJBX267bYkkInfcXTQiP2lUefguTwTau0cFhL0c1V4kj4j_TbpmwflzINyj055IrKIZzzaEQrWe_Q90RBps_ekcH_r1k5rWn9h6LEL06RGo8nq7swLJlsTap1oZ-obXZx-Z1j9wbGjB8eMRs2pvaCxdUbtE02tvlH3_970PXJDLlORSF7rIhvFS8CjKa-eDSnybMIHmZiUbarQL7nyQ8SlqrK0CpykShWC2zDVwkwPMy1s7sD0KWzqtQ1965aWbuvhthbu6OHOv_zpCy3c1XfuauGeHu4dpR2sX_0JAAD__8XU8Oo=", + expectedPlanURL: "Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzElV1v2jwUgO_fX2Ed6VW3yZTY4TPSJKqSqWlpwgjTJlWoyojLvIY4sx0VVPHfpwBdIW0iwkWbCyTHh8ePfY5PHkH9icAC3x7Y52PE4zuBvoy8a3Rj_xgOzhwXfeg7_tj_OsDIvzgb2h_RNvTTJk6jMx9pghzXtUdo4HlX34bo0nPc7QxFnos0OV2gz0jT0-UEfb-wR_ZmpYFzZaOTPg9mMphb_58AhliEzA3mTIF1AwQwUMBgwgRDIsWUKSVkNvW4DnTCBVgGBh4nqc5eTzBMhWRgPYLmOmJgwTj4GbERC0Im6wZgCJkOeLTG656-Te7ZEjCciyidx8pCC4yysZ8E2ahWJwZMVhhEqp-XUDqYMbDIjpPTB8tY4cO1LgWPt1bmS6vlLQ8XgGEgxH2aoN-Cx0jEFuqRXdclRlI88LDQkOYMzSMNW4Xn9kKwsXeYgMFLdeaNexT3mrhnFsqaOdlWoeyzYxoLGTLJwj3ByeqV7biiJpJ6Nxf4ukojp9LdUyGHFxypWnB1YtTq9PCaI1XMdjLaeLOaaxxp2H6PmmvvydLDE00rJ5oatYOzTKto7Zxh882y3DzSsPMeWe5UaYMjphIRK3ZQ4zByK9VI1opYOGObvqVEKqdsKMV0HbsZemvQ-kXIlN7Mks3AiZ-mlJYsmP_7zuySSCmJFpPMPImWksw9EtkltfIks3x3RoXtNUpRzWISyZOapaRWMamRJ7WOPah2ntQuJXWKnWie1CkldYtJzType-zuOlm530Xi4ZaHYIGxfWqv_Dw9kP0hmKnszvm_xMMaO14m2Y25CyLFMFwH96zPNJNzHnOl-RQsLVO2Wv33NwAA___OinSA", }, { // This test reproduces 51458 and should be enabled once that issue is // fixed. query: "SELECT * FROM t JOIN onerow ON t.x = onerow.x", - expectedPlanURL: "Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lPFr2kAUx3_fX3E8GG3H2eSirSNQyGgzms5pp8IGJYyredWwmMvuLswi_u8jiWDjbDSk8yd93n3efb_f590S1O8IbBi5Pfd6TML4SZDPw8FX8uD-uO998vrk9MYbjUffemdkvedDsUGTu4HXJyJGKf6QQZ_o8wW5WtfnC598v3WHbtGx531xyclNyKeSz-33J0AhFgH2-RwV2A_AgIIFFNrgU0ikmKBSQmZLy3yjFyzANimEcZLq7GefwkRIBHsJOtQRgg1j_hjhEHmA0jCBQoCah1HeXjv6Z_ILn4HCtYjSeaxssqAkq0cJz6qWwUzwVxREqtdHbDo_PpMZV7NyT4eBv_IpKM2nCDZb0VekbvqksZABSgxKnfyM3Ldlh99brmZ3IoxRGp2ytAif9KnDzq5kOJ3l34DCINU2cRh1LOq0t6xubLQb2NihsS9aIjG62353Ht0pHc0OHzarO2yDmS3Dest5s-PO--I_zds6PHSrduiW2XrDxGtIbZfbFg-UU3z8K_rFm9BIrvWq3CP8QS6P8CDsUDBElYhY4UH33cw8YDDFIhMlUjnBeykm-TFFOci5_H4FqHSxui68uFjKBB4Od5rA3WqYbcPmS9iqhq1K-GMJNrfhdpPAquE9gVXDewLrNAnsoonnaniP52p4j-fLGrKtenCnCdythru1RuWv3v0NAAD__2MQZAI=", + expectedPlanURL: "Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJy8lW9P4koUxt_fTzE5yY16M0inFPA2McEIN-JFcIFkNzHEjPQAjaXDzkwjxvDdN21xpYV2Kf7pC2WY098855knhxdQPz2wYdDqtC6HxPUngvzX792Qu9aP285Fu0uOm-3BcPCtQ8ng6uK2dULWpf_EdZpc99pdInyU4on0ukSfLsn5en26HJHvV61-KwZ32v-3yFHT5VPJ5_bfR0DBFw52-RwV2HfAgIIJFCoworCQYoxKCRluvUSFbWcJtkHB9ReBDr8eURgLiWC_gHa1h2DDkD942EfuoCwbQMFBzV0vwuuGvl884jNQuBReMPeVTZaUhOvBgoerUpkZMFpREIFeH_FGfngmM65mSWaDwWg1oqA0nyLYbEN3uwm2saIZ0t-4gS-kgxKdBHkUvvmnkh39X3E1uxauj7JsJaV6ONHHDXZyLt3pLPoEFHqBtkmD0YZJG5VU629tVVJtWe9oa4fmriiJRbme7n-nFCslpZ6QwvYPBysajjIzSmXzY_PBMtV_QT6qn5aPaqItc_9LMQtfimmUPvRGzEOlV5LHxAOwEf_bbmJj5rxLvpmSX8mU_wWBqn1aoGqZA2eHoj6qhfAV7jVPjNRJJRY2ic4UY9OUCOQYb6UYR7XxsheBovA4qHS8u160_dctpSXy-e-fgf1JVjbJKkaqZ5PO0iSWJhmbJDObxMw0ysxFnSVQRq5RlUMtZ8VIOZZXi5FyLP83TbIOtrySRlUPNWrr8vJJOUbVipFyjGJbOagVaM_cRG0ZlU-yskn1YqR6NolthbN-cBCscFxNPPF07zpgg7F-Sjv-vD4QvsCnKpyZg5l4irjD50U48SbcU0jhhj9iEzXKueu7SrtjsLUMcLX661cAAAD__3vS9aQ=", overrideErrorOrigin: []int{0}, }, } @@ -760,7 +760,7 @@ func TestUncertaintyErrorIsReturned(t *testing.T) { // Check distsql plan. rows, err := defaultConn.Query( ctx, - fmt.Sprintf("SELECT info FROM [EXPLAIN (DISTSQL) %s] WHERE info LIKE 'Diagram:%%'", testCase.query), + fmt.Sprintf("SELECT info FROM [EXPLAIN (DISTSQL, SHAPE) %s] WHERE info LIKE 'Diagram:%%'", testCase.query), ) require.NoError(t, err) defer rows.Close()