You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Konstantin Orlov (Jira)" <ji...@apache.org> on 2022/04/18 13:12:00 UTC
[jira] [Updated] (IGNITE-16870) Extend Schema with ability to specify function as default value generator
[ https://issues.apache.org/jira/browse/IGNITE-16870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Orlov updated IGNITE-16870:
--------------------------------------
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.
was:
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.
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.
> Extend Schema with ability to specify function as default value generator
> -------------------------------------------------------------------------
>
> Key: IGNITE-16870
> URL: https://issues.apache.org/jira/browse/IGNITE-16870
> Project: Ignite
> Issue Type: New Feature
> Reporter: Konstantin Orlov
> Priority: Major
> Labels: ignite-3
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)