metadata-ingestion/docs/sources/dremio/dremio_pre.md
Dremio is a data lakehouse platform that provides SQL query capabilities across diverse data sources without copying data. The DataHub integration connects directly to Dremio via REST API and system table queries to discover and catalog your data assets.
This module captures physical datasets (tables), virtual datasets (views), spaces, folders, and data sources as containers. Optional capabilities include column-level lineage from view definitions, query-based lineage from job history, data profiling, and stateful deletion of removed entities.
You need a running Dremio instance with API access, a user account with appropriate permissions, and network connectivity between DataHub and Dremio.
Generate a Personal Access Token for programmatic access:
Your user account needs the following Dremio privileges:
Container Access (Required for container discovery)
-- Grant access to view and use sources and spaces
GRANT READ METADATA ON SOURCE <source_name> TO USER <username>
GRANT READ METADATA ON SPACE <space_name> TO USER <username>
-- Or grant at system level for all containers
GRANT READ METADATA ON SYSTEM TO USER <username>
System Tables Access (Required for metadata extraction)
-- Grant access to system tables for dataset metadata
GRANT SELECT ON SYSTEM TO USER <username>
Dataset Access (Optional — only needed for data profiling)
-- For data profiling (only if profiling is enabled)
GRANT SELECT ON SOURCE <source_name> TO USER <username>
GRANT SELECT ON SPACE <space_name> TO USER <username>
Query Lineage Access (Optional — only if include_query_lineage: true)
-- Required for query lineage extraction
GRANT VIEW JOB HISTORY ON SYSTEM TO USER <username>
What each permission does:
READ METADATA: Access to view containers and their metadata via API callsSELECT ON SYSTEM: Access to system tables (SYS.*, INFORMATION_SCHEMA.*) for dataset metadataSELECT ON SOURCE/SPACE: Read actual data for profiling (optional)VIEW JOB HISTORY: Access query history tables for lineage (optional)If your Dremio instance connects to external data sources (AWS S3, databases, etc.), ensure that: