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

Multicorn ClickHouse Issue #193

Open
levin-kelevra opened this issue Oct 18, 2017 · 0 comments
Open

Multicorn ClickHouse Issue #193

levin-kelevra opened this issue Oct 18, 2017 · 0 comments

Comments

@levin-kelevra
Copy link

Multicorn: commit 213ddb1
SqlAlchemy: 1.1.14
python: 2.7

CREATE SERVER alchemy_srv FOREIGN DATA WRAPPER multicorn options (
    wrapper 'multicorn.sqlalchemyfdw.SqlAlchemyFdw'
);
CREATE FOREIGN TABLE ch_allevents (
    VEHICLE_ID  Int8,
    DRIVER_CODE Int8,
    DRIVER_CODE_PRESENT Int,
    ADDRESS varchar  DEFAULT '',
    ADDRESS_PRESENT Int
) SERVER alchemy_srv OPTIONS (
    tablename 'allevents',
    db_url 'clickhouse://cluser:clpass@10.0.95.202/default'
);
postgres=# SELECT vehicle_id FROM ch_allevents;
ERROR:  Error in python: Exception
DETAILS:  Code: 47, e.displayText() = DB::Exception: Unknown identifier: vehicle_id, e.what() = DB::Exception
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

1 participant