Coder Social home page Coder Social logo

Comments (5)

xzkostyan avatar xzkostyan commented on August 28, 2024

Hi!

How can I exactly reproduce the problem?

from clickhouse-sqlalchemy.

hemantjadon avatar hemantjadon commented on August 28, 2024

You can reproduce this by simply trying to add a clickhouse database to superset. There is no error on stack trace. Using this dialect. The code is going haywire at base.py line 463.
Here https://github.com/xzkostyan/clickhouse-sqlalchemy/blob/master/clickhouse_sqlalchemy/drivers/base.py#L463

screen shot 2018-08-17 at 3 40 25 pm

See right hand side debug trace.

from clickhouse-sqlalchemy.

xzkostyan avatar xzkostyan commented on August 28, 2024

Can you provide small piece of code that reproduce the problem, please?

from clickhouse-sqlalchemy.

hemantjadon avatar hemantjadon commented on August 28, 2024

What I did was:

  • Run superset, (in dev mode)
  • Try to connect to clickhouse clichouse://default:@<host>:<port>
  • The error appears.

What I have found out is that, on L463, it should be self._execute() instead of connection.execute(), I tried and the db got successfully added.

from clickhouse-sqlalchemy.

xzkostyan avatar xzkostyan commented on August 28, 2024

I suppose we can close issue. Follow official superset guide for ClickHouse: https://superset.apache.org/docs/databases/clickhouse/

from clickhouse-sqlalchemy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.