Skip to content

Commit

Permalink
Fix the test to create or replace
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko committed Nov 18, 2020
1 parent 880db89 commit b89349a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_macros_create_table_as_file_format(self):

self.config['file_format'] = 'delta'
sql = self.__run_macro(template, 'spark__create_table_as', False, 'my_table', 'select 1').strip()
self.assertEqual(sql, "create table my_table using delta as select 1")
self.assertEqual(sql, "create or replace table my_table using delta as select 1")

def test_macros_create_table_as_partition(self):
template = self.__get_template('adapters.sql')
Expand Down

0 comments on commit b89349a

Please sign in to comment.