You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2025/07/16 11:09:07 UTC
(streampipes) branch fix-timestamp-extraction created (now 76b7281b5f)
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a change to branch fix-timestamp-extraction
in repository https://gitbox.apache.org/repos/asf/streampipes.git
at 76b7281b5f fix: Extract timestamp in data download query
This branch includes the following new commits:
new 76b7281b5f fix: Extract timestamp in data download query
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(streampipes) 01/01: fix: Extract timestamp in data download query
Posted by ri...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch fix-timestamp-extraction
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 76b7281b5f28f8480c2f104bca25e9a5d25a2f0f
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jul 16 13:08:52 2025 +0200
fix: Extract timestamp in data download query
---
.../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