[
https://issues.apache.org/jira/browse/SPARK-60555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18150525#comment-18150525
]
Andreas Neumann commented on SPARK-60555:
-----------------------------------------
I opened SPARK-62332, which proposes a more general fix for this problem:
transform a pipeline flow's relation when the flow is analyzed instead of when
it is defined, and resolve the reads of pipeline datasets while the relation is
transformed. A read is then never resolved against the catalog before flow
analysis, so the dependency is kept for every transformation that analyzes its
input, regardless of which relation type the read would resolve to.
It also fixes two problems that the approach here cannot: a column added to the
upstream dataset reaches the downstream flow only on the following run, because
the transformations above the read were already analyzed against the previous
schema; and flows using transformations without an unresolved fallback, such as
{{na.fill}}, {{to}}, and {{withWatermark}}, cannot be defined before the
upstream dataset exists. If SPARK-62332 is accepted, it would subsume this
ticket and https://github.com/apache/spark/pull/59796.
> Keep dependencies on pipeline datasets read through eagerly analyzed Spark
> Connect operators
> --------------------------------------------------------------------------------------------
>
> Key: SPARK-60555
> URL: https://issues.apache.org/jira/browse/SPARK-60555
> Project: Spark
> Issue Type: Bug
> Components: Declarative Pipelines
> Affects Versions: 5.0.0
> Reporter: Andreas Neumann
> Priority: Major
> Labels: pull-request-available
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]