zclllhhjj
163193b1d4
[branch-2.1](function) fix random_bytes return same data for multi rows (#39891) (#40137)
pick https://github.com/apache/doris/pull/39891
Issue Number: close #xxx
before:
```sql
mysql [optest]>SELECT random_bytes(10) a FROM numbers("number" = "10");
+------------------------+
| a |
+------------------------+
| 0x7b4e5727024bc5b59e2c |
| 0x7b4e5727024bc5b59e2c |
| 0x7b4e5727024bc5b59e2c |
| 0x7b4e5727024bc5b59e2c |
| 0x7b4e5727024bc5b59e2c |
| 0x7b4e5727024bc5b59e2c |
| 0x7b4e5727024bc5b59e2c |
| 0x7b4e5727024bc5b59e2c |
| 0x7b4e5727024bc5b59e2c |
| 0x7b4e5727024bc5b59e2c |
+------------------------+
```
now:
```sql
mysql [optest]>SELECT random_bytes(10) a FROM numbers("number" = "10");
+------------------------+
| a |
+------------------------+
| 0xd82cf60825b29ef2a0fd |
| 0x6f8c808415bdbaa6d257 |
| 0x7c26b5214297a151c25c |
| 0x43f02c77293063900437 |
| 0x5e5727569dec5e24f96b |
| 0x434f20bf74d7759640b7 |
| 0x087ed96b739750c733a6 |
| 0xdf05f6d7ede4972eb846 |
| 0xcefab471912264b5c54f |
| 0x1bddc019409d1926aa10 |
+------------------------+
```
## Proposed changes
Issue Number: close #xxx
<!--Describe your changes.-->
2024-08-30 10:43:42 +08:00
..
2024-08-05 16:04:24 +08:00
2024-08-14 18:52:29 +08:00
2023-09-22 12:18:31 +08:00
2024-01-31 23:53:39 +08:00
2024-03-06 13:06:26 +08:00
2023-09-16 21:46:42 +08:00
2023-09-16 21:46:42 +08:00
2023-09-16 21:46:42 +08:00
2024-04-17 23:42:13 +08:00
2023-09-16 21:46:42 +08:00
2024-08-07 22:05:43 +08:00
2023-10-09 07:17:52 -05:00
2023-10-19 14:29:47 +08:00
2023-11-01 23:48:55 +08:00
2023-09-16 21:46:42 +08:00
2023-09-16 21:46:42 +08:00
2024-08-30 10:43:42 +08:00
2024-01-25 13:23:59 +08:00
2024-01-31 23:53:39 +08:00
2023-09-20 14:32:22 +08:00
2024-02-05 22:23:00 +08:00
2023-03-04 08:23:50 +08:00