您可以使用此代码: X = FILTER A BY (f1 matches '.*the_word_you're_looking_for.*'); 更多信息请参考:http://pig.apache.org/docs/r0.10.0/basic.html#comparison