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

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

                Author: ASF GitHub Bot
            Created on: 16/Nov/18 15:14
            Start Date: 16/Nov/18 15:14
    Worklog Time Spent: 10m 
      Work Description: iemejia 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_r234238999
 
 

 ##########
 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:
   Do you think we can reuse (maybe via inheriting from Write or making a new 
class to config both) the configuration from `Write`). I am a bit uneasy with 
the duplicate code.

----------------------------------------------------------------
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: 166914)
    Time Spent: 20m  (was: 10m)

> 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: 20m
>  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