Skip to content

Conversation

@wumeibanfa
Copy link
Contributor

@wumeibanfa wumeibanfa commented Oct 25, 2025

What problem does this PR solve?

add is_uuid, uuid_short

Issue Number: #48203

Related PR: #xxx

Problem Summary:

mysql> select uuid_short();
+---------------------+
| uuid_short()        |
+---------------------+
| 6968613200635887616 |
+---------------------+
1 row in set (0.35 sec)

mysql> select uuid_short();
+---------------------+
| uuid_short()        |
+---------------------+
| 6968613200635887617 |
+---------------------+
1 row in set (0.15 sec)

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@Thearas
Copy link
Contributor

Thearas commented Oct 25, 2025

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

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@wumeibanfa
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TPC-DS: Total hot run time: 190771 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 8564ba040da9d07cf042cab993ded39ddfbc2e40, data reload: false

query1	1091	435	403	403
query2	6567	1698	1727	1698
query3	6768	225	226	225
query4	26693	23987	23494	23494
query5	4890	649	493	493
query6	370	251	235	235
query7	4671	504	308	308
query8	323	290	277	277
query9	8697	2604	2611	2604
query10	519	364	291	291
query11	15755	15100	14951	14951
query12	203	124	119	119
query13	1699	570	454	454
query14	12234	9557	9413	9413
query15	252	190	193	190
query16	7931	779	592	592
query17	1699	889	667	667
query18	2160	443	344	344
query19	337	221	189	189
query20	145	129	138	129
query21	211	135	119	119
query22	4648	4600	4469	4469
query23	34562	34238	33747	33747
query24	8441	2547	2531	2531
query25	594	719	495	495
query26	1640	286	163	163
query27	2798	531	359	359
query28	4476	2233	2228	2228
query29	806	662	530	530
query30	317	238	211	211
query31	955	860	757	757
query32	88	75	73	73
query33	594	397	323	323
query34	826	855	521	521
query35	802	853	732	732
query36	938	1018	936	936
query37	124	120	79	79
query38	3583	3559	3560	3559
query39	1474	1408	1424	1408
query40	225	132	115	115
query41	60	57	60	57
query42	123	113	117	113
query43	499	509	479	479
query44	1220	750	744	744
query45	186	189	178	178
query46	890	1007	640	640
query47	1741	1794	1696	1696
query48	408	424	329	329
query49	756	511	436	436
query50	648	698	409	409
query51	3874	3999	3895	3895
query52	122	112	106	106
query53	239	265	212	212
query54	601	593	531	531
query55	86	85	89	85
query56	315	332	301	301
query57	1159	1178	1108	1108
query58	299	279	281	279
query59	2584	2682	2603	2603
query60	355	352	333	333
query61	165	157	156	156
query62	804	744	667	667
query63	229	202	201	201
query64	4363	1164	855	855
query65	4031	3992	3964	3964
query66	1109	435	347	347
query67	15491	15207	14951	14951
query68	7964	893	601	601
query69	471	338	286	286
query70	1383	1274	1362	1274
query71	464	352	324	324
query72	5785	4973	5019	4973
query73	569	601	359	359
query74	8931	9164	8736	8736
query75	4246	3371	2860	2860
query76	3273	1161	739	739
query77	965	407	323	323
query78	9615	9874	8959	8959
query79	1413	872	625	625
query80	663	589	512	512
query81	490	256	236	236
query82	449	166	135	135
query83	285	269	250	250
query84	250	116	94	94
query85	916	482	432	432
query86	346	332	298	298
query87	3749	3780	3635	3635
query88	2999	2318	2271	2271
query89	390	329	306	306
query90	1960	232	226	226
query91	173	167	135	135
query92	89	75	64	64
query93	1108	981	659	659
query94	708	436	338	338
query95	397	323	335	323
query96	488	573	289	289
query97	2966	2959	2904	2904
query98	253	215	213	213
query99	1483	1414	1286	1286
Total cold run time: 278704 ms
Total hot run time: 190771 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.05
query2	0.10	0.06	0.06
query3	0.26	0.08	0.08
query4	1.60	0.12	0.13
query5	0.27	0.26	0.26
query6	1.17	0.66	0.66
query7	0.03	0.03	0.03
query8	0.06	0.04	0.05
query9	0.62	0.52	0.52
query10	0.60	0.57	0.58
query11	0.17	0.12	0.11
query12	0.16	0.12	0.12
query13	0.63	0.61	0.60
query14	1.00	1.02	1.00
query15	0.84	0.84	0.86
query16	0.40	0.42	0.41
query17	1.00	1.04	1.03
query18	0.21	0.20	0.20
query19	1.98	1.78	1.83
query20	0.02	0.01	0.01
query21	15.45	0.18	0.13
query22	5.01	0.07	0.05
query23	15.68	0.26	0.10
query24	2.31	0.80	0.49
query25	0.07	0.06	0.06
query26	0.14	0.15	0.15
query27	0.07	0.06	0.06
query28	4.08	1.14	0.94
query29	12.57	4.01	3.25
query30	0.28	0.14	0.12
query31	2.82	0.59	0.38
query32	3.23	0.55	0.47
query33	3.05	3.05	3.05
query34	15.86	5.21	4.55
query35	4.65	4.57	4.57
query36	0.67	0.51	0.49
query37	0.11	0.07	0.06
query38	0.06	0.04	0.04
query39	0.04	0.04	0.03
query40	0.18	0.15	0.14
query41	0.08	0.03	0.02
query42	0.04	0.03	0.03
query43	0.04	0.03	0.04
Total cold run time: 97.67 s
Total hot run time: 27.7 s

@wumeibanfa
Copy link
Contributor Author

run beut

@zclllyybb zclllyybb self-assigned this Oct 25, 2025
@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 66.67% (36/54) 🎉
Increment coverage report
Complete coverage report

@zclllyybb
Copy link
Contributor

temporarily not support

@zclllyybb zclllyybb closed this Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants