superset icon indicating copy to clipboard operation
superset copied to clipboard

How do I join tables?

Open gavinjackson opened this issue 10 years ago • 3 comments

Great looking product, any ideas how I join tables together? Or do I need to create views in the SQL database?

gavinjackson avatar Apr 04 '16 23:04 gavinjackson

Views or summary tables. We're not planning on supporting the level of semantics allowing joins anytime soon.

mistercrunch avatar Apr 05 '16 00:04 mistercrunch

I created a view in the SQL database but I cannot access it and it doesn't show up in caravel. Any kind of help would be appreciated.

mahedi0244 avatar Jul 08 '16 19:07 mahedi0244

@mahedi0244 - I faced the same issue after creating a VIEW using "DB Browser for SQLite" with a SQLite3 database. The view doesn't get written to the database file until you click on "Write Changes" button in "DB Browser for SQLite". Once you ensure the view is persisted in the database file, you can just import it as a table in Superset.

arun-rangarajan avatar Jan 01 '18 20:01 arun-rangarajan