Skip to content

Using a Date field in dimension group causes format_timestamp error #13

Description

@PowdyPowPow

Hi,
when using master_stats.Date dimension group we get the following error:

screen shot 2018-08-29 at 10 12 30

At least in our tables the Date field is actually a date field not a timestamp. This error can be fixed by converting the date field to timestamp in the master_stats view:

dimension_group: date { type: time timeframes: [raw, date, week, month, quarter, year] convert_tz: no sql: TIMESTAMP(${TABLE}.Date) ;; }

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions