forked from bellwether/minerva
13 lines
345 B
Python
13 lines
345 B
Python
import blueshift as b
|
|
import pprint
|
|
|
|
pp = pprint.PrettyPrinter(indent=4)
|
|
|
|
red = b.Redshift("hay", "s3://haystac-pmo-athena/",
|
|
db="dev",
|
|
cluster="redshift-cluster-1")
|
|
query = red.query("select count(*) from myspectrum_schema.kitware")
|
|
res = query.results()
|
|
pp.pprint(res.head(10))
|
|
pp.pprint(query.info())
|
|
|