You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by cw...@apache.org on 2023/04/07 01:20:35 UTC

[druid] branch fix-java8-compile created (now 14e0687c06)

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

cwylie pushed a change to branch fix-java8-compile
in repository https://gitbox.apache.org/repos/asf/druid.git


      at 14e0687c06 fix compile with java 8

This branch includes the following new commits:

     new 14e0687c06 fix compile with java 8

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.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[druid] 01/01: fix compile with java 8

Posted by cw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cwylie pushed a commit to branch fix-java8-compile
in repository https://gitbox.apache.org/repos/asf/druid.git

commit 14e0687c067e48feac80a33a701fe5bde13aa749
Author: Clint Wylie <cw...@apache.org>
AuthorDate: Thu Apr 6 18:20:28 2023 -0700

    fix compile with java 8
---
 .../org/apache/druid/msq/input/external/ExternalInputSpecSlicer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/input/external/ExternalInputSpecSlicer.java b/extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/input/external/ExternalInputSpecSlicer.java
index e745b2ac07..8583162cd0 100644
--- a/extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/input/external/ExternalInputSpecSlicer.java
+++ b/extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/input/external/ExternalInputSpecSlicer.java
@@ -161,7 +161,7 @@ public class ExternalInputSpecSlicer implements InputSpecSlicer
         ((SplittableInputSource<?>) splittableInputSource.withSplit((InputSplit) split))
             .createSplits(spec.getInputFormat(), FilePerSplitHintSpec.INSTANCE)
             .map(subSplit -> splittableInputSource.withSplit((InputSplit) subSplit))
-            .forEach(subSources::add);
+            .forEach(s -> ((List) subSources).add(s));
       }
 
       if (subSources.isEmpty()) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org