Open meltsufin opened 1 year ago
yeah I guess you need to do 2 things: 1. only go fetch the Interleaved data if its needed in the projection and 2. If you need to get the Interleaved data, always get the keys needed to get the information, even if not part of the parent query
Describe the bug When an entity has an
@Interleaved
property, it causes failures with projection queries that do not even have that property.Sample
https://github.com/Alos/SpannerCatProjectionIssue
Workaround
Use
@Interleaved(lazy = true)
.