2020-10-10 18:37:02 +00:00
|
|
|
#pragma once
|
2017-04-01 09:19:00 +00:00
|
|
|
#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
|
|
|
*/
|
2020-04-06 13:30:16 +00:00
|
|
|
ColumnPtr extractNestedColumnsAndNullMap(ColumnRawPtrs & key_columns, ConstNullMapPtr & null_map, bool exact_null = false);
|
2017-03-29 11:33:07 +00:00
|
|
|
|
|
|
|
}
|