see https://github.com/crsmithdev/arrow/pull/123