Create indexes necessary for uuid column type change
Why are we doing this work?
Create indexes necessary for uuid column type change asynchronously.
- The end goal is to rename
uuid_convert_string_to_uuidintouuid - To do that, we need to drop the
uuidcolumn. - This, in turn, will drop indexes present on the
uuidcolumn - If there's no unique index present on the
uuidcolumn our ingestion pipeline will break because it depends on an unique index - spec failure
Implementation plan
To mitigate this we will:
- Create necessary indexes on
uuid_convert_string_to_uuidasynchronously (this MR) - Create necessary indexes on
uuid_convert_string_to_uuidsynchronously (subsequent MR)
Edited by Michał Zając