use of io.cdap.cdap.data2.metadata.lineage.LineageTable in project cdap by caskdata.
the class LineageAdminTest method cleanup.
@After
public void cleanup() throws Exception {
deleteNamespace(NamespaceId.DEFAULT.getNamespace());
TransactionRunner transactionRunner = getInjector().getInstance(TransactionRunner.class);
TransactionRunners.run(transactionRunner, context -> {
LineageTable table = LineageTable.create(context);
table.deleteAll();
});
}
Aggregations