You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having issues with remote joins
Specifically no remote objects left for joining at
I can confirm the request is beign sent to my remote schema correctly, so it seems the issue is the handling of the response by hasura.
When using Remote joins, I get this error "message": "no remote objects left for joining at {"descriptionRich":"# F&C"}":thinking:
The text was updated successfully, but these errors were encountered:
tirumaraiselvan
changed the title
unit test insertBatchResults function
rethink insertBatchResults function
Aug 21, 2019
Current logic is as follows which relies on the following invariant
Remote relationship field can only occur at the leaf of the query structure.
Remote query is aliased according to the order of the hasura result set
i.e "remote_result_1" will be the result for "hasura_result_1" where "hasura_result_1" is the first leaf field which contains the remote field.
Algo:
Sort all remote results by their alias. Call this array: remote_results
Traverse hasura json depth first
When hit a leaf field
If its array type, extract len(array) remote results from the head of remote_results
If its object type, extract one remote result from the head of remote_results
User are facing issues in the join function.
The text was updated successfully, but these errors were encountered: