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

Function getWriteSettings

src/IO/WriteSettings.cpp:9–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7{
8
9WriteSettings getWriteSettings()
10{
11 auto query_context = CurrentThread::tryGetQueryContext();
12 if (query_context)
13 return query_context->getWriteSettings();
14
15 auto global_context = Context::getGlobalContextInstance();
16 if (global_context)
17 return global_context->getWriteSettings();
18
19 return {};
20}
21
22WriteSettings getWriteSettingsForMetadata()
23{

Callers 8

moveWithinBucketMethod · 0.85
checkAccessImplMethod · 0.85
createFileMethod · 0.85
replicateBlobsFunction · 0.85
executeMethod · 0.85
createWriteBufMethod · 0.85
undoMethod · 0.85

Calls 1

getWriteSettingsMethod · 0.80

Tested by

no test coverage detected