Skip to content

Commit

Permalink
#744 Update README of the new feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
yruslan committed Feb 21, 2025
1 parent 642006c commit c0fc92a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,13 @@ If the record field contains a string that can be mapped to a record size, you c
.option("record_length_map", """{"SEG1":100,"SEG2":200}""")
```

You can specify the default record size by defining the key "_":
```
.option("record_format", "F")
.option("record_length_field", "FIELD_STR")
.option("record_length_map", """{"SEG1":100,"SEG2":200,"_":100}""")
```

### Use cases for various variable length formats

In order to understand the file format it is often sufficient to look at the first 4 bytes of the file (un case of RDW only files),
Expand Down

0 comments on commit c0fc92a

Please sign in to comment.