cube-js/cube

Add Support for relative time values for time filters

オープン

#1,912 opened on 2021/01/27

 (3 件のコメント) (5 件のリアクション) (0 人の担当者)Rust (1,965 件のフォーク)batch import
backend:serverhelp wanted

Repository metrics

Stars
 (19,563 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Is your feature request related to a problem? Please describe. For timeDimensions we are able to specify relative values such as dateRange: 'Last 7 days'. It would be ideal if we were able to specify relative values for time filters as well.

Describe the solution you'd like To be able to define relative values such as 'Last 7 days' in both inDateRange and notInDateRange: https://cube.dev/docs/query-format#filters-operators-in-date-range and https://cube.dev/docs/query-format#filters-operators-not-in-date-range

Additional context Previous relevant discussion: https://github.com/cube-js/cube.js/issues/1737

コントリビューターガイド