[SDG-FOS] to import SDG file not considering the header #182

Merged
miriam.baglioni merged 1 commits from SDG into beta 2022-01-07 16:28:55 +01:00
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ public class GetSDGSparkJob implements Serializable {
.read()
.format("csv")
.option("sep", delimiter)
.option("inferSchema", "true")
.option("header", "true")
.option("quotes", "\"")
.load(sourcePath);