You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
5
5
## [Unreleased]
6
6
7
+
### Added
8
+
9
+
- Added support for the [PostgreSQL connector](https://trino.io/docs/current/connector/postgresql.html) using the new generic database connection mechanism.
10
+
Previously, users had to use the `generic` connector ([#883]).
11
+
7
12
### Changed
8
13
9
14
- BREAKING: `configOverrides` now only accepts the supported config file names
@@ -26,6 +31,7 @@ All notable changes to this project will be documented in this file.
Copy file name to clipboardExpand all lines: docs/modules/trino/pages/usage-guide/catalogs/hive.adoc
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ The Apache Hive connector allows Trino to connect to a Hive metastore and query
5
5
Deploy a Hive Stacklet with the xref:hive:index.adoc[].
6
6
7
7
== Example Hive catalog configuration
8
+
8
9
[source,yaml]
9
10
----
10
11
apiVersion: trino.stackable.tech/v1alpha1
@@ -34,6 +35,7 @@ spec:
34
35
<4> Use `configOverrides` to add arbitrary properties to the Trino catalog configuration
35
36
36
37
== Connect to S3 store
38
+
37
39
The Hive connector can connect to an S3 store as follows:
38
40
39
41
[source,yaml]
@@ -58,6 +60,7 @@ See xref:concepts:s3.adoc[] for details about S3 connections.
58
60
IMPORTANT: Make sure that the underlying Hive metastore also has access to the S3 store, because it will e.g. check if the directory exists when creating tables.
59
61
60
62
== Connect to HDFS cluster
63
+
61
64
The hive connector can connect to an HDFS operated by Stackable as follows:
62
65
63
66
[source,yaml]
@@ -72,10 +75,12 @@ spec:
72
75
IMPORTANT: Make sure that the underlying Hive metastore also has access to the HDFS, because it will e.g. check if the directory exists when creating tables.
73
76
74
77
== Adding unmanaged Hive clusters
78
+
75
79
You can add connect Trino to Hive catalogs from systems that are not managed by Stackable, including Hive running on existing Hadoop clusters.
76
80
Unmanaged Hive instances can be defined by creating a ConfigMap containing the configuration for the remote Hive Metastore and HDFS or S3 storage services.
77
81
78
82
=== Create a Hive Metastore configMap
83
+
79
84
The Hive metastore ConfigMap contains the URL for the metastore's thrift endpoint.
80
85
[source,yaml]
81
86
----
@@ -88,6 +93,7 @@ data:
88
93
----
89
94
90
95
=== Create a HDFS configMap
96
+
91
97
When the Hive data is stored on HDFS you will need to provide a ConfigMap containing the HDFS configuration.
92
98
To do this take the `core-site.xml` and `hdfs-site.xml` from your Hadoop cluster and create a ConfigMap with the keys `core-site.xml` and `hdfs-site.xml`.
93
99
@@ -119,6 +125,7 @@ data:
119
125
----
120
126
121
127
=== Create the Trino Hive catalog
128
+
122
129
To use the unmanaged Hive metastore we define a TrinoCatalog object in the same way we would for a managed cluster, referencing the custom ConfigMap we created for Hive and HDFS.
0 commit comments