Skip to content

Commit

Permalink
Fix build (#9344)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgao authored Jan 6, 2022
1 parent ed46b2d commit 80695ad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public void runJob() throws Exception {
processFactory, NormalizationRunnerFactory.create(
workerConfigs,
destinationLauncherConfig.getDockerImage(),
processFactory)));;
processFactory,
NormalizationRunnerFactory.NORMALIZATION_VERSION)));

log.info("Running dbt worker...");
final Path jobRoot = WorkerUtils.getJobRoot(configs.getWorkspaceRoot(), jobRunConfig.getJobId(), jobRunConfig.getAttemptId());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public void runJob() throws Exception {
NormalizationRunnerFactory.create(
workerConfigs,
destinationLauncherConfig.getDockerImage(),
processFactory),
processFactory,
NormalizationRunnerFactory.NORMALIZATION_VERSION),
configs.getWorkerEnvironment());

log.info("Running normalization worker...");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ public class NormalizationRunnerFactory {
.put("airbyte/destination-postgres-strict-encrypt", ImmutablePair.of(BASE_NORMALIZATION_IMAGE_NAME, DestinationType.POSTGRES))
.put("airbyte/destination-redshift", ImmutablePair.of(BASE_NORMALIZATION_IMAGE_NAME, DestinationType.REDSHIFT))
.put("airbyte/destination-snowflake", ImmutablePair.of("airbyte/normalization-snowflake", DestinationType.SNOWFLAKE))
.put("airbyte/destination-clickhouse", ImmutablePair.of("airbyte/normalization-clickhouse", DestinationType.CLICKHOUSE))
.put("airbyte/destination-clickhouse-strict-encrypt", ImmutablePair.of("airbyte/normalization-clickhouse", DestinationType.CLICKHOUSE))
.build();

public static NormalizationRunner create(final WorkerConfigs workerConfigs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ private CheckedSupplier<Worker<OperatorDbtInput, Void>, Exception> getLegacyWork
new DbtTransformationRunner(
workerConfigs,
jobProcessFactory, NormalizationRunnerFactory.create(
workerConfigs,
destinationLauncherConfig.getDockerImage(),
jobProcessFactory,
NormalizationRunnerFactory.NORMALIZATION_VERSION)));
workerConfigs,
destinationLauncherConfig.getDockerImage(),
jobProcessFactory,
NormalizationRunnerFactory.NORMALIZATION_VERSION)));
}

private CheckedSupplier<Worker<OperatorDbtInput, Void>, Exception> getContainerLauncherWorkerFactory(
Expand Down

0 comments on commit 80695ad

Please sign in to comment.