-
Notifications
You must be signed in to change notification settings - Fork 12
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
Implement external ID lookup for SQL mode #3496
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.
Ich schaue mir das morgen nochmal im Detail an.
...main/java/com/bakdata/conquery/apiv1/query/concept/specific/external/EntityResolverUtil.java
Outdated
Show resolved
Hide resolved
backend/src/test/java/com/bakdata/conquery/integration/json/ConqueryTestSpec.java
Outdated
Show resolved
Hide resolved
backend/src/test/java/com/bakdata/conquery/integration/json/ConqueryTestSpec.java
Outdated
Show resolved
Hide resolved
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.
sieht sonst gut aus.
|
||
String resolvedId = null; | ||
for (Function<String[], EntityIdMap.ExternalId> reader : readers) { | ||
final EntityIdMap.ExternalId externalId = reader.apply(row); |
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.
Glaube der Lesbarkeit halber solltest du die ExternalId von EntityIdMap entkoppeln oder zumindest die IdReader von der EntityIdMap. Ich lese den Code gerade und rätsele die ganze Zeit was du mit der EntityIdMap machst (die du ja nicht zur verfügung haben wirst).
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.
Guter Punkt 👍
No description provided.