[SYSTEMDS-3382] Federated Left Indexing with Scalar#1622
Closed
ywcb00 wants to merge 2 commits into
Closed
Conversation
…xing chore(FederationMap.java): override the execute method to directly call it with single items instead of arrays feat(FederatedLeftIndexScalarTest): add test for scalar left indexing
Contributor
|
LGTM - thanks for the patch @ywcb00 as well as catching and reporting this issue. After spending way too much time on debugging this issue, I found the reason and fixed it. A simple |
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.
Hi,
this PR adds support for the federated left indexing instruction with a scalar rhs, including the respective tests.
When running the FederatedLeftIndexTest, it throws an exception because of invalid matrix dimensions (-1, -1) at the first test run. The second test run passes. Somehow this exception is only thrown if the two frame tests (testLeftIndexFullDenseFrameCP, testLeftIndexFullDenseFrameSP) are executed before the failing scalar test (testLeftIndexScalarCP). I tried to put the empty matrix for the output to the federated workers with the correct sliced dimensions instead of [-1, -1], but then we get a "file does not exist on hdfs" exception. Any idea or suspicion why this could be the case?
Thanks for review :)