danny0405 commented on a change in pull request #1754: [CALCITE-3730] Add hints
to RelBuilder
URL: https://github.com/apache/calcite/pull/1754#discussion_r366160219
##########
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:
@vlsi Can you help to see this problem ? when i try to replace the `add`
with `addThread`, the jdk8 tests failed because of the concurrent modification
exception.
----------------------------------------------------------------
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