Escape special characters in Apache pig data
问题 I am using Apache Pig to process some data. My data set has some strings that contain special characters i.e (#,{}[]) . This programming pig book says that you can't escape those characters. So how can I process my data without deleting the special characters? I thought about replacing them but would like to avoid that. Thanks 回答1: Have you tried loading your data? There is no way to escape these characters when they are part of the values in a tuple, bag, or map , but there is no problem