superset icon indicating copy to clipboard operation
superset copied to clipboard

caravel can not use greenplum4.3(Postgresql 8.3) as datasource

Open qiutiaoming opened this issue 10 years ago • 7 comments

System version: Centos 6.3
PostgreSQL 8.3devel (Greenplum Database 4.3.99.00 build dev)

I can use select statements in /caravel/sql/* , but could not create table from datasource in caravel.below are some exception information.

image

qiutiaoming avatar Jul 19 '16 13:07 qiutiaoming

What postgres driver are you using? What's does your SqlAlchemy URI look like? I don't know much about Greenplum but I'd try something that starts with postgresql+psycopg2://

mistercrunch avatar Jul 22 '16 00:07 mistercrunch

Thanks @mistercrunch , driver: psycopg2 v2.5 , a bit older version of psycopg2,because, when I install the newest one, pip throw exception. SqlAlchemy url: postgresql+psycopg2://

qiutiaoming avatar Jul 22 '16 06:07 qiutiaoming

Greenplum 4.3 does work with caravel. I use a url like postgresql:// and psycopg2 v2.6.2

phreatom avatar Nov 14 '16 22:11 phreatom

Closing then, thanks @phreatom for the update!

xrmx avatar Nov 14 '16 22:11 xrmx

Added an entry in the docs for greenplum https://github.com/airbnb/superset/commit/84b98c234f852550ecf536e4a6e7ce2d7ebc5df6

mistercrunch avatar Nov 14 '16 23:11 mistercrunch

@phreatom ,Thansk for your test. @xrmx I think docs should add one column about the very basic version of db supported.

qiutiaoming avatar Nov 15 '16 02:11 qiutiaoming

I'm not sure what you mean by that.

mistercrunch avatar Nov 15 '16 04:11 mistercrunch