hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean McNamara <Sean.McNam...@Webtrends.com>
Subject get_json_object escape characters
Date Wed, 01 Feb 2012 23:50:40 GMT
Is it possible to escape '.' in get_json_object?

For example:  {"a.b": "test"}

get_json_object(json, '$.a.b')  will return NULL because it's looking for a nested object.


Something like this would be nice:  get_json_object(json, '$.a\\.b')


Beyond changing how the json object is keyed, anything I can do that I'm missing?

Thanks

Sean





Mime
View raw message