# Hive Hive Permissions

Source: https://userguide.qualytics.io/source-datastore/datastore/jdbc/hive/permissions/

> **Info: Permissions in your Hive**
>
> The permissions on this page are granted in your own Hive, to the account Qualytics connects with, by whoever administers Hive at your company. They let Qualytics connect the datastore and read your data. They are not Qualytics roles or team permissions. To know which Qualytics user role (**Admin**, **Manager**, or **Member**) and team permission you need to connect the datastore in Qualytics, see [Source Datastore Permissions](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/permissions/).

Qualytics connects to Hive through the **Hive JDBC driver** (HiveServer2). It accesses the Hive metastore for schema and table discovery, and reads table data via HiveQL `SELECT` queries for profiling and scanning operations. Qualytics also identifies partition columns from Hive metastore metadata for optimized data reading.

## Minimum Hive Permissions (Source Datastore)

| Permission | Purpose |
| --- | --- |
| `SELECT ON DATABASE <database_name>` | Access the database and its metadata |
| `SELECT ON TABLE <database_name>.*` | Read data from all tables for profiling and scanning |

> **Note**
>
> Qualytics cannot write to Hive, so a Hive datastore cannot be used as an enrichment datastore. Use an enrichment datastore on another connector instead.

## Example: Source Datastore User (Read-Only)

Replace `<database_name>` with your actual value.

```sql
-- Grant read access to the target database and all its tables
GRANT SELECT ON DATABASE <database_name> TO USER qualytics_read;
GRANT SELECT ON ALL TABLES IN DATABASE <database_name> TO USER qualytics_read;
```

With **Kerberos** authentication, grant these privileges to the Kerberos principal Qualytics logs in as (the **Client Principal**). See [Authentication](https://userguide.qualytics.io/source-datastore/datastore/jdbc/hive/authentication/).

*Last updated: November 16, 2026.*
