setting the max number of lines per part
This commit is contained in:
parent
292c69d819
commit
ba28d1eb76
|
@ -99,6 +99,7 @@ public class DumpDatasource implements Serializable {
|
|||
.write()
|
||||
.mode(SaveMode.Overwrite)
|
||||
.option("compression", "gzip")
|
||||
.option("maxRecordsPerFile", 10000)
|
||||
.json(outputPath + "datasource");
|
||||
}
|
||||
|
||||
|
|
|
@ -100,6 +100,7 @@ public class DumpGrant implements Serializable {
|
|||
.write()
|
||||
.mode(SaveMode.Overwrite)
|
||||
.option("compression", "gzip")
|
||||
.option("maxRecordsPerFile", 10000)
|
||||
.json(outputPath + "grants");
|
||||
}
|
||||
|
||||
|
|
|
@ -122,6 +122,7 @@ public class DumpOrganization implements Serializable {
|
|||
.write()
|
||||
.mode(SaveMode.Overwrite)
|
||||
.option("compression", "gzip")
|
||||
.option("maxRecordsPerFile", 10000)
|
||||
.json(outputPath + "organizations");
|
||||
}
|
||||
|
||||
|
|
|
@ -100,6 +100,7 @@ public class DumpResearchProduct implements Serializable {
|
|||
.write()
|
||||
.mode(SaveMode.Overwrite)
|
||||
.option("compression", "gzip")
|
||||
.option("maxRecordsPerFile", 10000)
|
||||
.json(outputPath + "products");
|
||||
}
|
||||
|
||||
|
|
|
@ -121,6 +121,7 @@ public class DumpVenue implements Serializable {
|
|||
.write()
|
||||
.mode(SaveMode.Overwrite)
|
||||
.option("compression", "gzip")
|
||||
.option("maxRecordsPerFile", 10000)
|
||||
.json(outputPath + "venues");
|
||||
}
|
||||
|
||||
|
|
|
@ -167,6 +167,7 @@ public class EmitFromEntities implements Serializable {
|
|||
.write()
|
||||
.mode(SaveMode.Overwrite)
|
||||
.option("compression", "gzip")
|
||||
.option("maxRecordsPerFile", 10000)
|
||||
.json(outputPath + "/topics");
|
||||
|
||||
}
|
||||
|
@ -242,6 +243,7 @@ public class EmitFromEntities implements Serializable {
|
|||
.write()
|
||||
.mode(SaveMode.Overwrite)
|
||||
.option("compression", "gzip")
|
||||
.option("maxRecordsPerFile", 10000)
|
||||
.json(outputPath + "/persons");
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue