You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "morningman (via GitHub)" <gi...@apache.org> on 2025/04/26 20:36:01 UTC
[PR] [fix](lakesoul) fix partition key parser [doris]
morningman opened a new pull request, #50441:
URL: https://github.com/apache/doris/pull/50441
### What problem does this PR solve?
The lakesoul's partition and primary key are stored as format: `part_col1,part_col2;pri_col1,pri_col2`
When there is a partitioned, non-primary key table, there is only `part_col1,part_col2;`.
So the split method should check if there is "primary key" part before visiting it.
### 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](lakesoul) fix partition key parser [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #50441:
URL: https://github.com/apache/doris/pull/50441#issuecomment-3514437413
We're closing this PR because it hasn't been updated in a while.
This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and feel free a maintainer to remove the Stale tag!
--
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](lakesoul) fix partition key parser [doris]
Posted by "Thearas (via GitHub)" <gi...@apache.org>.
Thearas commented on PR #50441:
URL: https://github.com/apache/doris/pull/50441#issuecomment-2832601883
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](lakesoul) fix partition key parser [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #50441:
URL: https://github.com/apache/doris/pull/50441#issuecomment-2832668988
<details>
<summary>TPC-DS: <b>Total hot run time: 192769 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 48193f08a9bd4b33bfd0bfc0aa2ed0f5217f221c, data reload: false
query1 1405 1083 1055 1055
query2 6195 1868 1897 1868
query3 11190 4531 4609 4531
query4 25677 23335 23003 23003
query5 3711 610 450 450
query6 297 190 193 190
query7 3993 501 273 273
query8 285 234 229 229
query9 8482 2556 2585 2556
query10 468 340 277 277
query11 15369 15024 14803 14803
query12 174 113 110 110
query13 1567 527 398 398
query14 9172 6203 6258 6203
query15 212 209 167 167
query16 7612 640 498 498
query17 1189 719 587 587
query18 2054 427 326 326
query19 212 202 170 170
query20 128 126 117 117
query21 204 133 107 107
query22 4495 4587 4352 4352
query23 34382 33598 33562 33562
query24 8633 2463 2392 2392
query25 485 503 414 414
query26 1186 275 149 149
query27 2836 508 328 328
query28 4737 2160 2150 2150
query29 691 582 451 451
query30 282 231 189 189
query31 989 907 786 786
query32 80 71 65 65
query33 565 371 358 358
query34 803 878 534 534
query35 788 828 776 776
query36 981 1013 898 898
query37 119 105 75 75
query38 4218 4226 4111 4111
query39 1522 1443 1429 1429
query40 209 121 106 106
query41 56 53 52 52
query42 128 101 111 101
query43 520 529 496 496
query44 1304 827 845 827
query45 178 179 171 171
query46 837 1022 632 632
query47 1899 1897 1822 1822
query48 388 409 299 299
query49 760 498 434 434
query50 664 702 409 409
query51 4269 4258 4232 4232
query52 103 120 99 99
query53 225 263 188 188
query54 571 580 511 511
query55 85 82 80 80
query56 290 309 303 303
query57 1198 1202 1139 1139
query58 279 272 262 262
query59 2931 2854 2843 2843
query60 346 317 305 305
query61 123 123 124 123
query62 801 730 669 669
query63 228 187 181 181
query64 4302 1038 722 722
query65 4410 4381 4378 4378
query66 1020 422 306 306
query67 15817 15673 15616 15616
query68 8589 865 511 511
query69 451 295 253 253
query70 1215 1093 1108 1093
query71 458 361 303 303
query72 5725 4641 4558 4558
query73 536 551 349 349
query74 9238 9121 8973 8973
query75 4010 3199 2670 2670
query76 3128 1178 735 735
query77 886 352 275 275
query78 10093 10214 9286 9286
query79 2024 776 565 565
query80 590 495 439 439
query81 478 253 213 213
query82 469 127 94 94
query83 244 245 230 230
query84 240 97 77 77
query85 778 348 308 308
query86 369 327 291 291
query87 4400 4454 4350 4350
query88 3825 2223 2198 2198
query89 376 330 284 284
query90 1838 210 205 205
query91 146 140 108 108
query92 72 63 63 63
query93 1930 949 652 652
query94 645 399 292 292
query95 372 284 272 272
query96 486 550 274 274
query97 3158 3211 3117 3117
query98 225 203 201 201
query99 1438 1413 1287 1287
Total cold run time: 279761 ms
Total hot run time: 192769 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](lakesoul) fix partition key parser [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #50441:
URL: https://github.com/apache/doris/pull/50441#issuecomment-2832673725
<details>
<summary>ClickBench: <b>Total hot run time: 29.55 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 48193f08a9bd4b33bfd0bfc0aa2ed0f5217f221c, data reload: false
query1 0.03 0.03 0.03
query2 0.12 0.10 0.10
query3 0.26 0.19 0.19
query4 1.59 0.19 0.20
query5 0.61 0.58 0.59
query6 1.21 0.72 0.73
query7 0.03 0.01 0.02
query8 0.04 0.03 0.04
query9 0.58 0.55 0.52
query10 0.57 0.58 0.57
query11 0.16 0.11 0.10
query12 0.14 0.11 0.11
query13 0.60 0.60 0.60
query14 1.16 1.18 1.16
query15 0.88 0.85 0.86
query16 0.38 0.39 0.40
query17 1.04 1.00 1.01
query18 0.21 0.19 0.19
query19 1.88 1.82 1.78
query20 0.01 0.01 0.02
query21 15.41 0.92 0.53
query22 0.76 1.18 0.76
query23 14.81 1.38 0.63
query24 7.26 1.25 0.77
query25 0.52 0.19 0.06
query26 0.61 0.16 0.13
query27 0.05 0.05 0.05
query28 9.41 0.85 0.46
query29 12.55 3.97 3.27
query30 0.25 0.09 0.07
query31 2.83 0.60 0.37
query32 3.23 0.53 0.47
query33 3.00 3.00 3.13
query34 15.99 5.18 4.55
query35 4.59 4.50 4.50
query36 0.67 0.50 0.48
query37 0.08 0.06 0.06
query38 0.05 0.04 0.04
query39 0.03 0.02 0.02
query40 0.17 0.14 0.13
query41 0.08 0.02 0.02
query42 0.04 0.02 0.02
query43 0.03 0.04 0.03
Total cold run time: 103.92 s
Total hot run time: 29.55 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](lakesoul) fix partition key parser [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #50441: [fix](lakesoul) fix partition key parser
URL: https://github.com/apache/doris/pull/50441
--
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](lakesoul) fix partition key parser [doris]
Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on PR #50441:
URL: https://github.com/apache/doris/pull/50441#issuecomment-2832636165
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](lakesoul) fix partition key parser [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #50441:
URL: https://github.com/apache/doris/pull/50441#issuecomment-2832658471
<details>
<summary>TPC-H: <b>Total hot run time: 33614 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 48193f08a9bd4b33bfd0bfc0aa2ed0f5217f221c, data reload: false
------ Round 1 ----------------------------------
q1 25778 4990 4969 4969
q2 2057 277 191 191
q3 10384 1216 689 689
q4 10220 1004 528 528
q5 7528 2353 2267 2267
q6 178 160 130 130
q7 920 723 588 588
q8 9300 1199 1039 1039
q9 6812 5089 5113 5089
q10 6782 2289 1880 1880
q11 463 274 267 267
q12 343 344 215 215
q13 17772 3619 3056 3056
q14 220 219 216 216
q15 529 486 487 486
q16 449 437 400 400
q17 589 844 364 364
q18 7493 7199 7043 7043
q19 1240 939 551 551
q20 340 332 227 227
q21 4210 3595 2445 2445
q22 1126 1038 974 974
Total cold run time: 114733 ms
Total hot run time: 33614 ms
----- Round 2, with runtime_filter_mode=off -----
q1 5080 5108 5098 5098
q2 234 331 231 231
q3 2252 2731 2404 2404
q4 1437 1938 1429 1429
q5 4420 4380 4388 4380
q6 207 167 129 129
q7 1979 1907 1735 1735
q8 2547 2538 2517 2517
q9 7247 7169 7105 7105
q10 2982 3151 2735 2735
q11 578 511 487 487
q12 677 753 634 634
q13 3507 3855 3277 3277
q14 305 304 271 271
q15 515 473 494 473
q16 462 506 467 467
q17 1154 1559 1389 1389
q18 7543 7522 7405 7405
q19 784 784 929 784
q20 1988 1957 1803 1803
q21 5169 4879 4743 4743
q22 1128 1052 1028 1028
Total cold run time: 52195 ms
Total hot run time: 50524 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