[
https://issues.apache.org/jira/browse/HIVE-26223?focusedWorklogId=771710&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-771710
]
ASF GitHub Bot logged work on HIVE-26223:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 18/May/22 04:12
Start Date: 18/May/22 04:12
Worklog Time Spent: 10m
Work Description: maheshk114 commented on code in PR #3283:
URL: https://github.com/apache/hive/pull/3283#discussion_r875400993
##########
ql/src/java/com/esri/hadoop/hive/BinUtils.java:
##########
@@ -0,0 +1,93 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.esri.hadoop.hive;
Review Comment:
This package can be changed to apache hive
##########
ql/src/java/com/esri/hadoop/hive/ST_MaxX.java:
##########
@@ -0,0 +1,86 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
Review Comment:
Can we keep the files in hive/ql/src/java/org/apache/hadoop/hive/ql/udf ?
##########
ql/src/java/com/esri/hadoop/hive/ST_Aggr_Intersection.java:
##########
@@ -0,0 +1,111 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.esri.hadoop.hive;
+
+import com.esri.core.geometry.SpatialReference;
+import com.esri.core.geometry.ogc.OGCGeometry;
+import org.apache.hadoop.hive.ql.exec.Description;
+import org.apache.hadoop.hive.ql.exec.UDAF;
+import org.apache.hadoop.hive.ql.exec.UDAFEvaluator;
+import org.apache.hadoop.hive.ql.metadata.HiveException;
+import org.apache.hadoop.io.BytesWritable;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+@Description(name = "ST_Aggr_Intersection",
+ value = "_FUNC_(ST_Geometry) - aggregate intersection of all geometries
passed",
+ extended = "Example:\n"
+ + " SELECT _FUNC_(geometry) FROM source;
Issue Time Tracking
-------------------
Worklog Id: (was: 771710)
Time Spent: 20m (was: 10m)
> Integrate ESRI GeoSpatial UDFs
> -------------------------------
>
> Key: HIVE-26223
> URL: https://issues.apache.org/jira/browse/HIVE-26223
> Project: Hive
> Issue Type: Sub-task
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Add the GeoSpatial UDFs to hive
--
This message was sent by Atlassian Jira
(v8.20.7#820007)