Skip to content

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #57238

before:
```sql
mysql> select minute_ceil(CAST('2021-12-31 12:23:34' AS DATETIMEV2(0)), nullable(CAST('2021-12-31 12:23:34' AS DATETIMEV2(0))));
ERROR 1105 (HY000): errCode = 2, detailMessage = (10.16.10.3)[INTERNAL_ERROR]Column VectorizedFnCall[minute_ceil](arguments=DateTimeV2(0), VectorizedFnCall[nullable](arguments=DateTimeV2(0),return=Nullable(DateTimeV2(0))),return=Nullable(DateTimeV2(0))) in block is not compatible with its column type :Const(DATETIMEV2), data type :Nullable(DateTimeV2(0)), error: Column type Const(DATETIMEV2) is not compatible with data type Nullable(DateTimeV2(0))
```
now:
```sql
mysql> select minute_ceil(CAST('2021-12-31 12:23:34' AS DATETIMEV2(0)), nullable(CAST('2021-12-31 12:23:34' AS DATETIMEV2(0))));
+-------------------------------------------------------------------------------------------------------------------+
| minute_ceil(CAST('2021-12-31 12:23:34' AS DATETIMEV2(0)), nullable(CAST('2021-12-31 12:23:34' AS DATETIMEV2(0)))) |
+-------------------------------------------------------------------------------------------------------------------+
| 2021-12-31 12:23:34                                                                                               |
+-------------------------------------------------------------------------------------------------------------------+

```
@github-actions github-actions bot requested a review from yiguolei as a code owner October 22, 2025 12:53
@hello-stephen
Copy link
Contributor

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?

@dataroaring dataroaring reopened this Oct 22, 2025
@hello-stephen
Copy link
Contributor

run buildall

@doris-robot
Copy link

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

query1	0.05	0.03	0.03
query2	0.10	0.04	0.04
query3	0.25	0.07	0.07
query4	1.65	0.11	0.11
query5	0.28	0.25	0.24
query6	1.16	0.67	0.64
query7	0.02	0.02	0.02
query8	0.06	0.04	0.04
query9	0.67	0.52	0.52
query10	0.56	0.56	0.57
query11	0.16	0.11	0.11
query12	0.14	0.12	0.12
query13	0.64	0.61	0.61
query14	0.81	0.81	0.81
query15	0.87	0.84	0.86
query16	0.41	0.40	0.39
query17	1.02	1.07	1.03
query18	0.19	0.18	0.18
query19	1.89	1.84	1.85
query20	0.02	0.01	0.01
query21	15.40	0.93	0.58
query22	0.77	1.19	0.71
query23	15.14	1.41	0.60
query24	16.32	1.50	0.62
query25	2.19	0.39	0.20
query26	0.18	0.19	0.18
query27	0.21	0.20	0.20
query28	1.73	1.04	0.95
query29	12.62	3.91	3.24
query30	0.28	0.13	0.11
query31	2.90	0.60	0.39
query32	3.23	0.54	0.47
query33	3.01	3.12	3.18
query34	16.30	5.64	5.10
query35	5.15	5.17	5.11
query36	0.74	0.57	0.53
query37	0.10	0.07	0.07
query38	0.07	0.04	0.05
query39	0.03	0.03	0.03
query40	0.19	0.15	0.15
query41	0.08	0.04	0.02
query42	0.04	0.03	0.02
query43	0.05	0.03	0.03
Total cold run time: 107.68 s
Total hot run time: 30.68 s

@yiguolei yiguolei merged commit 38d3377 into branch-4.0 Oct 23, 2025
24 of 27 checks passed
@github-actions github-actions bot deleted the auto-pick-57238-branch-4.0 branch October 23, 2025 02:37
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