danny0405 commented on a change in pull request #1754: [CALCITE-3730] Add hints 
to RelBuilder
URL: https://github.com/apache/calcite/pull/1754#discussion_r366147759
 
 

 ##########
 File path: 
cassandra/src/main/java/org/apache/calcite/adapter/cassandra/CassandraSchema.java
 ##########
 @@ -140,7 +140,7 @@ public CassandraSchema(String host, int port, String 
keyspace, String username,
     this.parentSchema = parentSchema;
     this.name = name;
 
-    this.hook = Hook.TRIMMED.add(node -> {
+    this.hook = Hook.TRIMMED.addThread(node -> {
       CassandraSchema.this.addMaterializedViews();
     });
 
 Review comment:
   Fix the compile warnings.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to