You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2021/06/21 08:24:30 UTC

[GitHub] [calcite] kramerul commented on pull request #2441: [CALCITE-4655] Fix NullPointerExeption in JdbcTable.fieldClasses

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:
users@infra.apache.org