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/06/22 15:08:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17557509#comment-17557509 ] 

Konstantin Orlov commented on IGNITE-16870:
-------------------------------------------

The issue is blocked by a lack of DEFAULT operator support

> 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
>            Assignee: 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.7#820007)