Bug #105541 | SELECT JSON_ARRAYAGG(DISTINCT ... does not work | ||
---|---|---|---|
Submitted: | 12 Nov 2021 9:39 | Modified: | 16 Nov 2021 12:11 |
Reporter: | Eric BARDOUL | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Workbench: SQL Editor | Severity: | S2 (Serious) |
Version: | 8.0.27 | OS: | MacOS (Monterey 12.0.1) |
Assigned to: | CPU Architecture: | x86 (64 bit) | |
Tags: | JSON_ARRAYAGG |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file
[12 Nov 2021 9:41]
Eric BARDOUL
[12 Nov 2021 9:42]
Eric BARDOUL
The error disappear when removing DISTINCT
Attachment: Capture d’écran 2021-11-11 à 14.56.28.png (image/png, text), 60.74 KiB.
[13 Nov 2021 17:38]
Eric BARDOUL
Error message in the editor
Attachment: Capture d’écran 2021-11-13 à 18.37.21.png (image/png, text), 89.22 KiB.