def require_minimum_pyarrow_version():
    """ Raise ImportError if minimum version of pyarrow is not installed
    """
    minimum_pyarrow_version = '0.8.0'
    from distutils.version import LooseVersion
    try:
        import pyarrow
        have_arrow = True
    except ImportError:
        have_arrow = False
    if not have_arrow:
        raise ImportError(
            'PyArrow >= %s must be installed; however, it was not found.' %
            minimum_pyarrow_version)
    if LooseVersion(pyarrow.__version__) < LooseVersion(minimum_pyarrow_version
        ):
        raise ImportError(
            'PyArrow >= %s must be installed; however, your version was %s.' %
            (minimum_pyarrow_version, pyarrow.__version__))
