Upgrading pyarrow 0.10 to 0.11
Breaking0.10.0 β 0.11.1Breaking9Platform3Deprecated1New158Changed151Fixed202Other117
BreakingUpgrade verdict
9 breaking changes and 3 platform requirement changes.
In plain terms
- Drops older APIs that were deprecated in version 0.10, so code using them must be updated.
- GLib users must update code that used the old "writeable" spelling.
- C++ code that used the parquet_cpp namespace must now use parquet.
- Removes the RandomAccessSource::Seek method, which could cause thread safety problems.
Must act Top 5 of 13 that need code or config changes
Adds numpy >=1.14, six >=1.0.0.
Installs 2 packages in all (was 0).
What you must change
Breaking9
Removes API deprecations from 0.10 in C++ and Python.
Renames "writeable" to "writable" in the GLib bindings.
Renames the public namespace to parquet from parquet_cpp.
parquetparquet_cppRemoves the RandomAccessSource::Seek method, which could cause thread safety problems.
RandomAccessSource::SeekRemoves the namespace arrow::test from the C++ codebase.
arrow::testChanges column reader methods to be array-oriented rather than scalar.
Decouples serialized file internals from the ParquetFileReader public API.
ParquetFileReaderUpdates the C++ TypedColumnReader::ReadBatch method signature.
TypedColumnReader::ReadBatchRequires bytes-like input to NativeFile.write.
NativeFile.writePlatform3
Updates conda packages to the new numpy requirement.
numpyFixes pyarrow 0.10 requiring a newer numpy version than its requirements specified.
Raises the global numpy requirement to 1.14.
numpyDeprecations to plan for
Deprecated1
Renames Writeable references to Writable, adds backwards compatibility and deprecations.
WriteableWritableAPI changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
function parse_version(root) - removed:
variable frombuffer - added:
function parse_git(root, **kwargs)
- changed:
function read_feather(source, columns=β¦, nthreads=β¦, use_threads=β¦) β function read_feather(source, columns=β¦, use_threads=β¦) - changed:
method FeatherDataset.read_pandas(columns=β¦, nthreads=β¦, use_threads=β¦) β method FeatherDataset.read_pandas(columns=β¦, use_threads=β¦) - changed:
method FeatherReader.read_pandas(columns=β¦, nthreads=β¦, use_threads=β¦) β method FeatherReader.read_pandas(columns=β¦, use_threads=β¦)
- changed:
method DaskFileSystem.walk(top_path) β method DaskFileSystem.walk(path) - changed:
method FileSystem.read_parquet(path, columns=β¦, metadata=β¦, schema=β¦, nthreads=β¦, use_pandas_metadata=β¦) β method FileSystem.read_parquet(path, columns=β¦, metadata=β¦, schema=β¦, use_threads=β¦, nthreads=β¦, use_pandas_metadata=β¦) - changed:
method LocalFileSystem.walk(top_dir) β method LocalFileSystem.walk(path)
- changed:
function deserialize_pandas(buf, nthreads=β¦, use_threads=β¦) β function deserialize_pandas(buf, use_threads=β¦)
- changed:
function dataframe_to_arrays(df, schema, preserve_index, nthreads=β¦, columns=β¦) β function dataframe_to_arrays(df, schema, preserve_index, nthreads=β¦, columns=β¦, safe=β¦)
- removed:
function is_path(x) - changed:
function read_pandas(source, columns=β¦, nthreads=β¦, metadata=β¦) β function read_pandas(source, columns=β¦, use_threads=β¦, nthreads=β¦, metadata=β¦) - changed:
function read_table(source, columns=β¦, nthreads=β¦, metadata=β¦, use_pandas_metadata=β¦) β function read_table(source, columns=β¦, use_threads=β¦, metadata=β¦, use_pandas_metadata=β¦, nthreads=β¦) - changed:
function write_table(table, where, row_group_size=β¦, version=β¦, use_dictionary=β¦, compression=β¦, use_deprecated_int96_timestamps=β¦, coerce_timestamps=β¦, flavor=β¦, **kwargs) β function write_table(table, where, row_group_size=β¦, version=β¦, use_dictionary=β¦, compression=β¦, use_deprecated_int96_timestamps=β¦, coerce_timestamps=β¦, allow_truncated_timestamps=β¦, flavor=β¦, **kwargs) - changed:
method ParquetDataset.read(columns=β¦, nthreads=β¦, use_pandas_metadata=β¦) β method ParquetDataset.read(columns=β¦, use_threads=β¦, use_pandas_metadata=β¦) - changed:
method ParquetDatasetPiece.read(columns=β¦, nthreads=β¦, partitions=β¦, open_file_func=β¦, file=β¦, use_pandas_metadata=β¦) β method ParquetDatasetPiece.read(columns=β¦, use_threads=β¦, partitions=β¦, open_file_func=β¦, file=β¦, use_pandas_metadata=β¦) - changed:
method ParquetFile.read(columns=β¦, nthreads=β¦, use_pandas_metadata=β¦) β method ParquetFile.read(columns=β¦, use_threads=β¦, use_pandas_metadata=β¦) - changed:
method ParquetFile.read_row_group(i, columns=β¦, nthreads=β¦, use_pandas_metadata=β¦) β method ParquetFile.read_row_group(i, columns=β¦, nthreads=β¦, use_threads=β¦, use_pandas_metadata=β¦)