Skip to content

[1.0.0] Only materialize the attributes needed in PDO. #227

Merged
ChadSikorra merged 1 commit into
FreeDSx:mainfrom
ChadSikorra:upgrade/sql-pt2
Jul 19, 2026
Merged

[1.0.0] Only materialize the attributes needed in PDO. #227
ChadSikorra merged 1 commit into
FreeDSx:mainfrom
ChadSikorra:upgrade/sql-pt2

Conversation

@ChadSikorra

Copy link
Copy Markdown
Contributor

This save a considerable amount of time with lots of attributes + entries. Specifically, we only instantiate attributes that we know we need. There's some subtlety here because if an attribute is used within a filter (not just selected), then we also need it because PDO can product inexact results that we have to re-filter in code which means we need the attribute + value. Also cases of selecting operational attributes or specifically selecting no attributes. So quite a few weird edge cases here.

…ount of time with lots of attributes + entries.
@ChadSikorra
ChadSikorra merged commit 308bf50 into FreeDSx:main Jul 19, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant