korlov42 commented on code in PR #944:
URL: https://github.com/apache/ignite-3/pull/944#discussion_r928825547


##########
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:
   As for me, such an approach doesn't bring any value, but makes the code more 
complex. So I would prefer to stick with current approach



-- 
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]

Reply via email to