Fixed misspelling in pigFunctionName "upper"