Google Cloud Storage file system support#
Примечание
Ниже приведена оригинальная документация Trino. Скоро мы ее переведем на русский язык и дополним полезными примерами.
Trino includes a native implementation to access Google Cloud Storage (GCS) with a catalog using the Delta Lake, Hive, Hudi, or Iceberg connectors.
Enable the native implementation with fs.native-gcs.enabled=true
in your
catalog properties file.
General configuration#
Use the following properties to configure general aspects of Google Cloud Storage file system support:
Property |
Description |
---|---|
|
Activate the native implementation for Google Cloud Storage support.
Defaults to |
|
Identifier for the project on Google Cloud Storage. |
|
Maximum number of RPC attempts. Defaults to 20. |
|
Scale factor for RPC retry delays. Defaults to 3. |
|
Total time duration limit for RPC call retries.
Defaults to |
|
Minimum delay duration between RPC retries. Defaults
to |
|
Maximum delay duration between RPC retries. Defaults
to |
|
Minimum data size for blocks read per RPC. Defaults
to |
|
Minimum data size for blocks written per RPC. The
Defaults to |
|
Maximum number of blobs to return per page. Defaults to 100. |
|
Number of blobs to delete per batch. Defaults to 100. Recommended batch size is 100. |
Authentication#
Use one of the following properties to configure the authentication to Google Cloud Storage:
Property |
Description |
---|---|
|
Flag to set usage of a client-provided OAuth 2.0 token to access Google
Cloud Storage. Defaults to |
|
Your Google Cloud service account key in JSON format. Not to be set together
with |
|
Path to the JSON file on each node that contains your Google Cloud Platform
service account key. Not to be set together with |