Bharath Vissapragada has posted comments on this change. Change subject: IMPALA-4099: Fix the error message while loading UDFs with no JARs ......................................................................
Patch Set 1: (5 comments) Thanks Alex for the review. http://gerrit.cloudera.org:8080/#/c/4365/1/fe/src/main/java/com/cloudera/impala/catalog/CatalogServiceCatalog.java File fe/src/main/java/com/cloudera/impala/catalog/CatalogServiceCatalog.java: Line 398: * 2. Has only one binary resource associated (We don't support loading > Has exactly one binary ... Done Line 402: * Returns true if compatible and false otherwise. Incase of incompatible > In case Done Line 403: * functions 'incompatMsg' has the reason for incompatibility. > the incompatibility Done Line 415: incompatMsg.append("No executable binary resource (like a JAR file) is " + > Do we know how the user can fix this? If so, we should add that in the err Yes recreating the function should fix this. Impala doesn't allow creating functions without a location clause but looks like it works with Hive, may be it throws a runtime error if anyone tries to access it. Line 416: "associated with this function"); > "." at the end of err msg Done -- To view, visit http://gerrit.cloudera.org:8080/4365 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I167426ea96b0a41374227ef238b6f60e4184a9d7 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Bharath Vissapragada <bhara...@cloudera.com> Gerrit-Reviewer: Alex Behm <alex.b...@cloudera.com> Gerrit-Reviewer: Bharath Vissapragada <bhara...@cloudera.com> Gerrit-HasComments: Yes