ASF GitHub Bot logged work on BEAM-3425:

                Author: ASF GitHub Bot
            Created on: 12/Mar/18 20:17
            Start Date: 12/Mar/18 20:17
    Worklog Time Spent: 10m 
      Work Description: kubum commented on issue #4426: [BEAM-3425] Get the 
range start & end as String
URL: https://github.com/apache/beam/pull/4426#issuecomment-372448376
   Hi @jbonofre! Do you know what is the state of spliting at the moment? I see 
it is still the same in master, do you need any help with that?

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

            Worklog Id:     (was: 79595)
            Time Spent: 10m
    Remaining Estimate: 0h

> CassandraIO fails to estimate size: Codec not found for requested operation: 
> [varchar <-> java.lang.Long]
> ---------------------------------------------------------------------------------------------------------
>                 Key: BEAM-3425
>                 URL: https://issues.apache.org/jira/browse/BEAM-3425
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-cassandra
>            Reporter: Eugene Kirpichov
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
> See exception in 
> https://stackoverflow.com/questions/48090668/how-to-increase-dataflow-read-parallelism-from-cassandra/48131264#48131264
>  .
> The exception comes from 
> https://github.com/apache/beam/blob/master/sdks/java/io/cassandra/src/main/java/org/apache/beam/sdk/io/cassandra/CassandraServiceImpl.java#L279
>  , where I suppose "range_start" and "range_end" are really varchar, but the 
> code expects them to be long.
> Indeed they are varchar: 
> https://github.com/apache/cassandra/blob/4c80eeece37d79f434078224a0504400ae10a20d/src/java/org/apache/cassandra/db/SystemKeyspace.java#L238
>  and have been for at least the past 3 years.
> However really they seem to be storing longs: 
> https://github.com/apache/cassandra/blob/95b43b195e4074533100f863344c182a118a8b6c/src/java/org/apache/cassandra/hadoop/cql3/CqlInputFormat.java#L229
> So I guess all that needs to be fixed is adding a Long.parseLong.

This message was sent by Atlassian JIRA

Reply via email to