这里是Pig拉丁语的初学者。我试图计算输入文件中多个字符串的出现次数。
现在搜索必须不区分大小写。我知道有一个 LOWER
pig中的内置函数,但如何使用它?
例如(输入文件):
28-Oct-13,7:00PM,Viraj,New to hadoop ! Eager to learn.
31-Dec-14,3:00PM,Vanguard,Designers, Developers, Doers, don't miss this upcoming San Francisco Hadoop
我需要数一数 hadoop, dec, learn, python
```
hadoop 2
dec 1
learn 1
python 0
如何用Pig拉丁语进行搜索?
谢谢您。
1条答案
按热度按时间mcdcgff01#
你能试试这个吗?
输入
Pig手稿:
输出: