Skip to content

feat: Limit automatic materialization by number of rows or number of cells#1017

Merged
krlmlr merged 9 commits intomainfrom
f-tether
Jan 22, 2025
Merged

feat: Limit automatic materialization by number of rows or number of cells#1017
krlmlr merged 9 commits intomainfrom
f-tether

Conversation

@krlmlr
Copy link
Collaborator

@krlmlr krlmlr commented Jan 21, 2025

The purpose of this is to support automatic materialization up to a specific threshold (number of rows or number of cells). Is this perhaps built into the DuckDB library?

For review, the crucial part is https://github.com/duckdb/duckdb-r/pull/1017/files#diff-126b595d21fec2ecd861c9c0dbdb1434973d14eabf3fd0e16339e41070d74410R174-R176 : We add a limit relation with the maximum number of rows that we allow, plus one. If the result is larger, we throw an error.

@krlmlr krlmlr changed the title f tether 1 Jan 21, 2025
@krlmlr krlmlr enabled auto-merge (squash) January 21, 2025 06:45
@krlmlr krlmlr marked this pull request as draft January 21, 2025 06:45
auto-merge was automatically disabled January 21, 2025 06:45

Pull request was converted to draft

@krlmlr krlmlr changed the title 1 feat: Limit automatic materialization by number of rows or number of cells Jan 21, 2025
@krlmlr krlmlr requested a review from hannes January 21, 2025 06:50
@krlmlr krlmlr force-pushed the f-tether branch 5 times, most recently from 5d5c3da to 4c3757d Compare January 22, 2025 06:53
@krlmlr krlmlr marked this pull request as ready for review January 22, 2025 09:22
@krlmlr krlmlr enabled auto-merge (squash) January 22, 2025 09:22
@krlmlr krlmlr merged commit 0aced17 into main Jan 22, 2025
12 checks passed
@krlmlr krlmlr deleted the f-tether branch January 22, 2025 10:22
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant