Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream HTTP response body read for decompression #1213

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

rogeryk
Copy link
Contributor

@rogeryk rogeryk commented Mar 1, 2024

Summary

Create reader instead of reading Response.Body to avoid huge memory consumption

Checklist

Delete items not relevant to your PR:

  • Unit and integration tests covering the common scenarios were added

close #652, #1124

@jkaflik jkaflik self-assigned this Mar 1, 2024
@jkaflik
Copy link
Contributor

jkaflik commented Mar 1, 2024

Thanks @rogeryk! There are several tests failing. Can you have a look?

@rogeryk
Copy link
Contributor Author

rogeryk commented Mar 1, 2024

@jkaflik Sorry, I just did a simple test, I'll solved these problems.

@rogeryk rogeryk force-pushed the optimive-http-read branch from 67895ad to de3fe6a Compare March 2, 2024 03:31
@rogeryk rogeryk force-pushed the optimive-http-read branch from de3fe6a to 581ab92 Compare March 2, 2024 03:40
@jkaflik jkaflik changed the title Improve http read Stream HTTP response body read for decompression Mar 4, 2024
@jkaflik jkaflik merged commit 4c8219e into ClickHouse:main Mar 7, 2024
12 of 14 checks passed
mx-psi referenced this pull request in open-telemetry/opentelemetry-collector-contrib Mar 12, 2024
….21.1 (#31065)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/ClickHouse/clickhouse-go/v2](https://github.com/ClickHouse/clickhouse-go)
| `v2.17.1` -> `v2.21.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.17.1/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.17.1/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>ClickHouse/clickhouse-go
(github.com/ClickHouse/clickhouse-go/v2)</summary>

###
[`v2.21.1`](https://github.com/ClickHouse/clickhouse-go/releases/tag/v2.21.1)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.21.0...v2.21.1)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Fixes 🐛

- Adds the ability to Append a zero valued time.Time by
[@&#8203;KevinJoiner](https://github.com/KevinJoiner) in
[https://github.com/ClickHouse/clickhouse-go/pull/1228](https://github.com/ClickHouse/clickhouse-go/pull/1228)

#### New Contributors

- [@&#8203;KevinJoiner](https://github.com/KevinJoiner) made their
first contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1228](https://github.com/ClickHouse/clickhouse-go/pull/1228)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.21.0...v2.21.1

###
[`v2.21.0`](https://github.com/ClickHouse/clickhouse-go/releases/tag/v2.21.0)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.20.0...v2.21.0)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Enhancements 🎉

- Stream HTTP response body read for decompression by
[@&#8203;rogeryk](https://github.com/rogeryk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1213](https://github.com/ClickHouse/clickhouse-go/pull/1213)

##### Fixes 🐛

- Fix Date32 extremes values handling by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1218](https://github.com/ClickHouse/clickhouse-go/pull/1218)
- Fix column with double quotes PrepareBatch
failed.([#&#8203;1216](https://github.com/ClickHouse/clickhouse-go/issues/1216))
by [@&#8203;YenchangChan](https://github.com/YenchangChan) in
[https://github.com/ClickHouse/clickhouse-go/pull/1217](https://github.com/ClickHouse/clickhouse-go/pull/1217)
- Fix an obscure error in HTTP protocol with LZ4 compression by
[@&#8203;YenchangChan](https://github.com/YenchangChan) in
[https://github.com/ClickHouse/clickhouse-go/pull/1230](https://github.com/ClickHouse/clickhouse-go/pull/1230)

##### Other Changes 🛠

- Replace deprecated `io/ioutil` functions with equivalents by
[@&#8203;zaneli](https://github.com/zaneli) in
[https://github.com/ClickHouse/clickhouse-go/pull/1211](https://github.com/ClickHouse/clickhouse-go/pull/1211)
- Run cloud workflow on main branch only by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1219](https://github.com/ClickHouse/clickhouse-go/pull/1219)
- ClickHouse 24.2 by [@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1220](https://github.com/ClickHouse/clickhouse-go/pull/1220)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.20.0...v2.21.0

###
[`v2.20.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2200-2024-02-28----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.19.0...v2.20.0)

#### What's Changed

##### Enhancements 🎉

- Support \[n]byte/\[]byte type Scan/Append to FixedString column by
[@&#8203;rogeryk](https://github.com/rogeryk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1205](https://github.com/ClickHouse/clickhouse-go/pull/1205)

##### Other Changes 🛠

- Enable cloud tests by [@&#8203;jkaflik](https://github.com/jkaflik)
in
[https://github.com/ClickHouse/clickhouse-go/pull/1202](https://github.com/ClickHouse/clickhouse-go/pull/1202)
- Removed LowCardinality(UInt64) tests that caused
allow_suspicious_low_cardinality_types related error by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1206](https://github.com/ClickHouse/clickhouse-go/pull/1206)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.19.0...v2.20.0

###
[`v2.19.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2190-2024-02-26----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.18.0...v2.19.0)

#### What's Changed

##### Enhancements 🎉

- handle ctx.Done() in acquire by
[@&#8203;threadedstream](https://github.com/threadedstream) in
[https://github.com/ClickHouse/clickhouse-go/pull/1199](https://github.com/ClickHouse/clickhouse-go/pull/1199)

##### Fixes 🐛

- Fix panic on format nil \*fmt.Stringer type value by
[@&#8203;zaneli](https://github.com/zaneli) in
[https://github.com/ClickHouse/clickhouse-go/pull/1200](https://github.com/ClickHouse/clickhouse-go/pull/1200)

##### Other Changes 🛠

- Update Go/ClickHouse versions by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1201](https://github.com/ClickHouse/clickhouse-go/pull/1201)

#### New Contributors

- [@&#8203;threadedstream](https://github.com/threadedstream) made
their first contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1199](https://github.com/ClickHouse/clickhouse-go/pull/1199)
- [@&#8203;zaneli](https://github.com/zaneli) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1200](https://github.com/ClickHouse/clickhouse-go/pull/1200)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.18.0...v2.19.0

###
[`v2.18.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2180-2024-02-01----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.17.1...v2.18.0)

#### What's Changed

##### Enhancements 🎉

- Add WithAllocBufferColStrProvider string column allocator for batch
insert performance boost by
[@&#8203;hongker](https://github.com/hongker) in
[https://github.com/ClickHouse/clickhouse-go/pull/1181](https://github.com/ClickHouse/clickhouse-go/pull/1181)

##### Fixes 🐛

- Fix bind for seconds scale DateTime by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1184](https://github.com/ClickHouse/clickhouse-go/pull/1184)

##### Other Changes 🛠

- resolves
[#&#8203;1163](https://github.com/ClickHouse/clickhouse-go/issues/1163)
debugF function is not respected by
[@&#8203;omurbekjk](https://github.com/omurbekjk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1166](https://github.com/ClickHouse/clickhouse-go/pull/1166)

#### New Contributors

- [@&#8203;omurbekjk](https://github.com/omurbekjk) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1166](https://github.com/ClickHouse/clickhouse-go/pull/1166)
- [@&#8203;hongker](https://github.com/hongker) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1181](https://github.com/ClickHouse/clickhouse-go/pull/1181)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.17.1...v2.18.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
DougManton referenced this pull request in DougManton/opentelemetry-collector-contrib Mar 13, 2024
….21.1 (open-telemetry#31065)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/ClickHouse/clickhouse-go/v2](https://github.com/ClickHouse/clickhouse-go)
| `v2.17.1` -> `v2.21.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.17.1/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.17.1/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>ClickHouse/clickhouse-go
(github.com/ClickHouse/clickhouse-go/v2)</summary>

###
[`v2.21.1`](https://github.com/ClickHouse/clickhouse-go/releases/tag/v2.21.1)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.21.0...v2.21.1)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Fixes 🐛

- Adds the ability to Append a zero valued time.Time by
[@&open-telemetry#8203;KevinJoiner](https://github.com/KevinJoiner) in
[https://github.com/ClickHouse/clickhouse-go/pull/1228](https://github.com/ClickHouse/clickhouse-go/pull/1228)

#### New Contributors

- [@&open-telemetry#8203;KevinJoiner](https://github.com/KevinJoiner) made their
first contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1228](https://github.com/ClickHouse/clickhouse-go/pull/1228)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.21.0...v2.21.1

###
[`v2.21.0`](https://github.com/ClickHouse/clickhouse-go/releases/tag/v2.21.0)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.20.0...v2.21.0)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Enhancements 🎉

- Stream HTTP response body read for decompression by
[@&open-telemetry#8203;rogeryk](https://github.com/rogeryk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1213](https://github.com/ClickHouse/clickhouse-go/pull/1213)

##### Fixes 🐛

- Fix Date32 extremes values handling by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1218](https://github.com/ClickHouse/clickhouse-go/pull/1218)
- Fix column with double quotes PrepareBatch
failed.([#&open-telemetry#8203;1216](https://github.com/ClickHouse/clickhouse-go/issues/1216))
by [@&open-telemetry#8203;YenchangChan](https://github.com/YenchangChan) in
[https://github.com/ClickHouse/clickhouse-go/pull/1217](https://github.com/ClickHouse/clickhouse-go/pull/1217)
- Fix an obscure error in HTTP protocol with LZ4 compression by
[@&open-telemetry#8203;YenchangChan](https://github.com/YenchangChan) in
[https://github.com/ClickHouse/clickhouse-go/pull/1230](https://github.com/ClickHouse/clickhouse-go/pull/1230)

##### Other Changes 🛠

- Replace deprecated `io/ioutil` functions with equivalents by
[@&open-telemetry#8203;zaneli](https://github.com/zaneli) in
[https://github.com/ClickHouse/clickhouse-go/pull/1211](https://github.com/ClickHouse/clickhouse-go/pull/1211)
- Run cloud workflow on main branch only by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1219](https://github.com/ClickHouse/clickhouse-go/pull/1219)
- ClickHouse 24.2 by [@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1220](https://github.com/ClickHouse/clickhouse-go/pull/1220)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.20.0...v2.21.0

###
[`v2.20.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2200-2024-02-28----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.19.0...v2.20.0)

#### What's Changed

##### Enhancements 🎉

- Support \[n]byte/\[]byte type Scan/Append to FixedString column by
[@&open-telemetry#8203;rogeryk](https://github.com/rogeryk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1205](https://github.com/ClickHouse/clickhouse-go/pull/1205)

##### Other Changes 🛠

- Enable cloud tests by [@&open-telemetry#8203;jkaflik](https://github.com/jkaflik)
in
[https://github.com/ClickHouse/clickhouse-go/pull/1202](https://github.com/ClickHouse/clickhouse-go/pull/1202)
- Removed LowCardinality(UInt64) tests that caused
allow_suspicious_low_cardinality_types related error by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1206](https://github.com/ClickHouse/clickhouse-go/pull/1206)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.19.0...v2.20.0

###
[`v2.19.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2190-2024-02-26----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.18.0...v2.19.0)

#### What's Changed

##### Enhancements 🎉

- handle ctx.Done() in acquire by
[@&open-telemetry#8203;threadedstream](https://github.com/threadedstream) in
[https://github.com/ClickHouse/clickhouse-go/pull/1199](https://github.com/ClickHouse/clickhouse-go/pull/1199)

##### Fixes 🐛

- Fix panic on format nil \*fmt.Stringer type value by
[@&open-telemetry#8203;zaneli](https://github.com/zaneli) in
[https://github.com/ClickHouse/clickhouse-go/pull/1200](https://github.com/ClickHouse/clickhouse-go/pull/1200)

##### Other Changes 🛠

- Update Go/ClickHouse versions by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1201](https://github.com/ClickHouse/clickhouse-go/pull/1201)

#### New Contributors

- [@&open-telemetry#8203;threadedstream](https://github.com/threadedstream) made
their first contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1199](https://github.com/ClickHouse/clickhouse-go/pull/1199)
- [@&open-telemetry#8203;zaneli](https://github.com/zaneli) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1200](https://github.com/ClickHouse/clickhouse-go/pull/1200)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.18.0...v2.19.0

###
[`v2.18.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2180-2024-02-01----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.17.1...v2.18.0)

#### What's Changed

##### Enhancements 🎉

- Add WithAllocBufferColStrProvider string column allocator for batch
insert performance boost by
[@&open-telemetry#8203;hongker](https://github.com/hongker) in
[https://github.com/ClickHouse/clickhouse-go/pull/1181](https://github.com/ClickHouse/clickhouse-go/pull/1181)

##### Fixes 🐛

- Fix bind for seconds scale DateTime by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1184](https://github.com/ClickHouse/clickhouse-go/pull/1184)

##### Other Changes 🛠

- resolves
[#&open-telemetry#8203;1163](https://github.com/ClickHouse/clickhouse-go/issues/1163)
debugF function is not respected by
[@&open-telemetry#8203;omurbekjk](https://github.com/omurbekjk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1166](https://github.com/ClickHouse/clickhouse-go/pull/1166)

#### New Contributors

- [@&open-telemetry#8203;omurbekjk](https://github.com/omurbekjk) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1166](https://github.com/ClickHouse/clickhouse-go/pull/1166)
- [@&open-telemetry#8203;hongker](https://github.com/hongker) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1181](https://github.com/ClickHouse/clickhouse-go/pull/1181)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.17.1...v2.18.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
XinRanZhAWS referenced this pull request in XinRanZhAWS/opentelemetry-collector-contrib Mar 13, 2024
….21.1 (open-telemetry#31065)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/ClickHouse/clickhouse-go/v2](https://github.com/ClickHouse/clickhouse-go)
| `v2.17.1` -> `v2.21.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.17.1/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.17.1/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>ClickHouse/clickhouse-go
(github.com/ClickHouse/clickhouse-go/v2)</summary>

###
[`v2.21.1`](https://github.com/ClickHouse/clickhouse-go/releases/tag/v2.21.1)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.21.0...v2.21.1)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Fixes 🐛

- Adds the ability to Append a zero valued time.Time by
[@&open-telemetry#8203;KevinJoiner](https://github.com/KevinJoiner) in
[https://github.com/ClickHouse/clickhouse-go/pull/1228](https://github.com/ClickHouse/clickhouse-go/pull/1228)

#### New Contributors

- [@&open-telemetry#8203;KevinJoiner](https://github.com/KevinJoiner) made their
first contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1228](https://github.com/ClickHouse/clickhouse-go/pull/1228)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.21.0...v2.21.1

###
[`v2.21.0`](https://github.com/ClickHouse/clickhouse-go/releases/tag/v2.21.0)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.20.0...v2.21.0)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Enhancements 🎉

- Stream HTTP response body read for decompression by
[@&open-telemetry#8203;rogeryk](https://github.com/rogeryk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1213](https://github.com/ClickHouse/clickhouse-go/pull/1213)

##### Fixes 🐛

- Fix Date32 extremes values handling by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1218](https://github.com/ClickHouse/clickhouse-go/pull/1218)
- Fix column with double quotes PrepareBatch
failed.([#&open-telemetry#8203;1216](https://github.com/ClickHouse/clickhouse-go/issues/1216))
by [@&open-telemetry#8203;YenchangChan](https://github.com/YenchangChan) in
[https://github.com/ClickHouse/clickhouse-go/pull/1217](https://github.com/ClickHouse/clickhouse-go/pull/1217)
- Fix an obscure error in HTTP protocol with LZ4 compression by
[@&open-telemetry#8203;YenchangChan](https://github.com/YenchangChan) in
[https://github.com/ClickHouse/clickhouse-go/pull/1230](https://github.com/ClickHouse/clickhouse-go/pull/1230)

##### Other Changes 🛠

- Replace deprecated `io/ioutil` functions with equivalents by
[@&open-telemetry#8203;zaneli](https://github.com/zaneli) in
[https://github.com/ClickHouse/clickhouse-go/pull/1211](https://github.com/ClickHouse/clickhouse-go/pull/1211)
- Run cloud workflow on main branch only by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1219](https://github.com/ClickHouse/clickhouse-go/pull/1219)
- ClickHouse 24.2 by [@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1220](https://github.com/ClickHouse/clickhouse-go/pull/1220)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.20.0...v2.21.0

###
[`v2.20.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2200-2024-02-28----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.19.0...v2.20.0)

#### What's Changed

##### Enhancements 🎉

- Support \[n]byte/\[]byte type Scan/Append to FixedString column by
[@&open-telemetry#8203;rogeryk](https://github.com/rogeryk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1205](https://github.com/ClickHouse/clickhouse-go/pull/1205)

##### Other Changes 🛠

- Enable cloud tests by [@&open-telemetry#8203;jkaflik](https://github.com/jkaflik)
in
[https://github.com/ClickHouse/clickhouse-go/pull/1202](https://github.com/ClickHouse/clickhouse-go/pull/1202)
- Removed LowCardinality(UInt64) tests that caused
allow_suspicious_low_cardinality_types related error by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1206](https://github.com/ClickHouse/clickhouse-go/pull/1206)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.19.0...v2.20.0

###
[`v2.19.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2190-2024-02-26----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.18.0...v2.19.0)

#### What's Changed

##### Enhancements 🎉

- handle ctx.Done() in acquire by
[@&open-telemetry#8203;threadedstream](https://github.com/threadedstream) in
[https://github.com/ClickHouse/clickhouse-go/pull/1199](https://github.com/ClickHouse/clickhouse-go/pull/1199)

##### Fixes 🐛

- Fix panic on format nil \*fmt.Stringer type value by
[@&open-telemetry#8203;zaneli](https://github.com/zaneli) in
[https://github.com/ClickHouse/clickhouse-go/pull/1200](https://github.com/ClickHouse/clickhouse-go/pull/1200)

##### Other Changes 🛠

- Update Go/ClickHouse versions by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1201](https://github.com/ClickHouse/clickhouse-go/pull/1201)

#### New Contributors

- [@&open-telemetry#8203;threadedstream](https://github.com/threadedstream) made
their first contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1199](https://github.com/ClickHouse/clickhouse-go/pull/1199)
- [@&open-telemetry#8203;zaneli](https://github.com/zaneli) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1200](https://github.com/ClickHouse/clickhouse-go/pull/1200)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.18.0...v2.19.0

###
[`v2.18.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2180-2024-02-01----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

[Compare
Source](https://github.com/ClickHouse/clickhouse-go/compare/v2.17.1...v2.18.0)

#### What's Changed

##### Enhancements 🎉

- Add WithAllocBufferColStrProvider string column allocator for batch
insert performance boost by
[@&open-telemetry#8203;hongker](https://github.com/hongker) in
[https://github.com/ClickHouse/clickhouse-go/pull/1181](https://github.com/ClickHouse/clickhouse-go/pull/1181)

##### Fixes 🐛

- Fix bind for seconds scale DateTime by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1184](https://github.com/ClickHouse/clickhouse-go/pull/1184)

##### Other Changes 🛠

- resolves
[#&open-telemetry#8203;1163](https://github.com/ClickHouse/clickhouse-go/issues/1163)
debugF function is not respected by
[@&open-telemetry#8203;omurbekjk](https://github.com/omurbekjk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1166](https://github.com/ClickHouse/clickhouse-go/pull/1166)

#### New Contributors

- [@&open-telemetry#8203;omurbekjk](https://github.com/omurbekjk) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1166](https://github.com/ClickHouse/clickhouse-go/pull/1166)
- [@&open-telemetry#8203;hongker](https://github.com/hongker) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1181](https://github.com/ClickHouse/clickhouse-go/pull/1181)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.17.1...v2.18.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve http streaming
2 participants