default void pipe(OutputStream output, int bufferSize) throws IOException {
        ClickHouseInputStream.pipe(getInputStream(), ClickHouseChecker.nonNull(output, "output"),
                ClickHouseDataConfig.getBufferSize(bufferSize,
                        (int) ClickHouseClientOption.BUFFER_SIZE.getDefaultValue(),
                        (int) ClickHouseClientOption.MAX_BUFFER_SIZE.getDefaultValue()));
    }
Pipes the contents of this response into the given output stream. Keep in
mind that it's caller's responsibility to flush and close the output stream.

@param output     non-null output stream, which will remain open
@param bufferSize buffer size, 0 or negative value will be treated as
                  {@link ClickHouseClientOption#BUFFER_SIZE}
@throws IOException when error occurred reading or writing data
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseResponse.java