@@ -246,7 +246,6 @@ def _do_upgrade(self,
246
246
c .execute (CREATE_ANALYZER )
247
247
c .execute (CREATE_DOC_TABLE )
248
248
c .execute (CREATE_PARTED_TABLE )
249
- c .execute (CREATE_DYNAMIC_TABLE )
250
249
251
250
c .execute ("DROP USER IF EXISTS trillian" )
252
251
c .execute ("CREATE USER trillian" )
@@ -312,18 +311,6 @@ def assert_data_persistence(self,
312
311
cursor .execute (f'select * from versioned."{ table } "' )
313
312
cursor .execute (f'insert into versioned."{ table } " (id, col_int) values (?, ?)' , [str (uuid4 ()), 1 ])
314
313
315
- # to trigger `alter` stmt bug(https://github.com/crate/crate/pull/17178) that falsely updated the table's
316
- # version created setting that resulted in oids instead of column names in resultsets
317
- cursor .execute ('ALTER TABLE doc.dynamic SET ("refresh_interval" = 9000)' )
318
- cursor .execute ('INSERT INTO doc.dynamic (o) values (?)' , [{version : True }])
319
- cursor .execute ('REFRESH TABLE doc.dynamic' )
320
- accumulated_dynamic_column_names .append (version )
321
- cursor .execute ('SELECT o FROM doc.dynamic' )
322
- result = cursor .fetchall ()
323
- for row in result :
324
- for name in row [0 ].keys ():
325
- self .assertIn (name , accumulated_dynamic_column_names )
326
-
327
314
# older versions had a bug that caused this to fail
328
315
if version in ('latest-nightly' , '3.2' ):
329
316
# Test that partition and dynamic columns can be created
0 commit comments