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

Buffered serialization #2225

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Buffered serialization #2225

merged 1 commit into from
Oct 18, 2023

Conversation

benjaminwinger
Copy link
Collaborator

@benjaminwinger benjaminwinger commented Oct 17, 2023

Splits the SerDeser class into a Serializer and Deserializer, and a BufferedFileWriter (for serializing to disk), and BufferedSerializer (for serializing to an in-memory buffer).

src/include/common/serializer/writer.h Outdated Show resolved Hide resolved
Copy link
Collaborator

@acquamarin acquamarin left a comment

Choose a reason for hiding this comment

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

BTW: We should also refactor parquetWrtier to use the file_writer.

src/common/serializer/deserializer.cpp Outdated Show resolved Hide resolved
@benjaminwinger
Copy link
Collaborator Author

BTW: We should also refactor parquetWrtier to use the file_writer.

Can that be left to a later PR, or do you want it included in this one?

@acquamarin
Copy link
Collaborator

BTW: We should also refactor parquetWrtier to use the file_writer.

Can that be left to a later PR, or do you want it included in this one?

I think i can do it in later PRs.

@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Attention: 43 lines in your changes are missing coverage. Please review.

Comparison is base (b79718b) 89.67% compared to head (32829cb) 89.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2225      +/-   ##
==========================================
+ Coverage   89.67%   89.69%   +0.01%     
==========================================
  Files        1008     1012       +4     
  Lines       35830    35862      +32     
==========================================
+ Hits        32131    32166      +35     
+ Misses       3699     3696       -3     
Files Coverage Δ
src/catalog/catalog.cpp 100.00% <ø> (ø)
src/catalog/catalog_content.cpp 100.00% <100.00%> (ø)
src/catalog/node_table_schema.cpp 100.00% <100.00%> (ø)
src/catalog/property.cpp 93.75% <100.00%> (ø)
src/catalog/rdf_graph_schema.cpp 100.00% <100.00%> (ø)
src/catalog/rel_table_group_schema.cpp 100.00% <100.00%> (ø)
src/catalog/rel_table_schema.cpp 85.71% <100.00%> (ø)
src/catalog/table_schema.cpp 100.00% <ø> (ø)
src/common/serializer/buffered_file.cpp 100.00% <100.00%> (ø)
src/common/serializer/buffered_serializer.cpp 92.85% <100.00%> (ø)
... and 53 more

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@benjaminwinger benjaminwinger merged commit d81c628 into master Oct 18, 2023
12 checks passed
@benjaminwinger benjaminwinger deleted the buffered-serialization branch October 18, 2023 18:34
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.

None yet

2 participants