Emir
01/10/2025, 11:39 AMgd deploy
using the version 0.9.0
. The error is with a metric I'm putting the definition of below:
# A metric is a computational expression of numerical data (facts or other metrics).
# Use MAQL to create reusable multidimensional queries that combine multiple facts and attributes.
# Read more about MAQL:
# <https://www.gooddata.com/developers/cloud-native/doc/cloud/create-metrics/maql/>
type: metric
id: variants_count_mediocre_fit
title: Variants Count Mediocre Fit
maql: SELECT COUNT({label/variant_euid}) WHERE (SELECT{metric/imbalance_abs} BY {label/variant_euid}) BETWEEN 0.25 AND 0.5
format: "#,##0"
The error is: Type mismatch: Expected 'ALL', but got 'NUMERIC_LITERAL'
. I'm getting this error for all the metrics that use BETWEEN in its maql. Can someone help why I'm getting this error? (The metrics are working as expected in the UI)Joseph Heun
01/10/2025, 2:03 PMEmir
01/13/2025, 3:27 PMCan not load table from server for profile "fc_dev_ng". Reason: DB request exception (state=GENERAL_ERROR dataSourceId=dbt_project-eltana_stg vendorErrorState=GENERAL_ERROR vendorErrorCode=3) General errororg.postgresql.util.PSQLException: ERROR: syntax error at end of input
Position: 3456
Could you shed light on why/how it works in UI but throws an error during deployment? (I deploy via the gd deploy
command). Let me know if more info is needed, I can share the file contents in a private message. Thanks in advance!Joseph Heun
01/14/2025, 9:38 AM