Example #1
0
 def truncate_table(self):
     sparkSession = SnappySession(self.sc)
     sparkSession.truncateTable(SnappyContextTests.tablename)
Example #2
0
 def truncate_table(self):
     sparkSession = SnappySession(self.sc)
     sparkSession.truncateTable(SnappyContextTests.tablename, True)