◀ Back to Playground HomeConvert timestamp (epoch millis) to epoch days, rounded to a bucketselect timestamp_field, CAST(timestamp_field as long), ToEpochDaysRounded(timestamp_field, 5), ToEpochDaysRounded(timestamp_field, 10) from users