forked from D-Net/dnet-hadoop
Merge pull request '[SDG-FOS] to import SDG file not considering the header' (#182) from SDG into beta
Reviewed-on: D-Net/dnet-hadoop#182
This commit is contained in:
commit
93f26fb742
|
@ -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