kramerul commented on pull request #2441:
URL: https://github.com/apache/calcite/pull/2441#issuecomment-864835346
I tried to change it to the `Supplier` Pattern, but now I get
```
[methodref.receiver.bound.invalid] Incompatible receiver type
this.protoRowTypeSupplier = Suppliers.memoize(this::supplyProto);
^
found :
@UnderInitialization(org.apache.calcite.adapter.java.AbstractQueryableTable.class)
@NonNull JdbcTable
required: @Initialized @NonNull JdbcTable
Consequence: method
@UnderInitialization(org.apache.calcite.adapter.java.AbstractQueryableTable.class)
@NonNull JdbcTable
is not a valid method reference for
@Initialized @NonNull RelProtoDataType supplyProto(@Initialized @NonNull
JdbcTable this) in org.apache.calcite.adapter.jdbc.JdbcTable
```
I don't know how to fix this.
--
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]