I'm trying to UNLOAD table_name and column_name columns from "information_schema.columns" table to S3, but I get an error saying 'Function "has_table_privilege(oid,text)" not supported.' I noticed the data type of these columns is "sql_identifier", which might be the reason for errors.
I tried casting them as varchar but that didn't work either. Anybody aware of a workaround?