-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Mandatory Metadata DB field added for the S3/GCS peer just like in Eventhub. ```sql CREATE PEER gcs_peer FROM S3 WITH ( url = 's3://<gcs/s3_bucket_name>/<prefix>', -- bucket should exist access_key_id = '<hmac_key>', -- or AWS equivalent secret_access_key = '<hmac_secret>', -- or AWS equivalent region = 'auto', -- change this for S3 endpoint = 'https://storage.googleapis.com', -- or empty for S3 metadata_db = 'host=<host> port=<port> user=<user> password=<password> database=<database>' ); ``` - Destination File Structure: Initial Load: One folder per table CDC is a separate folder Tests added for both S3 and GCS versions of the peer (CDC)
- Loading branch information
1 parent
b48507e
commit d295566
Showing
18 changed files
with
852 additions
and
349 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,20 @@ jobs: | |
with: | ||
name: "snowflake_creds.json" | ||
json: ${{ secrets.SNOWFLAKE_GH_CI_PKEY }} | ||
|
||
- name: setup S3 credentials | ||
id: s3-credentials | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "s3_creds.json" | ||
json: ${{ secrets.S3_CREDS }} | ||
|
||
- name: setup GCS credentials | ||
id: gcs-credentials | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "gcs_creds.json" | ||
json: ${{ secrets.GCS_CREDS }} | ||
|
||
- name: create hstore extension and increase logical replication limits | ||
run: | | ||
|
@@ -82,6 +96,8 @@ jobs: | |
AWS_REGION: ${{ secrets.AWS_REGION }} | ||
TEST_BQ_CREDS: ${{ github.workspace }}/bq_service_account.json | ||
TEST_SF_CREDS: ${{ github.workspace }}/snowflake_creds.json | ||
TEST_S3_CREDS: ${{ github.workspace }}/s3_creds.json | ||
TEST_GCS_CREDS: ${{ github.workspace }}/gcs_creds.json | ||
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }} | ||
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} | ||
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }} | ||
|
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
Oops, something went wrong.