-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
72 lines (65 loc) · 3.46 KB
/
Copy path.env.example
File metadata and controls
72 lines (65 loc) · 3.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Template for the live integration tests. Copy to `.env` and fill in.
#
# cp .env.example .env
# # then run a backend-specific test, e.g.:
# set -a; source .env; set +a
# cargo test -p sqe-catalog --features glue backends_integration -- \
# --ignored glue::
#
# `.env` is gitignored. Only this template is checked in.
# ---------------------------------------------------------------------------
# AWS Glue (catalog + S3 warehouse)
# ---------------------------------------------------------------------------
# AWS_PROFILE selects credentials from `~/.aws/credentials` / SSO. The
# test reads via the standard provider chain, so any combination that
# resolves a region + credentials works (env vars, instance profile,
# `aws configure sso`).
#
# AWS_REGION and the warehouse must point at the same region; Glue is
# regional and S3 buckets are too.
AWS_PROFILE=your-aws-profile
AWS_REGION=eu-central-1
# Pre-created S3 bucket for the test warehouse. The bucket itself must
# exist; the test only writes namespace metadata (no Parquet) so the
# bucket can be empty.
SQE_TEST_GLUE_WAREHOUSE=s3://your-glue-it-bucket/wh/
# ---------------------------------------------------------------------------
# AWS S3 Tables (federated via the Glue Iceberg REST endpoint)
# ---------------------------------------------------------------------------
# AWS exposes S3 Tables through two Iceberg REST surfaces; both need
# AWS SigV4 on every request. SQE's vendored iceberg-catalog-rest
# enables that path with the `aws-sigv4` cargo feature (default-on).
#
# Warehouse format is what AWS returns from /v1/config as `prefix`:
# `<account-id>:s3tablescatalog/<bucket-name>` for the federated Glue
# endpoint. Override SQE_TEST_S3TABLES_URI / _SIGNING_NAME to switch
# to the per-bucket s3tables.<region>.amazonaws.com/iceberg variant.
SQE_TEST_S3TABLES_WAREHOUSE=000000000000:s3tablescatalog/your-table-bucket
# SQE_TEST_S3TABLES_URI=https://glue.eu-central-1.amazonaws.com/iceberg
# SQE_TEST_S3TABLES_SIGNING_NAME=glue
# ---------------------------------------------------------------------------
# Hive Metastore (docker-compose.hms.yml)
# ---------------------------------------------------------------------------
# Defaults to docker-compose's localhost mapping; uncomment to override.
# SQE_TEST_HMS_URI=127.0.0.1:19083
# SQE_TEST_HMS_WAREHOUSE=s3a://warehouse/hms/
# ---------------------------------------------------------------------------
# Project Nessie (docker-compose.nessie.yml)
# ---------------------------------------------------------------------------
# SQE_TEST_NESSIE_URI=http://127.0.0.1:19121/iceberg/
# SQE_TEST_NESSIE_WAREHOUSE=warehouse
# ---------------------------------------------------------------------------
# JDBC Postgres (docker-compose.test.yml)
# ---------------------------------------------------------------------------
# SQE_TEST_PG_URL=postgres://iceberg:iceberg@localhost:15432/iceberg_catalog
# SQE_TEST_PG_WAREHOUSE=/tmp/sqe-pg-jdbc-test-warehouse
# ---------------------------------------------------------------------------
# Unity Catalog OSS (docker-compose.unity.yml)
# ---------------------------------------------------------------------------
# Unity OSS exposes its Iceberg REST adapter at
# /api/2.1/unity-catalog/iceberg/. The OSS image is read-only on
# create/drop, so the live test is a read smoke against the seeded
# `unity.default.marksheet_uniform` table.
#
# SQE_TEST_UNITY_URI=http://127.0.0.1:18080/api/2.1/unity-catalog/iceberg
# SQE_TEST_UNITY_WAREHOUSE=unity