[
https://issues.apache.org/jira/browse/BEAM-6324?focusedWorklogId=202461&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-202461
]
ASF GitHub Bot logged work on BEAM-6324:
----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Feb/19 09:09
Start Date: 22/Feb/19 09:09
Worklog Time Spent: 10m
Work Description: srfrnk commented on issue #7340: [BEAM-6324] -
Cassandra reader with query implemented
URL: https://github.com/apache/beam/pull/7340#issuecomment-466327140
@echauchot I would like that of course - however I don't know how that can
be achieved at this time. I was hoping at the beginning to be able to create an
API similar to BigQueryIO which I used a lot and liked very much. It also has a
`.withQuery` function similar to `ElasticsearchIO`. However with the current
method where a query is buing built for the splits in `CassandraIO` I can't
think of a safe and comfortable way of allowing the user bring his own query
while managing the query for the splitting.
I finally settled on having the user supply a filter in the form of a
partial `Where` clause.
Can you think of a better way?
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 202461)
Time Spent: 9h (was: 8h 50m)
> CassandraIO.Read - Add the ability to provide a filter to the query
> -------------------------------------------------------------------
>
> Key: BEAM-6324
> URL: https://issues.apache.org/jira/browse/BEAM-6324
> Project: Beam
> Issue Type: Improvement
> Components: io-java-cassandra
> Affects Versions: 2.9.0
> Reporter: Shahar Frank
> Assignee: Shahar Frank
> Priority: Major
> Labels: performance, pull-request-available, triaged
> Time Spent: 9h
> Remaining Estimate: 0h
>
> CassandraIO.Read doesn't support using WHERE to filter the input at the
> source (In Cassandra) which might provide great performance boost.
> Already implemented by:
> https://github.com/apache/beam/pull/7340
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)