We have know the reason:
“register”(case-insensitive) is a key word in pig and the lastest pig(it’s ok for previous pig version) don’t allow the key word as schema’s column name, so if we use it as the schema’s column name,the exception will appear.
B = FILTER A BY (address == ‘Shunyi’) AND (register == ’20′);
The script above will make the issue,it’s a wrong usage.
Thank abdelrahman for your response for my question.(I am not a good asker).