CertSafari
    Databricks Certified Data Analyst Associate· Lessons

    Domain 3 · Lesson 8/39

    Upload a data file through the Databricks workspace UI

    Use the Databricks Workspace UI to upload a data file to the platform.

    18 min read
    2.5% of exam
    5 sources
    Published 22 Oct 2026
    Docs as of 17 Oct 2026

    What you will be able to do

    • Choose between creating a table from an uploaded file and uploading files to a Unity Catalog volume
    • Create a managed Delta table from local files with the Create or modify a table page, within its format, count and size limits
    • Set CSV and JSON format options, and edit column names and types before the table is created
    • Upload files to a volume from the New menu, Catalog Explorer or a notebook, with the right privileges
    • Turn files in a volume into a table with the Create table dialog or read_files

    Key concept

    Upload to a table vs. upload to a volume — The Add or upload data page offers two different uploads. Create or modify a table loads the files straight into a managed Delta table, which is a Delta Lake table whose data files Databricks stores in the locations configured for its schema, and keeps the raw files only in a staging area that is cleaned up. Upload files to a volume keeps the files themselves as governed Unity Catalog objects, and you can turn them into a table later.

    1.Two destinations behind New > Add or upload data

    Uploading a file from your laptop is the quickest way to get a small dataset into Databricks. It needs no cloud bucket, no connector and no code. Clicking New > Add or upload data in the sidebar opens a page that offers two different uploads, and you need to know which one you are using. Create or modify a table turns the files into a managed Delta table in one step. Upload files to a volume stores the files themselves in a Unity Catalog volume, where they stay as files.

    A managed Delta table is a table in Delta Lake format, the format of Databricks tables unless stated otherwise, whose data files Databricks stores in the locations configured for the schema that contains it.

    Unity Catalog is where Databricks governs these objects, and it names them in three levels: catalog, then schema, then the object itself, such as a table or a volume (catalog.schema.volume). A volume is the governed home for non-tabular files of any format. You can create directories inside it, and every file in it has a path of the form /Volumes/<catalog>/<schema>/<volume>/<path>/<file-name>. Privileges are granted at each level, which is why the upload privileges later on this page name a catalog, a schema and a volume.

    The choice depends on what has to last. If you only need the rows, use the table upload: you get a queryable table in a few clicks, and the staged copy of the file disappears afterwards. If the file itself matters, put it in a volume. That covers a reference extract you will reload, a PDF, or an input for a pipeline. Volumes govern non-tabular data of any format, and Databricks recommends them as the place to keep data files for ingestion.

    The two upload options compared
    AspectCreate or modify a tableUpload files to a volume
    What you end up withA managed Delta tableFiles in a Unity Catalog volume
    File formatsCSV, TSV, JSON, Avro, Parquet, textAny format: structured, semi-structured or unstructured
    Size limit in the UIUp to 10 files, under 2 GB in total5 GB per file
    Raw file afterwardsStaged, then garbage collected dailyKept in the volume
    Compute neededAn active compute resource to preview and configureNone to upload; a running SQL warehouse to create a table from the files later

    Both options can be switched off. Workspace admins can disable the table upload page. A single toggle, Upload data using the UI on the Security tab of the settings page, controls uploads from the homepage, the Data tab and the File menu in a notebook. That toggle does not block programmatic access such as the DBFS command-line interface. If the upload menu is missing in your workspace, the cause is this setting, not your privileges.

    Checkpoint 1 of 9· Match them up

    Match each item from the New > Add or upload data page to the behavior that applies to it

    Tap a term, then the definition that fits it.

    Sources1234

    2.Creating a table from uploaded files

    The Create or modify a table page loads small local files into a managed Delta table, in Unity Catalog or in the legacy hive_metastore. To use it, click New > Add or upload data, then Create or modify a table, then browse for files or drag them onto the drop zone. Before you start you need two things: a running compute resource, and permission to create tables in the target schema.

    The page checks your files before it accepts them. These limits come up on the exam:

    • Up to 10 files per upload, with a combined size under 2 GB.
    • The extension must be .csv, .tsv (or .tab), .json, .avro, .parquet or .txt.
    • Compressed files such as zip and tar are rejected. Extract them first.
    • Compute can be a SQL warehouse, serverless compute or dedicated compute. Group clusters are not supported.

    Compute is only needed partway through. Files can reach the staging area before any compute is attached, but you must select an active compute resource to preview and configure the table. The preview shows 50 rows, which you can view as a grid or a list. You then choose a catalog and schema, and you can edit the table name. A dropdown chooses between Create new table and Overwrite existing table. If you choose Create new table with a name that already exists, you get an error rather than a silent replacement. When the settings are right, click Create at the bottom of the page.

    Checkpoint 2 of 9· Check yourself

    An analyst opens Create or modify a table with no compute resource running and drags a 40 MB CSV onto the drop zone. What happens next?

    Checkpoint 3 of 9· Exam question

    A business analyst has an 8 GB point-of-sale export file and wants to load it into a bronze table using the Databricks Workspace UI's file upload flow. When they drag the file into the 'Create or modify table' upload dialog, the upload does not complete. What is the most likely cause, and what should the analyst do instead?

    Sources1

    3.Format options and multi-file uploads

    The format options depend on the file type, and changing any of them updates the preview straight away. Common options appear in the header bar. Less common ones are in the Advanced attributes dialog. CSV and JSON have different defaults, and the difference matters most for multi-line records.

    Format options on the table upload page and their defaults
    OptionCSV defaultJSON default
    First row contains the headerEnabledNot offered
    Column delimiterComma (single character, no backslash)Not offered
    Automatically detect column typesEnabledEnabled
    Rows span multiple linesDisabledEnabled
    Merge the schema across multiple filesAvailableNot offered
    Allow comments / Allow single quotes / Infer timestampNot offeredEnabled

    When you switch off Automatically detect column types, every column comes in as STRING. This is a deliberate fallback for messy files, and you can cast the columns afterwards. For CSV, Merge the schema across multiple files decides whether the schema is inferred from every file or taken from just one.

    Uploading several files at once is an append, not a join. All rows from all files land in the one target table, and the page cannot join or merge records. The header setting also applies to every file. Suppose you upload three monthly CSVs and only January has a header row, with First row contains the header left on. February and March each lose their first real row, because it is read as a header. Make sure the files either all have headers or all lack them.

    Checkpoint 4 of 9· Check yourself

    A team exports customer orders from three regional systems into three CSV files. The files have identical columns and each one has a header row. They are uploaded together in one Create or modify a table session. What does the resulting table contain?

    Sources1

    4.Editing column names and types before the table exists

    The preview grid is where you fix the schema. Click the input box at the top of a column to rename it, or click the type icon to change its type. Some changes are not allowed. Column names cannot contain commas, backslashes or unicode characters such as emojis. Nested types inside STRUCT or ARRAY columns cannot be edited. Other special characters in names are allowed, because the page uses Column Mapping to support them.

    Changing a type can lose data without an error. Schema inference is only a best-effort guess. If you change a column to a type its values cannot be cast to, those values become NULL, and the table is still created. Casting BIGINT to DATE or TIMESTAMP is not supported at all. A column of years stored as integers, such as 2021, is a typical case that fails. For conversions like these, Databricks recommends creating the table first and then transforming the columns with SQL functions.

    Data types you can pick in the upload preview
    TypeHolds
    BIGINT8-byte signed integer numbers
    BOOLEANtrue, false
    DATEYear, month and day, without a time zone
    DOUBLE8-byte double-precision floating point numbers
    STRINGCharacter strings
    TIMESTAMPDate and time, in the session local timezone
    DECIMAL(P,S)Numbers with maximum precision P and fixed scale S
    STRUCT / ARRAYNested structures (nested types not editable here)

    Column comments cannot be added on this page. Create the table first, then open it in Catalog Explorer to add descriptions.

    Checkpoint 5 of 9· Check yourself

    In the upload preview, a quantity column holds values such as 12, 40 and "n/a" and was inferred as STRING. Its type is switched to BIGINT, and then Create is clicked. What is the result?

    Sources1

    5.Uploading files to a Unity Catalog volume

    A volume upload needs Unity Catalog privileges at three levels. These are the Unity Catalog-enabled workspace, USE CATALOG on the parent catalog, USE SCHEMA on the parent schema, and WRITE VOLUME on the target volume itself. Having SELECT on tables in the schema does not give you any of these. Writing a file into a volume is a separate privilege, granted on the volume.

    There are three places to open the same upload dialog:

    • The sidebar: New > Add or upload data > Upload files to a volume.
    • Catalog Explorer: Add data > Upload files to a volume.
    • Inside a notebook: File > Upload files to volume. You can add a local file without leaving the notebook.

    In the dialog, browse for files or drag them in. Then pick the destination volume or directory, or paste a volume path. If the schema has no volume yet, Create volume makes one, and you can create a directory inside it. Through the UI each file can be up to 5 GB. Volumes can store larger files, but those must be uploaded with the Databricks SDK for Python. For quick personal work without setting up a catalog, schema and volume, there is My Files, a per-user volume that is in Beta.

    Once the files are uploaded, you manage them from the volume page. Open the volume in Catalog Explorer and its object tabs to work with them. Select files and click Download or Delete (deleting asks you to confirm). Click Create directory on the overview tab to add a folder. The kebab menu next to a directory downloads it as a ZIP file. The kebab menu next to a file offers Copy path, Download file, Delete file and Create table.

    Checkpoint 6 of 9· Put it in order

    Put these steps in order to upload a local CSV into a Unity Catalog volume from the workspace sidebar

    1. 1.Click Upload files to a volume
    2. 2.In the sidebar, click New, then Add or upload data
    3. 3.Under Destination volume, select a volume or directory, or paste a volume path
    4. 4.Under Files, browse for the CSV or drag it into the drop zone

    Checkpoint 7 of 9· Exam question

    While working inside a Databricks notebook, an analyst has a small reference CSV on their laptop that they want to add to an existing Unity Catalog volume without leaving the notebook to open Catalog Explorer. Which built-in option lets them do this directly from the notebook interface?

    Sources5

    6.Turning uploaded volume files into a table

    A file in a volume is not a table, and you cannot register it as one. Volumes only support path-based access. To query the data as a table, you load it into a new managed table, and that needs another privilege. The UI route is the Create table button. Select one or more files or a directory with the same data layout and click Create table. The Create table from volumes dialog opens with a preview of the data. In it you choose Create new or Overwrite, pick the catalog and schema, name the table, and optionally override column names and types or exclude columns. More options are under Advanced attributes.

    This step needs CREATE TABLE on the target schema and a running SQL warehouse. So the full upload-to-table workflow through a volume needs four privileges: USE CATALOG, USE SCHEMA, WRITE VOLUME on the volume, and CREATE TABLE on the schema. Granting CREATE TABLE on the catalog alone is not enough. Workspace permissions on a cluster do not replace Unity Catalog privileges either.

    In SQL, you can do the same thing by pointing read_files at the volume path and creating the table from the result. Every file in a volume has a path of this form, whatever language or tool you use:

    Path format for a file in a Unity Catalog volumetext
    /Volumes/<catalog>/<schema>/<volume>/<path>/<file-name>

    Checkpoint 8 of 9· Match them up

    An analyst uploads a CSV to a volume and then turns it into a managed table with the Create table button. Pair each Unity Catalog privilege in that workflow with where it is granted and what it allows.

    Tap a term, then the definition that fits it.

    Checkpoint 9 of 9· Exam question

    A data analyst working in a Unity Catalog-enabled workspace wants to use the Workspace UI to upload a local CSV file and create a new table from it in the sales.raw schema inside the bronze catalog. The analyst already has SELECT on other tables in that schema but has never created objects there. Which combination of privileges lets the analyst complete the entire upload-to-table workflow through the UI?

    Sources53

    Sources

    (5)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “Imported files are uploaded to a secure internal location within your account which is garbage collected daily.”
      ↩︎ Two destinations behind New > Add or upload data
      “Databricks stores data files for managed tables in the locations configured for the containing schema.”
      ↩︎ Two destinations behind New > Add or upload data
      “The Create or modify a table using file upload page supports uploading up to 10 files at a time.”
      ↩︎ Creating a table from uploaded files
      “The total size of uploaded files must be under 2 gigabytes.”
      ↩︎ Creating a table from uploaded files
      “Compressed files such as zip and tar files are not supported.”
      ↩︎ Creating a table from uploaded files
      “The file upload UI supports SQL warehouses, serverless compute, and dedicated compute. Group clusters are not supported.”
      ↩︎ Creating a table from uploaded files
      “you must select an active compute resource to preview and configure your table”
      ↩︎ Creating a table from uploaded files
      “Operations that attempt to create new tables with name conflicts display an error message.”
      ↩︎ Creating a table from uploaded files
      “You must have access to a running compute resource and permissions to create tables in a target schema.”
      ↩︎ Creating a table from uploaded files
      “Common format options appear in the header bar, while less commonly used options are available on the Advanced attributes dialog.”
      ↩︎ Format options and multi-file uploads
      “If this is set to false, all column types are inferred as STRING.”
      ↩︎ Format options and multi-file uploads
      “Header settings apply to all files.”
      ↩︎ Format options and multi-file uploads
      “Uploaded files combine by appending all data as rows in the target table. Joining or merging records during file upload is not supported.”
      ↩︎ Format options and multi-file uploads
      “Column names do not support commas, backslashes, or unicode characters (such as emojis).”
      ↩︎ Editing column names and types before the table exists
      “You can't edit nested types for STRUCT or ARRAY.”
      ↩︎ Editing column names and types before the table exists
      “Casting BIGINT to DATE or TIMESTAMP columns is not supported.”
      ↩︎ Editing column names and types before the table exists
      “Databricks recommends that you create a table first and then transform these columns using SQL functions afterwards.”
      ↩︎ Editing column names and types before the table exists
      “To add comments to columns, create the table and navigate to Catalog Explorer where you can add comments.”
      ↩︎ Editing column names and types before the table exists
      “Imported files are uploaded to a secure internal location within your account which is garbage collected daily.”
      ↩︎ Key concept
      “Imported files are uploaded to a secure internal location within your account which is garbage collected daily.”
      ↩︎ Exam trap 1
      “Uploaded files combine by appending all data as rows in the target table. Joining or merging records during file upload is not supported.”
      ↩︎ Exam trap 3
      “Changing column types can lead to some values being cast to NULL if the value cannot be cast correctly to the target data type.”
      ↩︎ Exam trap 4
      “upload data to the staging area without connecting to compute resources, but you must select an active compute resource”
      ↩︎ Checkpoint
      “Changing column types can lead to some values being cast to NULL if the value cannot be cast correctly to the target data type.”
      ↩︎ Checkpoint
    2. 2.
      “Unless otherwise specified, all tables on Databricks are Delta Lake tables.”
      ↩︎ Two destinations behind New > Add or upload data
    3. 3.
      “Volumes sit at the third level of the Unity Catalog three-level namespace (catalog.schema.volume):”
      ↩︎ Two destinations behind New > Add or upload data
      “While tables govern tabular data, volumes govern non-tabular data of any format, including structured, semi-structured, or unstructured.”
      ↩︎ Two destinations behind New > Add or upload data
      “You can't register files in volumes as tables in Unity Catalog. Volumes are intended for path-based data access only.”
      ↩︎ Turning uploaded volume files into a table
    4. 4.
      “This setting does not control programmatic access to the Databricks File System, for example through the DBFS command-line interface.”
      ↩︎ Two destinations behind New > Add or upload data
      “Click the Upload data using the UI toggle.”
      ↩︎ Two destinations behind New > Add or upload data
    5. 5.
      “However, when you upload files to a volume through the Databricks UI, there's a 5 GB file size limit.”
      ↩︎ Uploading files to a Unity Catalog volume
      “From a notebook: File > Upload files to volume”
      ↩︎ Uploading files to a Unity Catalog volume
      “If no volume exists in the target schema, you can create one by clicking Create volume.”
      ↩︎ Uploading files to a Unity Catalog volume
      “The directory is downloaded as a ZIP file.”
      ↩︎ Uploading files to a Unity Catalog volume
      “You must have CREATE TABLE permissions in the target schema and have access to a running SQL warehouse.”
      ↩︎ Turning uploaded volume files into a table
      “Select one or more files or a directory. Files should have the same data layout.”
      ↩︎ Turning uploaded volume files into a table
      “To upload files larger than 5 GB, use the Databricks SDK for Python.”
      ↩︎ Exam trap 2
      “WRITE VOLUME on the target volume”
      ↩︎ Exam trap 5
      “when you upload files to a volume through the Databricks UI, there's a 5 GB file size limit”
      ↩︎ Checkpoint
      “Under Files, click browse or drag and drop files into the drop zone.”
      ↩︎ Checkpoint

    Spotted a mistake, or was something unclear? Tell us.