Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Introducción a los repositorios
Este documento te ayuda a comprender el concepto de repositorios en BigQuery. Puedes usar repositorios para realizar el control de versión en los archivos que usas en BigQuery. BigQuery usa Git para registrar cambios y administrar versiones de archivos.
Cada repositorio de BigQuery representa un repositorio de Git. Puedes usar las capacidades integradas de Git de BigQuery o conectarte a un repositorio de Git de terceros. En cada repositorio, puedes crear uno o más espacios de trabajo para editar el código almacenado en el repositorio.
En la página de BigQuery, tus repositorios se muestran en orden alfabético en la carpeta Repositorios del panel Explorador.
Repositorios de terceros
Si lo deseas, puedes conectar un repositorio de BigQuery a un repositorio de Git de terceros. En este caso, el repositorio de terceros almacena el código del repositorio en lugar de BigQuery. BigQuery interactúa con el repositorio de terceros para permitirte editar y ejecutar su contenido en un espacio de trabajo de BigQuery. Según el tipo de repositorio que elijas, puedes conectarte a un repositorio de terceros a través de SSH o HTTPS.
En la siguiente tabla, se enumeran los proveedores de Git compatibles y los métodos de conexión disponibles para sus repositorios:
Todos los repositorios de BigQuery están conectados a la cuenta de servicio predeterminada de Dataform. Esta cuenta de servicio se deriva del número de tu proyecto con el siguiente formato:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[[["\u003cp\u003eBigQuery repositories allow for version control of files used within BigQuery, utilizing Git for managing changes and file versions.\u003c/p\u003e\n"],["\u003cp\u003eRepositories can either use BigQuery's built-in Git capabilities or connect to third-party Git repositories like Microsoft Azure DevOps Services, Bitbucket, GitHub, and GitLab via SSH or HTTPS.\u003c/p\u003e\n"],["\u003cp\u003eBigQuery repositories are displayed alphabetically in the \u003cstrong\u003eRepositories\u003c/strong\u003e folder within the \u003cstrong\u003eExplorer\u003c/strong\u003e pane, and each can contain multiple workspaces for editing code.\u003c/p\u003e\n"],["\u003cp\u003eBigQuery repositories are connected to the default Dataform service account and are subject to Dataform quotas, but there are no charges for creating, updating, or deleting a repository.\u003c/p\u003e\n"],["\u003cp\u003eThis is a Pre-GA feature that is subject to the "Pre-GA Offerings Terms" and might have limited support, with feedback and questions directed to bigquery-repositories-feedback@google.com.\u003c/p\u003e\n"]]],[],null,["# Introduction to repositories\n============================\n\n|\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n| **Note:** To provide feedback or ask questions that are related to this Preview feature, contact [bigquery-repositories-feedback@google.com](mailto:%20bigquery-repositories-feedback@google.com).\n\nThis document helps you understand the concept of repositories in\nBigQuery. You can use repositories to perform version control on\nfiles you use in BigQuery. BigQuery uses Git to record\nchanges and manage file versions.\n\nEach BigQuery repository represents a Git repository. You can\nuse BigQuery's built-in Git capabilities, or you can connect to\na third-party Git repository. Within each repository, you can create one or more\n[workspaces](/bigquery/docs/workspaces-intro) to edit the code stored in the\nrepository.\n\nOn the BigQuery page, your repositories are displayed in\nalphabetical order in the **Repositories** folder of the **Explorer** pane.\n| **Important:** If you create an asset in a BigQuery repository---for example, a query, notebook (including a notebook with an Apache Spark job), BigQuery pipeline, or Dataform workflow---you cannot schedule it for execution in BigQuery repository. For scheduling and executing Dataform pipelines, you need to use Dataform repositories. For scheduling queries and notebooks, use BigQuery Studio. For more information, see [Scheduling queries](/bigquery/docs/scheduling-queries), [Schedule notebooks](/bigquery/docs/orchestrate-notebooks), and [Schedule pipelines](/bigquery/docs/schedule-pipelines).\n\nThird-party repositories\n------------------------\n\nYou can connect a BigQuery repository to\na third-party Git repository if you choose. In this case, the third-party repository stores\nthe repository code instead of BigQuery. BigQuery interacts with the third-party\nrepository to allow you to edit and execute its contents in a\nBigQuery workspace. Depending on the type of repository you\nchoose, you can connect to a third-party repository by using SSH or HTTPS.\n\nThe following table lists supported Git providers and the connection\nmethods that are available for their repositories:\n\nFor more information, see\n[Connect to a third-party repository](/bigquery/docs/repositories#connect-third-party).\n\nService account\n---------------\n\nAll BigQuery repositories are connected to the default\nDataform service account. This service account is derived from your\nproject number in the following format: \n\n service-\u003cvar translate=\"no\"\u003eYOUR_PROJECT_NUMBER\u003c/var\u003e@gcp-sa-dataform.iam.gserviceaccount.com\n\nLocations\n---------\n\nYou can create repositories in all\n[BigQuery Studio locations](/bigquery/docs/locations#bqstudio-loc).\n\nQuotas\n------\n\n[Dataform quotas](/dataform/docs/quotas#quotas) apply to use of\nBigQuery repositories.\n\nPricing\n-------\n\nYou are not charged for creating, updating, or deleting a repository.\n\nFor more information on BigQuery pricing, see [Pricing](/bigquery/pricing).\n\nWhat's next\n-----------\n\n- Learn how to [create repositories](/bigquery/docs/repositories).\n- Learn how to [create workspaces](/bigquery/docs/workspaces)."]]