---
title: GitHub connector limitations
description: Known limitations of the managed GitHub connector in Lakeflow Connect, including unsupported deletes, batch-only tables, and repository selection scope.
canonical_url: https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/github-limits
---

# GitHub connector limitations

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/gcp/en/release-notes/release-types.md).

This page contains information about known limitations of the managed GitHub connector in Lakeflow Connect.

## General limitations

* When you run a scheduled pipeline, alerts don't trigger immediately. Instead, they trigger when the next update runs.
* When a source table is deleted, the destination table is not automatically deleted. You must delete the destination table manually. This behavior is not consistent with Spark Declarative Pipelines on Lakeflow behavior.
* During source maintenance periods, Databricks might not be able to access your data.
* If a source table name conflicts with an existing destination table name, the pipeline update fails.
* Multi-destination pipeline support is API-only.
* You can optionally rename a table that you ingest. If you rename a table in your pipeline, it becomes an API-only pipeline, and you can no longer edit the pipeline in the UI.
* If you select a column after a pipeline has already started, the connector does not automatically backfill data for the new column. To ingest historical data, manually run a full refresh on the table.
* Databricks can't ingest two or more tables with the same name in the same pipeline, even if they come from different source schemas.
* The source system assumes that the cursor columns are monotonically increasing.
* The connector ingests raw data without transformations. Use downstream Spark Declarative Pipelines on Lakeflow pipelines for transformations.

## Deletes not supported

The GitHub connector doesn't support fetching deletes, with the exception of `repo_contents`. This is a GitHub API limitation.

The `repo_contents` table captures file deletions. When a file is removed from the source repository, the connector removes the corresponding row from the table (hard delete). See [Repository contents](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/github-limits.md#repository-contents).

## Limited incremental support

Most tables don't support incremental updates because the GitHub API doesn't provide a way to filter records based on a cursor. These tables are fully refreshed on each pipeline update. For a list of tables and their update patterns, see [Supported data](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/github-limits.md#supported-data).

## Performance guidance for large organizations

Batch-only tables such as `pull_requests`, `pull_request_commits`, and `pull_request_reviews` can contain millions of records in large organizations. Because these tables are fully refreshed on every pipeline run, ingestion cost scales with organization size and pipeline frequency.

To reduce per-run volume:

* Use [column selection](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/column-selection.md) to limit the columns ingested for these tables.
* Use a lower pipeline frequency for pipelines that include high-volume tables.
* Restrict ingestion to specific repositories for repository-scoped tables such as `pull_requests`. This doesn't reduce volume for `pull_request_commits` or `pull_request_reviews`, which ignore repository selection. See [Repository selection](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/github-limits.md#repository-selection).

## <a id="repository-selection" />Repository selection

By default, the connector ingests data from all repositories in the organization. To restrict ingestion to specific repositories, set the `repository_id_selections` connector option. See [Connector options](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/github-reference.md#connector-options).

Repository selection applies only to repository-scoped tables. It has no effect on the following organization-scoped and nested tables, which are always ingested in full even when `repository_id_selections` is set:

* `audit_logs`
* `teams`
* `org_members`
* `team_members`
* `deployment_statuses`
* `pull_request_commits`
* `pull_request_reviews`

## <a id="repository-contents" />Repository contents

The `repo_contents` table ingests all entries in each repository's tree, including files, directories, submodules, and symbolic links. Only file (`blob`) entries populate the `content` column. Directories (`tree`) and submodules (`commit`) are ingested as metadata-only rows with a null `content` column. The following limitations apply:

* **Default branch only**: The connector ingests each repository's default branch, recorded in the `branch_name` column. Selecting or ingesting multiple branches per repository is not supported.
* **File size limit**: Files larger than 100 MB are not fetched. The connector still ingests the file's metadata row (`path`, `sha`, `size_bytes`), but the `content` column is `null`.
* **Binary files**: For binary files, the `content` column is `null` and `is_binary` is `true`. Only text file contents are populated in `content`.

For more information, see [Repository contents (`repo_contents` table)](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/github-reference.md#repository-contents).

## <a id="supported-data" />Supported data

### Tables with incremental updates

The following tables support incremental updates:

* `repositories`
* `audit_logs`: Organization accounts only. GitHub retains organization audit log events for up to 180 days. The connector can't ingest events older than this retention window. On `github.com` free plan, audit log history is limited to 90 days.
* `repo_contents`: Ingests repository tree entries and file contents. Incremental updates and deletes are supported. See [Repository contents](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/github-limits.md#repository-contents).
* `commits`
* `issues`
* `issue_comments`
* `pull_request_review_comments`

### Tables with batch updates only

The following tables are fully refreshed on each pipeline update (non-incremental):

* `branches`
* `collaborators`
* `deployments`
* `deployment_statuses`
* `discussions`
* `labels`
* `milestones`
* `org_members`
* `pull_request_commits`
* `pull_request_reviews`
* `pull_requests`
* `releases`
* `tags`
* `team_members`
* `teams`
* `workflows`
