mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Files placed in `tests/performance/user_files/` are now symlinked into both left and right servers' `user_files` directories during the performance test setup. This lets performance test queries reference external data files via the `file` table function. Added `instances.json` and an example performance test that queries it. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
19 lines
381 B
XML
19 lines
381 B
XML
<test>
|
|
|
|
<query>
|
|
SELECT
|
|
i.InstanceType,
|
|
i.VCpuInfo.DefaultVCpus AS cpu,
|
|
i.InstanceStorageInfo
|
|
FROM (
|
|
SELECT arrayJoin(InstanceTypes) AS i
|
|
FROM file('instances.json')
|
|
)
|
|
WHERE i.InstanceStorageSupported
|
|
ORDER BY cpu DESC
|
|
LIMIT 10
|
|
FORMAT Null
|
|
</query>
|
|
|
|
</test>
|