You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by am...@apache.org on 2021/06/28 11:26:43 UTC
[ignite-3] branch ignite-14743-row-formats updated: Minors.
This is an automated email from the ASF dual-hosted git repository.
amashenkov pushed a commit to branch ignite-14743-row-formats
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/ignite-14743-row-formats by this push:
new 342fc64 Minors.
342fc64 is described below
commit 342fc64012610a215d508e79b1717f1b86a9d2ba
Author: Andrew Mashenkov <an...@gmail.com>
AuthorDate: Mon Jun 28 14:26:35 2021 +0300
Minors.
---
.../src/main/java/org/apache/ignite/internal/schema/Column.java | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/modules/schema/src/main/java/org/apache/ignite/internal/schema/Column.java b/modules/schema/src/main/java/org/apache/ignite/internal/schema/Column.java
index ecc0a85..f52af70 100644
--- a/modules/schema/src/main/java/org/apache/ignite/internal/schema/Column.java
+++ b/modules/schema/src/main/java/org/apache/ignite/internal/schema/Column.java
@@ -137,11 +137,7 @@ public class Column implements Comparable<Column>, Serializable {
* @return Default value.
*/
public Object defaultValue() {
- Object val = defValSup.get();
-
- assert nullable || val != null : "Null value is not accepted for not nullable column: [col=" + this + ']';
-
- return val;
+ return defValSup.get();
}
/** {@inheritDoc} */