Athena-Express can simplify executing SQL queries in Amazon Athena AND fetching cleaned-up JSON results in the same synchronous or asynchronous request - well suited for web applications.
I ran into a problem where I was trying to make Athena queries against two AWS regions simultaneously. I was using aws.config.update to set my region each time, but that's a global config that would change in-between the Athena and S3 calls in athena-express.
To solve, I've added a new config parameter region that can be passed into the constructor. If it's not passed, the default behaviour will set the region.
I ran into a problem where I was trying to make Athena queries against two AWS regions simultaneously. I was using
aws.config.update
to set my region each time, but that's a global config that would change in-between the Athena and S3 calls inathena-express
.To solve, I've added a new config parameter
region
that can be passed into the constructor. If it's not passed, the default behaviour will set the region.