[ https://issues.apache.org/jira/browse/HIVE-19968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16719978#comment-16719978 ]
Laszlo Bodor commented on HIVE-19968: ------------------------------------- udf_reflect failure was related, actually the exception revealed that reflect("java.lang.Integer", "valueOf", key, 16) is not valid as java.lang.Integer cannot be instantiated with default constructor (it will throw java.lang.NoSuchMethodException: java.lang.Integer.<init>()), so far, the test gave a nonsense value 568 :) > UDF exception is not throw out > ------------------------------ > > Key: HIVE-19968 > URL: https://issues.apache.org/jira/browse/HIVE-19968 > Project: Hive > Issue Type: Bug > Reporter: sandflee > Assignee: Laszlo Bodor > Priority: Major > Attachments: HIVE-19968.01.patch, HIVE-19968.02.patch, hive-udf.png > > > udf init failed, and throw a exception, but hive catch it and do nothing, > leading to app succ, but no data is generated. > {code} > GenericUDFReflect.java#evaluate() > try { > o = null; > o = ReflectionUtils.newInstance(c, null); > } catch (Exception e) { > // ignored > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)