modify the code according to the review comment
Merge branch 'master' of github.com:aiqin/arrow