Cause
The origin has a different data type than the specified datetime.
Action
Check the origin (the third argument) and the specified datetime (the first argument), and ensure that they are of the same data type.
Error Message
For TIME_BUCKET function, the origin should have the same data type as specified datetime.
The origin has a different data type than the specified datetime.
Check the origin (the third argument) and the specified datetime (the first argument), and ensure that they are of the same data type.