Originally I had the default 60 day table expiration on bigquery tables due to it being default when tables are set up and not connected to a billing account (per Google).
Now that the billing account has been linked and I have updated the table expiration to "Never", the tables in my bigquery database are still getting deleted after the 60 day period.
Solved! Go to Solution.
Partitioned Tables:
Billing Account and Sandbox Limitations:
Bug in BigQuery:
Additional Troubleshooting Tips:
To list all of your tables and their expiration settings, you can use the following query:
SELECT
table_name,
option_name,
option_value
FROM
`project_id.dataset_id.INFORMATION_SCHEMA.TABLE_OPTIONS`
WHERE
option_name = 'expiration_timestamp';
This will help you identify tables with specific expiration settings.
You can change the partition expiration value for a table by using the recipes described here:
Partitioned Tables:
Billing Account and Sandbox Limitations:
Bug in BigQuery:
Additional Troubleshooting Tips:
To list all of your tables and their expiration settings, you can use the following query:
SELECT
table_name,
option_name,
option_value
FROM
`project_id.dataset_id.INFORMATION_SCHEMA.TABLE_OPTIONS`
WHERE
option_name = 'expiration_timestamp';
This will help you identify tables with specific expiration settings.
@ms4446 what SQL is necessary to remove the expiration setting from the partitioned tables? i need to set each partitioned table to never expire.
You can change the partition expiration value for a table by using the recipes described here:
Hello, @Jeremiah_Barret! How did you solve that issue? I have the same with one of four projects and solutions provided in this topic don't work.