aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Interpreters/NullableUtils.h
blob: 8750a60f247311a1ac5b71c5505b73419581c3c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include <Columns/ColumnNullable.h>


namespace DB
{

/** Replace Nullable key_columns to corresponding nested columns.
  * In 'null_map' return a map of positions where at least one column was NULL.
  * @returns ownership column of null_map.
  */
ColumnPtr extractNestedColumnsAndNullMap(ColumnRawPtrs & key_columns, ConstNullMapPtr & null_map);

}