echauchot commented on a change in pull request #18544:
URL: https://github.com/apache/flink/pull/18544#discussion_r809992449



##########
File path: 
flink-connectors/flink-connector-cassandra/src/test/java/org/apache/flink/streaming/connectors/cassandra/CassandraConnectorITCase.java
##########
@@ -206,6 +209,79 @@ protected Cluster buildCluster(Cluster.Builder builder) {
         }
     }
 
+    private static String setTableNameInPojo(Class<?> claz, String testName) 
throws Exception {
+        Table clazTableAnnotation = claz.getAnnotation(Table.class);
+        final String newName = clazTableAnnotation.name() + testName;
+        // BEWARE it is JDK 8 specific
+        final Method annotationDataMethod = 
Class.class.getDeclaredMethod("annotationData", null);

Review comment:
       @zentol all done, PTAL




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to