wang3680
最近使用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/xmlInput/pt_98866.xml ID6
执行的结构如下所示:






分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-12-26
  • 2022-12-23
  • 2022-01-05
  • 2021-12-13
猜你喜欢
  • 2022-12-23
  • 2021-11-19
  • 2021-10-08
  • 2021-06-03
  • 2021-05-04
相关资源
相似解决方案