ch-go icon indicating copy to clipboard operation
ch-go copied to clipboard

Low-level Go Client for ClickHouse

Results 48 ch-go issues
Sort by recently updated
recently updated
newest added

So, instead of writing ``` query := fmt.Sprintf("SELECT * FROM table WHERE foo = '%s' AND bar != %d", "foo", 1234) ``` We can do something like ``` query :=...

enhancement

Auto Infer not support Nullable(DateTime) ? ```go col := &proto.ColAuto{} if err := col.Infer(proto.ColumnType("Nullable(DateTime)")); err != nil { fmt.Printf("Auto Infer Error: %s\n", err) } ``` Error: ``` Auto Infer Error:...

To allow code coverage calculation [codecov should be set up](https://docs.codecov.com/docs) for this repo. Github action can be tested [manually](https://github.com/ClickHouse/ch-go/actions/workflows/cover.yml) via workflow dispatch.

github_actions

This repo should be kept mostly low-level, providing primitives on ClickHouse TCP protocol and Native format. So, some higher-level abstractions should be extracted. Also, some refactoring should be done based...

I found a problem when I tested the code. Is there something wrong? ```sql CREATE TABLE default.dev ( test Decimal32(2) ) ENGINE = MergeTree() ORDER BY tuple(); ``` ```go var...

enhancement

auto infer ```go col := &proto.ColAuto{} if err := col.Infer(proto.ColumnType("DateTime")); err != nil { fmt.Printf("Auto Infer Error: %s\n", err) } // how to append data to column??? col.append()???

Hi, can we make this interface to be more generic? and work more like lets say sqlx works? i.e pass in the struct/primitive we want to scan, and fill up...

### Describe the bug I read clickhouse in gorm, Error eof is reported,occasionally. But the same sql is not required How can I fix it? What is the cause of...

bug

This is a parent issue to add support for the data type [`AggregateFunction`](https://clickhouse.com/docs/en/sql-reference/data-types/aggregatefunction). Several different categories of quantile functions can be used with `AggregateFunction`. I think each of them deserves...

https://github.com/ClickHouse/ClickHouse/pull/41109

enhancement