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

@awildturtok awildturtok marked this pull request as ready for review November 24, 2025 10:18
…l-tests

# Conflicts:
#	backend/src/main/java/com/bakdata/conquery/io/storage/xodus/stores/CachedStore.java
#	backend/src/main/java/com/bakdata/conquery/sql/conversion/cqelement/concept/CQConceptConverter.java
#	backend/src/main/java/com/bakdata/conquery/sql/conversion/dialect/HanaSqlFunctionProvider.java
#	backend/src/main/java/com/bakdata/conquery/sql/conversion/dialect/PostgreSqlFunctionProvider.java
#	backend/src/main/java/com/bakdata/conquery/sql/conversion/dialect/SqlFunctionProvider.java
#	backend/src/main/java/com/bakdata/conquery/sql/conversion/model/select/DaterangeSelectUtil.java
#	backend/src/test/java/com/bakdata/conquery/integration/json/SqlTestDataImporter.java
#	backend/src/test/java/com/bakdata/conquery/integration/sql/CsvTableImporter.java
#	backend/src/test/java/com/bakdata/conquery/integration/sql/dialect/HanaSqlIntegrationTests.java
#	backend/src/test/resources/tests/query/QUERY_AND_NOT_TEMPORAL_SAME_CONCEPT_QUERY/TEMPORAL_VIRTUAL_CONCEPT_Query.test.json
#	backend/src/test/resources/tests/query/TEMPORAL_BEFORE_AGGREGATED_CONCEPT_QUERY/TEMPORAL_VIRTUAL_CONCEPT_Query.test.json
#	backend/src/test/resources/tests/query/TEMPORAL_BEFORE_CONCEPT_QUERY/TEMPORAL_VIRTUAL_CONCEPT_Query.test.json
#	backend/src/test/resources/tests/query/TEMPORAL_BEFORE_OR_SAME_CONCEPT_QUERY/TEMPORAL_VIRTUAL_CONCEPT_Query.test.json
#	backend/src/test/resources/tests/query/TEMPORAL_DAYS_BEFORE_CONCEPT_QUERY/TEMPORAL_VIRTUAL_CONCEPT_Query.test.json
#	backend/src/test/resources/tests/query/TEMPORAL_DAYS_BEFORE_OR_NEVER_CONCEPT_QUERY/TEMPORAL_VIRTUAL_CONCEPT_Query.test.json
#	backend/src/test/resources/tests/query/TEMPORAL_SAME_CONCEPT_QUERY/TEMPORAL_VIRTUAL_CONCEPT_Query.test.json
also swaps some trivial cases to using DATE
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