You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "eldenmoon (via GitHub)" <gi...@apache.org> on 2024/01/19 10:59:05 UTC

[PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

eldenmoon opened a new pull request, #30153:
URL: https://github.com/apache/doris/pull/30153

   This could result incorrect output in hirachinal cases
   
   ```
    sql """insert into ${table_name} values (-3, '{"a" : 1, "b" : 1.5, "c" : [1, 2, 3]}')"""
       sql """insert into  ${table_name} select -2, '{"a": 11245, "b" : [123, {"xx" : 1}], "c" : {"c" : 456, "d" : "null", "e" : 7.111}}'  as json_str
               union  all select -1, '{"a": 1123}' as json_str union all select *, '{"a" : 1234, "xxxx" : "kaana"}' as json_str from numbers("number" = "4096") limit 4096 ;"""
   
   mysql> select v["c"] from var_rs where k = -3 or k = -2;
   +----------------------+
   | element_at(`v`, 'c') |
   +----------------------+
   | [1,2,3]              |
   | []                   |
   +----------------------+
   2 rows in set (0.04 sec)
   ```
   
   ## Proposed changes
   
   Issue Number: close #xxx
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903371662

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 176025 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 264a5b33cc72550b8bb588a49f970115aef52fed, data reload: false
   
   query1	929	332	325	325
   query2	6577	1888	1837	1837
   query3	6697	200	204	200
   query4	30001	22111	22165	22111
   query5	4473	369	435	369
   query6	255	167	170	167
   query7	4607	270	262	262
   query8	236	172	173	172
   query9	8330	2516	2502	2502
   query10	419	237	227	227
   query11	16747	15503	15483	15483
   query12	125	72	65	65
   query13	1682	376	373	373
   query14	10468	6938	7015	6938
   query15	211	186	182	182
   query16	5799	254	250	250
   query17	957	466	471	466
   query18	1787	248	249	248
   query19	176	134	132	132
   query20	68	72	72	72
   query21	188	136	135	135
   query22	4831	4783	4747	4747
   query23	31537	30610	30622	30610
   query24	11860	2830	2808	2808
   query25	582	339	321	321
   query26	1584	144	147	144
   query27	3219	291	293	291
   query28	7232	1836	1809	1809
   query29	1548	627	616	616
   query30	277	138	135	135
   query31	944	753	751	751
   query32	90	56	56	56
   query33	703	217	222	217
   query34	1113	459	459	459
   query35	891	794	797	794
   query36	1360	1195	1179	1179
   query37	95	58	60	58
   query38	3359	3204	3281	3204
   query39	1301	1247	1239	1239
   query40	208	88	88	88
   query41	40	38	36	36
   query42	95	81	85	81
   query43	507	475	473	473
   query44	1070	686	690	686
   query45	186	178	174	174
   query46	1053	642	659	642
   query47	1624	1559	1492	1492
   query48	401	306	317	306
   query49	1126	285	286	285
   query50	684	308	314	308
   query51	5335	5219	5299	5219
   query52	99	73	78	73
   query53	324	263	263	263
   query54	259	182	187	182
   query55	78	79	79	79
   query56	187	167	167	167
   query57	974	966	910	910
   query58	189	156	160	156
   query59	2864	2650	2623	2623
   query60	211	190	191	190
   query61	83	86	85	85
   query62	582	346	330	330
   query63	283	252	260	252
   query64	5030	1775	1759	1759
   query65	3327	3251	3233	3233
   query66	1322	327	311	311
   query67	15571	14902	14990	14902
   query68	14335	533	512	512
   query69	630	303	294	294
   query70	2150	1457	1488	1457
   query71	553	213	209	209
   query72	5021	2838	2847	2838
   query73	3832	308	313	308
   query74	6946	6423	6439	6423
   query75	5292	2313	2350	2313
   query76	6743	978	1007	978
   query77	736	236	230	230
   query78	9288	8672	8756	8672
   query79	2307	495	498	495
   query80	602	318	313	313
   query81	476	206	204	204
   query82	200	80	74	74
   query83	163	119	120	119
   query84	273	75	71	71
   query85	1097	329	328	328
   query86	391	411	386	386
   query87	3532	3378	3314	3314
   query88	2913	2177	2195	2177
   query89	438	352	341	341
   query90	2170	182	177	177
   query91	157	134	123	123
   query92	53	46	44	44
   query93	1323	432	452	432
   query94	1308	159	157	157
   query95	489	456	446	446
   query96	611	308	317	308
   query97	4259	4141	4160	4141
   query98	205	199	193	193
   query99	1011	689	709	689
   Total cold run time: 296474 ms
   Total hot run time: 176025 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903380248

   
   Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Load test result on commit 264a5b33cc72550b8bb588a49f970115aef52fed with default session variables
   Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
   Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
   Stream load parquet:      32 seconds loaded 861443392 Bytes, about 25 MB/s
   Insert into select:       14.1 seconds inserted 10000000 Rows, about 709K ops/s
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1900247367

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 30.26 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 6968bc24f330613b10460474f9e265034f18f2e0, data reload: false
   
   query1	0.03	0.03	0.02
   query2	0.06	0.03	0.02
   query3	0.23	0.05	0.05
   query4	1.70	0.06	0.06
   query5	0.55	0.53	0.52
   query6	1.31	0.63	0.62
   query7	0.02	0.01	0.02
   query8	0.04	0.03	0.02
   query9	0.53	0.51	0.48
   query10	0.54	0.57	0.56
   query11	0.13	0.09	0.09
   query12	0.11	0.10	0.08
   query13	0.60	0.61	0.60
   query14	0.78	0.82	0.79
   query15	0.79	0.78	0.77
   query16	0.38	0.38	0.39
   query17	1.05	1.01	0.99
   query18	0.22	0.26	0.24
   query19	1.86	1.79	1.80
   query20	0.01	0.00	0.00
   query21	15.40	0.61	0.59
   query22	2.48	2.01	1.90
   query23	17.21	0.93	0.70
   query24	2.38	0.46	0.57
   query25	0.36	0.13	0.10
   query26	0.50	0.14	0.14
   query27	0.06	0.06	0.05
   query28	12.97	0.76	0.73
   query29	12.51	3.16	3.14
   query30	0.50	0.48	0.49
   query31	2.78	0.34	0.34
   query32	3.42	0.49	0.48
   query33	3.20	3.23	3.21
   query34	15.82	4.35	4.28
   query35	4.39	4.26	4.29
   query36	1.11	1.07	1.07
   query37	0.06	0.05	0.05
   query38	0.04	0.03	0.02
   query39	0.02	0.01	0.01
   query40	0.16	0.13	0.13
   query41	0.07	0.02	0.01
   query42	0.02	0.01	0.01
   query43	0.02	0.01	0.02
   Total cold run time: 106.42 s
   Total hot run time: 30.26 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903329485

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "qidaye (via GitHub)" <gi...@apache.org>.
qidaye merged PR #30153:
URL: https://github.com/apache/doris/pull/30153


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903356178

   TeamCity be ut coverage result:
    Function Coverage: 36.70% (8657/23587) 
    Line Coverage: 28.75% (70689/245865)
    Region Coverage: 27.62% (36446/131939)
    Branch Coverage: 24.35% (18650/76596)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/264a5b33cc72550b8bb588a49f970115aef52fed_264a5b33cc72550b8bb588a49f970115aef52fed/report/index.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1911325543

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 38884 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 8f8f138fb8102a079ec5f6518d8e467ebbe6588a, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	17655	5343	5242	5242
   q2	2041	142	133	133
   q3	10638	1187	1224	1187
   q4	10216	797	772	772
   q5	7725	3230	3163	3163
   q6	191	122	123	122
   q7	863	493	492	492
   q8	9228	1958	1965	1958
   q9	7262	6369	6344	6344
   q10	8245	3047	3031	3031
   q11	412	215	213	213
   q12	356	188	191	188
   q13	17994	3378	3345	3345
   q14	251	210	215	210
   q15	544	496	501	496
   q16	473	372	386	372
   q17	928	559	513	513
   q18	7535	7057	6713	6713
   q19	5501	1390	1464	1390
   q20	584	296	286	286
   q21	2802	2414	2418	2414
   q22	342	311	300	300
   Total cold run time: 111786 ms
   Total hot run time: 38884 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	5529	5286	5209	5209
   q2	332	211	211	211
   q3	3348	3235	3245	3235
   q4	2066	2065	2015	2015
   q5	5999	5899	6065	5899
   q6	197	117	117	117
   q7	2313	1888	1918	1888
   q8	3213	3367	3385	3367
   q9	8941	8880	8960	8880
   q10	3893	3765	3784	3765
   q11	540	445	452	445
   q12	803	620	646	620
   q13	16912	3149	3202	3149
   q14	295	249	260	249
   q15	561	514	517	514
   q16	520	467	474	467
   q17	1885	1830	1837	1830
   q18	9336	17081	9695	9695
   q19	26945	1506	1494	1494
   q20	4671	1937	1922	1922
   q21	14376	5393	5373	5373
   q22	1007	541	559	541
   Total cold run time: 113682 ms
   Total hot run time: 60885 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903703281

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "xiaokang (via GitHub)" <gi...@apache.org>.
xiaokang commented on code in PR #30153:
URL: https://github.com/apache/doris/pull/30153#discussion_r1467119629


##########
be/src/vec/common/schema_util.cpp:
##########
@@ -152,13 +152,31 @@ Status cast_column(const ColumnWithTypeAndName& arg, const DataTypePtr& type, Co
     Block tmp_block {arguments};
     size_t result_column = tmp_block.columns();
     auto ctx = FunctionContext::create_context(nullptr, {}, {});
+
+    // To prevent from null info lost, we should not call function since the function framework will wrap
+    // nullable to Variant instead of the root of Variant
+    // Nullable(Array(int)) -> Variant<Nullable(Array(int))>
+    if (WhichDataType(remove_nullable(type)).is_variant_type()) {
+        // set variant root column/type to from column/type
+        auto variant = ColumnObject::create(true /*always nullable*/);
+        CHECK(arg.column->is_nullable());

Review Comment:
   Why is src column always nullable?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on code in PR #30153:
URL: https://github.com/apache/doris/pull/30153#discussion_r1467155511


##########
be/src/vec/common/schema_util.cpp:
##########
@@ -152,13 +152,31 @@ Status cast_column(const ColumnWithTypeAndName& arg, const DataTypePtr& type, Co
     Block tmp_block {arguments};
     size_t result_column = tmp_block.columns();
     auto ctx = FunctionContext::create_context(nullptr, {}, {});
+
+    // To prevent from null info lost, we should not call function since the function framework will wrap
+    // nullable to Variant instead of the root of Variant
+    // Nullable(Array(int)) -> Variant<Nullable(Array(int))>

Review Comment:
   right:  Nullable(Array(int)) -> Nullable(Variant<Nullable(Array(int)))
   wrong:   Nullable(Array(int)) -> NullableVariant<(Array(int)))



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903360435

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 38474 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 264a5b33cc72550b8bb588a49f970115aef52fed, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	17653	5162	5247	5162
   q2	2046	148	132	132
   q3	10631	1145	1103	1103
   q4	10217	743	851	743
   q5	7760	3179	3097	3097
   q6	199	121	120	120
   q7	841	498	486	486
   q8	9200	1924	1944	1924
   q9	7255	6361	6327	6327
   q10	8234	3020	3046	3020
   q11	431	211	212	211
   q12	352	184	187	184
   q13	17998	3366	3324	3324
   q14	251	225	219	219
   q15	538	518	495	495
   q16	469	372	375	372
   q17	931	534	491	491
   q18	7541	6990	6684	6684
   q19	1545	1366	1365	1365
   q20	582	326	306	306
   q21	2744	2407	2403	2403
   q22	347	306	313	306
   Total cold run time: 107765 ms
   Total hot run time: 38474 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	5652	5347	5327	5327
   q2	328	216	211	211
   q3	3313	3236	3210	3210
   q4	2078	2037	2015	2015
   q5	5980	5747	5925	5747
   q6	198	120	118	118
   q7	2237	1864	1881	1864
   q8	3234	3357	3391	3357
   q9	8937	8853	8778	8778
   q10	3909	3790	3881	3790
   q11	555	443	463	443
   q12	787	639	626	626
   q13	16956	3148	3137	3137
   q14	293	259	258	258
   q15	552	513	502	502
   q16	502	453	461	453
   q17	1863	1905	1865	1865
   q18	9491	15104	9574	9574
   q19	23521	1595	1531	1531
   q20	4563	1931	1905	1905
   q21	14789	5346	5382	5346
   q22	1100	532	552	532
   Total cold run time: 110838 ms
   Total hot run time: 60589 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on code in PR #30153:
URL: https://github.com/apache/doris/pull/30153#discussion_r1467155766


##########
be/src/vec/common/schema_util.cpp:
##########
@@ -152,13 +152,31 @@ Status cast_column(const ColumnWithTypeAndName& arg, const DataTypePtr& type, Co
     Block tmp_block {arguments};
     size_t result_column = tmp_block.columns();
     auto ctx = FunctionContext::create_context(nullptr, {}, {});
+
+    // To prevent from null info lost, we should not call function since the function framework will wrap
+    // nullable to Variant instead of the root of Variant
+    // Nullable(Array(int)) -> Variant<Nullable(Array(int))>
+    if (WhichDataType(remove_nullable(type)).is_variant_type()) {
+        // set variant root column/type to from column/type
+        auto variant = ColumnObject::create(true /*always nullable*/);
+        CHECK(arg.column->is_nullable());

Review Comment:
   all the subcolumn is stored ad nullable



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1911351162

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903035879

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 176859 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 4c8c0a6765110f5e6ca3a2d878c78392222bda30, data reload: false
   
   query1	938	339	333	333
   query2	6546	1950	1893	1893
   query3	6738	202	198	198
   query4	31796	22386	22067	22067
   query5	4446	374	434	374
   query6	236	154	167	154
   query7	4607	259	266	259
   query8	229	177	173	173
   query9	8446	2568	2581	2568
   query10	416	223	231	223
   query11	16920	15525	15589	15525
   query12	119	68	66	66
   query13	1688	380	381	380
   query14	10567	7003	6941	6941
   query15	206	182	187	182
   query16	5792	257	250	250
   query17	953	469	484	469
   query18	1791	257	251	251
   query19	179	137	134	134
   query20	68	67	67	67
   query21	192	137	122	122
   query22	4946	4606	4625	4606
   query23	31623	30919	30972	30919
   query24	11817	2828	2833	2828
   query25	564	311	311	311
   query26	1618	139	140	139
   query27	3230	281	287	281
   query28	7340	1857	1829	1829
   query29	1576	634	627	627
   query30	278	136	142	136
   query31	948	763	762	762
   query32	77	50	48	48
   query33	697	216	213	213
   query34	1139	465	474	465
   query35	871	773	770	770
   query36	1333	1215	1225	1215
   query37	98	57	60	57
   query38	3375	3273	3249	3249
   query39	1322	1263	1248	1248
   query40	205	85	83	83
   query41	37	34	34	34
   query42	90	82	84	82
   query43	531	510	455	455
   query44	1083	684	682	682
   query45	198	176	175	175
   query46	1123	653	653	653
   query47	1626	1458	1563	1458
   query48	390	312	307	307
   query49	1122	299	288	288
   query50	759	308	305	305
   query51	5352	5207	5236	5207
   query52	94	82	79	79
   query53	339	248	254	248
   query54	243	183	189	183
   query55	85	76	77	76
   query56	172	165	184	165
   query57	989	980	947	947
   query58	200	159	155	155
   query59	2831	2674	2698	2674
   query60	215	182	184	182
   query61	81	81	84	81
   query62	585	375	366	366
   query63	288	253	261	253
   query64	5008	1778	1726	1726
   query65	3340	3265	3270	3265
   query66	1317	320	311	311
   query67	15761	15410	15302	15302
   query68	10504	534	496	496
   query69	614	313	306	306
   query70	1735	1513	1507	1507
   query71	531	215	215	215
   query72	4761	2818	2872	2818
   query73	2003	315	309	309
   query74	6925	6476	6359	6359
   query75	4665	2329	2285	2285
   query76	6677	1073	1164	1073
   query77	657	227	234	227
   query78	9102	8751	8590	8590
   query79	1109	507	486	486
   query80	602	314	305	305
   query81	469	204	205	204
   query82	216	85	84	84
   query83	151	115	118	115
   query84	280	69	69	69
   query85	1097	324	329	324
   query86	389	370	391	370
   query87	3566	3377	3364	3364
   query88	3561	2216	2205	2205
   query89	458	366	346	346
   query90	2009	184	183	183
   query91	162	131	133	131
   query92	56	46	45	45
   query93	3398	453	419	419
   query94	1263	160	153	153
   query95	498	455	450	450
   query96	672	325	319	319
   query97	4274	4157	4148	4148
   query98	212	201	186	186
   query99	974	694	703	694
   Total cold run time: 293379 ms
   Total hot run time: 176859 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903049601

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 30.27 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 4c8c0a6765110f5e6ca3a2d878c78392222bda30, data reload: false
   
   query1	0.03	0.03	0.02
   query2	0.06	0.02	0.02
   query3	0.22	0.04	0.04
   query4	1.71	0.07	0.06
   query5	0.53	0.52	0.51
   query6	1.31	0.64	0.64
   query7	0.02	0.02	0.01
   query8	0.04	0.03	0.02
   query9	0.55	0.51	0.49
   query10	0.56	0.57	0.56
   query11	0.11	0.09	0.08
   query12	0.11	0.10	0.09
   query13	0.60	0.61	0.60
   query14	0.80	0.81	0.79
   query15	0.81	0.77	0.78
   query16	0.39	0.37	0.38
   query17	1.04	1.01	1.03
   query18	0.24	0.25	0.23
   query19	1.85	1.84	1.83
   query20	0.01	0.01	0.00
   query21	15.43	0.56	0.55
   query22	2.55	2.14	1.52
   query23	17.33	0.77	0.69
   query24	2.66	0.77	0.99
   query25	0.40	0.17	0.18
   query26	0.52	0.15	0.15
   query27	0.06	0.05	0.06
   query28	11.43	0.78	0.78
   query29	12.50	3.20	3.12
   query30	0.54	0.49	0.48
   query31	2.78	0.34	0.35
   query32	3.38	0.48	0.48
   query33	3.22	3.23	3.25
   query34	15.63	4.43	4.24
   query35	4.32	4.23	4.28
   query36	1.11	1.07	1.08
   query37	0.06	0.05	0.05
   query38	0.04	0.03	0.02
   query39	0.02	0.02	0.01
   query40	0.15	0.13	0.13
   query41	0.07	0.02	0.01
   query42	0.03	0.02	0.02
   query43	0.02	0.02	0.02
   Total cold run time: 105.24 s
   Total hot run time: 30.27 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1900221422

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 39280 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 6968bc24f330613b10460474f9e265034f18f2e0, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	6300	5253	5420	5253
   q2	1718	144	135	135
   q3	6614	1169	1130	1130
   q4	1068	786	784	784
   q5	3192	3270	3210	3210
   q6	202	123	122	122
   q7	868	485	472	472
   q8	1890	1939	1980	1939
   q9	6374	6371	6366	6366
   q10	8378	3128	3155	3128
   q11	416	210	218	210
   q12	349	192	194	192
   q13	17761	3370	3374	3370
   q14	242	219	222	219
   q15	553	512	506	506
   q16	424	376	361	361
   q17	922	647	548	548
   q18	7742	7031	6887	6887
   q19	1528	1405	1414	1405
   q20	633	288	283	283
   q21	2733	2451	2457	2451
   q22	358	309	313	309
   Total cold run time: 70265 ms
   Total hot run time: 39280 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	5403	5326	5128	5128
   q2	321	213	210	210
   q3	3333	3252	3248	3248
   q4	2074	2083	2042	2042
   q5	6036	5939	5894	5894
   q6	197	118	117	117
   q7	2318	1898	1863	1863
   q8	3212	3387	3442	3387
   q9	8981	9127	17125	9127
   q10	3948	3898	3846	3846
   q11	583	462	454	454
   q12	857	644	618	618
   q13	3861	3197	3175	3175
   q14	287	253	263	253
   q15	561	499	515	499
   q16	523	460	478	460
   q17	1866	1858	1853	1853
   q18	9575	10436	9425	9425
   q19	21256	1560	1521	1521
   q20	4376	1936	1925	1925
   q21	14640	5460	5417	5417
   q22	966	540	568	540
   Total cold run time: 95174 ms
   Total hot run time: 61002 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903377071

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 29.91 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 264a5b33cc72550b8bb588a49f970115aef52fed, data reload: false
   
   query1	0.03	0.03	0.02
   query2	0.06	0.02	0.02
   query3	0.22	0.06	0.05
   query4	1.67	0.07	0.07
   query5	0.55	0.53	0.53
   query6	1.28	0.62	0.63
   query7	0.02	0.02	0.01
   query8	0.04	0.03	0.03
   query9	0.54	0.48	0.49
   query10	0.57	0.56	0.55
   query11	0.12	0.09	0.09
   query12	0.11	0.09	0.09
   query13	0.60	0.61	0.62
   query14	0.80	0.81	0.81
   query15	0.78	0.76	0.77
   query16	0.37	0.36	0.39
   query17	0.97	0.99	1.03
   query18	0.25	0.25	0.26
   query19	1.86	1.76	1.77
   query20	0.01	0.01	0.01
   query21	15.40	0.57	0.55
   query22	2.62	2.23	1.63
   query23	17.40	0.87	0.81
   query24	2.51	0.30	0.88
   query25	0.32	0.28	0.10
   query26	0.52	0.14	0.14
   query27	0.07	0.04	0.06
   query28	12.33	0.76	0.75
   query29	12.55	3.15	3.18
   query30	0.55	0.49	0.46
   query31	2.77	0.34	0.34
   query32	3.36	0.47	0.47
   query33	3.26	3.22	3.25
   query34	16.05	4.32	4.30
   query35	4.30	4.41	4.24
   query36	1.12	1.06	1.09
   query37	0.07	0.05	0.05
   query38	0.03	0.03	0.03
   query39	0.02	0.02	0.01
   query40	0.16	0.12	0.14
   query41	0.07	0.01	0.02
   query42	0.02	0.01	0.02
   query43	0.03	0.01	0.02
   Total cold run time: 106.38 s
   Total hot run time: 29.91 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903759945

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 39321 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 642ecc6602139fc581612c90c906337bcf182858, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	18286	5602	5774	5602
   q2	2226	159	135	135
   q3	11550	1199	1191	1191
   q4	10822	760	789	760
   q5	7888	3206	3208	3206
   q6	209	120	122	120
   q7	871	514	506	506
   q8	9666	1930	1971	1930
   q9	7292	6369	6347	6347
   q10	8232	3088	3019	3019
   q11	424	218	208	208
   q12	361	192	193	192
   q13	17985	3382	3333	3333
   q14	244	217	208	208
   q15	555	498	530	498
   q16	424	374	405	374
   q17	949	555	470	470
   q18	7512	6805	6830	6805
   q19	1545	1407	1394	1394
   q20	572	333	288	288
   q21	2786	2434	2458	2434
   q22	380	308	301	301
   Total cold run time: 110779 ms
   Total hot run time: 39321 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	5483	5365	5320	5320
   q2	327	229	212	212
   q3	3373	3248	3252	3248
   q4	2066	2051	2049	2049
   q5	5916	5961	5906	5906
   q6	197	116	117	116
   q7	2333	1887	1885	1885
   q8	3239	3387	3409	3387
   q9	9002	8850	9000	8850
   q10	4012	3822	3867	3822
   q11	550	447	449	447
   q12	844	641	613	613
   q13	16920	3185	3189	3185
   q14	286	277	270	270
   q15	574	496	504	496
   q16	512	474	458	458
   q17	2815	1767	1835	1767
   q18	9546	10323	9830	9830
   q19	22713	1588	1539	1539
   q20	4627	1956	1931	1931
   q21	14236	5474	5438	5438
   q22	992	559	569	559
   Total cold run time: 110563 ms
   Total hot run time: 61328 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1911295388

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on code in PR #30153:
URL: https://github.com/apache/doris/pull/30153#discussion_r1467155766


##########
be/src/vec/common/schema_util.cpp:
##########
@@ -152,13 +152,31 @@ Status cast_column(const ColumnWithTypeAndName& arg, const DataTypePtr& type, Co
     Block tmp_block {arguments};
     size_t result_column = tmp_block.columns();
     auto ctx = FunctionContext::create_context(nullptr, {}, {});
+
+    // To prevent from null info lost, we should not call function since the function framework will wrap
+    // nullable to Variant instead of the root of Variant
+    // Nullable(Array(int)) -> Variant<Nullable(Array(int))>
+    if (WhichDataType(remove_nullable(type)).is_variant_type()) {
+        // set variant root column/type to from column/type
+        auto variant = ColumnObject::create(true /*always nullable*/);
+        CHECK(arg.column->is_nullable());

Review Comment:
   all the subcolumns are stored in nullable



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1911336103

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 31 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 8f8f138fb8102a079ec5f6518d8e467ebbe6588a, data reload: false
   
   query1	0.03	0.03	0.02
   query2	0.05	0.02	0.02
   query3	0.23	0.04	0.04
   query4	1.71	0.07	0.07
   query5	0.54	0.52	0.52
   query6	1.29	0.62	0.63
   query7	0.02	0.01	0.01
   query8	0.03	0.03	0.03
   query9	0.54	0.48	0.49
   query10	0.55	0.56	0.54
   query11	0.11	0.09	0.08
   query12	0.10	0.10	0.09
   query13	0.61	0.62	0.60
   query14	0.78	0.80	0.82
   query15	0.79	0.77	0.76
   query16	0.38	0.38	0.38
   query17	1.02	0.97	1.00
   query18	0.24	0.25	0.24
   query19	1.76	1.79	1.82
   query20	0.01	0.01	0.01
   query21	15.40	0.60	0.58
   query22	2.38	2.10	1.55
   query23	17.70	0.72	0.72
   query24	2.32	1.67	1.38
   query25	0.52	0.31	0.07
   query26	0.63	0.13	0.14
   query27	0.07	0.06	0.05
   query28	10.96	0.79	0.77
   query29	12.52	3.18	3.29
   query30	0.59	0.59	0.49
   query31	2.77	0.35	0.35
   query32	3.38	0.48	0.49
   query33	3.22	3.25	3.23
   query34	15.69	4.35	4.33
   query35	4.32	4.34	4.30
   query36	1.12	1.08	1.07
   query37	0.07	0.05	0.05
   query38	0.03	0.03	0.03
   query39	0.02	0.01	0.02
   query40	0.16	0.13	0.12
   query41	0.08	0.01	0.02
   query42	0.03	0.01	0.01
   query43	0.03	0.02	0.02
   Total cold run time: 104.8 s
   Total hot run time: 31 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "xiaokang (via GitHub)" <gi...@apache.org>.
xiaokang commented on code in PR #30153:
URL: https://github.com/apache/doris/pull/30153#discussion_r1467119275


##########
be/src/vec/common/schema_util.cpp:
##########
@@ -152,13 +152,31 @@ Status cast_column(const ColumnWithTypeAndName& arg, const DataTypePtr& type, Co
     Block tmp_block {arguments};
     size_t result_column = tmp_block.columns();
     auto ctx = FunctionContext::create_context(nullptr, {}, {});
+
+    // To prevent from null info lost, we should not call function since the function framework will wrap
+    // nullable to Variant instead of the root of Variant
+    // Nullable(Array(int)) -> Variant<Nullable(Array(int))>

Review Comment:
   Is this example right or wrong? Can you write both a right and a wrong example in comment?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1900235564

   TeamCity be ut coverage result:
    Function Coverage: 36.73% (8655/23567) 
    Line Coverage: 28.76% (70681/245760)
    Region Coverage: 27.64% (36446/131879)
    Branch Coverage: 24.36% (18656/76572)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/6968bc24f330613b10460474f9e265034f18f2e0_6968bc24f330613b10460474f9e265034f18f2e0/report/index.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1902923496

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903005984

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 39322 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 4c8c0a6765110f5e6ca3a2d878c78392222bda30, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	20093	5457	5516	5457
   q2	2672	154	153	153
   q3	11031	1170	1158	1158
   q4	10226	810	827	810
   q5	7748	3185	3196	3185
   q6	200	124	121	121
   q7	852	506	482	482
   q8	9281	1951	1955	1951
   q9	7337	6377	6390	6377
   q10	8195	3032	3048	3032
   q11	422	209	202	202
   q12	360	196	192	192
   q13	17977	3358	3373	3358
   q14	257	208	215	208
   q15	545	511	505	505
   q16	449	385	373	373
   q17	944	593	528	528
   q18	7633	6868	6863	6863
   q19	1561	1401	1399	1399
   q20	577	298	312	298
   q21	2780	2362	2456	2362
   q22	368	308	318	308
   Total cold run time: 111508 ms
   Total hot run time: 39322 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	5575	5199	5502	5199
   q2	328	218	214	214
   q3	3366	3259	3254	3254
   q4	2064	2101	2036	2036
   q5	6089	5993	5981	5981
   q6	205	121	120	120
   q7	2262	1893	1867	1867
   q8	3246	3403	3412	3403
   q9	8983	9052	8769	8769
   q10	3978	3787	3900	3787
   q11	551	452	459	452
   q12	830	615	630	615
   q13	16919	3163	3161	3161
   q14	273	261	263	261
   q15	576	507	511	507
   q16	541	468	490	468
   q17	1910	1885	1831	1831
   q18	9619	19973	9631	9631
   q19	23786	1590	1533	1533
   q20	4615	1944	1948	1944
   q21	14447	5426	5443	5426
   q22	980	586	517	517
   Total cold run time: 111143 ms
   Total hot run time: 60976 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1900239151

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 177312 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 6968bc24f330613b10460474f9e265034f18f2e0, data reload: false
   
   query1	932	332	330	330
   query2	6585	1923	2062	1923
   query3	6702	203	202	202
   query4	30067	22359	22226	22226
   query5	6897	530	532	530
   query6	248	175	155	155
   query7	4609	269	258	258
   query8	220	179	172	172
   query9	8388	2578	2548	2548
   query10	424	226	245	226
   query11	16682	15567	15513	15513
   query12	120	68	66	66
   query13	1668	379	370	370
   query14	10583	6969	6920	6920
   query15	206	175	183	175
   query16	4607	236	232	232
   query17	987	479	475	475
   query18	1795	282	252	252
   query19	184	138	136	136
   query20	70	70	71	70
   query21	189	130	125	125
   query22	5227	4943	4976	4943
   query23	32088	30742	30725	30725
   query24	6730	2808	2828	2808
   query25	411	321	311	311
   query26	717	144	146	144
   query27	2266	269	272	269
   query28	3838	1842	1824	1824
   query29	920	627	618	618
   query30	197	142	142	142
   query31	920	735	767	735
   query32	63	57	50	50
   query33	414	220	217	217
   query34	824	460	458	458
   query35	918	794	767	767
   query36	1292	1190	1192	1190
   query37	91	62	59	59
   query38	3341	3240	3251	3240
   query39	1323	1255	1259	1255
   query40	196	87	82	82
   query41	37	36	35	35
   query42	103	78	86	78
   query43	532	504	463	463
   query44	1039	688	689	688
   query45	186	174	178	174
   query46	1040	655	662	655
   query47	1627	1564	1573	1564
   query48	407	311	318	311
   query49	620	301	288	288
   query50	684	314	320	314
   query51	5320	5223	5200	5200
   query52	90	84	84	84
   query53	326	266	266	266
   query54	435	293	296	293
   query55	78	73	73	73
   query56	180	180	184	180
   query57	975	909	931	909
   query58	182	163	160	160
   query59	2973	2807	2777	2777
   query60	209	191	191	191
   query61	81	82	81	81
   query62	438	364	367	364
   query63	284	256	269	256
   query64	2601	1827	1730	1730
   query65	3344	3236	3235	3235
   query66	1045	317	310	310
   query67	15687	15189	15163	15163
   query68	10425	532	496	496
   query69	599	306	303	303
   query70	1568	1486	1490	1486
   query71	485	211	213	211
   query72	4603	2834	2802	2802
   query73	1949	316	317	316
   query74	7386	6306	6396	6306
   query75	4611	2339	2332	2332
   query76	6208	1017	1026	1017
   query77	661	232	241	232
   query78	9510	8935	8700	8700
   query79	1011	500	508	500
   query80	561	325	317	317
   query81	477	204	200	200
   query82	175	83	76	76
   query83	142	122	123	122
   query84	277	72	69	69
   query85	952	331	333	331
   query86	391	398	363	363
   query87	3506	3329	3368	3329
   query88	2735	2187	2199	2187
   query89	432	366	340	340
   query90	2249	191	191	191
   query91	153	127	123	123
   query92	55	48	42	42
   query93	962	451	412	412
   query94	1286	166	159	159
   query95	508	456	444	444
   query96	616	325	329	325
   query97	4273	4130	4162	4130
   query98	199	188	181	181
   query99	1137	687	692	687
   Total cold run time: 274564 ms
   Total hot run time: 177312 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1902913040

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903000853

   TeamCity be ut coverage result:
    Function Coverage: 36.71% (8657/23582) 
    Line Coverage: 28.76% (70685/245816)
    Region Coverage: 27.64% (36456/131908)
    Branch Coverage: 24.36% (18654/76592)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/4c8c0a6765110f5e6ca3a2d878c78392222bda30_4c8c0a6765110f5e6ca3a2d878c78392222bda30/report/index.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903778837

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 176784 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 642ecc6602139fc581612c90c906337bcf182858, data reload: false
   
   query1	937	332	328	328
   query2	6549	2180	1952	1952
   query3	6699	208	200	200
   query4	30717	22282	22279	22279
   query5	4450	372	440	372
   query6	234	163	157	157
   query7	4611	260	258	258
   query8	217	171	178	171
   query9	8372	2524	2526	2524
   query10	412	235	210	210
   query11	16875	15599	15547	15547
   query12	117	69	65	65
   query13	1681	379	381	379
   query14	10491	6907	7000	6907
   query15	218	180	182	180
   query16	5798	256	253	253
   query17	947	480	467	467
   query18	1790	253	259	253
   query19	176	136	132	132
   query20	72	72	69	69
   query21	197	132	132	132
   query22	4914	4768	4712	4712
   query23	31560	30862	30945	30862
   query24	12577	2838	2808	2808
   query25	570	322	320	320
   query26	1815	151	139	139
   query27	3215	285	286	285
   query28	7418	1838	1809	1809
   query29	2163	620	608	608
   query30	288	139	137	137
   query31	944	740	766	740
   query32	77	51	49	49
   query33	709	213	217	213
   query34	1153	452	470	452
   query35	881	775	796	775
   query36	1326	1220	1233	1220
   query37	90	55	60	55
   query38	3357	3266	3235	3235
   query39	1303	1293	1286	1286
   query40	349	86	80	80
   query41	43	36	35	35
   query42	90	82	83	82
   query43	536	448	458	448
   query44	1092	684	680	680
   query45	191	179	177	177
   query46	1080	641	664	641
   query47	1672	1573	1610	1573
   query48	398	320	306	306
   query49	1210	288	281	281
   query50	687	310	323	310
   query51	5365	5115	5189	5115
   query52	90	82	83	82
   query53	313	258	255	255
   query54	235	175	188	175
   query55	80	74	78	74
   query56	170	169	167	167
   query57	1032	944	929	929
   query58	194	159	152	152
   query59	2940	2787	2755	2755
   query60	215	178	184	178
   query61	81	89	84	84
   query62	608	355	373	355
   query63	281	259	264	259
   query64	6120	1777	1759	1759
   query65	3332	3260	3256	3256
   query66	1444	318	321	318
   query67	15906	15350	15112	15112
   query68	13881	545	503	503
   query69	631	299	296	296
   query70	2277	1424	1484	1424
   query71	559	212	210	210
   query72	4927	2847	2847	2847
   query73	3650	316	319	316
   query74	7734	6463	6487	6463
   query75	5250	2340	2267	2267
   query76	6745	994	1033	994
   query77	929	231	239	231
   query78	9912	8805	8503	8503
   query79	2554	487	508	487
   query80	640	324	315	315
   query81	456	206	198	198
   query82	200	82	76	76
   query83	189	117	118	117
   query84	271	68	73	68
   query85	1097	340	335	335
   query86	390	414	370	370
   query87	3570	3297	3318	3297
   query88	3073	2202	2207	2202
   query89	440	358	345	345
   query90	2187	182	185	182
   query91	157	129	139	129
   query92	51	41	43	41
   query93	1314	456	424	424
   query94	1356	159	157	157
   query95	488	458	444	444
   query96	624	323	316	316
   query97	4282	4175	4168	4168
   query98	216	201	199	199
   query99	1017	708	682	682
   Total cold run time: 302741 ms
   Total hot run time: 176784 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1911332802

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 186438 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 8f8f138fb8102a079ec5f6518d8e467ebbe6588a, data reload: false
   
   query1	932	332	322	322
   query2	6579	1895	1926	1895
   query3	6695	202	200	200
   query4	32027	22380	22218	22218
   query5	4453	377	360	360
   query6	232	162	150	150
   query7	4610	262	265	262
   query8	231	180	197	180
   query9	8372	2624	2621	2621
   query10	417	240	210	210
   query11	16859	15750	15484	15484
   query12	120	66	64	64
   query13	1694	378	371	371
   query14	10537	7053	7031	7031
   query15	216	187	191	187
   query16	5793	258	263	258
   query17	936	473	467	467
   query18	1807	252	248	248
   query19	174	131	135	131
   query20	74	72	68	68
   query21	177	137	124	124
   query22	4926	4811	4727	4727
   query23	31880	30933	30689	30689
   query24	11893	2867	2841	2841
   query25	566	324	307	307
   query26	1583	143	145	143
   query27	3201	285	285	285
   query28	7159	1833	1826	1826
   query29	1339	636	617	617
   query30	281	133	138	133
   query31	958	748	764	748
   query32	73	47	47	47
   query33	690	204	206	204
   query34	1155	466	476	466
   query35	868	793	814	793
   query36	1340	1229	1163	1163
   query37	93	61	59	59
   query38	3374	3232	3194	3194
   query39	1298	1269	1264	1264
   query40	206	90	89	89
   query41	38	35	35	35
   query42	97	78	86	78
   query43	502	463	463	463
   query44	1115	694	697	694
   query45	203	177	175	175
   query46	1074	651	671	651
   query47	1635	1531	1609	1531
   query48	407	311	321	311
   query49	1129	297	280	280
   query50	691	305	316	305
   query51	5361	5209	5239	5209
   query52	96	73	82	73
   query53	342	263	259	259
   query54	242	179	186	179
   query55	85	82	77	77
   query56	173	164	166	164
   query57	1028	922	922	922
   query58	175	149	151	149
   query59	2837	2734	2684	2684
   query60	198	184	182	182
   query61	85	80	82	80
   query62	606	386	371	371
   query63	278	261	264	261
   query64	4945	1782	1767	1767
   query65	3331	3259	3227	3227
   query66	1235	314	312	312
   query67	15609	15014	15091	15014
   query68	12361	543	519	519
   query69	605	292	297	292
   query70	1669	1425	1431	1425
   query71	10436	10200	10199	10199
   query72	4990	2858	2818	2818
   query73	2869	318	324	318
   query74	6895	6363	6337	6337
   query75	4885	2323	2277	2277
   query76	6286	1075	1025	1025
   query77	647	224	227	224
   query78	9703	8833	8591	8591
   query79	1021	496	492	492
   query80	534	318	316	316
   query81	469	203	198	198
   query82	200	81	81	81
   query83	156	119	115	115
   query84	275	67	68	67
   query85	1064	325	324	324
   query86	384	372	398	372
   query87	3498	3333	3320	3320
   query88	2943	2183	2203	2183
   query89	422	358	338	338
   query90	1937	192	190	190
   query91	154	122	131	122
   query92	52	45	43	43
   query93	1601	452	450	450
   query94	1212	158	157	157
   query95	503	469	446	446
   query96	619	315	316	315
   query97	4252	4148	4170	4148
   query98	209	199	182	182
   query99	1051	655	693	655
   Total cold run time: 303237 ms
   Total hot run time: 186438 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1911337817

   
   Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Load test result on commit 8f8f138fb8102a079ec5f6518d8e467ebbe6588a with default session variables
   Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
   Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
   Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
   Insert into select:       13.6 seconds inserted 10000000 Rows, about 735K ops/s
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1911351326

   PR approved by anyone and no changes requested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1900193509

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1900255545

   
   Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Load test result on commit 6968bc24f330613b10460474f9e265034f18f2e0 with default session variables
   Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
   Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
   Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
   Insert into select:       13.5 seconds inserted 10000000 Rows, about 740K ops/s
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903057436

   
   Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Load test result on commit 4c8c0a6765110f5e6ca3a2d878c78392222bda30 with default session variables
   Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
   Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
   Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
   Insert into select:       14.7 seconds inserted 10000000 Rows, about 680K ops/s
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on code in PR #30153:
URL: https://github.com/apache/doris/pull/30153#discussion_r1467157820


##########
be/src/vec/common/schema_util.cpp:
##########
@@ -152,13 +152,31 @@ Status cast_column(const ColumnWithTypeAndName& arg, const DataTypePtr& type, Co
     Block tmp_block {arguments};
     size_t result_column = tmp_block.columns();
     auto ctx = FunctionContext::create_context(nullptr, {}, {});
+
+    // To prevent from null info lost, we should not call function since the function framework will wrap
+    // nullable to Variant instead of the root of Variant
+    // Nullable(Array(int)) -> Variant<Nullable(Array(int))>

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903792281

   
   Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Load test result on commit 642ecc6602139fc581612c90c906337bcf182858 with default session variables
   Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
   Stream load orc:          60 seconds loaded 1101869774 Bytes, about 17 MB/s
   Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
   Insert into select:       13.4 seconds inserted 10000000 Rows, about 746K ops/s
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903787407

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 30.11 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 642ecc6602139fc581612c90c906337bcf182858, data reload: false
   
   query1	0.04	0.02	0.02
   query2	0.06	0.02	0.03
   query3	0.23	0.06	0.05
   query4	1.70	0.07	0.06
   query5	0.54	0.53	0.52
   query6	1.28	0.63	0.64
   query7	0.02	0.02	0.01
   query8	0.04	0.03	0.03
   query9	0.56	0.50	0.51
   query10	0.54	0.56	0.58
   query11	0.11	0.09	0.09
   query12	0.11	0.10	0.09
   query13	0.61	0.60	0.61
   query14	0.77	0.80	0.78
   query15	0.80	0.78	0.77
   query16	0.37	0.38	0.36
   query17	0.99	1.01	1.00
   query18	0.22	0.27	0.26
   query19	1.88	1.78	1.70
   query20	0.01	0.00	0.01
   query21	15.40	0.57	0.57
   query22	2.29	2.55	1.78
   query23	17.02	0.83	0.78
   query24	2.79	1.35	0.38
   query25	0.31	0.19	0.12
   query26	0.59	0.13	0.13
   query27	0.06	0.05	0.06
   query28	11.56	0.77	0.76
   query29	12.54	3.16	3.24
   query30	0.53	0.50	0.45
   query31	2.77	0.35	0.35
   query32	3.38	0.48	0.49
   query33	3.24	3.24	3.25
   query34	15.75	4.21	4.29
   query35	4.35	4.28	4.29
   query36	1.11	1.07	1.06
   query37	0.07	0.05	0.05
   query38	0.04	0.03	0.03
   query39	0.02	0.02	0.01
   query40	0.16	0.13	0.14
   query41	0.07	0.01	0.02
   query42	0.03	0.01	0.02
   query43	0.02	0.02	0.02
   Total cold run time: 104.98 s
   Total hot run time: 30.11 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Fix](Variant) fix variant lost null info after `cast_column` [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30153:
URL: https://github.com/apache/doris/pull/30153#issuecomment-1903755719

   TeamCity be ut coverage result:
    Function Coverage: 36.69% (8662/23608) 
    Line Coverage: 28.74% (70722/246100)
    Region Coverage: 27.61% (36451/132013)
    Branch Coverage: 24.34% (18650/76618)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/642ecc6602139fc581612c90c906337bcf182858_642ecc6602139fc581612c90c906337bcf182858/report/index.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org