Is it possible to set an expiration time on the individual rows of a table in BigQuery?
I don't want the entire table to expire, but I would like to be able to set an expiration date on rows. For example, if the expiration date was 31 days, I would like any row that was inserted more than 31 days ago to be removed from the table.
There is no expiration on row level (at least as of now)!
What you can do to accomplish very similar (by result) is to use relatively recently introduced Partitioned Tables
Each partition can have its own expiration - so you can set your table in such a way that all rows belonging to particular day will expire when you need them to
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With