Closed
Description
Added new option for index part definition,
that allows index to skip tuples with null at this part.
By default the option is turned off.
When turned on, "is_nullable=true" option will be set automatically.
It can't be turned on for the primary key.
Option can be changed dynamically (in this case index is rebuilt).
Such index does not store filtered tuples at all,
so indexing can be done faster.
SQL: such index is skipped in select statements
unless explicitly specified.
exclude_null
and is_nullable
are connected, so
this table describes the result of combining them.
Exclude NULL/Nullable | False | True |
---|---|---|
False | + | + |
True | - * | + ** |
*
is not allowed
**
Partial index
Requested by @mary3000 in tarantool/tarantool@17c9c03.