Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix](paritial update) Fix the case of partial update failing in cloud mode #37151

Merged
merged 6 commits into from
Jul 5, 2024

Conversation

Yukang-Lian
Copy link
Collaborator

@Yukang-Lian Yukang-Lian commented Jul 2, 2024

Proposed changes

Problem: The test_new_partial_update case fails to run in cloud mode, but it passes in local mode.

Reason: In PR #35917, we introduced a new table attribute enable_mow_light_delete. When executing schema changes with alter table set xxx statements, the local and cloud modes process the logic differently. The cloud mode has its unique processing logic, which was not addressed in the mentioned PR, leading to failures in the cloud environment.

Solution: To resolve the issue, we need to complete the missing schema change logic for the cloud mode. Once this is implemented, the problem should be resolved.

@doris-robot
Copy link

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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Yukang-Lian
Copy link
Collaborator Author

run buildall

Copy link
Contributor

github-actions bot commented Jul 2, 2024

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17910	4432	4256	4256
q2	2032	199	192	192
q3	10546	1245	1113	1113
q4	10223	871	800	800
q5	7521	2683	2690	2683
q6	223	139	140	139
q7	968	619	629	619
q8	9240	2116	2084	2084
q9	9026	6469	6462	6462
q10	8971	3747	3710	3710
q11	459	249	238	238
q12	449	244	235	235
q13	17775	3036	3010	3010
q14	270	219	222	219
q15	530	487	488	487
q16	531	380	383	380
q17	985	735	749	735
q18	8184	7524	7443	7443
q19	6814	1455	1528	1455
q20	665	332	356	332
q21	4930	3179	4024	3179
q22	406	358	346	346
Total cold run time: 118658 ms
Total hot run time: 40117 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4402	4258	4233	4233
q2	374	278	266	266
q3	3088	2851	2964	2851
q4	1957	1742	1811	1742
q5	5551	5493	5434	5434
q6	233	133	140	133
q7	2284	1853	1894	1853
q8	3337	3492	3430	3430
q9	8730	8755	8789	8755
q10	4152	3756	3812	3756
q11	602	502	495	495
q12	785	691	636	636
q13	17327	3164	3221	3164
q14	299	312	268	268
q15	527	499	489	489
q16	500	435	442	435
q17	1809	1537	1526	1526
q18	8218	8052	7942	7942
q19	1796	1708	1672	1672
q20	2192	1859	1901	1859
q21	5117	4688	4944	4688
q22	647	576	587	576
Total cold run time: 73927 ms
Total hot run time: 56203 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 173626 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 8820f24bd55929b82cb7f8f92161a8f6762d1d01, data reload: false

query1	939	388	368	368
query2	6476	2451	2383	2383
query3	6639	206	222	206
query4	22276	17342	17322	17322
query5	3758	468	476	468
query6	279	179	169	169
query7	4598	295	285	285
query8	330	303	297	297
query9	8567	2358	2349	2349
query10	572	295	312	295
query11	10580	10011	9903	9903
query12	121	85	79	79
query13	1641	357	346	346
query14	10216	7592	7612	7592
query15	233	187	186	186
query16	7745	262	269	262
query17	1892	541	508	508
query18	1969	282	266	266
query19	195	146	148	146
query20	87	84	86	84
query21	209	131	125	125
query22	4402	4059	4016	4016
query23	33799	33620	33364	33364
query24	10576	2832	2848	2832
query25	593	402	393	393
query26	729	157	149	149
query27	2326	333	325	325
query28	5941	2091	2097	2091
query29	889	631	638	631
query30	262	160	156	156
query31	995	752	754	752
query32	101	55	59	55
query33	666	296	312	296
query34	876	469	488	469
query35	712	632	633	632
query36	1110	963	994	963
query37	152	104	82	82
query38	2945	2795	2839	2795
query39	901	850	819	819
query40	205	129	125	125
query41	55	54	51	51
query42	108	96	101	96
query43	615	579	540	540
query44	1080	703	717	703
query45	189	163	165	163
query46	1085	725	719	719
query47	1857	1752	1761	1752
query48	368	290	296	290
query49	831	402	403	402
query50	770	379	380	379
query51	6817	6653	6738	6653
query52	99	100	92	92
query53	357	287	286	286
query54	866	453	449	449
query55	73	77	72	72
query56	282	264	269	264
query57	1120	1029	1073	1029
query58	247	254	253	253
query59	3475	3405	3185	3185
query60	348	284	288	284
query61	116	115	110	110
query62	584	458	444	444
query63	326	283	292	283
query64	8569	2233	1727	1727
query65	3191	3075	3140	3075
query66	733	322	321	321
query67	15291	15024	14851	14851
query68	4528	535	536	535
query69	487	306	306	306
query70	1170	1095	1166	1095
query71	367	278	280	278
query72	7912	5501	5388	5388
query73	738	327	327	327
query74	5944	5566	5473	5473
query75	3470	2673	2694	2673
query76	2500	920	900	900
query77	653	288	286	286
query78	10257	9868	9765	9765
query79	2526	499	507	499
query80	2573	467	478	467
query81	593	218	212	212
query82	905	110	108	108
query83	321	173	175	173
query84	269	87	93	87
query85	1934	280	268	268
query86	469	306	313	306
query87	3300	3047	3056	3047
query88	3679	2377	2360	2360
query89	472	381	390	381
query90	1824	185	186	185
query91	123	105	101	101
query92	60	48	52	48
query93	3020	499	497	497
query94	1207	185	185	185
query95	408	307	312	307
query96	597	265	267	265
query97	3207	3008	3027	3008
query98	212	196	199	196
query99	1237	843	845	843
Total cold run time: 273916 ms
Total hot run time: 173626 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 30.61 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 8820f24bd55929b82cb7f8f92161a8f6762d1d01, data reload: false

query1	0.04	0.03	0.03
query2	0.07	0.04	0.03
query3	0.22	0.06	0.05
query4	1.67	0.09	0.10
query5	0.50	0.49	0.48
query6	1.14	0.72	0.72
query7	0.02	0.01	0.01
query8	0.05	0.04	0.05
query9	0.55	0.48	0.49
query10	0.52	0.54	0.54
query11	0.15	0.10	0.11
query12	0.14	0.12	0.12
query13	0.60	0.59	0.58
query14	0.78	0.79	0.77
query15	0.85	0.81	0.80
query16	0.36	0.36	0.35
query17	1.04	1.04	1.02
query18	0.20	0.25	0.22
query19	1.75	1.82	1.72
query20	0.01	0.00	0.01
query21	15.41	0.75	0.67
query22	4.27	7.66	2.09
query23	18.25	1.33	1.27
query24	2.09	0.22	0.24
query25	0.16	0.08	0.08
query26	0.28	0.17	0.17
query27	0.09	0.08	0.08
query28	13.15	1.02	1.00
query29	12.57	3.27	3.25
query30	0.25	0.06	0.05
query31	2.87	0.39	0.38
query32	3.28	0.48	0.47
query33	2.92	2.88	2.86
query34	17.11	4.37	4.43
query35	4.56	4.47	4.48
query36	0.65	0.45	0.49
query37	0.18	0.15	0.16
query38	0.16	0.15	0.14
query39	0.04	0.03	0.04
query40	0.17	0.15	0.14
query41	0.09	0.05	0.04
query42	0.06	0.04	0.04
query43	0.04	0.04	0.04
Total cold run time: 109.31 s
Total hot run time: 30.61 s

dataroaring
dataroaring previously approved these changes Jul 2, 2024
Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

github-actions bot commented Jul 2, 2024

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 2, 2024
Copy link
Contributor

github-actions bot commented Jul 2, 2024

PR approved by anyone and no changes requested.

@Yukang-Lian Yukang-Lian force-pushed the Fix-Cloud-Delete-Predicate branch from 8820f24 to 759ec67 Compare July 3, 2024 08:09
@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Jul 3, 2024
Copy link
Contributor

github-actions bot commented Jul 3, 2024

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
Copy link
Contributor

github-actions bot commented Jul 3, 2024

clang-tidy review says "All clean, LGTM! 👍"

@Yukang-Lian
Copy link
Collaborator Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18033	5015	4434	4434
q2	2763	196	208	196
q3	10831	1181	1027	1027
q4	10673	798	754	754
q5	7603	2711	2680	2680
q6	224	139	139	139
q7	996	618	624	618
q8	9553	2113	2090	2090
q9	8829	6455	6440	6440
q10	8977	3753	3759	3753
q11	467	241	236	236
q12	399	241	233	233
q13	17772	3002	2967	2967
q14	263	225	228	225
q15	515	481	479	479
q16	472	381	381	381
q17	975	634	677	634
q18	7992	7457	7374	7374
q19	1670	1430	1433	1430
q20	664	324	348	324
q21	4980	3316	3997	3316
q22	409	338	351	338
Total cold run time: 115060 ms
Total hot run time: 40068 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4329	4219	4242	4219
q2	368	278	270	270
q3	3000	2816	2726	2726
q4	1906	1611	1655	1611
q5	5272	5283	5321	5283
q6	220	134	133	133
q7	2136	1730	1754	1730
q8	3211	3360	3346	3346
q9	8402	8360	8304	8304
q10	3865	3658	3613	3613
q11	585	486	484	484
q12	768	614	637	614
q13	17561	2961	3030	2961
q14	282	270	260	260
q15	526	466	481	466
q16	477	417	429	417
q17	1773	1484	1484	1484
q18	7754	7548	7356	7356
q19	3664	1582	1583	1582
q20	1989	1799	1770	1770
q21	4949	4675	4666	4666
q22	636	542	555	542
Total cold run time: 73673 ms
Total hot run time: 53837 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 173926 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 6a83287009add19618bc3d32565cd3a59414ca91, data reload: false

query1	919	374	381	374
query2	6480	2359	2308	2308
query3	6647	205	210	205
query4	18954	17613	17370	17370
query5	4307	495	489	489
query6	261	167	158	158
query7	4598	313	290	290
query8	336	309	315	309
query9	8468	2381	2379	2379
query10	618	295	277	277
query11	10478	10061	10052	10052
query12	135	84	82	82
query13	1659	391	373	373
query14	10214	7736	7810	7736
query15	237	186	194	186
query16	7887	289	271	271
query17	1871	555	539	539
query18	1969	278	281	278
query19	208	153	164	153
query20	95	84	85	84
query21	219	131	133	131
query22	4382	4072	4127	4072
query23	33912	32897	33166	32897
query24	11879	2904	2735	2735
query25	689	386	393	386
query26	1758	159	152	152
query27	2937	318	317	317
query28	7341	2073	2060	2060
query29	1071	648	629	629
query30	299	161	154	154
query31	949	735	740	735
query32	100	56	58	56
query33	795	314	299	299
query34	902	460	480	460
query35	749	631	619	619
query36	1113	927	941	927
query37	154	78	76	76
query38	2867	2716	2719	2716
query39	851	801	819	801
query40	289	129	128	128
query41	58	56	55	55
query42	123	101	103	101
query43	612	554	563	554
query44	1225	737	746	737
query45	192	165	168	165
query46	1080	772	748	748
query47	1860	1771	1781	1771
query48	366	301	314	301
query49	1190	439	441	439
query50	788	391	385	385
query51	6794	6799	6786	6786
query52	115	92	97	92
query53	357	287	298	287
query54	893	461	464	461
query55	81	79	75	75
query56	299	284	282	282
query57	1150	1056	1054	1054
query58	260	259	360	259
query59	3344	3107	3052	3052
query60	337	278	273	273
query61	94	92	87	87
query62	655	438	451	438
query63	312	288	299	288
query64	9790	2287	1725	1725
query65	3170	3137	3105	3105
query66	1377	336	331	331
query67	15534	14869	14814	14814
query68	8996	541	554	541
query69	753	426	338	338
query70	1347	1143	1169	1143
query71	527	281	288	281
query72	8981	5503	5441	5441
query73	2238	325	323	323
query74	5894	5496	5483	5483
query75	5503	2655	2707	2655
query76	5610	1042	1031	1031
query77	766	309	305	305
query78	10493	9841	9787	9787
query79	9408	516	521	516
query80	900	465	494	465
query81	539	215	228	215
query82	219	106	105	105
query83	339	169	162	162
query84	270	87	84	84
query85	994	323	266	266
query86	358	305	324	305
query87	3279	3077	3106	3077
query88	4297	2442	2436	2436
query89	519	372	375	372
query90	2025	187	182	182
query91	127	99	101	99
query92	68	51	49	49
query93	6232	526	514	514
query94	1397	188	191	188
query95	403	319	308	308
query96	624	270	267	267
query97	3160	3017	3030	3017
query98	246	203	191	191
query99	1231	863	852	852
Total cold run time: 299396 ms
Total hot run time: 173926 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 30.39 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 6a83287009add19618bc3d32565cd3a59414ca91, data reload: false

query1	0.04	0.04	0.03
query2	0.08	0.04	0.04
query3	0.22	0.05	0.05
query4	1.66	0.08	0.08
query5	0.51	0.49	0.51
query6	1.14	0.74	0.73
query7	0.02	0.02	0.01
query8	0.05	0.05	0.05
query9	0.55	0.48	0.48
query10	0.54	0.54	0.53
query11	0.15	0.12	0.12
query12	0.14	0.12	0.13
query13	0.60	0.59	0.60
query14	0.78	0.78	0.77
query15	0.84	0.81	0.81
query16	0.36	0.36	0.34
query17	0.95	0.99	1.00
query18	0.22	0.28	0.23
query19	1.82	1.69	1.71
query20	0.02	0.01	0.01
query21	15.47	0.74	0.66
query22	4.20	7.51	1.80
query23	18.31	1.41	1.21
query24	2.14	0.24	0.23
query25	0.16	0.09	0.08
query26	0.25	0.18	0.17
query27	0.08	0.07	0.08
query28	13.21	1.02	1.00
query29	12.69	3.29	3.26
query30	0.25	0.06	0.05
query31	2.88	0.40	0.39
query32	3.25	0.47	0.48
query33	2.89	2.90	2.94
query34	17.02	4.47	4.39
query35	4.47	4.56	4.49
query36	0.66	0.46	0.48
query37	0.19	0.16	0.15
query38	0.16	0.16	0.15
query39	0.04	0.03	0.04
query40	0.16	0.15	0.13
query41	0.10	0.05	0.04
query42	0.05	0.06	0.06
query43	0.04	0.04	0.04
Total cold run time: 109.36 s
Total hot run time: 30.39 s

@Yukang-Lian
Copy link
Collaborator Author

run buildall

Copy link
Contributor

github-actions bot commented Jul 3, 2024

clang-tidy review says "All clean, LGTM! 👍"

zhannngchen
zhannngchen previously approved these changes Jul 3, 2024
Copy link
Contributor

@zhannngchen zhannngchen left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Jul 4, 2024
Copy link
Contributor

github-actions bot commented Jul 4, 2024

clang-tidy review says "All clean, LGTM! 👍"

@Yukang-Lian
Copy link
Collaborator Author

run buildall

Copy link
Contributor

github-actions bot commented Jul 4, 2024

clang-tidy review says "All clean, LGTM! 👍"

@Yukang-Lian
Copy link
Collaborator Author

run performance

1 similar comment
@Yukang-Lian
Copy link
Collaborator Author

run performance

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17775	5350	4410	4410
q2	2446	191	195	191
q3	10608	1145	1083	1083
q4	10382	745	798	745
q5	7553	2650	2644	2644
q6	219	137	136	136
q7	952	595	606	595
q8	9226	2082	2092	2082
q9	8896	6488	6471	6471
q10	8809	3696	3716	3696
q11	478	235	245	235
q12	435	235	225	225
q13	17791	2974	2993	2974
q14	270	221	216	216
q15	538	475	477	475
q16	515	400	371	371
q17	965	668	693	668
q18	7996	7469	7412	7412
q19	3888	1448	1488	1448
q20	658	313	330	313
q21	4949	3145	3156	3145
q22	397	347	335	335
Total cold run time: 115746 ms
Total hot run time: 39870 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4381	4236	4258	4236
q2	379	261	260	260
q3	3002	2764	2713	2713
q4	1890	1622	1623	1622
q5	5255	5286	5276	5276
q6	223	130	132	130
q7	2136	1782	1747	1747
q8	3219	3381	3319	3319
q9	8318	8322	8349	8322
q10	3807	3651	3687	3651
q11	585	497	492	492
q12	808	616	596	596
q13	17646	2982	3036	2982
q14	300	270	248	248
q15	532	485	481	481
q16	461	420	428	420
q17	1780	1483	1459	1459
q18	7714	7541	7367	7367
q19	1780	1536	1603	1536
q20	1991	1804	1780	1780
q21	4918	4596	4788	4596
q22	609	531	562	531
Total cold run time: 71734 ms
Total hot run time: 53764 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 172171 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 74645d386a068d60436ca3e246e0aa310af09d1a, data reload: false

query1	930	387	374	374
query2	6481	2368	2333	2333
query3	6645	201	206	201
query4	18670	17626	17362	17362
query5	4171	490	473	473
query6	262	178	163	163
query7	4604	289	287	287
query8	326	296	296	296
query9	8503	2424	2394	2394
query10	612	299	288	288
query11	10440	9950	9888	9888
query12	136	86	81	81
query13	1681	380	363	363
query14	9600	7467	7823	7467
query15	230	185	230	185
query16	7701	323	315	315
query17	1790	527	516	516
query18	1729	267	269	267
query19	202	164	147	147
query20	90	83	80	80
query21	229	127	120	120
query22	4584	4143	4164	4143
query23	33634	33396	33074	33074
query24	12158	2917	2829	2829
query25	649	372	371	371
query26	1768	157	157	157
query27	2892	321	316	316
query28	7824	2080	2061	2061
query29	1034	622	604	604
query30	292	154	149	149
query31	983	714	730	714
query32	100	51	52	51
query33	769	300	276	276
query34	960	462	468	462
query35	748	637	621	621
query36	1110	940	947	940
query37	277	73	71	71
query38	2880	2790	2781	2781
query39	852	800	778	778
query40	277	124	128	124
query41	54	55	51	51
query42	123	93	102	93
query43	597	541	536	536
query44	1191	721	714	714
query45	188	170	165	165
query46	1085	719	724	719
query47	1875	1799	1797	1797
query48	362	298	301	298
query49	1197	403	407	403
query50	771	383	391	383
query51	6840	6800	6737	6737
query52	103	89	92	89
query53	364	293	286	286
query54	988	445	432	432
query55	73	74	72	72
query56	291	258	266	258
query57	1164	1055	1049	1049
query58	283	250	240	240
query59	3464	3193	3277	3193
query60	307	266	283	266
query61	95	90	90	90
query62	649	441	439	439
query63	319	278	283	278
query64	9890	2258	1714	1714
query65	3265	3145	3119	3119
query66	1299	327	318	318
query67	15389	14842	14921	14842
query68	5283	536	553	536
query69	605	468	330	330
query70	1128	1122	1131	1122
query71	448	286	268	268
query72	7920	5538	5137	5137
query73	764	321	319	319
query74	6004	5480	5483	5480
query75	3812	2675	2667	2667
query76	3665	982	889	889
query77	662	304	300	300
query78	9475	9003	8810	8810
query79	3241	511	504	504
query80	2341	472	465	465
query81	602	217	226	217
query82	1451	100	111	100
query83	320	172	174	172
query84	269	89	89	89
query85	1605	270	274	270
query86	475	310	304	304
query87	3280	3113	3124	3113
query88	4149	2395	2376	2376
query89	500	396	371	371
query90	1818	185	187	185
query91	130	97	102	97
query92	59	48	48	48
query93	3711	509	509	509
query94	1188	212	206	206
query95	404	309	315	309
query96	596	273	265	265
query97	3213	2976	2980	2976
query98	225	203	189	189
query99	1432	845	849	845
Total cold run time: 281824 ms
Total hot run time: 172171 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 31.56 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 74645d386a068d60436ca3e246e0aa310af09d1a, data reload: false

query1	0.04	0.03	0.03
query2	0.08	0.04	0.04
query3	0.22	0.05	0.05
query4	1.68	0.07	0.08
query5	0.53	0.49	0.48
query6	1.14	0.73	0.72
query7	0.02	0.01	0.02
query8	0.05	0.04	0.04
query9	0.55	0.48	0.50
query10	0.54	0.53	0.55
query11	0.15	0.12	0.11
query12	0.15	0.12	0.12
query13	0.60	0.58	0.57
query14	0.76	0.78	0.77
query15	0.84	0.82	0.80
query16	0.36	0.35	0.36
query17	1.04	1.02	1.04
query18	0.23	0.25	0.25
query19	1.83	1.68	1.68
query20	0.01	0.02	0.02
query21	15.42	0.75	0.68
query22	3.70	6.80	2.97
query23	18.29	1.31	1.24
query24	2.05	0.25	0.22
query25	0.16	0.08	0.09
query26	0.29	0.21	0.21
query27	0.46	0.23	0.23
query28	13.28	1.00	1.00
query29	12.63	3.30	3.29
query30	0.25	0.06	0.05
query31	2.86	0.39	0.38
query32	3.28	0.48	0.47
query33	2.93	2.91	2.90
query34	17.00	4.30	4.37
query35	4.36	4.37	4.46
query36	0.64	0.46	0.47
query37	0.19	0.15	0.15
query38	0.15	0.14	0.15
query39	0.04	0.03	0.03
query40	0.15	0.11	0.13
query41	0.10	0.05	0.05
query42	0.06	0.05	0.05
query43	0.04	0.04	0.04
Total cold run time: 109.15 s
Total hot run time: 31.56 s

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 5, 2024
Copy link
Contributor

github-actions bot commented Jul 5, 2024

PR approved by at least one committer and no changes requested.

Copy link
Contributor

@zhannngchen zhannngchen left a comment

Choose a reason for hiding this comment

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

LGTM

@gavinchou gavinchou merged commit 2f3a9c4 into apache:master Jul 5, 2024
27 of 31 checks passed
Yukang-Lian added a commit to Yukang-Lian/doris that referenced this pull request Jul 10, 2024
…d mode (apache#37151)

Problem: The `test_new_partial_update` case fails to run in cloud mode,
but it passes in local mode.

Reason: In PR apache#35917, we introduced a new table attribute
`enable_light_delete`. When executing schema changes with `alter table
set xxx` statements, the local and cloud modes process the logic
differently. The cloud mode has its unique processing logic, which was
not addressed in the mentioned PR, leading to failures in the cloud
environment.

Solution: To resolve the issue, we need to complete the missing schema
change logic for the cloud mode. Once this is implemented, the problem
should be resolved.
Yukang-Lian added a commit to Yukang-Lian/doris that referenced this pull request Jul 15, 2024
…d mode (apache#37151)

Problem: The `test_new_partial_update` case fails to run in cloud mode,
but it passes in local mode.

Reason: In PR apache#35917, we introduced a new table attribute
`enable_light_delete`. When executing schema changes with `alter table
set xxx` statements, the local and cloud modes process the logic
differently. The cloud mode has its unique processing logic, which was
not addressed in the mentioned PR, leading to failures in the cloud
environment.

Solution: To resolve the issue, we need to complete the missing schema
change logic for the cloud mode. Once this is implemented, the problem
should be resolved.
zhannngchen pushed a commit that referenced this pull request Jul 15, 2024
dataroaring pushed a commit that referenced this pull request Jul 17, 2024
…d mode (#37151)

Problem: The `test_new_partial_update` case fails to run in cloud mode,
but it passes in local mode.

Reason: In PR #35917, we introduced a new table attribute
`enable_light_delete`. When executing schema changes with `alter table
set xxx` statements, the local and cloud modes process the logic
differently. The cloud mode has its unique processing logic, which was
not addressed in the mentioned PR, leading to failures in the cloud
environment.

Solution: To resolve the issue, we need to complete the missing schema
change logic for the cloud mode. Once this is implemented, the problem
should be resolved.
Yukang-Lian added a commit to Yukang-Lian/doris that referenced this pull request Jul 29, 2024
…d mode (apache#37151)

Problem: The `test_new_partial_update` case fails to run in cloud mode,
but it passes in local mode.

Reason: In PR apache#35917, we introduced a new table attribute
`enable_light_delete`. When executing schema changes with `alter table
set xxx` statements, the local and cloud modes process the logic
differently. The cloud mode has its unique processing logic, which was
not addressed in the mentioned PR, leading to failures in the cloud
environment.

Solution: To resolve the issue, we need to complete the missing schema
change logic for the cloud mode. Once this is implemented, the problem
should be resolved.
gavinchou pushed a commit that referenced this pull request Sep 13, 2024
In #35917 and #37151, we changed MOW table default delete command from
delete predicate to delete sign. It makes sure the correctness during
partial update but leads to slowdowns. Actually, if there is no partial
update, delete predicate will not lead to data fault. Delete data by
delete predicate or delete sign can be controlled by a table property
"enable_light_delete". If "enable_light_delete=true", we execute delete
command by delete predicate. Otherwise, we execute delete command by
delete sign.

In p2 cases, there are lots of cases with large data need to delete and
do not perform partial column update operations. Therefore, in order to
make it faster, we change some cases default create table clause.
dataroaring pushed a commit that referenced this pull request Oct 9, 2024
In #35917 and #37151, we changed MOW table default delete command from
delete predicate to delete sign. It makes sure the correctness during
partial update but leads to slowdowns. Actually, if there is no partial
update, delete predicate will not lead to data fault. Delete data by
delete predicate or delete sign can be controlled by a table property
"enable_light_delete". If "enable_light_delete=true", we execute delete
command by delete predicate. Otherwise, we execute delete command by
delete sign.

In p2 cases, there are lots of cases with large data need to delete and
do not perform partial column update operations. Therefore, in order to
make it faster, we change some cases default create table clause.
Yukang-Lian added a commit to Yukang-Lian/doris that referenced this pull request Oct 12, 2024
…7689)

In apache#35917 and apache#37151, we changed MOW table default delete command from
delete predicate to delete sign. It makes sure the correctness during
partial update but leads to slowdowns. Actually, if there is no partial
update, delete predicate will not lead to data fault. Delete data by
delete predicate or delete sign can be controlled by a table property
"enable_light_delete". If "enable_light_delete=true", we execute delete
command by delete predicate. Otherwise, we execute delete command by
delete sign.

In p2 cases, there are lots of cases with large data need to delete and
do not perform partial column update operations. Therefore, in order to
make it faster, we change some cases default create table clause.
Yukang-Lian added a commit to Yukang-Lian/doris that referenced this pull request Oct 12, 2024
…7689)

In apache#35917 and apache#37151, we changed MOW table default delete command from
delete predicate to delete sign. It makes sure the correctness during
partial update but leads to slowdowns. Actually, if there is no partial
update, delete predicate will not lead to data fault. Delete data by
delete predicate or delete sign can be controlled by a table property
"enable_light_delete". If "enable_light_delete=true", we execute delete
command by delete predicate. Otherwise, we execute delete command by
delete sign.

In p2 cases, there are lots of cases with large data need to delete and
do not perform partial column update operations. Therefore, in order to
make it faster, we change some cases default create table clause.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/3.0.1-merged meta-change reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants