Skip to content

Commit 19d49fd

Browse files
committed
bugfix: fix clickhosue tests
1 parent 0083bcf commit 19d49fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v03_pipeline/lib/misc/clickhouse_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ def test_rebuild_gt_stats(self):
11961196
(4, 'project_a', 'family_a6', 133456789, 'WGS', 0, 0, CAST([] AS Array(UInt32)), [('sample_a8','HOM')], 1),
11971197
(0, 'project_b', 'family_b1', 123456789, 'WES', 0, 0, CAST([] AS Array(UInt32)), [('sample_b4','REF')], 1),
11981198
(1, 'project_b', 'family_b2', 123456789, 'WES', 0, 0, CAST([] AS Array(UInt32)), [('sample_b5','HET')], 1),
1199-
(2, 'project_b', 'family_b2', 123456789, 'WES', 0, CAST([] AS Array(UInt32)), [('sample_b5','REF')], 1),
1199+
(2, 'project_b', 'family_b2', 123456789, 'WES', 0, 0, CAST([] AS Array(UInt32)), [('sample_b5','REF')], 1),
12001200
""",
12011201
)
12021202
logged_query( # DROP the partition from the non-staging entries to as a non-mv-impacting change.
@@ -1276,7 +1276,7 @@ def test_repartitioned_entries_table(self, mock_for_reference_genome_dataset_typ
12761276
`xpos` UInt64 CODEC(Delta(8), ZSTD(1)),
12771277
`sample_type` Enum8('WES' = 0, 'WGS' = 1),
12781278
`is_gnomad_gt_5_percent` Boolean,
1279-
`is_annotated_in_any_gene` Boolean DEFAULT length(geneId_ids) > 1,
1279+
`is_annotated_in_any_gene` Boolean DEFAULT length(geneId_ids) > 0,
12801280
`geneId_ids` Array(UInt32),
12811281
`calls` Array(
12821282
Tuple(

0 commit comments

Comments
 (0)