I have a table with partition by date and I\'m trying to overwrite a particular partition but when I try the below code its overwriting the whole table
query.write.partit