[
https://issues.apache.org/jira/browse/SPARK-60494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18150526#comment-18150526
]
Andreas Neumann commented on SPARK-60494:
-----------------------------------------
FYI, SPARK-62332 proposes a more general fix for the second problem fixed here:
a flow loses its dependency on a dataset of the pipeline when the dataset's
table already exists, because the flow's relation is analyzed when the flow is
defined. Besides {{spark.sql}} with DataFrame arguments, other transformations
analyze their input at that point, such as {{withColumn}}, {{na.fill}}, {{to}},
and {{withWatermark}}, and lose the dependency the same way (see also
SPARK-60555).
SPARK-62332 proposes to transform a flow's relation when the flow is analyzed,
and to resolve the reads of pipeline datasets while the relation is
transformed. That would cover all of these transformations, and could replace
the special handling of {{spark.sql}} with DataFrame arguments added here.
Feedback on the approach is welcome.
> Defer SQL with DataFrame arguments in a pipeline flow to flow analysis
> ----------------------------------------------------------------------
>
> Key: SPARK-60494
> URL: https://issues.apache.org/jira/browse/SPARK-60494
> Project: Spark
> Issue Type: Sub-task
> Components: Connect, Declarative Pipelines
> Affects Versions: 4.3.0
> Reporter: Dongjoon Hyun
> Assignee: Dongjoon Hyun
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.3.0, 4.2.2
>
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]