Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get data from json key with special character

hive> select get_json_object(regexp_replace(jsn,'@',''),"$.date") from (select string('{"name":"jai","@date":"2015-06-15"}')jsn)t;
2015-06-15
Source by community.cloudera.com #
 
PREVIOUS NEXT
Tagged: #data #json #key #special #character
ADD COMMENT
Topic
Name
4+7 =