Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
In order to make IGNITE-16860 possible, we need to add an ability to specify a function as a default value generator. It worth to note, that a behaviour of KV API and SQL should be consistent, thus this feature should be derived from a SQL runtime to the common place.
Within this task we need to extend ColumnConfigurationSchema in order to support several types of default value generators (constant and function for now), as well as introduce a new default value supplier forĀ Column.
As a first step, I would propose to support only a few predefined system functions. This could be possibly extended to support an arbitrary function though.
Attachments
Issue Links
- blocks
-
IGNITE-16860 Sql. Ability to create table with autogenerated PK values
- Resolved
- fixes
-
IGNITE-17370 Support empty values of varlen types as default
- Resolved
- is blocked by
-
IGNITE-17212 Sql. Add support for DEFAULT operator
- Resolved
- links to