Giter VIP home page Giter VIP logo

Comments (14)

traceon avatar traceon commented on August 18, 2024 1

Implemented in master.

from clickhouse-odbc.

nvm1 avatar nvm1 commented on August 18, 2024 1

@filimonov , @traceon , @Enmk , thank you for the efforts, guys, but the issue is still there. The logs for select 1 query:
SQL.LOG

from clickhouse-odbc.

MathMagique avatar MathMagique commented on August 18, 2024

It is basically about the Clickhouse ODBC driver not supporting parameters properly, and thus being non-compliant with the ODBC core level interface.

from clickhouse-odbc.

MathMagique avatar MathMagique commented on August 18, 2024

It is probably closely related to #27

from clickhouse-odbc.

Enmk avatar Enmk commented on August 18, 2024

@nvm1 could you please check if issue is resolved now?

from clickhouse-odbc.

nvm1 avatar nvm1 commented on August 18, 2024

@Enmk , i'd love to, but I'm afraid I don't uderstand how to setup the version from master on windows without msi :(

from clickhouse-odbc.

traceon avatar traceon commented on August 18, 2024

We are preparing the next release, it will be made available soon, msi's will be published too.

from clickhouse-odbc.

nvm1 avatar nvm1 commented on August 18, 2024

@traceon, super, looking forward to the release! I will test it asap and get back with the results ;)

from clickhouse-odbc.

filimonov avatar filimonov commented on August 18, 2024

@nvm1 please try https://github.com/ClickHouse/clickhouse-odbc/releases/tag/v1.1.0.20191028

from clickhouse-odbc.

traceon avatar traceon commented on August 18, 2024

Oh, ok, I see where the problem is. The function is not exported.

from clickhouse-odbc.

traceon avatar traceon commented on August 18, 2024

Please give this a try: https://github.com/ClickHouse/clickhouse-odbc/releases/tag/v1.1.1.20191108

from clickhouse-odbc.

nvm1 avatar nvm1 commented on August 18, 2024

@traceon, it is alive! I managed to connect and obtain some data. Thank you! The only problem that I currently see, is that turbodbc is surprisingly 30-40% slower than pyodbc, while in other cases like postgresql or mysql it's like 50-200% faster. I guess the problem is somewhere in the communication between clickhouse-odbc and turbodbc. I'm not sure if you guys want and look into that, but if you will, probably @MathMagique could help to diagnoze the problem. From my side I'd happy to actively participate in tests :)

from clickhouse-odbc.

traceon avatar traceon commented on August 18, 2024

@nvm1 Glad it improved things for you!

Regarding the performance issue, it would really help if you provide some self-contained reproducible cases, with both pyodbc and turbodbc, that could be used as reference for the problem and, hopefully, the improvement. Maybe in a separate issue?

from clickhouse-odbc.

filimonov avatar filimonov commented on August 18, 2024

Closing this as SQLNumParams is now supported.

@nvm1 @MathMagique please open issue with samples showing performance difference. We definitely will look on that and will try to improve driver if possible.

from clickhouse-odbc.

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.