MCPcopy Create free account
hub / github.com/apache/impala / delete_file_dir

Method delete_file_dir

tests/util/adls_util.py:66–71  ·  view source on GitHub ↗
(self, path, recursive=False)

Source from the content-addressed store, hash-verified

64 return self.adlsclient.exists(path)
65
66 def delete_file_dir(self, path, recursive=False):
67 try:
68 self.adlsclient.rm(path, recursive)
69 except exceptions.FileNotFoundError as e:
70 return False
71 return True
72
73 def get_all_file_sizes(self, path):
74 """Returns a list of integers which are all the file sizes of files found under

Calls

no outgoing calls