I have a 120 TB table which unfortunately was not partitioned on creation. The jobs that use it filter it by a date column called sales_date and are taking hours to complete. I am trying to find the best way to introduce partitions into the table. I tried a basic approach
create table dev_abhirami.sales_copy
partition by DATE_TRUNC(sales_date, MONTH)
cluster by sales_date
as select * from `src_dataset.sales`
I cannot partition by sales_date since it created more than 4000 partitions.