Using the ru.yandex.clickhouse.ClickHouseDriver with Datagrip or Apache Flink fails when using compression=true (default setting). The server logs an error message in clickhouse-server.log: 2019.09.24 10:05:23.657236 [ 25 ] {90569b7e-f291-43e5-991e-efc43d0ea244} <Error> virtual DB::WriteBufferFromHTTPServerResponse::~WriteBufferFromHTTPServerResponse(): Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Assertion violation: !_pStream in file "/wrkdirs/usr/ports/devel/poco/work/poco-1.9.0-all/Net/src/HTTPServerResponseImpl.cpp", line 69 (version 19.5.3.1)
Can you try latest 20.5.4.40 from the ports? Also you can use the official pre-built binary for FreeBSD: https://clickhouse.tech/docs/en/getting-started/install/#from-binaries-non-linux perhaps this is an upstream bug, not a FreeBSD port. In this case the bug should be registered here: https://github.com/ClickHouse/ClickHouse/issues
The version 20.5.4.40 from the ports works as expected.
(In reply to Mårten Lindblad from comment #2) in this case, I propose to close this PR ;)
Sorry, first bug report and didn’t know I should do that!