This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new e080cd897ea HIVE-26512: ST_GeometryProcessing is incorrectly
registered as function. (#3580). (Ayush Saxena, reviewed by Zhihua Deng and
Csaba Ringhofer)
e080cd897ea is described below
commit e080cd897ea772afb28f0a4f0706fe413518a066
Author: Ayush Saxena <[email protected]>
AuthorDate: Thu Sep 8 13:09:44 2022 +0530
HIVE-26512: ST_GeometryProcessing is incorrectly registered as function.
(#3580). (Ayush Saxena, reviewed by Zhihua Deng and Csaba Ringhofer)
---
ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java | 2 --
ql/src/test/results/clientpositive/llap/show_functions.q.out | 2 --
2 files changed, 4 deletions(-)
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
b/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
index 4ff75712ad3..4ad632fe506 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
@@ -66,7 +66,6 @@ import org.apache.hadoop.hive.ql.udf.esri.ST_GeomFromShape;
import org.apache.hadoop.hive.ql.udf.esri.ST_GeomFromText;
import org.apache.hadoop.hive.ql.udf.esri.ST_GeomFromWKB;
import org.apache.hadoop.hive.ql.udf.esri.ST_GeometryN;
-import org.apache.hadoop.hive.ql.udf.esri.ST_GeometryProcessing;
import org.apache.hadoop.hive.ql.udf.esri.ST_GeometryType;
import org.apache.hadoop.hive.ql.udf.esri.ST_InteriorRingN;
import org.apache.hadoop.hive.ql.udf.esri.ST_Intersection;
@@ -703,7 +702,6 @@ public final class FunctionRegistry {
system.registerFunction("ST_GeodesicLengthWGS84",
ST_GeodesicLengthWGS84.class);
system.registerFunction("ST_GeomCollection", ST_GeomCollection.class);
system.registerFunction("ST_GeometryN", ST_GeometryN.class);
- system.registerFunction("ST_GeometryProcessing",
ST_GeometryProcessing.class);
system.registerFunction("ST_GeomFromGeoJson", ST_GeomFromGeoJson.class);
system.registerFunction("ST_GeomFromJson", ST_GeomFromJson.class);
system.registerFunction("ST_GeomFromShape", ST_GeomFromShape.class);
diff --git a/ql/src/test/results/clientpositive/llap/show_functions.q.out
b/ql/src/test/results/clientpositive/llap/show_functions.q.out
index dd9751f72cf..180e1d7e5b9 100644
--- a/ql/src/test/results/clientpositive/llap/show_functions.q.out
+++ b/ql/src/test/results/clientpositive/llap/show_functions.q.out
@@ -371,7 +371,6 @@ st_exteriorring
st_geodesiclengthwgs84
st_geomcollection
st_geometryn
-st_geometryprocessing
st_geometrytype
st_geomfromgeojson
st_geomfromjson
@@ -983,7 +982,6 @@ st_exteriorring
st_geodesiclengthwgs84
st_geomcollection
st_geometryn
-st_geometryprocessing
st_geometrytype
st_geomfromgeojson
st_geomfromjson