From c0fc92ab18eec1387851aabb2b1993e0cb7a4456 Mon Sep 17 00:00:00 2001 From: Ruslan Iushchenko Date: Fri, 21 Feb 2025 07:43:00 +0100 Subject: [PATCH] #744 Update README of the new feature. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 87a1de24..754d68ce 100644 --- a/README.md +++ b/README.md @@ -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),