mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
21 lines
664 B
C++
21 lines
664 B
C++
#pragma once
|
|
|
|
#include <Core/Block.h>
|
|
#include <Core/NamesAndTypes.h>
|
|
#include <Common/FieldVisitors.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
size_t getNumberOfDimensions(const IDataType & type);
|
|
size_t getNumberOfDimensions(const IColumn & column);
|
|
DataTypePtr getBaseTypeOfArray(DataTypePtr type);
|
|
DataTypePtr createArrayOfType(DataTypePtr type, size_t dimension);
|
|
|
|
DataTypePtr getDataTypeByColumn(const IColumn & column);
|
|
void convertObjectsToTuples(NamesAndTypesList & columns_list, Block & block, const NamesAndTypesList & extended_storage_columns);
|
|
DataTypePtr getLeastCommonTypeForObject(const DataTypes & types);
|
|
void optimizeTypesOfObjectColumns(MutableColumns & columns);
|
|
|
|
}
|