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

Function get_test_file_path

testdata/bin/load-tpc-kudu.py:78–83  ·  view source on GitHub ↗
(workload)

Source from the content-addressed store, hash-verified

76 impala.execute(query_str)
77
78def get_test_file_path(workload):
79 if "IMPALA_HOME" not in os.environ:
80 raise Exception("IMPALA_HOME must be set")
81 sql_file_path = os.path.join(os.environ["IMPALA_HOME"], "testdata", "datasets",
82 workload, "%s_kudu_template.sql" % (workload))
83 return sql_file_path
84
85if __name__ == "__main__":
86 from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser

Callers 1

load_dataFunction · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected