Repository navigation
fix: Added support to handle empty dataframe - #5497
Merged
Merged
Conversation
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
…ecuted Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
aniketpalu
force-pushed
the
feature/handle_empty_df
branch
from
July 9, 2025 05:33
a6b70d0 to
9ded116
Compare
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
ntkathole
requested changes
Jul 9, 2025
… other functionalities Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
…y FeatureView) Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
Member
|
@jyejare PTAL |
jyejare
reviewed
Jul 21, 2025
jyejare
left a comment
Collaborator
There was a problem hiding this comment.
ACK with nitpick comments.
| ) | ||
|
|
||
| # This should not raise an exception | ||
| self.store.write_to_online_store( |
Collaborator
There was a problem hiding this comment.
You are not validating that its not raising any exception using with not pytest.raises(Exception_class_name_here).
Collaborator
There was a problem hiding this comment.
Or may be just warnings context manager.
Contributor
Author
There was a problem hiding this comment.
Addressed comments & optimised code to reuse warning checking logic
… Materialization Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
jyejare
reviewed
Jul 23, 2025
jyejare
left a comment
Collaborator
There was a problem hiding this comment.
Good to see the new warnings decorator simplifies the warnings catch.
Could you please move the check_warnings to sdk/python/tests/utils directory so that all the tests can use it ?
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
jyejare
approved these changes
Jul 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Adds validation to
write_to_online_storeandwrite_to_online_store_asyncto prevent empty dataframes from being written to the online store.Changes:
dfandinputsparametersValueErrormessagesWhich issue(s) this PR fixes:
RHOAIENG-27681
Misc
Added comprehensive unit tests in
TestEmptyDataFrameValidationclass.