(self, src_tbl, dst_tbl, recover_partitions, vector)
| 1427 | return result |
| 1428 | |
| 1429 | def clone_table(self, src_tbl, dst_tbl, recover_partitions, vector): |
| 1430 | src_loc = self._get_table_location(src_tbl, vector) |
| 1431 | self.client.execute("create external table {0} like {1} location '{2}'" |
| 1432 | .format(dst_tbl, src_tbl, src_loc)) |
| 1433 | if recover_partitions: |
| 1434 | self.client.execute("alter table {0} recover partitions".format(dst_tbl)) |
| 1435 | |
| 1436 | def appx_equals(self, a, b, diff_perc): |
| 1437 | """Returns True if 'a' and 'b' are within 'diff_perc' percent of each other, |
no test coverage detected