[SDG-FOS] to import SDG file not considering the header
This commit is contained in:
parent
639190370a
commit
b7e450070b
|
@ -69,6 +69,8 @@ public class GetSDGSparkJob implements Serializable {
|
||||||
.read()
|
.read()
|
||||||
.format("csv")
|
.format("csv")
|
||||||
.option("sep", delimiter)
|
.option("sep", delimiter)
|
||||||
|
.option("inferSchema", "true")
|
||||||
|
.option("header", "true")
|
||||||
.option("quotes", "\"")
|
.option("quotes", "\"")
|
||||||
.load(sourcePath);
|
.load(sourcePath);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue