----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22772/ -----------------------------------------------------------
Review request for hive. Bugs: HIVE-6637 https://issues.apache.org/jira/browse/HIVE-6637 Repository: hive-git Description ------- HIVE-6637: UDF in_file() doesn't take CHAR or VARCHAR as input in_file() loads file specified as second argument in memory. Current design of having the second argument, file name, as a constant string seems to be the right way to avoid loading of too many files in the memory. Diffs ----- ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFInFile.java ea52537d0b85191f0b633a29aa3f7ddb556c288d ql/src/test/queries/clientpositive/udf_in_file.q 9d9efe8e23d6e73429ee5cd2c8470359ba2b3498 ql/src/test/results/clientpositive/udf_in_file.q.out b63143760d80f3f6a8ba0a23c0d87e8bb86fce66 Diff: https://reviews.apache.org/r/22772/diff/ Testing ------- Tested with qtest. Thanks, Ashish Singh