AbsaOSS / AbsaOSS/cobrix

Data fetched in dataframe is blank or null

Offen
#312 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
Scala
Sterne
170
Forks
96
Ø Merge
57 Min.
Gemergte PRs (30 T.)
2

Beschreibung

## Background [Optional]
I have a copybook file like -

01 XXXXXX
04 AAAAA PIC X(10).
04 BAAAA PIC X(4).
04 CAAAA PIC X(4).
04 DAAAA PIC XX.

There is a data file (in .txt) with specified field length data. When I am trying to read it into a data frame I am just getting 1 column name XXXXXX and rows as list of actual columns. But even there the data is either null / blank
--------------------
XXXXXX
-------------------
[,,,null,]
[,,,null,]
[,,,null,]
[,,,null,]
[,,,null,]

## Question
What am I doing wrong above?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.