From 6a1d23000504172e61e6d2e1555a59fbad244b18 Mon Sep 17 00:00:00 2001 From: junjie Date: Fri, 9 Apr 2021 23:03:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=95=B0=E6=8D=AE=E9=9B=86):fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/io/dataease/service/spark/SparkCalc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/dataease/service/spark/SparkCalc.java b/backend/src/main/java/io/dataease/service/spark/SparkCalc.java index 85079a66f6..26f33525aa 100644 --- a/backend/src/main/java/io/dataease/service/spark/SparkCalc.java +++ b/backend/src/main/java/io/dataease/service/spark/SparkCalc.java @@ -147,7 +147,7 @@ public class SparkCalc { for (Row row : list) { String[] r = new String[row.length()]; for (int i = 0; i < row.length(); i++) { - r[i] = row.get(i).toString(); + r[i] = row.get(i) == null ? "null" : row.get(i).toString(); } data.add(r); }