diff --git a/lib/db/clickhouse.js b/lib/db/clickhouse.js index 40b15b31..115465e0 100644 --- a/lib/db/clickhouse.js +++ b/lib/db/clickhouse.js @@ -198,17 +198,8 @@ const initialize = async function (dbName) { const checkCapabilities = async () => { logger.info('Checking clickhouse capabilities') - try { - await axios.post(getClickhouseUrl() + '/?allow_experimental_live_view=1', - `CREATE LIVE VIEW IF NOT EXISTS ${clickhouseOptions.queryOptions.database}.lvcheck AS SELECT 1`) - await axios.post(getClickhouseUrl() + '/?allow_experimental_live_view=1', - `DROP VIEW IF EXISTS ${clickhouseOptions.queryOptions.database}.lvcheck`) - capabilities.liveView = !isCustomSamplesOrderingRule() - logger.info('LIVE VIEW: supported') - } catch (e) { - logger.info('LIVE VIEW: unsupported') - capabilities.liveView = false - } + // qryn doesn't use LIVE VIEW after ClickHouse dropped WITH TIMEOUT clause support + capabilities.liveView = false } const reloadFingerprints = function () {