Soumyakanti Das has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19852


Change subject: IMPALA-12121: Add non empty check for UDF location in 
getLastModifiedTime method
......................................................................

IMPALA-12121: Add non empty check for UDF location in getLastModifiedTime method

getLastModifiedTime() of Function.java assumes that if the UDF is not a BUILTIN
and if the location is not null, it is a non-empty string. However, we may have
UDFs with an empty location if they are in the install location and loaded at
init time.

This patch introduces an isBuiltin() method that checks if the function is
BUILTIN, or if the location is blank.

Change-Id: Ia6035d1a21e7222f0e95f984a0f4022ba2e89d9f
---
M fe/src/main/java/org/apache/impala/catalog/Function.java
1 file changed, 11 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/52/19852/1
--
To view, visit http://gerrit.cloudera.org:8080/19852
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6035d1a21e7222f0e95f984a0f4022ba2e89d9f
Gerrit-Change-Number: 19852
Gerrit-PatchSet: 1
Gerrit-Owner: Soumyakanti Das <[email protected]>

Reply via email to