Skip to content

Instantly share code, notes, and snippets.

View stephenconnolly1's full-sized avatar

Stephen Connolly stephenconnolly1

  • HSBC Retail Banking
  • United Kingdom
View GitHub Profile
@stephenconnolly1
stephenconnolly1 / athena-example.py
Created April 13, 2018 14:20
Example Python script to create athena table from some JSON records and query it
import boto3
import time
import json
import pprint
import sys
# Defaults
query_output = 's3://platform-prd-my-athena-output-bucket/outputs'
pp = pprint.PrettyPrinter(indent=2)
queryparams = {}

Keybase proof

I hereby claim:

  • I am stephenconnolly1 on github.
  • I am sconnoll (https://keybase.io/sconnoll) on keybase.
  • I have a public key ASC1eSnS_tA8kWcsu-2ymK4fS_ihBaTYGdU3zJ2R6lnQdgo

To claim this, I am signing this object: