pyrooka / metabase-cubejs-driver

Connect Metabase with Cube.js.
GNU Affero General Public License v3.0
4 stars 6 forks source link

Generated Cubejs Queries doesn't hit Pre-Aggregations #57

Closed norbertbede closed 4 years ago

norbertbede commented 4 years ago

Describe the bug When i create rollup pre-aggregations, then aggregations are not generated. this cause slow responses and processing time well.

To Reproduce Steps to reproduce the behavior:

  1. create cube with preaggregation rollup type
  2. run question in metabase
  3. pre-aggregations are not generated, looks we hit in-memory cache instead pre-aggregations definitions NOTE: same cube works well in cubejs playground.

Expected behavior we need as cubejs suggest became multistage

Version: [e.g. 0.9]

norbertbede commented 4 years ago

my mistake, wrong pre-aggregation setup.