When I got the records to the query of 'SHOW TABLES IN hoge'
I got the rows in node-athena.
[ Row { hoge: 'fuga' },
Row { hoge: 'piyo' }]
The sample code I used is here.
const client = createClient(
{ bucketUri: 's3://bucket_path' },
{ region: 'ap-northeast-1' }
)
const tables = await client
.execute(`SHOW TABLES IN hoge`)
.toPromise()
console.log(tables.records)
When I got the records to the query of 'SHOW TABLES IN hoge'
I got the rows in node-athena.
The sample code I used is here.