This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 263ee43468 fix: Extract timestamp in data download query (#3697)
263ee43468 is described below
commit 263ee434689ec760468b81f36396308126cf44dd
Author: Dominik Riemer <[email protected]>
AuthorDate: Wed Jul 16 13:55:29 2025 +0200
fix: Extract timestamp in data download query (#3697)
---
.../java/org/apache/streampipes/model/datalake/DataLakeMeasure.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/streampipes-model/src/main/java/org/apache/streampipes/model/datalake/DataLakeMeasure.java
b/streampipes-model/src/main/java/org/apache/streampipes/model/datalake/DataLakeMeasure.java
index a7029fa520..61895df80d 100644
---
a/streampipes-model/src/main/java/org/apache/streampipes/model/datalake/DataLakeMeasure.java
+++
b/streampipes-model/src/main/java/org/apache/streampipes/model/datalake/DataLakeMeasure.java
@@ -147,7 +147,8 @@ public class DataLakeMeasure implements Storable {
@TsIgnore
@JsonIgnore
public String getTimestampFieldName() {
- return timestampField.split(STREAM_PREFIX_DELIMITER)[1];
+ var timestampWithPrefix = timestampField.split(STREAM_PREFIX_DELIMITER);
+ return timestampWithPrefix.length > 1 ? timestampWithPrefix[1] :
timestampField;
}
@Override