When running as command line:
./run.sh /scripts/rows.sqlFor running as AWS Lambda:
export ROLE=<IAM role which has an access to Athena and S3>
./deploy.shLambda expects the input event:
{
"query": "select count(*) from test"
}| Name | Name | Last commit date | ||
|---|---|---|---|---|
When running as command line:
./run.sh /scripts/rows.sqlFor running as AWS Lambda:
export ROLE=<IAM role which has an access to Athena and S3>
./deploy.shLambda expects the input event:
{
"query": "select count(*) from test"
}