uranusjr commented on code in PR #71757:
URL: https://github.com/apache/airflow/pull/71757#discussion_r4346896832
##########
java-sdk/capabilities.yaml:
##########
@@ -52,76 +57,136 @@ states:
note: "runtime does not emit AwaitInputTask yet"
removed:
supported: true
- since: "3.3"
+ since: "3.4.0"
+ sdk_version: "1.0.0"
-# Runtime capabilities reflect the task-facing Client surface. Native-Dag
capabilities describe
-# what a Java-authored Dag can declare and deliver through Dag serialization.
+# Runtime capabilities apply to a task body in both authoring modes.
capabilities:
- mixed-lang-stub-target:
- supported: true
- since: "3.3"
- note: "@task.stub"
- taskflow-binding:
- supported: false
- note: "bind @task.stub literal/XCom args to the native handler"
task-logging:
supported: true
- since: "3.3"
+ since: "3.4.0"
+ sdk_version: "1.0.0"
note: "SLF4J + JPL bridged to the task log"
xcom-read-write:
supported: true
- since: "3.3"
+ since: "3.4.0"
+ sdk_version: "1.0.0"
connection-read:
supported: true
- since: "3.3"
+ since: "3.4.0"
+ sdk_version: "1.0.0"
variable-read-write:
supported: true
- since: "3.3"
+ since: "3.4.0"
+ sdk_version: "1.0.0"
self-contained-bundle:
supported: true
- since: "3.3"
+ since: "3.4.0"
+ sdk_version: "1.0.0"
note: "Airflow metadata embedded in the jar artifact"
retry-policy:
supported: false
note: "no task-facing retry-policy API yet"
task-state-store:
supported: true
- since: "3.3"
+ since: "3.4.0"
+ sdk_version: "1.0.0"
note: "Client.getTaskStateStore() get/set/delete/clear"
asset-state-store:
supported: false
- note: "no task-facing state-store API yet"
+ note: "no task-facing asset state-store API yet"
asset-event-emit:
supported: false
note: "runtime does not emit asset events yet"
asset-event-read:
supported: false
note: "no task-facing asset-event API yet"
- native-dag-authoring:
+ object-store:
+ supported: false
+ note: "no object-storage API yet"
+ # Dag definition: the whole Dag is declared in the SDK's language.
+ dag-definition:
supported: true
- since: "3.4"
+ since: "3.4.0"
+ sdk_version: "1.0.0"
+ dag-args:
+ supported: true
+ since: "3.4.0"
+ sdk_version: "1.0.0"
task-args:
supported: true
- since: "3.4"
+ since: "3.4.0"
+ sdk_version: "1.0.0"
dag-params:
supported: false
- taskflow-dependencies:
+ explicit-dependencies:
supported: true
- since: "3.4"
- branching:
+ since: "3.4.0"
+ sdk_version: "1.0.0"
+ note: "before / after, or @Airflow.Deps"
+ edge-labels:
Review Comment:
Procedural: This depends on #75185, which is merged to main. But the
_backport of this PR_ depends on #75365, not merged yet. Need to be careful
when backporting.
--
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]