摘要: 最近使用mrql做xml文件解析,使用xpath来进行判断使用的方法如下,其中t.mrql文件如下:v =args[1];store ty:=source(xml,args[0],{"page"},xpath(.[@id='ID6']/place));ty;执行下面的命令mrql-local t.mrql hdfs://183.175.12.220:9010/user/hadoop/xmlInpu... 阅读全文
posted @ 2014-06-04 20:42 Tim&Blog 阅读(306) 评论(0) 推荐(0) 编辑