ygerzhedovich commented on code in PR #944:
URL: https://github.com/apache/ignite-3/pull/944#discussion_r923331668
##########
modules/api/src/main/java/org/apache/ignite/schema/definition/ColumnDefinition.java:
##########
@@ -43,10 +43,9 @@ public interface ColumnDefinition {
boolean nullable();
/**
- * Returns column default value expression.
+ * Returns default value definition.
*
- * @return Default column value expression.
+ * @return Default value definition.
*/
- //TODO: IGNITE-14479: Rename to defaultValueExpr or allow constants? How
to distinct expression from string constant???
- Object defaultValue();
+ DefaultValueDefinition defaultValueDefinition();
Review Comment:
```suggestion
<T extends DefaultValueDefinition> T defaultValueDefinition();
```
WDYT, will be better to use such approach here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]