Skip to content

Commit 3bde5e0

Browse files
sfc-gh-stakedaankit-bhatnagar167
authored andcommitted
SNOW-116504: fix pyarrow cxx11 abi compatibility issue when compiling python connector with pyarrow support in a container with a compiler that supports cpp11
1 parent e5e7d63 commit 3bde5e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def build_extension(self, ext):
8282
ext.include_dirs.append(numpy.get_include())
8383

8484
ext.extra_compile_args.append('-std=c++11')
85+
ext.extra_compile_args.append('-D_GLIBCXX_USE_CXX11_ABI=0')
8586

8687
ext.library_dirs.append(os.path.join(current_dir, self.build_lib, 'snowflake', 'connector'))
8788
ext.extra_link_args += self._get_arrow_lib_as_linker_input()

0 commit comments

Comments
 (0)