Skip to content
Browse files

clean

  • Loading branch information...
1 parent 7c1fda4 commit 7dc757a8ca392f1f87eb1c031ef21c6299a0972b @dobe dobe committed Jan 25, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/java/com/lovelysystems/hive/udf/ArrayItemUDF.java
View
6 src/main/java/com/lovelysystems/hive/udf/ArrayItemUDF.java
@@ -3,14 +3,14 @@
import org.apache.hadoop.hive.ql.exec.Description;
import org.apache.hadoop.hive.ql.exec.UDFArgumentException;
import org.apache.hadoop.hive.ql.metadata.HiveException;
-import org.apache.hadoop.hive.ql.udf.UDFType;
import org.apache.hadoop.hive.ql.udf.generic.GenericUDF;
import org.apache.hadoop.hive.serde2.objectinspector.ListObjectInspector;
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;
import org.apache.hadoop.hive.serde2.objectinspector.primitive.IntObjectInspector;
-@UDFType(deterministic = true)
-@Description(name = "arrayitem", value = "_FUNC_(array, pos) - Returns the element at pos with support for negative positions")
+@Description(
+ name = "arrayitem",
+ value = "_FUNC_(array, pos) - Returns the element at pos with support for negative positions")
public class ArrayItemUDF extends GenericUDF {
private ListObjectInspector listOI = null;

0 comments on commit 7dc757a

Please sign in to comment.
Something went wrong with that request. Please try again.