forked from antonis.lempesis/dnet-hadoop
code formatting
This commit is contained in:
parent
bde14b149a
commit
ac46c247d2
|
@ -92,13 +92,13 @@ public class TransformSparkJobNode {
|
||||||
final Encoder<MetadataRecord> encoder = Encoders.bean(MetadataRecord.class);
|
final Encoder<MetadataRecord> encoder = Encoders.bean(MetadataRecord.class);
|
||||||
|
|
||||||
final Dataset<MetadataRecord> mdstore = spark
|
final Dataset<MetadataRecord> mdstore = spark
|
||||||
.read()
|
.read()
|
||||||
.format("parquet")
|
.format("parquet")
|
||||||
.load(inputPath)
|
.load(inputPath)
|
||||||
.as(encoder)
|
.as(encoder)
|
||||||
.map(
|
.map(
|
||||||
TransformationFactory.getTransformationPlugin(args, ct, isLookUpService),
|
TransformationFactory.getTransformationPlugin(args, ct, isLookUpService),
|
||||||
encoder);
|
encoder);
|
||||||
saveDataset(mdstore, outputBasePath + MDSTORE_DATA_PATH);
|
saveDataset(mdstore, outputBasePath + MDSTORE_DATA_PATH);
|
||||||
|
|
||||||
log.info("Transformed item " + ct.getProcessedItems().count());
|
log.info("Transformed item " + ct.getProcessedItems().count());
|
||||||
|
|
Loading…
Reference in New Issue