I'm developing an ETL, whose extract step must read data from a table.
There are times that my user's access to that table is revoked. So, to avoid the ETL failing, before reading the table I must verify if I have permission to do it. If not, I'll just jump the extract step and run the rest of the ETL.
What's the proper way of verifying if my user has read permission over a table?