[ 
https://issues.apache.org/jira/browse/SPARK-39529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556323#comment-17556323
 ] 

Enrico Minack commented on SPARK-39529:
---------------------------------------

A first good step could be to merge {{precondition}} into {{configure-jobs}} by 
simply concatenating the steps.

I think {{precondition.outputs.required}} should be turned from a JSON string 
into multiple plain string outputs like 
{{precondition.outputs.build-required}}. This removes the need for the verbose 
fromJSON(...) whenever that value is accessed.

> Refactor and merge all related job selection logic into precondition 
> ---------------------------------------------------------------------
>
>                 Key: SPARK-39529
>                 URL: https://issues.apache.org/jira/browse/SPARK-39529
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Project Infra
>    Affects Versions: 3.4.0
>            Reporter: Hyukjin Kwon
>            Priority: Major
>
> Currently there are three logics that choose which build to run.
> First is configure-jobs
> Second is precondition
> Third is the type of job (if it's scheduled or not).
> We should merge all to precondition.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to