hail
hail copied to clipboard
[query] error when sampling an entries table
What happened?
mt = hl.utils.range_matrix_table(10, 10)
ht = mt.entries()
ht = ht.sample(0.5)
ht._force_count()
throws a is.hail.utils.HailException: expected non-missing
from inside generated code.
Version
0.2.127
Relevant log output
No response
Possibly related to #14305
This particular exception is coming from https://github.com/hail-is/hail/blob/4e4b3d7d2f8d633d742e7f7c842ad7c5518aa8dd/hail/src/main/scala/is/hail/expr/ir/Emit.scala#L1707
And the corresponding IR is
RNGSplit(RNGStateLiteral(), NA(int64))