ClickHouse/src/Storages/MergeTree/MergeTreeSequentialSource.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
703 B
C++
Raw Normal View History

2018-11-28 15:05:53 +00:00
#pragma once
2022-05-20 19:49:31 +00:00
#include <Processors/ISource.h>
2018-11-28 15:05:53 +00:00
#include <Storages/MergeTree/MergeTreeData.h>
2019-10-10 16:30:30 +00:00
#include <Storages/MergeTree/IMergeTreeReader.h>
2018-11-28 15:05:53 +00:00
#include <Storages/MergeTree/MarkRange.h>
#include <memory>
namespace DB
{
/// Create stream for reading single part from MergeTree.
/// If the part has lightweight delete mask then the deleted rows are filtered out.
Pipe createMergeTreeSequentialSource(
const MergeTreeData & storage,
const StorageSnapshotPtr & storage_snapshot,
MergeTreeData::DataPartPtr data_part,
Names columns_to_read,
bool read_with_direct_io,
bool take_column_types_from_storage,
bool quiet,
std::shared_ptr<std::atomic<size_t>> filtered_rows_count);
2018-11-28 15:05:53 +00:00
}