diff --git a/src/databricks/sql/client.py b/src/databricks/sql/client.py index 4e0ab941..08e47c5c 100755 --- a/src/databricks/sql/client.py +++ b/src/databricks/sql/client.py @@ -52,6 +52,12 @@ logger = logging.getLogger(__name__) +if pyarrow is None: + logger.warning( + "[WARN] pyarrow is not installed, any arrow specific api (e.g. fetchmany_arrow) and cloud fetch will be disabled." + "If you need these features, please run pip install pyarrow to install" + ) + DEFAULT_RESULT_BUFFER_SIZE_BYTES = 104857600 DEFAULT_ARRAY_SIZE = 100000