Skip to content

the rows of the query of 'SHOW TABLES' #45

@uzimith

Description

@uzimith

When I got the records to the query of 'SHOW TABLES IN hoge'

hoge
fuga 
piyo

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions