From 91968ab95f48fd4ddbc55864dc6b16906be59012 Mon Sep 17 00:00:00 2001 From: Timo Kruth Date: Mon, 20 Sep 2021 09:26:43 +0200 Subject: [PATCH] Fix SQL 42000 on Exasol " SQL-Error [42000]: syntax error, unexpected '*' " If you specify the * in the unioned with their respectiv names .* you do not receive the SQL Error posted above. This should not inflict any further problems since it is redundant for most DBs. --- macros/schema_tests/equality.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros/schema_tests/equality.sql b/macros/schema_tests/equality.sql index 869ec9e2..bc302c18 100644 --- a/macros/schema_tests/equality.sql +++ b/macros/schema_tests/equality.sql @@ -64,9 +64,9 @@ b_minus_a as ( unioned as ( - select 'a_minus_b' as which_diff, * from a_minus_b + select 'a_minus_b' as which_diff, a_minus_b.* from a_minus_b union all - select 'b_minus_a' as which_diff, * from b_minus_a + select 'b_minus_a' as which_diff, b_minus_a.* from b_minus_a )