athena-client
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -28,6 +28,6 @@ /// <reference types="node" /> | ||
execute<T>(query: string, callback: (err?: Error, result?: AthenaExecutionResult<T>) => void): void; | ||
private _execute(query, csvTransform, config); | ||
private canStartQuery(); | ||
private startQuery(); | ||
private endQuery(); | ||
private _execute; | ||
private canStartQuery; | ||
private startQuery; | ||
private endQuery; | ||
} |
@@ -11,2 +11,3 @@ /// <reference types="node" /> | ||
encryptionKmsKey?: string; | ||
workGroup?: string; | ||
} | ||
@@ -13,0 +14,0 @@ export declare class AthenaRequest { |
@@ -24,2 +24,3 @@ "use strict"; | ||
}, | ||
WorkGroup: config.workGroup || 'primary', | ||
}; | ||
@@ -26,0 +27,0 @@ const loopFunc = () => { |
{ | ||
"name": "athena-client", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"description": "a nodejs simple aws athena client", | ||
@@ -64,2 +64,2 @@ "homepage": "https://github.com/KoteiIto/node-athena", | ||
} | ||
} | ||
} |
@@ -91,4 +91,4 @@ [![Build Status](https://travis-ci.org/KoteiIto/node-athena.svg?branch=master)](https://travis-ci.org/KoteiIto/node-athena) | ||
| concurrentExecMax | 5 | DEPRECATED. Use `athena.setConcurrentExecMax()` instead | | ||
| workGroup | 'primary' | Optional. The name of the workgroup within which the query executes | ||
#### `awsConfig` object properties | ||
@@ -95,0 +95,0 @@ | Property | Default | Description | |
@@ -167,3 +167,3 @@ import { Athena } from 'aws-sdk' | ||
// Wait for timeout or query success | ||
while (!isTimeout && !await this.request.checkQuery(queryId, config)) { | ||
while (!isTimeout && !(await this.request.checkQuery(queryId, config))) { | ||
await util.sleep(config.pollingInterval || defaultPollingInterval) | ||
@@ -170,0 +170,0 @@ } |
@@ -13,2 +13,3 @@ import { Athena, AWSError } from 'aws-sdk' | ||
encryptionKmsKey?: string | ||
workGroup?: string | ||
} | ||
@@ -34,2 +35,3 @@ | ||
QueryExecutionContext: QueryExecutionContextParam | ||
WorkGroup: string | ||
} | ||
@@ -67,2 +69,3 @@ | ||
}, | ||
WorkGroup: config.workGroup || 'primary', | ||
} | ||
@@ -69,0 +72,0 @@ const loopFunc = () => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2199
124057