-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎉 Add YAML format to source-file reader (#14588)
* Add yaml reader * Update docs * Bumpversion of connector * bump docs * Update pyarrow dependency * Upgrade pandas dependency * auto-bump connector version Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
- Loading branch information
1 parent
fc2a590
commit 43f905b
Showing
10 changed files
with
78 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...onnectors/source-file/integration_tests/sample_files/formats/yaml/configured_catalog.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "test", | ||
"json_schema": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"properties": { | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object", | ||
"properties": { | ||
"name": {"type": "string"}, | ||
"sourceDefinitionId": {"type": "string"}, | ||
"dockerRepository": {"type": "string"}, | ||
"dockerImageTag": {"type": "string"}, | ||
"documentationUrl": {"type": "string"}, | ||
"icon": {"type": "string"}, | ||
"sourceType": {"type": "string"}, | ||
"releaseStage": {"type": "string"} | ||
} | ||
} | ||
} | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
} | ||
] | ||
} |
23 changes: 23 additions & 0 deletions
23
...integrations/connectors/source-file/integration_tests/sample_files/formats/yaml/demo.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
- name: Facebook Pages | ||
sourceDefinitionId: 010eb12f-837b-4685-892d-0a39f76a98f5 | ||
dockerRepository: airbyte/source-facebook-pages | ||
dockerImageTag: 0.1.6 | ||
documentationUrl: https://docs.airbyte.com/integrations/sources/facebook-pages | ||
icon: facebook.svg | ||
sourceType: api | ||
releaseStage: alpha | ||
- name: Faker | ||
sourceDefinitionId: dfd88b22-b603-4c3d-aad7-3701784586b1 | ||
dockerRepository: airbyte/source-faker | ||
dockerImageTag: 0.1.5 | ||
documentationUrl: https://docs.airbyte.com/integrations/source-faker | ||
sourceType: api | ||
releaseStage: alpha | ||
- name: File | ||
sourceDefinitionId: 778daa7c-feaf-4db6-96f3-70fd645acc77 | ||
dockerRepository: airbyte/source-file | ||
dockerImageTag: 0.2.10 | ||
documentationUrl: https://docs.airbyte.io/integrations/sources/file | ||
icon: file.svg | ||
sourceType: file | ||
releaseStage: alpha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters