diff options
author | vitalyisaev <vitalyisaev@ydb.tech> | 2023-11-14 09:58:56 +0300 |
---|---|---|
committer | vitalyisaev <vitalyisaev@ydb.tech> | 2023-11-14 10:20:20 +0300 |
commit | c2b2dfd9827a400a8495e172a56343462e3ceb82 (patch) | |
tree | cd4e4f597d01bede4c82dffeb2d780d0a9046bd0 /contrib/python/clickhouse-connect/clickhouse_connect/driverc/buffer.pxd | |
parent | d4ae8f119e67808cb0cf776ba6e0cf95296f2df7 (diff) | |
download | ydb-c2b2dfd9827a400a8495e172a56343462e3ceb82.tar.gz |
YQ Connector: move tests from yql to ydb (OSS)
Перенос папки с тестами на Коннектор из папки yql в папку ydb (синхронизируется с github).
Diffstat (limited to 'contrib/python/clickhouse-connect/clickhouse_connect/driverc/buffer.pxd')
-rw-r--r-- | contrib/python/clickhouse-connect/clickhouse_connect/driverc/buffer.pxd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/python/clickhouse-connect/clickhouse_connect/driverc/buffer.pxd b/contrib/python/clickhouse-connect/clickhouse_connect/driverc/buffer.pxd new file mode 100644 index 0000000000..b522053fec --- /dev/null +++ b/contrib/python/clickhouse-connect/clickhouse_connect/driverc/buffer.pxd @@ -0,0 +1,12 @@ +cdef class ResponseBuffer: + cdef: + unsigned long long buf_loc, buf_sz, slice_sz + signed long long slice_start + object gen, source + char* buffer + char* slice + unsigned char _read_byte_load(self) except ?255 + char* read_bytes_c(self, unsigned long long sz) except NULL + Py_buffer buff_source + cdef object _read_str_col(self, unsigned long long num_rows, char * encoding) + cdef object _read_nullable_str_col(self, unsigned long long num_rows, char * encoding, object null_obj) |