Skip to content

[improve](Streamingjob) add macaddr8/xml/hstore and array element type for PostgreSQL #61433

Open
JNSimba wants to merge 3 commits intoapache:masterfrom
JNSimba:support_datatype
Open

[improve](Streamingjob) add macaddr8/xml/hstore and array element type for PostgreSQL #61433
JNSimba wants to merge 3 commits intoapache:masterfrom
JNSimba:support_datatype

Conversation

@JNSimba
Copy link
Member

@JNSimba JNSimba commented Mar 17, 2026

What problem does this PR solve?

Extend PostgreSQL CDC type support:

  • New scalar types: macaddr8, xml, hstore → mapped to Doris STRING in both SchemaChangeHelper (CDC DDL) and
    JdbcPostgreSQLClient (FE table creation)
  • Array types: _* prefix handling in SchemaChangeHelperARRAY<T> (e.g. _int4ARRAY<INT>); expanded
    supportedInnerType in JdbcPostgreSQLClient with numeric/json/jsonb/uuid
  • Array element conversion: extracted convertToArray() in DebeziumJsonDeserializer to recursively convert each
    element through the same type-aware logic as scalar columns, fixing timestamp array elements being stored as raw epoch
    microseconds

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?

    • 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
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?

@JNSimba
Copy link
Member Author

JNSimba commented Mar 17, 2026

run buildall

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds PostgreSQL macaddr8 and xml type support for CDC streaming jobs by mapping both types to Doris STRING, consistent with how other non-primitive PostgreSQL types are handled.

Changes:

  • Map PostgreSQL macaddr8 and xml to Doris STRING in both FE JDBC type conversion and CDC client schema/type mapping.
  • Extend CDC client unit tests to cover the new type mappings.
  • Update the PostgreSQL “all types” streaming-job regression test (DDL, inserts, and expected output) to include the two new column types.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_postgres_job_all_type.groovy Extends the PG source table and inserts to include macaddr8 and xml columns for end-to-end CDC validation.
regression-test/data/job_p0/streaming_job/cdc/test_streaming_postgres_job_all_type.out Updates expected DESC and SELECT outputs to include the new columns/values.
fs_brokers/cdc_client/src/test/java/org/apache/doris/cdcclient/utils/SchemaChangeHelperTest.java Adds unit coverage asserting macaddr8/xml map to STRING.
fs_brokers/cdc_client/src/main/java/org/apache/doris/cdcclient/utils/SchemaChangeHelper.java Adds macaddr8/xml to PostgreSQL type-name mapping as STRING.
fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcPostgreSQLClient.java Adds macaddr8/xml to JDBC type-to-Doris type mapping as STRING.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 100% (0/0) 🎉
Increment coverage report
Complete coverage report

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17626	4512	4327	4327
q2	q3	10641	773	511	511
q4	4684	344	247	247
q5	7556	1194	1003	1003
q6	175	176	147	147
q7	785	837	674	674
q8	9300	1463	1375	1375
q9	4823	4701	4564	4564
q10	6254	1940	1668	1668
q11	495	264	244	244
q12	703	586	468	468
q13	18040	3004	2199	2199
q14	239	241	211	211
q15	q16	708	733	679	679
q17	730	844	430	430
q18	5992	5337	5255	5255
q19	1119	994	616	616
q20	539	489	376	376
q21	4474	1815	1442	1442
q22	347	335	420	335
Total cold run time: 95230 ms
Total hot run time: 26771 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4892	4628	4647	4628
q2	q3	3918	4351	3899	3899
q4	875	1189	800	800
q5	4090	4381	4340	4340
q6	192	172	148	148
q7	1779	1705	1522	1522
q8	2531	2713	2563	2563
q9	7652	7412	7474	7412
q10	3751	4046	3612	3612
q11	525	442	423	423
q12	490	580	447	447
q13	2780	3312	2326	2326
q14	274	308	276	276
q15	q16	708	740	737	737
q17	1133	1287	1398	1287
q18	7010	6897	6515	6515
q19	898	857	916	857
q20	2155	2203	2102	2102
q21	3881	3549	3420	3420
q22	460	415	380	380
Total cold run time: 49994 ms
Total hot run time: 47694 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 168326 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 b28908a28b92b70751f641844dfda4b8ffd77e31, data reload: false

query5	4396	654	505	505
query6	342	237	219	219
query7	4218	501	267	267
query8	352	253	236	236
query9	8741	2726	2734	2726
query10	527	400	366	366
query11	7032	5141	4879	4879
query12	187	130	131	130
query13	1279	455	356	356
query14	5833	3721	3497	3497
query14_1	2876	2841	2822	2822
query15	202	195	174	174
query16	990	475	386	386
query17	910	768	644	644
query18	2446	456	359	359
query19	222	216	189	189
query20	134	129	139	129
query21	223	134	112	112
query22	13271	14138	14695	14138
query23	16516	15784	15530	15530
query23_1	15830	15501	15331	15331
query24	7182	1636	1231	1231
query24_1	1244	1243	1229	1229
query25	552	460	411	411
query26	1225	262	147	147
query27	2782	492	293	293
query28	4487	1870	1857	1857
query29	826	560	474	474
query30	293	222	189	189
query31	1007	946	870	870
query32	83	74	71	71
query33	518	327	278	278
query34	900	870	518	518
query35	637	695	612	612
query36	1149	1103	957	957
query37	137	101	88	88
query38	2919	2918	2839	2839
query39	885	843	806	806
query39_1	803	801	790	790
query40	235	153	137	137
query41	65	59	60	59
query42	262	251	257	251
query43	245	248	217	217
query44	
query45	195	191	182	182
query46	877	1001	612	612
query47	2076	2100	2066	2066
query48	307	314	229	229
query49	632	462	385	385
query50	683	279	221	221
query51	4026	4078	4030	4030
query52	263	262	257	257
query53	293	339	289	289
query54	306	269	268	268
query55	97	88	80	80
query56	329	322	328	322
query57	1922	1801	1671	1671
query58	280	270	266	266
query59	2826	2972	2753	2753
query60	354	348	335	335
query61	159	155	158	155
query62	624	587	545	545
query63	310	278	273	273
query64	5039	1268	1020	1020
query65	
query66	1478	457	352	352
query67	24265	24293	24165	24165
query68	
query69	423	323	291	291
query70	935	972	987	972
query71	335	310	304	304
query72	2856	2691	2444	2444
query73	551	554	317	317
query74	9624	9537	9410	9410
query75	2837	2743	2487	2487
query76	2277	1037	680	680
query77	361	396	316	316
query78	10959	11301	10493	10493
query79	1093	815	574	574
query80	801	648	538	538
query81	500	268	222	222
query82	1368	157	123	123
query83	343	269	242	242
query84	300	134	98	98
query85	927	528	460	460
query86	386	317	297	297
query87	3193	3121	3033	3033
query88	3612	2668	2656	2656
query89	435	361	340	340
query90	1851	190	175	175
query91	172	169	140	140
query92	82	76	72	72
query93	942	885	500	500
query94	496	324	313	313
query95	585	415	321	321
query96	655	543	242	242
query97	2455	2539	2447	2447
query98	233	229	221	221
query99	940	939	907	907
Total cold run time: 249446 ms
Total hot run time: 168326 ms

@JNSimba
Copy link
Member Author

JNSimba commented Mar 18, 2026

/review

@github-actions
Copy link
Contributor

Code Review Summary — No Issues Found

This PR adds PostgreSQL macaddr8 and xml type support, mapping both to Doris STRING. The change is clean, minimal, and consistent with existing patterns.

Critical Checkpoint Conclusions

  • Goal and correctness: The goal is to add macaddr8 and xml PostgreSQL type support for CDC streaming jobs and JDBC catalog. The code accomplishes this correctly by adding case labels in both JdbcPostgreSQLClient.java and SchemaChangeHelper.java, mapping to STRING. This is consistent with how similar types (macaddr, inet, uuid, etc.) are already handled. Tests prove correctness.

  • Minimal and focused: Yes — only 20 additions and 6 deletions across 5 files. Changes are strictly scoped to adding the two new type mappings and updating tests.

  • Concurrency: Not applicable — no concurrency is involved in these static type-mapping switch statements.

  • Lifecycle / static initialization: Not applicable.

  • Configuration items: Not applicable — no new configuration is added.

  • Incompatible changes / rolling upgrade: Not applicable — this only adds new type recognition; existing types are unaffected.

  • Parallel code paths: Verified. The only two production code paths that perform PostgreSQL-type-name-to-Doris-type mapping are JdbcPostgreSQLClient.jdbcTypeToDoris() and SchemaChangeHelper.pgTypeNameToDorisType(). Both are updated. Other PostgreSQL-related code (e.g., PostgreSQLTypeHandler.java) operates on Doris column types (not PG type names) and does not require changes.

  • Test coverage:

    • Unit test added in SchemaChangeHelperTest.java covering both macaddr8 and xml mapping to STRING.
    • Regression test updated in test_streaming_postgres_job_all_type.groovy covering both snapshot and incremental CDC data paths.
    • The .out file is consistent: 31 columns in desc match 31 values in each data row; macaddr8 and xml values match the INSERT statements.
    • Tests use qt_ prefix with order by 1 for deterministic output (pre-existing pattern).
    • Note: No JDBC catalog-specific regression test was added for JdbcPostgreSQLClient.java, but the existing JDBC PG test infrastructure (test_pg_all_types_select.groovy, Docker init SQL) does not include macaddr8/xml columns — this is a minor gap but acceptable since the CDC regression test exercises the same type-mapping logic path.
  • Observability: Not applicable for a simple type-mapping addition.

  • Transaction / persistence: Not applicable.

  • FE-BE variable passing: Not applicable — no new variables passed between FE and BE.

  • Performance: No performance concerns — adds two constant-time case labels to an existing switch statement.

  • Other issues: None identified. The code follows the existing pattern exactly, maintains alphabetical/logical grouping of case labels, and both modified files are aligned in their type coverage.

@JNSimba JNSimba requested a review from Copilot March 18, 2026 07:01
@JNSimba JNSimba changed the title [improve](Streamingjob) add data type macaddr8 and xml [improve](Streamingjob) add macaddr8/xml/hstore and array element type for PostgreSQL Mar 18, 2026
@JNSimba
Copy link
Member Author

JNSimba commented Mar 18, 2026

run buildall

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends PostgreSQL CDC/streaming job support to better handle additional PostgreSQL types—most notably array types (via Debezium’s _type naming) and a few extra “string-mapped” types (macaddr8/xml/hstore)—and adds regression + unit tests to validate the behavior.

Changes:

  • Add a new Postgres CDC regression test suite for common array types (snapshot + incremental).
  • Extend PG→Doris type mapping to recognize Debezium underscore-prefixed array type names and map macaddr8/xml/hstore as STRING.
  • Update Debezium JSON deserialization to emit proper JSON arrays (List) for ARRAY fields instead of stringifying them.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_postgres_job_array_types.groovy New regression suite covering PG array columns end-to-end (snapshot + incremental).
regression-test/data/job_p0/streaming_job/cdc/test_streaming_postgres_job_array_types.out Expected outputs for the new array-types regression suite.
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_postgres_job_all_type.groovy Expand “all types” PG regression to include macaddr8/xml/hstore.
regression-test/data/job_p0/streaming_job/cdc/test_streaming_postgres_job_all_type.out Update expected outputs to reflect the added PG types.
fs_brokers/cdc_client/src/main/java/org/apache/doris/cdcclient/utils/SchemaChangeHelper.java Map Debezium _type names to ARRAY<...> and add macaddr8/xml/hstore mapping.
fs_brokers/cdc_client/src/test/java/org/apache/doris/cdcclient/utils/SchemaChangeHelperTest.java Add unit tests for new PG type mappings, including arrays.
fs_brokers/cdc_client/src/main/java/org/apache/doris/cdcclient/source/deserialize/DebeziumJsonDeserializer.java Convert ARRAY values to Lists so JSON payloads contain real arrays (not strings).
fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcPostgreSQLClient.java Extend supported array inner types and map macaddr8/xml/hstore to STRING.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@JNSimba
Copy link
Member Author

JNSimba commented Mar 18, 2026

/review

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Code Review Summary

This PR extends PostgreSQL CDC type support by adding macaddr8, xml, hstore scalar types and improving array element type conversion. The changes are well-structured, focused, and have good test coverage. Below are the critical checkpoint conclusions and minor findings.

Critical Checkpoint Conclusions

Goal & Correctness: The PR achieves its stated goals — new scalar types map correctly, array type mapping via _ prefix recursion works, and convertToArray() fixes timestamp arrays being stored as raw epoch microseconds. Tests prove both snapshot and incremental CDC paths.

Modification scope: Small, clear, and focused. Changes span 3 source files + 2 test files + 2 regression tests. Each change is directly related to the stated purpose.

Concurrency: No concurrency concerns. The modified methods are stateless type-mapping utilities and the deserializer's convert() method operates on per-record data.

Lifecycle / static init: No new lifecycle or static initialization concerns.

Configuration items: No new configuration items added.

Incompatible changes: No incompatible changes. New types are additive — previously unsupported types now have explicit mappings.

Parallel code paths: The JdbcPostgreSQLClient (FE JDBC catalog) and SchemaChangeHelper (CDC client) both had their type mappings updated consistently for macaddr8, xml, hstore. One intentional divergence: json/jsonb maps to JSON in CDC but STRING in JDBC catalog — this is pre-existing and outside the scope of this PR.

Test coverage: Good. Unit tests cover all new type mappings including array types, nested arrays, and case-insensitivity. Regression tests cover both snapshot and incremental CDC flows for both all-types and array-types scenarios. One minor issue: hstore is tested redundantly (see inline comment).

Observability: The existing LOG.warn for unrecognized types in SchemaChangeHelper provides sufficient observability.

Transaction/persistence: Not applicable.

FE-BE variable passing: Not applicable — changes are in FE and CDC client only.

Performance: No performance concerns. Type mapping is O(1) switch/case lookup. The recursive _ prefix handling adds at most 1-2 extra levels of recursion for multi-dimensional arrays.

Minor Issues (Non-blocking)

  1. Duplicate hstore test assertion — see inline comment
  2. Theoretical edge case with _ prefix — user-defined PG types starting with _ would be incorrectly treated as arrays in SchemaChangeHelper.pgTypeNameToDorisType. This is extremely unlikely in practice since _ is PostgreSQL's reserved array-type prefix convention, and the fallback is ARRAY<STRING> which is not catastrophic. A comment noting this assumption would be helpful.

Overall: The PR looks good. The issues found are minor and non-blocking.

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 100% (0/0) 🎉
Increment coverage report
Complete coverage report

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17615	4469	4304	4304
q2	q3	10639	787	533	533
q4	4685	353	250	250
q5	7686	1236	1028	1028
q6	214	176	151	151
q7	828	845	697	697
q8	10540	1537	1370	1370
q9	5772	4540	4714	4540
q10	6295	1945	1658	1658
q11	468	257	236	236
q12	687	646	463	463
q13	18048	2930	2176	2176
q14	224	235	213	213
q15	q16	741	738	670	670
q17	754	861	451	451
q18	5937	5458	5304	5304
q19	1142	967	635	635
q20	543	507	378	378
q21	4490	2083	1550	1550
q22	367	344	266	266
Total cold run time: 97675 ms
Total hot run time: 26873 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4751	4714	4644	4644
q2	q3	3961	4438	3792	3792
q4	873	1208	828	828
q5	4099	4423	4333	4333
q6	187	177	148	148
q7	1765	1669	1517	1517
q8	2550	2726	2629	2629
q9	7548	7423	7613	7423
q10	3770	4029	3620	3620
q11	516	439	420	420
q12	500	607	452	452
q13	2902	3340	2362	2362
q14	286	297	280	280
q15	q16	743	768	725	725
q17	1190	1373	1382	1373
q18	7305	6726	6528	6528
q19	955	956	1008	956
q20	2057	2148	2036	2036
q21	3982	3460	3308	3308
q22	539	510	389	389
Total cold run time: 50479 ms
Total hot run time: 47763 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 168972 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 a4a7e71cc40453a977ac52123615e81256c1998a, data reload: false

query5	4340	652	513	513
query6	346	234	221	221
query7	4209	490	269	269
query8	358	259	236	236
query9	8755	2733	2758	2733
query10	529	397	348	348
query11	7021	5099	4927	4927
query12	197	133	127	127
query13	1281	485	357	357
query14	5793	3701	3460	3460
query14_1	2878	2874	2831	2831
query15	200	188	173	173
query16	992	459	437	437
query17	869	716	605	605
query18	2453	441	347	347
query19	213	213	189	189
query20	137	125	126	125
query21	210	132	111	111
query22	13299	14223	14460	14223
query23	16867	15931	15756	15756
query23_1	15657	15668	15934	15668
query24	7358	1631	1228	1228
query24_1	1238	1221	1237	1221
query25	548	481	413	413
query26	1249	265	150	150
query27	2782	500	299	299
query28	4492	1860	1860	1860
query29	815	582	487	487
query30	300	230	193	193
query31	1014	947	865	865
query32	85	70	74	70
query33	521	344	280	280
query34	895	878	526	526
query35	641	710	598	598
query36	1070	1119	933	933
query37	132	95	88	88
query38	2931	2881	2871	2871
query39	850	822	800	800
query39_1	787	788	788	788
query40	241	154	158	154
query41	67	59	90	59
query42	265	258	262	258
query43	244	252	223	223
query44	
query45	210	190	187	187
query46	902	992	605	605
query47	2115	2178	2024	2024
query48	301	324	244	244
query49	640	463	386	386
query50	697	288	221	221
query51	4033	4013	4020	4013
query52	273	269	258	258
query53	290	359	295	295
query54	306	279	279	279
query55	97	92	86	86
query56	335	327	316	316
query57	1915	1579	1520	1520
query58	284	281	281	281
query59	2800	2958	2743	2743
query60	358	341	337	337
query61	163	153	149	149
query62	637	591	553	553
query63	316	279	284	279
query64	4978	1286	1084	1084
query65	
query66	1489	488	377	377
query67	24316	24281	24226	24226
query68	
query69	422	318	300	300
query70	979	991	902	902
query71	357	322	318	318
query72	3130	2877	2484	2484
query73	558	552	324	324
query74	9587	9627	9368	9368
query75	2847	2762	2468	2468
query76	2262	1027	696	696
query77	358	393	319	319
query78	10907	11036	10481	10481
query79	2658	751	617	617
query80	1778	668	573	573
query81	556	261	229	229
query82	993	158	121	121
query83	347	291	248	248
query84	304	118	106	106
query85	908	521	449	449
query86	412	324	324	324
query87	3118	3173	2998	2998
query88	3619	2714	2679	2679
query89	420	375	358	358
query90	2003	189	183	183
query91	173	167	142	142
query92	80	72	73	72
query93	1160	874	510	510
query94	645	323	285	285
query95	602	411	328	328
query96	669	514	231	231
query97	2464	2500	2383	2383
query98	232	224	222	222
query99	992	1001	911	911
Total cold run time: 252396 ms
Total hot run time: 168972 ms

@JNSimba
Copy link
Member Author

JNSimba commented Mar 18, 2026

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17636	4439	4297	4297
q2	q3	10641	793	525	525
q4	4694	358	253	253
q5	7577	1206	1029	1029
q6	177	176	146	146
q7	786	873	677	677
q8	9307	1478	1340	1340
q9	4836	4759	4672	4672
q10	6249	1928	1639	1639
q11	466	279	261	261
q12	713	587	475	475
q13	18050	2949	2189	2189
q14	224	227	217	217
q15	q16	740	742	687	687
q17	721	852	418	418
q18	5934	5335	5289	5289
q19	1242	974	624	624
q20	555	510	377	377
q21	4845	1854	1477	1477
q22	516	392	309	309
Total cold run time: 95909 ms
Total hot run time: 26901 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4784	4617	4666	4617
q2	q3	3871	4331	3817	3817
q4	886	1196	795	795
q5	4063	4384	4341	4341
q6	186	181	144	144
q7	1813	1667	1503	1503
q8	2466	2737	2518	2518
q9	7775	7512	7415	7415
q10	3846	4022	3588	3588
q11	525	436	420	420
q12	517	603	465	465
q13	2801	3161	2387	2387
q14	305	313	279	279
q15	q16	787	793	699	699
q17	1182	1342	1311	1311
q18	7042	6790	6695	6695
q19	1050	996	1014	996
q20	2096	2171	1999	1999
q21	4151	3622	3386	3386
q22	476	427	385	385
Total cold run time: 50622 ms
Total hot run time: 47760 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 167945 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 affff4c8f86fe430017993648341f4acbccb78ec, data reload: false

query5	4349	653	524	524
query6	308	227	212	212
query7	4222	470	266	266
query8	338	237	219	219
query9	8680	2733	2733	2733
query10	535	401	331	331
query11	7013	5114	4865	4865
query12	188	130	125	125
query13	1258	465	343	343
query14	5668	3795	3498	3498
query14_1	2884	2855	2839	2839
query15	205	197	177	177
query16	1015	512	432	432
query17	1080	694	587	587
query18	2495	437	338	338
query19	211	206	180	180
query20	136	128	124	124
query21	217	134	111	111
query22	13244	13239	13163	13163
query23	15786	15442	15747	15442
query23_1	15803	15699	15660	15660
query24	8083	1708	1270	1270
query24_1	1269	1299	1304	1299
query25	593	499	483	483
query26	1489	288	172	172
query27	2796	488	303	303
query28	4480	1861	1861	1861
query29	843	610	513	513
query30	302	231	194	194
query31	1043	950	878	878
query32	87	76	75	75
query33	542	359	306	306
query34	889	899	538	538
query35	662	677	598	598
query36	1097	1109	993	993
query37	147	100	90	90
query38	3003	2896	2880	2880
query39	845	851	814	814
query39_1	811	792	797	792
query40	240	158	143	143
query41	72	64	65	64
query42	262	256	261	256
query43	244	253	227	227
query44	
query45	203	197	185	185
query46	892	987	601	601
query47	2101	2134	2061	2061
query48	317	322	237	237
query49	662	486	400	400
query50	703	287	222	222
query51	4097	4069	4024	4024
query52	269	271	260	260
query53	296	339	290	290
query54	320	291	292	291
query55	98	93	83	83
query56	353	344	359	344
query57	1874	1907	1720	1720
query58	290	277	281	277
query59	2796	2950	2767	2767
query60	345	363	333	333
query61	160	156	156	156
query62	644	591	542	542
query63	320	295	280	280
query64	4906	1287	1009	1009
query65	
query66	1461	455	357	357
query67	24278	24435	24128	24128
query68	
query69	422	319	287	287
query70	975	975	927	927
query71	348	310	303	303
query72	2796	2678	2417	2417
query73	542	549	320	320
query74	9648	9544	9431	9431
query75	2873	2755	2451	2451
query76	2338	1064	709	709
query77	377	385	323	323
query78	10922	11154	10484	10484
query79	1092	770	588	588
query80	853	620	543	543
query81	525	269	223	223
query82	1375	155	122	122
query83	349	266	250	250
query84	251	124	102	102
query85	906	496	454	454
query86	409	335	308	308
query87	3156	3119	3036	3036
query88	3645	2693	2696	2693
query89	427	374	360	360
query90	1839	189	190	189
query91	175	165	139	139
query92	77	76	74	74
query93	908	894	503	503
query94	502	326	291	291
query95	586	346	321	321
query96	653	526	228	228
query97	2477	2492	2397	2397
query98	236	229	218	218
query99	1002	971	905	905
Total cold run time: 249942 ms
Total hot run time: 167945 ms

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants