Skip to content

Commit

Permalink
fix(ingestion/scheduler): add extraArgs support for Ingestion Schedul…
Browse files Browse the repository at this point in the history
…er (e.g. for extra pip packages) (datahub-project#10195)

Co-authored-by: Christian Groll <[email protected]>
  • Loading branch information
Nelvin73 and Christian Groll authored Apr 16, 2024
1 parent 731c29e commit 3ac8778
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,9 @@ public void run() {
if (ingestionSourceInfo.getConfig().hasDebugMode()) {
debugMode = ingestionSourceInfo.getConfig().isDebugMode() ? "true" : "false";
}
if (ingestionSourceInfo.getConfig().hasExtraArgs()) {
arguments.putAll(ingestionSourceInfo.getConfig().getExtraArgs());
}
arguments.put(DEBUG_MODE_ARG_NAME, debugMode);
input.setArgs(new StringMap(arguments));

Expand Down

0 comments on commit 3ac8778

Please sign in to comment.