---
title: Google Drive connector FAQs
description: Answers to common questions about the managed Google Drive connector in Lakeflow Connect, including authentication methods and supported file formats.
canonical_url: https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/google-drive-faq
---

# Google Drive connector FAQs

This page answers frequently asked questions about the Google Drive connector in Databricks Lakeflow Connect.

## General managed connector FAQs

The answers in [Managed connector FAQs](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/faq.md) apply to all managed connectors in Lakeflow Connect. Keep reading for connector-specific FAQs.

## Which authentication methods are supported?

The connector supports three methods. [OAuth U2M: Databricks-managed](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/google-drive-source-setup-u2m-databricks-managed.md) requires no Google Cloud project or app registration. Use [OAuth U2M: Custom-managed](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/google-drive-source-setup-u2m.md) if your organization requires control over the OAuth app. An [OAuth service account](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/google-drive-source-setup-service-account.md) uses a Google service account key. Both U2M methods authenticate as an individual Google account, so they ingest only the files that account can access. See [Overview of Google Drive ingestion setup](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/google-drive-source-setup.md).

## What file formats are supported?

The connector supports both unstructured and structured file ingestion:

* Unstructured: `BINARYFILE`
  * Files are ingested as rows with a `content` column plus metadata columns. Use for PDFs, images, Office files, and other files you intend to process downstream.
* Structured: `CSV`, `JSON`, `XML`, `EXCEL`, `PARQUET`, `AVRO`, `ORC`
  * Files are parsed and each row inside the file becomes a row in the destination table.

The connector skips unsupported Google formats (for example, Google Forms, Google Sites, Google Jams, and Google Vids) during ingestion.

## What storage modes are supported?

Unstructured (`BINARYFILE`) ingestion supports `SCD_TYPE_1` storage mode. Structured ingestion (`CSV`, `JSON`, `XML`, `EXCEL`, and other formats) supports `APPEND_ONLY` storage mode. SCD type 2 is not currently supported.

Because `SCD_TYPE_1` and `APPEND_ONLY` are the defaults for their respective format types and also the only options currently supported, setting `storage_mode` explicitly in `table_configuration` is optional.

## How does incremental ingestion work?

The behavior depends on the file format:

* Unstructured files (`BINARYFILE` or `FILE` format): On subsequent pipeline runs, the connector ingests files that were added or updated since the last run.
* Structured files (`CSV`, `JSON`, `XML`, `EXCEL`, `PARQUET`, `AVRO`, or `ORC` format): The connector ingests each file one time, and subsequent runs ingest only new files. It doesn't pick up edits to a file it already ingested. To ingest changed data, add it as a new file or run a [full refresh](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/full-refresh.md).

## Can I ingest a single file?

Yes. Set `url` to the file's URL, for example `https://drive.google.com/file/d/<file_id>/view`. To ingest a subset of the files in a folder, set `url` to the folder and use `file_filters` with a `path_filter` glob pattern. See [Google Drive connector reference](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/google-drive-reference.md).

## Is there a file size limit?

For unstructured ingestion using [binary files](https://docs.databricks.com/aws/en/query/formats/binary.md), large files can cause the update to fail (for example, with an out-of-memory error or by exceeding the 2 GB limit on binary columns in Delta), because each file's content is loaded into memory as a single record. To exclude large files, use a `row_filter` on the `length` column in `table_configuration`. See [Google Drive connector limitations](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/google-drive-limits.md).

## How are built-in Google formats handled?

When using the managed Google Drive connector, built-in Google formats (Google Docs, Google Sheets, Google Slides) are automatically exported to an open format during ingestion. Set the `format` in `file_ingestion_options` to `BINARYFILE` to ingest them as binary, or use `EXCEL` for Google Sheets. For more details on Google format handling with the managed connector, see [How built-in Google formats are handled](https://docs.databricks.com/aws/en/ingestion/google-drive.md#google-formats).

## What is the difference between the managed Google Drive connector and SQL and Spark APIs?

The managed Google Drive connector (`gdrive_options` in the pipeline API) is a fully managed ingestion pipeline that incrementally syncs files from Google Drive into Delta tables, with schema inference, schema evolution, file filtering, and orchestration via Workflows. It is configured through the Lakeflow Connect pipeline API.

[SQL and Spark APIs](https://docs.databricks.com/aws/en/ingestion/google-drive.md) use Spark and SQL functions (`read_files`, `spark.read`, Auto Loader) to build custom pipelines. Use them when you need fine-grained control over how files are read and transformed, or when you want to use Spark reader APIs directly.
