You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Up until version 1.5.3 we were using Client::streamRead() in order to read very large JSON resultsets (hundreds of MB) which would crash PHP if you attempted to json_decode() them.
This no longer works in 1.6.0, because now it always calls json_decode() behind the scenes, even when using streamRead()
This is because Client::streamRead() calls Transport\Http::streamRead() which calls Transport\Http::streaming() which creates a Statement and calls Statement::isError() which calls Statement::hasErrorClickhouse() which now does a full json_decode() of the response whenever the response is of JSON type.
Could you please remove this additional JSON decoding inside hasErrorClickhouse() or provide an option to turn it off?
The text was updated successfully, but these errors were encountered:
Up until version 1.5.3 we were using Client::streamRead() in order to read very large JSON resultsets (hundreds of MB) which would crash PHP if you attempted to json_decode() them.
This no longer works in 1.6.0, because now it always calls json_decode() behind the scenes, even when using streamRead()
This is because Client::streamRead() calls Transport\Http::streamRead() which calls Transport\Http::streaming() which creates a Statement and calls Statement::isError() which calls Statement::hasErrorClickhouse() which now does a full json_decode() of the response whenever the response is of JSON type.
Could you please remove this additional JSON decoding inside hasErrorClickhouse() or provide an option to turn it off?
The text was updated successfully, but these errors were encountered: