Skip to content

Move schema as a property of a physical port - #2304

Merged
Yicong-Huang merged 15 commits into
masterfrom
yicong-schema-to-port-physical
Jan 23, 2024
Merged

Yicong-Huang merged 15 commits into
masterfrom
yicong-schema-to-port-physical

Conversation

@Yicong-Huang

@Yicong-Huang Yicong-Huang commented Jan 21, 2024 •

Copy link
Copy Markdown
Contributor

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.

@Yicong-Huang Yicong-Huang changed the title Map schema to physical op's ports Move schema as a property of a physical port Jan 21, 2024
@Yicong-Huang Yicong-Huang self-assigned this Jan 21, 2024
@Yicong-Huang Yicong-Huang added engine refactor Refactor the code labels Jan 21, 2024
@Yicong-Huang
Yicong-Huang force-pushed the yicong-schema-to-port-physical branch from 3d76c77 to f7fe66d Compare January 21, 2024 22:23
@shengquan-ni
shengquan-ni changed the base branch from master to yicong-move-schema-to-port January 23, 2024 01:32
Base automatically changed from yicong-move-schema-to-port to master January 23, 2024 02:00
# Conflicts:
#	core/amber/src/main/scala/edu/uci/ics/texera/workflow/common/workflow/LogicalPlan.scala
# Conflicts:
#	core/amber/src/main/scala/edu/uci/ics/texera/workflow/operators/filter/SpecializedFilterOpDesc.java
#	core/amber/src/main/scala/edu/uci/ics/texera/workflow/operators/typecasting/TypeCastingOpDesc.java
#	core/amber/src/main/scala/edu/uci/ics/texera/workflow/operators/udf/python/source/PythonUDFSourceOpDescV2.java
#	core/amber/src/main/scala/edu/uci/ics/texera/workflow/operators/visualization/wordCloud/WordCloudOpDesc.java
@Yicong-Huang
Yicong-Huang merged commit 9a6e845 into master Jan 23, 2024
@Yicong-Huang
Yicong-Huang deleted the yicong-schema-to-port-physical branch January 23, 2024 17:07
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine refactor Refactor the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants