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

Make static library #101

Open
suejune opened this issue Aug 27, 2023 · 6 comments
Open

Make static library #101

suejune opened this issue Aug 27, 2023 · 6 comments
Assignees
Labels
feature request Feature Request or Proposal help wanted Extra attention is needed

Comments

@suejune
Copy link

suejune commented Aug 27, 2023

thanks for your great job, is it possible to compile a chdb static library?

@suejune suejune added the question Further information is requested label Aug 27, 2023
@auxten
Copy link
Member

auxten commented Sep 8, 2023

It's possible theoretically without jemalloc.
With a static lib, chdb-go could be much clean.
@nmreadelf might be interested to do that.

@auxten auxten added help wanted Extra attention is needed feature request Feature Request or Proposal and removed question Further information is requested labels Sep 8, 2023
@auxten auxten changed the title how to make static library Make static library Sep 8, 2023
@lmangani
Copy link
Contributor

lmangani commented Sep 8, 2023

I have had partial success build libchdb as a static library in actions but the resulting size was quite prohibitive....

@l1t1
Copy link

l1t1 commented Sep 13, 2023

and a Windows EXE possible? not the one run in WSL.

@lmangani
Copy link
Contributor

@l1t1 sorry i'm afraid not even clickhouse supports Windows builds

@ryanhamilton
Copy link

Hi,

I'm the author of qStudio https://github.com/timeseries/qstudio a free SQL client that supports ClickHouse.
We've had great success using DuckDB as an embedded engine, our users have found it useful to "Save results locally".
Then they can do more SQL within qStudio rather than always querying the shared server.

https://www.timestored.com/qstudio/help/qduckdb

I came here to investigate providing a similar UI+chDB. To do that I would need:

  1. A static build
  2. That bundled as a JDBC driver
  3. Ideally in the end windows support

I know the above items, particularly windows would be a very bid ask but I just wanted to highlight how popular and useful my users (90%+ windows) are finding DuckDB and it would be good for them to have alternatives.

Thanks and great work.

@auxten
Copy link
Member

auxten commented Sep 18, 2024

  1. A static build

this is something we are trying to do

  1. That bundled as a JDBC driver

clickhouse-jdbc-bridge is needed to run clickhouse jdbc table function

  1. Ideally in the end windows support

ClickHouse dose not support Windows build. So, I'm afraid it will not possible to have a chDB Windows version without WSL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature Request or Proposal help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

6 participants