Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update comments

  • Loading branch information...
commit 5a216d21fc662ef175a8a09e5b334aad8df72c2e 1 parent 8a67e87
Ron Bodkin authored
View
2  src/main/java/thinkbig/hive/udf/UDFArrayDeref.java
@@ -29,7 +29,7 @@
/**
* UDFArrayDeref
*
- * Attempt to work around Hive's
+ * UDF to dereference array elements... work around for Hive's
* FAILED: Error in semantic analysis: line 33:27 Non Constant Expressions for Array Indexes not Supported device_uid
*/
@Description(name = "array_offset",
View
6 src/main/java/thinkbig/hive/udf/UDFFullJsonPath.java
@@ -29,12 +29,14 @@
import org.apache.hadoop.io.Text;
/**
- * UDFFullJsonPath
+ * UDFFullJsonPath -
+ * uses JSON Path from http://code.google.com/p/json-path/ to implement JSON Path
+ * supports multi-valued expressions
*
*/
@Description(name = "get_json_full",
value = "_FUNC_(json_txt, path) - like get_json_object but it allows full json path and in general returns multiple results" )
- public class UDFFullJsonPath extends UDF { //GenericUDTF {
+ public class UDFFullJsonPath extends UDF {
// An LRU cache using a linked hash map - reused from UDFJson
static class HashCache<K, V> extends LinkedHashMap<K, V> {
Please sign in to comment.
Something went wrong with that request. Please try again.