clickhouse-driver icon indicating copy to clipboard operation
clickhouse-driver copied to clipboard

ClickHouse Python Driver with native interface support

Results 68 clickhouse-driver issues
Sort by recently updated
recently updated
newest added

**Describe the bug** In the documentation it is written that supported types for enum inserts are: **Enum, int, long, str/basestring.** [https://clickhouse-driver.readthedocs.io/en/latest/types.html#enum8-16](https://clickhouse-driver.readthedocs.io/en/latest/types.html#enum8-16) Executing the example from the documentation works fine, except...

- fixes #326 Checklist: - [x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change. - [x] Add or update relevant docs, in...

**Describe the bug** When inserting data into a table using the method Cient.execute(query, data), the data gets inserted into the table but the python code raises an exception: 'Unexpected packet...

The title pretty much says it all, I would like to use WATCH on live views in aioch, and I think it would have to come through here first.

feature request

driver doesn't support new `JSON` type added in 22.3 (I'm using 22.3.3.44 )

feature request

**Describe the bug** Nanoseconds are not preserved on insert for DateTime64(8) columns "2022-05-04 13:45:00.00000001" string value or parsed "2022-05-04 13:45:00.00000001" string value (tried more than one) **To Reproduce** Try inserting...

bug

**Describe the bug** Selecting using datetime parameter doesn't consider milliseconds. Probably, can use `strftime` like this `%Y-%m-%d %H:%M:%S.%f` [here](https://github.com/mymarilyn/clickhouse-driver/blob/9a8b4a0706d78ee9952737a9b277f448acf3eaf0/clickhouse_driver/util/escape.py#L28). **To Reproduce** ```python client = make_client() client.execute('CREATE TABLE IF NOT EXISTS...

Hello and thanks for developing the library. Would you consider including the [cityhash](https://github.com/xzkostyan/clickhouse-cityhash) library in your codebase? It would greatly simplify packaging the library for Linux and reducing the dependency...

enhancement

**Describe the bug** When the query returns 0 rows, function returns empty dataframe with the shape (0,0) without specifying any columns from query. IMHO, in that case it should return...

enhancement

**Describe the bug** In class `DecimalColumn` method `before_write_items`, item is scaled and converted to `int`: ```python def before_write_items(self, items, nulls_map=None): null_value = self.null_value if self.scale >= 1: scale = 10...

feature request