Skip to content
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

[query] Deprecate hl.null in favor of hl.missing #9936

Merged
merged 6 commits into from
Jan 27, 2021

Conversation

johnc1231
Copy link
Contributor

CHANGELOG: Deprecated hl.null in favor of hl.missing.

Dan suggested that hl.null and hl.is_missing didn't match well. Now it's hl.missing and hl.is_missing, which makes more sense.

Copy link
Contributor

@danking danking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thank you JohN!

@danking danking merged commit b125f2b into hail-is:main Jan 27, 2021
jmarshall added a commit to populationgenomics/hail that referenced this pull request Apr 19, 2023
PR hail-is#9936 added hl.missing, which supersedes hl.null, and replaced
instances of null(...) invocations in the documentation. However
:func:`.null` instances in the surrounding text were missed.
danking pushed a commit that referenced this pull request Apr 21, 2023
https://hail.is/docs/0.2/overview/expressions.html#missingness says:

> In Hail, all expressions can be missing. An expression representing a
missing value of a given type can be generated with the
[`null()`](https://hail.is/docs/0.2/functions/core.html#hail.expr.functions.null)
function, which takes the type as its single argument.

It then proceeds to show a number of examples, all of which use
`missing()` rather than `null()`, which is confusing.

PR #9936 added `hl.missing`, which supersedes `hl.null`, and replaced
instances of `null(...)` invocations in the documentation. However
`:func:'.null'` instances in the surrounding documentation text were
missed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants