clickhouse icon indicating copy to clipboard operation
clickhouse copied to clipboard

GORM clickhouse driver

Results 37 clickhouse issues
Sort by recently updated
recently updated
newest added

## GORM 指定clickhouse库名无效 https://github.com/go-gorm/playground/pull/1 ## gorm连接clickhouse使用的不是dsn中database,而是default。 使用gorm的自动建表即使使用sql use database切换库名,在执行到ColumnTypes函数时,用CurrentDatabase打印出来的还是default

## GORM Playground Link 使用gorm+clickhouse连接 DB连接 import( "gorm.io/driver/clickhouse" "gorm.io/driver/mysql") db_ch, dberr = gorm.Open(clickhouse.Open(dsn), &gorm.Config{}) ## Description 使用gorm连接clickhouse,读取数据,当读取到NullFloat字段时,报错,并且该字段索引后面的字段值也为空 字段如下: Section2PdP1 float64 gorm:"section_2_pd_p1" 试了多种类型,包含float64,*float64,sql.NullFloat64, sql.RawBytes, interface{}. 读取时均为如下报错: sql: Scan error on column...

## GORM Playground Link 我的gorm.io/driver/clickhouse包运营时会报错 ## Description 错误如下 ../../go/pkg/mod/github.com/!click!house/clickhouse-go/[email protected]/conn.go:31:2: //go:build comment without // +build comment ../../go/pkg/mod/github.com/!click!house/[email protected]/compress/reader.go:9:2: //go:build comment without // +build comment ../../go/pkg/mod/github.com/!click!house/[email protected]/proto/ipv4.go:5:2: package net/netip is not in GOROOT (/usr/local/go/src/net/netip)...

``` type SubProperties struct { ID string Contract string Type string Name string } type Properties struct { Channel string SubProperties } p := Properties{ Channel: "aaaa", SubProperties: SubProperties{ ID:...

type:question

## The nested type is very useful for clickhouse, do you have plan to support nested type?

Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.10 to 1.25.11. Commits 4a50b36 ci: Add PostgreSQL 14 and 15 to GitHub Actions matrix (#7081) 11c4331 feat: add MapColumns method (#6901) 8a0af58 fix map fields with...

dependencies
go

bugfix: When using the create or createInBatches methods with Byconity, RowsAffected is not set correctly - [ ] Do only one thing - [ ] Non breaking API changes -...