vlsi commented on a change in pull request #2356:
URL: https://github.com/apache/calcite/pull/2356#discussion_r583553701
##########
File path: core/src/main/java/org/apache/calcite/rel/type/RelDataType.java
##########
@@ -40,6 +40,11 @@
int SCALE_NOT_SPECIFIED = Integer.MIN_VALUE;
int PRECISION_NOT_SPECIFIED = -1;
+ /**
+ * Suffix for the digests of non-nullable types.
+ */
+ String NON_NULLABLE_TYPE_DIGEST_SUFFIX = " NOT NULL";
Review comment:
Frankly speaking, I do not like how this leaks to the public API.
Could you declare the constant in a Calcite-private location to prevent it
accidental use in the client code?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]