Create External Table in another schema using DBMS_CLOUD package
Oracle has provided the DBMS_CLOUD package to create external tables for Parquet and other file types stored in cloud storage. I can create an external table for a parquet file in the same schema.
However, if I put my code in a procedure in schema A and call this procedure in schema B, it will give an insufficient permissions error. After adding AUTHID CURRENT USER in the procedure, I can create an external table but it will be created in schema B.
I want to create external tables in schema A but I want to call the procedure from schema B. Is there any way to achieve this?