I have table corruption caught by check table.
I narrowed my ~400M rows table to a single integer column. The error happens after index creation if you run check table.
I managed to recreate it with a random set of 70K values distributed in 400M rows.
See the attached script. It completes in 32' in my system (oldish xeon with NVM) and it fails
The script is easily run with: