Repository navigation
Move schema as a property of a logical port - #2303
Merged
Merged
Conversation
shengquan-ni
requested changes
Jan 22, 2024
shengquan-ni
left a comment
Contributor
There was a problem hiding this comment.
There are some minor issues.
shengquan-ni
self-requested a review
January 23, 2024 00:03
shengquan-ni
approved these changes
Jan 23, 2024
Yicong-Huang
added a commit
that referenced
this pull request
Jan 23, 2024
This PR continues the effort in #2303 by mapping schema to physical ports. We removed `OperatorSchemaInfo` completely as schema is not a property of an operator (either logical or physical) anymore. An assumption here is that some partial operators' output port schemas are the same as their corresponding global operators' output port schemas. This assumption is true for all existing operators, as the global operator usually conducts "reduce" operation only. For partial hash join implementation (build op + probe op in #2302), the schemas on the internal ports are to be defined by the developer of hash join.
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
This PR refactors the schema to be a port's property. Temporarily, we will keep mappings from PortIdentity to Schema for all input and output ports of a logical operator. The schema propagation logic is thus simplified.
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
This PR continues the effort in apache#2303 by mapping schema to physical ports. We removed `OperatorSchemaInfo` completely as schema is not a property of an operator (either logical or physical) anymore. An assumption here is that some partial operators' output port schemas are the same as their corresponding global operators' output port schemas. This assumption is true for all existing operators, as the global operator usually conducts "reduce" operation only. For partial hash join implementation (build op + probe op in apache#2302), the schemas on the internal ports are to be defined by the developer of hash join.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR refactors the schema to be a port's property. Temporarily, we will keep mappings from PortIdentity to Schema for all input and output ports of a logical operator. The schema propagation logic is thus simplified.