# Presto on Hive For context on getting started with ingestion, check out our [metadata ingestion guide](../README.md). ## Setup To install this plugin, run `pip install 'acryl-datahub[presto-on-hive]'`. ## Capabilities This plugin extracts the following: - Metadata for Presto views and Hive tables (external / managed) - Column types associated with each table / view - Detailed table / view property info ## Quickstart recipe Check out the following recipe to get started with ingestion! See [below](#config-details) for full configuration options. For general pointers on writing and running a recipe, see our [main recipe guide](../README.md#recipes). ```yml source: type: presto-on-hive config: # Hive metastore DB connection host_port: localhost:5432 database: metastore # specify the schema where metastore tables reside schema_pattern: allow: - "^public" # credentials username: user # optional password: pass # optional #scheme: 'postgresql+psycopg2' # set this if metastore db is using postgres #scheme: 'mysql+pymysql' # set this if metastore db is using mysql, default if unset # set this to have advanced filters on what to ingest #views_where_clause_suffix: AND d."name" in ('db1') #tables_where_clause_suffix: AND d."name" in ('db1') sink: # sink configs ``` ## Config details Note that a `.` is used to denote nested fields in the YAML recipe. | Field | Required | Default | Description | | ---------------------------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `username` | | | Database username. | | `password` | | | Database password. | | `host_port` | ✅ | | Host URL and port to connect to. | | `database` | | | Database to ingest. | | `env` | | `"PROD"` | Environment to use in namespace when constructing URNs. | | `options.