Coder Social home page Coder Social logo

Comments (3)

xzkostyan avatar xzkostyan commented on August 28, 2024

Hi.

You can try execute simple statement from clickhouse-driver

from clickhouse_driver import Client
c = Client('host', port=port)
c.execute('select 1')

It worked for me with server version 18.12.17.

Can you provide stacktrace after testing connectivity?

from clickhouse-sqlalchemy.

Matt-Texier avatar Matt-Texier commented on August 28, 2024

log server side:

2018.09.21 10:19:37.689855 [ 732 ] <Trace> TCPHandlerFactory: TCP Request. Address: [::ffff:XX.XXX.XXX.XXX]:55840
2018.09.21 10:19:37.690133 [ 732 ] <Debug> TCPHandler: Connected ClickHouse python-driver version 1.1.0, revision: 54337, database: default, user: default.
2018.09.21 10:19:37.710842 [ 732 ] {78b5422b-2398-47de-a786-19a3d7bc0e7a} <Debug> executeQuery: (from [::ffff:XX.XXX.XXX.XXX]:55840) select 1
2018.09.21 10:19:37.711277 [ 732 ] {78b5422b-2398-47de-a786-19a3d7bc0e7a} <Trace> InterpreterSelectQuery: FetchColumns -> Complete
2018.09.21 10:19:37.711388 [ 732 ] {78b5422b-2398-47de-a786-19a3d7bc0e7a} <Debug> executeQuery: Query pipeline:
Expression
 Expression
  One

2018.09.21 10:19:37.711825 [ 3148 ] {78b5422b-2398-47de-a786-19a3d7bc0e7a} <Trace> ThreadStatus: Thread 3148 exited
2018.09.21 10:19:37.711944 [ 463 ] <Trace> SystemLog (system.query_thread_log): Flushing system log
2018.09.21 10:19:37.712065 [ 732 ] {78b5422b-2398-47de-a786-19a3d7bc0e7a} <Information> executeQuery

python side (client):

>>> from clickhouse_driver import Client
>>> c = Client('XXX.XXX.XXX.XX', port=9000)
>>> c.execute('select 1')
[(1,)]
>>> 

Which tend to demonstrate that it is a superset issue ... isn't it ?

Thanks Matt.

from clickhouse-sqlalchemy.

Matt-Texier avatar Matt-Texier commented on August 28, 2024

Closing issue ... troubleshooting what's the issue in superset ... sorry for this useless issue.

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.