Nota
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tidħol jew tibdel id-direttorji.
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tibdel id-direttorji.
The Databricks Connector for Google Sheets lets you write data from Google Sheets back to a Unity Catalog table. You can create a new table or overwrite an existing table in Azure Databricks without leaving Google Sheets.
Prerequisites
Before you write data back to Azure Databricks from Google Sheets:
The Databricks Connector for Google Sheets is set up and connected to your workspace.
You have Workspace access. See Manage entitlements.
You have access to a running SQL warehouse.
You have the necessary privileges on the target catalog and schema in Unity Catalog:
- To create a new table, you must have the following privileges:
USE CATALOGon the catalogUSE SCHEMAon the schemaCREATE TABLEon the schema
- To overwrite an existing table, you must have the following privileges:
USE CATALOGon the catalogUSE SCHEMAon the schemaSELECTon the tableMODIFYon the table
For more information, see Unity Catalog privileges reference.
- To create a new table, you must have the following privileges:
Select a SQL warehouse
Select which SQL warehouse to use:
- In Google Sheets, click Extensions > Databricks Connector > Launch sidebar to open the connector.
- In the upper-right corner of the connector sidebar, select the SQL warehouse you want to use.
Write data back to Azure Databricks
You can write a range from Google Sheets back to Azure Databricks in one of two ways:
- Create new table: Create a new Unity Catalog table from the selected range.
- Overwrite existing table: Replace the contents of an existing Unity Catalog table with the selected range.
To create a new Unity Catalog table or overwrite an existing Unity Catalog table from Google Sheets:
- In the Databricks Connector sidebar, select the Write back tab.
- Select Create new table or Overwrite existing table.
- Search for and select the destination Catalog and Schema.
- Specify the target table:
- To create a new table, enter a name.
- To overwrite an existing table, select the table you want to overwrite.
- Choose the range that contains the data you want to write. By default, the first row of the range is used as the column headers.
- Click Use selection to confirm the data to write back to Azure Databricks.
- Click Create table or Overwrite table to write back data.
Limitations
- Write-back supports table-level writes only. Row-level updates, appends, and merges are not supported.
- Write-back does not support creating views or materialized views.
- The Databricks Connector for Google Sheets only supports SQL warehouses. All-purpose compute is not supported.