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

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

                Author: ASF GitHub Bot
            Created on: 20/Mar/19 17:23
            Start Date: 20/Mar/19 17:23
    Worklog Time Spent: 10m 
      Work Description: srfrnk commented on issue #8090: [BEAM-6861] Select 
fields and computed fields in CassandraIO.Read
URL: https://github.com/apache/beam/pull/8090#issuecomment-474942509
 
 
   Sorry for barging in on this.
   If there is a need for a more robust query building mechanism we might 
consider using [Datastux 
QueryBuilder](https://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/querybuilder/QueryBuilder.html).
   I tryed to go for that approach when I added `withWhere` but since their 
classes are not `Serializable` I could not.
   I attempted to fix this problem 
[here](https://github.com/datastax/java-driver/pull/1163) but it was rejected.
   Maybe with enough influence we can manage to make the change?
   If not maybe this repo can be forked into Beam and so a working QueryBuilder 
can be used without having to rebuild it?
   
   WDYT?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 216342)
    Time Spent: 3h 50m  (was: 3h 40m)

> Select fields and computed fields in CassandraIO.Read 
> ------------------------------------------------------
>
>                 Key: BEAM-6861
>                 URL: https://issues.apache.org/jira/browse/BEAM-6861
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-cassandra
>            Reporter: Radosław Stankiewicz
>            Assignee: Radosław Stankiewicz
>            Priority: Minor
>              Labels: features
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> CassandraIO.Read currently selects all fields and maps them to POJO.
> To make this component more flexible, it should be possible to select only 
> subset of fields or computed fields to allow reading things like write 
> Timestamp or using other functions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to