Skip to content

Commit b834d13

Browse files
authored
Fix SQL 42000 on Exasol (#420)
" SQL-Error [42000]: syntax error, unexpected '*' " If you specify the * in the unioned with their respectiv names <name>.* you do not receive the SQL Error posted above. This should not inflict any further problems since it is redundant for most DBs.
1 parent b5f499e commit b834d13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

macros/schema_tests/equality.sql

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ b_minus_a as (
6464

6565
unioned as (
6666

67-
select 'a_minus_b' as which_diff, * from a_minus_b
67+
select 'a_minus_b' as which_diff, a_minus_b.* from a_minus_b
6868
union all
69-
select 'b_minus_a' as which_diff, * from b_minus_a
69+
select 'b_minus_a' as which_diff, b_minus_a.* from b_minus_a
7070

7171
)
7272

0 commit comments

Comments
 (0)