-
Notifications
You must be signed in to change notification settings - Fork 243
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
make ld_prune fast again #5078
make ld_prune fast again #5078
Changes from 30 commits
ddac8b2
9c093ba
f1fb603
ada7979
7168e23
5f20758
099579c
8bfa95b
ea27190
11e4b7c
3e72db1
56bfa43
74a4d0a
53fea49
eec60bf
0b16c8e
bc9cd60
408522c
c4bf4e0
55041ed
01713d3
0d9c814
a1a4be2
a5edd98
a7857f2
d9c3f1e
71815dc
943808b
baf9ccb
cbcd4a8
e768bbd
a62ee9a
b3bdf66
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
cd $(CDPATH= cd -- "$(dirname -- "$0")" && pwd) | ||
|
||
cleanup() { | ||
trap "" INT TERM | ||
rm hail/hail-all-spark.jar | ||
rm README.md | ||
rm -rf build/lib | ||
} | ||
trap cleanup EXIT | ||
trap "exit 24" INT TERM | ||
|
||
python3=${HAIL_PYTHON3:-python3} | ||
|
||
cp ../build/libs/hail-all-spark.jar hail/ | ||
cp ../../README.md . | ||
rm -f dist/* | ||
$python3 setup.py sdist bdist_wheel | ||
ls dist | ||
pip install -U dist/hail-$(cat hail/hail_pip_version)-py3-none-any.whl |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1213,7 +1213,7 @@ class BlockMatrix(val blocks: RDD[((Int, Int), BDM[Double])], | |
} | ||
} | ||
|
||
new Table(hc, entriesRDD, rvRowType, Array("i", "j")) | ||
new Table(hc, entriesRDD, rvRowType, Array[String]()) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is technically a user-facing change, right? That's OK since this is experimental, but I'll remember to put it in the change log. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed by adding an optional |
||
} | ||
} | ||
|
||
|
@@ -1704,4 +1704,4 @@ class WriteBlocksRDD(path: String, | |
outPerBlockCol.foreach(_.close()) | ||
blockPartFiles.iterator | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This prevents field pruning. Emitting a
mt.select_entries('field')
would fix thatThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed. I also removed the FIXME in favor of a punch-list issue: #5202