-
-
Notifications
You must be signed in to change notification settings - Fork 728
Clickhousify alteration enrichments #11454
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just added a few suggestions.
src/main/java/org/cbioportal/domain/alteration/repository/AlterationRepository.java
Outdated
Show resolved
Hide resolved
.stream() | ||
.map(entry -> threadPoolTaskExecutor.submit(() -> this.fetchAlterationCountByGeneByGroup(entry.getKey(), | ||
entry.getValue(), enrichmentType, alterationFilter))) | ||
.map(future -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we add a comment here to define what future
is? this is specific to parallelization, right?
src/main/java/org/cbioportal/domain/alteration/usecase/GetAlterationEnrichmentsUseCase.java
Outdated
Show resolved
Hide resolved
src/main/resources/mappers/clickhouse/alteration/ClickhouseAlterationMapper.xml
Outdated
Show resolved
Hide resolved
...g/cbioportal/infrastructure/repository/clickhouse/alteration/ClickhouseAlterationMapper.java
Outdated
Show resolved
Hide resolved
f027af3
to
058d41d
Compare
|
Updating alteration-enrichment to support clickhouse.