-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.compare.yml
More file actions
43 lines (41 loc) · 1.34 KB
/
Copy pathdocker-compose.compare.yml
File metadata and controls
43 lines (41 loc) · 1.34 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
# docker-compose.compare.yml
# Side-by-side SQE + Trino stack for parity comparison.
# Both engines connect to the same Polaris catalog and S3 storage.
#
# Usage:
# docker compose -f docker-compose.test.yml -f docker-compose.compare.yml up -d
# ./scripts/trino-parity-test.sh tpch
services:
# SQE Coordinator
sqe:
build:
context: .
ports:
- "60051:50051" # Flight SQL
- "28080:8080" # Trino HTTP compat
environment:
SQE_CONFIG: /etc/sqe/config.toml
volumes:
- ./tests/distributed/coordinator.toml:/etc/sqe/config.toml:ro
depends_on:
polaris:
condition: service_healthy
# Trino (single-node, Iceberg connector)
trino:
image: trinodb/trino:483
ports:
- "38080:8080"
volumes:
- ./tests/trino/catalog/iceberg.properties:/etc/trino/catalog/iceberg.properties:ro
# Built-in tpch connector: generates TPC-H demo data on demand. The parity
# harness CTASes from tpch.tiny into the shared iceberg (Polaris) catalog.
- ./tests/trino/catalog/tpch.properties:/etc/trino/catalog/tpch.properties:ro
- ./tests/trino/config.properties:/etc/trino/config.properties:ro
depends_on:
polaris:
condition: service_healthy
healthcheck:
test: ["CMD", "trino", "--execute", "SELECT 1"]
interval: 10s
timeout: 5s
retries: 30