【发布时间】:2015-03-03 04:13:07
【问题描述】:
我正在尝试在 Pig 中的 python udf 下运行
@outputSchema("word:chararray")
def get(s):
out = s.lower()
return out;
我遇到以下错误:
File "/home/test.py", line 3, in get
out = s.lower()
AttributeError: 'NoneType' object has no attribute 'lower'
【问题讨论】:
标签: python apache-pig