You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/09/20 02:15:34 UTC

[GitHub] [druid] FrankChen021 commented on issue #11695: SQL with "timestamp - interval '100' day" returns 400 error

FrankChen021 commented on issue #11695:
URL: https://github.com/apache/druid/issues/11695#issuecomment-922598787


   The precision of ALL time units(from second to year) are limited to 2 by default in apache calcite. See the comment in calcite:
   
   https://github.com/apache/calcite/blob/60457b28c890f12cc811528bd4f3b098bc3d00f7/core/src/main/java/org/apache/calcite/sql/type/SqlTypeName.java#L132
   
   To solve this problem, Druid should overrides these default precision in class `DruidTypeSystem`


-- 
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