added support for redshift

This commit is contained in:
Ari Brown 2023-08-01 12:38:16 -04:00
parent ac657f671d
commit adf909608d
3 changed files with 120 additions and 9 deletions

13
test2.py Normal file
View file

@ -0,0 +1,13 @@
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())