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


##########
modules/schema/src/main/java/org/apache/ignite/internal/schema/definition/builder/ColumnDefinitionBuilderImpl.java:
##########
@@ -78,6 +79,9 @@ public ColumnDefinitionBuilderImpl withHints(Map<String, 
String> hints) {
     /** {@inheritDoc} */
     @Override
     public ColumnDefinition build() {
-        return new ColumnDefinitionImpl(colName, colType, nullable, 
defValExpr);
+        var defaultSupp = defValExpr == null

Review Comment:
   This `create table t (c1 int, c2 int not null default null)` is a valid 
CREATE TABLE statement. Your example is the very same, but via Java API



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