You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
Use Case. Let say I have field dateordered. I select “orderfacts” table - open in query builder, group by dateordered then select Month of year. Error “month-of-year granularity not supported by Cube.js”.
Test Result: Fall - any of relative driver doesn't works, not implemented yet.
not the best screenshot because here quarter make error, however same just when select e.g Month of Year, then i'm getting "month-of-year granularity not supported by Cube.js"
The Question: ATM we can’t find way how to convert datefield to relative date formats in metabase driver. (postgres can do this by “commands” Mon, NM, dy, DD, WW…etc. ). We are looking for example code, how to improve the cubejs driver or API doc for handling relative date in driver. (convert/inherit relative dates from a simpe datetime field.) - avoid generate unnecessary fake dimensions.
The text was updated successfully, but these errors were encountered:
norbertbede
changed the title
Relative Date Conversion Implementation for Query Builder
Relative Date Conversios/Inheritance for Query Builder
Feb 22, 2020
Use Case. Let say I have field dateordered. I select “orderfacts” table - open in query builder, group by dateordered then select Month of year. Error “month-of-year granularity not supported by Cube.js”.
Test Result: Fall - any of relative driver doesn't works, not implemented yet.
**I have asked @paveltiunov slack chat **
As get help I made a forum thread in Metabase forum
https://discourse.metabase.com/t/month-of-year-api-for-driver-implementation/9102
The text was updated successfully, but these errors were encountered: