We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
select
calculate: ... { partition_by: ... }
In BigQuery, we are getting a PROJECT cannot be used on queries with turtles when attempgint to run the following query:
PROJECT cannot be used on queries with turtles
run: events -> { where: trim(event_name) = "purchase" select: event_date select: event_name calculate: prev_occur is lag(event_date) { partition_by: event_name order_by: event_date asc } order_by: event_name asc, event_date asc }
This same pattern DOES work on DuckDB though... running this query in the ECommerce DuckDB sample data produces correct results:
run: order_items -> { select: user_id created_at calculate: prev_occur is lag(created_at) { partition_by: user_id order_by: created_at asc } order_by: user_id asc, created_at asc }
Using the BigQuery GA4 sample dataset, run the following query:
macOS
VS Code
v0.3.1706811226
BigQuery
The text was updated successfully, but these errors were encountered:
christopherswenson
Successfully merging a pull request may close this issue.
What happens?
In BigQuery, we are getting a
PROJECT cannot be used on queries with turtles
when attempgint to run the following query:This same pattern DOES work on DuckDB though... running this query in the ECommerce DuckDB sample data produces correct results:
To Reproduce
Using the BigQuery GA4 sample dataset, run the following query:
OS:
macOS
Malloy Client:
VS Code
Malloy Client Version:
v0.3.1706811226
Database Connection:
BigQuery
The text was updated successfully, but these errors were encountered: