pythonPackages.pyarrow: 0.9.0 -> 0.10.0 parquet: 1.4.0 -> 1.5.0wip/yesman
parent
2e38f5fc6e
commit
3942226053
@ -0,0 +1,11 @@ |
||||
diff --git a/cmake_modules/FindPythonLibsNew.cmake b/cmake_modules/FindPythonLibsNew.cmake
|
||||
--- a/cmake_modules/FindPythonLibsNew.cmake
|
||||
+++ b/cmake_modules/FindPythonLibsNew.cmake
|
||||
@@ -117,6 +117,7 @@ list(GET _PYTHON_VALUES 6 PYTHON_SIZEOF_VOID_P)
|
||||
list(GET _PYTHON_VALUES 7 PYTHON_LIBRARY_SUFFIX)
|
||||
list(GET _PYTHON_VALUES 8 PYTHON_LIBRARY_PATH)
|
||||
list(GET _PYTHON_VALUES 9 PYTHON_OTHER_LIBS)
|
||||
+string(REPLACE "-lncurses" "" PYTHON_OTHER_LIBS "${PYTHON_OTHER_LIBS}")
|
||||
|
||||
# Make sure the Python has the same pointer-size as the chosen compiler
|
||||
# Skip the check on OS X, it doesn't consistently have CMAKE_SIZEOF_VOID_P defined
|
@ -0,0 +1,12 @@ |
||||
diff --git a/src/parquet/arrow/reader.cc b/src/parquet/arrow/reader.cc
|
||||
--- a/src/parquet/arrow/reader.cc
|
||||
+++ b/src/parquet/arrow/reader.cc
|
||||
@@ -1421,7 +1421,7 @@ Status StructImpl::DefLevelsToNullArray(std::shared_ptr<Buffer>* null_bitmap_out
|
||||
const int16_t* def_levels_data;
|
||||
size_t def_levels_length;
|
||||
RETURN_NOT_OK(GetDefLevels(&def_levels_data, &def_levels_length));
|
||||
- RETURN_NOT_OK(AllocateEmptyBitmap(pool_, def_levels_length, &null_bitmap));
|
||||
+ RETURN_NOT_OK(GetEmptyBitmap(pool_, def_levels_length, &null_bitmap));
|
||||
uint8_t* null_bitmap_ptr = null_bitmap->mutable_data();
|
||||
for (size_t i = 0; i < def_levels_length; i++) {
|
||||
if (def_levels_data[i] < struct_def_level_) {
|
Loading…
Reference in new issue