Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

False positive when executing SHOW tables query #20

@shinunandakumar

Description

@shinunandakumar

internal/trino/trino_catalogo_test.go:39:15: Use Exec instead of Query to execute SHOW query (execinquery)
rows, err := db.Query("SHOW tables")

the above error suggests to use db.Exec instead of db.Query but SHOW tables will return the table names,
db.Exec will not return any results..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions