phpClickHouse
phpClickHouse copied to clipboard
php ClickHouse wrapper
Version 1.5.0 released yesterday introduced breaking changes and should be released as 2.0.0 ⚠️ [For example](https://github.com/smi2/phpClickHouse/compare/1.4.6...1.5.0#diff-eb1710f64250974d6d1550d421a31054e6079592ae3a8428cd9530bc086bdd94R211): > Argument 1 passed to ClickHouseDB\Settings::setReadOnlyUser() must be an instance of ClickHouseDB\mixed, bool given,...
After update ClickHouse version from 20.8.2.3 to 22.8.9.24 exceptions thrown by this package have changed. --- **ClickHouse v20.8.2.3:** Response body: > Code: 516, e.displayText() = DB::Exception: Username: Authentication failed: password...
After [190](https://github.com/smi2/phpClickHouse/pull/190) the problem appeared example ALTER TABLE table ON CLUSTER cluster MODIFY TTL toStartOfMonth(created_at) + INTERVAL 3 MONTH SETTINGS materialize_ttl_after_modify=0 FORMAT JSON; return error - Syntax error: failed at...
Is it possible to have a method for asynchronous insert from an array of data? I would like to write to my clickhouse instance without waiting for a response from...
I need to have a Map column. When I try to insert using this library I get ``` ClickHouseDB\Exception\DatabaseException: Type mismatch in IN or VALUES section. Expected: Map(String, String). Got:...
fix(statement): Avoid Marking Responses as Failed When Data Contains DB::Exception Text as a Value
https://github.com/smi2/phpClickHouse/issues/223
Step to repoduce: ```sql SELECT 'mutation_123456' AS mutation_id, 'Code: 243. DB::Exception: Cannot reserve 61.64 GiB, not enough space. (NOT_ENOUGH_SPACE)' AS latest_fail_reason ``` Expected: HTTP 200 and no error Current behaviour:...
I have a long running query. The query just copies data from 1 table into another table. So no data is actually transferred to the client and no data is...