Is there a way to find out in which partition a particular row is stored?
I've created a table partitioned by HASH(YEAR(date)) and would like to find out which partition rows from a particular date are stored.
It looks like it's not possible to obtain this information by running:
set @partition_name=HASH(YEAR(date))