Hello everyone,
Is it possible to see the query with which a table in BigQuery was created? I’ve tried checking the logs for a specific date range and managed to get results only for scheduled queries, but not for the one I’m looking for. The table was created in February, so it’s within the 90-day period.
Try looking for this table in INFORMATION_SCHEMA.TABLES view. There is a DDL column on this view.
Hi @adkrk,
Welcome to Google Cloud Community!
In addition to @mdideles, you can refer to this documentation, which describes how to view the history of a session in BigQuery. Just make sure you have the necessary permissions to access the session history.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.