Skip to content

Fix Windows paths for Dataflow job files - #39688

Draft
aryansk wants to merge 1 commit into
apache:masterfrom
aryansk:codex/issue-18734-windows-job-file
Draft

Fix Windows paths for Dataflow job files#39688
aryansk wants to merge 1 commit into
apache:masterfrom
aryansk:codex/issue-18734-windows-job-file

Conversation

@aryansk

@aryansk aryansk commented Aug 9, 2026

Copy link
Copy Markdown

Addresses #18734

Description

Allow --dataflowJobFile and --templateLocation to accept absolute local paths on every supported platform. The previous string-prefix check only recognized Unix paths beginning with /, so valid Windows paths such as C:\\Users\\...\\job.json were rejected before the file was written.

Testing

  • git diff --check
  • Not run locally: the environment does not have a Java runtime.
  • The existing DataflowRunnerTest.testTemplateRunnerFullCompletion covers successful local template creation; hosted CI should exercise the updated runner test suite.

Checklist

  • Mentioned the related issue.
  • Updated CHANGES.md; this is a focused bug fix without a user-facing release note.
  • Apache ICLA is not required for this small contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant