Comments (5)
Hi!
Unfortunately, there is no row-iterator support currently.
from clickhouse-driver.
@xzkostyan hi!
i also need this feature - where i can read about contribution howto?
from clickhouse-driver.
@artinnok hi!
There is no contribution howto right now. You can create PR, follow current code style. Tests are required on any new feature. Feel free to ask any particular questions.
The good point to dig into is src.client.Client.store_query_result
. You should write something iter_query_result
and yield
row by row. Streaming should be incompatible with columnar=True
option. May be it should be also incompatible with progress information at first.
The architecture of this client is similar with ClickHouse source code: https://github.com/yandex/ClickHouse/blob/master/dbms/src/Client/Connection.cpp
from clickhouse-driver.
I've pushed branch with the draft of this feature: https://github.com/mymarilyn/clickhouse-driver/tree/feature-iterator-support
from clickhouse-driver.
Hi!
Version 0.0.14 with this feature was released.
from clickhouse-driver.
Related Issues (20)
- Support python 3.12 or whatever HOT 3
- Using a specific name in the parameter substitutions leads to a ServerException. HOT 3
- Getting `EOFError: Unexpected EOF while reading bytes` when reading data from clickhouse HOT 2
- Access the database after disconnecting
- Code:50. Unknown type Bool
- doesnt insert bigint with execute and list of values on mac m1 HOT 4
- input_format_null_as_default is applied incorrectly to UUID columns, causes an exception in the UUID constructor HOT 1
- Running tests on clickhouse 23.8 HOT 3
- Debug query HOT 1
- BrokenPipeError when instert too large array HOT 1
- Memory leak when clickhouse raise error on data send.
- clickhouse_driver.varint.read_varint is called recursively HOT 2
- Incorrect minimum value of Date32 type
- Using both client-side and server-side binding prevents using server-side binding HOT 2
- Unexpected 'driver' HOT 1
- use_client_time_zone doesn't return offset-aware datetime object HOT 3
- execute_iter loads all rows in RAM HOT 2
- Failing to import clickhouse_driver: ModuleNotFoundError: 'clickhouse_driver.varint' HOT 1
- Unable to Connect to ClickHouse Cloud Instance Using clickhouse_driver Python Package HOT 2
- TypeError when selecting a Decimal column 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 clickhouse-driver.