Skip to content

Conversation

@gabotechs
Copy link
Collaborator

No description provided.

… from anything that's not a SessionStateBuilder
Comment on lines +69 to +71
if cfg.network_coalesce_tasks.is_none() && cfg.network_shuffle_tasks.is_none() {
return Ok(plan);
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As now DistributedConfig is always in the config, we cannot rely on it not being present as a signal that the query should not be distributed. Now we also need to check that it's not configured at all in order to skip the distribution.

Comment on lines +186 to +188
if plan.as_any().is::<DistributedExec>() {
return Ok(plan);
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really related to this PR, but found this footgun while making the tests pass, so I thought that it might be fine to add it here, it would have helped me.

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.

2 participants