Hi,
I have a table ABC. It has a shard based on one of the fields. I want to select rows only from specific partition. Something like: select * from ABC partition 10 where some_id=‘6’
Please advise.
Hi,
I have a table ABC. It has a shard based on one of the fields. I want to select rows only from specific partition. Something like: select * from ABC partition 10 where some_id=‘6’
Please advise.
Welcome Benzion!
To achieve this, can you try to run:
SELECT * FROM ABC WHERE some_id = 6 AND partition_id() = 10;
Please keep us updated on how it goes.