mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-18 06:20:51 +00:00
Change Tuple(F64, F64) to Point in Polygon definition
This commit is contained in:
parent
0850d63d52
commit
d6b57ff32f
@ -66,7 +66,7 @@ void registerDataTypeDomainGeo(DataTypeFactory & factory) {
|
||||
|
||||
factory.registerSimpleDataTypeCustom("Polygon", []
|
||||
{
|
||||
return std::make_pair(DataTypeFactory::instance().get("Array(Array(Tuple(Float64, Float64)))"),
|
||||
return std::make_pair(DataTypeFactory::instance().get("Array(Array(Point))"),
|
||||
std::make_unique<DataTypeCustomDesc>(std::make_unique<DataTypeCustomFixedName>("Polygon"), std::make_unique<DataTypeCustomPolygonSerialization>()));
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user