Skip to content

Conversation

@aldogonzalez8
Copy link
Contributor

@aldogonzalez8 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.

@aldogonzalez8 aldogonzalez8 self-assigned this Apr 17, 2025
@github-actions github-actions bot added the enhancement New feature or request label Apr 17, 2025
@aldogonzalez8
Copy link
Contributor Author

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
Contributor Author

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
Contributor Author

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
Contributor Author

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 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 aldogonzalez8 marked this pull request as ready for review April 18, 2025 15:44
@aldogonzalez8 aldogonzalez8 requested a review from maxi297 April 18, 2025 16:07
Base automatically changed from maxi297/poc-file-upload to main April 22, 2025 14:41
@aldogonzalez8
Copy link
Contributor Author

Closed in favor of #503

@aldogonzalez8
Copy link
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.

2 participants