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

Function is_loaded

testdata/bin/load_nested.py:67–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65chunks = None
66
67def is_loaded():
68 with cluster.impala.cursor() as cursor:
69 try:
70 # If the part table exists, assume everything is already loaded.
71 cursor.execute("DESCRIBE %s.part" % target_db)
72 return True
73 except Exception as e:
74 if "AnalysisException" not in str(e):
75 raise
76 return False
77
78
79def load():

Callers 1

load_nested.pyFile · 0.85

Calls 2

cursorMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected