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

[Feature](insert-overwrite) Support create partition for auto partition table when insert overwrite #38628

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

zclllyybb
Copy link
Contributor

@zclllyybb zclllyybb commented Jul 31, 2024

Proposed changes

Issue Number: close #xxx

introduced session variable enable_auto_create_when_overwrite

when it's true:

  1. insert overwrite table auto_partition_table [values xxx| select xxx] support overwrite old datas and create partition(s) for new datas if need.
  2. insert overwrite table auto_partition_table partition(*) [values xxx| select xxx] support overwrite old datas for values-relative partitions(as it was before) and create partition(s) for new datas if need.

doc pr: apache/doris-website#936

@zclllyybb
Copy link
Contributor Author

run buildall

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

Copy link
Contributor

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

@yiguolei yiguolei added usercase Important user case type label dev/2.1.x labels Jul 31, 2024
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17650	4210	4082	4082
q2	2029	221	202	202
q3	10538	1251	1321	1251
q4	10216	807	938	807
q5	7578	3039	2991	2991
q6	223	140	144	140
q7	1040	614	622	614
q8	9443	1977	1988	1977
q9	8533	6645	6637	6637
q10	8734	3867	3896	3867
q11	419	253	264	253
q12	409	238	235	235
q13	17770	2980	2985	2980
q14	272	244	251	244
q15	539	486	487	486
q16	500	416	399	399
q17	986	934	931	931
q18	8049	7325	7327	7325
q19	1381	1231	1220	1220
q20	564	341	356	341
q21	5391	4757	4837	4757
q22	358	292	290	290
Total cold run time: 112622 ms
Total hot run time: 42029 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4067	4017	4048	4017
q2	348	216	218	216
q3	3037	3028	3149	3028
q4	2022	2026	1978	1978
q5	5656	5557	5507	5507
q6	221	133	135	133
q7	2144	1764	1872	1764
q8	3359	3419	3386	3386
q9	8771	8757	8774	8757
q10	4059	4056	4043	4043
q11	543	447	464	447
q12	777	595	598	595
q13	16482	3151	3152	3151
q14	302	264	278	264
q15	526	493	488	488
q16	468	427	433	427
q17	1770	1754	1762	1754
q18	8240	7852	7656	7656
q19	1754	1766	1742	1742
q20	2040	1878	1859	1859
q21	5837	5568	5523	5523
q22	545	461	477	461
Total cold run time: 72968 ms
Total hot run time: 57196 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 172326 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 478ae7bf354e8641576dc20c6603b7510fa4ad49, data reload: false

query1	921	381	367	367
query2	6461	1665	1660	1660
query3	6674	222	224	222
query4	19590	17488	17463	17463
query5	3674	522	530	522
query6	282	182	175	175
query7	4614	292	300	292
query8	261	199	191	191
query9	8498	2425	2408	2408
query10	432	279	271	271
query11	10340	10127	10081	10081
query12	130	94	85	85
query13	1627	372	381	372
query14	9477	8439	8132	8132
query15	201	164	167	164
query16	6834	471	496	471
query17	958	567	578	567
query18	1916	294	289	289
query19	197	153	153	153
query20	108	86	86	86
query21	207	104	100	100
query22	4104	4155	4013	4013
query23	34119	33864	33673	33673
query24	10315	3157	3138	3138
query25	697	447	455	447
query26	1781	161	162	161
query27	3006	294	292	292
query28	7336	2077	2068	2068
query29	1295	463	450	450
query30	239	155	159	155
query31	974	805	782	782
query32	101	61	65	61
query33	706	372	347	347
query34	918	504	511	504
query35	882	787	781	781
query36	1058	949	900	900
query37	297	87	86	86
query38	2933	2854	2808	2808
query39	882	838	836	836
query40	261	115	118	115
query41	48	47	46	46
query42	125	105	111	105
query43	459	429	424	424
query44	1208	751	841	751
query45	208	176	176	176
query46	1110	795	803	795
query47	1795	1709	1713	1709
query48	361	292	302	292
query49	930	430	421	421
query50	922	453	449	449
query51	6781	6774	6740	6740
query52	108	96	95	95
query53	261	183	180	180
query54	670	462	464	462
query55	76	75	74	74
query56	270	255	259	255
query57	1147	1026	1061	1026
query58	273	268	311	268
query59	2489	2348	2398	2348
query60	299	286	280	280
query61	101	94	94	94
query62	880	679	668	668
query63	219	187	193	187
query64	5607	1916	1907	1907
query65	3187	3104	3099	3099
query66	1312	337	333	333
query67	15271	14928	14919	14919
query68	5166	572	592	572
query69	745	387	345	345
query70	1158	1092	1077	1077
query71	501	282	318	282
query72	8081	2730	2470	2470
query73	944	341	331	331
query74	6000	5774	5615	5615
query75	4003	2756	2740	2740
query76	3596	1395	1445	1395
query77	636	314	319	314
query78	9435	9088	8879	8879
query79	2619	548	545	545
query80	2259	527	528	527
query81	582	285	226	226
query82	767	129	135	129
query83	292	171	181	171
query84	282	81	79	79
query85	1415	332	314	314
query86	477	311	306	306
query87	3346	3093	3144	3093
query88	3606	2429	2414	2414
query89	402	292	301	292
query90	1977	193	200	193
query91	168	105	103	103
query92	65	53	53	53
query93	2361	655	645	645
query94	868	307	304	304
query95	396	277	278	277
query96	602	280	279	279
query97	3220	3057	3064	3057
query98	230	205	199	199
query99	1586	1346	1309	1309
Total cold run time: 269208 ms
Total hot run time: 172326 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.03
query2	0.07	0.04	0.04
query3	0.23	0.05	0.04
query4	1.68	0.06	0.06
query5	0.48	0.48	0.50
query6	1.15	0.72	0.72
query7	0.02	0.02	0.02
query8	0.05	0.05	0.05
query9	0.58	0.51	0.51
query10	0.57	0.58	0.57
query11	0.15	0.12	0.12
query12	0.16	0.13	0.13
query13	0.61	0.61	0.59
query14	0.79	0.79	0.80
query15	0.91	0.88	0.87
query16	0.36	0.36	0.35
query17	0.98	1.00	1.02
query18	0.22	0.21	0.21
query19	1.88	1.72	1.77
query20	0.02	0.01	0.01
query21	15.43	0.79	0.66
query22	3.89	8.19	1.15
query23	18.22	1.46	1.36
query24	2.26	0.22	0.21
query25	0.19	0.09	0.07
query26	0.32	0.21	0.21
query27	0.45	0.23	0.23
query28	13.17	1.00	0.98
query29	12.59	3.35	3.33
query30	0.26	0.06	0.06
query31	2.86	0.40	0.42
query32	3.24	0.49	0.49
query33	2.93	2.97	2.96
query34	15.45	4.28	4.24
query35	4.28	4.29	4.28
query36	0.69	0.48	0.50
query37	0.20	0.16	0.17
query38	0.16	0.15	0.15
query39	0.04	0.03	0.04
query40	0.16	0.13	0.13
query41	0.09	0.06	0.05
query42	0.06	0.05	0.05
query43	0.04	0.04	0.04
Total cold run time: 107.93 s
Total hot run time: 30.03 s

@zclllyybb
Copy link
Contributor Author

run buildall

Copy link
Contributor

github-actions bot commented Aug 1, 2024

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

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17642	4236	4110	4110
q2	2037	216	213	213
q3	10508	1429	1398	1398
q4	10208	823	860	823
q5	7675	2987	3006	2987
q6	223	141	145	141
q7	1049	628	633	628
q8	9470	1752	1971	1752
q9	8553	6607	6623	6607
q10	8717	3889	3894	3889
q11	427	252	256	252
q12	421	238	234	234
q13	17772	3012	2957	2957
q14	282	250	258	250
q15	533	496	491	491
q16	503	414	397	397
q17	995	933	926	926
q18	8169	7297	7246	7246
q19	1398	1231	1226	1226
q20	573	340	339	339
q21	5478	4808	4904	4808
q22	354	285	294	285
Total cold run time: 112987 ms
Total hot run time: 41959 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4078	4055	4099	4055
q2	335	226	222	222
q3	3014	3065	3173	3065
q4	2035	2017	1959	1959
q5	5685	5514	5500	5500
q6	224	134	133	133
q7	2214	1882	1851	1851
q8	3340	3427	3398	3398
q9	8678	8737	8809	8737
q10	4009	4068	3936	3936
q11	565	468	465	465
q12	802	603	584	584
q13	15036	3158	3116	3116
q14	293	270	273	270
q15	528	509	500	500
q16	492	422	429	422
q17	1791	1747	1764	1747
q18	8317	7900	7743	7743
q19	1744	1742	1720	1720
q20	2098	1862	1832	1832
q21	5810	5627	5331	5331
q22	544	480	466	466
Total cold run time: 71632 ms
Total hot run time: 57052 ms

@doris-robot
Copy link

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

query1	916	372	368	368
query2	6474	1689	1703	1689
query3	6678	216	228	216
query4	19999	17662	17091	17091
query5	3640	511	524	511
query6	271	166	171	166
query7	4597	298	299	298
query8	254	199	194	194
query9	8517	2385	2379	2379
query10	432	280	270	270
query11	10475	10213	10044	10044
query12	126	92	90	90
query13	1615	386	381	381
query14	8863	7786	6344	6344
query15	208	169	170	169
query16	6856	461	480	461
query17	932	574	579	574
query18	1713	292	286	286
query19	197	151	152	151
query20	95	88	88	88
query21	203	107	101	101
query22	4387	4058	4008	4008
query23	33979	33798	33622	33622
query24	10364	3123	3169	3123
query25	670	396	410	396
query26	1739	156	156	156
query27	2971	288	299	288
query28	7680	2031	2002	2002
query29	1178	457	450	450
query30	238	153	155	153
query31	945	795	763	763
query32	99	61	56	56
query33	693	354	342	342
query34	949	494	537	494
query35	888	780	767	767
query36	1049	879	888	879
query37	282	84	82	82
query38	2988	2820	2756	2756
query39	902	826	814	814
query40	250	114	113	113
query41	46	46	44	44
query42	121	99	97	97
query43	462	420	417	417
query44	1168	725	727	725
query45	212	178	176	176
query46	1108	819	790	790
query47	1816	1697	1707	1697
query48	360	290	292	290
query49	939	440	422	422
query50	900	433	440	433
query51	6786	6805	6711	6711
query52	98	98	89	89
query53	259	183	181	181
query54	642	448	447	447
query55	79	75	77	75
query56	275	254	269	254
query57	1145	1058	1054	1054
query58	279	281	269	269
query59	2602	2437	2261	2261
query60	315	290	277	277
query61	112	98	94	94
query62	892	665	659	659
query63	221	183	188	183
query64	5664	1913	1882	1882
query65	3176	3117	3102	3102
query66	1277	335	335	335
query67	15247	14833	14758	14758
query68	4294	567	589	567
query69	445	300	301	300
query70	1100	1058	1082	1058
query71	420	282	277	277
query72	7073	2664	2534	2534
query73	772	333	329	329
query74	6027	5691	5752	5691
query75	3364	2773	2760	2760
query76	2364	1209	1267	1209
query77	431	315	325	315
query78	9397	8918	8885	8885
query79	1620	547	548	547
query80	1133	525	504	504
query81	564	225	230	225
query82	1039	135	133	133
query83	250	174	175	174
query84	277	82	80	80
query85	1239	325	311	311
query86	408	289	276	276
query87	3366	3087	3181	3087
query88	2978	2410	2399	2399
query89	384	293	287	287
query90	1717	195	197	195
query91	128	104	103	103
query92	58	50	49	49
query93	1451	631	632	631
query94	772	355	295	295
query95	385	272	267	267
query96	617	286	284	284
query97	3263	3038	3062	3038
query98	228	204	203	203
query99	1637	1293	1263	1263
Total cold run time: 260714 ms
Total hot run time: 169133 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.04
query2	0.08	0.04	0.04
query3	0.22	0.05	0.05
query4	1.68	0.06	0.07
query5	0.51	0.50	0.48
query6	1.14	0.72	0.71
query7	0.02	0.02	0.01
query8	0.05	0.04	0.04
query9	0.57	0.50	0.53
query10	0.57	0.55	0.57
query11	0.16	0.11	0.11
query12	0.15	0.12	0.12
query13	0.62	0.60	0.60
query14	0.78	0.80	0.80
query15	0.91	0.87	0.86
query16	0.36	0.35	0.37
query17	1.04	1.01	1.01
query18	0.22	0.21	0.21
query19	1.83	1.77	1.73
query20	0.01	0.03	0.01
query21	15.40	0.81	0.68
query22	4.11	8.61	1.26
query23	17.84	1.28	1.32
query24	2.19	0.23	0.23
query25	0.16	0.08	0.07
query26	0.32	0.22	0.22
query27	0.45	0.23	0.22
query28	13.18	1.01	0.98
query29	12.53	3.33	3.35
query30	0.26	0.05	0.05
query31	2.85	0.42	0.40
query32	3.25	0.50	0.48
query33	2.97	3.00	2.91
query34	15.50	4.28	4.25
query35	4.31	4.32	4.30
query36	0.68	0.48	0.47
query37	0.19	0.16	0.16
query38	0.16	0.15	0.15
query39	0.04	0.04	0.04
query40	0.16	0.14	0.12
query41	0.10	0.04	0.04
query42	0.05	0.05	0.05
query43	0.06	0.04	0.04
Total cold run time: 107.72 s
Total hot run time: 30.01 s

@zclllyybb zclllyybb force-pushed the iot_feature branch 2 times, most recently from 77be2d4 to 3d43058 Compare August 6, 2024 15:56
@zclllyybb
Copy link
Contributor Author

run buildall

Copy link
Contributor

github-actions bot commented Aug 6, 2024

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

1 similar comment
Copy link
Contributor

github-actions bot commented Aug 6, 2024

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

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17629	4225	4123	4123
q2	2027	204	200	200
q3	10570	1280	1333	1280
q4	10229	871	994	871
q5	7670	3037	2984	2984
q6	226	139	137	137
q7	1056	615	611	611
q8	9435	1887	1989	1887
q9	8462	6616	6651	6616
q10	8721	3851	3836	3836
q11	443	251	251	251
q12	415	227	223	223
q13	17756	2942	2943	2942
q14	270	246	243	243
q15	525	482	511	482
q16	538	407	386	386
q17	982	961	965	961
q18	8134	7349	7241	7241
q19	2981	1225	1228	1225
q20	555	321	334	321
q21	5302	4806	4779	4779
q22	362	284	280	280
Total cold run time: 114288 ms
Total hot run time: 41879 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4130	4053	4029	4029
q2	326	216	215	215
q3	3000	3107	3165	3107
q4	2075	1989	2000	1989
q5	5601	5490	5425	5425
q6	222	132	134	132
q7	2119	1825	1814	1814
q8	3315	3362	3371	3362
q9	8718	8751	8738	8738
q10	3957	3989	3944	3944
q11	567	471	461	461
q12	771	616	617	616
q13	16455	3148	3135	3135
q14	296	263	276	263
q15	526	498	476	476
q16	494	432	414	414
q17	1786	1758	1752	1752
q18	8338	7800	7649	7649
q19	1793	1745	1788	1745
q20	2125	1873	1853	1853
q21	5718	5567	5243	5243
q22	543	481	499	481
Total cold run time: 72875 ms
Total hot run time: 56843 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 169541 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 3d43058a251be3d766083b02d9c7f256381f9dd5, data reload: false

query1	903	383	369	369
query2	6482	1776	1757	1757
query3	6650	218	226	218
query4	19900	17481	17225	17225
query5	3636	522	524	522
query6	275	184	163	163
query7	4604	316	289	289
query8	265	194	213	194
query9	8511	2393	2371	2371
query10	433	276	270	270
query11	10582	10127	9865	9865
query12	130	95	85	85
query13	1626	386	376	376
query14	9875	6875	6829	6829
query15	218	166	177	166
query16	6975	481	464	464
query17	964	584	573	573
query18	1903	290	291	290
query19	196	152	158	152
query20	93	85	88	85
query21	205	101	98	98
query22	4133	4140	4106	4106
query23	33844	33775	33589	33589
query24	9333	3138	3067	3067
query25	661	432	411	411
query26	720	159	156	156
query27	2249	285	293	285
query28	5951	2046	2028	2028
query29	931	431	449	431
query30	235	153	160	153
query31	974	768	793	768
query32	104	58	61	58
query33	692	344	329	329
query34	943	502	517	502
query35	883	771	742	742
query36	1052	887	905	887
query37	179	96	87	87
query38	2900	2778	2789	2778
query39	870	814	823	814
query40	216	114	112	112
query41	46	47	45	45
query42	121	98	98	98
query43	472	423	414	414
query44	1194	730	734	730
query45	212	183	182	182
query46	1101	828	789	789
query47	1804	1710	1731	1710
query48	368	293	300	293
query49	867	430	449	430
query50	897	443	444	443
query51	6683	6602	6780	6602
query52	102	90	91	90
query53	252	182	190	182
query54	645	456	463	456
query55	76	73	76	73
query56	277	268	249	249
query57	1139	1036	1040	1036
query58	261	263	274	263
query59	2505	2450	2395	2395
query60	325	288	275	275
query61	97	94	92	92
query62	890	657	667	657
query63	217	185	186	185
query64	4262	1915	1919	1915
query65	3188	3091	3116	3091
query66	873	331	326	326
query67	15233	14831	14762	14762
query68	4446	548	610	548
query69	666	360	323	323
query70	1130	1086	1066	1066
query71	450	283	287	283
query72	7907	2710	2486	2486
query73	781	339	336	336
query74	6094	5668	5609	5609
query75	3506	2739	2704	2704
query76	2694	1191	1274	1191
query77	573	324	318	318
query78	9425	8854	8798	8798
query79	2633	540	541	540
query80	1359	517	523	517
query81	561	231	226	226
query82	1402	142	140	140
query83	287	171	167	167
query84	270	80	82	80
query85	1304	316	313	313
query86	443	308	281	281
query87	3324	3110	3115	3110
query88	3757	2434	2447	2434
query89	394	294	286	286
query90	1921	199	198	198
query91	167	98	101	98
query92	59	54	49	49
query93	2185	631	633	631
query94	901	306	297	297
query95	388	271	277	271
query96	603	283	289	283
query97	3201	3034	3105	3034
query98	222	221	204	204
query99	1545	1299	1273	1273
Total cold run time: 260001 ms
Total hot run time: 169541 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.07	0.04	0.04
query3	0.22	0.04	0.05
query4	1.68	0.07	0.07
query5	0.49	0.48	0.49
query6	1.15	0.72	0.72
query7	0.02	0.01	0.01
query8	0.05	0.04	0.04
query9	0.59	0.52	0.52
query10	0.57	0.55	0.59
query11	0.15	0.12	0.12
query12	0.14	0.12	0.12
query13	0.63	0.60	0.60
query14	0.78	0.79	0.81
query15	0.90	0.87	0.87
query16	0.36	0.35	0.35
query17	1.00	1.01	1.02
query18	0.22	0.21	0.22
query19	1.87	1.78	1.79
query20	0.02	0.01	0.01
query21	15.39	0.75	0.65
query22	4.08	8.12	1.02
query23	17.83	1.30	1.26
query24	2.23	0.23	0.22
query25	0.19	0.08	0.08
query26	0.31	0.21	0.22
query27	0.46	0.23	0.24
query28	13.16	1.00	0.97
query29	12.57	3.32	3.29
query30	0.26	0.06	0.06
query31	2.87	0.41	0.41
query32	3.23	0.50	0.48
query33	2.98	2.96	2.98
query34	15.41	4.24	4.24
query35	4.27	4.31	4.31
query36	0.68	0.47	0.49
query37	0.21	0.16	0.17
query38	0.16	0.15	0.15
query39	0.04	0.04	0.04
query40	0.15	0.13	0.13
query41	0.11	0.04	0.05
query42	0.06	0.05	0.05
query43	0.05	0.04	0.03
Total cold run time: 107.66 s
Total hot run time: 29.83 s

@zclllyybb
Copy link
Contributor Author

run buildall

@zclllyybb zclllyybb marked this pull request as draft August 7, 2024 02:33
Copy link
Contributor

github-actions bot commented Aug 7, 2024

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

Copy link
Contributor

github-actions bot commented Aug 7, 2024

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

@zclllyybb
Copy link
Contributor Author

run buildall

Copy link
Contributor

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

@zclllyybb zclllyybb requested a review from HappenLee October 28, 2024 03:40
@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.45% (9714/25937)
Line Coverage: 28.72% (80558/280531)
Region Coverage: 28.14% (41657/148045)
Branch Coverage: 24.71% (21169/85680)
Coverage Report: http://coverage.selectdb-in.cc/coverage/87bed9ac6454dfd0e9a309aaf2688c2797ea381c_87bed9ac6454dfd0e9a309aaf2688c2797ea381c/report/index.html

Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

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

LGTM BE code

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

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

Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@zddr zddr left a comment

Choose a reason for hiding this comment

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

LGTM

@HappenLee HappenLee merged commit f3c129d into apache:master Oct 28, 2024
24 of 27 checks passed
@zclllyybb zclllyybb deleted the iot_feature branch October 28, 2024 11:22
zclllyybb added a commit to zclllyybb/doris that referenced this pull request Oct 28, 2024
…on table when insert overwrite (apache#38628)

introduced session variable `enable_auto_create_when_overwrite`

when it's true:
1. `insert overwrite table auto_partition_table [values xxx| select
xxx]` support overwrite old datas and create partition(s) for new datas
if need.
2. `insert overwrite table auto_partition_table partition(*) [values
xxx| select xxx]` support overwrite old datas for values-relative
partitions(as it was before) and create partition(s) for new datas if
need.

doc pr: apache/doris-website#936
zclllyybb added a commit to zclllyybb/doris that referenced this pull request Oct 28, 2024
…on table when insert overwrite (apache#38628)

introduced session variable `enable_auto_create_when_overwrite`

when it's true:
1. `insert overwrite table auto_partition_table [values xxx| select
xxx]` support overwrite old datas and create partition(s) for new datas
if need.
2. `insert overwrite table auto_partition_table partition(*) [values
xxx| select xxx]` support overwrite old datas for values-relative
partitions(as it was before) and create partition(s) for new datas if
need.

doc pr: apache/doris-website#936
zclllyybb added a commit to zclllyybb/doris that referenced this pull request Oct 28, 2024
…on table when insert overwrite (apache#38628)

introduced session variable `enable_auto_create_when_overwrite`

when it's true:
1. `insert overwrite table auto_partition_table [values xxx| select
xxx]` support overwrite old datas and create partition(s) for new datas
if need.
2. `insert overwrite table auto_partition_table partition(*) [values
xxx| select xxx]` support overwrite old datas for values-relative
partitions(as it was before) and create partition(s) for new datas if
need.

doc pr: apache/doris-website#936
morningman pushed a commit to apache/doris-website that referenced this pull request Oct 31, 2024
dataroaring pushed a commit that referenced this pull request Nov 7, 2024
yiguolei pushed a commit that referenced this pull request Nov 13, 2024
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.

8 participants