Query Engine overview
Query data where it lives, in relational databases, data warehouses, and non-relational storage, without moving or copying it first. Query Engine runs Trino, an open-source distributed SQL query engine built to process queries over large datasets.
How Query Engine fits in FPT Data Platform
Query Engine runs as a service in your workspace. Trino reaches each data source through a connector.
| Part | Description |
|---|---|
| Nodes | 1 coordinator node and 1 to 10 worker nodes. With worker auto scaling on, the service adds worker nodes up to a maximum that you set. |
| Connectors | One per data source: Iceberg catalogs on Hive Metastore or Nessie, PostgreSQL, SQL Server, MySQL, MariaDB, MongoDB, OpenSearch, ClickHouse, Elasticsearch, Kafka, and BigQuery. |
| Authentication | How users sign in: Basic, OAuth2 (FPT ID, Google, or Keycloak), LDAP, or JWT. |
| Authorization | Optional. With Ranger integrated, Ranger controls access. Without it, you write the access rules in JSON on the Policies tab. |
| Custom domain | Optional. Your own domain for the service, with a certificate from the workspace. |
What you do on the service details page
- Essential Information: find the URLs, username, and password of the service, and check and change its settings. See View Query Engine details.
- Auth: check the authentication type and whether Ranger is integrated.
- Connectors: add, view, update, and delete connectors.
- Users: add, view, and delete user accounts.
- Policies: edit the access rules. The tab is shown only when Ranger is not integrated.
- Resource Groups: turn on resource groups to limit the concurrency, queue, memory, and CPU of each workload group.
The Web UI URL of the service opens the Query UI, where you sign in, browse catalogs, schemas, and tables, and run SQL queries.
Service lifecycle
- You create the service on a form with five screens: Basic Information, Nodes Configuration, Additional properties, Auth, and Review & Create. It is ready in about 10 minutes, when its Status is Healthy.
- You delete it from the Actions menu. Deleting it cannot be undone.
What you need before you create one
- A workspace whose Status is Connected. See Create a workspace.
- To integrate Ranger, a Ranger service that is installed and running. See Create a Ranger service.
- For OAuth2, LDAP, or JWT sign-in, the details of your identity provider, LDAP server, or token issuer.
- To use a custom domain, a certificate imported on the Certificate tab of the workspace. See Manage certificates.