spring-projects / spring-projects/spring-data-relational

Support Projections for Single Query Loading on an API level

Open
#1,579 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: single-query-loading type: enhancement
Dominant language
Java
Stars
827
Forks
394
PR merge metrics
No merged PRs in 30d

Description

SingleQuerySqlGenerator and AggregateResultSetExtractor should support projection information, limiting the the columns loaded.

Actually tying this to the handling of projections might be a separate issue, although nobody would complain if it gets implemented with this one.

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

Start by locating SingleQuerySqlGenerator and AggregateResultSetExtractor and reading how single-query loading currently determines its selected columns. Trace the projection information through the API-level loading path; done means both components use projection information to limit loaded columns without breaking existing single-query behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
api, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.