Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecating pyarrow_serialize argument of petastorm.make_reader. #617

Merged
merged 2 commits into from
Nov 9, 2020

Conversation

selitvin
Copy link
Collaborator

@selitvin selitvin commented Nov 7, 2020

pyarrow serialization is no longer suppoted. It actually has no merit as python3's pickle is faster then pyarrow serialization with numpy arrays.

pyarrow serialization is no longer suppoted. It actually has no merit as
python3's pickle is faster then pyarrow serialization with numpy arrays.
@codecov
Copy link

codecov bot commented Nov 7, 2020

Codecov Report

Merging #617 (ac9356e) into master (fecef0e) will decrease coverage by 0.04%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #617      +/-   ##
==========================================
- Coverage   85.35%   85.31%   -0.05%     
==========================================
  Files          86       85       -1     
  Lines        4951     4929      -22     
  Branches      785      783       -2     
==========================================
- Hits         4226     4205      -21     
+ Misses        585      584       -1     
  Partials      140      140              
Impacted Files Coverage Δ
petastorm/benchmark/cli.py 0.00% <ø> (ø)
petastorm/workers_pool/process_pool.py 92.70% <ø> (ø)
petastorm/benchmark/throughput.py 80.37% <50.00%> (-0.19%) ⬇️
petastorm/reader.py 89.32% <50.00%> (-1.02%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fecef0e...ac9356e. Read the comment docs.

Copy link
Contributor

@Ivan-Dimitrov Ivan-Dimitrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great deleting

Comment on lines +153 to +154
warnings.warn("pyarrow_serializer was deprecated and will be removed in future versions. "
"The argument no longer has any effect.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it more accurate to say was deprecated and removed. The argument no longer has any effect..

S

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strictly speaking we didn't remove it from the API. It does not have any effect anymore and that's mentioned in the message. If we would remove the argument, the existing code would break.

@selitvin selitvin merged commit f8c427c into uber:master Nov 9, 2020
@selitvin selitvin deleted the pyarrow2_compat branch November 9, 2020 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants