Skip to content

Commit

Permalink
fix: missing space in SQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
bobeal committed Sep 20, 2023
1 parent 6aef2bb commit 8d0e09f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class ScopeService(
$allAggregates
"""
} else
"SELECT entity_id, min(time) as origin, max(time) as endTime, $allAggregates"
"SELECT entity_id, min(time) as origin, max(time) as endTime, $allAggregates "
}
temporalEntitiesQuery.temporalQuery.timeproperty == TemporalProperty.OBSERVED_AT -> {
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class AttributeInstanceService(
$allAggregates
""".trimIndent()
} else
"SELECT temporal_entity_attribute, min(time) as origin, max(time) as endTime, $allAggregates"
"SELECT temporal_entity_attribute, min(time) as origin, max(time) as endTime, $allAggregates "
}
else -> {
val valueColumn = when (temporalEntityAttributes[0].attributeValueType) {
Expand Down

0 comments on commit 8d0e09f

Please sign in to comment.