diff --git a/README.MD b/README.MD index 724a595..bef5478 100644 --- a/README.MD +++ b/README.MD @@ -132,7 +132,7 @@ tableA = SXTTable(name = "SXTTEMP.MyTestTable", new_keypair = True, default_user = sxt.user, logger = sxt.logger, - access_type = SXTTableAccessType.PERMISSSIONED) + access_type = SXTTableAccessType.PERMISSIONED) tableA.create_ddl = """ CREATE TABLE {table_name} diff --git a/tests/_create_table_and_view.py b/tests/_create_table_and_view.py index f823014..b495015 100644 --- a/tests/_create_table_and_view.py +++ b/tests/_create_table_and_view.py @@ -18,7 +18,7 @@ # create a test table: -myTable = SXTTable(f'TEMP.MyTable_{randnum}', access_type=sxt.TABLE_ACCESS.PERMISSSIONED, +myTable = SXTTable(f'TEMP.MyTable_{randnum}', access_type=sxt.TABLE_ACCESS.PERMISSIONED, new_keypair=True, SpaceAndTime_parent=sxt) myTable.create_ddl = """ CREATE TABLE {table_name} @@ -88,7 +88,7 @@ # What if you want to raise error on any failure, instead of testing for Success? -errTable = SXTTable(f'TEMP.errTable_{randnum}', access_type=sxt.TABLE_ACCESS.PERMISSSIONED, +errTable = SXTTable(f'TEMP.errTable_{randnum}', access_type=sxt.TABLE_ACCESS.PERMISSIONED, new_keypair=True, SpaceAndTime_parent=sxt) errTable.create_ddl = """ CREATE TABLE {table_name}