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

Tables not showing in sqlite database upon successfully testing connetion #378

Closed
maresk opened this issue Apr 20, 2016 · 3 comments
Closed

Comments

@maresk
Copy link

maresk commented Apr 20, 2016

I created an sqlite database using the python api and loaded data into it from a csv and it works correctly and responds to SQL queries. I for some reason cannot see the columns upon using 'sqlite:////tmp/mydatabase.db' in Caravel . The testing connection says ok when the table loads but the column names do not show up in the bottom. I can see the column names when I click the sql link in the SQL link column and can SELECT columns and load the data on that page but cannot actually use any of the the column names when I try to create a new table and get the Table doesn't seem to exist in the specified database, couldn't fetch column information message. The tutorial says the column names should show up below after testing the connection. It works for the example database using 'sqlite:////tmp/caravel.db' but not for any other database. . Any idea what is wrong here ?

@mistercrunch
Copy link
Member

Are you sure you're pointing to your database properly? The Test Connection can give false positives.

@maresk
Copy link
Author

maresk commented Apr 21, 2016

I don't think that is the reason because I did suspect that and so copied my database into /tmp just to make sure that it exists alongside the caravel.db (from which loads columns correctly as expected). To be specific when I use the following sqlite:////tmp/caravel.db the columns show up correctly. But they do not show up when I substitute my database name which also exists in /tmp. As I mentioned in the previous post the columns do exist and are there because I can see the column name fields and select them using the SQL query when I click on the SQL Link field. Looks like the column names are not populated upon loading the database for some reason.

@maresk
Copy link
Author

maresk commented Apr 21, 2016

Fixed, turns out the only table was DATA .

@maresk maresk closed this as completed Apr 21, 2016
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
* fix: make all filter operators uppercase

* fix: test case

* fix: convertFilter test case
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
* fix: make all filter operators uppercase

* fix: test case

* fix: convertFilter test case
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
* fix: make all filter operators uppercase

* fix: test case

* fix: convertFilter test case
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
* fix: make all filter operators uppercase

* fix: test case

* fix: convertFilter test case
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

2 participants