Skip to content

Conversation

@m7kss1
Copy link
Contributor

@m7kss1 m7kss1 commented Oct 9, 2025

No description provided.

@m7kss1 m7kss1 changed the title [CXX] Allow read from stream [WIP] Allow read from stream Oct 9, 2025
@m7kss1 m7kss1 changed the title [WIP] Allow read from stream [CXX] Allow read from stream Oct 9, 2025
@joseph-isaacs joseph-isaacs changed the title [CXX] Allow read from stream feat[CXX]: Allow read from stream Oct 9, 2025
@joseph-isaacs joseph-isaacs added the changelog/feature A new feature label Oct 9, 2025
@joseph-isaacs
Copy link
Contributor

Mind signing the commits to make (DCO https://github.com/vortex-data/vortex/pull/4906/checks?check_run_id=52383374445) happy

@m7kss1 m7kss1 changed the title feat[CXX]: Allow read from stream feat: Allow read from stream Oct 9, 2025
@joseph-isaacs
Copy link
Contributor

We plan on in the future using vortex-ipc to stream serialized vortex arrays, however for now we don't have so I think adding a way to create a VortexFile using a byte array seems reasonable.

I, Dergousov Maxim <dergousovmaxim99@gmail.com>, hereby add my Signed-off-by to this commit: 928c8b1

Signed-off-by: Dergousov Maxim <dergousovmaxim99@gmail.com>
@codecov
Copy link

codecov bot commented Oct 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.40%. Comparing base (be66523) to head (6bff9c3).
⚠️ Report is 5 commits behind head on develop.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.


namespace vortex {

VortexFile VortexFile::Open(const uint8_t *data, size_t length) {
Copy link
Contributor

Choose a reason for hiding this comment

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

std::span would be preferable here, though we currently compile with C++17 (span was introduced with C++20). @joseph-isaacs We should discuss bumping to C++20 or considering a library like abseil in order to use span. This is of course not in scope of this PR.

Signed-off-by: Dergousov Maxim <dergousovmaxim99@gmail.com>
@m7kss1 m7kss1 force-pushed the cxx/allow_open_stream branch from 50b53f2 to d19e9af Compare October 10, 2025 10:45
Copy link
Contributor

@joseph-isaacs joseph-isaacs left a comment

Choose a reason for hiding this comment

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

Thanks for contribution

@joseph-isaacs joseph-isaacs merged commit 23cefb0 into vortex-data:develop Oct 10, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants