[ 
https://issues.apache.org/jira/browse/BEAM-3425?focusedWorklogId=94550&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-94550
 ]

ASF GitHub Bot logged work on BEAM-3425:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Apr/18 10:00
            Start Date: 24/Apr/18 10:00
    Worklog Time Spent: 10m 
      Work Description: aromanenko-dev commented on issue #4426: [BEAM-3425] 
Get the range start & end as String
URL: https://github.com/apache/beam/pull/4426#issuecomment-383875727
 
 
   @kubum This PR was closed and there is another PR #5124 which is supposed to 
fix these 3 CassandraIO issues. The work is in progress but we expect that it 
will be merged soon.

----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 94550)
    Time Spent: 20m  (was: 10m)

> 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: Alexander Dejanovski
>            Priority: Major
>          Time Spent: 20m
>  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
(v7.6.3#76005)

Reply via email to