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

Function patchSettings

src/IO/PackedFilesReader.cpp:77–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77static ReadSettings patchSettings(ReadSettings settings)
78{
79 settings.local_fs_settings.direct_io_threshold = 0;
80 if (settings.local_fs_settings.method == LocalFSReadMethod::mmap)
81 settings.local_fs_settings.method = LocalFSReadMethod::pread;
82 return settings;
83}
84
85std::unique_ptr<ReadBufferFromFileBase> PackedFilesReader::readFile(
86 const DiskPtr & disk,

Callers 15

MergeTextIndexesTaskMethod · 0.85
makeTextIndexStreamMethod · 0.85
initStreamIfNeededMethod · 0.85
readFileMethod · 0.85
patchSettingsMethod · 0.85
readObjectMethod · 0.85
readObjectMethod · 0.85
prepareReadMethod · 0.85
writeObjectMethod · 0.85
readObjectMethod · 0.85
writeObjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected