Skip to content

Commit

Permalink
cat: integer is a supported airbyte type (#26856)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere committed May 31, 2023
1 parent 746ccb4 commit 789c5dd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.10.3
Fixing bug: test_catalog_has_supported_data_types , integer is a supported airbyte type.

## 0.10.2
Fixing bug: test_catalog_has_supported_data_types was failing when a connector stream property is named 'type'.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ COPY pytest.ini setup.py ./
COPY connector_acceptance_test ./connector_acceptance_test
RUN pip install .

LABEL io.airbyte.version=0.10.2
LABEL io.airbyte.version=0.10.3
LABEL io.airbyte.name=airbyte/connector-acceptance-test

ENTRYPOINT ["python", "-m", "pytest", "-p", "connector_acceptance_test.plugin", "-r", "fEsx"]
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def test_check(self, connector_config, inputs: ConnectionTestConfig, docker_runn
class TestDiscovery(BaseTest):

VALID_TYPES = {"null", "string", "number", "integer", "boolean", "object", "array"}
VALID_AIRBYTE_TYPES = {"timestamp_with_timezone", "timestamp_without_timezone"}
VALID_AIRBYTE_TYPES = {"timestamp_with_timezone", "timestamp_without_timezone", "integer"}
VALID_FORMATS = {"date-time", "date"}
VALID_TYPE_FORMAT_COMBINATIONS = [
({"string"}, "date"),
Expand All @@ -580,6 +580,10 @@ class TestDiscovery(BaseTest):
({"string"}, "timestamp_with_timezone"),
({"string"}, "timestamp_without_timezone"),
({"string", "null"}, "timestamp_with_timezone"),
({"integer"}, "integer"),
({"integer", "null"}, "integer"),
({"number"}, "integer"),
({"number", "null"}, "integer"),
]

@pytest.fixture(name="skip_backward_compatibility_tests")
Expand Down

0 comments on commit 789c5dd

Please sign in to comment.