I have a loop running for a bunch of different sites to be concatenate data into a single table using snowflake sql
For one particular site there is an underlying table missing. I don't want to remove that site from the loop but have the loop skip and continue to concatenate the data.
Since the table is missing i get this error and the execution stops:
The following error occurred: Invalid argument. (Connector error: ERROR [42S02] SQL compilation error: Object 'XXX' does not exist or not authorized.).
I have tried to use seterrormode, fetch the count of rows but i am not able to handle this exception.