- 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.
Let's implement a parser for a default value, that will support predefined functions.