Skip to content

Commit df3ebf3

Browse files
authored
🎉 Destination mssql : adding ssh tunnel for normalisation (#11204)
1 parent 2daaf5b commit df3ebf3

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

airbyte-integrations/bases/base-normalization/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ WORKDIR /airbyte
2828
ENV AIRBYTE_ENTRYPOINT "/airbyte/entrypoint.sh"
2929
ENTRYPOINT ["/airbyte/entrypoint.sh"]
3030

31-
LABEL io.airbyte.version=0.2.2
31+
LABEL io.airbyte.version=0.2.3
3232
LABEL io.airbyte.name=airbyte/normalization

airbyte-integrations/bases/base-normalization/normalization/transform_config/transform.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ def transform_oracle(config: Dict[str, Any]):
267267
def transform_mssql(config: Dict[str, Any]):
268268
print("transform_mssql")
269269
# https://docs.getdbt.com/reference/warehouse-profiles/mssql-profile
270+
271+
if TransformConfig.is_ssh_tunnelling(config):
272+
config = TransformConfig.get_ssh_altered_config(config, port_key="port", host_key="host")
273+
config["host"] = "127.0.0.1" # localhost is not supported by dbt-sqlserver.
274+
270275
dbt_config = {
271276
"type": "sqlserver",
272277
"driver": "ODBC Driver 17 for SQL Server",

airbyte-integrations/bases/base-normalization/snowflake.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ WORKDIR /airbyte
2929
ENV AIRBYTE_ENTRYPOINT "/airbyte/entrypoint.sh"
3030
ENTRYPOINT ["/airbyte/entrypoint.sh"]
3131

32-
LABEL io.airbyte.version=0.1.73
32+
LABEL io.airbyte.version=0.2.3
3333
LABEL io.airbyte.name=airbyte/normalization-snowflake

airbyte-workers/src/main/java/io/airbyte/workers/normalization/NormalizationRunnerFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
public class NormalizationRunnerFactory {
1515

1616
public static final String BASE_NORMALIZATION_IMAGE_NAME = "airbyte/normalization";
17-
public static final String NORMALIZATION_VERSION = "0.2.2";
17+
public static final String NORMALIZATION_VERSION = "0.2.3";
1818

1919
static final Map<String, ImmutablePair<String, DefaultNormalizationRunner.DestinationType>> NORMALIZATION_MAPPING =
2020
ImmutableMap.<String, ImmutablePair<String, DefaultNormalizationRunner.DestinationType>>builder()

docs/understanding-airbyte/basic-normalization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ Therefore, in order to "upgrade" to the desired normalization version, you need
352352

353353
| Airbyte Version | Normalization Version | Date | Pull Request | Subject |
354354
|:----------------| :--- | :--- | :--- | :--- |
355+
| | 0.2.3 | 2022-06-10 | [\#11204](https://github.com/airbytehq/airbyte/pull/11204) | MySQL: add support for SSh tunneling |
355356
| | 0.2.2 | 2022-06-02 | [\#13289](https://github.com/airbytehq/airbyte/pull/13289) | BigQuery use `json_extract_string_array` for array of simple type elements |
356357
| | 0.2.1 | 2022-05-17 | [\#12924](https://github.com/airbytehq/airbyte/pull/12924) | Fixed checking --event-buffer-size on old dbt crashed entrypoint.sh |
357358
| | 0.2.0 | 2022-05-15 | [\#12745](https://github.com/airbytehq/airbyte/pull/12745) | Snowflake: add datetime without timezone |

0 commit comments

Comments
 (0)