boluor commented on issue #3240:
URL: https://github.com/apache/doris-website/issues/3240#issuecomment-4515630710

   Thanks for the report. The example is actually correct for the current (4.x) 
behavior: `WEEK_CEIL('2023-07-13')` returns `2023-07-17`. 2023-07-13 is a 
Thursday, and week rounding anchors on **Monday**, so the ceiling rounds up to 
Monday 2023-07-17 (the matching `WEEK_FLOOR` is 2023-07-10).
   
   The `2023-07-16` (Sunday) you observed is the older 3.0 behavior — the week 
anchor changed between 3.0 and 4.x. So the 4.x docs are accurate as written. If 
you're on 4.x and still see 2023-07-16, please share your exact version and 
we'll dig in; otherwise this can be closed. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to