-
Notifications
You must be signed in to change notification settings - Fork 638
Open
Labels
Description
Code example
With Go 1.25 - HA URL parsed successfully
With Go 1.26 - HA URL parsing fails
Minimalistic example:
package main
import (
"fmt"
"net/url"
)
func main() {
result, err := url.Parse("clickhouse://host1:9440,host2:9440/database")
fmt.Printf("%#v", result)
fmt.Printf("%v", err)
}Affected code - https://github.com/ClickHouse/clickhouse-go/blob/main/clickhouse_options.go#L185
Related issue - golang/go#75859
Related changes in Go src - golang/go@e3be2d1
Details
Environment
-
clickhouse-goversion: 2.34.0, but the latest one is also affected - Interface: ClickHouse API /
database/sqlcompatible driver - Go version: 1.26.0
- Operating system:
- ClickHouse version:
- Is it a ClickHouse Cloud?
- ClickHouse Server non-default settings, if any:
-
CREATE TABLEstatements for tables involved: - Sample data for all these tables, use clickhouse-obfuscator if necessary
Reactions are currently unavailable