Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Athena connector never activates Query tab #577

Open
technicallyfeasible opened this issue Apr 17, 2020 · 0 comments
Open

Athena connector never activates Query tab #577

technicallyfeasible opened this issue Apr 17, 2020 · 0 comments

Comments

@technicallyfeasible
Copy link

I have an Athena database that I wanted to connect to. The connection itself seems to work but the Query tab stays deactivated.

Investigating the issue in the code, the problem boils down to no tables being returned by the connector and the interface then does not enable the Query tab.

The core issue is this line in the athena connector:

        const tableNames = dataSet.slice(1).map(row => row.Data[0].VarCharValue);

Our Athena database has only a single table so this will return an empty array.

I do not see any reason for this slice(1) to be there and why the first table should not be returned. Can anyone shed some light on this? Generally this should be an easy fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant