[ https://issues.apache.org/jira/browse/HIVE-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Yang updated HIVE-914: --------------------------- Attachment: HIVE-914.1.patch * Added an LRU cache for JSONObjects * Reduced new object creation in extract_json_withindex() > Speed up UDFJson > ---------------- > > Key: HIVE-914 > URL: https://issues.apache.org/jira/browse/HIVE-914 > Project: Hadoop Hive > Issue Type: Improvement > Reporter: Paul Yang > Assignee: Paul Yang > Attachments: HIVE-914.1.patch > > > In UDFJson, a new JSONObject is created for each call to evaluate(). Since it > is likely that evalue() will be called with multiple paths for a given JSON > string, a performance improvement can be realized by caching the JSONObject > created from a JSON string. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.