forked from bellwether/minerva
17 lines
273 B
Python
17 lines
273 B
Python
import minerva
|
|
|
|
m = minerva.Minerva("hay-te")
|
|
|
|
athena = m.athena("s3://haystac-te-athena/")
|
|
file = "/tmp/queries.txt"
|
|
|
|
with open(file, 'r') as f:
|
|
txt = f.read()
|
|
|
|
for line in txt.split("\n"):
|
|
if not line:
|
|
continue
|
|
|
|
print(line)
|
|
athena.cancel(line)
|
|
|