Skip to content

Update GetLogicalType() to support creating a List type for IList<T> columns in table functions#325

Merged
Giorgi merged 1 commit intoGiorgi:developfrom
jdaigle:TableFunctionListColumns
Apr 13, 2026
Merged

Update GetLogicalType() to support creating a List type for IList<T> columns in table functions#325
Giorgi merged 1 commit intoGiorgi:developfrom
jdaigle:TableFunctionListColumns

Conversation

@jdaigle
Copy link
Copy Markdown
Contributor

@jdaigle jdaigle commented Apr 13, 2026

Also fixes crash when DuckDB-internal list functions (e.g. list_has_any) operate on list columns from table functions. The root cause was that duckdb_list_vector_set_size was never called after writing child elements, so DuckDB didn't know the actual size of the child vector. Simple reads worked, but functions that presumably inspect the child vector's reported size would crash.

…<T>` columns in table functions.

Also fixes crash when DuckDB-internal list functions (e.g. `list_has_any`) operate on list columns from table
functions. The root cause was that `duckdb_list_vector_set_size` was never called after writing child elements,
so DuckDB didn't know the actual size of the child vector. Simple reads worked, but functions that presumably
inspect the child vector's reported size would crash.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 24344417911

Coverage increased (+0.03%) to 89.637%

Details

  • Coverage increased (+0.03%) from the base build.
  • Patch coverage: 6 of 6 lines across 2 files are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 2917
Covered Lines: 2668
Line Coverage: 91.46%
Relevant Branches: 1493
Covered Branches: 1285
Branch Coverage: 86.07%
Branches in Coverage %: Yes
Coverage Strength: 452674.4 hits per line

💛 - Coveralls

@Giorgi Giorgi merged commit 9717bc5 into Giorgi:develop Apr 13, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants