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

This commit is contained in:
Miriam Baglioni 2022-01-07 12:13:26 +01:00
parent 639190370a
commit b7e450070b
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);