ygerzhedovich commented on code in PR #944:
URL: https://github.com/apache/ignite-3/pull/944#discussion_r923133457
##########
modules/schema/src/main/java/org/apache/ignite/internal/schema/Column.java:
##########
@@ -30,7 +29,7 @@
*/
public class Column {
/** Default "default value supplier". */
- private static final Supplier<Object> NULL_SUPPLIER = () -> null;
+ private static final DefaultValueProvider NULL_SUPPLIER =
DefaultValueProvider.constantProvider(null);
Review Comment:
Could we add 'nullProvider' into DefaultValueProvider? I think it common
case and we could save a memory.
--
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]