You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2021/09/14 10:51:00 UTC

[jira] [Updated] (IGNITE-14479) Column default values serialization.

     [ https://issues.apache.org/jira/browse/IGNITE-14479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Mashenkov updated IGNITE-14479:
--------------------------------------
    Description: 
# In SQL, Column Default can be a function that returns a default value for a column and KV API must be consistent with it.
# Most likely we can use Calcite parser to instantiate a function.
# The function return type must have native support.
# The Column Default is a part of schema configuration and intended to be transferred among nodes, incl. server nodes where can be no user classes.







  was:
# The Column default value is a part of schema configuration and intended to be transferred among nodes, incl. server nodes where can be no user classes.
Thus, the default value MUST be of the natively supported type or a byte[] with a serialized value.
# We should be able to write default to a row in raw format (as already serialized into byte[])  during a marshaling stage.
# We should always write defaults to Row during a marshaling stage as Row has no markers that a default value is stored for the column in the row.



> Column default values serialization.
> ------------------------------------
>
>                 Key: IGNITE-14479
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14479
>             Project: Ignite
>          Issue Type: New Feature
>            Reporter: Andrey Mashenkov
>            Priority: Major
>              Labels: iep-54, ignite-3
>             Fix For: 3.0.0-alpha3
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> # In SQL, Column Default can be a function that returns a default value for a column and KV API must be consistent with it.
> # Most likely we can use Calcite parser to instantiate a function.
> # The function return type must have native support.
> # The Column Default is a part of schema configuration and intended to be transferred among nodes, incl. server nodes where can be no user classes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)