File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 74
74
CREATE_DYNAMIC_TABLE = '''
75
75
CREATE TABLE dynamic (
76
76
o object
77
- ) WITH (column_policy = 'dynamic')
77
+ ) CLUSTERED INTO 1 SHARDS
78
+ WITH (column_policy = 'dynamic', number_of_replicas = 0)
78
79
'''
79
80
80
81
CREATE_DOC_TABLE = '''
@@ -313,7 +314,7 @@ def assert_data_persistence(self,
313
314
314
315
# to trigger `alter` stmt bug(https://github.com/crate/crate/pull/17178) that falsely updated the table's
315
316
# version created setting that resulted in oids instead of column names in resultsets
316
- cursor .execute ('ALTER TABLE doc.dynamic SET ("refresh_interval" = 900 )' )
317
+ cursor .execute ('ALTER TABLE doc.dynamic SET ("refresh_interval" = 9000 )' )
317
318
cursor .execute ('INSERT INTO doc.dynamic (o) values (?)' , [{version : True }])
318
319
cursor .execute ('REFRESH TABLE doc.dynamic' )
319
320
accumulated_dynamic_column_names .append (version )
You can’t perform that action at this time.
0 commit comments