-
Notifications
You must be signed in to change notification settings - Fork 13
Run all tests with SQL Mode #3746
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
base: develop
Are you sure you want to change the base?
Conversation
… due to seriliaziation errors - not misues of the underlying Store)
@@ -48,6 +49,6 @@ public SingleColumnSqlSelect qualify(final String qualifier) { | |||
|
|||
@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); |
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.
Macht nichts :(
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.
Was hattest du an der Stelle erwartet, was es tun sollte?
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.
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.
@@ -19,24 +25,28 @@ public class SqlTestDataImporter implements TestDataImporter { | |||
|
|||
private final CsvTableImporter csvTableImporter; | |||
|
|||
|
|||
@Override | |||
public void importQueryTestData(StandaloneSupport support, QueryTest test) throws Exception { |
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 glaube nicht, dass die noch großartig anders sind außer der AllIdsTabelle
…DataImporter and unifiying that.
No description provided.