Locations
Use this reference to learn about the metadata available for Firebolt locations using the information schema.
You can use the information_schema.locations
view to return information about each location in your Firebolt account. The view contains one row for each location. Use a SELECT
query to return information about each location as shown in the example below.
For a comprehensive guide to LOCATION objects including concepts, usage patterns, and best practices, see LOCATION objects.
Columns in information_schema.locations
Each row has the following columns with information about each location:
Column Name | Data Type | Description |
---|---|---|
location_name | TEXT | The name of the location. |
source | TEXT | The type of the external data source. Firebolt currently supports AMAZON_S3 and ICEBERG . |
url | TEXT | The data source URL. For Amazon S3, the format is s3://{bucket_name}/{path} . For Iceberg, this may be an S3 URL for file-based catalogs or an API endpoint for REST catalogs. |
description | TEXT | Optional metadata describing the location’s purpose. |
location_owner | TEXT | The owner of the location. |
created | TIMESTAMPTZ | The timestamp when the location was created. |
ddl | TEXT | The CREATE LOCATION statement used to create this location, with credentials masked for security. |
Examples
View all locations
The following query returns information about all locations in your account:
View locations by source type
You can filter locations by their source type:
View location DDL statements
The ddl
column contains the original CREATE LOCATION statement with credentials masked for security:
Example output:
Find locations by owner
Audit and troubleshooting with DDL
The ddl
column is particularly useful for auditing and troubleshooting location configurations:
Notes
- All identifiers are case-insensitive unless enclosed in double-quotes.
- The
ddl
column contains the original CREATE LOCATION statement with all credential values replaced with****
for security purposes. - For Iceberg locations using Databricks Unity catalogs, the
url
column may be NULL as the URL is specified within the catalog options. - The
ddl
column preserves the original parameter names and structure used when the location was created. - For more information about object identifiers, see Object identifiers.