smi2 / phpClickHouse

php ClickHouse wrapper
MIT License
741 stars 139 forks source link

fix(statement): Avoid Marking Responses as Failed When Data Contains DB::Exception Text as a Value #224

Open zenoleg opened 1 month ago

zenoleg commented 1 month ago

https://github.com/smi2/phpClickHouse/issues/223

zenoleg commented 1 month ago

@isublimity please, check if you have any time

zenoleg commented 1 month ago

I think there has to be the easiest way to validate the JSON like \json_validate() Or we could ignore that json_decode() allocates a memory for the response