Skip to content

Commit 033e906

Browse files
sfc-gh-nqisfc-gh-mmishchenko
authored andcommitted
Fix precommit failures
1 parent 89c33c1 commit 033e906

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)