From 1b1101016944ee921da8b49dbeff9106c05a6220 Mon Sep 17 00:00:00 2001 From: Sandro La Bruzzo Date: Tue, 29 Mar 2022 10:59:14 +0200 Subject: [PATCH] minor fix --- .../test/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTest.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dhp-workflows/dhp-aggregation/src/test/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTest.scala b/dhp-workflows/dhp-aggregation/src/test/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTest.scala index ca1dbc665..136b0fb93 100644 --- a/dhp-workflows/dhp-aggregation/src/test/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTest.scala +++ b/dhp-workflows/dhp-aggregation/src/test/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTest.scala @@ -70,6 +70,9 @@ class DataciteToOAFTest extends AbstractVocabularyTest { assertEquals(100, nativeSize) + spark.read.load(targetPath).printSchema(); + + val result: Dataset[Oaf] = spark.read.load(targetPath).as[Oaf] result