You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "csun5285 (via GitHub)" <gi...@apache.org> on 2026/05/22 06:09:52 UTC

[PR] [fix](variant) preserve TIMESTAMPTZ values in sparse path [doris]

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

   
   Add the missing write_one_cell_to_binary override mirroring DataTypeDateTimeV2SerDe so the writer also emits the scale byte. Reader is already correct.
   
   
   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #xxx
   
   Problem Summary:
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [ ] No.
       - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
   
   


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   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) preserve TIMESTAMPTZ values in sparse path [doris]

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


##########
be/src/core/data_type_serde/data_type_timestamptz_serde.cpp:
##########
@@ -250,4 +250,21 @@ std::string DataTypeTimeStampTzSerDe::to_olap_string(const Field& field) const {
     return CastToString::from_timestamptz(field.get<TYPE_TIMESTAMPTZ>(), 6);
 }
 
+void DataTypeTimeStampTzSerDe::write_one_cell_to_binary(const IColumn& src_column,
+                                                        ColumnString::Chars& chars,
+                                                        int64_t row_num) const {
+    const auto type = static_cast<uint8_t>(FieldType::OLAP_FIELD_TYPE_TIMESTAMPTZ);
+    const auto& data_ref = assert_cast<const ColumnTimeStampTz&>(src_column).get_data_at(row_num);
+    const auto sc = static_cast<uint8_t>(_scale);
+
+    const size_t old_size = chars.size();
+    const size_t new_size = old_size + sizeof(uint8_t) + sizeof(uint8_t) + data_ref.size;

Review Comment:
   no problem,旧的写入格式是错的,不需要兼容。



-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   
   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
   
   Please clearly describe your PR:
   1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
   2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
   3. What features were added. Why was this function added?
   4. Which code was refactored and why was this part of the code refactored?
   5. Which functions were optimized and what is the difference before and after the optimization?
       


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 169416 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 807ea93d508aa0cc3842a48ffe84893a4a26fab5, data reload: false
   
   query5	4333	656	515	515
   query6	328	217	201	201
   query7	4226	589	295	295
   query8	328	234	221	221
   query9	8853	3964	3975	3964
   query10	451	345	300	300
   query11	5793	2381	2181	2181
   query12	181	126	122	122
   query13	1277	598	416	416
   query14	5968	5360	5028	5028
   query14_1	4342	4340	4314	4314
   query15	216	206	185	185
   query16	1041	459	428	428
   query17	935	739	590	590
   query18	2437	494	374	374
   query19	233	215	169	169
   query20	136	132	132	132
   query21	219	139	121	121
   query22	13627	13558	13335	13335
   query23	17281	16301	16029	16029
   query23_1	16115	16277	16234	16234
   query24	7552	1789	1308	1308
   query24_1	1308	1307	1322	1307
   query25	582	505	443	443
   query26	1318	314	172	172
   query27	2743	556	341	341
   query28	4540	1958	1954	1954
   query29	991	640	522	522
   query30	307	244	204	204
   query31	1124	1062	933	933
   query32	90	78	76	76
   query33	562	362	310	310
   query34	1209	1171	659	659
   query35	760	784	675	675
   query36	1357	1338	1271	1271
   query37	156	113	91	91
   query38	3206	3148	3037	3037
   query39	941	921	898	898
   query39_1	885	882	868	868
   query40	233	148	129	129
   query41	74	70	67	67
   query42	114	121	114	114
   query43	326	323	287	287
   query44	
   query45	214	204	200	200
   query46	1062	1220	734	734
   query47	2315	2377	2226	2226
   query48	412	402	314	314
   query49	651	530	376	376
   query50	977	338	250	250
   query51	4379	4328	4199	4199
   query52	102	103	93	93
   query53	252	272	204	204
   query54	318	276	263	263
   query55	91	86	86	86
   query56	286	334	295	295
   query57	1439	1407	1330	1330
   query58	288	270	267	267
   query59	1558	1672	1412	1412
   query60	320	311	318	311
   query61	165	161	164	161
   query62	666	632	551	551
   query63	253	198	204	198
   query64	2415	800	640	640
   query65	
   query66	1718	487	355	355
   query67	30076	29951	29843	29843
   query68	
   query69	472	342	308	308
   query70	1032	999	977	977
   query71	301	271	269	269
   query72	3041	2780	2432	2432
   query73	819	763	419	419
   query74	5061	4949	4732	4732
   query75	2678	2598	2264	2264
   query76	2307	1115	757	757
   query77	397	423	341	341
   query78	12298	12068	11637	11637
   query79	1434	1083	729	729
   query80	668	550	457	457
   query81	458	275	242	242
   query82	1367	156	122	122
   query83	355	274	247	247
   query84	312	140	113	113
   query85	900	551	446	446
   query86	401	334	305	305
   query87	3413	3428	3221	3221
   query88	3520	2648	2657	2648
   query89	433	387	334	334
   query90	1987	187	182	182
   query91	178	172	141	141
   query92	77	73	72	72
   query93	1495	1429	818	818
   query94	557	357	305	305
   query95	662	472	357	357
   query96	1047	795	333	333
   query97	2703	2693	2572	2572
   query98	231	225	231	225
   query99	1137	1091	986	986
   Total cold run time: 253396 ms
   Total hot run time: 169416 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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   # FE Regression Coverage Report
   Increment line coverage `  0.00% (0/37)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63522_dabb7ed4f438dd532473add0d6b86ccaa747549c_merge_fe/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63522_dabb7ed4f438dd532473add0d6b86ccaa747549c_merge_fe/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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 32283 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 dabb7ed4f438dd532473add0d6b86ccaa747549c, data reload: false
   
   ------ Round 1 ----------------------------------
   orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	17747	4155	4182	4155
   q2	q3	10769	1438	821	821
   q4	4688	480	340	340
   q5	7612	2290	2200	2200
   q6	251	186	140	140
   q7	964	811	647	647
   q8	9391	1663	1740	1663
   q9	5205	4999	4940	4940
   q10	6390	2185	1893	1893
   q11	432	270	242	242
   q12	626	427	299	299
   q13	18077	3380	2744	2744
   q14	262	259	245	245
   q15	q16	816	760	710	710
   q17	897	994	974	974
   q18	7139	5672	5680	5672
   q19	1293	1323	1185	1185
   q20	617	470	299	299
   q21	6300	2901	2786	2786
   q22	457	381	328	328
   Total cold run time: 99933 ms
   Total hot run time: 32283 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	5006	4917	4859	4859
   q2	q3	4950	5291	4618	4618
   q4	2164	2208	1396	1396
   q5	5116	4768	4729	4729
   q6	240	186	139	139
   q7	1934	1752	1557	1557
   q8	2452	2138	2401	2138
   q9	7917	7428	7519	7428
   q10	4729	4707	4216	4216
   q11	546	378	350	350
   q12	740	737	519	519
   q13	3085	3406	2818	2818
   q14	265	276	258	258
   q15	q16	684	699	608	608
   q17	1296	1246	1256	1246
   q18	7522	6740	6816	6740
   q19	1126	1088	1142	1088
   q20	2245	2211	1957	1957
   q21	5345	4743	4447	4447
   q22	533	461	438	438
   Total cold run time: 57895 ms
   Total hot run time: 51549 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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   # BE Regression && UT Coverage Report
   Increment line coverage `100.00% (13/13)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63522_807ea93d508aa0cc3842a48ffe84893a4a26fab5_merge/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63522_807ea93d508aa0cc3842a48ffe84893a4a26fab5_merge/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 73.75% (27940/37884) |
   | Line Coverage     | 57.64% (303425/526432) |
   | Region Coverage   | 54.72% (253524/463337) |
   | Branch Coverage   | 56.31% (109709/194821) |


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   /review


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   # BE Regression && UT Coverage Report
   Increment line coverage `100.00% (13/13)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63522_dabb7ed4f438dd532473add0d6b86ccaa747549c_merge/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63522_dabb7ed4f438dd532473add0d6b86ccaa747549c_merge/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 73.79% (28063/38029) |
   | Line Coverage     | 57.73% (304745/527864) |
   | Region Coverage   | 54.85% (254931/464756) |
   | Branch Coverage   | 56.39% (110150/195345) |


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 32037 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 dabb7ed4f438dd532473add0d6b86ccaa747549c, data reload: false
   
   ------ Round 1 ----------------------------------
   orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	17627	4153	4021	4021
   q2	q3	10769	1438	844	844
   q4	4689	488	343	343
   q5	7593	2364	2168	2168
   q6	245	195	144	144
   q7	997	800	651	651
   q8	9364	1714	1647	1647
   q9	5230	4962	4987	4962
   q10	6414	2204	1880	1880
   q11	451	276	253	253
   q12	699	444	297	297
   q13	18191	3503	2857	2857
   q14	273	262	234	234
   q15	q16	820	794	713	713
   q17	998	986	873	873
   q18	7239	5751	5616	5616
   q19	1311	1388	1218	1218
   q20	599	453	298	298
   q21	6203	2900	2692	2692
   q22	466	371	326	326
   Total cold run time: 100178 ms
   Total hot run time: 32037 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	5053	4849	4969	4849
   q2	q3	4955	5300	4578	4578
   q4	2104	2188	1398	1398
   q5	4944	4714	4697	4697
   q6	243	187	133	133
   q7	1878	1781	1627	1627
   q8	2463	2234	2136	2136
   q9	7961	7475	7443	7443
   q10	4778	4718	4231	4231
   q11	553	388	359	359
   q12	732	738	530	530
   q13	3027	3482	2807	2807
   q14	275	292	253	253
   q15	q16	700	733	608	608
   q17	1337	1285	1258	1258
   q18	7345	6881	6759	6759
   q19	1101	1122	1105	1105
   q20	2233	2224	1960	1960
   q21	5311	4647	4483	4483
   q22	516	465	409	409
   Total cold run time: 57509 ms
   Total hot run time: 51623 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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 172032 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 fa73d0acd509c322afd441e2635b1a4ea3c7ca1b, data reload: false
   
   query5	4313	652	522	522
   query6	324	221	193	193
   query7	4261	589	325	325
   query8	328	234	226	226
   query9	8820	4060	4090	4060
   query10	450	338	312	312
   query11	5722	2531	2287	2287
   query12	175	129	134	129
   query13	1316	599	438	438
   query14	6205	5499	5186	5186
   query14_1	4534	4536	4538	4536
   query15	215	210	189	189
   query16	1029	458	467	458
   query17	1163	781	622	622
   query18	2775	503	363	363
   query19	223	209	173	173
   query20	138	132	142	132
   query21	221	142	131	131
   query22	13666	13626	13450	13450
   query23	17479	16552	16222	16222
   query23_1	16308	16324	16447	16324
   query24	7634	1776	1310	1310
   query24_1	1323	1330	1310	1310
   query25	554	503	465	465
   query26	1308	335	179	179
   query27	2655	551	343	343
   query28	4369	1997	1993	1993
   query29	1047	648	531	531
   query30	304	244	202	202
   query31	1143	1091	973	973
   query32	91	80	74	74
   query33	551	365	308	308
   query34	1201	1162	665	665
   query35	800	793	705	705
   query36	1411	1416	1214	1214
   query37	144	104	88	88
   query38	3273	3191	3069	3069
   query39	929	920	889	889
   query39_1	878	867	863	863
   query40	220	141	124	124
   query41	65	60	62	60
   query42	110	112	104	104
   query43	331	336	293	293
   query44	
   query45	214	203	198	198
   query46	1061	1189	764	764
   query47	2345	2395	2220	2220
   query48	402	423	294	294
   query49	634	498	381	381
   query50	1009	344	253	253
   query51	4370	4330	4367	4330
   query52	106	107	94	94
   query53	251	269	199	199
   query54	321	274	262	262
   query55	93	90	85	85
   query56	312	311	309	309
   query57	1428	1436	1331	1331
   query58	310	266	270	266
   query59	1603	1657	1473	1473
   query60	326	327	306	306
   query61	155	157	156	156
   query62	698	644	593	593
   query63	236	205	213	205
   query64	2360	805	659	659
   query65	
   query66	1684	488	371	371
   query67	29269	29798	29572	29572
   query68	
   query69	461	336	305	305
   query70	1035	994	931	931
   query71	307	275	269	269
   query72	2981	2732	2434	2434
   query73	849	729	439	439
   query74	5121	4964	4803	4803
   query75	2724	2637	2289	2289
   query76	2275	1180	785	785
   query77	419	418	342	342
   query78	12322	12548	11897	11897
   query79	1468	1020	761	761
   query80	993	539	458	458
   query81	503	284	248	248
   query82	1350	159	121	121
   query83	363	292	246	246
   query84	258	145	112	112
   query85	922	551	462	462
   query86	451	343	311	311
   query87	3450	3399	3229	3229
   query88	3579	2766	2773	2766
   query89	459	391	344	344
   query90	1829	183	182	182
   query91	176	167	142	142
   query92	78	77	75	75
   query93	1442	1358	875	875
   query94	639	357	318	318
   query95	686	384	431	384
   query96	1029	866	355	355
   query97	2743	2720	2567	2567
   query98	238	238	246	238
   query99	1179	1149	1009	1009
   Total cold run time: 254512 ms
   Total hot run time: 172032 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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 171896 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 dabb7ed4f438dd532473add0d6b86ccaa747549c, data reload: false
   
   query5	4332	674	535	535
   query6	337	213	202	202
   query7	4231	611	337	337
   query8	341	258	231	231
   query9	8859	4112	4103	4103
   query10	451	363	307	307
   query11	5801	2604	2226	2226
   query12	190	130	127	127
   query13	1294	636	456	456
   query14	6097	5565	5219	5219
   query14_1	4509	4490	4479	4479
   query15	215	205	184	184
   query16	1043	460	430	430
   query17	1121	710	601	601
   query18	2506	487	376	376
   query19	210	197	161	161
   query20	137	137	128	128
   query21	217	140	120	120
   query22	13579	13641	13500	13500
   query23	17161	16626	16093	16093
   query23_1	16285	16310	16320	16310
   query24	7501	1777	1322	1322
   query24_1	1310	1295	1363	1295
   query25	552	482	424	424
   query26	1306	333	178	178
   query27	2685	570	348	348
   query28	4480	1972	1986	1972
   query29	1022	639	496	496
   query30	309	241	202	202
   query31	1125	1087	962	962
   query32	101	73	74	73
   query33	522	360	301	301
   query34	1194	1182	663	663
   query35	795	793	703	703
   query36	1383	1364	1271	1271
   query37	156	105	96	96
   query38	3226	3206	3107	3107
   query39	931	925	898	898
   query39_1	872	897	893	893
   query40	233	146	126	126
   query41	67	63	64	63
   query42	115	112	110	110
   query43	329	336	291	291
   query44	
   query45	217	207	199	199
   query46	1101	1219	730	730
   query47	2315	2300	2233	2233
   query48	429	439	311	311
   query49	650	500	391	391
   query50	1011	356	255	255
   query51	4424	4311	4233	4233
   query52	106	109	95	95
   query53	260	284	207	207
   query54	332	278	274	274
   query55	94	96	91	91
   query56	308	313	305	305
   query57	1441	1431	1348	1348
   query58	298	276	274	274
   query59	1612	1690	1477	1477
   query60	325	328	315	315
   query61	163	168	181	168
   query62	699	660	624	624
   query63	247	202	213	202
   query64	2397	792	650	650
   query65	
   query66	1708	478	360	360
   query67	30019	29136	29675	29136
   query68	
   query69	468	347	316	316
   query70	984	1021	993	993
   query71	312	278	270	270
   query72	3038	2738	2471	2471
   query73	866	773	435	435
   query74	5128	5024	4830	4830
   query75	2733	2649	2303	2303
   query76	2298	1167	821	821
   query77	432	432	354	354
   query78	12446	12458	12021	12021
   query79	1304	1067	768	768
   query80	627	582	493	493
   query81	455	291	251	251
   query82	248	167	130	130
   query83	284	294	263	263
   query84	279	150	123	123
   query85	956	625	552	552
   query86	374	342	316	316
   query87	3427	3393	3283	3283
   query88	3658	2776	2794	2776
   query89	430	410	342	342
   query90	2148	197	189	189
   query91	177	168	141	141
   query92	78	82	80	80
   query93	1436	1445	858	858
   query94	552	362	326	326
   query95	684	470	368	368
   query96	1052	825	359	359
   query97	2726	2727	2592	2592
   query98	239	232	228	228
   query99	1150	1177	1032	1032
   Total cold run time: 252812 ms
   Total hot run time: 171896 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) preserve TIMESTAMPTZ values in sparse path [doris]

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


##########
regression-test/suites/variant_p0/test_variant_timestamptz_sparse.groovy:
##########
@@ -0,0 +1,127 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+// Reproduces DORIS-25915:
+//   When VARIANT has typed paths that exceed variant_max_subcolumns_count and
+//   variant_enable_typed_paths_to_sparse=true, timestamptz values that fall to
+//   the sparse path are read back as only the timezone suffix (e.g. "+00:00")
+//   instead of the full timestamp.
+suite("test_variant_timestamptz_sparse", "p0"){
+    sql " set time_zone = '+08:00' "
+
+    def tableName = "test_variant_timestamptz_sparse_repro"

Review Comment:
   This new regression test does not follow the Doris regression-test rules in `AGENTS.md`: simple table names should be hardcoded instead of `def tableName`, deterministic checks should use `qt_*`/`.out` instead of manual `assertTrue`, and tests should not drop tables at the end (drop before use only, to preserve the environment for debugging). Please rewrite this to hardcode `test_variant_timestamptz_sparse_repro`, express the checked values through ordered `qt_*` output, and remove the final drop.



##########
be/src/core/data_type_serde/data_type_timestamptz_serde.cpp:
##########
@@ -250,4 +250,21 @@ std::string DataTypeTimeStampTzSerDe::to_olap_string(const Field& field) const {
     return CastToString::from_timestamptz(field.get<TYPE_TIMESTAMPTZ>(), 6);
 }
 
+void DataTypeTimeStampTzSerDe::write_one_cell_to_binary(const IColumn& src_column,
+                                                        ColumnString::Chars& chars,
+                                                        int64_t row_num) const {
+    const auto type = static_cast<uint8_t>(FieldType::OLAP_FIELD_TYPE_TIMESTAMPTZ);
+    const auto& data_ref = assert_cast<const ColumnTimeStampTz&>(src_column).get_data_at(row_num);
+    const auto sc = static_cast<uint8_t>(_scale);
+
+    const size_t old_size = chars.size();
+    const size_t new_size = old_size + sizeof(uint8_t) + sizeof(uint8_t) + data_ref.size;

Review Comment:
   This fixes the encoding for newly written sparse TIMESTAMPTZ values, but it also changes a persisted sparse-column value layout from the old `[type][8-byte value]` bytes to `[type][scale][8-byte value]` without any reader compatibility for rowsets already written by the old code. The variant sparse path stores these bytes in `ColumnString` (`ColumnVariant::serialize_to_binary_column` / `SparseColumnMergeIterator::_serialize_nullable_column_to_sparse`), and `ColumnVariant::deserialize_from_binary_column` later calls `DataTypeSerDe::deserialize_binary_to_field` followed by `CHECK_EQ(end - start_data, data_ref.size)`. For an existing 9-byte TIMESTAMPTZ value, the current reader consumes a scale byte plus 8 value bytes (10 bytes total), so after this change old persisted sparse values can read past the StringRef and/or trip the size check during upgrade. Please add a compatibility read path for the legacy 9-byte TIMESTAMPTZ encoding, and add a test that deserializes those old bytes.



-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   # BE Regression && UT Coverage Report
   Increment line coverage `100.00% (13/13)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63522_fa73d0acd509c322afd441e2635b1a4ea3c7ca1b_merge/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63522_fa73d0acd509c322afd441e2635b1a4ea3c7ca1b_merge/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 73.79% (28060/38029) |
   | Line Coverage     | 57.67% (304412/527864) |
   | Region Coverage   | 54.77% (254528/464756) |
   | Branch Coverage   | 56.28% (109945/195345) |


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   # BE UT Coverage Report
   Increment line coverage `100.00% (13/13)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/fa73d0acd509c322afd441e2635b1a4ea3c7ca1b_fa73d0acd509c322afd441e2635b1a4ea3c7ca1b/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/fa73d0acd509c322afd441e2635b1a4ea3c7ca1b_fa73d0acd509c322afd441e2635b1a4ea3c7ca1b/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 53.86% (20912/38829) |
   | Line Coverage     | 37.40% (197942/529220) |
   | Region Coverage   | 33.67% (154982/460333) |
   | Branch Coverage   | 34.68% (67486/194619) |


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 31308 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 807ea93d508aa0cc3842a48ffe84893a4a26fab5, data reload: false
   
   ------ Round 1 ----------------------------------
   orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	17658	3864	3868	3864
   q2	q3	10787	1393	810	810
   q4	4690	486	351	351
   q5	7610	2292	2110	2110
   q6	382	179	141	141
   q7	932	787	646	646
   q8	9574	1696	1656	1656
   q9	7040	4912	4951	4912
   q10	6446	2098	1814	1814
   q11	432	268	243	243
   q12	638	439	306	306
   q13	18123	3487	2741	2741
   q14	257	252	229	229
   q15	q16	814	781	707	707
   q17	1008	896	924	896
   q18	6897	5686	5463	5463
   q19	1174	1240	1241	1240
   q20	553	424	291	291
   q21	5898	2748	2565	2565
   q22	454	374	323	323
   Total cold run time: 101367 ms
   Total hot run time: 31308 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	4601	4526	4664	4526
   q2	q3	4827	5117	4682	4682
   q4	2186	2204	1451	1451
   q5	4877	4662	4647	4647
   q6	227	184	132	132
   q7	1884	1730	1510	1510
   q8	2296	1915	1915	1915
   q9	7259	7309	7174	7174
   q10	4499	4405	4008	4008
   q11	532	383	357	357
   q12	712	732	514	514
   q13	2995	3351	2832	2832
   q14	284	288	248	248
   q15	q16	673	697	604	604
   q17	1311	1252	1252	1252
   q18	7404	6942	6870	6870
   q19	1121	1113	1107	1107
   q20	2224	2207	1920	1920
   q21	5374	4647	4520	4520
   q22	526	475	434	434
   Total cold run time: 55812 ms
   Total hot run time: 50703 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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   need to forbit new type creation in schema template in FE


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   # BE UT Coverage Report
   Increment line coverage `100.00% (13/13)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/807ea93d508aa0cc3842a48ffe84893a4a26fab5_807ea93d508aa0cc3842a48ffe84893a4a26fab5/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/807ea93d508aa0cc3842a48ffe84893a4a26fab5_807ea93d508aa0cc3842a48ffe84893a4a26fab5/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 53.66% (20756/38678) |
   | Line Coverage     | 37.26% (196639/527778) |
   | Region Coverage   | 33.59% (154157/458908) |
   | Branch Coverage   | 34.58% (67123/194094) |


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   /review


-- 
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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   # FE UT Coverage Report
   Increment line coverage `` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63522_dabb7ed4f438dd532473add0d6b86ccaa747549c/fe_increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63522_dabb7ed4f438dd532473add0d6b86ccaa747549c/fe_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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   # FE Regression Coverage Report
   Increment line coverage `  0.00% (0/106)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63522_fa73d0acd509c322afd441e2635b1a4ea3c7ca1b_merge_fe/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63522_fa73d0acd509c322afd441e2635b1a4ea3c7ca1b_merge_fe/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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 31200 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 fa73d0acd509c322afd441e2635b1a4ea3c7ca1b, data reload: false
   
   ------ Round 1 ----------------------------------
   orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	17594	4115	3994	3994
   q2	q3	10771	1425	819	819
   q4	4686	483	358	358
   q5	7779	2285	2116	2116
   q6	255	184	135	135
   q7	976	795	651	651
   q8	9419	1717	1601	1601
   q9	5663	4993	4998	4993
   q10	6443	2232	1872	1872
   q11	446	271	243	243
   q12	672	434	299	299
   q13	18179	3407	2807	2807
   q14	269	257	232	232
   q15	q16	822	778	712	712
   q17	1005	998	917	917
   q18	7019	5630	5591	5591
   q19	1177	1172	960	960
   q20	523	407	259	259
   q21	5687	2686	2344	2344
   q22	423	351	297	297
   Total cold run time: 99808 ms
   Total hot run time: 31200 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	4322	4326	4277	4277
   q2	q3	4571	4930	4341	4341
   q4	2105	2234	1480	1480
   q5	4460	4323	4332	4323
   q6	222	271	229	229
   q7	2162	1927	1692	1692
   q8	2544	2269	2205	2205
   q9	8404	7948	8172	7948
   q10	4865	4767	4307	4307
   q11	606	431	384	384
   q12	761	754	530	530
   q13	3227	3591	2986	2986
   q14	303	308	266	266
   q15	q16	737	751	643	643
   q17	1519	1340	1325	1325
   q18	7947	7296	7384	7296
   q19	1159	1114	1103	1103
   q20	2226	2244	1968	1968
   q21	5357	4597	4470	4470
   q22	536	449	414	414
   Total cold run time: 58033 ms
   Total hot run time: 52187 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) preserve TIMESTAMPTZ values in sparse path [doris]

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

   # BE UT Coverage Report
   Increment line coverage `100.00% (13/13)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/dabb7ed4f438dd532473add0d6b86ccaa747549c_dabb7ed4f438dd532473add0d6b86ccaa747549c/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/dabb7ed4f438dd532473add0d6b86ccaa747549c_dabb7ed4f438dd532473add0d6b86ccaa747549c/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 53.86% (20912/38829) |
   | Line Coverage     | 37.41% (197961/529220) |
   | Region Coverage   | 33.69% (155080/460333) |
   | Branch Coverage   | 34.67% (67484/194619) |


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