Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

values() creates one row of arrays instead of multiple rows

Open
#407 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
database

Research direction

Start by reproducing the issue with duckdb.values([(10, 'A'), (20, 'B')]).df() using the reported Python and package versions. Trace the Python values() entry point and compare its handling of a list of tuples with the documented alternatives; done means the input yields two rows and two columns with the expected differing types, with regression coverage for the reported call.

Written by the indexing model from the issue text.

Description

needs triage
What happens?

I believe this behavior is a bug and not actually intended, but I may be wrong.

duckdb.values([(10, 'A'), (20, 'B')]) produces a table with one row of VARCHAR[] values, instead of a table with two rows and two columns with different types.

Other alternatives like:

  • duckdb.values((10, 'A'), (20, 'B'))
  • duckdb.values("(10, 'A'), (20, 'B')")

just fail.

To Reproduce
duckdb.values([(10, 'A'), (20, 'B')]).df()
OS:

macOS Tahoe

DuckDB Package Version:

1.5.1

Python Version:

3.12.13

Full Name:

Carlos

Affiliation:

Mutt

What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.

I have not tested with any build

Did you include all relevant data sets for reproducing the issue?

No - Other reason (please specify in the issue body)

Did you include all code required to reproduce the issue?
  • Yes, I have
Did you include all relevant configuration to reproduce the issue?
  • Yes, I have
Dominant language
Python
Stars
186
Forks
113
Avg merge
1d 5m
Merged PRs (30d)
13

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.

More from duckdb/duckdb-python

All issues in duckdb/duckdb-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.