I have 14k unique ids in a .txt file, based on which I want to delete data from Amazon RedShift table. I have tried keeping the records inside IN clause, but it is not working. The query keeps on running for a long time
Eg:
delete from <table_name> where <primary_key_column> in (1,2,3....,14000);