Open serg-2 opened 6 months ago
Can't connect to instance of tarantool if any space like this exists:
box.schema.space.create('test') box.space.test:format({ { name = 'id', type = 'unsigned', is_nullable = false }, { name = 'name', type = 'map' , is_nullable = false} }) box.space.test:create_index('super_index', {type = 'tree', parts = { {'name.field1','str'}, {'name.field2','unsigned'} }, unique = false })
Exception: Duplicate key
Can't connect to instance of tarantool if any space like this exists:
box.schema.space.create('test') box.space.test:format({ { name = 'id', type = 'unsigned', is_nullable = false }, { name = 'name', type = 'map' , is_nullable = false} }) box.space.test:create_index('super_index', {type = 'tree', parts = { {'name.field1','str'},
{'name.field2','unsigned'} }, unique = false })
Exception: Duplicate key