Closed deliverymanager closed 5 years ago
If I declare
const athenaExpressConfig = { aws, s3: "s3://bucket-name/sub-directory/", db: process.env.athena_database, getStats: true };
then this functions fails. Consider replacing with the following:
function getQueryResultsFromS3(params) { const bucket = params.config.s3Bucket.replace("s3://", "").split("/")[0]; const s3Params = { Bucket: bucket, Key: params.s3Output.replace("s3://" + bucket + "/", "") }
Just pushed 3.3.0 that supports sub folders. Good catch!
If I declare
then this functions fails. Consider replacing with the following: