diff --git a/ch/chschema/types.go b/ch/chschema/types.go index 4d07da6..ff731db 100644 --- a/ch/chschema/types.go +++ b/ch/chschema/types.go @@ -39,7 +39,7 @@ var ( ) var chTypes = [...]string{ - reflect.Bool: chtype.UInt8, + reflect.Bool: chtype.Bool, reflect.Int: chtype.Int64, reflect.Int8: chtype.Int8, reflect.Int16: chtype.Int16, diff --git a/example/benchmark/README.md b/example/benchmark/README.md index d4f7c49..29a47d2 100644 --- a/example/benchmark/README.md +++ b/example/benchmark/README.md @@ -1,4 +1,4 @@ # go-clickhouse benchmark examples These examples allow to compare performance with -[clickhouse-go](https://github.com/ClickHouse/clickhouse-go/tree/v2/benchmark/v2). +[clickhouse-go](https://github.com/ClickHouse/clickhouse-go/tree/main/benchmark/v2). diff --git a/example/benchmark/go.mod b/example/benchmark/go.mod index cf45322..f3efd45 100644 --- a/example/benchmark/go.mod +++ b/example/benchmark/go.mod @@ -6,7 +6,7 @@ replace github.com/uptrace/go-clickhouse => ../.. replace github.com/uptrace/go-clickhouse/chdebug => ../../chdebug -require github.com/uptrace/go-clickhouse v0.2.9 +require github.com/uptrace/go-clickhouse v0.0.0-00010101000000-000000000000 require ( github.com/codemodus/kace v0.5.1 // indirect