mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
18 lines
396 B
C++
18 lines
396 B
C++
#pragma once
|
|
|
|
#include <DataTypes/IDataType.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** Get data type that covers all possible values of passed data types.
|
|
* If there is no such data type, throws an exception.
|
|
*
|
|
* Examples: least common supertype for UInt8, Int8 - Int16.
|
|
* Examples: there is no least common supertype for Array(UInt8), Int8.
|
|
*/
|
|
DataTypePtr getLeastSupertype(const DataTypes & types);
|
|
|
|
}
|