-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsupport.json
More file actions
175 lines (175 loc) · 6.13 KB
/
Copy pathsupport.json
File metadata and controls
175 lines (175 loc) · 6.13 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"python": {
"floor": "3.9",
"versions": ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
},
"databases": [
{
"name": "postgres",
"title": "PostgreSQL",
"dialect": "POSTGRES",
"server": "container",
"service": "postgres",
"image": "postgres:14-alpine",
"version": "14",
"floor": "12",
"driver": "psycopg[binary]",
"module": "psycopg",
"dsn_env": "SUSTAINED_TEST_POSTGRES_DSN",
"dsn": "postgresql://sustained:sustained@127.0.0.1:55432/sustained",
"latest": {
"image": "postgres:18-alpine",
"version": "18",
"service": "postgres-latest",
"dsn_env": "SUSTAINED_TEST_POSTGRES_LATEST_DSN",
"dsn": "postgresql://sustained:sustained@127.0.0.1:55532/sustained"
},
"covers": ["queries", "writes", "transactions", "migrations", "async", "impact"],
"note": "Rehearsal, advisory locks, and transactional DDL all run here. Enum ADD VALUE inside a transaction sets the floor."
},
{
"name": "mysql",
"title": "MySQL",
"dialect": "MYSQL",
"server": "container",
"service": "mysql",
"image": "mysql:8.4",
"version": "8.4",
"floor": "8.0.19",
"driver": "pymysql",
"module": "pymysql",
"dsn_env": "SUSTAINED_TEST_MYSQL_DSN",
"dsn": "mysql://root:sustained@127.0.0.1:53306/sustained",
"latest": {
"image": "mysql:26.7",
"version": "26.7",
"service": "mysql-latest",
"dsn_env": "SUSTAINED_TEST_MYSQL_LATEST_DSN",
"dsn": "mysql://root:sustained@127.0.0.1:53406/sustained"
},
"covers": ["queries", "writes", "transactions", "migrations", "impact"],
"note": "No transactional DDL, so rehearse needs scratch=True. ALTER TABLE DROP CONSTRAINT sets the floor."
},
{
"name": "mariadb",
"title": "MariaDB",
"dialect": "MYSQL",
"server": "container",
"service": "mariadb",
"image": "mariadb:11.4",
"version": "11.4",
"floor": "10.6",
"driver": "pymysql",
"module": "pymysql",
"dsn_env": "SUSTAINED_TEST_MARIADB_DSN",
"dsn": "mysql://root:sustained@127.0.0.1:53307/sustained",
"latest": {
"image": "mariadb:12.3",
"version": "12.3",
"service": "mariadb-latest",
"dsn_env": "SUSTAINED_TEST_MARIADB_LATEST_DSN",
"dsn": "mysql://root:sustained@127.0.0.1:53407/sustained"
},
"covers": ["queries", "writes", "transactions", "migrations", "impact"],
"note": "Same dialect as MySQL. SKIP LOCKED sets the floor. JSON columns read back through their json_valid check."
},
{
"name": "mssql",
"title": "SQL Server",
"dialect": "MSSQL",
"server": "container",
"service": "mssql",
"image": "mcr.microsoft.com/mssql/server:2022-latest",
"version": "2022",
"floor": "2012",
"driver": "pyodbc",
"module": "pyodbc",
"dsn_env": "SUSTAINED_TEST_MSSQL_DSN",
"dsn": "mssql://sa:Sustained1!@127.0.0.1:51433/sustained",
"latest": {
"image": "mcr.microsoft.com/mssql/server:2025-latest",
"version": "2025",
"service": "mssql-latest",
"dsn_env": "SUSTAINED_TEST_MSSQL_LATEST_DSN",
"dsn": "mssql://sa:Sustained1!@127.0.0.1:51533/sustained"
},
"covers": ["queries", "writes", "transactions", "migrations", "impact"],
"note": "Off the rehearsal allowlist, so rehearse refuses without scratch=True. OFFSET with FETCH sets the floor. pyodbc needs the ODBC driver installed."
},
{
"name": "presto",
"title": "Presto and Trino",
"dialect": "PRESTO",
"server": "container",
"service": "presto",
"image": "trinodb/trino:468",
"version": "468",
"floor": "351",
"driver": "trino",
"module": "trino",
"dsn_env": "SUSTAINED_TEST_PRESTO_DSN",
"dsn": "trino://sustained@127.0.0.1:58080/tpch",
"latest": {
"image": "trinodb/trino:483",
"version": "483",
"service": "presto-latest",
"dsn_env": "SUSTAINED_TEST_PRESTO_LATEST_DSN",
"dsn": "trino://sustained@127.0.0.1:58180/tpch"
},
"covers": ["queries"],
"note": "Reads the tpch catalog. Neither server runs migrations. The floor is the first release under the Trino name; PrestoDB works for the features its engine has, untested here."
},
{
"name": "sqlite",
"title": "SQLite",
"dialect": "DEFAULT",
"server": "in-process",
"driver": null,
"module": "sqlite3",
"dsn_env": "SUSTAINED_TEST_SQLITE_DSN",
"dsn": ":memory:",
"covers": ["queries", "writes", "transactions", "migrations", "async", "impact"],
"floor": "3.35",
"note": "Standard library. The table rebuild path lives here. RETURNING and DROP COLUMN set the floor; sqlite3.sqlite_version says what your Python links."
},
{
"name": "duckdb",
"title": "DuckDB",
"dialect": "DUCKDB",
"server": "in-process",
"driver": "duckdb",
"module": "duckdb",
"dsn_env": "SUSTAINED_TEST_DUCKDB_DSN",
"dsn": ":memory:",
"covers": ["queries", "writes", "transactions", "migrations", "impact"],
"floor": "1.0",
"note": "In-process, so no container and no advisory lock. Releases before 1.0 are not claimed."
},
{
"name": "athena",
"title": "AWS Athena",
"dialect": "ATHENA",
"server": "account",
"driver": "pyathena",
"module": "pyathena",
"dsn_env": "SUSTAINED_TEST_ATHENA_S3_DIR",
"dsn": null,
"covers": ["queries"],
"floor": "engine version 3",
"note": "Your AWS account, with a staging S3 directory. Iceberg MERGE sets the floor at engine version 3. Migrations are not tested on Athena, since the tables they need live in your buckets."
},
{
"name": "default",
"title": "ANSI (default)",
"dialect": "DEFAULT",
"server": "none",
"driver": null,
"module": null,
"dsn_env": null,
"dsn": null,
"covers": [],
"floor": null,
"note": "The portable compiler. Any DB-API 2.0 driver that takes this SQL will work, untested here."
}
]
}