-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
type:with reproduction stepswith reproduction stepswith reproduction steps
Description
[GORM Playground Link](bug:gorm scan func not capture error driver:clickhouse)
I query clickhouse, it return not data and not error. but clichouse has datas exectly.
I use follow example to show it.
I append data into clickhouse
after that, I use follow sql query clickhouse
select * from users limit 10000 settings max_memory_usage = 2;
code like that
//execute will be fail; because exceed clickhouse query memory limit
//but not return error
var result []*User = make([]*User, 0)
err = DB.Raw("select * from users limit 10000 settings max_memory_usage = 2;").Scan(&result).Error
if err == nil {
t.Errorf("error not capture")
}
I expect it return error, but not
Metadata
Metadata
Assignees
Labels
type:with reproduction stepswith reproduction stepswith reproduction steps