From 2f10d46806939b6798f956dacba62066b182d5dc Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 26 Apr 2022 22:50:59 -0400 Subject: [PATCH] a foreign table is built for any func populated even if a date --- setup_sql/03_build_master_tables.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup_sql/03_build_master_tables.sql b/setup_sql/03_build_master_tables.sql index ff1721c..424a98a 100644 --- a/setup_sql/03_build_master_tables.sql +++ b/setup_sql/03_build_master_tables.sql @@ -28,6 +28,8 @@ BEGIN fc.target_meta tm WHERE func IS NOT NULL + --if func is populated for a date type, a foreign table will be setup unless excluded here or func not populated + --AND dtype <> 'date' GROUP BY schema ,tname