Fix local UDF memorization
Merge pull request #39 from Netflix/feature-udf-memoization

Fix local UDF memoization