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

[BUG]: Retrieving the Python DataFrame from a SlicedMessageMeta ignores the start/stop #2018

Open
2 tasks done
dagardner-nv opened this issue Oct 29, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@dagardner-nv
Copy link
Contributor

dagardner-nv commented Oct 29, 2024

Version

24.10

Which installation method(s) does this occur on?

Conda

Describe the bug.

This was found while investigating #2002
The issue is that while the TableInfo held by SlicedMessageMeta correctly reflects the start and stop values, attempting to call:

auto mutable_info = sliced_meta.get_mutable_info();
auto pdf = mutable_info.checkout_obj(); // pdf contains the entire original DF

Will return the entire DataFrame. Fix would likely require SlicedMessageMeta to apply a sliced to the python object. Once this is fixed, we should avoid the work-around introduced in PR #2015 in the DeserializeStage

Minimum reproducible example

auto mutable_info = sliced_meta.get_mutable_info();
auto pdf = mutable_info.checkout_obj(); // pdf contains the entire original DF

Relevant log output

Click here to see error details

[Paste the error here, it will be hidden by default]

Full env printout

Click here to see environment details

[Paste the results of print_env.sh here, it will be hidden by default]

Other/Misc.

No response

Code of Conduct

  • I agree to follow Morpheus' Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report
@dagardner-nv dagardner-nv added the bug Something isn't working label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant