Skip to content

Bump clickhouse-go to v2 #942

@magurotuna

Description

@magurotuna

Is your feature request related to a problem? Please describe.

Currently clickhouse-go v1.4.3 is used as a backing client to connect to ClickHouse, although v1 is in maintenance mode and we are encouraged to switch to v2.

github.com/ClickHouse/clickhouse-go v1.4.3

Describe the solution you'd like

Bump the version of clickhouse-go to v2

Describe alternatives you've considered
N/A

Additional context

What would be concerning about updating to v2 is that it has a few breaking changes that will likely affect the users of golang-migrate as well. For example, connection_open_strategy was set to random in v1, whereas in_order in v2. In my opinion it doesn't matter much for us as the users of golang-migrate, though.

Activity

kluevandrew

kluevandrew commented on Jan 4, 2024

@kluevandrew

Any news?

ribtoks

ribtoks commented on Aug 28, 2024

@ribtoks

I'm hitting a problem where latest migrate binary simply does not work with ClickHouse 23.8.9. However, same code, but supplied with clickhouse-go-v2-created instance of sql.DB and passed as argument to .WithInstance() is working. So updating clickhouse-go to v2 would really help!

kokizzu

kokizzu commented on Apr 16, 2025

@kokizzu

this need to be reopened '__') my PR commits got cleaned by pull bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @ribtoks@kokizzu@kluevandrew@magurotuna

      Issue actions

        Bump `clickhouse-go` to v2 · Issue #942 · golang-migrate/migrate