Is there a way to know which partition will be used for a new row in a table partitioned by a column with text values?
Use case is: I have a big table with many partitions according to a text column. I need to insert-update millions of new rows to this table. If I know which partitions will be used for each row, I can rearrange my bulk inserts-updates to only work on 1 partition at a time.
-> hashtext function is tested and it is not giving the correct partition value.