diff --git a/lib/athenaExpress.js b/lib/athenaExpress.js index ceb5194..f1bd82d 100644 --- a/lib/athenaExpress.js +++ b/lib/athenaExpress.js @@ -192,12 +192,10 @@ function getRawResultsFromS3(lineReader) { .on("close", function() { resolve(rawJson); }); - z; }); } function cleanUpDML(lineReader) { - let headerList = [], isFirstRecord = true, cleanJson = [], @@ -216,7 +214,7 @@ function cleanUpDML(lineReader) { singleJsonRow = {}; noOfColumns = line.length; for (let i = 0; i < noOfColumns; i++) { - if(line[i].length) { + if (line[i].length) { singleJsonRow[[headerList[i]]] = line[i]; } } @@ -234,7 +232,7 @@ function cleanUpNonDML(lineReader) { return new Promise(function(resolve, reject) { lineReader .on("line", line => { - console.log(line) + console.log(line); switch (true) { case line.indexOf("\t") > 0: diff --git a/package.json b/package.json index c11bf09..6e87598 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "athena-express", - "version": "3.1.5", + "version": "3.2.5", "description": "Athena-Express makes it easier to execute SQL queries on Amazon Athena by consolidating & astracting several methods in the AWS SDK", "main": "./lib/index.js", "scripts": {