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/06/13 09:58:34 UTC

(streampipes) branch dev updated: fix(#3672): Fix null pointer when property scope is not set properly (#3673)

This is an automated email from the ASF dual-hosted git repository.

riemer 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 7dcc76ed60 fix(#3672): Fix null pointer when property scope is not set properly (#3673)
7dcc76ed60 is described below

commit 7dcc76ed60c389f0cc226f4e9c993730de9b00c2
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Fri Jun 13 11:58:28 2025 +0200

    fix(#3672): Fix null pointer when property scope is not set properly (#3673)
---
 .../apache/streampipes/sinks/internal/jvm/datalake/DataLakeSink.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/streampipes-extensions/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/datalake/DataLakeSink.java b/streampipes-extensions/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/datalake/DataLakeSink.java
index c2b361406b..306327cca8 100644
--- a/streampipes-extensions/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/datalake/DataLakeSink.java
+++ b/streampipes-extensions/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/datalake/DataLakeSink.java
@@ -172,8 +172,8 @@ public class DataLakeSink extends StreamPipesDataSink implements SupportsRuntime
         })
         .peek(ep -> {
           // Remova all dimensions from DIMENSION_PROPERTY scope if not part of dimensions
-          if (ep.getPropertyScope()
-                .equals(PropertyScope.DIMENSION_PROPERTY.name())) {
+          if (PropertyScope.DIMENSION_PROPERTY.name()
+                .equals(ep.getPropertyScope())) {
             if (!dimensions.contains(ep.getRuntimeName())) {
               ep.setPropertyScope(PropertyScope.MEASUREMENT_PROPERTY.name());
             }