Skip to content

Commit ee311c0

Browse files
authored
feat: move clinvar to new pattern (#5100)
* clinvar * bad line * merge * table names * better templating * fix migration * quotes * add wait * tweaks
1 parent 24bc301 commit ee311c0

File tree

4 files changed

+644
-14
lines changed

4 files changed

+644
-14
lines changed

clickhouse_search/managers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def join_clinvar(self, keys):
327327
# Due to django modeling, adding a clinvar annotation will add a join to the entries table and then to clinvar
328328
# Manipulating the underlying join removes the entry join entirely
329329
entry_table = f'{self.table_basename}/entries'
330-
results.query.alias_map[f'{self.table_basename}/clinvar'].parent_alias = results.query.alias_map[entry_table].parent_alias
330+
results.query.alias_map[f'{self.table_basename}/reference_data/clinvar'].parent_alias = results.query.alias_map[entry_table].parent_alias
331331
results.query.alias_refcount[entry_table] = 0
332332
return results
333333

0 commit comments

Comments
 (0)