yanjin24 commented on issue #503:
URL: https://github.com/apache/flink-agents/issues/503#issuecomment-5306844754
Hi, I'd like to revisit this. The root cause is a tiny cross-platform
correctness fix, not an attempt to add Windows support.
The Python side builds the jar URI with f"file://{jar_file}", which produces
a malformed URI on Windows (file://C:\... — missing the third slash). Using
Path.resolve().as_uri() fixes it (file:///C:/...) while being identical to
current behavior on Linux — a no-op there, zero maintenance burden.
This would let Flink Agents run in a Windows IDE for dev/testing. I'm
willing to open a PR (in python/flink_agents/api/execution_environment.py, both
the common and version-specific jar loops). Could you reopen this issue? Thanks.
--
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]