You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "barry3406 (via GitHub)" <gi...@apache.org> on 2026/04/11 05:19:10 UTC
Re: [I] INTERVAL 1 WEEK in SQL is wrong interval (druid)
barry3406 commented on issue #18665:
URL: https://github.com/apache/druid/issues/18665#issuecomment-4228251733
I can repro on Druid 34.0.0 — `INTERVAL '1' WEEK` resolves to `PT1H` instead of `P7D`. Looks like the WEEK unit is missing from the Calcite-to-Druid interval conversion (most other units land in the day path but WEEK falls through to hours). Going to dig in and send a PR with a SqlIntervalArithmeticTest covering WEEK alongside the existing DAY/MONTH cases.
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org