Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Add projections after joins. #280

Merged
merged 1 commit into from
Mar 13, 2023
Merged

Conversation

ienkovich
Copy link
Contributor

It looks like Calcite can remove projections after joins in the case of nested joins. In this case, join can become an execution point, which we don't handle well. Instead of supporting join as a valid execution point, I decided to add additional projections because it allows the exclusion of unused columns from the intermediate result set.

This resolves #253

@ienkovich ienkovich merged commit 82f0403 into main Mar 13, 2023
@ienkovich ienkovich deleted the ienkovich/fix-join-exec-points branch March 13, 2023 19:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UNREACHABLE Unhandled node type: hdk::ir::Join
2 participants