kovihq / sqltools-athena-driver

AWS Athena Driver for VSCode Plugin SQLTools
MIT License
5 stars 11 forks source link

Unable to view database tables anymore #41

Open wtfzambo opened 10 months ago

wtfzambo commented 10 months ago

Hello, first of all thanks for the driver, really useful!

Secondly, I encountered a little problem recently: If, in the SQLTools panel view, I try to view the tables of any database (see screenshot)

image

I get the following error:

Request connection/GetChildrenForTreeItemRequest failed with message: Cannot read properties of undefined (reading 'ResultSet')

This wasn't happening a couple of weeks ago, so I presume this might be connected to a recent release?

Querying works fine, so I'm not exactly sure what's going on here.

Lemme know what else I can do to help debugging this :) !

sov-kschroer commented 9 months ago

Hi everyone, yes I agree the driver is really helpful. And I stumbled across the same issue and resort to workarounds by querying the table DDLs manually.

I now played around with different older versions. It looks like SQLTools AWS Athena Driver v0.3.0 is still working without issues but the latest updates to v.0.3.4 introduced this problem.

JohniMichels commented 8 months ago

We'll fix that issue in the next version. We can only work from time to time on this driver, and vscode had a major upgrade in how to debug the driver, so we had some drawbacks on the latest upgrade.

jpasner commented 3 days ago

Hey Folks, just wanted to say I just installed the plugin yesterday and am seeing this exact same issue. Seems a pull request has been created to try and address the issue in April but hasn't been accepted. That said the v0.3.0 workaround suggested above is still valid and works for me 😄

Thank you!