Object Stores
Google Cloud Storage
Overview
This code block demonstrates how to query Parquet file(s) stored in Google Cloud Storage (GCS).
The file path must start with gs://
.
The glob pattern can be used to query a directory of files.
Providing Credentials
CREATE USER MAPPING
is used to provide GCS credentials. These credentials are tied to a specific Postgres user, which enables
multiple users to query the same foreign table with their own credentials.
HMAC keys are used for authentication.
Because GCS is accessed with the S3 API, GCS accepts the same user mapping options as S3. Please see the S3 documentation for other available options.