Skip to content

Commit a5e01ea

Browse files
lohanidamodarclaude
andcommitted
test(clickhouse): SQL snapshot tests + Dockerfile/composer PHP 8.4 bump
Adds tests/Usage/Adapter/ClickHouseSqlSnapshotTest.php covering DDL (events table, daily SummingMergeTree, materialized view), the named-typed binding read path, groupByTimeBucket aggregation, INSERT FORMAT JSONEachRow, getTimeSeries shape, FINAL on daily reads, and the lightweight DELETE form. 9 snapshot tests / 30 assertions. Bumps Dockerfile from php:8.3.3-cli-alpine3.19 to php:8.4.21-cli-alpine3.23 and composer.json's php constraint from >=8.0 to >=8.4 so CI matches the utopia-php/query 0.3.x asymmetric-visibility requirement. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7bcb7f2 commit a5e01ea

4 files changed

Lines changed: 460 additions & 194 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ COPY composer.json /src/
88
RUN composer install --ignore-platform-reqs --optimize-autoloader \
99
--no-plugins --no-scripts --prefer-dist
1010

11-
FROM php:8.3.3-cli-alpine3.19 as final
11+
FROM php:8.4.21-cli-alpine3.23 as final
1212

1313
LABEL maintainer="team@appwrite.io"
1414

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"minimum-stability": "dev",
1919
"prefer-stable": true,
2020
"require": {
21-
"php": ">=8.0",
21+
"php": ">=8.4",
2222
"utopia-php/fetch": "^1.1",
2323
"utopia-php/database": "5.*",
2424
"utopia-php/query": "dev-feat/clickhouse-insert-delete-settings-mv as 0.3.2"

0 commit comments

Comments
 (0)