{"push_id":747397430,"size":1,"distinct_size":1,"ref":"refs/heads/branch-1.5","head":"b42e13dca38c6e9ff9cf879bcb52efa681437120","before":"945da3534762a73fe7ffc52c868ff07a0783502b","commits":[{"sha":"b42e13dca38c6e9ff9cf879bcb52efa681437120","author":{"email":"c437f8b7af73b0a10ecac061712ff9de6d41089e@databricks.com","name":"Davies Liu"},"message":"[SPARK-8246] [SQL] Implement get_json_object\n\nThis is based on #7485 , thanks to NathanHowell\n\nTests were copied from Hive, but do not seem to be super comprehensive. I've generally replicated Hive's unusual behavior rather than following a JSONPath reference, except for one case (as noted in the comments). I don't know if there is a way of fully replicating Hive's behavior without a slower TreeNode implementation, so I've erred on the side of performance instead.\n\nAuthor: Davies Liu <davies@databricks.com>\nAuthor: Yin Huai <yhuai@databricks.com>\nAuthor: Nathan Howell <nhowell@godaddy.com>\n\nCloses #7901 from davies/get_json_object and squashes the following commits:\n\n3ace9b9 [Davies Liu] Merge branch 'get_json_object' of github.com:davies/spark into get_json_object\n98766fc [Davies Liu] Merge branch 'master' of github.com:apache/spark into get_json_object\na7dc6d0 [Davies Liu] Update JsonExpressionsSuite.scala\nc818519 [Yin Huai] new results.\n18ce26b [Davies Liu] fix tests\n6ac29fb [Yin Huai] Golden files.\n25eebef [Davies Liu] use HiveQuerySuite\ne0ac6ec [Yin Huai] Golden answer files.\n940c060 [Davies Liu] tweat code style\n44084c5 [Davies Liu] Merge branch 'master' of github.com:apache/spark into get_json_object\n9192d09 [Nathan Howell] Match Hive’s behavior for unwrapping arrays of one element\n8dab647 [Nathan Howell] [SPARK-8246] [SQL] Implement get_json_object\n\n(cherry picked from commit 73dedb589d06f7c7a525cc4f07721a77f480c434)\nSigned-off-by: Davies Liu <davies.liu@gmail.com>","distinct":true,"url":"https://api.github.com/repos/apache/spark/commits/b42e13dca38c6e9ff9cf879bcb52efa681437120"}]}