[
https://issues.apache.org/jira/browse/FLINK-6225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978152#comment-15978152
]
ASF GitHub Bot commented on FLINK-6225:
---------------------------------------
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/3748#discussion_r112615718
--- Diff:
flink-connectors/flink-connector-cassandra/src/test/java/org/apache/flink/streaming/connectors/cassandra/CassandraConnectorITCase.java
---
@@ -402,6 +410,20 @@ public void testCassandraTupleAtLeastOnceSink() throws
Exception {
}
@Test
+ public void testCassandraRowAtLeastOnceSink() throws Exception {
+ StreamExecutionEnvironment env =
StreamExecutionEnvironment.getExecutionEnvironment();
+ env.setParallelism(1);
+
+ DataStreamSource<org.apache.flink.types.Row> source =
env.fromCollection(rowCollection);
+ source.addSink(new CassandraRowSink(INSERT_DATA_QUERY,
builder));
--- End diff --
This should use the CassandraRowSinkBuilder to test the row type detection.
I know other tests don't do that either, but the should actually.
> Support Row Stream for CassandraSink
> ------------------------------------
>
> Key: FLINK-6225
> URL: https://issues.apache.org/jira/browse/FLINK-6225
> Project: Flink
> Issue Type: New Feature
> Components: Cassandra Connector
> Affects Versions: 1.3.0
> Reporter: Jing Fan
> Assignee: Haohui Mai
> Fix For: 1.3.0
>
>
> Currently in CassandraSink, specifying query is not supported for row-stream.
> The solution should be similar to CassandraTupleSink.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)