From 1a12632a272dc29f60ae925be32a5eb2c5f4386c Mon Sep 17 00:00:00 2001 From: Tanner Clary Date: Mon, 11 Mar 2024 09:49:53 -0700 Subject: [PATCH] Convert negative SQRT operands to NULL in dialect.tdd --- connector/tableau/looker-jdbc/dialect.tdd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connector/tableau/looker-jdbc/dialect.tdd b/connector/tableau/looker-jdbc/dialect.tdd index 49cab6f9179..3f7bf217454 100644 --- a/connector/tableau/looker-jdbc/dialect.tdd +++ b/connector/tableau/looker-jdbc/dialect.tdd @@ -239,7 +239,8 @@ - SQRT(%1) + + SQRT(IF(%1 < 0, NULL, %1))