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

[hailctl dataproc] Support interval fields in hailctl dataproc describe #9610

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

nawatts
Copy link
Contributor

@nawatts nawatts commented Oct 19, 2020

hailctl dataproc describe does not currently display point types for interval fields.

For example, with this table:

ds = hl.utils.range_table(10)
ds = ds.annotate(interval=hl.parse_locus_interval(hl.str(ds.idx + 1) + ":1-100"))
ds.write("test.ht")
$ hailctl dataproc describe test.ht
...
----------------------------------------
Row fields:
    'idx': int32
    'interval': interval<>
----------------------------------------
...

With this change,

$ hailctl dataproc describe test.ht
...
----------------------------------------
Row fields:
    'idx': int32
    'interval': interval<locus<grch37>>
----------------------------------------
...

@tpoterba tpoterba self-assigned this Oct 23, 2020
@tpoterba
Copy link
Contributor

oops, sorry we lost this.

@danking danking merged commit 5c9c492 into hail-is:main Oct 23, 2020
@nawatts nawatts deleted the hailctl-dataproc-describe-interval branch May 6, 2021 12:37
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.

None yet

3 participants