-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fix Graph.remove_inputs #108
Conversation
The `remove_inputs` call on the graph wasn't working - since it was hanging on to a reference to the removed columns via the `dependencies` list. Fix and add a unittest that would have caught this. Fixes NVIDIA-Merlin/NVTabular#1632
Click to view CI ResultsGitHub pull request #108 of commit 255be9063edf1548aac12819359313f3f5dd8146, no merge conflicts. Running as SYSTEM Setting status of 255be9063edf1548aac12819359313f3f5dd8146 to PENDING with url https://10.20.13.93:8080/job/merlin_core/84/console and message: 'Pending' Using context: Jenkins Building on master in workspace /var/jenkins_home/workspace/merlin_core using credential ce87ff3c-94f0-400a-8303-cb4acb4918b5 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/NVIDIA-Merlin/core # timeout=10 Fetching upstream changes from https://github.com/NVIDIA-Merlin/core > git --version # timeout=10 using GIT_ASKPASS to set credentials login for merlin-systems username and pass > git fetch --tags --force --progress -- https://github.com/NVIDIA-Merlin/core +refs/pull/108/*:refs/remotes/origin/pr/108/* # timeout=10 > git rev-parse 255be9063edf1548aac12819359313f3f5dd8146^{commit} # timeout=10 Checking out Revision 255be9063edf1548aac12819359313f3f5dd8146 (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 255be9063edf1548aac12819359313f3f5dd8146 # timeout=10 Commit message: "Fix graph.remove_inputs" > git rev-list --no-walk 74969c31bbe8f94331db230748737996b4814547 # timeout=10 [merlin_core] $ /bin/bash /tmp/jenkins1550920915489169753.sh ============================= test session starts ============================== platform linux -- Python 3.8.10, pytest-7.1.2, pluggy-1.0.0 rootdir: /var/jenkins_home/workspace/merlin_core/core, configfile: pyproject.toml plugins: anyio-3.6.1, xdist-2.5.0, forked-1.4.0, cov-3.0.0 collected 343 items / 1 skipped |
Click to view CI ResultsGitHub pull request #108 of commit d4757a8d4ff3482b00a1afb34bf22d018e4680ae, no merge conflicts. Running as SYSTEM Setting status of d4757a8d4ff3482b00a1afb34bf22d018e4680ae to PENDING with url https://10.20.13.93:8080/job/merlin_core/85/console and message: 'Pending' Using context: Jenkins Building on master in workspace /var/jenkins_home/workspace/merlin_core using credential ce87ff3c-94f0-400a-8303-cb4acb4918b5 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/NVIDIA-Merlin/core # timeout=10 Fetching upstream changes from https://github.com/NVIDIA-Merlin/core > git --version # timeout=10 using GIT_ASKPASS to set credentials login for merlin-systems username and pass > git fetch --tags --force --progress -- https://github.com/NVIDIA-Merlin/core +refs/pull/108/*:refs/remotes/origin/pr/108/* # timeout=10 > git rev-parse d4757a8d4ff3482b00a1afb34bf22d018e4680ae^{commit} # timeout=10 Checking out Revision d4757a8d4ff3482b00a1afb34bf22d018e4680ae (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f d4757a8d4ff3482b00a1afb34bf22d018e4680ae # timeout=10 Commit message: "spelling" > git rev-list --no-walk 255be9063edf1548aac12819359313f3f5dd8146 # timeout=10 [merlin_core] $ /bin/bash /tmp/jenkins2869847055435311762.sh ============================= test session starts ============================== platform linux -- Python 3.8.10, pytest-7.1.2, pluggy-1.0.0 rootdir: /var/jenkins_home/workspace/merlin_core/core, configfile: pyproject.toml plugins: anyio-3.6.1, xdist-2.5.0, forked-1.4.0, cov-3.0.0 collected 343 items / 1 skipped |
Documentation preview |
It seems like we were all working on this at the same time. Either PR is fine by me. #107 |
I'm just noticing this PR after merging the other one, so...why not both? 😆 |
Closing this because #107 was merged and we don't want to merge both! |
I actually don't think it's problematic to merge both here, so long as the tests pass. There may be subsequent clean-up we want to do, but this fix is really nice. |
The
remove_inputs
call on the graph wasn't working - since it was hanging onto a reference to the removed columns via the
dependencies
list. Fix andadd a unittest that would have caught this.
Fixes NVIDIA-Merlin/NVTabular#1632