Skip to content

[test](fe) Remove flaky DistributeHintTest.testLeading#65802

Draft
shuke987 wants to merge 5 commits into
apache:masterfrom
shuke987:codex/remove-distribute-hint-leading-test
Draft

[test](fe) Remove flaky DistributeHintTest.testLeading#65802
shuke987 wants to merge 5 commits into
apache:masterfrom
shuke987:codex/remove-distribute-hint-leading-test

Conversation

@shuke987

@shuke987 shuke987 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: N/A

Related PR: #65205, #65546

Problem Summary:

org.apache.doris.nereids.jobs.joinorder.joinhint.DistributeHintTest.testLeading is a muted, unseeded randomized FE UT. TeamCity build 1000223 recorded the test as FAILURE while the parent build remained SUCCESS; the random optimized plan reached the test-side HyperGraphBuilderOld evaluator with a missing map entry and threw a NullPointerException before the equality oracle could complete.

The triggering PR #65784 only changes Iceberg, Parquet, table-reader, and external-catalog paths. A bounded history snapshot also found muted failures across independent master and release-branch PR builds.

This PR removes only the testLeading JUnit entry. It leaves testHintJoin, shared helper code, and all product logic unchanged. The known leading-hint correctness issue exposed by this randomized test is intentionally not fixed here because that product path will be redesigned separately.

Validation:

./run-fe-ut.sh --run org.apache.doris.nereids.jobs.joinorder.joinhint.DistributeHintTest
Round 1: Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
Round 2: Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

Both rounds completed with BUILD SUCCESS, including FE checkstyle and compilation. git diff --check also passes.

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test
    • No need to test or manual test
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@shuke987

Copy link
Copy Markdown
Contributor Author

run buildall

@shuke987

Copy link
Copy Markdown
Contributor Author

/review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request changes: this patch narrowly removes an expensive, unseeded, muted randomized test, but it also removes the remaining executable signal for a known unresolved leading-hint semi/anti correctness failure without adding a deterministic replacement. See the inline finding for the concrete invalid plan and a small replacement-test direction.

Critical checkpoint conclusions:

  • Goal and proof: the deletion achieves the stated stability/runtime goal, but the two reported targeted FE-UT rounds now execute only testHintJoin with withLeading=false; they do not prove the failing leading path is covered.
  • Scope and clarity: the source change is minimal and focused. The dormant leading helper branch is not a separate defect and can be reused for the focused replacement.
  • Correctness and parallel paths: current LeadingHint.getJoinConstraint can still match a semi constraint before the retained side exists, build a right-semi child that drops a later-referenced slot, and produce an invalid join tree. The broad regression suites do not directly assert this constraint-level rejection; the exact focused tests added in #65205 were reverted with #65546.
  • Concurrency, lifecycle/static initialization, configuration/dynamic behavior, compatibility/rolling upgrade, persistence/transactions/data writes, FE-BE variable passing, and observability: not involved in this FE test-only deletion.
  • Test coverage/results: existing Groovy suites and generated .out baselines were inspected; they cover many leading shapes/results but not the reverted direct invariant. Per the review-run contract, no build or test was run locally. git diff --check is clean; the author reports two successful targeted FE-UT runs.
  • Performance: removing roughly 51,000 unseeded optimization attempts is worthwhile, and a small direct deterministic unit test preserves the important signal without restoring that cost.
  • User focus: no additional user-provided focus was supplied.

Review completion: the full changed-file sweep, main risk scan, complete-review and risk-focused subagent passes, candidate deduplication, and unresolved-point audit are complete. One blocking inline issue remains.

for (int e = t - 1; e <= (t * (t - 1)) / 2; e++) {
for (int i = 0; i < 10; i++) {
System.out.println("TableNumber: " + String.valueOf(t) + " EdgeNumber: " + e + " Iteration: " + i);
randomTest(t, e, false, true);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Preserve a deterministic guard for the known semi-join failure

Please replace this randomized entry with a small deterministic guard before deleting it. The reported missing map entry is a concrete production-invalid rewrite, not only evaluator noise. For an original A LEFT SEMI JOIN B ON A.k = B.k, an extra C, and leading(B C A), current LeadingHint.getJoinConstraint can produce:

Join(A.k = B.k)       // B.k is absent from both children
  RightSemiJoin
    Scan(B)
    Scan(C)           // right-semi output is C only
  Scan(A)

The guard at LeadingHint.java:420-422 tests isSubset(...) && !isSubset(...) on the same arguments, so it never rejects getJoinConstraint(B|C, B, C); the child keeps bitmap B|C after dropping B, and the saved predicate is attached above it. #65205 added the exact withoutRetainedSide assertion after this muted test exposed the issue, and #65546 reverted that fix plus its focused tests while a correct fix remained outstanding. The cited FE-UT validation now only runs withLeading=false, while the broad result suites do not directly assert this constraint rejection. A tiny direct LeadingHintTest covering early left/right semi/anti matches would preserve the important signal without the ~51,000 unseeded attempts.

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 29657 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 74f1037836d01391102312f6cca7fadd9f9d8848, data reload: false

------ Round 1 ----------------------------------
============================================
q1	17657	4169	4233	4169
q2	2148	340	199	199
q3	10164	1445	841	841
q4	4718	475	339	339
q5	7814	889	569	569
q6	258	169	135	135
q7	808	808	612	612
q8	10654	1748	1551	1551
q9	6127	4370	4395	4370
q10	6837	1753	1463	1463
q11	516	354	321	321
q12	713	569	461	461
q13	18203	3581	2770	2770
q14	276	265	240	240
q15	q16	793	782	711	711
q17	1050	913	1067	913
q18	6923	5694	5495	5495
q19	1177	1287	1143	1143
q20	819	699	601	601
q21	5730	2771	2454	2454
q22	437	357	300	300
Total cold run time: 103822 ms
Total hot run time: 29657 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4531	4477	4481	4477
q2	296	332	220	220
q3	4611	4958	4416	4416
q4	2101	2188	1397	1397
q5	4496	4389	4710	4389
q6	287	206	141	141
q7	2082	1819	1595	1595
q8	2459	2189	2183	2183
q9	7985	7961	7882	7882
q10	4725	4708	4291	4291
q11	591	421	378	378
q12	798	745	540	540
q13	3307	3816	3063	3063
q14	296	313	275	275
q15	q16	718	727	649	649
q17	1380	1400	1383	1383
q18	7990	7243	6759	6759
q19	1148	1130	1115	1115
q20	2242	2237	1941	1941
q21	5320	4587	4479	4479
q22	528	460	404	404
Total cold run time: 57891 ms
Total hot run time: 51977 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 178715 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 74f1037836d01391102312f6cca7fadd9f9d8848, data reload: false

query5	4336	633	503	503
query6	498	249	224	224
query7	4963	616	348	348
query8	361	188	174	174
query9	8806	4110	4134	4110
query10	482	366	324	324
query11	5902	2382	2152	2152
query12	161	108	105	105
query13	1303	600	451	451
query14	6522	5192	4894	4894
query14_1	4267	4242	4244	4242
query15	217	206	182	182
query16	1058	501	440	440
query17	1133	756	591	591
query18	2719	505	371	371
query19	236	195	152	152
query20	122	106	108	106
query21	244	159	138	138
query22	13534	13633	13341	13341
query23	17359	16522	16159	16159
query23_1	16279	16282	16130	16130
query24	7487	1770	1301	1301
query24_1	1316	1304	1304	1304
query25	615	465	413	413
query26	878	359	223	223
query27	2519	613	389	389
query28	4435	1984	1991	1984
query29	1048	639	519	519
query30	352	261	228	228
query31	1144	1096	973	973
query32	125	68	64	64
query33	540	324	268	268
query34	1235	1181	665	665
query35	759	809	683	683
query36	1213	1174	1062	1062
query37	153	110	95	95
query38	1915	1735	1668	1668
query39	876	866	849	849
query39_1	833	876	834	834
query40	244	162	141	141
query41	63	60	62	60
query42	92	90	88	88
query43	325	330	287	287
query44	1445	775	760	760
query45	199	177	175	175
query46	1030	1177	741	741
query47	2144	2150	2032	2032
query48	408	421	283	283
query49	568	417	317	317
query50	1088	437	337	337
query51	11235	10984	10836	10836
query52	89	96	80	80
query53	267	283	195	195
query54	298	228	222	222
query55	75	71	67	67
query56	321	288	298	288
query57	1325	1291	1180	1180
query58	302	260	258	258
query59	1600	1707	1437	1437
query60	306	272	260	260
query61	146	146	142	142
query62	587	495	435	435
query63	249	201	199	199
query64	2261	1038	898	898
query65	4702	4591	4631	4591
query66	1689	509	385	385
query67	29286	29304	29209	29209
query68	3181	1584	1027	1027
query69	440	308	306	306
query70	1099	914	958	914
query71	373	320	310	310
query72	3097	2699	2393	2393
query73	873	762	427	427
query74	5078	4960	4732	4732
query75	2554	2496	2132	2132
query76	2348	1209	770	770
query77	357	371	285	285
query78	11935	11849	11393	11393
query79	1598	1172	777	777
query80	1276	545	453	453
query81	568	333	281	281
query82	665	159	123	123
query83	369	332	301	301
query84	275	171	128	128
query85	982	609	499	499
query86	458	295	294	294
query87	1836	1829	1741	1741
query88	3783	2861	2769	2769
query89	457	371	334	334
query90	1888	199	210	199
query91	207	192	163	163
query92	64	60	57	57
query93	1725	1586	993	993
query94	728	368	314	314
query95	817	505	574	505
query96	1019	828	337	337
query97	2609	2592	2535	2535
query98	218	206	198	198
query99	1128	1135	963	963
Total cold run time: 264491 ms
Total hot run time: 178715 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
ClickBench: Total hot run time: 25.4 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 74f1037836d01391102312f6cca7fadd9f9d8848, data reload: false

query1	0.00	0.01	0.00
query2	0.10	0.04	0.05
query3	0.29	0.14	0.14
query4	1.61	0.15	0.14
query5	0.25	0.23	0.22
query6	1.27	1.11	1.08
query7	0.04	0.00	0.00
query8	0.06	0.03	0.04
query9	0.40	0.32	0.32
query10	0.56	0.56	0.54
query11	0.20	0.14	0.14
query12	0.18	0.14	0.14
query13	0.47	0.47	0.48
query14	1.04	1.02	1.02
query15	0.63	0.60	0.60
query16	0.32	0.32	0.32
query17	1.11	1.12	1.13
query18	0.24	0.22	0.21
query19	2.04	1.98	1.98
query20	0.02	0.01	0.01
query21	15.46	0.26	0.15
query22	4.74	0.06	0.06
query23	16.08	0.32	0.13
query24	2.96	0.44	0.34
query25	0.12	0.05	0.07
query26	0.77	0.23	0.14
query27	0.05	0.05	0.05
query28	3.49	0.92	0.56
query29	12.51	4.18	3.30
query30	0.27	0.17	0.15
query31	2.76	0.58	0.31
query32	3.24	0.59	0.48
query33	3.12	3.26	3.27
query34	15.63	4.25	3.55
query35	3.53	3.60	3.55
query36	0.58	0.45	0.42
query37	0.09	0.07	0.07
query38	0.05	0.04	0.04
query39	0.04	0.03	0.03
query40	0.18	0.17	0.15
query41	0.08	0.03	0.03
query42	0.04	0.03	0.03
query43	0.04	0.03	0.04
Total cold run time: 96.66 s
Total hot run time: 25.4 s

@shuke987 shuke987 changed the title [test](fe) Remove flaky DistributeHintTest.testLeading [fix](fe) Reject invalid semi/anti leading constraints Jul 22, 2026
@shuke987

Copy link
Copy Markdown
Contributor Author

/review

@shuke987

Copy link
Copy Markdown
Contributor Author

run buildall

@shuke987

Copy link
Copy Markdown
Contributor Author

/review

@shuke987

Copy link
Copy Markdown
Contributor Author

run buildall

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request changes: the deterministic replacement test closes the existing singleton-side review thread, and removing the non-asserting randomized loop is reasonable. However, the new legality guard still accepts a composite constrained side split across both children; see the inline P1.

Critical checkpoint conclusions:

  • Goal and proof: the singleton-plus-extra case is fixed and directly tested for left/right semi/anti joins, but nested composite/multiple constraints can still produce wrong rows, so the correctness goal is incomplete.
  • Scope, clarity, and parallel paths: the change is focused and the bitmap work is constant-time, but the exact-side gate is incomplete. Nested semi/anti, reversed children, source right variants after normalization, and null-aware anti handling were checked; no separate issue was found.
  • Tests and results: the new JUnit test is a useful deterministic replacement for the existing singleton concern, while the removed random test recorded mismatches without asserting them. A nested/composite end-to-end guard is still missing. Per the review contract, no local build was run. The author reports the targeted FE unit tests pass; the live FE UT check did not reach fe-core because Maven received a truncated paimon-common:1.3.1 artifact, while Checkstyle is green.
  • Errors and observability: caught invalid orders mark the hint UNUSED; the composite miss instead reaches SUCCESS with wrong cardinality, so existing status reporting does not expose it.
  • Concurrency, lifecycle, configuration, compatibility, persistence, transactions, writes, and FE/BE transport: not involved in this per-query planner change.
  • User-requested focus: none was specified.
  • Review completion: the full authoritative patch and all changed files were reviewed, existing comments were deduplicated, and all suspicious points resolve to the one blocking inline finding.

continue;
Long constrainedSide = joinConstraint.getJoinType().isRightSemiOrAntiJoin()
? joinConstraint.getLeftHand() : joinConstraint.getRightHand();
if ((LongBitmap.isSubset(constrainedSide, leftTableBitmap)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Reject composite constrained sides split across both children

These isSubset checks only catch a constrained side wholly contained in one oversized child. They miss a composite side split between both children. For example, start from:

LeftSemi[Pab]
  A
  LeftSemi[Pbc]
    B
    C

Collection records inner constraint JC1=(B,C) and outer JC2=(A,B|C). With leading(B A C), the final children are B|A and C: JC1 matches, while JC2's full constrained side B|C is a subset of neither child, so this guard misses it and the later overlap branch leaves JC1 selected. Both predicates are semi-compatible, producing LeftSemi[Pab,Pbc](Cross(B,A),C). That retains one A row per matching B, whereas the original outer semi retains each A once (two matching B rows already make the results differ). Nested anti joins fail analogously.

Once both minimum hands are present, please reject any constrained-side overlap unless that child equals the full side (for example, isOverlap(...) && !equals(...)), and add a nested/composite constraint test. This is distinct from the earlier singleton-side-plus-extra-table thread.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review result: no new inline comments were submitted because the one blocking planner-correctness gap identified in this run is now covered by the live P1 at #65802 (comment). This is not an approval; that composite constrained-side defect remains unresolved on the current head.

Critical checkpoint conclusions:

  • Goal and proof: the patch addresses the previously reported atomic extra-table and missing-retained-side cases and gives deterministic unit coverage for all four atomic directions, but it does not preserve the full constrained-side invariant for composite and nested paths and has no analyzer-level regression for them.
  • Scope and clarity: the code change is small and focused, but the subset predicate is too narrow for the full/minimal-hand model used by CollectJoinConstraint.
  • Parallel paths and special conditions: left/right semi and anti, reversal, analyzer stage order, nested/composite hands, and LEADING fallback were checked. The SemiJoinCommute.hasDistributeHint() exception and nested same-family constraint processing are the material missed paths.
  • Concurrency, lifecycle/static initialization, configuration dynamics, persistence/transactions/data writes, FE-BE protocol, compatibility, and observability: not involved in this local FE analysis rewrite.
  • Performance: the change does not materially alter complexity; no separate performance issue was found.
  • Tests and validation: the new JUnit style and atomic assertions are appropriate, and git diff --check passed. Per the review-runner contract I did not run builds or FE tests; the PR description reports the two targeted FE UTs passing. No generated result files are changed.
  • User focus: no additional user-provided focus was supplied.
  • Review completion: every candidate was independently verified, deduplicated, merged, or dismissed with code evidence. Three review rounds converged with no additional valuable findings. The live composite-side P1 remains for the author; this review adds no duplicate inline comment.

Independent full-review and risk-focused passes corroborated the landed issue. A direct LEFT-composite early match and the risk that the new immediate failure rejects a valid hint were dismissed after tracing bottom-up constraint construction and fallback behavior; the separate nested same-family path resolves to the same full-side overlap defect already reported live.

@github-actions

Copy link
Copy Markdown
Contributor

Codex automated review failed and did not complete.

Error: Codex completed, but no new pull request review was submitted for the current head SHA.
Workflow run: https://github.com/apache/doris/actions/runs/29886855782

Please inspect the workflow logs and rerun the review after the underlying issue is resolved.

@shuke987 shuke987 changed the title [fix](fe) Reject invalid semi/anti leading constraints [test](fe) Remove flaky DistributeHintTest.testLeading Jul 22, 2026
@shuke987

Copy link
Copy Markdown
Contributor Author

/review

@shuke987

Copy link
Copy Markdown
Contributor Author

run buildall

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review follow-up: no new inline comments are being submitted because the current one-file deletion is already covered by the live deterministic-guard P1 at #65802 (comment), while the related nested/composite product path is covered by #65802 (comment). This is not an approval: current head f9b67e8c3c32e348771ef1df9dc88f319f2b3dea reverts the attempted planner fixes, so both concerns remain unresolved.

Critical checkpoint conclusions:

  • Goal and proof: the patch does narrowly remove the flaky unseeded JUnit entry and its 51,030 randomized leading optimizations, but the reported targeted FE-UT runs now execute only the remaining testHintJoin path with withLeading=false; they do not prove the exposed leading path is covered.
  • Scope and clarity: the source diff is a small, focused test-only deletion. The now-unreachable private leading helper branch is minor cleanup, not a separate correctness defect.
  • Correctness and parallel paths: testLeading was the only withLeading=true caller. The broad leading regression suites exercise many result shapes, but they do not directly assert rejection of the exact early singleton constrained-side order across left/right semi/anti, and the nested/composite family is likewise still unresolved on this head.
  • Tests and results: no direct deterministic replacement is present and no generated result file changes. Per the review-runner contract, no build or test was run locally; the author reports two successful runs of the remaining FE test.
  • Performance: removing the 51,030 unseeded optimization attempts is a worthwhile CI improvement; a small direct legality test can preserve the important signal without restoring that cost. No production performance change is introduced.
  • Concurrency, lifecycle/static initialization, configuration/dynamic behavior, compatibility/rolling upgrade, persistence/transactions/data writes, FE-BE variable passing, observability, and security boundaries are not involved in this FE test-only deletion.
  • User focus: no additional user-provided focus was supplied.
  • Review completion: the full authoritative diff and changed-file list were swept, the main risk was traced through LeadingHint and HyperGraphBuilderOld, and all round-one candidates were independently verified and deduplicated. No suspicious point remains without a concrete conclusion.

@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage `` 🎉
Increment coverage report
Complete coverage report

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 29521 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit f9b67e8c3c32e348771ef1df9dc88f319f2b3dea, data reload: false

------ Round 1 ----------------------------------
============================================
q1	17620	4107	4074	4074
q2	2013	332	201	201
q3	10322	1408	812	812
q4	4682	469	334	334
q5	7494	877	575	575
q6	187	166	138	138
q7	767	837	604	604
q8	9343	1442	1481	1442
q9	5564	4341	4314	4314
q10	6737	1746	1484	1484
q11	494	354	331	331
q12	718	570	453	453
q13	18113	3370	2820	2820
q14	269	270	251	251
q15	q16	784	780	710	710
q17	1010	987	998	987
q18	6793	5901	5549	5549
q19	1359	1280	1091	1091
q20	788	667	583	583
q21	5853	2627	2474	2474
q22	440	349	294	294
Total cold run time: 101350 ms
Total hot run time: 29521 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4363	4278	4274	4274
q2	283	315	217	217
q3	4613	4976	4383	4383
q4	2041	2146	1330	1330
q5	4373	4245	4228	4228
q6	220	174	126	126
q7	1730	1610	1841	1610
q8	2610	2232	2131	2131
q9	7960	8199	7788	7788
q10	4718	4693	4169	4169
q11	589	421	373	373
q12	755	741	535	535
q13	3306	3647	2932	2932
q14	288	294	266	266
q15	q16	710	726	625	625
q17	1336	1310	1300	1300
q18	8020	7392	7134	7134
q19	1141	1097	1078	1078
q20	2191	2191	1928	1928
q21	5521	4507	4407	4407
q22	535	478	397	397
Total cold run time: 57303 ms
Total hot run time: 51231 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 176715 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit f9b67e8c3c32e348771ef1df9dc88f319f2b3dea, data reload: false

query5	4353	633	495	495
query6	463	236	215	215
query7	4894	614	344	344
query8	341	190	178	178
query9	8829	4034	4027	4027
query10	462	353	303	303
query11	5888	2302	2119	2119
query12	163	101	102	101
query13	1319	612	433	433
query14	6211	5179	4842	4842
query14_1	4237	4197	4189	4189
query15	213	207	180	180
query16	1013	493	459	459
query17	943	726	578	578
query18	2443	483	357	357
query19	211	193	149	149
query20	107	107	109	107
query21	238	162	134	134
query22	13504	13550	13348	13348
query23	17470	16458	16113	16113
query23_1	16120	16242	16146	16146
query24	7388	1810	1278	1278
query24_1	1293	1295	1267	1267
query25	574	476	393	393
query26	1355	378	209	209
query27	2553	611	372	372
query28	4444	1991	1942	1942
query29	1082	625	468	468
query30	336	264	224	224
query31	1126	1091	964	964
query32	105	59	57	57
query33	515	308	244	244
query34	1158	1193	650	650
query35	756	762	654	654
query36	1179	1218	1077	1077
query37	153	107	90	90
query38	1858	1703	1644	1644
query39	875	876	848	848
query39_1	850	817	843	817
query40	245	161	141	141
query41	66	64	63	63
query42	88	91	92	91
query43	319	321	271	271
query44	1411	753	760	753
query45	195	184	175	175
query46	1029	1174	722	722
query47	2122	2072	2048	2048
query48	403	431	278	278
query49	562	425	315	315
query50	1065	441	337	337
query51	10657	10876	10513	10513
query52	86	86	78	78
query53	263	278	195	195
query54	281	235	216	216
query55	72	73	63	63
query56	295	280	281	280
query57	1327	1280	1180	1180
query58	284	241	249	241
query59	1566	1634	1423	1423
query60	303	263	246	246
query61	150	154	147	147
query62	541	492	434	434
query63	244	200	194	194
query64	2820	1015	867	867
query65	4704	4532	4575	4532
query66	1818	504	430	430
query67	29228	29120	29091	29091
query68	3027	1518	940	940
query69	391	297	265	265
query70	1051	954	957	954
query71	369	351	327	327
query72	3006	2736	2435	2435
query73	844	742	428	428
query74	5057	4914	4718	4718
query75	2522	2500	2110	2110
query76	2319	1162	737	737
query77	353	383	281	281
query78	11964	11840	11411	11411
query79	1183	1173	724	724
query80	636	546	447	447
query81	453	332	289	289
query82	244	164	118	118
query83	319	317	291	291
query84	304	156	135	135
query85	912	603	546	546
query86	318	288	271	271
query87	1815	1834	1770	1770
query88	3659	2744	2691	2691
query89	411	378	326	326
query90	2184	202	191	191
query91	199	187	162	162
query92	65	56	57	56
query93	1644	1537	912	912
query94	525	350	316	316
query95	812	585	466	466
query96	1067	788	354	354
query97	2620	2634	2520	2520
query98	215	209	206	206
query99	1092	1110	977	977
Total cold run time: 260952 ms
Total hot run time: 176715 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
ClickBench: Total hot run time: 24.89 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit f9b67e8c3c32e348771ef1df9dc88f319f2b3dea, data reload: false

query1	0.01	0.01	0.00
query2	0.09	0.04	0.04
query3	0.26	0.14	0.14
query4	1.61	0.14	0.14
query5	0.24	0.23	0.23
query6	1.23	1.06	1.08
query7	0.04	0.01	0.01
query8	0.05	0.03	0.04
query9	0.37	0.32	0.31
query10	0.56	0.53	0.55
query11	0.18	0.13	0.14
query12	0.18	0.13	0.13
query13	0.46	0.49	0.47
query14	1.03	1.00	1.02
query15	0.61	0.60	0.59
query16	0.33	0.33	0.33
query17	1.11	1.10	1.11
query18	0.22	0.20	0.22
query19	2.00	1.90	1.97
query20	0.02	0.01	0.02
query21	15.47	0.22	0.14
query22	4.73	0.05	0.06
query23	16.13	0.30	0.11
query24	2.95	0.41	0.33
query25	0.11	0.05	0.04
query26	0.73	0.20	0.14
query27	0.04	0.04	0.03
query28	3.58	0.96	0.53
query29	12.53	4.10	3.26
query30	0.28	0.16	0.15
query31	2.77	0.58	0.32
query32	3.22	0.58	0.50
query33	3.14	3.10	3.22
query34	15.62	4.23	3.54
query35	3.53	3.49	3.50
query36	0.54	0.44	0.43
query37	0.09	0.07	0.07
query38	0.05	0.04	0.04
query39	0.04	0.03	0.02
query40	0.18	0.17	0.16
query41	0.09	0.03	0.02
query42	0.04	0.04	0.03
query43	0.04	0.04	0.04
Total cold run time: 96.5 s
Total hot run time: 24.89 s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants