[
https://issues.apache.org/jira/browse/IGNITE-14479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Mashenkov updated IGNITE-14479:
--------------------------------------
Description:
Let's add default column values support.
Tuple has no default-value-map support (like null-map).
Thus, we should be able to answer if a 'null' value was set or a value was not
set to Tuple and write a default column value to Row explicitly if it was not
specified in Tuple.
This may require extending the Tuple contract, which is ok.
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 value MUST be of the native supported type or a byte[] with a
serialized value that can be compared as byte[].
was:
Let's add default column values support.
Tuple has no default-value-map support (like null-map).
Thus, we should be able to answer if a 'null' value was set or a value was not
set to Tuple
and write a default column value to Row explicitely if it was not specified in
Tuple.
This may require extending the Tuple contract, which is ok.
> Add column default values support.
> ----------------------------------
>
> Key: IGNITE-14479
> URL: https://issues.apache.org/jira/browse/IGNITE-14479
> Project: Ignite
> Issue Type: New Feature
> Reporter: Andrey Mashenkov
> Priority: Major
>
> Let's add default column values support.
> Tuple has no default-value-map support (like null-map).
> Thus, we should be able to answer if a 'null' value was set or a value was
> not set to Tuple and write a default column value to Row explicitly if it was
> not specified in Tuple.
> This may require extending the Tuple contract, which is ok.
> 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 value MUST be of the native supported type or a byte[] with a
> serialized value that can be compared as byte[].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)