Crawl Trino
Crawl metadata from Trino to automatically discover and catalog your data assets in Atlan. This process imports schemas, tables, views, and column information, making your Trino data searchable and governable within Atlan's data catalog.
Prerequisites
Before you begin, make sure you have:
- Configured Trino user permissions
- Set up private network access (if using a private network)
- Reviewed the order of operations for connection workflows
- Obtained your Trino host, port, and authentication credentials
Create crawler workflow
Follow these steps to create a workflow for Trino:
- In the top right of any screen, navigate to New and then click New Workflow.
- From the list of packages, select Trino Assets and click on Setup Workflow.
Configure authentication
Configure your Trino authentication:
-
For Host, enter the hostname (or PrivateLink endpoint) for your Trino instance.
-
For Port, enter the port of your Trino instance.
-
For Authentication Method, select either Basic or JWT:
- Basic authentication
- JWT authentication
Enter your username and password credentials:
- For Username, enter the username you created.
- For Password, enter the password for the user you created.
Enter your JWT token credentials:
- For JWT Token, enter your JWT access token.
-
For Enable TLS/HTTPS, change to True to only enable TLS or HTTPS connections or keep the default False.
-
For Disable SSL verification, change to True to disable SSL verification for self-signed certificates or keep the default False.
-
Click Test Authentication to confirm connectivity to Trino using these details.
-
Once successful, at the bottom of the screen click Next.
Configure connection
Set up your Trino connection name and define who can manage this connection in Atlan:
- Provide a Connection Name that represents your source environment. For example, you might use values like
production
,development
,gold
, oranalytics
. - To change the users able to manage this connection, change the users or groups listed under Connection Admins. If you don't specify any user or group, nobody can manage the connection—not even admins.
- At the bottom of the screen, click Next to proceed.
Configure crawler
Customize the crawler settings. If an asset appears in both the include and exclude filters, the exclude filter takes precedence.
- To select the Trino assets you want to exclude from crawling, click Exclude Metadata. This defaults to no assets if none are specified.
- To select the Trino assets you want to include in crawling, click Include Metadata. This defaults to all assets if none are specified.
- For Advanced Config, keep Default for the default configuration or click Custom to configure the crawler:
- For Enable Source Level Filtering, click True to enable schema-level filtering at source or click False to disable it.
- For Use JDBC Internal Methods, click True to enable JDBC internal methods for data extraction or click False to disable it.
Run crawler
Execute the crawler workflow:
- To check for any permissions or other configuration issues before running the crawler, click Preflight checks.
- You can either:
- To run the crawler once immediately, at the bottom of the screen, click the Run button.
- To schedule the crawler to run hourly, daily, weekly, or monthly, at the bottom of the screen, click the Schedule Run button.
Once the crawler has completed running, you can see the assets in Atlan's asset page.
Troubleshooting
If you encounter connection or authentication issues during the crawl, see Troubleshooting Trino connectivity.
See also
- What does Atlan crawl from Trino?: Learn about the metadata and assets that Atlan extracts from Trino.