MI
format = {{'i', 'integer'}}
s = box.schema.space.create('A', {format = format})
_ = s:create_index('i')
box.execute('insert into a values (1), (2);')
format = {{'i', 'integer'}, {'a', 'integer', is_nullable = true}, {'b', 'integer', is_nullable = true}}
s:format(format)
box.execute('update a set "b" = NULL;')При апдейте выдало ошибку:
tarantool> box.execute('update a set "b" = NULL;')
---
- null
- Field 3 was not found in the tuple
...Причем:
tarantool> box.execute('update a set "b" = 1 WHERE "b" = NULL;')
---
- row_count: 0
...
tarantool> box.execute('select * from a where "b" is NULL;')
---
- metadata:
- name: i
type: integer
- name: a
type: integer
- name: b
type: integer
rows:
- [1, null, null]
- [2, null, null]
...Однако, если сначала обновить поле a, все работает
tarantool> box.execute('update a set "a" = 1;')
---
- row_count: 2
...
tarantool> box.execute('update a set "b" = 1;')
---
- row_count: 2
...

