forked from github/dataease
feat(数据集):fix
This commit is contained in:
parent
0210db82e6
commit
6a1d230005
@ -147,7 +147,7 @@ public class SparkCalc {
|
|||||||
for (Row row : list) {
|
for (Row row : list) {
|
||||||
String[] r = new String[row.length()];
|
String[] r = new String[row.length()];
|
||||||
for (int i = 0; i < row.length(); i++) {
|
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);
|
data.add(r);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user