Files
zooqueen 9b59b8e388 datastore: rename all remaining clickhouse-named files → datastore (tests/ci/utils/docs/packages)
Complete the filename-level debrand the 26.6 merge surfaced: 238 files (test .sql/.reference pairs,
ci/jobs + workflows, utils, docs, package specs) renamed clickhouse->datastore (all case variants incl
clickHouse), with references updated. Build-critical product files were already done. Excludes contrib (third-party).
2026-06-23 13:10:28 -07:00

15 lines
696 B
Bash
Executable File

#!/bin/bash
set -e
WORK_TREE="$1"
(
cd $WORK_TREE || exit 129
$CH_PATH client --user admin -q "create table test (ts DateTime64(6, 'UTC'), d Date) engine = PostgreSQL('localhost:15432', 'postgres', 'test', 'postgres', 'password');
select ts from test where ts > '2025-01-01 00:00:00'::DateTime64" || exit 1
# Run some test
# ./tests/datastore-test --no-random-settings --no-random-merge-tree-settings 01413_rows_events.sql
# Or run custom script
# clickhouse client -q "drop database if exists x; create database x; create table x.ttl (d Date, a Int) engine = MergeTree order by a partition by toDayOfMonth(d); insert into x.ttl values (toDateTime('2000-10-10 00:00:00'), 1)"
)