0.1.5 - 2020-09-19
- Do not require settings declaration if server support setting-as-string. Pull request #142 by azat.
host_name
in logs. Pull request #144 by azat.- Cursor attribute
columns_with_types
to DB API. Issue #149. - Cursor method
set_query_id
to DB API. Issue #152.
- Connection error messages formatting.
Client.from_url
credentials unquoting. Issue #146.- Empty nested array handling. Pull request #161 by dourvaris.
read_varint
overflow. Issue #163.- Malformed reads/writes in
BufferedReader
.
0.1.4 - 2020-06-13
- Tuple type.
- Custom String column encoding.
- Settings update to v20.4.1.2742 server version. Pull request #133 by azat.
- Settings update to v20.5.1.3657 server version. Pull request #141 by azat.
- Unsupported server versions to documentation.
- Performance section to documentation.
- Python 3.9 in Travis CI build matrix.
- Reading/writing Array(Tuple).
- 20.x server version support.
- Settings mutation in
execute
. - Slow columnar results returning (
columnar=True
). - Segfault on passing not encoded strings during
INSERT
into ByteString column.
- Miscellaneous read/write optimizations
- Protocol version bumped to 54429.
0.1.3 - 2020-02-21
- Python DB API 2.0.
- Multiple hosts support on connection errors.
- Insert columnar data support. Pull request #122 by Anexen.
- Wheels for Python 3.8.
- DateTime64 type.
- Settings update to v20.2.1.2201 server version. Pull request #123 by azat.
Client.from_url
settings detection.- Close socket on
KeyboardInterrupt
while running query. - Null handling in LowCardinality columns.
- Protocol version bumped to 54421.
- Increased speed (up to 20-30% compared to 0.1.2 release) on heavy
SELECT
andINSERT
queries. Pull request #122 by Anexen. - Memory consumption decreased (up to 20% compared to 0.1.2 release). Pull request #122 by Anexen.
0.1.2 - 2019-10-18
- Settings update to 19.16.1 server version. Pull request #111 by azat.
- Python 3.8 in Travis CI build matrix.
- Returning inserted rows count on
INSERT
queries with data. Returning rows count fromINSERT FROM SELECT
is not supported.
- Exposing
columnar
parameter toexecute_with_progress
. Pull request #108 by igorbb. - LowCardinality tests. Pull request #112 by azat.
- Increased speed (up to 5 times compared to 0.1.1 release) of
INSERT
queries. - Date/DateTime columns selecting and inserting optimizations.
0.1.1 - 2019-09-20
Client.from_url
method that creates client configured from the given URL.
- If source column was timezone-aware values from DateTime column are returned with timezone now.
- Handling zero bytes in the middle of FixedString column. Issue #104.
0.1.0 - 2019-08-07
- Increased speed (5-6 times compared to 0.0.20 release) of
SELECT
queries with large amount of strings. - Package is distributed in source and binary forms now. Compilation from source is required for platforms without wheels.
- Elapsed time calculation on INSERT.
- Dependencies environment markers for poetry in
setup.py
. Pull request #96 by nitoqq.
0.0.20 - 2019-06-02
- LowCardinality(T) type.
- Access for processed rows, bytes and elapsed time of the last executed query.
- Allow to insert
datetime
into Date column. Pull request #75 by gle4er. - 'max_partitions_per_insert_block' setting. Pull request #85 by mhsekhavat.
0.0.19 - 2019-03-31
- IPv4/IPv6 types. Pull request #73 by AchilleAsh.
- String enums escaping.
0.0.18 - 2019-02-19
0.0.17 - 2019-01-09
- Server logs displaying.
- Documentation on Read the Docs: https://clickhouse-driver.readthedocs.io
- Protocol version bumped to 54406.
- INSERT generators support as data parameter.
- INSERT null value on ByteString column. Pull request #65 by vivienm.
- Integer types support in FloatColumn.
- Handle quotes and equation signs in Enum options. Pull request #67 by sochi.
0.0.16 - 2018-10-09
- Option to access profile info about the last executed query. Pull request #57 by vanzi.
- Decimal type.
- Settings update to 18.14.2 server version.
- String column read/write optimizations.
- Protocol version bumped to 54401.
- Client settings are not mutable now.
0.0.15 - 2018-09-26
- Unpin
clickhouse-cityhash
dependency.
0.0.14 - 2018-08-16
- Block by block results streaming.
0.0.13 - 2018-07-26
0.0.12 - 2018-07-25
- Allow for access of final progress stats. Pull request #41 by alex-hofsteede.
- Supplying raw integers in DateTime columns. Pull request #42 by wawaka.
- Pip install in editable mode.
- Raise ValueError instead of timeout for INSERT queries without params. Pull request #45 by shotInLeg.
0.0.11 - 2018-06-03
- Timezone support in DateTime type.
- Python 3.7 and PyPy in Travis CI build matrix.
- Direct bytes support in FixedString. Pull request #26 by lidalei.
- Python 3.3 support.
0.0.10 - 2018-03-14
- Server version specific tests.
- Nothing type.
- Travis CI build matrix.
- Possible IndexError in packet types string representation. Pull request #28 by WouldYouKindly.
- Do not use timezone in Date columns. Issue #29.
- Approximate rows to read calculation in
execute_with_progress
. Pull request #30 by b1naryth1ef.
- List and Tuple types rendering in parameters substitution. Pull request #27 by silentsokolov.
0.0.9 - 2018-01-17
- Raise EOFError when no data is read in
_read_one
in Python 3. - SSL file descriptors closing in Python 2.7.
- Drop Python 3.2 support due to lz4 issues.
0.0.8 - 2017-10-23
- Parameters substitution for SELECT queries.
- SSL support.
- Columnar result returning from multiple blocks. Columns must be concatenated.
- Settings logger was root.
- Reading/writing Array(String) NotImplementedError raise.
- IPv6 support issue #12.
0.0.7 - 2017-10-12
- Configurable logging level in tests.
- Full error codes list.
- Force check clickhouse-cityhash is installed if compression is used.
Client
can be directly imported from package.insert_block_size
parameter - maximum rows in block (default is 1048576).- Columnar result returning (
columnar=True
). Pull request #11 by kszucs. - Tunable types check (
types_check=True
). Off by default.
- Handling only socket-related errors on ping. Errors are logged with
WARNING
level. - Client is created per one test.
- Sending/receiving data speed significantly increased.
- Version detection in setup.py.
- Error handling on socket.shutdown.
- Install
enum34
only if required. clickhouse-cityhash
import issue #10.
- QuickLZ support
- six dependency
0.0.6 - 2017-09-19
- UUID type.
- Query limits settings.
- Code coverage.
- ClickHouse server and driver version upped to 54276.
- Changelog.
- Added column name to
TypeMismatchError
. - Query progress information.
- Version of package.
- socket.timeout error handling on connect.
0.0.5 - 2017-07-16
- Nullable(T) type.
- Return data from TOTALS and EXTREMES packets.
- Query settings.
- query_id execution option.
- NULL type.
- Raise exception on SELECT queries.
- Small columns refactoring.
clickhouse-client
in tests moved to docker.
0.0.4 - 2017-06-15
- FixedString(N) type.
- Enum8/16 types.
- Array(T) type.
- External data for query processing
- Raise UnknownTypeError for unsupported columns.
- Socket connect timeout fix.
0.0.3 - 2017-05-24
- QuickLZ, LZ4/LZ4HC, ZSTD compressions.
- Support old servers without BlockInfo.
- Travis CI.
- flake8 syntax check.
- [U]Int8/16/32/64 types.
- Date/DateTime types.
- String types.