You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "mrhhsg (via GitHub)" <gi...@apache.org> on 2024/01/05 06:26:05 UTC
[PR] [fix](fe) comparsion of string and integer should not be cast to double [doris]
mrhhsg opened a new pull request, #29582:
URL: https://github.com/apache/doris/pull/29582
## 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](fe) comparsion of string and integer should not be cast to double [doris]
Posted by "mrhhsg (via GitHub)" <gi...@apache.org>.
mrhhsg commented on PR #29582:
URL: https://github.com/apache/doris/pull/29582#issuecomment-1878188418
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](fe) comparsion of string and integer should not be cast to double [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #29582:
URL: https://github.com/apache/doris/pull/29582#issuecomment-1878234146
(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.4 seconds
stream load tsv: 566 seconds loaded 74807831229 Bytes, about 126 MB/s
stream load json: 19 seconds loaded 2358488459 Bytes, about 118 MB/s
stream load orc: 66 seconds loaded 1101869774 Bytes, about 15 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 28.2 seconds inserted 10000000 Rows, about 354K ops/s
storage size: 17183711887 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](fe) comparsion of string and integer should not be cast to double [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #29582:
URL: https://github.com/apache/doris/pull/29582#issuecomment-1878220285
TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G', run with scripts in https://github.com/apache/doris/tree/master/tools/tpch-tools
```
Tpch sf100 test result on commit 2c53e55873e20203023bf90a15961fa211da4006, data reload: false
------ Round 1 ----------------------------------
q1 17639 5187 5172 5172
q2 2037 159 142 142
q3 10556 1093 1111 1093
q4 10180 733 841 733
q5 7777 2872 2922 2872
q6 213 134 134 134
q7 913 518 546 518
q8 9327 1982 2001 1982
q9 6814 6363 6388 6363
q10 8232 3023 3063 3023
q11 439 227 226 226
q12 397 232 231 231
q13 18023 3690 3667 3667
q14 243 204 212 204
q15 557 518 528 518
q16 451 393 409 393
q17 944 505 459 459
q18 7381 6698 6657 6657
q19 1589 1366 1388 1366
q20 702 357 360 357
q21 2778 2403 2463 2403
q22 365 329 326 326
Total cold run time: 107557 ms
Total hot run time: 38839 ms
----- Round 2, with runtime_filter_mode=off -----
q1 5206 5070 5068 5068
q2 333 232 236 232
q3 3299 3294 3268 3268
q4 2136 2014 1989 1989
q5 5779 5749 5746 5746
q6 216 126 128 126
q7 2321 1903 1879 1879
q8 3345 3427 3416 3416
q9 8783 8734 8732 8732
q10 3793 3800 3822 3800
q11 583 476 471 471
q12 805 639 639 639
q13 8007 3209 3163 3163
q14 302 276 269 269
q15 572 512 517 512
q16 544 502 490 490
q17 1935 1760 1747 1747
q18 8634 8288 8235 8235
q19 1628 1583 1596 1583
q20 2187 1976 1932 1932
q21 5627 5226 5300 5226
q22 526 480 464 464
Total cold run time: 66561 ms
Total hot run time: 58987 ms
```
--
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](fe) comparsion of string and integer should not be cast to double [doris]
Posted by "morrySnow (via GitHub)" <gi...@apache.org>.
morrySnow commented on code in PR #29582:
URL: https://github.com/apache/doris/pull/29582#discussion_r1442560524
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/util/TypeCoercionUtils.java:
##########
@@ -920,7 +920,7 @@ public static Expression processComparisonPredicate(ComparisonPredicate comparis
right = comparisonPredicate.right();
Optional<DataType> commonType = findWiderTypeForTwoForComparison(
- left.getDataType(), right.getDataType(), false);
+ left.getDataType(), right.getDataType(), true);
Review Comment:
should not change this. because the legacy planner do the same thing for long time
--
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](fe) comparsion of string and integer should not be cast to double [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #29582:
URL: https://github.com/apache/doris/pull/29582#issuecomment-1878234023
TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G', run with scripts in https://github.com/apache/doris/tree/master/tools/tpch-tools
```
Tpch sf100 test result on commit 2c53e55873e20203023bf90a15961fa211da4006, data reload: false
run tpch-sf100 query with default conf and session variables
q1 5530 5129 5230 5129
q2 387 170 158 158
q3 1454 1268 1252 1252
q4 1079 788 792 788
q5 3134 3157 3197 3157
q6 224 136 139 136
q7 958 557 498 498
q8 2158 2250 2241 2241
q9 6694 6684 6702 6684
q10 3189 3106 3159 3106
q11 342 228 229 228
q12 392 239 237 237
q13 4422 3646 3684 3646
q14 259 209 225 209
q15 580 536 520 520
q16 480 424 393 393
q17 1050 519 551 519
q18 7083 6792 6794 6792
q19 1660 1507 1568 1507
q20 605 352 305 305
q21 2910 2494 2503 2494
q22 385 323 315 315
Total cold run time: 44975 ms
Total hot run time: 40314 ms
run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
q1 5143 5070 5094 5070
q2 344 238 233 233
q3 3357 3327 3329 3327
q4 2160 2053 2023 2023
q5 5941 5940 5948 5940
q6 228 130 132 130
q7 2417 1912 1949 1912
q8 3612 3656 3679 3656
q9 9101 9080 9023 9023
q10 3859 3913 3893 3893
q11 571 484 473 473
q12 809 657 631 631
q13 3884 3214 3225 3214
q14 292 282 278 278
q15 584 537 538 537
q16 577 526 480 480
q17 2031 1837 1851 1837
q18 8756 8318 8381 8318
q19 1751 1696 1695 1695
q20 2248 1992 1982 1982
q21 5733 5363 5265 5265
q22 607 480 510 480
Total cold run time: 64005 ms
Total hot run time: 60397 ms
```
--
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](fe) comparsion of string and integer should not be cast to double [doris]
Posted by "wm1581066 (via GitHub)" <gi...@apache.org>.
wm1581066 closed pull request #29582: [fix](fe) comparsion of string and integer should not be cast to double
URL: https://github.com/apache/doris/pull/29582
--
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](fe) comparsion of string and integer should not be cast to double [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #29582:
URL: https://github.com/apache/doris/pull/29582#issuecomment-1878229930
TPC-DS test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G', run with scripts in https://github.com/apache/doris/tree/master/tools/tpcds-tools
```
TPC-DS sf100 test result on commit 2c53e55873e20203023bf90a15961fa211da4006, data reload: false
run tpcds-sf100 query with default conf and session variables
query1 909 344 335 335
query2 6416 1945 1959 1945
query3 6646 210 199 199
query4 27173 22441 22417 22417
query5 3934 492 494 492
query6 288 185 183 183
query7 4576 268 252 252
query8 236 207 190 190
query9 8223 2634 2525 2525
query10 403 234 239 234
query11 16251 15638 15534 15534
query12 132 80 74 74
query13 1629 320 317 317
query14 11061 7103 7145 7103
query15 222 184 189 184
query16 6183 267 260 260
query17 1814 508 495 495
query18 1825 257 262 257
query19 180 134 136 134
query20 80 76 77 76
query21 183 98 95 95
query22 4943 4747 4759 4747
query23 32087 31164 30973 30973
query24 12163 2838 2824 2824
query25 609 351 332 332
query26 1799 141 142 141
query27 2909 274 276 274
query28 6792 1872 1873 1872
query29 2214 401 381 381
query30 288 149 152 149
query31 982 795 775 775
query32 88 58 51 51
query33 735 273 255 255
query34 890 439 444 439
query35 896 758 741 741
query36 1289 1149 1145 1145
query37 184 76 71 71
query38 3383 3286 3254 3254
query39 1328 1296 1280 1280
query40 310 89 88 88
query41 38 35 35 35
query42 90 84 78 78
query43 538 475 493 475
query44 1110 693 696 693
query45 197 190 181 181
query46 1076 639 642 639
query47 1619 1539 1468 1468
query48 338 248 253 248
query49 1223 314 324 314
query50 738 331 355 331
query51 5354 5244 5270 5244
query52 90 84 87 84
query53 215 142 149 142
query54 1403 564 548 548
query55 97 84 80 80
query56 185 189 192 189
query57 1004 939 921 921
query58 223 197 199 197
query59 2760 2644 2640 2640
query60 220 206 230 206
query61 91 90 91 90
query62 673 436 455 436
query63 162 156 152 152
query64 5920 1768 1746 1746
query65 3327 3262 3235 3235
query66 1387 345 335 335
query67 15622 15431 15613 15431
query68 11231 507 507 507
query69 542 256 247 247
query70 1580 1551 1447 1447
query71 496 220 232 220
query72 5684 3649 3676 3649
query73 2315 311 302 302
query74 7182 6476 6456 6456
query75 4831 2264 2287 2264
query76 6274 1120 1134 1120
query77 667 248 260 248
query78 9102 8499 8606 8499
query79 1030 492 496 492
query80 549 349 336 336
query81 462 211 206 206
query82 206 95 98 95
query83 162 139 137 137
query84 247 55 56 55
query85 974 289 282 282
query86 380 373 367 367
query87 3537 3357 3422 3357
query88 3017 2238 2227 2227
query89 333 250 243 243
query90 1884 191 187 187
query91 122 93 93 93
query92 54 51 52 51
query93 1435 437 416 416
query94 892 178 177 177
query95 453 424 416 416
query96 626 319 315 315
query97 4250 4135 4191 4135
query98 198 200 184 184
query99 1175 855 842 842
Total cold run time: 289843 ms
Total hot run time: 178803 ms
```
--
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