Cause
The specified datetime or the origin is neither a DATETIME nor an Epoch Time.
Action
Check the specified datetime (the first argument) and the origin (the third argument), and ensure they are either DATETIME or Epoch Time.
Error Message
For TIME_BUCKET function, the specified datetime and the origin should be DATETIME or Epoch Time.
The specified datetime or the origin is neither a DATETIME nor an Epoch Time.
Check the specified datetime (the first argument) and the origin (the third argument), and ensure they are either DATETIME or Epoch Time.