Skip to content

Conversation

@awildturtok
Copy link
Collaborator

No description provided.

@Override
public SqlSelect connectorAggregate() {
return new ExistsSqlSelect(DSL.max(select()).as(alias), alias);
return new ExistsSqlSelect(DSL.max(DSL.coalesce(select(), DSL.value(0))).as(alias), alias);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Macht nichts :(

Copy link
Collaborator

Choose a reason for hiding this comment

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

Was hattest du an der Stelle erwartet, was es tun sollte?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Das Problem ist, dass der ExistsSelect entweder 1 oder null ist. Wir wollen aber 1 oder 0. Ich hatte gehofft dass so zu forcieren. Aber das gibt der Code glaube ich nicht her.



@Override
public void importQueryTestData(StandaloneSupport support, QueryTest test) throws Exception {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ich glaube nicht, dass die noch großartig anders sind außer der AllIdsTabelle

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.

4 participants