[MCOL-5492] RAND() uses static seed of 0 Created: 2023-05-15 Updated: 2023-07-02 |
|
| Status: | Open |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 6.2.3 |
| Fix Version/s: | 23.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | Claudio Nanni | Assignee: | Roman |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Unless there's a specific reason for it, maybe RAND() in Columnstore should behave like the Server's implementation by using a random seed as default parameter. Columnstore Test Case
MariaDB Server
|
| Comments |
| Comment by Claudio Nanni [ 2023-05-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sorry forgot to add a test case.
And:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Todd Stoffel (Inactive) [ 2023-05-16 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
drrtuy Can you provide an example of the work around that you suggested in Slack? I assume something like this:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Todd Stoffel (Inactive) [ 2023-05-16 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
claudio.nanni What is the use case for this? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Claudio Nanni [ 2023-05-16 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
toddstoffel
|