Skip to content

CTAS results from a promise #57

Open
@GeoffThorpeFT

Description

@GeoffThorpeFT

Great library! I've been using it to execute and capture the results of a variety of Athena SQL commands. They all work apart from the CREATE TABLE AS.

When I execute the following I get a NoSuchKey: The specified key does not exist. error.

	const query = 'CREATE TABLE newtable WITH (format='ORC') SELECT * from rawtable';
        athena-client
		.execute(query)
		.toPromise()
		.then(result => {})
                .catch(error => {})

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