forked from bellwether/minerva
15 lines
263 B
Python
15 lines
263 B
Python
import minerva
|
|
import sys
|
|
|
|
m = minerva.Minerva("hay-te")
|
|
|
|
athena = m.athena("s3://haystac-te-athena/")
|
|
file = sys.argv[1] # "/tmp/queries.txt"
|
|
|
|
with open(file, 'r') as f:
|
|
txt = f.read()
|
|
|
|
for line in txt.split("\n"):
|
|
print(line)
|
|
athena.cancel(line)
|
|
|