Skip to content

Commit 1f17a42

Browse files
committed
[CALCITE-7393] Support RelDataTypeDigest
fix missing function comment
1 parent e9682eb commit 1f17a42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/main/java/org/apache/calcite/rel/type/RelDataTypeImpl.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,9 @@ protected abstract void generateTypeString(
334334
boolean withDetail);
335335

336336
/**
337-
* Init the lazy digest computing field.
337+
* Init the lazy digest computing field {@link #innerDigest}.
338+
* This should be called in every non-abstract subclass
339+
* constructor once the type is fully defined.
338340
*/
339341
@SuppressWarnings("method.invocation.invalid")
340342
protected void computeDigest(@UnknownInitialization RelDataTypeImpl this) {

0 commit comments

Comments
 (0)