Skip to content

[feature](compression) Support per-column compression for non-cloud - #66169

Open
zwy991114 wants to merge 8 commits into
apache:masterfrom
zwy991114:feature/per-column-compression-codec
Open

[feature](compression) Support per-column compression for non-cloud#66169
zwy991114 wants to merge 8 commits into
apache:masterfrom
zwy991114:feature/per-column-compression-codec

Conversation

@zwy991114

@zwy991114 zwy991114 commented Jul 28, 2026

Copy link
Copy Markdown

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Doris only supports a single compression codec configured at the table level (via PROPERTIES("compression"=...)), applied uniformly to every column. In real workloads, columns have very different data characteristics — highly redundant text columns (URLs, referers, search phrases) compress far better under a high-level ZSTD/LZ4HC codec, while numeric/low-cardinality columns gain little and pay the CPU cost. There was no way to tune the codec per column.

This PR adds per-column generic compression codec support for non-cloud (OLAP) tables. Users can specify a codec and optional level directly on a column:

CREATE TABLE t (
    k INT,
    url STRING COMPRESSION 'zstd:19',
    tag VARCHAR(64) COMPRESSION 'lz4hc:12'
)
DUPLICATE KEY(k)
DISTRIBUTED BY HASH(k) BUCKETS 1;

Compression ratio test on ClickBench hits:

Loaded the ClickBench hits dataset into two tables with identical schema. One table (baseline) uses the ZSTD level 3 default on every column; the other overrides five heavy text columns with COMPRESSION 'zstd:19'. After forcing full compaction on both, per-column sizes were read from information_schema.column_data_sizes.

Column Baseline(zstd:3) Per-column(zstd:19) Ratio improvement
OriginalURL 5.233 6.401 +22.3%
Referer 3.574 4.396 +23.0%
SearchPhrase 4.015 4.970 +23.8%
Title 4.676 5.690 +21.7%
URL 3.954 4.905 +24.1%

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

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

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?

@zwy991114

Copy link
Copy Markdown
Author

run buildall

1 similar comment
@csun5285

Copy link
Copy Markdown
Contributor

run buildall

@csun5285

Copy link
Copy Markdown
Contributor

/review

@hello-stephen

Copy link
Copy Markdown
Contributor

Cloud UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 77.62% (1908/2458)
Line Coverage 64.46% (34145/52968)
Region Coverage 64.87% (17564/27076)
Branch Coverage 54.05% (9418/17424)

@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.

Requesting changes for seven P1 findings and one P2 finding. No additional user-provided review focus was supplied, so I reviewed the whole PR.

Critical checkpoint conclusions:

  • Goal and scope: the PR coherently adds a per-column codec and optional level across SQL, FE catalog/protocol, tablet schema, and both segment writers. The ordinary non-cloud scalar path is largely connected, but cloud/full schema change, compression-only MODIFY, light CCR SQL, complex AGG_STATE storage, codec lifetime/accounting, and test gaps mean the goal is not safely complete.
  • Size and focus: the cross-module scope is necessary for this feature and unrelated production changes were not found.
  • Concurrency and lifecycle: codec pools are mutex-protected, writer ownership keeps the observer pointer valid, and no new race, lock-order, or deadlock issue was found. The new owned-codec lifecycle does create the retained-workspace multiplier and allocation/free tracker mismatch called out inline.
  • Configuration and compatibility: no configuration item is added. Optional thrift/protobuf/footer fields remain readable by compatible readers; old BEs can ignore the write policy during a rolling upgrade and emit the table codec, which is storage-policy drift rather than unreadable data.
  • Parallel paths and conditions: legacy, vertical, row-binlog, schema-change, and compaction writers implement small-segment suppression > explicit override > table default when every physical schema node carries the policy. The cloud protobuf omission and complex AGG_STATE child/auxiliary metas are the exceptions. Compression in general Column.equals() also reaches routing/type guards that should not treat it as a logical change.
  • Tests and results: none of the changed tests observes requested-level application; the regression write is below the compression-suppression threshold, and the suite lacks the required generated result contract. Per the review-only task contract I did not run local builds/tests; this checkout also lacks .worktree_initialized, thirdparty/installed, and protoc. Live CI currently has compile, FE UT, macOS BE UT, style, license, and secret checks passing; BE UT is ERROR, Cloud UT is FAILURE, several regression/performance checks are pending, and the PR title checker is failing.
  • Observability and persistence: SHOW CREATE from the catalog column renders the policy, but reconstructed command SQL omits it. Local edit-log replay retains schema objects; the light CCR binlog executes the incomplete rawSql and loses the clause. Full cloud shadow-tablet protobuf construction separately drops the fields.
  • Data writes and transactions: no visible-version, transaction, delete-bitmap, or atomicity mechanism is changed. Segments remain readable because the actual codec is stored in the footer, but affected paths silently write a different policy from the DDL.
  • Performance: a private reusable native workspace per levelled column/open segment is an unbounded schema-width multiplier and is not included in segment buffer estimation.
  • Other: no security-sensitive behavior, new metric, or dynamic configuration requirement was introduced.

PR metadata also needs cleanup: the title does not match the required bracketed format (for example, [feature](compression) Support per-column compression for non-cloud); Issue Number and Related PR still contain #xxx; and this user-visible feature is marked both Release note: None and Behavior changed: No while documentation is checked without a link.

Comment thread fe/fe-catalog/src/main/java/org/apache/doris/catalog/Column.java
Comment thread be/src/util/block_compression.cpp Outdated
Comment thread be/src/util/block_compression.cpp Outdated
Comment thread be/test/storage/segment/column_compression_roundtrip_test.cpp Outdated
Comment thread regression-test/suites/ddl_p0/test_column_compression.groovy Outdated
@hello-stephen

Copy link
Copy Markdown
Contributor

BE UT Coverage Report

Increment line coverage 97.87% (92/94) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 58.18% (24679/42416)
Line Coverage 42.22% (246541/583967)
Region Coverage 38.10% (195874/514065)
Branch Coverage 39.24% (88499/225519)

@hello-stephen

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

------ Round 1 ----------------------------------
============================================
q1	17687	4149	4163	4149
q2	2061	332	201	201
q3	10832	1458	819	819
q4	4794	473	340	340
q5	8433	845	554	554
q6	334	168	137	137
q7	813	826	610	610
q8	10498	1568	1595	1568
q9	5817	4342	4324	4324
q10	6763	1752	1447	1447
q11	511	351	330	330
q12	764	577	459	459
q13	18065	3391	2783	2783
q14	268	260	252	252
q15	q16	788	784	709	709
q17	1064	1003	1055	1003
q18	6833	5905	5545	5545
q19	1156	1201	1067	1067
q20	801	692	563	563
q21	5462	2576	2324	2324
q22	448	354	294	294
Total cold run time: 104192 ms
Total hot run time: 29478 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4416	4308	4314	4308
q2	281	320	217	217
q3	4694	4968	4411	4411
q4	2051	2173	1352	1352
q5	4364	4239	4328	4239
q6	232	177	126	126
q7	2258	1895	1593	1593
q8	2494	2155	2155	2155
q9	7765	7624	7701	7624
q10	4758	4643	4196	4196
q11	755	428	393	393
q12	742	754	546	546
q13	3202	3617	2944	2944
q14	304	294	287	287
q15	q16	724	748	654	654
q17	1359	1370	1334	1334
q18	7928	7488	6956	6956
q19	1113	1080	1122	1080
q20	2233	2222	1933	1933
q21	5255	4552	4439	4439
q22	504	463	399	399
Total cold run time: 57432 ms
Total hot run time: 51186 ms

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 97.87% (92/94) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 75.41% (31191/41363)
Line Coverage 59.94% (347740/580136)
Region Coverage 56.63% (292121/515856)
Branch Coverage 57.95% (130727/225587)

@hello-stephen

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

query5	4312	642	477	477
query6	457	222	220	220
query7	4867	588	356	356
query8	330	187	173	173
query9	8754	4034	4029	4029
query10	452	358	299	299
query11	5912	2559	2115	2115
query12	155	107	100	100
query13	1272	598	440	440
query14	6257	5200	4880	4880
query14_1	4249	4232	4225	4225
query15	216	198	181	181
query16	1010	482	481	481
query17	1129	712	591	591
query18	2445	485	365	365
query19	210	187	162	162
query20	116	111	108	108
query21	240	161	131	131
query22	13515	13584	13387	13387
query23	17407	16495	16116	16116
query23_1	16208	16194	16196	16194
query24	7610	1747	1268	1268
query24_1	1292	1255	1301	1255
query25	575	464	388	388
query26	1322	354	213	213
query27	2585	627	399	399
query28	4505	1985	1985	1985
query29	1089	632	509	509
query30	348	276	228	228
query31	1126	1099	970	970
query32	111	66	62	62
query33	524	327	265	265
query34	1211	1167	652	652
query35	780	779	658	658
query36	1042	1032	872	872
query37	161	110	94	94
query38	1870	1724	1688	1688
query39	885	905	845	845
query39_1	832	826	844	826
query40	288	165	148	148
query41	69	61	64	61
query42	94	99	94	94
query43	329	326	279	279
query44	1412	768	757	757
query45	196	189	177	177
query46	1059	1193	748	748
query47	2138	2111	1980	1980
query48	408	417	292	292
query49	579	420	311	311
query50	1152	443	346	346
query51	10660	10687	10723	10687
query52	90	87	78	78
query53	262	283	201	201
query54	297	226	216	216
query55	76	69	67	67
query56	308	285	315	285
query57	1310	1301	1188	1188
query58	290	263	252	252
query59	1609	1695	1479	1479
query60	312	285	268	268
query61	149	149	145	145
query62	535	496	431	431
query63	246	203	199	199
query64	2837	1026	883	883
query65	4731	4662	4602	4602
query66	1827	500	388	388
query67	28780	29209	29185	29185
query68	3112	1549	962	962
query69	408	295	267	267
query70	895	813	830	813
query71	374	332	339	332
query72	2997	2891	2412	2412
query73	831	781	438	438
query74	5058	4918	4690	4690
query75	2532	2502	2132	2132
query76	2369	1171	798	798
query77	339	381	281	281
query78	11945	12070	11294	11294
query79	1448	1183	758	758
query80	1279	549	459	459
query81	541	341	296	296
query82	669	155	119	119
query83	370	322	296	296
query84	287	157	129	129
query85	1000	609	538	538
query86	407	242	236	236
query87	1835	1813	1759	1759
query88	3677	2794	2823	2794
query89	428	367	336	336
query90	1932	199	190	190
query91	203	189	160	160
query92	64	62	57	57
query93	1800	1475	1024	1024
query94	733	357	321	321
query95	785	497	459	459
query96	1058	839	377	377
query97	2618	2645	2516	2516
query98	214	211	197	197
query99	1092	1095	963	963
Total cold run time: 263129 ms
Total hot run time: 177512 ms

@hello-stephen

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

query1	0.01	0.01	0.00
query2	0.14	0.07	0.08
query3	0.37	0.25	0.25
query4	1.61	0.24	0.26
query5	0.35	0.31	0.32
query6	1.17	0.67	0.67
query7	0.05	0.00	0.00
query8	0.10	0.08	0.07
query9	0.50	0.38	0.40
query10	0.59	0.59	0.59
query11	0.31	0.17	0.18
query12	0.32	0.19	0.18
query13	0.52	0.53	0.52
query14	0.93	0.94	0.93
query15	0.68	0.59	0.60
query16	0.39	0.39	0.39
query17	1.02	0.99	1.01
query18	0.31	0.30	0.31
query19	1.93	1.82	1.86
query20	0.02	0.02	0.02
query21	15.41	0.38	0.32
query22	4.83	0.13	0.14
query23	15.86	0.50	0.30
query24	2.44	0.62	0.44
query25	0.16	0.11	0.09
query26	0.73	0.27	0.21
query27	0.11	0.10	0.10
query28	3.51	0.89	0.55
query29	12.48	4.24	3.37
query30	0.39	0.27	0.27
query31	2.77	0.63	0.32
query32	3.23	0.60	0.47
query33	2.96	3.01	3.03
query34	15.87	4.06	3.34
query35	3.27	3.24	3.26
query36	0.65	0.53	0.52
query37	0.12	0.10	0.09
query38	0.07	0.07	0.07
query39	0.07	0.06	0.06
query40	0.20	0.17	0.17
query41	0.13	0.08	0.08
query42	0.09	0.06	0.06
query43	0.08	0.08	0.07
Total cold run time: 96.75 s
Total hot run time: 25.77 s

@zwy991114 zwy991114 changed the title feat(compression): support per-column compression for non-cloud [feature](compression) Support per-column compression for non-cloud Jul 29, 2026
@zwy991114
zwy991114 force-pushed the feature/per-column-compression-codec branch from 99ea75a to 3c2c514 Compare July 29, 2026 08:28
@zwy991114
zwy991114 requested a review from luwei16 as a code owner July 29, 2026 08:28
@zwy991114

Copy link
Copy Markdown
Author

run buildall

@zwy991114

Copy link
Copy Markdown
Author

/review

@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 54.29% (38/70) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

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

------ Round 1 ----------------------------------
============================================
q1	17739	4135	4250	4135
q2	2026	331	215	215
q3	10814	1522	809	809
q4	4724	470	344	344
q5	8293	860	554	554
q6	314	213	138	138
q7	817	825	628	628
q8	10466	1712	1577	1577
q9	5928	4384	4398	4384
q10	6774	1747	1444	1444
q11	509	360	337	337
q12	778	582	470	470
q13	18095	3261	2747	2747
q14	262	260	234	234
q15	q16	790	783	714	714
q17	1003	965	980	965
q18	7069	5722	5480	5480
q19	1202	1315	1106	1106
q20	772	707	596	596
q21	5573	2589	2524	2524
q22	414	343	295	295
Total cold run time: 104362 ms
Total hot run time: 29696 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4500	4400	4402	4400
q2	285	321	210	210
q3	4570	4960	4393	4393
q4	2052	2134	1380	1380
q5	4415	4249	4278	4249
q6	233	189	247	189
q7	2197	1884	1607	1607
q8	2611	2224	2192	2192
q9	7852	7746	7818	7746
q10	4667	4616	4178	4178
q11	708	419	401	401
q12	745	799	573	573
q13	3333	3630	3066	3066
q14	303	289	269	269
q15	q16	699	726	671	671
q17	1410	1458	1359	1359
q18	8072	7372	6832	6832
q19	1093	1072	1088	1072
q20	2244	2201	1934	1934
q21	5274	4612	4476	4476
q22	531	471	429	429
Total cold run time: 57794 ms
Total hot run time: 51626 ms

@hello-stephen

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

query5	4314	613	507	507
query6	455	218	198	198
query7	4852	618	359	359
query8	343	195	189	189
query9	8792	4102	4105	4102
query10	471	367	309	309
query11	5972	2362	2156	2156
query12	171	104	103	103
query13	1267	591	439	439
query14	6263	5201	4935	4935
query14_1	4314	4278	4272	4272
query15	217	211	180	180
query16	970	520	450	450
query17	1129	735	594	594
query18	2458	467	353	353
query19	209	195	153	153
query20	116	105	107	105
query21	233	158	136	136
query22	13527	13500	13428	13428
query23	17412	16603	16160	16160
query23_1	16313	16237	16177	16177
query24	7573	1801	1264	1264
query24_1	1340	1310	1325	1310
query25	593	482	392	392
query26	1347	381	224	224
query27	2556	586	383	383
query28	4450	2011	2017	2011
query29	1091	644	497	497
query30	345	267	225	225
query31	1125	1097	971	971
query32	108	69	62	62
query33	540	327	260	260
query34	1167	1150	661	661
query35	787	791	684	684
query36	1022	1056	864	864
query37	160	116	96	96
query38	1907	1733	1672	1672
query39	873	877	857	857
query39_1	832	873	849	849
query40	248	165	142	142
query41	65	64	63	63
query42	96	90	93	90
query43	330	323	292	292
query44	1458	792	740	740
query45	189	179	172	172
query46	1037	1206	746	746
query47	2098	2087	1997	1997
query48	409	421	301	301
query49	583	419	306	306
query50	1127	429	331	331
query51	10756	10785	10783	10783
query52	91	87	73	73
query53	255	273	210	210
query54	294	248	216	216
query55	75	69	71	69
query56	297	309	290	290
query57	1326	1286	1179	1179
query58	285	265	257	257
query59	1607	1654	1477	1477
query60	309	278	253	253
query61	159	147	141	141
query62	549	497	421	421
query63	243	205	204	204
query64	2839	1025	874	874
query65	4710	4605	4618	4605
query66	1808	498	381	381
query67	29315	29236	28514	28514
query68	3121	1510	953	953
query69	416	330	302	302
query70	949	838	840	838
query71	374	353	343	343
query72	3009	2701	2358	2358
query73	805	778	443	443
query74	5081	4925	4677	4677
query75	2574	2503	2136	2136
query76	2327	1203	813	813
query77	366	392	290	290
query78	11926	11831	11255	11255
query79	1368	1158	750	750
query80	1293	544	463	463
query81	524	332	287	287
query82	623	164	121	121
query83	375	339	305	305
query84	282	162	131	131
query85	966	604	516	516
query86	415	242	227	227
query87	1824	1815	1742	1742
query88	3772	2817	2827	2817
query89	443	385	326	326
query90	1945	202	201	201
query91	204	196	162	162
query92	59	60	55	55
query93	1633	1503	1012	1012
query94	735	365	312	312
query95	802	596	478	478
query96	1074	824	331	331
query97	2620	2609	2481	2481
query98	216	210	204	204
query99	1088	1113	964	964
Total cold run time: 263552 ms
Total hot run time: 177250 ms

@zwy991114

Copy link
Copy Markdown
Author
  1. 需要调研一下其他的OLAP 系统的SQL语法是怎么指定压缩算法的,尽量避免独创SQL 语法
  2. 需要测试升降级,是否支持降级,如果不支持在PR 中说明
  3. https://github.com/apache/doris-website 向文档仓库提pr 说明这个功能
系统 粒度 SQL 示例 压缩等级
ClickHouse 列级 content String CODEC(ZSTD(9)) 支持
Amazon Redshift 列级 content VARCHAR ENCODE ZSTD 不支持
StarRocks 表级 PROPERTIES ("compression" = "ZSTD") 不支持
DuckDB 文件导出 COPY t TO 't.parquet' (COMPRESSION zstd) 通常不在表 DDL 指定
Snowflake / BigQuery 系统自动 表存储压缩算法不可通过普通 DDL 指定 不支持

ClickHouse

当前PR最接近ClickHouse 的设计:压缩配置属于列定义,并且算法参数使用函数式语法。

  CREATE TABLE events (
      id UInt64 CODEC(Delta, ZSTD(3)),
      content String CODEC(ZSTD(9))
  )
  ENGINE = MergeTree
  ORDER BY id;

它还支持组合预处理 Codec,例如 Delta 后接 ZSTD,并支持通过 ADD COLUMN、MODIFY COLUMN 修改 Codec。(clickhouse.com (https://clickhouse.com/docs/get-started/sample-datasets/wikistat))

Amazon Redshift

Redshift 使用列级 ENCODE:

  CREATE TABLE events (
      id BIGINT ENCODE DELTA,
      content VARCHAR(65535) ENCODE ZSTD
  );

也可以让系统自动选择:

  CREATE TABLE events (
      id BIGINT,
      content VARCHAR(65535)
  )
  ENCODE AUTO;

Redshift 的 encoding 是算法或数据编码类型,不暴露 ZSTD 数字等级。(docs.aws.amazon.com (https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_TABLE_NEW.html))

StarRocks

StarRocks 目前是表级属性:

  CREATE TABLE events (
      id BIGINT,
      content STRING
  )
  ENGINE = OLAP
  DUPLICATE KEY(id)
  DISTRIBUTED BY HASH(id)
  PROPERTIES (
      "compression" = "ZSTD"
  );

支持 LZ4、ZSTD、zlib 和 Snappy;只能建表时设置,不能按列或通过 ALTER 修改,也不暴露压缩等级。(docs.starrocks.io (https://docs.starrocks.io/docs/table_design/data_compression/))

DuckDB

DuckDB 的原生表通常不在列定义中指定压缩算法,显式算法主要用于 Parquet 输出:

  COPY events TO 'events.parquet'
  (FORMAT parquet, COMPRESSION zstd);

这是文件级配置,不属于表的持久化 Schema。(duckdb.org (https://duckdb.org/docs/current/data/parquet/overview))

@hello-stephen

Copy link
Copy Markdown
Contributor

Cloud UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 77.58% (1913/2466)
Line Coverage 64.54% (34225/53029)
Region Coverage 64.45% (17282/26816)
Branch Coverage 53.95% (9254/17152)

@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 74.29% (52/70) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 60.00% (42/70) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

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

------ Round 1 ----------------------------------
============================================
q1	17611	4035	4014	4014
q2	2022	326	211	211
q3	10801	1404	778	778
q4	4772	466	338	338
q5	8536	844	563	563
q6	341	169	134	134
q7	812	841	596	596
q8	10620	1598	1592	1592
q9	5438	4095	4043	4043
q10	6833	1640	1387	1387
q11	516	340	314	314
q12	710	585	472	472
q13	18117	3316	2776	2776
q14	262	252	244	244
q15	q16	738	735	667	667
q17	992	1164	914	914
q18	6666	5605	5631	5605
q19	1161	1311	1155	1155
q20	775	664	573	573
q21	5645	2643	2417	2417
q22	433	358	296	296
Total cold run time: 103801 ms
Total hot run time: 29089 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4348	4257	4213	4213
q2	269	324	207	207
q3	4595	4891	4384	4384
q4	2190	2279	1395	1395
q5	4215	4096	4151	4096
q6	232	173	125	125
q7	1679	1961	1639	1639
q8	2432	2071	2039	2039
q9	7319	7264	7167	7167
q10	4363	4268	3855	3855
q11	573	397	403	397
q12	736	750	513	513
q13	3380	3534	3012	3012
q14	312	316	283	283
q15	q16	701	697	626	626
q17	1309	1303	1318	1303
q18	12157	11064	11912	11064
q19	1201	1165	1171	1165
q20	2268	2221	2016	2016
q21	5661	4538	4537	4537
q22	541	489	416	416
Total cold run time: 60481 ms
Total hot run time: 54452 ms

@hello-stephen

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

query5	4317	589	454	454
query6	466	218	211	211
query7	4876	570	320	320
query8	321	166	152	152
query9	8793	4015	3983	3983
query10	500	362	309	309
query11	5876	2207	2031	2031
query12	163	100	98	98
query13	1281	610	433	433
query14	6076	4271	3970	3970
query14_1	3827	3808	3787	3787
query15	211	196	177	177
query16	1068	489	475	475
query17	939	714	570	570
query18	2481	476	351	351
query19	211	188	161	161
query20	105	102	100	100
query21	239	164	144	144
query22	13045	12928	12744	12744
query23	15823	14950	14654	14654
query23_1	14687	14799	14825	14799
query24	7553	1730	1252	1252
query24_1	1269	1227	1249	1227
query25	566	448	385	385
query26	1335	347	202	202
query27	2626	599	359	359
query28	4546	2010	1991	1991
query29	1073	625	498	498
query30	342	262	233	233
query31	1190	1117	1065	1065
query32	108	64	63	63
query33	551	329	253	253
query34	1202	1134	647	647
query35	753	764	649	649
query36	770	771	724	724
query37	163	109	96	96
query38	1850	1770	1684	1684
query39	835	843	796	796
query39_1	773	823	806	806
query40	256	181	150	150
query41	118	65	61	61
query42	91	92	91	91
query43	317	333	278	278
query44	1429	768	769	768
query45	191	173	165	165
query46	1100	1234	730	730
query47	1582	1571	1461	1461
query48	406	424	304	304
query49	570	420	290	290
query50	1075	415	337	337
query51	10738	10803	10637	10637
query52	91	87	77	77
query53	259	269	202	202
query54	281	239	219	219
query55	77	71	67	67
query56	326	300	300	300
query57	1033	1022	924	924
query58	299	251	270	251
query59	1532	1607	1366	1366
query60	330	288	259	259
query61	160	183	148	148
query62	395	319	266	266
query63	233	202	202	202
query64	2840	1026	843	843
query65	3877	3812	3819	3812
query66	1850	472	362	362
query67	28301	28109	27933	27933
query68	3103	1536	1020	1020
query69	429	318	271	271
query70	886	784	775	775
query71	368	351	296	296
query72	3017	2754	2375	2375
query73	857	800	435	435
query74	4634	4466	4286	4286
query75	2378	2342	1987	1987
query76	2320	1181	765	765
query77	343	406	283	283
query78	11179	11153	10633	10633
query79	1350	1160	741	741
query80	652	565	468	468
query81	490	329	289	289
query82	628	182	138	138
query83	407	322	299	299
query84	334	160	134	134
query85	922	605	534	534
query86	317	242	221	221
query87	1967	1947	1841	1841
query88	3731	2753	2807	2753
query89	401	317	289	289
query90	1969	201	196	196
query91	202	191	164	164
query92	67	61	57	57
query93	1566	1566	951	951
query94	539	351	308	308
query95	783	522	548	522
query96	1119	800	345	345
query97	2463	2472	2345	2345
query98	202	187	187	187
query99	744	730	608	608
Total cold run time: 253116 ms
Total hot run time: 166789 ms

@hello-stephen

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

query1	0.01	0.01	0.01
query2	0.15	0.08	0.08
query3	0.36	0.24	0.24
query4	1.61	0.25	0.24
query5	0.34	0.32	0.32
query6	1.17	0.65	0.66
query7	0.04	0.01	0.01
query8	0.09	0.07	0.07
query9	0.52	0.37	0.37
query10	0.57	0.58	0.58
query11	0.30	0.17	0.17
query12	0.31	0.19	0.18
query13	0.52	0.52	0.52
query14	0.92	0.92	0.91
query15	0.68	0.59	0.59
query16	0.37	0.38	0.41
query17	1.02	1.01	0.98
query18	0.28	0.26	0.27
query19	1.85	1.78	1.74
query20	0.02	0.01	0.01
query21	15.46	0.39	0.31
query22	4.81	0.14	0.13
query23	15.86	0.50	0.29
query24	2.52	0.59	0.44
query25	0.16	0.11	0.11
query26	0.73	0.26	0.22
query27	0.10	0.10	0.10
query28	3.47	0.83	0.43
query29	12.46	4.13	3.20
query30	0.38	0.27	0.27
query31	2.78	0.60	0.33
query32	3.23	0.60	0.49
query33	2.89	3.13	2.94
query34	15.77	3.92	3.26
query35	3.19	3.16	3.19
query36	0.65	0.54	0.52
query37	0.17	0.10	0.08
query38	0.08	0.06	0.07
query39	0.07	0.06	0.06
query40	0.19	0.17	0.17
query41	0.13	0.09	0.08
query42	0.09	0.06	0.05
query43	0.08	0.07	0.07
Total cold run time: 96.4 s
Total hot run time: 25.08 s

Comment thread fe/fe-sql-parser/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4 Outdated
Comment thread be/src/storage/tablet/tablet_meta.cpp
Comment thread regression-test/suites/ddl_p0/test_column_compression.groovy Outdated
@zwy991114

Copy link
Copy Markdown
Author

run buildall

1 similar comment
@csun5285

Copy link
Copy Markdown
Contributor

run buildall

@csun5285

Copy link
Copy Markdown
Contributor

/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.

Requesting changes for three new P1 findings. Two normal full-review passes plus a separate risk-focused pass converged after Round 2 with NO_NEW_VALUABLE_FINDINGS; existing live threads and prior review summaries were duplicate-suppressed. No additional user-provided focus was supplied, so the whole 29-file PR was reviewed.

Critical checkpoint conclusions:

  • Goal and proof: the PR largely connects per-column ZSTD/LZ4HC policy from DDL through FE catalog/protocol metadata, TabletSchema, both segment writers, and level-aware codecs. The goal is not complete because SQL materialized-view projection drops the policy, a rejected compound ALTER can partially mutate live metadata, and the replacement codec registry can retain aggregate historical concurrency peaks. Tests prove parsing, metadata round trips, both writer metadata builders, and actual first/reused-context level effects with compressed-byte comparisons; the three reported scenarios are not covered.
  • Size, clarity, and focus: the cross-module surface is necessary and no unrelated production change was found. Current serializers and copy-based paths are straightforward; the fresh SQL-MV constructor and clause-local ALTER rejection are the two missed parallel/control-flow paths.
  • Concurrency: concurrent segment/page compression shares the new registry. Registry mutation is mutex-protected, codec construction stays outside the registry lock with insertion reconciled under lock, and per-codec context pools have their own locks; no race, lock-order, or deadlock defect was found. The remaining concurrency-related problem is retained capacity, reported inline.
  • Lifecycle: registry-owned codec pointers remain stable across map rehash and production instances intentionally live for the process. Context reset/error destruction and native allocation/free tracker symmetry are sound. That lifetime nevertheless makes every used level's unbounded idle-context peak permanent, which is the reported lifecycle/performance defect; no separate cross-TU static-order issue was found.
  • Configuration: no configuration item is added, so dynamic-config propagation does not apply. Explicit levels are FE-bounded and absent/non-positive levels correctly select existing codec defaults.
  • Compatibility: the optional Thrift/protobuf/footer fields preserve byte readability because decompression needs the stored codec, not the level, and enum identities are compile-time guarded. The previously raised old-BE rolling-upgrade policy-loss concern remains valid and was not duplicated here; current new-BE local/cloud producers carry both fields.
  • Parallel paths and conditions: SegmentWriter, VerticalSegmentWriter, inherited row-binlog, load, partial update, schema change, segment compaction, vertical compaction, and cloud rowset output reach the updated metadata builders for supported scalar/nullable columns. Complex, VARIANT, and AGG_STATE overrides are rejected. DEFAULT parsing, new non-reserved codec keywords, type/range checks, and SQL reconstruction are sound. SQL materialized views and compound-ALTER preflight are the reported exceptions.
  • Tests and results: changed FE/BE tests use deterministic assertions, the regression suite follows drop-before-use, ordered-result, expected-error, and generated-output form, and BE tests include real compressed-byte level oracles. Missing SQL-MV, compound-ALTER atomicity, and aggregate multi-level retention tests are requested inline. This was a static review; builds and tests were not run under the review-task contract.
  • Observability: no new distributed state machine or user-tunable runtime service is introduced. Existing stored footer metadata and status/error surfaces are sufficient once the policy is propagated correctly; no new metric or log requirement was identified.
  • Persistence, transactions, and data writes: catalog Gson/edit-log/image state, local ColumnPB, cloud ColumnPB, rowset TabletSchema, and segment footer persistence were traced. Visible-version, commit, MoW delete-bitmap, and crash-readability behavior are unchanged. The compound-ALTER finding is a failure-atomicity violation because live bloom-filter metadata changes without a job or edit log.
  • FE/BE variables: codec and level are passed through current TColumn, ColumnPB, TabletColumn, and ColumnMetaPB paths in both deployment modes. The SQL-MV issue loses them before those producers, rather than inside the wire conversion.
  • Performance: sharing by (codec, level) removes the former per-column workspace multiplier, but the new process-lifetime registry has no aggregate idle-context/byte bound, so sequential multi-level peaks accumulate. No other material CPU, allocation, or repeated-scan regression was found.
  • Other: no additional correctness, nullable-layout, security-boundary, configuration, transaction-visibility, documentation-path, or observability issue survived the final sweep. The linked documentation PR covers this user-visible feature; PR description syntax/scope metadata should be kept aligned with the final implementation.

Comment thread fe/fe-catalog/src/main/java/org/apache/doris/catalog/Column.java
Comment thread be/src/util/block_compression.cpp
@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 54.12% (46/85) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

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

------ Round 1 ----------------------------------
============================================
q1	17639	4190	4187	4187
q2	2022	349	202	202
q3	10278	1427	828	828
q4	4681	483	340	340
q5	7525	854	562	562
q6	185	169	136	136
q7	742	811	601	601
q8	9324	1801	1673	1673
q9	5372	4113	4119	4113
q10	6759	1641	1372	1372
q11	509	360	332	332
q12	730	591	463	463
q13	18126	3405	2742	2742
q14	267	258	254	254
q15	q16	734	751	667	667
q17	935	898	1044	898
q18	6626	5652	5571	5571
q19	1166	1209	1094	1094
q20	822	685	609	609
q21	5790	2842	2775	2775
q22	469	377	326	326
Total cold run time: 100701 ms
Total hot run time: 29745 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	5354	4864	4812	4812
q2	295	339	213	213
q3	4928	5318	4688	4688
q4	2205	2296	1411	1411
q5	4650	4717	4504	4504
q6	242	177	131	131
q7	1998	1731	1484	1484
q8	2426	2083	2086	2083
q9	7261	6906	6730	6730
q10	4247	4187	3798	3798
q11	521	377	347	347
q12	718	715	507	507
q13	3028	3347	2789	2789
q14	267	281	250	250
q15	q16	663	709	597	597
q17	1267	1238	1222	1222
q18	12165	11067	11738	11067
q19	1124	1067	1066	1066
q20	2195	2207	1917	1917
q21	5375	4662	4728	4662
q22	519	454	413	413
Total cold run time: 61448 ms
Total hot run time: 54691 ms

@hello-stephen

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

query5	4312	595	437	437
query6	468	220	208	208
query7	4916	622	342	342
query8	327	162	146	146
query9	8797	4088	4114	4088
query10	471	356	315	315
query11	5826	2196	2046	2046
query12	159	100	93	93
query13	1265	608	444	444
query14	6091	4296	4011	4011
query14_1	3784	3845	3813	3813
query15	202	195	182	182
query16	990	440	464	440
query17	949	685	554	554
query18	2434	454	342	342
query19	213	199	150	150
query20	107	102	104	102
query21	229	170	141	141
query22	13003	13052	12926	12926
query23	15788	15254	14655	14655
query23_1	14691	14647	14734	14647
query24	7502	1705	1241	1241
query24_1	1265	1281	1272	1272
query25	566	452	392	392
query26	1325	367	210	210
query27	2582	585	391	391
query28	4559	2061	2064	2061
query29	1066	624	487	487
query30	351	267	225	225
query31	1196	1150	1063	1063
query32	115	62	69	62
query33	525	347	234	234
query34	1209	1177	636	636
query35	732	745	631	631
query36	773	766	719	719
query37	156	112	95	95
query38	1825	1766	1671	1671
query39	823	823	783	783
query39_1	792	775	783	775
query40	243	162	143	143
query41	63	62	61	61
query42	91	92	91	91
query43	317	315	274	274
query44	1434	791	779	779
query45	188	173	165	165
query46	1071	1196	720	720
query47	1518	1531	1460	1460
query48	400	398	292	292
query49	596	409	293	293
query50	1026	417	349	349
query51	10658	10538	10552	10538
query52	85	90	75	75
query53	254	285	197	197
query54	293	227	209	209
query55	77	72	67	67
query56	299	329	298	298
query57	1025	1017	929	929
query58	304	235	257	235
query59	1550	1603	1398	1398
query60	304	262	247	247
query61	143	153	152	152
query62	391	323	269	269
query63	244	202	195	195
query64	2855	1015	831	831
query65	3898	3823	3854	3823
query66	1809	467	353	353
query67	20579	20142	19902	19902
query68	3400	1538	1047	1047
query69	410	295	262	262
query70	885	794	800	794
query71	391	334	340	334
query72	3140	2603	2548	2548
query73	864	743	474	474
query74	4630	4497	4307	4307
query75	2387	2348	2046	2046
query76	2415	1134	774	774
query77	348	378	293	293
query78	11116	11070	10586	10586
query79	1411	1128	777	777
query80	1288	581	520	520
query81	530	329	281	281
query82	638	171	143	143
query83	402	325	292	292
query84	325	160	129	129
query85	953	607	511	511
query86	417	230	212	212
query87	1983	1967	1833	1833
query88	3727	2809	2812	2809
query89	404	321	287	287
query90	1897	193	198	193
query91	200	191	159	159
query92	61	61	55	55
query93	1699	1705	948	948
query94	720	368	315	315
query95	775	587	495	495
query96	1133	790	339	339
query97	2464	2455	2337	2337
query98	195	185	181	181
query99	733	724	615	615
Total cold run time: 246247 ms
Total hot run time: 159106 ms

@hello-stephen

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

query1	0.01	0.01	0.01
query2	0.10	0.05	0.05
query3	0.26	0.14	0.13
query4	1.61	0.14	0.14
query5	0.24	0.23	0.22
query6	1.16	0.89	0.81
query7	0.05	0.01	0.01
query8	0.06	0.04	0.04
query9	0.38	0.31	0.32
query10	0.60	0.57	0.56
query11	0.20	0.13	0.13
query12	0.18	0.14	0.14
query13	0.48	0.47	0.47
query14	1.00	1.00	0.98
query15	0.61	0.60	0.59
query16	0.34	0.31	0.32
query17	1.12	1.11	1.07
query18	0.21	0.20	0.20
query19	2.05	2.00	1.89
query20	0.02	0.01	0.02
query21	15.46	0.21	0.14
query22	4.91	0.06	0.05
query23	16.14	0.30	0.13
query24	2.90	0.43	0.30
query25	0.11	0.04	0.05
query26	0.72	0.21	0.16
query27	0.05	0.04	0.03
query28	3.50	0.80	0.33
query29	12.47	4.05	3.18
query30	0.27	0.15	0.16
query31	2.77	0.55	0.32
query32	3.23	0.59	0.49
query33	3.12	3.21	3.24
query34	15.65	3.99	3.28
query35	3.24	3.23	3.21
query36	0.55	0.45	0.42
query37	0.10	0.07	0.06
query38	0.05	0.04	0.03
query39	0.04	0.03	0.03
query40	0.17	0.15	0.16
query41	0.09	0.04	0.03
query42	0.05	0.03	0.03
query43	0.04	0.03	0.04
Total cold run time: 96.31 s
Total hot run time: 23.87 s

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 41.49% (39/94) 🎉
Increment coverage report
Complete coverage report

@zwy991114

Copy link
Copy Markdown
Author

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 58.33% (63/108) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

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

------ Round 1 ----------------------------------
============================================
q1	17685	4256	4232	4232
q2	2052	329	203	203
q3	10299	1473	821	821
q4	4746	510	353	353
q5	8112	868	576	576
q6	310	186	148	148
q7	890	842	619	619
q8	10734	1645	1687	1645
q9	5644	4167	4088	4088
q10	6899	1705	1394	1394
q11	512	363	325	325
q12	793	597	471	471
q13	18131	3485	2823	2823
q14	272	273	248	248
q15	q16	757	739	687	687
q17	1023	960	998	960
q18	6808	5676	5631	5631
q19	1172	1337	1048	1048
q20	826	699	617	617
q21	6046	2710	2512	2512
q22	442	370	303	303
Total cold run time: 104153 ms
Total hot run time: 29704 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4558	4476	4455	4455
q2	286	341	216	216
q3	4541	5096	4425	4425
q4	2216	2339	1432	1432
q5	4395	4283	4642	4283
q6	285	217	156	156
q7	2135	1886	1617	1617
q8	2744	2339	2335	2335
q9	7680	7402	7233	7233
q10	4506	4451	3984	3984
q11	624	470	413	413
q12	713	736	553	553
q13	3358	3736	2988	2988
q14	310	325	290	290
q15	q16	740	747	646	646
q17	1395	1499	1356	1356
q18	12389	11162	11924	11162
q19	1153	1171	1160	1160
q20	2315	2250	1979	1979
q21	5929	5056	5049	5049
q22	570	481	438	438
Total cold run time: 62842 ms
Total hot run time: 56170 ms

@hello-stephen

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

query5	4314	610	464	464
query6	467	222	204	204
query7	4954	600	354	354
query8	322	167	149	149
query9	8761	4207	4205	4205
query10	450	356	287	287
query11	5854	2194	1984	1984
query12	162	103	100	100
query13	1270	577	462	462
query14	6081	4410	4099	4099
query14_1	3937	4024	3902	3902
query15	210	196	183	183
query16	1041	528	510	510
query17	959	746	589	589
query18	2517	488	352	352
query19	213	201	152	152
query20	108	114	112	112
query21	242	170	145	145
query22	13150	13103	12897	12897
query23	15865	15085	14562	14562
query23_1	14762	14694	14809	14694
query24	7515	1711	1234	1234
query24_1	1255	1235	1264	1235
query25	533	436	353	353
query26	1351	373	212	212
query27	2547	593	385	385
query28	4590	2032	2033	2032
query29	1060	620	478	478
query30	351	267	227	227
query31	1190	1127	1067	1067
query32	106	59	58	58
query33	538	317	252	252
query34	1218	1155	638	638
query35	746	757	654	654
query36	791	787	719	719
query37	157	104	93	93
query38	1843	1789	1694	1694
query39	837	829	799	799
query39_1	805	774	808	774
query40	252	169	141	141
query41	67	64	65	64
query42	101	94	94	94
query43	333	324	283	283
query44	1447	786	780	780
query45	187	170	170	170
query46	1068	1220	712	712
query47	1525	1548	1428	1428
query48	418	439	295	295
query49	588	432	305	305
query50	1044	429	335	335
query51	10755	10771	10514	10514
query52	89	89	82	82
query53	261	275	203	203
query54	279	237	219	219
query55	77	71	67	67
query56	305	308	297	297
query57	1007	987	915	915
query58	299	256	253	253
query59	1591	1632	1419	1419
query60	306	283	270	270
query61	156	150	156	150
query62	406	323	268	268
query63	231	202	215	202
query64	2894	1053	898	898
query65	3894	3801	3827	3801
query66	1855	501	385	385
query67	20167	20174	20061	20061
query68	3378	1515	1013	1013
query69	439	326	285	285
query70	932	813	806	806
query71	391	346	335	335
query72	3263	2852	2496	2496
query73	826	753	437	437
query74	4703	4549	4291	4291
query75	2396	2343	2006	2006
query76	2399	1159	809	809
query77	356	378	272	272
query78	11279	11161	10635	10635
query79	1373	1141	784	784
query80	1239	547	484	484
query81	525	325	291	291
query82	695	176	146	146
query83	409	328	309	309
query84	323	157	137	137
query85	989	626	523	523
query86	401	240	229	229
query87	1971	2002	1832	1832
query88	3791	2763	2802	2763
query89	413	342	289	289
query90	1931	207	215	207
query91	208	192	163	163
query92	68	59	67	59
query93	1767	1530	972	972
query94	754	361	317	317
query95	783	616	488	488
query96	1089	749	357	357
query97	2441	2476	2326	2326
query98	213	192	185	185
query99	736	720	605	605
Total cold run time: 247268 ms
Total hot run time: 159637 ms

@hello-stephen

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

query1	0.00	0.00	0.00
query2	0.09	0.05	0.05
query3	0.26	0.14	0.13
query4	1.61	0.15	0.14
query5	0.24	0.22	0.22
query6	1.15	0.79	0.83
query7	0.04	0.00	0.01
query8	0.06	0.04	0.03
query9	0.40	0.30	0.33
query10	0.58	0.59	0.58
query11	0.21	0.14	0.15
query12	0.17	0.14	0.14
query13	0.47	0.46	0.48
query14	1.02	1.01	0.99
query15	0.62	0.58	0.59
query16	0.32	0.32	0.33
query17	1.10	1.10	1.07
query18	0.23	0.21	0.21
query19	2.09	1.91	1.95
query20	0.02	0.02	0.01
query21	15.41	0.20	0.14
query22	4.83	0.06	0.06
query23	16.13	0.32	0.13
query24	3.09	0.42	0.32
query25	0.12	0.04	0.03
query26	0.73	0.21	0.16
query27	0.04	0.05	0.04
query28	3.48	0.81	0.35
query29	12.48	4.07	3.17
query30	0.28	0.15	0.16
query31	2.77	0.54	0.32
query32	3.22	0.58	0.48
query33	3.22	3.15	3.17
query34	15.60	3.96	3.30
query35	3.21	3.17	3.21
query36	0.57	0.44	0.42
query37	0.08	0.06	0.06
query38	0.05	0.04	0.04
query39	0.04	0.03	0.03
query40	0.29	0.19	0.17
query41	0.09	0.04	0.03
query42	0.05	0.03	0.03
query43	0.04	0.04	0.04
Total cold run time: 96.5 s
Total hot run time: 23.86 s

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 31.98% (55/172) 🎉
Increment coverage report
Complete coverage report

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.

4 participants