Skip to content

Commit a6959c6

Browse files
committed
Fix precommit failures
1 parent 7677377 commit a6959c6

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

DESCRIPTION.md

Lines changed: 1 addition & 0 deletions
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+
- Implemented lazy import for pandas to improve module loading performance.
1415

1516

1617
- v3.15.1(May 20, 2025)

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)