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

Add a compatibility layer for a database/sql driver to work with sql.NullString and ClickHouse nullable column #1306

Merged
merged 1 commit into from
May 27, 2024

Conversation

jkaflik
Copy link
Contributor

@jkaflik jkaflik commented May 27, 2024

Changes the behaviour of the driver Scan function. database/sql doesn't support Scanning driver.Value from a pointer to a pointer type. It's kind of weird behavior. I had a look into other drivers, and none of them is return pointer via driver.Value.

Since some of the users might already have implemented their custom types Scan with a pointer, it might be a breaking change for them.

resolves #1257

@jkaflik jkaflik self-assigned this May 27, 2024
@jkaflik jkaflik merged commit 821b8fb into main May 27, 2024
10 checks passed
@jkaflik jkaflik added the fix label May 28, 2024
codeboten referenced this pull request in open-telemetry/opentelemetry-collector-contrib Jul 10, 2024
[![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.23.0` -> `v2.26.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.26.0?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.26.0?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.23.0/v2.26.0?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.23.0/v2.26.0?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.26.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2260-2024-06-25----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

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

#### What's Changed

##### Enhancements 🎉

- Reintroduce the random connection strategy by
[@&#8203;larry-cdn77](https://github.com/larry-cdn77) in
[https://github.com/ClickHouse/clickhouse-go/pull/1313](https://github.com/ClickHouse/clickhouse-go/pull/1313)
- Make custom debug log function on-par with the built-in one by
[@&#8203;vespian](https://github.com/vespian) in
[https://github.com/ClickHouse/clickhouse-go/pull/1317](https://github.com/ClickHouse/clickhouse-go/pull/1317)
- Remove date overflow check as it's normalised by ClickHouse server by
[@&#8203;gogingersnap777](https://github.com/gogingersnap777) in
[https://github.com/ClickHouse/clickhouse-go/pull/1315](https://github.com/ClickHouse/clickhouse-go/pull/1315)
- Batch: impl `Columns() []column.Interface` method by
[@&#8203;egsam98](https://github.com/egsam98) in
[https://github.com/ClickHouse/clickhouse-go/pull/1277](https://github.com/ClickHouse/clickhouse-go/pull/1277)

##### Fixes 🐛

- Fix rows.Close do not return too early by
[@&#8203;yujiarista](https://github.com/yujiarista) in
[https://github.com/ClickHouse/clickhouse-go/pull/1314](https://github.com/ClickHouse/clickhouse-go/pull/1314)
- Setting `X-Clickhouse-SSL-Certificate-Auth` header correctly given
`X-ClickHouse-Key` by
[@&#8203;gogingersnap777](https://github.com/gogingersnap777) in
[https://github.com/ClickHouse/clickhouse-go/pull/1316](https://github.com/ClickHouse/clickhouse-go/pull/1316)
- Retry on network errors and fix retries on async inserts with
`database/sql` interface by
[@&#8203;tommyzli](https://github.com/tommyzli) in
[https://github.com/ClickHouse/clickhouse-go/pull/1330](https://github.com/ClickHouse/clickhouse-go/pull/1330)
- BatchInsert parentheses issue fix by
[@&#8203;ramzes642](https://github.com/ramzes642) in
[https://github.com/ClickHouse/clickhouse-go/pull/1327](https://github.com/ClickHouse/clickhouse-go/pull/1327)

##### Other Changes 🛠

- ClickHouse 24.5 by [@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1319](https://github.com/ClickHouse/clickhouse-go/pull/1319)
- Align `allow_suspicious_low_cardinality_types` and `
allow_suspicious_low_cardinality_types ` settings in tests due to
ClickHouse Cloud incompatibility by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1331](https://github.com/ClickHouse/clickhouse-go/pull/1331)
- Use HTTPs scheme in std connection failover tests by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1332](https://github.com/ClickHouse/clickhouse-go/pull/1332)

#### New Contributors

- [@&#8203;larry-cdn77](https://github.com/larry-cdn77) made their
first contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1313](https://github.com/ClickHouse/clickhouse-go/pull/1313)
- [@&#8203;vespian](https://github.com/vespian) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1317](https://github.com/ClickHouse/clickhouse-go/pull/1317)
- [@&#8203;gogingersnap777](https://github.com/gogingersnap777) made
their first contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1315](https://github.com/ClickHouse/clickhouse-go/pull/1315)
- [@&#8203;yujiarista](https://github.com/yujiarista) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1314](https://github.com/ClickHouse/clickhouse-go/pull/1314)
- [@&#8203;egsam98](https://github.com/egsam98) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1277](https://github.com/ClickHouse/clickhouse-go/pull/1277)
- [@&#8203;tommyzli](https://github.com/tommyzli) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1330](https://github.com/ClickHouse/clickhouse-go/pull/1330)
- [@&#8203;ramzes642](https://github.com/ramzes642) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1327](https://github.com/ClickHouse/clickhouse-go/pull/1327)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.25.0...v2.26.0

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

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

#### What's Changed

##### Fixes 🐛

- Add a compatibility layer for a database/sql driver to work with
sql.NullString and ClickHouse nullable column by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1306](https://github.com/ClickHouse/clickhouse-go/pull/1306)

##### Other Changes 🛠

- Use Go 1.22 in head tests by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1305](https://github.com/ClickHouse/clickhouse-go/pull/1305)
- Skip flaky 1127 test by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1307](https://github.com/ClickHouse/clickhouse-go/pull/1307)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.24.0...v2.25.0

###
[`v2.24.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2240-2024-05-08----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

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

#### What's Changed

##### Enhancements 🎉

- Always compress responses when the client compression is on by
[@&#8203;zhkvia](https://github.com/zhkvia) in
[https://github.com/ClickHouse/clickhouse-go/pull/1286](https://github.com/ClickHouse/clickhouse-go/pull/1286)
- Optional flag to close query with flush by
[@&#8203;hongker](https://github.com/hongker) in
[https://github.com/ClickHouse/clickhouse-go/pull/1276](https://github.com/ClickHouse/clickhouse-go/pull/1276)

##### Fixes 🐛

- Fix prepare batch does not break on `values` substring in table name
by [@&#8203;Wang](https://github.com/Wang) in
[https://github.com/ClickHouse/clickhouse-go/pull/1290](https://github.com/ClickHouse/clickhouse-go/pull/1290)
- Fix nil checks when appending slices of pointers by
[@&#8203;markandrus](https://github.com/markandrus) in
[https://github.com/ClickHouse/clickhouse-go/pull/1283](https://github.com/ClickHouse/clickhouse-go/pull/1283)

##### Other Changes 🛠

- Don't recreate keys from LC columns from direct stream by
[@&#8203;genzgd](https://github.com/genzgd) in
[https://github.com/ClickHouse/clickhouse-go/pull/1291](https://github.com/ClickHouse/clickhouse-go/pull/1291)

#### New Contributors

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

**Full Changelog**:
ClickHouse/clickhouse-go@v2.23.2...v2.24.0

###
[`v2.23.2`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2232-2024-04-25----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

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

#### What's Changed

##### Fixes 🐛

- Fixed panic on concurrent context key map write by
[@&#8203;Wang](https://github.com/Wang) in
[https://github.com/ClickHouse/clickhouse-go/pull/1284](https://github.com/ClickHouse/clickhouse-go/pull/1284)

##### Other Changes 🛠

- Fix ClickHouse Terraform provider version by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1285](https://github.com/ClickHouse/clickhouse-go/pull/1285)

#### New Contributors

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

**Full Changelog**:
ClickHouse/clickhouse-go@v2.23.1...v2.23.2

###
[`v2.23.1`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2231-2024-04-15----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

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

#### What's Changed

##### Fixes 🐛

- Zero-value timestamp to be formatted as toDateTime(0) in bind by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1260](https://github.com/ClickHouse/clickhouse-go/pull/1260)

##### Other Changes 🛠

- Update
[#&#8203;1127](https://github.com/ClickHouse/clickhouse-go/issues/1127)
test case to reproduce a progress handle when exception is thrown by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1259](https://github.com/ClickHouse/clickhouse-go/pull/1259)
- Set max parallel for GH jobs by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1261](https://github.com/ClickHouse/clickhouse-go/pull/1261)
- Ensure test container termination by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1274](https://github.com/ClickHouse/clickhouse-go/pull/1274)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.23.0...v2.23.1

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Yang Song <songy23@users.noreply.github.com>
@jkaflik jkaflik added the breaking-change change introduces a breaking change label Aug 1, 2024
codeboten referenced this pull request in open-telemetry/opentelemetry-collector-contrib Aug 7, 2024
[![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.26.0` -> `v2.27.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.27.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.27.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.26.0/v2.27.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.26.0/v2.27.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.27.1`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2271-2024-08-05----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

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

#### What's Changed

##### Fixes 🐛

- Fix INSERT statement normalization match backtick table name by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1366](https://github.com/ClickHouse/clickhouse-go/pull/1366)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.27.0...v2.27.1

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

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

#### Breaking change notice

v2.25.0 was released with a breaking change in
[https://github.com/ClickHouse/clickhouse-go/pull/1306](https://github.com/ClickHouse/clickhouse-go/pull/1306).
Please review your implementation.

#### What's Changed

##### Enhancements 🎉

- Unpack value of indirect types in array column to support nested
structures in interfaced slices/arrays by
[@&#8203;jmaicher](https://github.com/jmaicher) in
[https://github.com/ClickHouse/clickhouse-go/pull/1350](https://github.com/ClickHouse/clickhouse-go/pull/1350)

##### Fixes 🐛

- Common HTTP insert query normalization by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1341](https://github.com/ClickHouse/clickhouse-go/pull/1341)

##### Other Changes 🛠

- Update examples std json by
[@&#8203;xjeway](https://github.com/xjeway) in
[https://github.com/ClickHouse/clickhouse-go/pull/1240](https://github.com/ClickHouse/clickhouse-go/pull/1240)
- ClickHouse 24.6 by [@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1352](https://github.com/ClickHouse/clickhouse-go/pull/1352)
- ClickHouse 24.7 release by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1363](https://github.com/ClickHouse/clickhouse-go/pull/1363)
- Update CHANGELOG with a breaking change note by
[@&#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1364](https://github.com/ClickHouse/clickhouse-go/pull/1364)

#### New Contributors

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

**Full Changelog**:
ClickHouse/clickhouse-go@v2.26.0...v2.27.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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNyIsInVwZGF0ZWRJblZlciI6IjM4LjE4LjE3IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Yang Song <songy23@users.noreply.github.com>
@jkaflik jkaflik deleted the kk/sql-null-string-nullable-column branch August 28, 2024 06:06
f7o referenced this pull request in f7o/opentelemetry-collector-contrib Sep 12, 2024
…-telemetry#34443)

[![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.26.0` -> `v2.27.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.27.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.27.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.26.0/v2.27.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.26.0/v2.27.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.27.1`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2271-2024-08-05----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

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

#### What's Changed

##### Fixes 🐛

- Fix INSERT statement normalization match backtick table name by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1366](https://github.com/ClickHouse/clickhouse-go/pull/1366)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.27.0...v2.27.1

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

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

#### Breaking change notice

v2.25.0 was released with a breaking change in
[https://github.com/ClickHouse/clickhouse-go/pull/1306](https://github.com/ClickHouse/clickhouse-go/pull/1306).
Please review your implementation.

#### What's Changed

##### Enhancements 🎉

- Unpack value of indirect types in array column to support nested
structures in interfaced slices/arrays by
[@&open-telemetry#8203;jmaicher](https://github.com/jmaicher) in
[https://github.com/ClickHouse/clickhouse-go/pull/1350](https://github.com/ClickHouse/clickhouse-go/pull/1350)

##### Fixes 🐛

- Common HTTP insert query normalization by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1341](https://github.com/ClickHouse/clickhouse-go/pull/1341)

##### Other Changes 🛠

- Update examples std json by
[@&open-telemetry#8203;xjeway](https://github.com/xjeway) in
[https://github.com/ClickHouse/clickhouse-go/pull/1240](https://github.com/ClickHouse/clickhouse-go/pull/1240)
- ClickHouse 24.6 by [@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1352](https://github.com/ClickHouse/clickhouse-go/pull/1352)
- ClickHouse 24.7 release by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1363](https://github.com/ClickHouse/clickhouse-go/pull/1363)
- Update CHANGELOG with a breaking change note by
[@&open-telemetry#8203;jkaflik](https://github.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1364](https://github.com/ClickHouse/clickhouse-go/pull/1364)

#### New Contributors

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

**Full Changelog**:
ClickHouse/clickhouse-go@v2.26.0...v2.27.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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNyIsInVwZGF0ZWRJblZlciI6IjM4LjE4LjE3IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

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

Successfully merging this pull request may close these issues.

can not scan Nullable column into sql.NullString
1 participant