Example #1
0
 def test_delete(self):
     self.drop_table(True)
     self.create_table_using_datasource("row")
     sparkSession = SnappySession(self.sc)
     self.assertTrue(
         sparkSession.delete(SnappyContextTests.tablename, "col1=1"), 2)
     self.drop_table()
Example #2
0
 def test_delete(self):
     self.drop_table(True)
     self.create_table_using_datasource("row")
     sparkSession = SnappySession(self.sc)
     self.assertTrue(sparkSession.delete(SnappyContextTests.tablename, "col1=1"), 2)
     self.drop_table()