ClickHouse/dbms/Interpreters/NullableUtils.h

14 lines
350 B
C++
Raw Normal View History

#include <Columns/ColumnNullable.h>
2017-03-29 11:33:07 +00:00
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.
2019-07-03 19:06:34 +00:00
* @returns ownership column of null_map.
2017-03-29 11:33:07 +00:00
*/
2019-07-03 19:06:34 +00:00
ColumnPtr extractNestedColumnsAndNullMap(ColumnRawPtrs & key_columns, ConstNullMapPtr & null_map);
2017-03-29 11:33:07 +00:00
}