Skip to content

✨ Source S3: v4 rollout/feature parity - #29753

Merged
Maxime Carbonneau-Leclerc (maxi297) merged 10 commits into
masterfrom
source-s3-v4-rollout/feature-parity
Aug 23, 2023
Merged

Maxime Carbonneau-Leclerc (maxi297) merged 10 commits into
masterfrom
source-s3-v4-rollout/feature-parity

Conversation

@maxi297

@maxi297 Maxime Carbonneau-Leclerc (maxi297) commented Aug 23, 2023 •

Copy link
Copy Markdown
Contributor

What

Missing features for releasing source-s3 v4 (either on the CDK or source-s3 specifically)

Each commit represent a feature:

  • (CATs) have schema within catalog like we would in the platform
  • CSV to drop fields that are not in schema
  • CSV null_values, true_values and false_values default does not align with pyarrow
  • ContinuationToken is not passed when fetch S3 objects hence pagination does not work
  • Support both endpoint and aws access key

Last commit is to update the version

@github-actions

github-actions Bot commented Aug 23, 2023 •

Copy link
Copy Markdown
Contributor

Before Merging a Connector Pull Request

Wow! What a great pull request you have here! 🎉

To merge this PR, ensure the following has been done/considered for each connector added or updated:

  • PR name follows PR naming conventions
  • Breaking changes are considered. If a Breaking Change is being introduced, ensure an Airbyte engineer has created a Breaking Change Plan.
  • Connector version has been incremented in the Dockerfile and metadata.yaml according to our Semantic Versioning for Connectors guidelines
  • You've updated the connector's metadata.yaml file any other relevant changes, including a breakingChanges entry for major version bumps. See metadata.yaml docs
  • Secrets in the connector's spec are annotated with airbyte_secret
  • All documentation files are up to date. (README.md, bootstrap.md, docs.md, etc...)
  • Changelog updated in docs/integrations/<source or destination>/<name>.md with an entry for the new version. See changelog example
  • Migration guide updated in docs/integrations/<source or destination>/<name>-migrations.md with an entry for the new version, if the version is a breaking change. See migration guide example
  • If set, you've ensured the icon is present in the platform-internal repo. (Docs)

If the checklist is complete, but the CI check is failing,

  1. Check for hidden checklists in your PR description

  2. Toggle the github label checklist-action-run on/off to re-run the checklist CI.

@maxi297 Maxime Carbonneau-Leclerc (maxi297) changed the title Source s3 v4 rollout/feature parity ✨ Source S3: v4 rollout/feature parity Aug 23, 2023

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🪨 🎸

except ValueError:
warnings.append(_format_warning(key, value, prop_type))

result[key] = cast_value

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

raise ValidationError(
"Either `aws_access_key_id` and `aws_secret_access_key` or `endpoint` must be set, but not both.", model=Config
)
if (aws_access_key_id or aws_secret_access_key) and not (aws_access_key_id and aws_secret_access_key):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

"true_values": ["y", "yes", "t", "true", "on", "1"],
"false_values": ["n", "no", "f", "false", "off", "0"],
# values taken from https://github.com/apache/arrow/blob/43c05c56b37daa93e76b94bc3e6952d56d1ea3f2/cpp/src/arrow/csv/options.cc#L41-L45
"null_values": additional_reader_options.pop("null_values", [

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

kwargs = {"Bucket": bucket}
while True:
response = s3.list_objects_v2(Bucket=bucket, Prefix=prefix) if prefix else s3.list_objects_v2(Bucket=bucket)
response = s3.list_objects_v2(Prefix=prefix, **kwargs) if prefix else s3.list_objects_v2(**kwargs)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@github-actions

Copy link
Copy Markdown
Contributor

source-s3 test report (commit 5e2cf2415c) - ❌

⏲️ Total pipeline duration: 14mn23s

Step Result
Connector package install ✅
Build source-s3 docker image for platform linux/x86_64 ✅
Unit tests ✅
Integration tests ✅
Acceptance tests ✅
Code format checks ❌
Validate airbyte-integrations/connectors/source-s3/metadata.yaml ✅
Connector version semver check ✅
Connector version increment check ❌
QA checks ✅

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-s3 test

@github-actions

Copy link
Copy Markdown
Contributor

source-s3 test report (commit 4f2471e87c) - ❌

⏲️ Total pipeline duration: 12mn05s

Step Result
Connector package install ✅
Build source-s3 docker image for platform linux/x86_64 ✅
Unit tests ✅
Integration tests ✅
Acceptance tests ✅
Code format checks ❌
Validate airbyte-integrations/connectors/source-s3/metadata.yaml ✅
Connector version semver check ✅
Connector version increment check ✅
QA checks ✅

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-s3 test

@github-actions

Copy link
Copy Markdown
Contributor

source-s3 test report (commit 3f275d51c8) - ✅

⏲️ Total pipeline duration: 13mn03s

Step Result
Connector package install ✅
Build source-s3 docker image for platform linux/x86_64 ✅
Unit tests ✅
Integration tests ✅
Acceptance tests ✅
Code format checks ✅
Validate airbyte-integrations/connectors/source-s3/metadata.yaml ✅
Connector version semver check ✅
Connector version increment check ✅
QA checks ✅

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-s3 test

@github-actions

Copy link
Copy Markdown
Contributor

source-s3 test report (commit 46c845f9d5) - ❌

⏲️ Total pipeline duration: 12mn43s

Step Result
Connector package install ✅
Build source-s3 docker image for platform linux/x86_64 ✅
Unit tests ✅
Integration tests ✅
Acceptance tests ✅
Code format checks ❌
Validate airbyte-integrations/connectors/source-s3/metadata.yaml ✅
Connector version semver check ✅
Connector version increment check ✅
QA checks ✅

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-s3 test

@github-actions

Copy link
Copy Markdown
Contributor

source-s3 test report (commit 37a7411245) - ❌

⏲️ Total pipeline duration: 11mn17s

Step Result
Connector package install ✅
Build source-s3 docker image for platform linux/x86_64 ✅
Unit tests ✅
Integration tests ✅
Acceptance tests ✅
Code format checks ❌
Validate airbyte-integrations/connectors/source-s3/metadata.yaml ✅
Connector version semver check ✅
Connector version increment check ✅
QA checks ✅

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-s3 test

@github-actions

Copy link
Copy Markdown
Contributor

source-s3 test report (commit 52081134f6) - ✅

⏲️ Total pipeline duration: 05mn49s

Step Result
Connector package install ✅
Build source-s3 docker image for platform linux/x86_64 ✅
Unit tests ✅
Integration tests ✅
Acceptance tests ✅
Code format checks ✅
Validate airbyte-integrations/connectors/source-s3/metadata.yaml ✅
Connector version semver check ✅
Connector version increment check ✅
QA checks ✅

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-s3 test

@maxi297
Maxime Carbonneau-Leclerc (maxi297) deleted the source-s3-v4-rollout/feature-parity branch August 23, 2023 15:30
Harry Touloupas (harrytou) pushed a commit to KYVENetwork/airbyte that referenced this pull request Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/connectors Connector related issues area/documentation Improvements or additions to documentation CDK Connector Development Kit connectors/source/s3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants