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:
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.
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:
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.