File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spark-cobol/src/test/scala/za/co/absa/cobrix/spark/cobol/writer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ class FixedLengthEbcdicWriterSuite extends AnyWordSpec with SparkTestBase with B
272272
273273 val path = new Path (tempDir, " writer1" )
274274
275- val copybookContentsWithBinFields =
275+ val copybookContentsWithDisplayFields =
276276 """ 01 RECORD.
277277 05 A PIC S9(1).
278278 05 B PIC 9(4)V9(2).
@@ -288,7 +288,7 @@ class FixedLengthEbcdicWriterSuite extends AnyWordSpec with SparkTestBase with B
288288 .write
289289 .format(" cobol" )
290290 .mode(SaveMode .Overwrite )
291- .option(" copybook_contents" , copybookContentsWithBinFields )
291+ .option(" copybook_contents" , copybookContentsWithDisplayFields )
292292 .save(path.toString)
293293
294294 val fs = path.getFileSystem(spark.sparkContext.hadoopConfiguration)
@@ -339,7 +339,7 @@ class FixedLengthEbcdicWriterSuite extends AnyWordSpec with SparkTestBase with B
339339 assertArraysEqual(bytes, expected)
340340
341341 val df2 = spark.read.format(" cobol" )
342- .option(" copybook_contents" , copybookContentsWithBinFields )
342+ .option(" copybook_contents" , copybookContentsWithDisplayFields )
343343 .load(path.toString)
344344 .orderBy(" A" )
345345
You can’t perform that action at this time.
0 commit comments