refactored query stats: implemetation instead interface #12724
Annotations
5 errors and 1 warning
Run tests:
internal/table/scanner/result.go#L126
cannot use r (variable of type *streamResult) as StreamResult value in return statement: *streamResult does not implement StreamResult (wrong type for method Stats)
|
Run tests:
internal/table/scanner/result.go#L142
cannot use r (variable of type *unaryResult) as UnaryResult value in return statement: *unaryResult does not implement UnaryResult (wrong type for method Stats)
|
Run tests:
internal/table/scanner/result.go#L227
cannot use stats.FromQueryStats(r.stats) (value of type "github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats) as *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats value in return statement: "github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats does not implement *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats (type *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats is pointer to interface, not interface)
|
Run tests:
internal/query/options/execute_script.go#L81
cannot use stats.FromQueryStats(pb.GetExecStats()) (value of type "github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats) as *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats value in struct literal: "github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats does not implement *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats (type *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats is pointer to interface, not interface)
|
Run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading