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

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

                Author: ASF GitHub Bot
            Created on: 19/Nov/18 09:00
            Start Date: 19/Nov/18 09:00
    Worklog Time Spent: 10m 
      Work Description: fabienrousseau commented on a change in pull request 
#7064: [BEAM-6079] Add ability for CassandraIO to delete data
URL: https://github.com/apache/beam/pull/7064#discussion_r234535632
 
 

 ##########
 File path: 
sdks/java/io/cassandra/src/main/java/org/apache/beam/sdk/io/cassandra/CassandraIO.java
 ##########
 @@ -499,4 +506,191 @@ public void teardown() throws Exception {
       writer = null;
     }
   }
+
+  /**
+   * A {@link PTransform} to delete into Apache Cassandra. See {@link 
CassandraIO} for details on
+   * usage and configuration.
+   */
+  @AutoValue
+  public abstract static class Delete<T> extends PTransform<PCollection<T>, 
PDone> {
 
 Review comment:
   Sure we can probably reuse. This was a first version to have something 
working quickly and start a discussion.
   Thanks for the feedback. I'll improve the patch 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:
[email protected]


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

    Worklog Id:     (was: 167311)
    Time Spent: 0.5h  (was: 20m)

> Add ability for CassandraIO to delete data
> ------------------------------------------
>
>                 Key: BEAM-6079
>                 URL: https://issues.apache.org/jira/browse/BEAM-6079
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-cassandra
>            Reporter: Fabien Rousseau
>            Assignee: Fabien Rousseau
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently, it's possible to read & write data using CassandraIO.
> It would be nice to be able to delete using a CassandraIO.delete().
>  
> I can provide a PR



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

Reply via email to