I have a few date-sharded tables I want to delete but they already have more than 100 shards for each table and can't drop them manually.
I've tried using wildcards
DROP TABLE my_dataset.my_table_*;
but it does not seem to work.
I finally used the python API:
for table_id in tables:
table_ref = client.dataset(dataset_id).table(table_id)
client.delete_table(table_ref)
And it works, but I needed to create the tables array with the names of the tables I wanted to drop.
Is there a way to DROP all date-shards of a date-sharded table in BigQuery form the UI?
Or using an SQL command in the UI?
Or using the command line with a wildcard?
Thanks