Skip to content

Dimension types

justjkk edited this page Dec 10, 2014 · 2 revisions

Dimension in a Star schema are used to slice and dice the analytics data. The following types are identified and supported:

  • string - Does not support Range operator.
  • integer - Stores integer.
  • date - Used to accept date values from timestamps and truncate them to date level precision. Accepts any string that is parseable by dateutil library.
  • week - Similar to date but converts date into previous monday(or the same date if it is monday).
  • month - Similar to date but converts date into 1st of the same month.
  • year - Similar to date but converts date into 1st of January of the same year.

If you find a need to support a new type, create a new issue and it shall be debated and added to the arsenal.

Clone this wiki locally