Bug #115711 Contribution by Tencent: Virtual column cause empty result in subpartition
Submitted: 29 Jul 2024 6:56 Modified: 29 Jul 2024 7:14
Reporter: lu yangyang Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Partitions Severity:S2 (Serious)
Version:8.0, 8.0.30,8.0.39, 8.4.2, 9.0.1 OS:Any
Assigned to: CPU Architecture:Any
Tags: subpartition, virtual generated column

File: Maximum allowed size is 50MB.
Description:
Privacy:

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:

[5 Aug 2024 15:15] huahua xu
It may be a feasible solution to fix the bug.

Attachment: check_part_func_bound_with_read_set.patch (application/octet-stream, text), 2.47 KiB.

[3 Sep 2024 11:09] lu yangyang
I think a feasible solution is to clean up GET_FIXED_FIELDS_FLAG after unpacking virtual_column

Attachment: clear_fixed_field_flag.patch (application/octet-stream, text), 577 bytes.