jason810496 opened a new pull request, #75444:
URL: https://github.com/apache/airflow/pull/75444

   Final nit before the Java SDK beta release.
   
   `scala_spark_examples.py` owns the `scala_spark_example` Dag and declares its
   three tasks with `@task.stub`, but the Scala bundle built a `DagDef` of the 
same
   ID, which is the Dag definition path. One Dag ID was declared on both sides.
   
   The bundle now registers one handler per task ID:
   
   ```scala
   object ScalaSparkExample {
     def build(): Bundle =
       new Bundle()
         .register(SparkEtl.DagId, SparkEtl.ExtractTaskId, 
classOf[SparkExtract])
         .register(SparkEtl.DagId, SparkEtl.TransformTaskId, 
classOf[SparkTransform])
         .register(SparkEtl.DagId, SparkEtl.LoadTaskId, classOf[SparkLoad])
   }
   ```
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to