forked from bellwether/minerva
added examples
This commit is contained in:
parent
ffdd27e506
commit
f4dd130266
5 changed files with 102 additions and 0 deletions
16
examples/athena_basic_execute.py
Normal file
16
examples/athena_basic_execute.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import minerva
|
||||
import pprint
|
||||
|
||||
pp = pprint.PrettyPrinter(indent=4)
|
||||
|
||||
m = minerva.Minerva("hay")
|
||||
athena = m.athena("s3://haystac-pmo-athena/")
|
||||
|
||||
query = athena.execute(
|
||||
"""
|
||||
create database if not exists test
|
||||
"""
|
||||
)
|
||||
print(query.finish())
|
||||
print(query.runtime)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue