Skip to main content
In SparkSQL and Databricks compatibility modes, a supported information_schema view follows Databricks’ INFORMATION_SCHEMA: its column names and order. Open-source Spark has no information_schema, so both modes use the Databricks shape.

Supported views

Any INFORMATION_SCHEMA view not listed does not exist in these modes: querying it raises a “relation does not exist” error, even where Firebolt has a native view of that name.

Addressing

A Databricks catalog is a Firebolt database:
  • INFORMATION_SCHEMA.TABLES and system.INFORMATION_SCHEMA.TABLES: the current database.
  • <database>.INFORMATION_SCHEMA.TABLES: the named database.

Notes

  • Values carry Firebolt conventions, not Databricks’: columns.data_type and columns.full_data_type return Firebolt type names (INTEGER, TEXT), and views.view_definition returns Firebolt DDL.
  • tables and schemata list user objects only, never the system schemas.
  • Databricks columns with no Firebolt source are NULL.
  • A view cannot be created over a Databricks-shaped information_schema view, because the stored definition could not be re-resolved outside the dialect. Query it directly, or use CREATE TABLE AS SELECT.