smi2 / phpClickHouse

php ClickHouse wrapper
MIT License
741 stars 139 forks source link

Specific value inside a raw marks response as failed #223

Open zenoleg opened 1 month ago

zenoleg commented 1 month ago

Step to repoduce:

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: marks response as failed and throws an TransportException