chore(orchestration): remote joiner query planner (#13364)

What:
 - Added query planning to the Remote Joiner, enabling phased and parallel execution of data aggregation.
- Replaced object deletes with non-enumerable property hiding to improve performance.
This commit is contained in:
Carlos R. L. Rodrigues
2025-09-04 11:18:02 -03:00
committed by GitHub
parent b7fef5b7ef
commit bd571aca82
16 changed files with 1234 additions and 191 deletions

View File

@@ -296,6 +296,24 @@ export class RemoteQuery {
}
}
return this.executeFetchRequest({
expand,
keyField,
ids,
relationship,
})
}
private async executeFetchRequest(params: {
expand: RemoteExpandProperty
keyField: string
ids?: (unknown | unknown[])[]
relationship?: JoinerRelationship
}): Promise<{
data: unknown[] | { [path: string]: unknown }
path?: string
}> {
const { expand, keyField, ids, relationship } = params
const serviceConfig = expand.serviceConfig
const service = this.modulesMap.get(serviceConfig.serviceName)!