Presto¶
The Presto connector is a Palantir-provided driver for Presto.
To create a new Presto source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for Presto-specific configuration and networking. For the complete property reference, see the official Presto driver documentation ↗.
Configuration¶
The properties below are mandatory or recommended.
| Property | Required? | Description | Default |
|---|---|---|---|
AuthScheme ↗ |
Mandatory | The scheme used for authentication. Accepted entries are None, Basic, Kerberos and LDAP. None is the default. | None |
PrestoKind ↗ |
Mandatory | Indicates whether the connected instance is Trino or not. | Presto |
Server ↗ |
Mandatory | The host name or IP address of the Presto REST server. | {serverAddress} |
UseSSL ↗ |
Mandatory | Indicates whether SSL is enabled. | TRUE |
Port ↗ |
Recommended | The port for the Presto REST server. | 8080 |
Networking¶
The table below lists the domains that the source needs to be able to access in order to successfully run.
For each domain, add a corresponding egress policy. If the source is hosted on-premises and not directly reachable from Foundry, use an agent proxy egress policy instead; the agent host itself must also be able to reach the listed domains. See using an agent as a proxy for details.
| Domain | Required |
|---|---|
| \ |
Always. Server and Port connection property. Default Port=8080 |
| \ |
If AuthScheme=Kerberos |
| \ |
If AuthScheme=Kerberos and Kerberos topology uses multiple realms |
中文翻译¶
Presto¶
Presto 连接器是 Palantir 提供的 Presto 驱动程序(Palantir-provided driver)。要创建新的 Presto 数据源,请遵循 Palantir 提供驱动程序的标准设置流程(standard setup flow),然后使用以下各节进行 Presto 特定的配置和网络设置。有关完整的属性参考,请参阅官方 Presto 驱动程序文档(official Presto driver documentation)。
配置¶
以下属性为必填或推荐设置。
| 属性 | 是否必填 | 描述 | 默认值 |
|---|---|---|---|
AuthScheme ↗ |
必填 | 用于身份验证的方案。可接受的值为 None、Basic、Kerberos 和 LDAP。默认值为 None。 | None |
PrestoKind ↗ |
必填 | 指示连接的实例是否为 Trino。 | Presto |
Server ↗ |
必填 | Presto REST 服务器的主机名或 IP 地址。 | {serverAddress} |
UseSSL ↗ |
必填 | 指示是否启用 SSL。 | TRUE |
Port ↗ |
推荐 | Presto REST 服务器的端口。 | 8080 |
网络设置¶
下表列出了数据源为成功运行而需要能够访问的域名。
对于每个域名,请添加相应的出站策略(egress policy)。如果数据源部署在本地且无法直接从 Foundry 访问,请改用代理出站策略(agent proxy egress policy);代理主机本身也必须能够访问所列出的域名。有关详细信息,请参阅使用代理作为代理(using an agent as a proxy)。
| 域名 | 必需条件 |
|---|---|
| \ |
始终需要。Server 和 Port 连接属性。默认 Port=8080 |
| \ |
如果 AuthScheme=Kerberos |
| \ |
如果 AuthScheme=Kerberos 且 Kerberos 拓扑使用多个域 |