Skip to content

Best Way to Get Trino ID of Query #156

@harrisoncramer

Description

@harrisoncramer

Hey there,

The Go client currently returns raw rows from an executed query. Is it possible to get the Trino ID of the query itself? I'd like to use this to be able to store some metadata in our system regarding the query.

The Trino REST API specifies that this should be available: https://trino.io/docs/current/develop/client-protocol.html#important-queryresults-attributes

But I'm not clear on how to access this information when using the Go SDK. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions