I have a partitioned table that I\'m using to get the sum of X column for the records with Y column.
If I use
where logdate >= \'2020-01-01\' AND logdat