diff --git a/src/Functions/geometryConverters.cpp b/src/Functions/geometryConverters.cpp index d2050af6679..b0b437d5332 100644 --- a/src/Functions/geometryConverters.cpp +++ b/src/Functions/geometryConverters.cpp @@ -7,9 +7,9 @@ namespace DB namespace ErrorCodes { - extern const int ILLEGAL_COLUMN; extern const int BAD_ARGUMENTS; extern const int LOGICAL_ERROR; + extern const int ILLEGAL_TYPE_OF_ARGUMENT; } template diff --git a/src/Functions/geometryConverters.h b/src/Functions/geometryConverters.h index a245e4c3017..c6549cba40f 100644 --- a/src/Functions/geometryConverters.h +++ b/src/Functions/geometryConverters.h @@ -27,7 +27,6 @@ namespace DB namespace ErrorCodes { extern const int BAD_ARGUMENTS; - extern const int ILLEGAL_TYPE_OF_ARGUMENT; } template diff --git a/src/Functions/pointInPolygon.cpp b/src/Functions/pointInPolygon.cpp index 91c5b3a8365..ac5a41f6c81 100644 --- a/src/Functions/pointInPolygon.cpp +++ b/src/Functions/pointInPolygon.cpp @@ -434,7 +434,6 @@ private: out_container.emplace_back(x_data[i], y_data[i]); } - } void parseConstPolygonWithoutHolesFromSingleColumn(const IColumn & column, size_t i, Polygon & out_polygon) const