Enhancements to Google Drive Connector for S3 Destination

Summary

Enhancements requested for the Google Drive connector include adding file_id and file_url to metadata and enabling raw file extraction. Questions raised about modifying the generic airbyte_cdk[file-based] and configuring the connector to store raw files directly to S3.


Question

Hi,

We’re using the Google Drive source with an S3 destination and need to implement some critical enhancements to the connector. Here’s what we’re looking to achieve:

• Add file_id and file_url to Metadata:

  • Currently, the connector fetches details like file content, file name, and file path, but it doesn’t include file_id or file_url.
  • file_name is currently used as the primary key, but we’d like to switch to file_id as it’s more robust.
  • We’ve identified changes needed in the airbyte_cdk[file-based] to include these additional fields.
  • Question: Will modifying the generic airbyte_cdk[file-based] to support these fields affect other connectors relying on it?

• Enable Raw File Extraction:
The current setup uses the Unstructured platform for text extraction, but I’d like to be able to:

  • Extract tables from Excel files.
  • Extract both tables and images from PDFs.
  • Store raw files (binary data) from Google Drive directly to S3 without any processing.
  • Question: Is there a way to configure the connector to extract and store raw files instead of processed text?


This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

["google-drive-connector", "s3-destination", "file-id", "file-url", "raw-file-extraction", "airbyte-cdk", "unstructured-platform", "text-extraction", "excel-tables", "pdf-tables", "raw-files"]