Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 08-29-2016 01:27 PM - edited 08-19-2019 03:15 AM
Hi,
When I call the java UDF inside hive, it returns different result than the one returned in IDE. Attached are the screenshots for the same. The output in Hive is inconsistent as sometimes it does return expected. Any possible explanation for this behavior?
The UDF is supposed to removed duplicates and return the output in same order but in lowercase.
Created 08-30-2016 01:03 PM
Found the issue! probably LinkedHashSet lib is missing in hive!
Created 08-29-2016 02:07 PM
@abhi singh Can you please share your code for evaluate method?
Created on 08-29-2016 02:27 PM - edited 08-19-2019 03:15 AM
Hi @mqureshi, attached is the udf code
Created 08-30-2016 01:03 PM
Found the issue! probably LinkedHashSet lib is missing in hive!