Giter VIP home page Giter VIP logo

Comments (4)

sunsingerus avatar sunsingerus commented on June 1, 2024

Some clarification is needed. Would you like to add driver on every cluster's node? Why not to add driver on the client's side?

from clickhouse-operator.

filimonov avatar filimonov commented on June 1, 2024

@sunsingerus we need to have reciepe for that.

Most probably can be done as
A) install unixODBC package
B) install needed odbc driver via package/archive (we can pick one as a sample) - it can be postgres, Oracle, sql server etc.
C) register odbc DSN using a template provided by user and using odbcint tool

Check that
https://github.com/ClickHouse/ClickHouse/pull/9348/files#diff-62c528ac2c8fb7f5282ea76540fe63b6
(obviously instead of clickhouse odbc driver we need some other in sample, because clickhouse usually need to connect to some external sources via odbc, not to other clickhouse)
Similar - for jdbc.

from clickhouse-operator.

a-dot avatar a-dot commented on June 1, 2024

+1 for this..

Can you post some information on how to add the shared library for the ODBC driver and the odbc.ini file in the right spot so the ODBC table engine can pick it up?

Thanks!

from clickhouse-operator.

Slach avatar Slach commented on June 1, 2024

@a-dot you need custom image which contains required ODBC driver
look Docker file examples on https://gist.github.com/9f9449a722091a13a9069b79f8dc7da7
build and publish custom image with installed ODBC drivers

after that
look kubectl explain chi.spec.configuration.templates.podTemlates and kubectl explain chi.spec.configuration.clusters.templates, kubectl explain pod.spec.template.containers and try to figure out how to create podTemplate with container with your custom image and link it to cluster pods inside kind: ClickHouseInstallation resource

from clickhouse-operator.

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.