Fix CSV export for missing columns in database
@@ -336,8 +336,12 @@ public class DataLakeManagementV3 {
if (i1 == 0) {
element = ((Double) element).longValue();
}
+ if (element == null) {
+ outputStream.write(toBytes(""));
+ } else {
outputStream.write(toBytes(element.toString()));
}
+ }
outputStream.write(toBytes("\n"));
}
}
