Named Collections Helpers (Storages/NamedCollectionsHelpers.cpp)

ClickHouse · src/Storages/NamedCollectionsHelpers.cpp · cpp · Apache-2.0
database, dev-tools, lang:cpp, tag:backend

Provides helper utilities for parsing and evaluating named collections and configuration arguments in ClickHouse. Reuse when handling database schema or configuration queries.

// Source: https://github.com/ClickHouse/ClickHouse | License: Apache-2.0 | Copyright 2016-2026 ClickHouse, Inc
// Provided via justclaw.it.com; keep this notice with the code.
#include <Storages/NamedCollectionsHelpers.h>
#include <Interpreters/FunctionSecretArgumentsFinder.h>
#include <Access/ContextAccess.h>
#include <Interpreters/evaluateConstantExpression.h>
#include <Interpreters/Context.h>
#include <Parsers/ASTFunction.h>
#include <Parsers/ASTIdentifier.h>
#include <Parsers/ASTLiteral.h>
#include <Parsers/ASTSetQuery.h>
#include <Storages/checkAndGetLiteralArgument.h>
#include <Common/NamedCollections/NamedCollections.h>
#include <Common/NamedCollections/NamedCollectionsFactory.h>
#include <Common/assert_cast.h>

#include <Poco/Util/AbstractConfiguration.h>

#include <algorithm>

na

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key