diff options
author | asmyasnikov <asmyasnikov@yandex-team.ru> | 2022-02-08 10:37:21 +0300 |
---|---|---|
committer | asmyasnikov <asmyasnikov@yandex-team.ru> | 2022-02-08 10:37:21 +0300 |
commit | 6a99be484670d42ac92362906cd2fdf2f670fc88 (patch) | |
tree | 25d7ba3bc773d676bdda421aa51090e0e9f245f5 /library/python/reservoir_sampling | |
parent | 8bebf8a653c586920c10da358b410e6ddde0ae18 (diff) | |
download | ydb-6a99be484670d42ac92362906cd2fdf2f670fc88.tar.gz |
KIKIMR-13205 KIKIMR-14176 update ydb-go-sdk to v3.8.11
KIKIMR-13205 KIKIMR-14176 update ydb-go-sdk to v3.8.11
Release v3.8.11:
* Changed connection secure to `true` by default
* Renamed public package `balancer` to `balancers` (this package contains only constructors of balancers)
* Moved interfaces from package `internal/balancer/ibalancer` to `internal/balancer`
* Added `NextResultSetErr()` func for select next result set and return error
* Added package `table/result/indexed` with interfaces `indexed.Required`, `indexed.Optional`, `indexed.RequiredOrOptional`
* Replaced abstract `interface{}` in `Scan` to `indexed.RequiredOrOptional`
* Replaced abstract `interface{}` in `ScanWithDefaults` to `indexed.Required`
* Replaced `trace.Table.OnPoolRetry` callback to `trace.Table.OnPoolDo` and `trace.Table.OnPoolDoTx` callbacks
* Supports server hint `session-close` for gracefully shutdown session
```go
for res.NextResultSet(ctx, "col1", "col2") {
for res.NextRow() {
err = res.Scan(&col1, &col2)
}
}
```
```go
for res.NextResultSet(ctx) {
for res.NextRow() {
err = res.ScanNamed(
named.Optional("col1", &col1),
named.Required("col2", &col2)
)
}
}
```
ref:2e0a8b71c8c7aeeca9497d0e38abbc7f682b3e6f
Diffstat (limited to 'library/python/reservoir_sampling')
0 files changed, 0 insertions, 0 deletions