Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the schema fetching during sink storage assignment when using MongoDB #3173

Closed
wants to merge 1 commit into from

Conversation

shengquan-ni
Copy link
Collaborator

This PR fixes the issue that, when MongoDB is used as the result storage, the execution keeps failing.

The root cause is:

when using MongoDB as the result storage, the schema has to be extracted from the physical op
the code implementation uses the physical ops in subPlan to extract the schema out, which is incorrect as subPlan's physical ops are not propagated for output schemas
How the fix is done is: using physicalPlan variable, instead of subPlan.

@shengquan-ni
Copy link
Collaborator Author

We have the same fix in #3172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant