Skip to content

Commit 340e387

Browse files
committed
Use Uint8 for GT field in statpopgen instead of UInt64
Signed-off-by: Mikhail Kot <mikhail@spiraldb.com>
1 parent 008c1d9 commit 340e387

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

vortex-bench/src/statpopgen/schema.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ pub fn schema_from_vcf_header(header: &Header) -> SchemaRef {
3434
.into_iter()
3535
.chain(info_fields)
3636
.chain([
37-
Arc::new(Field::new("GT", list(UInt64), true)),
37+
// GT is NULL, 0, 1, or 2
38+
Arc::new(Field::new("GT", list(UInt8), true)),
3839
Arc::new(Field::new("GQ", list(Int32), true)),
3940
Arc::new(Field::new("DP", list(Int32), true)),
4041
Arc::new(Field::new("AD", list(list(Int32)), true)),

0 commit comments

Comments
 (0)