You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@auron.apache.org by "Tartarus0zm (via GitHub)" <gi...@apache.org> on 2026/01/09 08:50:10 UTC
[I] Introduce FlinkAuronCalcOperator [auron]
Tartarus0zm opened a new issue, #1857:
URL: https://github.com/apache/auron/issues/1857
This Operator will use to run Auron Native engine for Calc.
Includes the following steps:
- Convert Arrow to RowData.
- Integrate with Flink Checkpoint and flush data to downstream.
- Integrate with Flink watermark and flush data to downstream.
--
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: commits-unsubscribe@auron.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Introduce FlinkAuronCalcOperator [auron]
Posted by "Tartarus0zm (via GitHub)" <gi...@apache.org>.
Tartarus0zm closed issue #1857: Introduce FlinkAuronCalcOperator
URL: https://github.com/apache/auron/issues/1857
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Introduce FlinkAuronCalcOperator [auron]
Posted by "weiqingy (via GitHub)" <gi...@apache.org>.
weiqingy commented on issue #1857:
URL: https://github.com/apache/auron/issues/1857#issuecomment-4417694869
Thanks for the review, @Tartarus0zm! Your feedback on OQ1 makes sense.
**OQ1 — switching from (ii) to (i)**: embed the operator ID in the FFI Reader resource-ID prefix.
```java
String flinkOpId = ((StreamingRuntimeContext) getRuntimeContext()).getOperatorUniqueID();
int subtask = getRuntimeContext().getIndexOfThisSubtask();
String resourceId = "FlinkAuronCalc-" + flinkOpId + "-" + subtask + ":" + UUID.randomUUID();
JniBridge.putResource(resourceId, exporter);
ffiReaderBuilder.setExportIterProviderResourceId(resourceId);
// FFIReaderExecNode is unchanged.
```
This keeps `FFIReaderExecNode` as an intermediate (no proto change), and the prefix `FlinkAuronCalc-<flinkOpId>-<subtask>` is parseable by the native side if it ever needs the operator ID. It can also be suffix-expanded later for per-ExecNode distinction — matching the pattern from your PoC.
**OQ2 (synchronous exporter)** and **OQ3 (`TableStreamOperator<RowData>` base)** confirmed as proposed.
**#1853 follow-up** — recorded as a binding constraint for the next PR: when `streamExecCalc` is rewritten to use `FlinkAuronCalcOperator`, the graph-rewriter substitution, plan/RowType/op-ID passing, and `ChainingStrategy.ALWAYS` interaction will need explicit handling.
Updated design: https://github.com/weiqingy/auron/blob/AURON-1857-design/AURON-1857-DESIGN.md (commit [`ad578c1e`](https://github.com/weiqingy/auron/commit/ad578c1e) is the round-1 resolution diff, if you want to skim just what changed).
I’ve started the implementation, and it is still a work in progress.
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Introduce FlinkAuronCalcOperator [auron]
Posted by "weiqingy (via GitHub)" <gi...@apache.org>.
weiqingy commented on issue #1857:
URL: https://github.com/apache/auron/issues/1857#issuecomment-4340519466
Thanks @Tartarus0zm !
Could you review the design when you get a chance: https://github.com/weiqingy/auron/blob/AURON-1857-design/AURON-1857-DESIGN.md ? I listed a few open questions and my preferred options in the doc. Feedback is welcome on any of the decisions above.
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Introduce FlinkAuronCalcOperator [auron]
Posted by "Tartarus0zm (via GitHub)" <gi...@apache.org>.
Tartarus0zm commented on issue #1857:
URL: https://github.com/apache/auron/issues/1857#issuecomment-4277474320
@weiqingy assigned to you
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Introduce FlinkAuronCalcOperator [auron]
Posted by "Tartarus0zm (via GitHub)" <gi...@apache.org>.
Tartarus0zm commented on issue #1857:
URL: https://github.com/apache/auron/issues/1857#issuecomment-4384840544
@weiqingy Thank you for your work; the docs is very detailed. Overall, I think it's okay.
Regarding OQ1, I wouldn’t really recommend using `ii`. The `auron_operator_id` was actually defined based on the concept of an Operator in Flink, but since a `CalcOperator` can contain multiple Auron Exec Nodes, I performed multiple suffix expansions on this OperatorId during my PoC to distinguish between them.
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Introduce FlinkAuronCalcOperator [auron]
Posted by "weiqingy (via GitHub)" <gi...@apache.org>.
weiqingy commented on issue #1857:
URL: https://github.com/apache/auron/issues/1857#issuecomment-4269722288
Hey @Tartarus0zm, I’m starting to work on issue #1857.
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org