From 95d844d481923cd5730356dfdbb796fd69e91a52 Mon Sep 17 00:00:00 2001 From: Tanner Clary Date: Wed, 13 Mar 2024 11:26:04 -0700 Subject: [PATCH] [b/328439250] Remove NULL expectations from boolean columns Dimensions of type YESNO in LookML will never return NULL, so when we select a boolean column in the SQL Interface, we should never expect NULL. --- .../exprtests/standard/expected.setup.calcs_data.txt | 9 --------- .../exprtests/standard/expected.setup.cast.str.8.txt | 3 --- 2 files changed, 12 deletions(-) diff --git a/tdvt/tdvt/exprtests/standard/expected.setup.calcs_data.txt b/tdvt/tdvt/exprtests/standard/expected.setup.calcs_data.txt index a14e38b4..732cd802 100644 --- a/tdvt/tdvt/exprtests/standard/expected.setup.calcs_data.txt +++ b/tdvt/tdvt/exprtests/standard/expected.setup.calcs_data.txt @@ -4,9 +4,6 @@ [cast_calcs.postgres91].[TEMP(Test)(3428507074)(0)] - - %null% - false @@ -20,9 +17,6 @@ [cast_calcs.postgres91].[TEMP(Test)(1935567978)(0)] - - %null% - false @@ -49,9 +43,6 @@ [cast_calcs.postgres91].[TEMP(Test)(1288552116)(0)] - - %null% - false diff --git a/tdvt/tdvt/exprtests/standard/expected.setup.cast.str.8.txt b/tdvt/tdvt/exprtests/standard/expected.setup.cast.str.8.txt index 541b3b94..3a7d2908 100644 --- a/tdvt/tdvt/exprtests/standard/expected.setup.cast.str.8.txt +++ b/tdvt/tdvt/exprtests/standard/expected.setup.cast.str.8.txt @@ -35,9 +35,6 @@ [cast_calcs.memsql].[TEMP(Test)(3200082645)(0)] - - %null% - "0"