Dashboard SQL templates #281
-
Your quick response and help is much appreciated as we are just starting to set up DQDashboard! William Dong SELECT num_violated_rows, CASE WHEN denominator.num_rows = 0 THEN 0 ELSE 1.0num_violated_rows/denominator.num_rows END AS pct_violated_rows,
) violated_row_count, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@ZhengchunD thank you for posting this in discussions! So you do not need to translate into Oracle, this packages makes use of SqlRender which will translate it for you. Those curly braces are parsed by SqlRender as well, they are if/then statements that will update the SQL based on if the condition is met. |
Beta Was this translation helpful? Give feedback.
@ZhengchunD thank you for posting this in discussions! So you do not need to translate into Oracle, this packages makes use of SqlRender which will translate it for you. Those curly braces are parsed by SqlRender as well, they are if/then statements that will update the SQL based on if the condition is met.