How to use aws athena using nodejs?
问题 Athena is analytics service for retrieving data from s3 using sql query. I have queried data in s3 using t aws console Need access to aws athena using nodejs code 回答1: I am using athena like following way in my nodejs project : download JDBC driver from AWS. Create a connector.js file. npm install jdbc NPM. Paste followings: var JDBC = require('jdbc'); var jinst = require('jdbc/lib/jinst'); if (!jinst.isJvmCreated()) { jinst.addOption("-Xrs"); jinst.setupClasspath(['./AthenaJDBC41-*.jar']); }