lowka commented on code in PR #3627:
URL: https://github.com/apache/ignite-3/pull/3627#discussion_r1571901207


##########
modules/catalog/src/main/java/org/apache/ignite/internal/catalog/commands/DefaultValue.java:
##########
@@ -51,10 +65,20 @@ public static DefaultValue constant(@Nullable Object value) 
{
     /** Types of the defaults. */
     public enum Type {
         /** Default is specified as a constant. */
-        CONSTANT,
+        CONSTANT(0),
 
         /** Default is specified as a call to a function. */
-        FUNCTION_CALL
+        FUNCTION_CALL(1);
+
+        /** Represents absent of default value ({@code null}). */
+        private static final int NO_DEFAULT = -1;
+
+        /** type id used by serialization. */

Review Comment:
   Thanks.



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