tarantool / ddl

The DDL module enables you to describe data schema in a declarative YAML-based format.
BSD 2-Clause "Simplified" License
12 stars 6 forks source link

Unsupported fieldno index part #108

Closed ArtDu closed 1 year ago

ArtDu commented 1 year ago

Now it crashes migrations with _tcf space

reproducer:

localhost:3301> ddl.check_schema(ddl.get_schema())
---
- true
...

localhost:3301> tmp = box.schema.create_space('tmp', {if_not_exists = true}); tmp:create_index('pri')
---
...

localhost:3301> ddl.check_schema(ddl.get_schema())
---
- null
- 'spaces["tmp"].indexes["pri"].parts[1].path: bad value (string expected, got number)'
...
DifferentialOrange commented 1 year ago

Please, provide tarantool binary version

ArtDu commented 1 year ago

Please, provide tarantool binary version

As I see the problem version doesn't affect on problem

localhost:3301> _TARANTOOL
---
- 2.11.0-rc2-0-g535bac000-r549-gc64