Question
How can I delete an interface using Qubole?
Answer
The following is an example of how to delete an interface with Qubole.
val deleteIn = df_web_ints.select("Id").filter("Id = 'TPH+10lKNgu6_BillPmntAcctSum_1629187905'")
import com.reltio.analytics.data.delete.DeleteInteractionBuilder
af.dataDelete.withBuilder(new DeleteInteractionBuilder()
.withDeleteEvents(true)
.fromDataFrame(deleteIn)
.idColumn("Id")
.ofType("configuration/interactionTypes/Web_Portal")
).build()
.deleteAndGetJobId();
val df_to_delete = df_web_ints.filter("Id = 'TPH+10lKNgu6_BillPmntAcctSum_1629187905'")
df_to_delete.count()
Comments
Please sign in to leave a comment.