Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
/ athena-cmd Public archive
forked from mikeplavsky/athena-cmd

run aws athena sql scripts wither from CLI or as Lambda

License

Notifications You must be signed in to change notification settings

QSFT/athena-cmd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

When running as command line:

./run.sh /scripts/rows.sql

For running as AWS Lambda:

export ROLE=<IAM role which has an access to Athena and S3>
./deploy.sh

Lambda expects the input event:

{
    "query": "select count(*) from test"
}

About

run aws athena sql scripts wither from CLI or as Lambda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 47.3%
  • PLpgSQL 33.3%
  • Shell 19.4%