1

I have a dimension which I have declared called mystay_days_before_stay and I have created a tier to group this information. When I query for results over 19 days then the query crashes.

dimension: mystay_days_before_stay {
  label: "Days before Stay"
  view_label: "MyStay"
  type: number
  sql: cast(${TABLE}.properties ->> 'days_before_stay' as Int) ;;
}

dimension: mystay_days_before_stay_tier {
  type: tier
  tiers: [7,30,90]
  style: integer # the default value, could be excluded
  sql: ${mystay_days_before_stay} ;;
}

I am unsure as to why it only returns results up until 19 days on the filter.

Will
  • 4,299
  • 5
  • 32
  • 50
George123
  • 57
  • 3
  • 11

0 Answers0