You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
The default None for use_approximate_percentile and use_discrete_percentile causes an error. I need to define the bool value for these parameters in the measure. However, I should only assign true or false to these parameters if I need to use them, and they should default to false.
github-actionsbot
changed the title
use_approximate_percentile and use_discrete_percentile keys defualt to None but are defined as bool in the protocol
[CT-2698] use_approximate_percentile and use_discrete_percentile keys defualt to None but are defined as bool in the protocol
Jun 14, 2023
Is this a new bug in dbt-core?
Current Behavior
The default None for
use_approximate_percentile
anduse_discrete_percentile
causes an error. I need to define the bool value for these parameters in the measure. However, I should only assign true or false to these parameters if I need to use them, and they should default to false.Current implementation:
Expected implementation:
Expected Behavior
I should not need to define true or false explicitly for use_discrete_percentile and use_approximate_percentile. They should default to false.
Steps To Reproduce
Define a measure like below and run dbt run.
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: