Skip to content

feat(sql): Move eventfilter into preprocessing - #3928

Merged
awildturtok merged 3 commits into
developfrom
feature/ai-eventfilter-into-preprocessing
Aug 10, 2026
Merged

feat(sql): Move eventfilter into preprocessing#3928
awildturtok merged 3 commits into
developfrom
feature/ai-eventfilter-into-preprocessing

Conversation

@awildturtok

Copy link
Copy Markdown
Collaborator

No description provided.

@awildturtok
awildturtok requested a review from thoniTUB as a code owner August 3, 2026 14:34
@awildturtok
awildturtok force-pushed the feature/ai-eventfilter-into-preprocessing branch 4 times, most recently from b16b760 to 0c9f06b Compare August 4, 2026 09:53
@awildturtok
awildturtok force-pushed the feature/ai-eventfilter-into-preprocessing branch from 0c9f06b to 7c0982c Compare August 4, 2026 10:25
@awildturtok awildturtok changed the title Move eventfilter into preprocessing feat(sql): Move eventfilter into preprocessing Aug 5, 2026

@thoniTUB thoniTUB left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kleinigkeiten

Comment on lines +35 to +42
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.function.Predicate;
import java.util.stream.Stream;

import static org.jooq.impl.DSL.*;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nach oben sortieren

.conversionContext(conversionContext)
.build();
.ids(ids)
.connector(connectorTables.getLabel())

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich weiß nicht ob Name hier möglich ist, aber Label sieht im Converter falsch aus

Suggested change
.connector(connectorTables.getLabel())
.connector(connectorTables.getName())

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Das ist ein programmatisch erstelltes label und nicht das label des connectors. Lustigerweise kommt es aber von context.getNameGenerator().conceptConnectorName :D

Ich bennene das ganze mal um

Comment on lines +358 to +361
1. When converting a concept and creating the `PREPROCESSING` CTE, which is the starting point of each concept
conversion, we join the concepts or respectively the connectors table with the stratification table for all IDs from
the stratification table.
the stratification table. In the same step, we filter all entries where the stratification range and the subject's
validity date do not overlap. This is important because we only want to compute aggregations for overlapping ranges.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Du brauchst hier jetzt keine Aufzählung mehr zu machen, wenn es nur noch einen einzelnen Schritt gibt

@awildturtok
awildturtok enabled auto-merge (squash) August 10, 2026 09:17
@awildturtok
awildturtok merged commit 9168596 into develop Aug 10, 2026
11 checks passed
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.

2 participants