Comments (6)
Using the curl based client will put 2 additional dependencies. You need to install libcurl4-openssl-dev in linux and also pycurl python package. Should I just change the doc for this? Or is there a way to add this dependency in the patch?
from pydruid.
Are you sure it doesn't work? I'm asking because it does work on production since many months in our stack. You may want to take a look at this: http://www.tornadoweb.org/en/stable/httpclient.html#tornado.httpclient.AsyncHTTPClient ;)
from pydruid.
I see. I might be using the constructor wrong then. From what I understand if I configure AsyncHTTPClient to use the correct class. It should work? Let me know if I do not understand this.
from pydruid.
@mghosh4 You just need to use the constructor as described in the linked docs. The simple_httpclient
is fully sufficient and definitely should stay as the default, since it doesn't require any additional dependencies installed on your machine - unlike the curl_httpclient
.
Perhaps, a patch allowing people to override the default client could be useful though. Feel free to submit one.
from pydruid.
@gianm @xvrl @fjy
I would suggest closing this issue, since its name may be misleading people to think that the async client is broken - It isn't.
from pydruid.
Thanks @turu
from pydruid.
Related Issues (20)
- JSONDecodeError: Expecting ',' delimiter: line 1 column 7060430653 (char 7060430652)
- Evaluating query runtime without output HOT 1
- PyDruid for Data Ingestion in Druid HOT 2
- Version 0.6.3 is broken if you don't already have sqlalchemy installed
- Getting columns for a Druid datasource fails with a KeyError HOT 2
- Subquery not getting converted property HOT 2
- "do_ping" broken in last pydruid release, can't add a Druid as a new Database in Superset, need a pydruid release HOT 10
- Support newer Python versions
- ssl_client_cert passed is being assigned to proxies in Cursor object
- Support for multi-stage-query (sql-msq-task) HOT 1
- Is there a way to query for stats aggregator (STDDEV)?
- Pandas 2.0 dtype_backend="pyarrow"
- Column name not identified on certain special characters
- Querying list of data sources HOT 2
- pydruid not compatible with druid 27 HOT 2
- Is this project currently maintained?
- Error when calling the async client
- inadvertent hard dependency on sqlalchemy
- Row counter
- dependent on prompt-toolkit version 1 however prompt-toolkit version 3.0.30 is required HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydruid.