[
https://issues.apache.org/jira/browse/FLINK-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150488#comment-15150488
]
ASF GitHub Bot commented on FLINK-3332:
---------------------------------------
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/1654#discussion_r53162193
--- Diff:
flink-core/src/main/java/org/apache/flink/api/java/typeutils/runtime/TupleSerializerBase.java
---
@@ -56,7 +58,19 @@ public boolean isImmutableType() {
@Override
public int getLength() {
- return -1;
+ if (length == -2) {
+ int sum = 0;
+ for (TypeSerializer<Object> serializer :
fieldSerializers) {
+ if (serializer.getLength() != -1) {
--- End diff --
good idea, done.
> Provide an exactly-once Cassandra connector
> -------------------------------------------
>
> Key: FLINK-3332
> URL: https://issues.apache.org/jira/browse/FLINK-3332
> Project: Flink
> Issue Type: Improvement
> Components: Streaming Connectors
> Reporter: Robert Metzger
> Assignee: Chesnay Schepler
>
> With FLINK-3311, we are adding a Cassandra connector to Flink.
> It would be good to also provide an "exactly-once" C* connector.
> I would like to first discuss how we are going to implement this in Flink.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)