trinodb / trinodb/trino-python-client

capture queryset with column names

Open
#101 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
439
Forks
206
PR merge metrics
No merged PRs in 30d

Description

I think there should be a way to fetch the query results as an array of dictionaries, which the keys are column names. this has a great use for me and maybe many others. is there any solution for this?
And if there is not would it be ok if I try to contribute something like this to the project?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file, test, or entry point. Start by reviewing the client's existing query-result and cursor APIs to determine how column names and rows are currently exposed. Clarify the expected dictionary shape and add tests that define the requested behavior before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.