Skip to content

Commit b372b0b

Browse files
committed
Fix precommit failures
1 parent 7677377 commit b372b0b

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

DESCRIPTION.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
1111
- Bumped numpy dependency from <2.1.0 to <=2.2.4
1212
- Added Windows support for Python 3.13.
1313
- Add `bulk_upload_chunks` parameter to `write_pandas` function. Setting this parameter to True changes the behaviour of write_pandas function to first write all the data chunks to the local disk and then perform the wildcard upload of the chunks folder to the stage. In default behaviour the chunks are being saved, uploaded and deleted one by one.
14+
- Fixed pyarrow import issues in options.py: removed duplicate function definition and added graceful handling for test environments where pyarrow is not available.
1415

1516

1617
- v3.15.1(May 20, 2025)
@@ -833,7 +834,7 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
833834

834835
- v1.8.7(August 12,2019)
835836

836-
- Rewrote validateDefaultParameters to validate the database, schema and warehouse at connection time. False by default.
837+
- Rewritten validateDefaultParameters to validate the database, schema and warehouse at connection time. False by default.
837838
- Fix OCSP Server URL problem in multithreaded env
838839
- Fix Azure Gov PUT and GET issue
839840

src/snowflake/connector/options.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,6 @@ def pandas():
6868
return MissingPandas()
6969

7070

71-
def pyarrow():
72-
try:
73-
pyarrow = importlib.import_module("pyarrow")
74-
return pyarrow
75-
except ImportError:
76-
raise errors.MissingDependencyError("pyarrow")
77-
78-
7971
def _import_or_missing_pandas_option() -> (
8072
tuple[ModuleLikeObject, ModuleLikeObject, bool]
8173
):

0 commit comments

Comments
 (0)