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

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

                Author: ASF GitHub Bot
            Created on: 20/Mar/19 10:02
            Start Date: 20/Mar/19 10:02
    Worklog Time Spent: 10m 
      Work Description: stankiewicz commented on issue #8090: [BEAM-6861] 
Select fields and computed fields in CassandraIO.Read
URL: https://github.com/apache/beam/pull/8090#issuecomment-474762545
 
 
   @iemejia , thanks for feedback - challenge with withQuery in JdbcIO is that 
it is expected to be full query, like `select a from b` or `select a from b 
where c='d'`.
   In CassandraIO select is generated so it can be split based on key ranges so 
'where' part is partially dynamic so where part is set via separate field and I 
want select fields also set via separate field/list of fields.
   That's why external (generic to all APIs) builder can be challenge to 
support every case, unless it gives placeholder for each of those (select 
fields, where fields).
   So I generally agree about cleaning it up but I don't think I could 
generalize mentioned MongoDB (BEAM-6241) or JdbcIO and reuse it in CassandraIO 
query builder because they are totally different but definitely I could try to 
create such builder for Cassandra that will gather projection/select fields and 
filter and will produce query for CassandraIO
 
----------------------------------------------------------------
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: 216093)
    Time Spent: 2.5h  (was: 2h 20m)

> 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: 2.5h
>  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