-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CubeSQL] Regression past 1.1.4 #8967
Comments
Hi @pauldheinrichs. Big thanks for a detailed report. I managed to simplify query to this in our data model for unit tests:
It breaks with same |
Localized the issue, it's a combination of Both |
I've just merged #8971, should be fixed in next release. I'll ping again when release is ready. |
v1.1.7 was just released, it's already available on Docker Hub, soon will be on Cloud. |
@mcheshkov Thanks for the quick turnaround here! Appreciate it |
Describe the bug
Queries generated via metabase are breaking pretty frequently past 1.1.4 when containing time clauses and groupings on time.
To Reproduce
Steps to reproduce the behavior:
1: leverage the following cube in a postgres / redshift env
Minimally reproducible Cube Schema
The following queries fail
with
I have smoke tested the query in several ways and here are the outcomes when modifying
|---|---|
count(distinct some_val)
WHERE
clausecount distinct
tocount
DATE_TRUNC('week', "public"."test_cube"."day_one")
Some failing examples
Some passing example queries from the above chart
The text was updated successfully, but these errors were encountered: