AbsaOSS / AbsaOSS/cobrix

DataFrame with some columns in EBCDIC

Open
#690 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Scala
Stars
170
Forks
96
Avg merge
57m
Merged PRs (30d)
2

Description

I have this code:

val df = spark
.read
.format("za.co.absa.cobrix.spark.cobol.source")
.option("ebcdic_code_page", "common_extended")
.option("copybook", copybook)
.load("ruta"
.select("Campo")

but get this error:

za.co.absa.cobrix.cobol.parser.encoding.EBCDIC$ cannot be cast to za.co.absa.cobrix.cobol.parser.encoding.Encoding

if i read the parquet, with spark reading, the column contains infromation such as "1b64b427", i need convert to ascii

the file copyboock i`ve wirtten like

01 Campo String

And

01 Campo X(76)

But get the same error. What its no correct?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.