MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / resolve

Method resolve

src/Analyzer/TableFunctionNode.cpp:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void TableFunctionNode::resolve(TableFunctionPtr table_function_value, StoragePtr storage_value, ContextPtr context, VectorWithMemoryTracking<size_t> unresolved_arguments_indexes_)
34{
35 table_function = std::move(table_function_value);
36 storage = std::move(storage_value);
37 storage_id = storage->getStorageID();
38 const auto metadata_snapshot = storage->getInMemoryMetadataPtr(context, false);
39 storage_snapshot = storage->getStorageSnapshot(metadata_snapshot, context);
40 unresolved_arguments_indexes = std::move(unresolved_arguments_indexes_);
41}
42
43const StorageID & TableFunctionNode::getStorageID() const
44{

Callers

nothing calls this directly

Calls 3

getStorageIDMethod · 0.45
getStorageSnapshotMethod · 0.45

Tested by

no test coverage detected