I've been trying to unload some data from Redshift to the S3 bucket. Except I've been getting the following error:
Amazon Invalid operation: cannot drop active portal; [SQL State=XX000, DB Errorcode=500310]
To note the Redshift and S3 are in 2 different buckets so I specified the region within the unload.
I've tried looking it up, it mentions that I can't drop the table.
So I created a "test" table that I am 100% certain is not connected to any view or other but I still get the same error.
I tried also troubleshooting through AWSQuickSolutions: Redshift Table Can’t Be Dropped or Drop Table Hangs except I do not have access to svv_table_info
.
Is there any way to do the unload?
UNLOAD
table (which means exporting the data to S3), but then you talk about dropping the table. Which operation do you wish to perform? – John RotensteinUNLOAD
command? (Can you show us your command?) Does it work if you unload to a bucket in the same region? Unloading has nothing to do with dropping tables. – John Rotenstein