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 sql.Valuer support for all types #1144

Merged
merged 21 commits into from
Dec 1, 2023

Conversation

deankarn
Copy link
Contributor

@deankarn deankarn commented Nov 17, 2023

Summary

This PR adds sql.Valuer support for all types, except experimental type JSON.

Resolves #1143 #997

Checklist

Delete items not relevant to your PR:

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG
  • For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

@CLAassistant
Copy link

CLAassistant commented Nov 17, 2023

CLA assistant check
All committers have signed the CLA.

@jkaflik jkaflik self-assigned this Nov 17, 2023
@jkaflik
Copy link
Contributor

jkaflik commented Nov 27, 2023

Hi @deankarn
Thanks for submitting. I will review PR this week.

Copy link
Contributor

@jkaflik jkaflik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good. Can you please see my question?

lib/column/array.go Show resolved Hide resolved
Copy link
Contributor

@jkaflik jkaflik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good piece of work. Thank you!

@jkaflik
Copy link
Contributor

jkaflik commented Nov 30, 2023

@deankarn there is a conflict to be resolved. Can you take a look? I would like to release tomorrow.

@deankarn
Copy link
Contributor Author

@jkaflik I will make it my priority as soon as I am at my desk in an hour.

@deankarn
Copy link
Contributor Author

@jkaflik I have resolved the conflicts in the contributors list files, no code changes whatsoever :)

@jkaflik jkaflik merged commit fb3a5ca into ClickHouse:main Dec 1, 2023
13 checks passed
TylerHelmuth pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Dec 13, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/ClickHouse/clickhouse-go/v2](https://github.com/ClickHouse/clickhouse-go)
| require | minor | `v2.15.0` -> `v2.16.0` |

---

> [!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.16.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2160-2023-12-01----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

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

#### What's Changed

##### Enhancements 🎉

- Add sql.Valuer support for all types by
[@&#8203;deankarn](https://github.com/deankarn) in
[ClickHouse/clickhouse-go#1144

##### Fixes 🐛

- Fix DateTime64 range to actual supported range per ClickHouse
documentation by
[@&#8203;phil-schreiber](https://github.com/phil-schreiber) in
[ClickHouse/clickhouse-go#1148

#### New Contributors

- [@&#8203;phil-schreiber](https://github.com/phil-schreiber) made
their first contribution in
[ClickHouse/clickhouse-go#1148
- [@&#8203;deankarn](https://github.com/deankarn) made their first
contribution in
[ClickHouse/clickhouse-go#1144

**Full Changelog**:
ClickHouse/clickhouse-go@v2.15.0...v2.16.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:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jan 10, 2024
…-telemetry#29809)

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

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/ClickHouse/clickhouse-go/v2](https://github.com/ClickHouse/clickhouse-go)
| require | minor | `v2.15.0` -> `v2.16.0` |

---

> [!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.16.0`](https://github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2160-2023-12-01----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

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

#### What's Changed

##### Enhancements 🎉

- Add sql.Valuer support for all types by
[@&open-telemetry#8203;deankarn](https://github.com/deankarn) in
[ClickHouse/clickhouse-go#1144

##### Fixes 🐛

- Fix DateTime64 range to actual supported range per ClickHouse
documentation by
[@&open-telemetry#8203;phil-schreiber](https://github.com/phil-schreiber) in
[ClickHouse/clickhouse-go#1148

#### New Contributors

- [@&open-telemetry#8203;phil-schreiber](https://github.com/phil-schreiber) made
their first contribution in
[ClickHouse/clickhouse-go#1148
- [@&open-telemetry#8203;deankarn](https://github.com/deankarn) made their first
contribution in
[ClickHouse/clickhouse-go#1144

**Full Changelog**:
ClickHouse/clickhouse-go@v2.15.0...v2.16.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:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

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.

sql.Valuer support
3 participants