Object reference · Lesson 2 of 8Detailed study · about 12 min

External, Iceberg and hybrid tables

These table types address different needs: reading files in external storage, working with the Iceberg table format, and serving transactional access patterns.

Understand the idea

An external table lets Snowflake query files that remain in external storage. Metadata describes which files belong to it. Adding a file to storage is not the same as making that file discoverable through table metadata; refresh or notification setup matters.

Key ideas in simple English
ConceptWhat it means
External tableExposes externally stored file data through table metadata; read-only through the external table.
Iceberg tableUses the Apache Iceberg table format and a catalog; management capabilities depend on the catalog configuration.
Hybrid tableOptimized for transactional reads and writes with indexes and enforced keys.

A concrete example

Northstar has archived files in cloud storage, a shared Iceberg dataset and an application that updates individual records. These are three different object-selection questions.

Remember: A file location, an open table format and a transactional access pattern are not the same requirement.

Explain it step by step · full theory

Understand the idea

An external table lets Snowflake query files that remain in external storage. Metadata describes which files belong to it. Adding a file to storage is not the same as making that file discoverable through table metadata; refresh or notification setup matters.

Iceberg is a table format with metadata that tracks table contents and snapshots. It is more than a folder of Parquet files. Snowflake-managed and externally managed catalogs have different setup and write capabilities, so first identify the catalog and who maintains it.

Follow the example

Hybrid tables target operational access such as looking up or updating one record by key. A primary key is required and enforced. This differs from treating an analytical table declaration as a guarantee of key enforcement. Check current cloud, region, account and workload limits before choosing hybrid tables.

The example is a read-only inventory, not a cloud integration setup. It lists objects visible to the current role in the lab schema. An empty result is normal if no objects of that kind have been created. SHOW TABLES output contains indicators that help distinguish table kinds; it does not establish that the workload is suitable.

The basic lab has none of these specialized objects, so no matching rows are expected. Availability errors should be investigated using the account requirements, not fixed by creating unrelated objects.

Words used in this lesson
External table
Exposes externally stored file data through table metadata; read-only through the external table.
Iceberg table
Uses the Apache Iceberg table format and a catalog; management capabilities depend on the catalog configuration.
Hybrid table
Optimized for transactional reads and writes with indexes and enforced keys.

See how it works

Choose a step to explore the idea at your own pace.

Open the interactive explanation
Interactive explainer1 / 3

External, Iceberg and hybrid tables

Northstar sales team
Business requirement

Start with the requirement

Northstar has archived files in cloud storage, a shared Iceberg dataset and an application that updates individual records. These are three different object-selection questions.

Automatic playback is off for reduced motion. Select any step or use Previous and Next. Illustrations explain behavior; they are not live measurements.

Read the complete diagram explanation
  1. Start with the requirement

    Northstar has archived files in cloud storage, a shared Iceberg dataset and an application that updates individual records. These are three different object-selection questions.

  2. Choose the objects

    Compare the responsibilities: External table: Exposes externally stored file data through table metadata; read-only through the external table.; Iceberg table: Uses the Apache Iceberg table format and a catalog; management capabilities depend on the catalog configuration.; Hybrid table: Optimized for transactional reads and writes with indexes and enforced keys.

  3. Explain the outcome

    A file location, an open table format and a transactional access pattern are not the same requirement.

Try the SQL or command

Read → predict → run in your learning environment → compare. You can also learn by reading without an account.

New to SQL? Where to run it and how to read it

A query is a question written in SQL. Snowflake runs it and returns a result table. This website shows examples; it does not connect to your account.

  1. No account yet? Read and predict the output first. Follow the account and Snowsight lesson when you are ready.
  2. For SQL practice, use a learning account in Snowsight and select an authorized role and warehouse. A role determines permissions; a warehouse supplies processing power. Follow the example’s database/schema setup when it refers to stored objects.
  3. Read the entire example, including comments beginning with --. Run the selected statement or labeled block in the stated order. Examples labeled Python, shell or HTTP belong in that client, not in a SQL editor.
  4. Compare values and row counts with the explained result. If an example deliberately causes an error, follow its rollback and cleanup steps before continuing.
SELECT / FROM
Choose the values to return / identify their input.
VALUES / COLUMN1
VALUES supplies tiny example rows. COLUMN1 means their first column, COLUMN2 their second.
AS / WITH
AS gives a result a readable name. WITH names a temporary query step within one statement.
NULL / ::
NULL means missing or unknown. The :: notation converts a value to a named data type.
Session
One connection and its settings. Keep related transaction steps in the same session.
Database.schema.table
A full address for stored data. It is separate from the warehouse that processes queries.
Help with common practice errors
  • No active warehouse: select a warehouse your role can use. Do not assume you need to create a new one.
  • Object missing or not authorized: check the full name, required setup and active role. Ask the account owner for access if needed.
  • Object already exists: setup may already have run. Read the current state or choose a fresh lab name consistently; do not add OR REPLACE blindly.
  • Different result: check whether an earlier INSERT or UPDATE changed the data. VALUES examples provide their own fresh input for each statement.

Before running this lesson

Examples are for reading first. Optional execution requires an authorized learning account, a selected warehouse for queries, and privileges on the named objects. Nothing runs on this website.

Read the example

SQL · example
SHOW EXTERNAL TABLES IN SCHEMA L2_OBJECTS_LAB.SALES;
SHOW ICEBERG TABLES IN SCHEMA L2_OBJECTS_LAB.SALES;
SHOW HYBRID TABLES IN SCHEMA L2_OBJECTS_LAB.SALES;

What to expect and why

The basic lab has none of these specialized objects, so no matching rows are expected. Availability errors should be investigated using the account requirements, not fixed by creating unrelated objects.

Check your understanding

Choose an answer, then check your reasoning. This is practice, not a scored test.

Which requirement most directly suggests investigating hybrid tables?

Try it yourself

Explain why an external table over Parquet files is not automatically an Iceberg table.

Compare your reasoning

Iceberg needs table-format metadata and catalog coordination. Parquet describes data files; it does not alone provide Iceberg table semantics. Hybrid tables address a separate transactional workload requirement.

Official sources and curriculum

Object reference · See module scope