Skip to content

[fix](temp-table) Fix CTAS/DROP for temporary tables and unmute 5 P0 cases - #67529

Merged
morningman merged 2 commits into
apache:masterfrom
morningman:fix-master-ci-20260903
Sep 4, 2026
Merged

[fix](temp-table) Fix CTAS/DROP for temporary tables and unmute 5 P0 cases#67529
morningman merged 2 commits into
apache:masterfrom
morningman:fix-master-ci-20260903

Conversation

@morningman

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Five P0 regression cases are muted on TeamCity. Three of them fail on every master build — they only look green on branch-4.1 because the suite is skipped there (if (true) { return } at the top of test_temp_table.groovy), so the mute is hiding persistent master failures rather than flakiness. The other two are genuinely flaky.

muted case failures / last 300 P0 runs
nereids_rules_p0/pkfk/eliminate_inner 251
compaction/test_vertical_compaction_agg_state 254
temp_table_p0/test_temp_table 250
load_p0/routine_load/test_routine_load 32
query_p0/cache/sql_cache_object_type 10 / 103

Two of them turned out to be real FE bugs.

1. CREATE TEMPORARY TABLE ... AS SELECT wrongly rejected

A temporary table is created under <sessionId>#TEMP#<name>, but the CTAS existence probe added in #66112 (CreateTableCommand.targetTableExists) looked up the bare name:

return database != null && database.isTableExist(qualifiedName.get(2));

So any normal table sharing that name makes the statement fail with Table 'x' already exists, even though the table it would create does not exist. This is user-visible, not just a test problem:

CREATE TABLE t (id INT) DISTRIBUTED BY HASH(id) BUCKETS 1 PROPERTIES('replication_num'='1');
CREATE TEMPORARY TABLE t PROPERTIES('replication_num'='1') AS SELECT * FROM src;
-- ERROR 1105: errCode = 2, detailMessage = Table 't' already exists

The probe now mangles the name exactly the way InternalCatalog.createTable does. Plain CREATE TEMPORARY TABLE t (...) was never affected, because that path goes straight to Env.createTable, which mangles internally. This is the failure temp_table_p0/test_temp_table hits at line 456.

2. DROP TEMPORARY TABLE IF EXISTS ignored IF EXISTS

Database.getTableNullable resolves the temporary table first and falls back to the normal table, so when a session owns no temporary table of that name, table != null and the earlier ifExists branch is skipped. The mustTemporary guard then raised Unknown table unconditionally:

DROP TEMPORARY TABLE IF EXISTS never_existed;  -- OK, no-op
DROP TEMPORARY TABLE IF EXISTS t;              -- ERROR 1105: Unknown table 't'   (t is a normal table)

IF EXISTS is now honored there. Without IF EXISTS the statement still reports Unknown table, and a DROP TEMPORARY TABLE still never drops the normal table.

Case and baseline fixes

  • eliminate_inner — baseline went stale on 2026-07-16 when [fix](Nereids) Add shapeInfo() override in AggregateFunction to preserve table qualifier in EXPLAIN output #65264 added shapeInfo() overrides to Cast, IsNull and Not, which now preserve the table qualifier (cast(f as ...)cast(fkt_not_null.f as ...)). branch-4.1 has no such override, which is why it stayed green there. Regenerated the 8 affected shape lines.
  • test_vertical_compaction_agg_state — the first assertion compared a literal collect_set_merge ordering, but collect_set is backed by flat_hash_set, whose iteration order is unspecified. Wrapped it in array_sort, matching the two sibling assertions already in the same suite. The set contents were never wrong, only their order.
  • test_routine_load — the load_to_single_tablet section waited only for the job to leave NEED_SCHEDULE (i.e. to be scheduled), not for a batch to be committed, and its baseline recorded the empty table that race produced. It now uses the same data-visibility wait as the other nine sections, and the baseline holds the rows that actually load. 9 of the 14 most recent failures of this suite were exactly this tag.
  • sql_cache_object_type — asserted that a cache entry survived. The FE map holds soft values under a bounded size (Config.sql_cache_manage_num) and the rows live in the BE result cache, so neither is guaranteed to persist. It re-primes the cache instead; the assertion that each return_object_data_as_binary setting is served its own result is unchanged.

Release note

Fix CREATE TEMPORARY TABLE ... AS SELECT failing with "Table already exists" when a normal table of the same name exists, and DROP TEMPORARY TABLE IF EXISTS raising "Unknown table" in the same situation.

Check List

  • Regression test
    • Added temp_table_p0/test_temp_table_ctas_name_conflict and temp_table_p0/test_drop_temporary_table
    • Both FE fixes verified with a negative control: revert the fix, rebuild FE, confirm the new case fails with the exact production error, restore, confirm it passes
    • Also ran eliminate_inner, test_vertical_compaction_agg_state, sql_cache_object_type, test_routine_load (all 11 sections), plus ddl_p0/test_drop_view_nereids and ddl_p0/test_truncate_table for the shared dropTable path
  • Behavior changed
    • Has been tested and documented above
  • Does this need documentation? No — this restores documented behavior.

Note for reviewers

temp_table_p0/test_temp_table cannot be completed locally: it creates an S3 backup repository at line 213, long before the CTAS this fixes, and that needs credentials I do not have. A CI run is needed to confirm nothing else sits behind line 456 — note that #65090 previously commented out a show table status assertion in that suite instead of fixing it, so SHOW TABLE STATUS still does not list the current session's temporary tables. That is left untouched here.

Happy to split this into separate PRs (FE fixes / baseline updates) if preferred.

🤖 Generated with Claude Code

…cases

## Problem

Five P0 regression cases were muted on TeamCity. Three of them fail on
every master build (they only look green on branch-4.1 because the suite
is skipped there), and two are genuinely flaky:

| case | failures / last 300 runs |
|---|---|
| nereids_rules_p0/pkfk/eliminate_inner | 251 |
| compaction/test_vertical_compaction_agg_state | 254 |
| temp_table_p0/test_temp_table | 250 |
| load_p0/routine_load/test_routine_load | 32 |
| query_p0/cache/sql_cache_object_type | 10 / 103 |

## Fixes

**FE: CREATE TEMPORARY TABLE ... AS SELECT wrongly rejected**

A temporary table is stored under `<sessionId>#TEMP#<name>`, but the CTAS
existence probe added in apache#66112 (`CreateTableCommand.targetTableExists`)
looked up the bare name. Any normal table sharing that name made the
statement fail with `Table 'x' already exists`, even though the table it
would create does not exist. The probe now mangles the name the same way
`InternalCatalog.createTable` does. This is what
`temp_table_p0/test_temp_table` hits at line 456.

**FE: DROP TEMPORARY TABLE IF EXISTS ignored IF EXISTS**

Name resolution falls back to the normal table when the session owns no
temporary one, so `table != null` and the earlier `ifExists` branch is
skipped; the `mustTemporary` guard then raised `Unknown table` regardless.
`IF EXISTS` is now honored there, and the normal table is still never
dropped by a `DROP TEMPORARY TABLE`.

**Cases and baselines**

- `eliminate_inner`: baseline was stale since apache#65264 added `shapeInfo()`
  overrides to `Cast`, `IsNull` and `Not`, which now keep the table
  qualifier. Regenerated the 8 affected shape lines.
- `test_vertical_compaction_agg_state`: the first assertion compared a
  literal `collect_set_merge` ordering, but `collect_set` is backed by a
  `flat_hash_set` whose iteration order is unspecified. Wrapped in
  `array_sort`, matching the two sibling assertions in the same suite.
- `test_routine_load`: the `load_to_single_tablet` section only waited for
  the job to leave `NEED_SCHEDULE` (i.e. to be scheduled), not for any
  batch to be committed, and its baseline recorded the empty table that
  race produced. Added the same data-visibility wait the other nine
  sections use, and filled in the expected rows.
- `sql_cache_object_type`: asserted that a cache entry survived. The FE map
  holds soft values under a bounded size and the rows live in the BE result
  cache, so neither is guaranteed to persist. Re-primes the cache instead;
  the assertion that each setting is served its own result is unchanged.

## Testing

Ran on a local cluster; each FE fix was verified with a negative control
(revert, rebuild, confirm the new case fails, restore, confirm it passes):

- new `test_temp_table_ctas_name_conflict` and `test_drop_temporary_table`
- `eliminate_inner`, `test_vertical_compaction_agg_state`,
  `sql_cache_object_type`, `test_routine_load` (all 11 sections)
- `ddl_p0/test_drop_view_nereids`, `ddl_p0/test_truncate_table` for the
  shared `dropTable` path

`temp_table_p0/test_temp_table` cannot be completed locally: it needs S3
credentials for a backup repository at line 213, well before the CTAS this
fixes. It still needs a CI run to confirm nothing else is behind line 456.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@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?

@morningman

Copy link
Copy Markdown
Contributor Author

run buildall

morrySnow
morrySnow previously approved these changes Sep 4, 2026
@hello-stephen

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

------ Round 1 ----------------------------------
============================================
q1	17574	3120	3066	3066
q2	2068	259	230	230
q3	10252	898	531	531
q4	4667	252	208	208
q5	7675	563	385	385
q6	139	109	92	92
q7	531	531	388	388
q8	9246	876	913	876
q9	3403	2402	2368	2368
q10	6532	868	698	698
q11	390	199	185	185
q12	610	255	201	201
q13	18130	1530	1162	1162
q14	166	149	144	144
q15	q16	429	399	365	365
q17	1344	899	778	778
q18	3151	2283	2258	2258
q19	1291	871	730	730
q20	418	281	199	199
q21	5619	1636	1821	1636
q22	339	270	228	228
Total cold run time: 93974 ms
Total hot run time: 16728 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	3492	3419	3395	3395
q2	509	387	385	385
q3	2208	2373	2150	2150
q4	1207	1168	908	908
q5	2202	2115	2121	2115
q6	167	120	89	89
q7	1046	930	848	848
q8	1606	1433	1433	1433
q9	3160	3142	3126	3126
q10	1853	1799	1613	1613
q11	364	274	254	254
q12	462	433	347	347
q13	1487	1532	1180	1180
q14	170	177	153	153
q15	q16	393	402	359	359
q17	3612	3351	3241	3241
q18	4832	4437	4758	4437
q19	871	949	869	869
q20	1028	975	841	841
q21	3874	3228	3238	3228
q22	407	359	326	326
Total cold run time: 34950 ms
Total hot run time: 31297 ms

… and fix 2 muted nonConcurrent cases

## Problem

The NonConcurrent Regression pipeline (build apache#31074) reports one new
failure and six muted cases. Three of the muted ones are stale -- green
for the last 40 runs -- and can simply be unmuted. The other three:

| case | failures / last runs |
|---|---|
| job_p0/streaming_job/test_streaming_job_schedule_task_error | 1 / 60 |
| compaction/test_mow_compact_multi_segments | 39 / 40 |
| query_p0/runtime_filter/rf_bucket_pruning | 90 / 300 |

## Fixes

**FE: a streaming job can wedge in RUNNING with no task**

`StreamingJobSchedulerTask.handlePendingState()` hands the new task to
the scheduler in `createStreamingTask()` and only then writes RUNNING.
By that point the scheduler thread may already have failed the task and
moved the job to PAUSED (`StreamingTaskScheduler.scheduleTasks`), and
the unconditional RUNNING write drops that. Nothing recovers from the
resulting state: `handleRunningState()` never creates a task for a TVF
source -- `processTimeoutTasks()` returns immediately for anything that
is not a `StreamingMultiTblTask` -- and the auto resume handler only
runs while PAUSED. The job then holds a canceled task and a failure
reason while reporting RUNNING, and makes no progress at all. That is
what the build recorded: status RUNNING, canceled task count 2, error
`{"code":"INTERNAL_ERR","msg":"debug point StreamingJob.scheduleTask.exception"}`,
and five minutes of silence.

PENDING -> RUNNING is now a guarded transition
(`StreamingInsertJob.updateJobStatusIfCurrent`), so a status another
thread wrote survives. It also stops a concurrent DROP/STOP JOB from
being revived, which used to raise `IllegalArgumentException`.

**Case: test_mow_compact_multi_segments pinned only the cloud policy**

The suite runs in both deployments but enabled only
`CloudSizeBasedCumulativeCompactionPolicy::pick_input_rowsets.set_input_rowsets`.
On a storage-compute-coupled BE the input rowsets are therefore chosen
by size and score: `[2-2]` alone is 263KB (below
`cumulative_size_based_compaction_lower_size_mbytes`) with score 4
(below `min_cumulative_compaction_num_singleton_deltas`), so the first
compaction is refused with `[E-2000]_input_rowsets is empty`, and the
second one merges `[2-2]` with `[3-3]` into `[2-3]`. Only then, one
rowset short, does `assertTrue(rowsets.size() >= 3)` fire. The local
`SizeBasedCumulativeCompactionPolicy` debug point is now enabled
alongside the cloud one, matching
`fault_injection_p0/test_ordered_compaction_num_seg_rows`.

The two post-compaction segment-count checks also passed
`enableAssert = false`, so the wait loop's timeout exit was silent --
that is what hid the first compaction's failure for two months. They now
assert.

**Case: rf_bucket_pruning did not pin runtime_filter_max_in_num**

`nonConcurrent/conf/fe.conf` sets `use_fuzzy_session_variable=true`, and
one of the four branches in `SessionVariable.initFuzzyModeVariables()`
sets `runtime_filter_max_in_num = 0`. Bucket pruning inverts the IN set
and bails out at `hybrid_set->size() > max_in_num`, which a single-value
filter already satisfies against 0 -- so no bucket is pruned and the
counter stays 0. The suite pinned every other relevant session variable
but this one; its sibling `rf_partition_pruning` has pinned it at 1024
since it was written, for the same reason.

## Testing

- `StreamingInsertJobStatusTransitionTest` (new, 3 cases): the guarded
  transition promotes PENDING, and leaves PAUSED and STOPPED alone.
- `test_mow_compact_multi_segments` on a local single FE + single BE
  cluster: both compactions now produce a one-segment rowset, all three
  rowsets survive, and the closing `delete_bitmap_count == 1` holds --
  the part that had never been reached in this deployment.
- `rf_bucket_pruning` with `set global runtime_filter_max_in_num = 0`:
  passes with the pin, and without it reproduces the CI failure verbatim
  (`single-column HASH distribution should be pruned`, same line).
- `test_streaming_job_schedule_task_error` could not be completed
  locally: it loads from S3 and the available credentials are rejected
  by the bucket. It needs a CI run.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 82322 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 aeee5d8731d119503803560c8c86b16e4afd5d01, data reload: false

query5	4241	413	341	341
query6	372	133	142	133
query7	4955	406	230	230
query8	292	127	123	123
query9	8693	2945	2919	2919
query10	389	220	193	193
query11	5389	1062	919	919
query12	119	77	71	71
query13	1204	452	349	349
query14	6086	2215	2104	2104
query14_1	2001	1987	1984	1984
query15	180	126	114	114
query16	915	373	361	361
query17	797	463	379	379
query18	2333	336	240	240
query19	165	146	120	120
query20	75	72	72	72
query21	204	105	89	89
query22	5421	5374	5323	5323
query23	6812	6199	5988	5988
query23_1	6219	6029	6079	6029
query24	7252	1106	774	774
query24_1	800	754	793	754
query25	438	312	267	267
query26	1231	238	129	129
query27	2778	405	261	261
query28	4663	1520	1538	1520
query29	904	425	328	328
query30	251	152	129	129
query31	825	396	333	333
query32	124	76	70	70
query33	445	218	172	172
query34	1001	777	485	485
query35	404	405	333	333
query36	576	567	528	528
query37	118	77	74	74
query38	1005	844	805	805
query39	495	474	496	474
query39_1	455	460	468	460
query40	204	89	74	74
query41	53	52	56	52
query42	79	71	74	71
query43	245	241	219	219
query44	1000	542	548	542
query45	114	105	106	105
query46	787	855	536	536
query47	769	753	706	706
query48	311	322	240	240
query49	535	235	179	179
query50	764	268	192	192
query51	8358	8213	8357	8213
query52	67	67	65	65
query53	198	200	148	148
query54	215	177	189	177
query55	102	63	55	55
query56	213	159	158	158
query57	698	645	648	645
query58	205	181	161	161
query59	1229	1231	1108	1108
query60	258	204	175	175
query61	152	167	137	137
query62	352	220	188	188
query63	182	150	150	150
query64	2884	716	622	622
query65	1587	1602	1664	1602
query66	1934	270	209	209
query67	10007	9806	9603	9603
query68	3015	1267	702	702
query69	357	224	190	190
query70	665	626	615	615
query71	246	174	165	165
query72	2343	1748	1552	1552
query73	652	576	338	338
query74	2017	1253	1128	1128
query75	1188	1105	967	967
query76	2371	725	533	533
query77	263	261	216	216
query78	4064	3654	3237	3237
query79	2754	870	558	558
query80	1596	357	277	277
query81	494	160	138	138
query82	641	122	97	97
query83	278	212	186	186
query84	296	115	89	89
query85	822	348	295	295
query86	398	186	170	170
query87	1011	955	886	886
query88	2879	2134	2127	2127
query89	279	196	177	177
query90	1961	126	124	124
query91	129	120	99	99
query92	81	68	68	68
query93	1686	1081	730	730
query94	636	259	217	217
query95	523	260	229	229
query96	819	598	271	271
query97	1068	1083	999	999
query98	169	135	139	135
query99	422	356	321	321
Total cold run time: 179670 ms
Total hot run time: 82322 ms

@hello-stephen

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

query1	0.01	0.00	0.01
query2	0.08	0.04	0.04
query3	0.26	0.11	0.11
query4	1.59	0.09	0.09
query5	0.17	0.15	0.15
query6	1.27	0.68	0.69
query7	0.03	0.01	0.00
query8	0.04	0.03	0.03
query9	0.28	0.21	0.22
query10	0.34	0.37	0.36
query11	0.17	0.12	0.12
query12	0.15	0.12	0.12
query13	0.31	0.30	0.30
query14	0.46	0.46	0.45
query15	0.36	0.35	0.37
query16	0.23	0.23	0.22
query17	0.67	0.67	0.68
query18	0.19	0.17	0.18
query19	1.22	1.10	1.07
query20	0.01	0.01	0.01
query21	15.44	0.15	0.11
query22	5.08	0.04	0.04
query23	16.17	0.25	0.10
query24	3.02	0.32	0.24
query25	0.10	0.04	0.03
query26	0.77	0.16	0.12
query27	0.04	0.03	0.03
query28	3.66	0.56	0.28
query29	12.45	3.20	2.59
query30	0.25	0.10	0.13
query31	2.76	0.37	0.17
query32	3.52	0.31	0.23
query33	1.37	1.40	1.43
query34	15.39	2.21	1.80
query35	1.79	1.74	1.73
query36	0.45	0.30	0.27
query37	0.06	0.04	0.04
query38	0.05	0.03	0.03
query39	0.03	0.02	0.02
query40	0.11	0.07	0.08
query41	0.07	0.02	0.02
query42	0.04	0.02	0.02
query43	0.04	0.03	0.03
Total cold run time: 90.5 s
Total hot run time: 14.62 s

@JNSimba JNSimba left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@morningman

Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen

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

------ Round 1 ----------------------------------
============================================
q1	17571	3142	3142	3142
q2	2079	260	220	220
q3	10246	888	521	521
q4	4672	254	202	202
q5	7676	576	389	389
q6	138	118	95	95
q7	538	508	396	396
q8	9241	936	952	936
q9	3457	2392	2396	2392
q10	6524	859	710	710
q11	403	198	183	183
q12	614	260	204	204
q13	18126	1553	1174	1174
q14	158	157	139	139
q15	q16	438	400	370	370
q17	1380	908	837	837
q18	3147	2246	2256	2246
q19	1268	934	787	787
q20	396	286	201	201
q21	5584	1718	1901	1718
q22	345	270	234	234
Total cold run time: 94001 ms
Total hot run time: 17096 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	3542	3450	3418	3418
q2	522	417	365	365
q3	2264	2331	2191	2191
q4	1205	1166	904	904
q5	2187	2136	2122	2122
q6	165	124	87	87
q7	1025	909	871	871
q8	1626	1420	1425	1420
q9	3170	3153	3138	3138
q10	1854	1797	1636	1636
q11	362	276	253	253
q12	464	445	353	353
q13	1519	1521	1179	1179
q14	173	182	167	167
q15	q16	394	392	363	363
q17	3618	3376	3206	3206
q18	4824	4494	4858	4494
q19	945	858	873	858
q20	1034	972	849	849
q21	3867	3191	3252	3191
q22	446	351	321	321
Total cold run time: 35206 ms
Total hot run time: 31386 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 82390 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 d735d23f7945e19d506d0979a9eb71b952641e49, data reload: false

query5	4238	411	342	342
query6	389	133	124	124
query7	4942	407	213	213
query8	289	130	121	121
query9	8683	2914	2913	2913
query10	401	210	181	181
query11	5391	1039	910	910
query12	117	67	69	67
query13	1188	429	316	316
query14	6056	2233	2106	2106
query14_1	1983	1981	1975	1975
query15	179	124	111	111
query16	922	402	350	350
query17	794	480	373	373
query18	2341	334	245	245
query19	168	145	113	113
query20	76	74	77	74
query21	205	105	87	87
query22	5378	5401	5319	5319
query23	6909	6147	6225	6147
query23_1	6179	6061	6200	6061
query24	7245	1123	771	771
query24_1	778	777	764	764
query25	409	286	228	228
query26	1225	241	130	130
query27	2781	430	252	252
query28	4662	1497	1510	1497
query29	913	436	332	332
query30	246	155	129	129
query31	819	418	329	329
query32	137	75	68	68
query33	444	218	164	164
query34	1006	831	488	488
query35	396	399	339	339
query36	574	549	547	547
query37	119	78	70	70
query38	1004	840	837	837
query39	513	468	481	468
query39_1	452	481	464	464
query40	200	92	76	76
query41	53	53	51	51
query42	75	70	73	70
query43	243	243	217	217
query44	994	566	556	556
query45	108	110	105	105
query46	769	829	500	500
query47	764	776	703	703
query48	313	312	226	226
query49	532	243	188	188
query50	791	265	190	190
query51	8297	8235	8307	8235
query52	69	66	60	60
query53	196	194	146	146
query54	246	244	184	184
query55	71	57	58	57
query56	184	163	150	150
query57	678	670	660	660
query58	204	164	162	162
query59	1227	1250	1102	1102
query60	256	187	172	172
query61	131	129	129	129
query62	357	202	179	179
query63	169	140	133	133
query64	2801	744	568	568
query65	1624	1650	1590	1590
query66	1769	260	198	198
query67	9781	9729	9750	9729
query68	2769	1269	723	723
query69	334	226	193	193
query70	683	601	626	601
query71	245	177	163	163
query72	2385	1768	1569	1569
query73	635	617	349	349
query74	1567	1210	1148	1148
query75	1175	1113	960	960
query76	2299	737	544	544
query77	259	264	217	217
query78	3859	3759	3200	3200
query79	1296	801	594	594
query80	1219	335	280	280
query81	489	156	131	131
query82	1173	138	96	96
query83	316	209	196	196
query84	290	113	91	91
query85	947	363	298	298
query86	410	173	170	170
query87	1030	977	886	886
query88	2759	2104	2095	2095
query89	308	195	176	176
query90	1873	130	129	129
query91	133	125	100	100
query92	68	68	71	68
query93	1263	1091	684	684
query94	644	271	212	212
query95	510	343	231	231
query96	822	609	273	273
query97	1054	1097	1017	1017
query98	146	140	134	134
query99	446	347	319	319
Total cold run time: 176276 ms
Total hot run time: 82390 ms

@hello-stephen

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

query1	0.00	0.00	0.01
query2	0.08	0.04	0.04
query3	0.24	0.11	0.10
query4	1.60	0.09	0.10
query5	0.17	0.17	0.16
query6	1.28	0.67	0.70
query7	0.04	0.01	0.01
query8	0.05	0.03	0.03
query9	0.29	0.22	0.22
query10	0.34	0.35	0.33
query11	0.15	0.11	0.12
query12	0.15	0.13	0.12
query13	0.29	0.30	0.31
query14	0.44	0.46	0.45
query15	0.37	0.36	0.38
query16	0.22	0.23	0.23
query17	0.73	0.69	0.71
query18	0.19	0.17	0.17
query19	1.19	1.15	1.17
query20	0.02	0.01	0.01
query21	15.44	0.15	0.11
query22	5.12	0.04	0.04
query23	16.20	0.26	0.10
query24	3.05	0.32	0.30
query25	0.10	0.04	0.03
query26	0.79	0.16	0.12
query27	0.04	0.03	0.02
query28	3.64	0.56	0.28
query29	12.50	3.17	2.57
query30	0.26	0.11	0.12
query31	2.75	0.37	0.17
query32	3.51	0.32	0.22
query33	1.45	1.39	1.53
query34	15.38	2.18	1.81
query35	1.73	1.73	1.72
query36	0.45	0.29	0.28
query37	0.06	0.04	0.04
query38	0.04	0.03	0.03
query39	0.03	0.02	0.02
query40	0.11	0.08	0.07
query41	0.08	0.02	0.02
query42	0.03	0.03	0.02
query43	0.03	0.02	0.03
Total cold run time: 90.63 s
Total hot run time: 14.73 s

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 61.11% (11/18) 🎉
Increment coverage report
Complete coverage report

@morningman
morningman merged commit dc848b3 into apache:master Sep 4, 2026
33 of 34 checks passed
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.

6 participants