- 
                Notifications
    You must be signed in to change notification settings 
- Fork 104
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Currently, the QueryService.ExecuteQuery response includes an issues field containing YDB warnings (e.g., Symbol $param is not used). These warnings provide valuable diagnostic information but are currently inaccessible to the user of the ydb-go-sdk. This lack of visibility means developers miss potential optimizations or insights into query execution that the YDB server is providing.
Describe the solution you'd like
Pass a callback WithIssuesHandler(func(issues []*Ydb_Issue.IssueMessage) to Query(), Exec() (and theirs Session and transaction analogs) methods. WithIssuesHandler should implement query.ExecuteOption interface.
Additional context
- Example of a useful warning: Symbol $unused_param is not used.
- These are warnings, not errors. The query succeeds, but the server has valuable feedback.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request