Skip to content

feat(cdk): connector builder support for file uploader#492

Closed
Aldo Gonzalez (aldogonzalez8) wants to merge 19 commits into
mainfrom
ac8/file-api/connector-builder-support-2
Closed

feat(cdk): connector builder support for file uploader#492
Aldo Gonzalez (aldogonzalez8) wants to merge 19 commits into
mainfrom
ac8/file-api/connector-builder-support-2

Conversation

@aldogonzalez8
Copy link
Copy Markdown
Contributor

@aldogonzalez8 Aldo Gonzalez (aldogonzalez8) commented Apr 17, 2025

What

We want to implement support for the connector builder to communicate about the files that will be uploaded for the streams.

How

Current Implementation:

  • Runtime (emit_connector_builder_messages=False):
    • FileUploader is instantiated with a standard FileWriter, which performs the actual file writing.
  • Connector Builder (emit_connector_builder_messages=True):
    • FileUploader is instantiated with a NoopFileWriter, preventing actual file writes.
    • This FileUploader instance is then wrapped by ConnectorBuilderFileUploader.
    • ConnectorBuilderFileUploader.upload() first calls the wrapped FileUploader.upload() (which populates record.file_reference but doesn't write the file) and then performs the Connector Builder-specific action of copying file_reference attributes into record.data.

maxi297 and others added 12 commits March 19, 2025 12:16
Co-authored-by: Maxime Carbonneau-Leclerc <3360483+maxi297@users.noreply.github.com>
Co-authored-by: octavia-squidington-iii <contact@airbyte.com>
…otocol changes. (#457)

Co-authored-by: Maxime Carbonneau-Leclerc <3360483+maxi297@users.noreply.github.com>
Co-authored-by: octavia-squidington-iii <contact@airbyte.com>
Co-authored-by: Aaron ("AJ") Steers <aj@airbyte.io>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@github-actions github-actions Bot added the enhancement New feature or request label Apr 17, 2025
@aldogonzalez8
Copy link
Copy Markdown
Contributor Author

Aldo Gonzalez (aldogonzalez8) commented Apr 17, 2025

/autofix

Auto-Fix Job Info

This job attempts to auto-fix any linting or formating issues. If any fixes are made,
those changes will be automatically committed and pushed back to the PR.

Note: This job can only be run by maintainers. On PRs from forks, this command requires
that the PR author has enabled the Allow edits from maintainers option.

PR auto-fix job started... Check job output.

✅ Changes applied successfully.

@aldogonzalez8
Copy link
Copy Markdown
Contributor Author

Aldo Gonzalez (aldogonzalez8) commented Apr 17, 2025

/autofix

Auto-Fix Job Info

This job attempts to auto-fix any linting or formating issues. If any fixes are made,
those changes will be automatically committed and pushed back to the PR.

Note: This job can only be run by maintainers. On PRs from forks, this command requires
that the PR author has enabled the Allow edits from maintainers option.

PR auto-fix job started... Check job output.

✅ Changes applied successfully.

@aldogonzalez8
Copy link
Copy Markdown
Contributor Author

Aldo Gonzalez (aldogonzalez8) commented Apr 17, 2025

/autofix

Auto-Fix Job Info

This job attempts to auto-fix any linting or formating issues. If any fixes are made,
those changes will be automatically committed and pushed back to the PR.

Note: This job can only be run by maintainers. On PRs from forks, this command requires
that the PR author has enabled the Allow edits from maintainers option.

PR auto-fix job started... Check job output.

🟦 Job completed successfully (no changes).

@aldogonzalez8
Copy link
Copy Markdown
Contributor Author

Aldo Gonzalez (aldogonzalez8) commented Apr 18, 2025

/autofix

Auto-Fix Job Info

This job attempts to auto-fix any linting or formating issues. If any fixes are made,
those changes will be automatically committed and pushed back to the PR.

Note: This job can only be run by maintainers. On PRs from forks, this command requires
that the PR author has enabled the Allow edits from maintainers option.

PR auto-fix job started... Check job output.

✅ Changes applied successfully.

@aldogonzalez8 Aldo Gonzalez (aldogonzalez8) changed the title feat(connector builder): initial changes to pass file reference info to data feat(cdk): connector builder support for file uploader Apr 18, 2025
@aldogonzalez8 Aldo Gonzalez (aldogonzalez8) marked this pull request as ready for review April 18, 2025 15:44
Base automatically changed from maxi297/poc-file-upload to main April 22, 2025 14:41
@aldogonzalez8
Copy link
Copy Markdown
Contributor Author

Closed in favor of #503

@aldogonzalez8
Copy link
Copy Markdown
Contributor Author

Closed in favor of #503

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant