flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink pull request #5964: [FLINK-8655] [Cassandra Connector] add keyspace in...
Date Wed, 16 May 2018 08:45:55 GMT
Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5964#discussion_r188546038
  
    --- Diff: flink-connectors/flink-connector-cassandra/src/main/java/org/apache/flink/streaming/connectors/cassandra/CassandraSink.java
---
    @@ -470,6 +488,9 @@ protected void sanityCheck() {
     			if (query == null || query.length() == 0) {
     				throw new IllegalArgumentException("Query must not be null or empty.");
     			}
    +			if (keyspace != null && keyspace.length() != 0) {
    +				throw new IllegalArgumentException("Specifying a keyspace is only allowed when using
a Pojo-Stream as input.");
    --- End diff --
    
    same as above


---

Mime
View raw message